/* ===========================================================
   EspressoLine — rodinné financie
   Paleta: tmavé espresso tóny, ostré kontrasty
   =========================================================== */

:root {
  /* Farby */
  --bean: #17100d;
  --roast: #201612;
  --grind: #2b1e18;
  --edge: #3d2b22;
  --crema: #e8c9a0;
  --caramel: #d98a3c;
  --caramel-hot: #f0a34d;
  --pour: #4e9e7f;
  --steam: #f7f1ea;
  --ash: #b3a094;

  /* Typografia */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Rozmery */
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --line: 1px solid var(--edge);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bean);
  color: var(--steam);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

a { color: var(--crema); text-decoration: none; }
a:hover { color: var(--caramel-hot); }

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.4rem, 6.2vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); letter-spacing: -.02em; }

p { margin: 0 0 1.1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--caramel);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--caramel);
  flex: none;
}

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.lead { color: var(--ash); font-size: 1.06rem; max-width: 60ch; }

.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--alt { background: linear-gradient(180deg, var(--roast), var(--bean)); border-top: var(--line); border-bottom: var(--line); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: -.01em;
  cursor: pointer;
  font-family: inherit;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--caramel); color: #1a1109; }
.btn--primary:hover { background: var(--caramel-hot); color: #1a1109; }
.btn--ghost { border-color: var(--edge); color: var(--steam); background: transparent; }
.btn--ghost:hover { border-color: var(--crema); color: var(--crema); }
.btn--block { width: 100%; }

:focus-visible {
  outline: 2px solid var(--caramel-hot);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Hlavička ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(23, 16, 13, .86);
  backdrop-filter: blur(14px);
  border-bottom: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 11px; color: var(--steam); font-weight: 800; letter-spacing: -.04em; font-size: 1.16rem; }
.logo img { width: 32px; height: 32px; }
.logo span i { font-style: normal; color: var(--caramel); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--ash);
  font-size: .92rem;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--caramel);
  transition: width .22s var(--ease);
}
.nav a:hover { color: var(--steam); }
.nav a:hover::after { width: 100%; }

.header .btn { padding: 11px 20px; }

.burger {
  display: none;
  width: 44px; height: 40px;
  border: var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.burger i { display: block; width: 18px; height: 2px; background: var(--steam); position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--steam); }
.burger i::before { top: -6px; }
.burger i::after { top: 6px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 100px); position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% 40%;
  height: 420px;
  background: radial-gradient(closest-side, rgba(217, 138, 60, .18), transparent);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 62px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero h1 span { color: var(--caramel); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__note { font-family: var(--mono); font-size: .78rem; color: var(--ash); margin-top: 20px; letter-spacing: .02em; }

/* ---------- Kalkulačka (signature) ---------- */
.calc {
  background: linear-gradient(160deg, var(--grind), var(--roast));
  border: var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow);
}
.calc__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.calc__title h2 { font-size: 1.2rem; margin: 0; }
.calc__title small { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--caramel); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ash); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bean);
  border: var(--line);
  color: var(--steam);
  border-radius: 11px;
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--caramel); outline: none; }
.field textarea { resize: vertical; min-height: 128px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.range-row { display: flex; align-items: center; gap: 14px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--edge); border-radius: 4px; padding: 0; border: 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--caramel); cursor: pointer; border: 3px solid var(--roast); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid var(--roast); border-radius: 50%; background: var(--caramel); cursor: pointer; }
.range-row output { font-family: var(--mono); font-size: .95rem; min-width: 46px; text-align: right; color: var(--crema); }

/* Vrstvy "šálky" */
.pour { display: flex; height: 22px; border-radius: 999px; overflow: hidden; margin: 22px 0 16px; border: var(--line); }
.pour i { display: block; transition: width .5s var(--ease); }
.pour .l1 { background: var(--caramel); }
.pour .l2 { background: var(--crema); }
.pour .l3 { background: var(--pour); }

.split { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.split li { display: flex; align-items: center; gap: 12px; padding: 11px 13px; background: rgba(0, 0, 0, .22); border-radius: 11px; border: var(--line); }
.split .dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.split .k { font-size: .9rem; font-weight: 600; }
.split .k small { display: block; font-weight: 500; color: var(--ash); font-size: .76rem; }
.split .v { margin-left: auto; font-family: var(--mono); font-size: 1.02rem; color: var(--steam); }

.calc__hint {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(78, 158, 127, .12);
  border: 1px solid rgba(78, 158, 127, .35);
  font-size: .88rem;
  color: var(--steam);
}
.calc__hint strong { color: var(--pour); }
.calc__hint .btn { margin-top: 12px; }

/* ---------- Štatistiky ---------- */
.stats { border-top: var(--line); border-bottom: var(--line); background: var(--roast); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px var(--gutter); border-left: var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--mono); font-size: clamp(1.5rem, 3vw, 2.05rem); color: var(--crema); letter-spacing: -.04em; }
.stat span { font-size: .84rem; color: var(--ash); }

/* ---------- Karty ---------- */
.cards { display: grid; gap: 18px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--roast);
  border: var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--caramel); background: var(--grind); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ash); font-size: .94rem; margin: 0; }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(217, 138, 60, .14);
  border: 1px solid rgba(217, 138, 60, .35);
  margin-bottom: 16px;
}
.card__icon svg { width: 22px; height: 22px; stroke: var(--caramel); fill: none; stroke-width: 1.8; }
.card__price { font-family: var(--mono); color: var(--crema); font-size: .88rem; margin-top: 14px; display: block; }

/* ---------- Široký pás s obrázkom ---------- */
.band {
  position: relative;
  margin: 22px 0 0;
  border: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.band img {
  width: 100%;
  aspect-ratio: 21 / 7;
  object-fit: cover;
  filter: saturate(.7) brightness(.42) contrast(1.05);
}
.band figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(20px, 3vw, 34px);
  background: linear-gradient(180deg, transparent, rgba(23, 16, 13, .9));
}
.band figcaption b { display: block; font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: -.03em; margin-bottom: 6px; }
.band figcaption span { color: var(--ash); font-size: .93rem; max-width: 62ch; display: block; }

@media (max-width: 620px) {
  .band img { aspect-ratio: 4 / 3; }
}

/* ---------- Split s obrázkom ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.duo__media { border-radius: var(--radius-lg); overflow: hidden; border: var(--line); position: relative; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; filter: saturate(.82) contrast(1.06) brightness(.86); }
.duo__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(217, 138, 60, .14), rgba(23, 16, 13, .55)); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.checklist li::before {
  content: "";
  width: 18px; height: 18px; border-radius: 6px; flex: none; margin-top: 4px;
  background: rgba(78, 158, 127, .18);
  border: 1px solid rgba(78, 158, 127, .6);
}

/* ---------- Kroky ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: var(--line); border-radius: var(--radius); overflow: hidden; }
.step { padding: 28px 24px; border-left: var(--line); background: var(--roast); }
.step:first-child { border-left: 0; }
.step b { font-family: var(--mono); color: var(--caramel); font-size: .78rem; letter-spacing: .2em; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--ash); font-size: .9rem; margin: 0; }

/* ---------- Cenník ---------- */
.toggle {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  border: var(--line);
  background: var(--roast);
  margin-bottom: 34px;
}
.toggle button {
  border: 0; background: transparent; color: var(--ash);
  font-family: inherit; font-weight: 700; font-size: .88rem;
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.toggle button.is-active { background: var(--caramel); color: #1a1109; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan {
  background: var(--roast);
  border: var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .22s var(--ease), transform .22s var(--ease);
}
.plan.is-featured { border-color: var(--caramel); background: linear-gradient(170deg, var(--grind), var(--roast)); }
.plan.is-target { border-color: var(--pour); transform: translateY(-4px); }
.plan__tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--caramel); }
.plan h3 { margin: 0; }
.plan__price { display: flex; align-items: flex-end; gap: 8px; }
.plan__price b { font-family: var(--mono); font-size: 2.5rem; letter-spacing: -.05em; color: var(--steam); line-height: 1; }
.plan__price span { color: var(--ash); font-size: .86rem; padding-bottom: 5px; }
.plan__desc { color: var(--ash); font-size: .92rem; margin: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; }
.plan ul li::before { content: "+"; color: var(--caramel); font-family: var(--mono); font-weight: 700; }
.plan ul li.off { color: var(--ash); opacity: .65; }
.plan ul li.off::before { content: "–"; color: var(--ash); }
.plan .btn { margin-top: auto; }

.price-table { width: 100%; border-collapse: collapse; margin-top: 40px; border: var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table caption { text-align: left; font-weight: 700; padding-bottom: 14px; font-size: 1.05rem; }
.price-table th, .price-table td { padding: 15px 18px; text-align: left; border-bottom: var(--line); font-size: .93rem; }
.price-table thead th { background: var(--grind); font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--caramel); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td:last-child { font-family: var(--mono); color: var(--crema); white-space: nowrap; }
.price-note { font-size: .84rem; color: var(--ash); margin-top: 14px; }

/* ---------- Recenzie ---------- */
.quote { background: var(--roast); border: var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 18px; }
.quote p { font-size: .96rem; margin: 0; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(232, 201, 160, .12);
  border: 1px solid var(--edge);
  font-family: var(--mono); font-size: .82rem; color: var(--crema);
  flex: none;
}
.quote cite { font-style: normal; font-weight: 700; font-size: .92rem; display: block; }
.quote cite small { display: block; font-weight: 500; color: var(--ash); font-size: .8rem; }

/* ---------- FAQ ---------- */
.faq { border-top: var(--line); }
.faq details { border-bottom: var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-weight: 700;
  font-size: 1.03rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 8px; top: 20px;
  font-family: var(--mono); font-size: 1.4rem; color: var(--caramel);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ash); font-size: .95rem; padding-right: 44px; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 54px); align-items: start; }
.form-card { background: var(--roast); border: var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--ash); margin: 6px 0 18px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--caramel); flex: none; }
.err { color: #f08a7a; font-size: .8rem; margin-top: 6px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #f08a7a; }
.field.has-error .err { display: block; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(78, 158, 127, .14);
  border: 1px solid rgba(78, 158, 127, .5);
  font-size: .9rem;
}
.form-status.is-visible { display: block; }

.info-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 2px; border: var(--line); border-radius: var(--radius); overflow: hidden; }
.info-list li { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 15px 18px; background: var(--roast); border-bottom: var(--line); font-size: .94rem; }
.info-list li:last-child { border-bottom: 0; }
.info-list b { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--caramel); padding-top: 3px; }
.contact__media { border-radius: var(--radius); overflow: hidden; border: var(--line); }
.contact__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.8) brightness(.78); }

/* ---------- Pätička ---------- */
.footer { border-top: var(--line); background: var(--roast); padding: 56px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.footer p { color: var(--ash); font-size: .9rem; }
.footer h4 { font-size: .74rem; font-family: var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--caramel); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--ash); font-size: .9rem; }
.footer ul a:hover { color: var(--steam); }
.footer__bottom {
  margin-top: 40px; padding-top: 22px; border-top: var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .82rem; color: var(--ash);
}

/* ---------- Cookies ---------- */
.cookie {
  position: fixed;
  left: var(--gutter); right: var(--gutter); bottom: 20px;
  z-index: 90;
  max-width: 900px;
  margin: 0 auto;
  background: var(--grind);
  border: 1px solid var(--caramel);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  display: none;
  gap: 20px;
  align-items: center;
}
.cookie.is-open { display: flex; }
.cookie p { margin: 0; font-size: .9rem; color: var(--ash); }
.cookie p b { color: var(--steam); display: block; margin-bottom: 4px; font-size: .98rem; }
.cookie__actions { display: flex; gap: 10px; flex: none; flex-wrap: wrap; }
.cookie__actions .btn { padding: 11px 18px; font-size: .88rem; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(10, 6, 4, .74); }
.modal.is-open { display: grid; }
.modal__box { background: var(--roast); border: var(--line); border-radius: var(--radius-lg); max-width: 540px; width: 100%; padding: 30px; max-height: 88vh; overflow: auto; }
.modal__box h3 { margin-bottom: 8px; }
.switch { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-top: var(--line); }
.switch input { width: 20px; height: 20px; accent-color: var(--caramel); margin-top: 3px; flex: none; }
.switch b { display: block; font-size: .95rem; }
.switch span { font-size: .85rem; color: var(--ash); }
.modal__actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* ---------- Právne stránky ---------- */
.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.legal__wrap { max-width: 800px; }
.legal h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-top: 46px; }
.legal h3 { font-size: 1.08rem; margin-top: 28px; }
.legal p, .legal li { color: var(--ash); font-size: .97rem; }
.legal ul, .legal ol { padding-left: 22px; display: grid; gap: 8px; margin-bottom: 20px; }
.legal strong { color: var(--steam); }
.legal .updated { font-family: var(--mono); font-size: .78rem; color: var(--caramel); letter-spacing: .1em; text-transform: uppercase; }
.legal-box { background: var(--roast); border: var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 26px 0; }
.legal-box p:last-child { margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 26px; }

/* ---------- Animácie ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responzivita ---------- */
@media (max-width: 980px) {
  .hero__grid, .duo, .contact { grid-template-columns: 1fr; }
  .cards--4, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; }
  .step:nth-child(n+3) { border-top: var(--line); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .duo--flip .duo__media { order: -1; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--roast);
    border-bottom: var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 22px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 16px; }
  .burger { display: flex; }
  .header .btn--primary.header-cta { display: none; }
  .nav.is-open .btn--primary.header-cta { display: inline-flex; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards--4, .cards--3, .cards--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-left: 0; border-top: var(--line); }
  .step:first-child { border-top: 0; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: var(--line); }
  .stat:first-child { border-top: 0; }
  .field--row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: flex-start; bottom: 12px; }
  .cookie__actions .btn { flex: 1 1 auto; }
  .info-list li { grid-template-columns: 1fr; gap: 4px; }
  .price-table th, .price-table td { padding: 12px 12px; font-size: .87rem; }
}
