/* Алга (algaff.ru) — static fulfillment landing */

:root {
  --bg: #F7F6F3;
  --bg-soft: #EFEEE8;
  --surface: #E8E7E1;
  --text: #1C1C1A;
  --text-muted: #5E5E58;
  --accent: #8BA84A;
  --accent-dark: #6F8A35;
  --accent-soft: #E4EDD0;
  --line: #D5D3CB;
  --white: #FFFFFF;
  --danger: #A13D2F;
  --radius: 2px;
  --container: 1360px;
  --header-h: 72px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-dark);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, p, ul, ol, dl, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--text);
  color: var(--bg);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(28, 28, 26, 0.03);
}

.header-inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  width: 9px;
  height: 1.85rem;
  background: var(--accent);
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 4.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem 1.5rem;
  align-items: start;
}

.hero-copy {
  grid-column: 1 / span 7;
  max-width: 38rem;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.hero-price {
  color: var(--accent-dark);
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 28rem;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

.hero-stats {
  grid-column: 8 / span 5;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 0.85rem;
}

.stat {
  background: var(--bg-soft);
  padding: 1.25rem 1.15rem 1.1rem;
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-top: 2px solid transparent;
}

.stat-a {
  grid-column: 1 / span 4;
  grid-row: 1;
  background: var(--text);
  color: var(--bg);
  min-height: 12rem;
  border-top-color: var(--accent);
}

.stat-b {
  grid-column: 5 / span 2;
  grid-row: 1;
}

.stat-c {
  grid-column: 1 / span 2;
  grid-row: 2;
}

.stat-d {
  grid-column: 3 / span 4;
  grid-row: 2;
  background: var(--accent-soft);
}

.stat-value {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat-a .stat-value {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
}

.stat-value-text {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.03em;
}

.stat-unit {
  font-size: 1rem;
  color: inherit;
  opacity: 0.7;
  margin-top: 0.2rem;
}

.stat-label {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: inherit;
  opacity: 0.75;
  max-width: 12rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head-wide {
  max-width: 44rem;
}

.section h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 0.85rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Calculator */
.calculator {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem 1.5rem;
  align-items: start;
}

.calc-form {
  grid-column: 1 / span 7;
  display: grid;
  gap: 1.35rem;
}

.calc-result {
  grid-column: 8 / span 5;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.5rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s var(--ease);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--text);
}

.field-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.field-hint-accent {
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 0.65rem 0.8rem;
  border-left: 2px solid var(--accent);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.field-row-2 {
  grid-template-columns: 1fr 1fr;
}

.dims-panel[hidden] {
  display: none !important;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.88rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.chip:hover,
.chip.is-active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

#kiz-field.is-attention select {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.result-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.result-main {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.result-main.is-updating {
  opacity: 0.35;
  transform: translateY(2px);
}

.result-main-note {
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  min-height: 1.4em;
}

.result-month {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.result-month-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.result-month-value {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.result-breakdown {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.result-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
}

.result-breakdown .is-total {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
}

.result-includes {
  margin: 1.4rem 0 1.25rem;
  padding: 1rem;
  background: var(--bg-soft);
}

.result-includes-title {
  font-weight: 600;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.result-includes ul {
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.result-includes li::before {
  content: "✓ ";
  color: var(--accent-dark);
}

.result-excludes {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.result-individual {
  margin-top: 0.75rem;
  padding: 0.85rem;
  background: #F4E8E5;
  color: var(--danger);
  font-size: 0.92rem;
}

/* Why */
.why {
  padding-block: 6rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem 1.25rem;
  align-items: end;
}

.why-copy {
  grid-column: 1 / span 7;
}

.why-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  max-width: 18ch;
}

.why-copy p {
  margin-top: 1.25rem;
  max-width: 28rem;
  color: var(--text-muted);
}

.why-accent {
  grid-column: 9 / span 4;
  justify-self: end;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  line-height: 0.85;
}

.why-accent span {
  font-size: clamp(6rem, 14vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  color: var(--accent);
}

.why-accent small {
  font-size: 1.5rem;
  margin-top: 1.2rem;
  color: var(--text-muted);
}

.why-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.why-points li {
  display: grid;
  gap: 0.6rem;
  padding-right: 1rem;
}

.why-points li:nth-child(2) {
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
}

.why-points li:nth-child(3) {
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
}

.point-num {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  font-weight: 700;
}

.why-points p {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  max-width: 16rem;
}

/* Examples */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.example {
  background: var(--bg-soft);
  padding: 1.5rem 1.35rem;
  min-height: 15rem;
  display: flex;
  flex-direction: column;
}

.example-a {
  grid-column: 1 / span 5;
}

.example-b {
  grid-column: 6 / span 3;
}

.example-c {
  grid-column: 9 / span 4;
  background: var(--text);
  color: var(--bg);
}

.example-d {
  grid-column: 1 / span 4;
  background: var(--accent-soft);
}

.example h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.example-meta {
  display: grid;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: auto;
}

.example-c .example-meta {
  color: rgba(247, 246, 243, 0.7);
}

.example-price {
  margin-top: 1.4rem;
  font-size: 1.05rem;
}

.example-price strong {
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.example-total {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.example-c .example-total,
.example-c .example-price {
  color: inherit;
}

.example-split {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.4rem;
}

.example-split div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.example-split-total {
  margin-top: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(247, 246, 243, 0.25);
  font-weight: 700;
  font-size: 1.1rem;
}

/* How */
.how-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.how-grid li {
  min-height: 12rem;
  padding: 1.4rem;
  background: var(--white);
  border-top: 2px solid var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.how-grid li:nth-child(1) { grid-column: 1 / span 3; }
.how-grid li:nth-child(2) { grid-column: 4 / span 4; margin-top: 2rem; }
.how-grid li:nth-child(3) { grid-column: 8 / span 3; }
.how-grid li:nth-child(4) { grid-column: 11 / span 2; margin-top: 3.5rem; background: var(--accent-soft); }

.how-num {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  font-weight: 700;
}

.how-grid h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Includes */
.includes {
  background: var(--text);
  color: var(--bg);
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.includes-head {
  grid-column: 1 / span 5;
}

.includes-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  max-width: 12ch;
}

.includes-in {
  grid-column: 6 / span 3;
}

.includes-col-muted {
  grid-column: 10 / span 3;
  color: rgba(247, 246, 243, 0.72);
}

.includes h3 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--accent);
}

.check-list,
.dash-list {
  display: grid;
  gap: 0.55rem;
  font-size: 1rem;
}

.check-list li::before {
  content: "— ";
  color: var(--accent);
}

.dash-list li::before {
  content: "— ";
  opacity: 0.5;
}

/* KIZ */
.kiz-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  align-items: center;
}

.kiz-copy {
  grid-column: 1 / span 6;
}

.kiz-levels {
  margin-top: 1.75rem;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.kiz-levels li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.kiz-levels strong {
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.kiz-media {
  grid-column: 8 / span 5;
}

.kiz-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--bg-soft);
}

/* Delivery */
.delivery {
  background: var(--bg-soft);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.delivery h2 {
  grid-column: 1 / span 5;
  max-width: 12ch;
}

.delivery-text {
  grid-column: 7 / span 6;
  display: grid;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.delivery-aside {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
}

/* Final CTA */
.final-cta {
  padding-block: 6rem;
}

.final-cta-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.final-cta h2 {
  grid-column: 1 / span 8;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  max-width: 14ch;
}

.final-cta p {
  grid-column: 1 / span 6;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.final-cta-actions {
  grid-column: 1 / span 8;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.result-actions {
  display: grid;
  gap: 0.65rem;
}

.result-copy-status {
  min-height: 1.3em;
  font-size: 0.88rem;
  color: var(--accent-dark);
}

/* Contacts */
.contacts {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  align-items: end;
}

.contacts-copy {
  grid-column: 1 / span 5;
}

.contacts-copy h2 {
  margin-bottom: 0;
}

/* Price page */
.price-page {
  padding: 3.5rem 0 5rem;
}

.price-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.price-head h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 0.9rem;
}

.price-lead {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.price-disclaimer {
  margin-top: 1.1rem;
  max-width: 48rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
}

/* Geo landing */
.geo-intro-grid,
.geo-who-grid,
.geo-faq-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.geo-intro h2,
.geo-faq h2 {
  grid-column: 1 / span 5;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.geo-intro-text {
  grid-column: 6 / span 7;
  display: grid;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.geo-points-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.geo-points-grid li {
  grid-column: span 3;
  min-height: 12rem;
  padding: 1.35rem;
  background: var(--white);
  border-top: 2px solid var(--text);
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.geo-points-grid h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.geo-points-grid p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.geo-who-grid > div:first-child {
  grid-column: 1 / span 6;
}

.geo-who-grid > div:last-child {
  grid-column: 8 / span 5;
}

.geo-list {
  margin-top: 1.25rem;
  color: var(--text);
}

.geo-list li {
  color: var(--text-muted);
}

.geo-address {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.geo-address strong {
  color: var(--text);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.geo-address-note {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.faq-list {
  grid-column: 6 / span 7;
  display: grid;
  gap: 0.5rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin-top: 0.65rem;
  color: var(--text-muted);
}

@media (max-width: 1199px) {
  .geo-intro h2,
  .geo-intro-text,
  .geo-faq h2,
  .faq-list,
  .geo-who-grid > div:first-child,
  .geo-who-grid > div:last-child,
  .geo-points-grid li {
    grid-column: 1 / -1;
  }

  .geo-points-grid {
    grid-template-columns: 1fr 1fr;
  }

  .geo-points-grid li {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .geo-points-grid {
    grid-template-columns: 1fr;
  }
}

/* Articles */
.articles-index,
.article-page {
  padding: 3.5rem 0 5rem;
}

.articles-index-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.articles-index-head h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.articles-index-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.article-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 12rem;
  padding: 1.35rem 1.25rem;
  background: var(--white);
  border-top: 2px solid var(--text);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.article-card:hover {
  background: var(--accent-soft);
  border-top-color: var(--accent);
  color: inherit;
}

.article-card:nth-child(7n + 1) {
  grid-column: span 5;
}

.article-card:nth-child(7n + 2) {
  grid-column: span 3;
}

.article-card:nth-child(7n + 3) {
  grid-column: span 4;
}

.article-card-tags {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.article-card h2 {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.article-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: auto;
}

.article-layout {
  max-width: 760px;
}

.article-head {
  margin-bottom: 2rem;
}

.article-head .eyebrow a {
  color: var(--text-muted);
  text-decoration: none;
}

.article-head .eyebrow a:hover {
  color: var(--accent-dark);
}

.article-head h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.article-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 42rem;
}

.article-body h2 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
}

.article-body p {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  max-width: 62ch;
}

.article-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-soft);
  border-top: 2px solid var(--accent);
}

.article-cta h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.article-cta p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.article-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.article-related h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.article-related ul {
  display: grid;
  gap: 0.45rem;
}

.article-related a {
  color: var(--accent-dark);
}

@media (max-width: 1199px) {
  .article-card,
  .article-card:nth-child(7n + 1),
  .article-card:nth-child(7n + 2),
  .article-card:nth-child(7n + 3) {
    grid-column: span 6;
  }
}

@media (max-width: 767px) {
  .article-card,
  .article-card:nth-child(7n + 1),
  .article-card:nth-child(7n + 2),
  .article-card:nth-child(7n + 3) {
    grid-column: 1 / -1;
  }
}

.price-block {
  margin-bottom: 2.75rem;
}

.price-block h2 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.price-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 52rem;
  margin-bottom: 1rem;
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.price-table th:nth-child(2),
.price-table td:nth-child(2) {
  width: 9rem;
  white-space: nowrap;
  color: var(--text-muted);
}

.price-table th:nth-child(3),
.price-table td:nth-child(3) {
  width: 10rem;
  text-align: right;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price-table tbody tr:hover td {
  background: var(--bg-soft);
}

.price-footnote {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 48rem;
}


.contact-channels {
  grid-column: 6 / span 7;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 9.5rem;
  padding: 1.25rem 1.15rem;
  background: var(--bg);
  border-top: 2px solid var(--text);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.contact-card:hover {
  background: var(--accent-soft);
  border-top-color: var(--accent);
  color: inherit;
}

.contact-card:nth-child(2) {
  background: var(--bg-soft);
}

.contact-card:nth-child(3) {
  background: var(--text);
  color: var(--bg);
  border-top-color: var(--accent);
}

.contact-card:nth-child(3):hover {
  background: #2a2a27;
  color: var(--bg);
}

.contact-card-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.contact-card strong {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.contact-card-hint {
  font-size: 0.88rem;
  opacity: 0.65;
}

.footer-contacts p {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem;
  align-items: baseline;
}

.footer-contact-label {
  color: rgba(247, 246, 243, 0.45);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 1rem;
  background: var(--text);
  color: rgba(247, 246, 243, 0.9);
  border-top: 2px solid var(--accent);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  width: min(100%, var(--container));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner a {
  color: var(--accent);
}

.cookie-banner .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
  min-height: 44px;
}

.cookie-banner .btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--text);
}

/* Legal pages */
.legal-page {
  padding: 3rem 0 5rem;
}

.legal-page .container {
  max-width: 820px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.legal-back:hover {
  color: var(--accent-dark);
}

.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.legal-page h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
}

.legal-page h3 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.5rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  max-width: 68ch;
}

.legal-page ul,
.legal-page ol {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
  list-style: disc;
}

.legal-page ol {
  list-style: decimal;
}

.legal-page li {
  margin-bottom: 0.4rem;
}

.legal-page a {
  color: var(--accent-dark);
}

.legal-toc {
  background: var(--bg-soft);
  padding: 1.25rem 1.35rem;
  margin-bottom: 2rem;
}

.legal-toc ol {
  margin: 0.5rem 0 0;
}

.legal-note {
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  padding: 0.9rem 1rem;
  color: var(--text);
  margin: 1.25rem 0;
}

.legal-nav-links {
  display: grid;
  gap: 0.45rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.checklist li {
  margin-bottom: 0.65rem;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  background: var(--text);
  color: rgba(247, 246, 243, 0.78);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem 1rem;
}

.footer-brand { grid-column: 1 / span 3; }
.footer-contacts { grid-column: 4 / span 3; }
.footer-legal { grid-column: 7 / span 3; }
.footer-links {
  grid-column: 10 / span 3;
  display: grid;
  gap: 0.55rem;
  align-content: start;
  font-size: 0.88rem;
}

.footer-logo {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--bg);
  letter-spacing: -0.05em;
  margin-bottom: 0.65rem;
}

.footer-address {
  margin-top: 0.5rem;
}

.site-footer a {
  color: var(--bg);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-privacy {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 246, 243, 0.15);
  max-width: 48rem;
  font-size: 0.82rem;
  color: rgba(247, 246, 243, 0.55);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .btn,
  .result-main,
  .nav a::after {
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */
@media (max-width: 1199px) {
  .hero-copy { grid-column: 1 / -1; max-width: 40rem; }
  .hero-stats { grid-column: 1 / -1; }

  .calc-form { grid-column: 1 / span 7; }
  .calc-result { grid-column: 8 / span 5; }

  .why-copy { grid-column: 1 / span 8; }
  .why-accent { grid-column: 9 / span 4; }
  .why-points { grid-template-columns: 1fr 1fr 1fr; }

  .example-a { grid-column: 1 / span 6; }
  .example-b { grid-column: 7 / span 6; }
  .example-c { grid-column: 1 / span 7; }
  .example-d { grid-column: 8 / span 5; }

  .how-grid li:nth-child(1),
  .how-grid li:nth-child(2),
  .how-grid li:nth-child(3),
  .how-grid li:nth-child(4) {
    grid-column: span 6;
    margin-top: 0;
  }

  .includes-head { grid-column: 1 / -1; }
  .includes-in,
  .includes-col-muted { grid-column: span 6; }

  .kiz-copy { grid-column: 1 / span 7; }
  .kiz-media { grid-column: 8 / span 5; }

  .delivery h2 { grid-column: 1 / span 6; }
  .delivery-text { grid-column: 7 / span 6; }

  .contacts-copy { grid-column: 1 / -1; }
  .contact-channels { grid-column: 1 / -1; }

  .footer-brand,
  .footer-contacts,
  .footer-legal,
  .footer-links {
    grid-column: span 6;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .container,
  .header-inner {
    width: min(100% - 1.5rem, var(--container));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 64px;
  }

  .header-cta {
    display: none;
  }

  .burger {
    display: inline-block;
  }

  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
    z-index: 99;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.95rem 1.25rem;
    font-size: 1.05rem;
    color: var(--text);
  }

  .nav a::after {
    display: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10vw, 2.8rem);
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-a,
  .stat-b,
  .stat-c,
  .stat-d {
    grid-column: auto;
    grid-row: auto;
    min-height: 8rem;
  }

  .stat-a {
    grid-column: 1 / -1;
  }

  .section {
    padding: 3.5rem 0;
  }

  .calc-form,
  .calc-result {
    grid-column: 1 / -1;
  }

  .calc-result {
    position: static;
  }

  .field-row,
  .field-row-2 {
    grid-template-columns: 1fr 1fr;
  }

  .why-copy,
  .why-accent,
  .why-points {
    grid-column: 1 / -1;
  }

  .why-accent {
    justify-self: start;
    margin-top: 0.5rem;
  }

  .why-points {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-points li:nth-child(2),
  .why-points li:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
  }

  .example-a,
  .example-b,
  .example-c,
  .example-d,
  .how-grid li,
  .includes-head,
  .includes-col,
  .includes-col:nth-of-type(2),
  .includes-col-muted,
  .kiz-copy,
  .kiz-media,
  .delivery h2,
  .delivery-text,
  .final-cta h2,
  .final-cta p,
  .final-cta-actions,
  .contacts-copy,
  .contact-channels,
  .footer-brand,
  .footer-contacts,
  .footer-legal,
  .footer-links {
    grid-column: 1 / -1;
  }

  .contact-channels {
    grid-template-columns: 1fr;
  }

  .how-grid li {
    min-height: auto;
    gap: 1.5rem;
  }

  .includes-col-muted {
    margin-top: 1rem;
  }
}

@media (max-width: 420px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
