:root {
  --indigo: #383454;
  --indigo-deep: #24203c;
  --indigo-soft: #4a4569;
  --green: #5ca850;
  --green-text: #4e9a44;   /* large text on white */
  --green-strong: #38782f; /* buttons and small text on white */
  --green-light: #8fd282;  /* text on indigo */
  --ink: #2b2843;
  --muted: #5f5c76;
  --paper: #ffffff;
  --tint: #f4f5f1;
  --line: rgba(56, 52, 84, .14);
  --line-light: rgba(255, 255, 255, .16);
  --on-dark: #ffffff;
  --on-dark-muted: #cfcde0;
  --radius: 14px;
  --wrap: 1180px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
[id] { scroll-margin-top: 88px; }
[hidden] { display: none !important; }

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

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--indigo); color: #fff; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 10px; border: 2px solid transparent;
  font: 600 .95rem/1.3 var(--font); text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green-strong); color: #fff; }
.btn-primary:hover { background: #2e6527; }
.btn-ghost { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn-ghost:hover { background: var(--indigo); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a {
  font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--indigo);
  padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap;
}
.nav-cta, .nav-end { white-space: nowrap; flex: none; }
.brand { flex: none; }
.nav-links a:hover { border-color: var(--green); }
.nav-links .nav-client { font-weight: 600; color: var(--green-strong); }
.nav-end { margin-left: auto; }
.burger {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
}
.burger span { display: block; height: 2px; margin: 5px 0; background: var(--indigo); transition: transform .2s, opacity .2s; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0; }
.network { position: absolute; inset: 0 0 0 auto; width: 70%; height: 100%; pointer-events: none; }
.network-lines path { fill: none; stroke: var(--indigo); stroke-opacity: .09; stroke-width: 1.2; }
.network-nodes circle { fill: var(--indigo); fill-opacity: .08; }
.hero-grid {
  position: relative; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px);
}
.eyebrow { font-size: .92rem; font-weight: 600; color: var(--green-strong); margin-bottom: 18px; }
h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1.04;
  letter-spacing: -.035em; color: var(--indigo);
}
h1 span { display: block; color: var(--green-text); }
.lead { max-width: 56ch; margin-top: 24px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Calendar */
.calendar {
  padding: 24px; border-radius: 20px; color: var(--on-dark);
  background: var(--indigo);
  box-shadow: 14px 14px 0 0 rgba(92, 168, 80, .9);
}
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.calendar-month { font-weight: 700; font-size: 1.1rem; }
.calendar-month::first-letter { text-transform: uppercase; }
.calendar-badge { padding: 2px 10px; border-radius: 999px; background: var(--green-light); color: var(--indigo-deep); font-size: .8rem; font-weight: 700; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: .72rem; font-weight: 600; color: var(--on-dark-muted); padding-bottom: 2px; }
.cal-day {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px;
  font-size: .82rem; font-weight: 500; color: var(--on-dark-muted);
  background: rgba(255, 255, 255, .06);
}
.cal-day.is-weekend { background: none; color: rgba(255, 255, 255, .34); }
.cal-day.is-done { background: var(--green); color: var(--indigo-deep); font-weight: 700; animation: fill .35s both; animation-delay: calc(var(--i) * 28ms); }
.cal-day.is-today { outline: 2px solid var(--green-light); outline-offset: -2px; color: #fff; font-weight: 700; animation: pulse 2.2s infinite; }
.calendar-status { margin-top: 16px; font-size: .92rem; font-weight: 500; }
.calendar figcaption { margin-top: 4px; font-size: .75rem; color: var(--on-dark-muted); }
@keyframes fill { from { opacity: 0; transform: scale(.8); } }
@keyframes pulse { 50% { background: rgba(143, 210, 130, .24); } }

/* Facts */
.facts { border-block: 1px solid var(--line); background: var(--tint); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid > div { padding: 24px 22px; border-left: 1px solid var(--line); }
.facts-grid > div:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--indigo); line-height: 1.25; }
.facts span { display: block; margin-top: 4px; font-size: .88rem; color: var(--muted); line-height: 1.45; }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.tint { background: var(--tint); }
.dark { background: var(--indigo); color: var(--on-dark-muted); }
.dark h2, .dark h3, .dark strong { color: var(--on-dark); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.kicker { margin-bottom: 10px; font-size: .88rem; font-weight: 700; color: var(--green-strong); }
.dark .kicker { color: var(--green-light); }
h2 { font-size: clamp(1.9rem, 3.7vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -.028em; color: var(--indigo); }
.sec-head h2 + p { margin-top: 16px; font-size: 1.05rem; }
.sec-head p:not(.kicker) { color: var(--muted); }
.dark .sec-head p:not(.kicker) { color: var(--on-dark-muted); }
h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; color: var(--indigo); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }

/* D+1 rhythm */
.rhythm {
  padding: clamp(20px, 3vw, 36px); border-radius: var(--radius);
  background: var(--indigo-deep);
}
.rhythm-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: end; padding-bottom: 20px; }
.rhythm-row + .rhythm-row { border-top: 1px solid var(--line-light); padding-top: 20px; }
.rhythm-label strong { display: block; font-size: 1rem; }
.rhythm-label span { display: block; font-size: .82rem; line-height: 1.4; }
.bars { display: flex; align-items: flex-end; gap: clamp(2px, .5vw, 5px); height: 96px; }
.bars i { flex: 1; min-width: 0; border-radius: 3px 3px 0 0; height: calc(var(--h) * 1%); }
.bars-monthly i { background: #8f8ba8; }
.bars-monthly i.is-close { background: #e8835f; }
.bars-daily i { background: var(--green); }
.rhythm-axis { display: flex; justify-content: space-between; margin-left: 224px; font-size: .78rem; }
.rhythm-note { margin-top: 12px; font-size: .78rem; color: var(--on-dark-muted); }
.d1-points { margin-top: clamp(32px, 4vw, 48px); }
.d1-points h3 { margin-bottom: 8px; font-size: 1.1rem; }
.d1-points p { font-size: .95rem; }

/* Services */
.services { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.service { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.service h3 { font-size: 1.35rem; margin-bottom: 14px; }
.service-main { grid-row: span 2; background: var(--indigo); border-color: var(--indigo); color: var(--on-dark-muted); }
.service-main h3 { color: #fff; font-size: 1.7rem; }
.service-tag { display: inline-block; margin-bottom: 14px; padding: 2px 12px; border-radius: 999px; background: var(--green-light); color: var(--indigo-deep); font-size: .8rem; font-weight: 700; }
.services .service:last-child { grid-column: span 2; }
.checks li { position: relative; padding: 7px 0 7px 26px; font-size: .94rem; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 13px; height: 7px;
  border-left: 2px solid var(--green-strong); border-bottom: 2px solid var(--green-strong);
  transform: rotate(-45deg);
}
.service-main .checks li::before { border-color: var(--green-light); }
.service-bands { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.band { padding: 28px; border-radius: var(--radius); background: var(--tint); }
.band h3 { margin-bottom: 8px; }
.band p { font-size: .95rem; color: var(--muted); }
.band-accent { background: #e7f3e4; }
.band-accent p { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags li { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 500; color: var(--indigo); }

/* IA */
.ia-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ia-grid .sec-head { margin-bottom: 0; }
.phases li { position: relative; display: flex; gap: 20px; padding-bottom: 32px; }
.phases li:last-child { padding-bottom: 0; }
.phases li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: linear-gradient(var(--indigo), var(--green)); }
.phase-num {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font-weight: 800; font-size: 1.1rem; color: #fff; background: var(--indigo);
}
.phases li:nth-child(2) .phase-num { background: #47705a; }
.phases li:nth-child(3) .phase-num { background: var(--green-strong); }
.phases h3 { margin: 2px 0 4px; }
.phases p { font-size: .96rem; color: var(--muted); }
.ia-statement {
  grid-column: 1 / -1; padding-top: 32px; border-top: 2px solid var(--indigo);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.3; letter-spacing: -.015em; color: var(--indigo);
}

/* Portal */
.portal-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.portal-tabs button {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  font-family: var(--font); text-align: left; cursor: pointer; transition: background .18s, border-color .18s;
}
.portal-tabs button:hover { border-color: var(--indigo); }
.portal-tabs strong { display: block; font-size: 1rem; font-weight: 700; color: var(--indigo); }
.portal-tabs span { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.4; color: var(--muted); }
.portal-tabs [aria-selected="true"] { background: var(--indigo); border-color: var(--indigo); }
.portal-tabs [aria-selected="true"] strong { color: #fff; }
.portal-tabs [aria-selected="true"] span { color: var(--on-dark-muted); }
.portal-window { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(56, 52, 84, .16); }
.portal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--indigo-deep); }
.portal-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.portal-bar span { margin-left: 10px; font-size: .78rem; color: var(--on-dark-muted); }
.portal-shot { overflow-x: auto; }
.portal-shot img { width: 100%; height: auto; }
.portal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.portal-foot p { font-size: .86rem; color: var(--muted); }
.portal-hint { display: none; }

/* Compare */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 160px 1fr 1fr; align-items: stretch; border-top: 1px solid var(--line); }
.compare-row:first-child { border-top: 0; }
.compare-row > * { padding: 16px 22px; font-size: .96rem; }
.compare-row > :last-child { background: #e7f3e4; font-weight: 600; color: var(--indigo); }
.compare-row strong { color: var(--indigo); }
.compare-row > :nth-child(2) { color: var(--muted); }
.compare-head > * { font-weight: 700; font-size: .92rem; }
.compare-head > :nth-child(2) { color: var(--indigo); }
.compare-head > :last-child { background: var(--green-strong); color: #fff; }

/* Cost */
.cost-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.pains li { padding: 14px 0; border-top: 1px solid var(--line); font-size: .96rem; color: var(--muted); }
.pains strong { display: block; color: var(--indigo); }
.calc { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(56, 52, 84, .09); }
.calc h3 { font-size: 1.25rem; }
.calc-hint { margin: 4px 0 18px; font-size: .86rem; color: var(--muted); }
.calc-field { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: .92rem; line-height: 1.35; }
.calc-field > span:nth-last-child(2) { flex: 1; }
.calc-field-rev { padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--indigo); }
.dot { flex: none; width: 11px; height: 11px; border-radius: 3px; }
.dot-1, .seg-1 { background: var(--indigo); }
.dot-2, .seg-2 { background: #7b769c; }
.dot-3, .seg-3 { background: var(--green-strong); }
.dot-4, .seg-4 { background: #8fd282; }
.money { display: flex; align-items: center; flex: none; width: 132px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.money:focus-within { outline: 3px solid var(--green); outline-offset: 1px; }
.money i { padding-left: 10px; font-style: normal; font-size: .84rem; color: var(--muted); }
.money input { width: 100%; min-width: 0; padding: 8px 8px 8px 6px; border: 0; background: none; font: 500 .94rem var(--font); color: var(--ink); text-align: right; outline: 0; }
.calc-track { display: flex; height: 12px; margin: 18px 0 16px; border-radius: 6px; overflow: hidden; background: var(--tint); }
.seg { display: block; width: 0; transition: width .25s; }
.calc-result { display: grid; grid-template-columns: 1.15fr .8fr 1.15fr; gap: 10px; margin-bottom: 18px; }
.calc-result strong { display: block; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 800; letter-spacing: -.02em; color: var(--indigo); line-height: 1.3; }
.calc-result span { font-size: .8rem; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding-top: 44px; counter-increment: s; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0; z-index: 1;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--indigo); color: #fff; font-size: .84rem; font-weight: 700;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 14px; left: 30px; right: -22px; height: 2px; background: var(--line); }
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: .92rem; color: var(--muted); }

/* Systems */
.systems-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.systems-grid .sec-head { margin-bottom: 0; }
.systems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sys { padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.sys strong { display: block; font-size: 1.05rem; color: var(--indigo); }
.sys span { font-size: .82rem; color: var(--muted); line-height: 1.4; display: block; }
.sys-main { background: var(--indigo); border-color: var(--indigo); }
.sys-main strong { color: #fff; }
.sys-main span { color: var(--on-dark-muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-grid .sec-head { margin-bottom: 0; position: sticky; top: 104px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 18px 0; font-weight: 600; color: var(--indigo); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; font-weight: 500; color: var(--green-strong); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 32px 20px 0; color: var(--muted); font-size: .96rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-person { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.contact-person strong { display: block; font-size: 1.1rem; }
.contact-person span { font-size: .9rem; }
.contact-lines { margin-top: 14px; font-size: .94rem; }
.contact-lines li { padding: 4px 0; overflow-wrap: anywhere; }
.contact-lines a { color: #fff; text-underline-offset: 3px; }

.lead-form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: #fff; color: var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { grid-template-columns: repeat(3, 1fr); }
.field { display: grid; gap: 5px; min-width: 0; align-content: start; }
.field label, legend { font-size: .86rem; font-weight: 600; color: var(--indigo); padding: 0; }
legend { margin-bottom: 8px; }
.field label.sub { font-weight: 500; color: var(--muted); font-size: .8rem; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid rgba(56, 52, 84, .3); border-radius: 8px;
  font: 400 .95rem var(--font); color: var(--ink); background: #fff;
}
.field textarea { resize: vertical; }
.field ::placeholder { color: #807d95; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: block; padding: 10px 6px; border: 1px solid rgba(56, 52, 84, .3); border-radius: 8px;
  font-size: .88rem; font-weight: 500; text-align: center; color: var(--indigo);
  transition: background .15s, color .15s, border-color .15s;
}
.choice input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.err { margin-top: 6px; font-size: .84rem; font-weight: 500; color: #b3261e; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; }
.form-ok { padding: 10px 12px; border-radius: 8px; background: #e7f3e4; font-size: .88rem; color: var(--ink); }

/* Footer */
.site-footer { background: var(--indigo-deep); color: var(--on-dark-muted); font-size: .9rem; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 36px; }
.foot-brand img { height: 40px; width: auto; }
.foot-brand p { margin-top: 14px; max-width: 30ch; }
.foot h2 { margin-bottom: 10px; font-size: .9rem; font-weight: 700; letter-spacing: 0; color: #fff; }
.foot li { padding: 3px 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 18px 0 28px; border-top: 1px solid var(--line-light); font-size: .82rem; }

/* WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-strong); color: #fff; box-shadow: 0 8px 22px rgba(36, 32, 60, .35);
  transition: transform .18s;
}
.wa-float:hover { transform: scale(1.06); }

/* Legal page */
.legal { padding: clamp(48px, 7vw, 80px) 0; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { margin: 32px 0 8px; font-size: 1.25rem; letter-spacing: -.01em; }
.legal p, .legal li { color: var(--muted); overflow-wrap: anywhere; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .back { display: inline-block; margin-bottom: 24px; font-weight: 600; color: var(--green-strong); }

/* Responsive */
@media (max-width: 1300px) {
  .burger { display: block; margin-left: 0; order: 3; }
  .nav { gap: 12px; }
  .nav-cta { margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 20px 16px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(36, 32, 60, .1);
  }
  .nav-links a { padding: 12px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav-open .nav-links { display: flex; }
  .nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .steps li:nth-child(3)::after { display: none; }
}
@media (max-width: 940px) {
  .hero-grid, .ia-grid, .cost-grid, .systems-grid, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .sec-head { position: static; }
  .calendar { max-width: 460px; margin-right: 14px; }
  .network { width: 100%; opacity: .7; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid > div { padding: 20px 18px; }
  .facts-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service-main { grid-column: 1 / -1; grid-row: auto; }
  .services .service:last-child { grid-column: 1 / -1; }
  .service-bands { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .portal-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .brand img { height: 32px; }
  .nav-cta { display: none; }
  .burger { margin-left: auto; }
  .nav-end { padding: 7px 12px; font-size: .8rem; }
  .portal-tabs button { padding: 10px 12px; }
  .portal-tabs span { display: none; }
  .portal-tabs strong { font-size: .84rem; }
  .portal-foot .portal-hint { display: inline; }
  .portal-shot img { width: 860px; max-width: none; }
  .portal-foot .btn { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .rhythm-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bars { height: 72px; gap: 1.5px; }
  .rhythm-axis { margin-left: 0; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .service { padding: 22px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .steps li { padding: 0 0 26px 46px; }
  .steps li::after { display: block !important; left: 14px !important; right: auto !important; top: 30px !important; bottom: 0; width: 2px; height: auto !important; }
  .steps li:last-child::after { display: none !important; }
  .compare-head { display: none; }
  .compare-row { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; gap: 8px; }
  .compare-row:nth-child(2) { border-top: 0; }
  .compare-row > * { padding: 0; font-size: .92rem; }
  .compare-row > :last-child { padding: 10px 12px; border-radius: 8px; }
  .compare-row [data-label]::before { content: attr(data-label) ": "; font-weight: 600; }
  .calc-field { flex-wrap: wrap; }
  .money { width: 118px; }
  .calc-result { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .row-3 label.sub { font-size: .72rem; line-height: 1.25; min-height: 2.5em; }
  .choices { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 44px; }
  .foot-brand { grid-column: 1 / -1; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
@media (max-width: 420px) {
  .brand img { height: 28px; }
}
@media (max-width: 380px) {
  .nav-end { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
