/* ==========================================================================
   HarvestCo — domácí finance
   Design system: teplé zlaté tóny, přírodní přechody, organické vzory
   ========================================================================== */

:root {
  --wheat-50: #FDF7E9;
  --wheat-100: #F7EAD0;
  --wheat-200: #EFD9AE;
  --gold: #C9922B;
  --gold-deep: #8A5A16;
  --field: #4E6B3B;
  --field-soft: #86A063;
  --bark: #2E2517;
  --bark-soft: #5C4E39;
  --surface: #FFFDF7;
  --line: rgba(138, 90, 22, 0.16);
  --shadow-sm: 0 2px 8px rgba(94, 62, 12, 0.06);
  --shadow-md: 0 14px 34px rgba(94, 62, 12, 0.10);
  --shadow-lg: 0 26px 60px rgba(94, 62, 12, 0.14);
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 30px;
  --maxw: 1180px;
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--bark-soft);
  background-color: var(--wheat-50);
  background-image:
    radial-gradient(60rem 40rem at 82% -8%, rgba(246, 212, 138, 0.55), transparent 62%),
    radial-gradient(48rem 34rem at -10% 18%, rgba(134, 160, 99, 0.20), transparent 60%),
    radial-gradient(70rem 46rem at 50% 118%, rgba(201, 146, 43, 0.20), transparent 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--bark);
  line-height: 1.16;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.7vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; }
a { color: var(--gold-deep); }
img { max-width: 100%; display: block; }

.wrap { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }

.section { padding: clamp(3.6rem, 8vw, 6.4rem) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, rgba(255,253,247,0) 0%, rgba(255,253,247,0.85) 12%, rgba(255,253,247,0.85) 88%, rgba(255,253,247,0) 100%); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.lead { font-size: 1.08rem; max-width: 62ch; }
.section-head { max-width: 66ch; margin-bottom: 2.6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .96rem;
  padding: .92rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn--primary {
  background: linear-gradient(135deg, #E0AE4A 0%, var(--gold) 48%, var(--gold-deep) 100%);
  color: #FFFDF7;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost {
  background: rgba(255, 253, 247, .7);
  border-color: var(--line);
  color: var(--bark);
}
.btn--ghost:hover { background: #fff; transform: translateY(-2px); }
.btn--field {
  background: var(--field);
  color: #FBF7EC;
}
.btn--field:hover { background: #3F5730; transform: translateY(-2px); }
.btn--wide { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(12px);
  background: rgba(253, 247, 233, 0.86);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--bark);
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  text-decoration: none;
  color: var(--bark-soft);
  font-size: .93rem;
  font-weight: 600;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a:focus-visible { color: var(--gold-deep); border-bottom-color: var(--gold); }
.header-tel {
  font-family: var(--font-mono);
  font-size: .9rem;
  font-weight: 600;
  color: var(--bark);
  text-decoration: none;
  white-space: nowrap;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.header-tel:hover { border-color: var(--gold); }
.nav-toggle {
  display: none;
  width: 46px; height: 42px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--bark);
  margin-inline: auto; border-radius: 2px; position: relative; transition: .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.6rem, 6vw, 4.8rem) 0 clamp(3rem, 7vw, 5rem); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 span { color: var(--gold-deep); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2.2rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--bark);
  font-weight: 600;
}
.hero-stats dd { margin: .2rem 0 0; font-size: .86rem; line-height: 1.45; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 46% 46% var(--radius-l) var(--radius-l) / 22% 22% var(--radius-l) var(--radius-l);
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  left: -14px;
  bottom: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: .95rem 1.15rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 260px;
}
.hero-badge strong { display: block; font-family: var(--font-display); color: var(--bark); font-size: 1.05rem; }
.hero-badge small { font-size: .78rem; line-height: 1.4; display: block; }
.sprout {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--wheat-100), var(--wheat-200));
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(201,146,43,.16), transparent 70%);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(201,146,43,.4); }
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: .5rem; }
.card p { margin-bottom: 0; font-size: .95rem; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--wheat-100), var(--wheat-200));
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 26px; height: 26px; stroke: var(--gold-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.6rem);
  align-items: center;
}
.split img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-l) 12% var(--radius-l) 12% / var(--radius-l) 34% var(--radius-l) 34%;
  box-shadow: var(--shadow-md);
}
.checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; font-size: .97rem; }
.checklist svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.6rem 1.4rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .12em;
  color: var(--gold);
  display: block;
  margin-bottom: .7rem;
}
.step h3 { font-size: 1.12rem; }
.step p { font-size: .93rem; margin: 0; }

/* ---------- Calculator ---------- */
.calc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr .92fr;
}
.calc-form { padding: clamp(1.6rem, 3vw, 2.4rem); }
.calc-tabs { display: flex; gap: .5rem; margin-bottom: 1.6rem; background: var(--wheat-50); padding: .35rem; border-radius: 999px; border: 1px solid var(--line); }
.calc-tab {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  color: var(--bark-soft);
  padding: .62rem .8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: .2s;
}
.calc-tab[aria-selected="true"] { background: linear-gradient(135deg, #E0AE4A, var(--gold)); color: #fff; box-shadow: var(--shadow-sm); }

.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .86rem; font-weight: 700; color: var(--bark); margin-bottom: .4rem; }
.field .hint { font-size: .78rem; font-weight: 500; color: var(--bark-soft); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--bark);
  padding: .78rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--wheat-50);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 146, 43, .18);
}
textarea { resize: vertical; min-height: 128px; }
input[type="range"] { width: 100%; accent-color: var(--gold); }

.calc-result {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background:
    radial-gradient(28rem 20rem at 110% 0%, rgba(246,212,138,.55), transparent 60%),
    linear-gradient(160deg, var(--wheat-100), var(--wheat-200));
  border-left: 1px solid var(--line);
}
.result-primary {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--bark);
  line-height: 1.1;
  margin: .2rem 0 .3rem;
}
.result-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.result-rows { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .55rem; }
.result-rows li {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .93rem;
  padding: .6rem .85rem;
  background: rgba(255, 253, 247, .72);
  border-radius: 12px;
}
.result-rows b { font-family: var(--font-mono); color: var(--bark); font-weight: 600; }
.bars { margin-top: 1.4rem; display: grid; gap: .8rem; }
.bar-row { font-size: .84rem; }
.bar-top { display: flex; justify-content: space-between; margin-bottom: .3rem; }
.bar-track { height: 10px; border-radius: 999px; background: rgba(255,253,247,.8); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; transition: width .6s cubic-bezier(.2,.7,.3,1); }
.bar-fill--gold { background: linear-gradient(90deg, #E0AE4A, var(--gold-deep)); }
.bar-fill--field { background: linear-gradient(90deg, var(--field-soft), var(--field)); }
.bar-fill--wheat { background: linear-gradient(90deg, var(--wheat-200), #E0AE4A); }
.calc-note { font-size: .78rem; margin: 1.3rem 0 0; line-height: 1.55; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 1.9rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.plan--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, var(--surface) 0%, #FFF8E6 100%);
}
.plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #E0AE4A, var(--gold-deep));
  color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 999px; white-space: nowrap;
}
.plan h3 { margin-bottom: .3rem; }
.plan-desc { font-size: .9rem; min-height: 3.2em; }
.plan-price {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--bark);
  line-height: 1;
  margin: .8rem 0 .2rem;
}
.plan-price small { font-family: var(--font-body); font-size: .82rem; color: var(--bark-soft); font-weight: 600; }
.plan-period { font-size: .82rem; margin-bottom: 1.2rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .6rem; font-size: .92rem; }
.plan ul li { display: flex; gap: .6rem; align-items: flex-start; }
.plan ul svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.plan .btn { margin-top: auto; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  font-size: .95rem;
}
.price-table caption {
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bark);
  padding: 1.2rem 1.2rem .8rem;
}
.price-table th, .price-table td { padding: .85rem 1.2rem; text-align: left; border-top: 1px solid var(--line); }
.price-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-deep); background: var(--wheat-50); }
.price-table td:last-child { font-family: var(--font-mono); color: var(--bark); white-space: nowrap; }
.price-note { font-size: .85rem; margin-top: 1.2rem; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote p { font-size: .97rem; margin: 0; }
.quote-person { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.quote-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-person strong { display: block; color: var(--bark); font-size: .93rem; }
.quote-person span { font-size: .82rem; }
.stars { color: var(--gold); letter-spacing: .12em; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 860px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: .2rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2rem 1.1rem 0;
  font-weight: 700;
  color: var(--bark);
  font-size: 1rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 1.35rem; color: var(--gold);
  transition: transform .25s;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { font-size: .95rem; margin: 0 0 1.1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-md);
}
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; font-size: .95rem; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; stroke: var(--gold-deep); fill: none; stroke-width: 1.7; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-visual img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--radius-m); margin-top: 1.6rem; box-shadow: var(--shadow-sm);
}
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .84rem; margin: 1.1rem 0 1.4rem; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.form-msg {
  margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-s);
  font-size: .9rem; display: none;
}
.form-msg--ok { display: block; background: rgba(78,107,59,.12); color: #3F5730; border: 1px solid rgba(78,107,59,.3); }
.form-msg--err { display: block; background: rgba(176, 74, 40, .1); color: #8F3B1E; border: 1px solid rgba(176,74,40,.28); }
.error-text { color: #8F3B1E; font-size: .8rem; margin-top: .35rem; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(165deg, #372C1B 0%, #241C10 100%);
  color: rgba(253, 247, 233, .74);
  padding: clamp(3rem, 6vw, 4.4rem) 0 2rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.2rem; }
.site-footer h4 {
  color: var(--wheat-100);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
}
.site-footer .brand-name { color: var(--wheat-50); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a { color: rgba(253,247,233,.8); text-decoration: none; }
.site-footer a:hover { color: var(--wheat-200); text-decoration: underline; }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(253,247,233,.14);
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between;
  font-size: .82rem;
}
.disclaimer { font-size: .8rem; line-height: 1.6; margin-top: 1.2rem; color: rgba(253,247,233,.6); }

/* ---------- Cookie banner ---------- */
.cookie-bar {
  position: fixed;
  left: 50%; bottom: 18px; transform: translate(-50%, 140%);
  width: min(100% - 2rem, 880px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-lg);
  padding: 1.3rem 1.4rem;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
  transition: transform .45s cubic-bezier(.2,.8,.3,1);
}
.cookie-bar.is-visible { transform: translate(-50%, 0); }
.cookie-bar p { margin: 0; font-size: .89rem; }
.cookie-bar h4 { margin: 0 0 .3rem; font-family: var(--font-display); color: var(--bark); font-size: 1.05rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-actions .btn { padding: .68rem 1.15rem; font-size: .87rem; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(2.6rem, 6vw, 4.4rem) 0; }
.legal-inner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.6rem, 4vw, 3.2rem);
  box-shadow: var(--shadow-md);
  max-width: 860px;
  margin-inline: auto;
}
.legal-inner h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 2.2rem; }
.legal-inner h2:first-of-type { margin-top: 1.4rem; }
.legal-inner ul { padding-left: 1.2rem; display: grid; gap: .5rem; }
.legal-meta { font-family: var(--font-mono); font-size: .8rem; color: var(--gold-deep); }
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; margin-bottom: 1.6rem; }
.back-link:hover { text-decoration: underline; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1rem 0 1.6rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.legal-table th { background: var(--wheat-50); color: var(--bark); font-size: .82rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .calc { grid-template-columns: 1fr; }
  .calc-result { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 880px) {
  .hero-grid, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .hero-media img { aspect-ratio: 5/4; border-radius: var(--radius-l); }
  .hero-badge { left: 12px; }
  .nav-toggle { display: block; order: 3; }
  .header-tel { margin-left: auto; }
  .nav {
    position: absolute; inset: 76px 0 auto; margin: 0;
    background: var(--wheat-50);
    border-bottom: 1px solid var(--line);
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: .6rem 1.2rem 1.4rem; }
  .nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .cookie-bar { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid--4, .grid--3, .grid--2, .steps { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; text-align: left; gap: .8rem; }
  .hero-actions .btn { width: 100%; }
  .price-table { display: block; overflow-x: auto; }
  .footer-bottom { flex-direction: column; }
}

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

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
