/* «Кыял» — частный сад и школа, Бишкек. Demo stylesheet. */
:root {
  --paper: #f5f4ef;
  --paper-2: #ebe9e1;
  --white: #fffefb;
  --ink: #17211d;
  --ink-2: #3c4a44;
  --muted: #5e6a65; /* 4.6:1 on --paper-2, the darkest panel it lands on */
  --line: #dcd8cd;
  --line-2: #c6c2b5;
  --green: #1f6f5c;
  --green-d: #17554a;
  --green-soft: #e2eee9;
  --apricot: #d97a2b;          /* borders, underlines, soft fills — decoration only */
  --apricot-ink: #a55b1e;      /* same hue at 4.6:1 on paper, for apricot TEXT */
  --apricot-soft: #f7e8d9;
  --display: Literata, Georgia, serif;
  --body: Commissioner, "Segoe UI", system-ui, sans-serif;
  --hand: Caveat, cursive;
  --pad: 20px;
  --hdr: 68px;
  --r: 10px;
  --s1: 6px; --s2: 12px; --s3: 20px; --s4: 32px; --s5: 52px; --s6: 80px;
  --dur: .28s;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.55;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: var(--paper); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.015em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--white); padding: 10px 14px; border-radius: var(--r); }
.lbl { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hand { font-family: var(--hand); font-size: 20px; line-height: 1.35; color: var(--green-d); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur), transform var(--dur);
}
.btn-pri { background: var(--green); color: var(--white); }
.btn-pri:hover { background: var(--green-d); }
.btn-ghost { background: none; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60; background: rgba(245, 244, 239, .88);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: border-color var(--dur), background var(--dur);
}
.hdr.scrolled { border-bottom-color: var(--line); background: rgba(245, 244, 239, .96); }
.hdr-row { display: flex; align-items: center; gap: var(--s3); min-height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; color: var(--green); }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-text { display: grid; line-height: 1.05; color: var(--ink); }
.logo-text b { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.logo-sub { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav { display: none; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--green); }
.nav-cta { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; }
.lang button {
  min-width: 38px; min-height: 44px; padding: 0 5px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted);
}
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--apricot); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hdr-phone { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; }
.hdr-phone svg { width: 18px; height: 18px; }
.hdr-phone span { display: none; }
.hdr-cta { display: none; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 999px; background: none; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform var(--dur) var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
body.nav-open { overflow: hidden; }
.nav.open {
  display: grid; position: absolute; top: 100%; left: 0; right: 0; z-index: 55;
  height: calc(100dvh - var(--hdr)); background: var(--paper);
  align-content: start; gap: 2px; padding: var(--s3) var(--pad) 90px; overflow-y: auto;
}
.nav.open a { font-family: var(--display); font-size: 26px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); }
.nav.open .nav-cta { display: inline-flex; margin-top: var(--s3); border-bottom: 0; font-family: var(--body); font-size: 16px; color: var(--white); }

/* ---------- reveal ---------- */

/* ---------- hero ---------- */
.hero { padding-block: var(--s4) var(--s5); }
.hero-grid { display: grid; gap: var(--s4); }
.kicker { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero-title { font-size: clamp(2.25rem, 8.4vw, 4.2rem); margin: var(--s2) 0 var(--s3); }
.hero-title em { font-style: normal; color: var(--green); }
.hero-sub { font-size: 17px; color: var(--ink-2); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.hero-media { position: relative; }
.hero-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); filter: saturate(.96) contrast(1.03); }
.od-card {
  display: grid; gap: 3px; text-decoration: none; background: var(--white);
  border: 1px solid var(--line); border-left: 4px solid var(--apricot); border-radius: 8px;
  padding: 14px 16px; margin: -34px 12px 0 12px; position: relative;
  box-shadow: 0 14px 30px rgba(23, 33, 29, .09); transition: transform var(--dur) var(--ease);
}
.od-card:hover { transform: translateY(-2px); }
.od-card-l { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.od-card-date { font-family: var(--display); font-size: 19px; }
.od-card-place { font-size: 13.5px; color: var(--muted); }
.od-card-cta { font-size: 14px; font-weight: 600; color: var(--green); margin-top: 2px; }
.od-card-cta::after { content: " →"; }

.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: var(--s5) 0 0; padding: var(--s3) 0 0; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 2px; }
.facts b { font-family: var(--display); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { font-size: 14.5px; font-weight: 600; }
.facts em { font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-block: clamp(52px, 8vw, 96px); }
.sec-head { max-width: 62ch; margin-bottom: var(--s4); }
.sec-head h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
.sec-head p { margin-top: var(--s2); color: var(--ink-2); }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }

/* ---------- stages ---------- */
.stage-grid { display: grid; gap: var(--s3); }
.stage { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; }
.stage-ph img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.96) contrast(1.03); transition: transform .7s var(--ease); }
.stage:hover .stage-ph img { transform: scale(1.03); }
.stage-ph { overflow: hidden; }
.stage-body { padding: var(--s3); display: grid; gap: 8px; align-content: start; }
.stage h3 { font-size: 1.3rem; }
.stage-age { font-size: 13px; color: var(--muted); }
.stage-d { font-size: 15px; color: var(--ink-2); }
.stage-i { font-size: 13.5px; color: var(--muted); padding-top: 8px; border-top: 1px dotted var(--line-2); }
.stage-p { margin-top: 2px; font-size: 14px; color: var(--muted); }
.stage-p b { font-family: var(--display); font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stage[data-stage="sad"] .stage-p b { color: var(--apricot-ink); }

/* ---------- one day ---------- */
.day-sec { background: var(--paper-2); }
.day-wrap { display: grid; gap: var(--s4); }
.day-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 var(--s3); }
.day-tabs button, .seg button {
  min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--white); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.day-tabs button:hover, .seg button:hover { border-color: var(--ink); }
.day-tabs button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }
.day-live { font-size: 14px; color: var(--ink-2); padding: 10px 12px; background: var(--white); border-radius: 8px; border: 1px solid var(--line); }
.day-side .hand { margin-top: var(--s3); }
.day-list { list-style: none; margin: 0; padding: 0; display: grid; }
.day-list li { display: grid; grid-template-columns: 62px 1fr; gap: var(--s2); padding: 14px 0; border-top: 1px solid var(--line-2); }
.day-list li:last-child { border-bottom: 1px solid var(--line-2); }
.day-t { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); padding-top: 2px; }
.day-b h3 { font-family: var(--body); font-size: 16px; font-weight: 600; letter-spacing: 0; }
.day-b p { font-size: 14.5px; color: var(--ink-2); margin-top: 3px; }
.day-list li.now .day-t { color: var(--apricot-ink); }
.day-list li.now .day-b h3::after {
  content: attr(data-now); margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--apricot-ink); background: var(--apricot-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}

/* ---------- fees ---------- */
.fee-grid { display: grid; gap: var(--s4); align-items: start; }
.fee-controls { display: grid; gap: var(--s3); }
.fee-controls fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.fee-controls legend { padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-col button { flex: 1 1 46%; }
.fee-two { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; }
select, input[type="text"], input[type="tel"] {
  width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px;
  background: var(--white); font: inherit; font-size: 15px; color: var(--ink);
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
input.bad, select.bad { border-color: #b0392e; }

.receipt { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3); }
.rows { margin: 0; display: grid; gap: 10px; }
.rows > div { display: flex; align-items: baseline; gap: 6px; font-size: 14.5px; }
.rows dt { color: var(--ink-2); }
.rows .dots { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); min-width: 12px; }
.rows dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.rows dd.free { font-weight: 500; color: var(--muted); }
.rows dd.minus { color: var(--green); }
.rtotal { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.rtotal span { font-weight: 600; }
.rtotal b { font-family: var(--display); font-size: 30px; font-variant-numeric: tabular-nums; }
.rtotal-year { margin-top: 8px; padding-top: 8px; border-top: 0; color: var(--muted); }
.rtotal-year span { font-weight: 500; font-size: 14px; }
.rtotal-year b { font-size: 17px; font-family: var(--body); color: var(--ink-2); }
.rnote { margin-top: var(--s3); font-size: 13px; color: var(--muted); }
.fee-lead { display: grid; gap: var(--s2); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3); }
.form-msg { font-size: 13.5px; min-height: 18px; color: var(--green-d); }
.form-msg.bad { color: #b0392e; }

/* ---------- admissions ---------- */
.adm-grid { display: grid; gap: var(--s4); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.steps li { padding-top: var(--s2); border-top: 2px solid var(--ink); }
.step-n { font-size: 12px; font-weight: 700; color: var(--apricot-ink); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.15rem; margin: 4px 0 5px; }
.steps p { font-size: 14.5px; color: var(--ink-2); }
.adm-ph { margin: 0; }
.adm-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); filter: saturate(.9) contrast(1.05); }

/* ---------- places, results ---------- */
.places-sec { background: var(--paper-2); }
.notice { background: var(--apricot-soft); border-left: 3px solid var(--apricot); border-radius: 0 8px 8px 0; padding: 14px 16px; font-size: 15px; color: #5b3812; max-width: 78ch; margin-bottom: var(--s4); }
.places-grid { display: grid; gap: var(--s4); align-items: start; }
.tline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.tline li { padding-left: var(--s3); border-left: 2px solid var(--green); }
.tline h3 { font-size: 1rem; font-family: var(--body); font-weight: 700; }
.tline p { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
.seats { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3); }
.seats ul { list-style: none; margin: var(--s2) 0 0; padding: 0; display: grid; }
.seats li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.seats li:first-child { border-top: 0; }
.seats b { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.seats b.ok { color: var(--green); }
.seats b.no { color: var(--muted); font-weight: 500; }
.results { margin-top: var(--s5); padding-top: var(--s3); border-top: 2px solid var(--ink); }
.results ul { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s3); }
.results b { display: block; font-family: var(--display); font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.results span { display: block; font-size: 14.5px; font-weight: 600; margin-top: 4px; }
.results em { font-style: normal; font-size: 13px; color: var(--muted); }
.rnote-strong { color: var(--ink-2); font-weight: 500; }

/* ---------- documents ---------- */
.docs-grid { display: grid; gap: var(--s3); }
.docs-sub { margin-top: var(--s2); color: var(--ink-2); max-width: 46ch; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; }
.docs li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); font-size: 15.5px; }
.docs li:last-child { border-bottom: 1px solid var(--line); }
.docs li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 13px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* ---------- open days ---------- */
.open-sec { background: var(--green); color: var(--white); }
.open-sec .sec-head p { color: rgba(255, 254, 251, .82); }
.open-sec .lbl { color: rgba(255, 254, 251, .72); }
.open-grid { display: grid; gap: var(--s4); align-items: start; }
.open-form { display: grid; gap: var(--s3); background: rgba(255, 254, 251, .07); border: 1px solid rgba(255, 254, 251, .2); border-radius: var(--r); padding: var(--s3); }
.open-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.open-form .btn-pri { background: var(--white); color: var(--green-d); }
.open-form .btn-pri:hover { background: var(--apricot-soft); }
.open-form .form-msg { color: #ffd9cf; }
.dates { display: flex; flex-wrap: wrap; gap: 6px; }
.dates button {
  min-height: 44px; padding: 0 14px; border: 1px solid rgba(255, 254, 251, .35); border-radius: 999px;
  background: none; color: var(--white); font: inherit; font-size: 14px; cursor: pointer;
  transition: background var(--dur), color var(--dur);
}
.dates button:hover { border-color: var(--white); }
.dates button[aria-pressed="true"] { background: var(--white); color: var(--green-d); border-color: var(--white); font-weight: 600; }
.open-what { color: var(--white); }
.open-what h3 { font-size: 1.35rem; }
.open-what ol { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s3); }
.open-what li { padding-top: var(--s2); border-top: 1px solid rgba(255, 254, 251, .28); font-size: 15px; color: rgba(255, 254, 251, .9); }
.invite { display: grid; gap: var(--s3); }
.invite-card {
  background: var(--white); color: var(--ink); border-radius: var(--r); padding: var(--s4) var(--s3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18); transform: rotate(-.5deg);
  background-image: repeating-linear-gradient(var(--white), var(--white) 27px, #f0efe8 27px, #f0efe8 28px);
}
.invite-t { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.invite-num b { font-variant-numeric: tabular-nums; color: var(--ink); }
.invite-when { margin-top: var(--s3); font-size: 13px; color: var(--muted); }
.invite-date { font-family: var(--display); font-size: clamp(1.4rem, 4.6vw, 1.9rem); line-height: 1.15; margin-top: 2px; }
.invite-rows { margin: var(--s3) 0 0; display: grid; gap: 8px; }
.invite-rows div { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); font-size: 14px; }
.invite-rows dt { color: var(--muted); }
.invite-rows dd { margin: 0; font-weight: 600; }
.invite-where { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px dashed var(--line-2); font-size: 14px; }
.invite-show { margin-top: 4px; font-size: 13px; color: var(--muted); }
.invite .btn-ghost { border-color: rgba(255, 254, 251, .4); color: var(--white); }
.invite .btn-ghost:hover { border-color: var(--white); }

/* ---------- teachers ---------- */
.te-grid { display: grid; gap: var(--s4); align-items: start; }
.te-list { list-style: none; margin: 0; padding: 0; display: grid; }
.te-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.te-list li:last-child { border-bottom: 1px solid var(--line); }
.te-list h3 { font-size: 1.1rem; }
.te-r { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; }
.te-e { font-size: 13px; color: var(--muted); margin-top: 2px; }
.te-ph { margin: 0; }
.te-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); filter: saturate(.96) contrast(1.03); }
.te-ph figcaption { margin-top: var(--s2); }

/* ---------- menu ---------- */
.menu-sec { background: var(--paper-2); }
.menu-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3); }
.menu-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs button {
  flex: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px;
  background: none; font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.menu-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.menu-body { margin: var(--s3) 0 0; display: grid; gap: 0; }
.menu-body > div { display: grid; grid-template-columns: 96px 1fr; gap: var(--s2); padding: 13px 0; border-top: 1px solid var(--line); }
.menu-body dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 2px; }
.menu-body dd { margin: 0; font-size: 15px; }
.menu-note { margin-top: var(--s3); font-size: 13px; color: var(--muted); }

/* ---------- safety + routes ---------- */
.sf-grid { display: grid; gap: var(--s3); }
.sf-grid article { padding-top: var(--s2); border-top: 2px solid var(--green); }
.sf-grid h3 { font-size: 1.05rem; font-family: var(--body); font-weight: 700; }
.sf-grid p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.routes { margin-top: var(--s5); }
.routes-t { font-size: 1.2rem; margin-bottom: var(--s2); }
.route-list { list-style: none; margin: 0; padding: 0; display: grid; }
.route-list li { display: grid; gap: 4px; padding: 13px 0; border-top: 1px solid var(--line); }
.route-list li:last-child { border-bottom: 1px solid var(--line); }
.route-n { font-weight: 600; font-size: 15px; }
.route-t { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.route-p { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.routes-note { margin-top: var(--s3); font-size: 13.5px; color: var(--muted); max-width: 62ch; }

/* ---------- reviews ---------- */
.rev-sec .rating { font-size: 13.5px; color: var(--muted); }
.pull { margin: 0; border-left: 3px solid var(--apricot); padding-left: var(--s3); }
.pull p { font-family: var(--display); font-size: clamp(1.25rem, 3.4vw, 1.85rem); line-height: 1.3; }
.pull footer { margin-top: var(--s2); font-size: 13.5px; color: var(--muted); }
.rev-grid { display: grid; gap: var(--s3); margin-top: var(--s4); }
.rev-grid blockquote { margin: 0; padding-top: var(--s2); border-top: 1px solid var(--line); }
.rev-grid p { font-size: 15px; color: var(--ink-2); }
.rev-grid footer { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- contacts ---------- */
.ct-grid { display: grid; gap: var(--s4); }
.ct-grid h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); }
.ct-sub { margin: var(--s2) 0 var(--s3); color: var(--ink-2); max-width: 48ch; }
.ct-list { margin: 0; display: grid; gap: var(--s3); }
.ct-list > div { padding-top: var(--s2); border-top: 1px solid var(--line); }
.ct-list dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ct-list dd { margin: 5px 0 0; font-size: 15px; }
.ct-links { display: flex; flex-wrap: wrap; gap: var(--s3); }
.ct-links a { color: var(--green); }
.ct-phone { font-family: var(--display); font-size: 22px; text-decoration: none; }

/* ---------- faq ---------- */
.faq-sec { padding-bottom: clamp(70px, 9vw, 110px); }
.faq-grid { display: grid; gap: var(--s3); }
.faq-grid h2 { font-size: clamp(1.6rem, 4.2vw, 2.2rem); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 15px 34px 15px 0; position: relative; font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 22px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding-bottom: 16px; font-size: 15px; color: var(--ink-2); max-width: 68ch; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: var(--paper); padding-block: var(--s4) calc(var(--s4) + 64px); }
.ftr-grid { display: grid; gap: var(--s3); font-size: 14px; }
.ftr-logo b { font-family: var(--display); font-size: 20px; }
.ftr-grid p { color: rgba(245, 244, 239, .75); }
.ftr-lic { font-size: 12.5px; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: var(--s3); }
.ftr-nav a { text-decoration: none; color: rgba(245, 244, 239, .9); }
.ftr-nav a:hover { color: var(--white); }
.ftr-demo { font-size: 12.5px; }

/* ---------- mobile bar + floater ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr 1.1fr; background: var(--ink); }
.mbar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 58px; color: var(--paper); text-decoration: none; font-size: 14px; font-weight: 600; }
.mbar svg { width: 17px; height: 17px; }
.mbar-wa { background: #1f8f5f; }
.mbar-cta { background: var(--apricot); color: #211405 !important; }
body.nav-open .mbar { transform: translateY(110%); }
.mbar { transition: transform var(--dur) var(--ease); }
.float-wa { display: none; }

/* ---------- breakpoints ---------- */
@media (min-width: 560px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fee-two { grid-template-columns: 1fr 1fr; }
  .sf-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
  .rev-grid { grid-template-columns: 1fr 1fr; }
  .route-list li { grid-template-columns: 1.6fr 1.4fr auto; align-items: baseline; gap: var(--s3); }
  .stage-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --pad: 32px; }
  .hero-grid { grid-template-columns: 1.02fr .98fr; align-items: center; gap: var(--s5); }
  .od-card { position: absolute; left: -28px; bottom: 26px; width: 290px; margin: 0; }
  .day-wrap { grid-template-columns: 290px 1fr; gap: var(--s5); align-items: start; }
  .day-list li { grid-template-columns: 74px 1fr; }
  .fee-grid { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s5); }
  .fee-controls { grid-column: 1; grid-row: 1; }
  .receipt { grid-column: 2; grid-row: 1 / span 2; }
  .fee-lead { grid-column: 1; grid-row: 2; }
  .adm-grid { grid-template-columns: 1.15fr .85fr; gap: var(--s5); }
  .steps { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); }
  .open-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .places-grid { grid-template-columns: 1.05fr .95fr; gap: var(--s5); }
  .results ul { grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
  .docs-grid { grid-template-columns: 300px 1fr; gap: var(--s5); }
  .open-form { padding: var(--s4); }
  .te-grid { grid-template-columns: 1.1fr .9fr; gap: var(--s5); }
  .ct-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .faq-grid { grid-template-columns: 300px 1fr; gap: var(--s5); }
  .menu-wrap { padding: var(--s4); }
  .menu-body > div { grid-template-columns: 130px 1fr; }
  .ftr-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
  .ftr-nav { flex-direction: column; gap: 8px; }
  .mbar { display: none; }
  .ftr { padding-bottom: var(--s4); }
  .float-wa {
    display: grid; place-items: center; position: fixed; right: 22px; bottom: 22px; z-index: 65;
    width: 56px; height: 56px; border-radius: 999px; background: #1f8f5f; color: #fff;
    box-shadow: 0 10px 26px rgba(23, 33, 29, .22); transition: transform var(--dur) var(--ease);
  }
  .float-wa svg { width: 27px; height: 27px; }
  .float-wa:hover { transform: translateY(-2px); }
}
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: var(--s3); }
  .burger { display: none; }
  .nav-cta { display: none; }
  .hdr-cta { display: inline-flex; }
  .stage-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1200px) {
  .hdr-phone { width: auto; padding: 0 14px; gap: 8px; display: inline-flex; align-items: center; }
  .hdr-phone span { display: inline; font-size: 14px; font-weight: 600; }
}
@media (max-width: 420px) {
  :root { --pad: 16px; }
  .hdr-phone { display: none; }
  .lang button { min-width: 33px; padding: 0 3px; }
  .hdr-row { gap: var(--s2); }
}
@media (max-width: 359px) {
  .logo-mark { width: 26px; height: 26px; }
  .logo-text b { font-size: 18px; }
  .lang button { min-width: 30px; padding: 0 2px; }
  .hdr-actions { gap: 2px; }
}

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