/* ZUCCA v2 — direcao visual: desenho tecnico / blueprint isometrico.
   Paleta verde escura da marca preservada. Logo e fonte da logo intocadas.
   Scroll suave via Lenis. Camadas: cenas 0, conteudo 1, header 10, skip link 20. */

:root {
  color-scheme: light;
  --page: #f4f6f2;
  --surface: #eaefe8;
  --surface-2: #e1e8de;
  --ink: #16211a;
  --muted: #4c5c50;
  --line: #c7d0c4;
  --hair: rgb(60 89 68 / .10);
  --accent: #3c5944;
  --accent-soft: #5c7f61;
  --tech: rgb(60 89 68 / .68);
  --tech-soft: rgb(60 89 68 / .3);
  --header-bg: rgb(244 246 242 / .92);
  --ease: cubic-bezier(.2,.7,.2,1);
  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --brand-font: "Bahnschrift", var(--font);
  --max: 1320px;
}
[data-theme="dark"] {
  color-scheme: dark;
  --page: #101814;
  --surface: #151f19;
  --surface-2: #1a261e;
  --ink: #eff4ed;
  --muted: #a9bbab;
  --line: #2e3d32;
  --hair: rgb(185 204 175 / .10);
  --accent: #b9ccaf;
  --accent-soft: #8fb47f;
  --tech: rgb(185 204 175 / .58);
  --tech-soft: rgb(185 204 175 / .24);
  --header-bg: rgb(16 24 20 / .92);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border-radius: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; }
h1, h2 { letter-spacing: -.045em; text-wrap: balance; line-height: 1.05; }
::selection { background: var(--accent); color: var(--page); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

/* Lenis assume o controle do scroll quando esta ativo. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

.wrap { width: min(calc(100% - 112px), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(84px, 8.6vw, 136px); position: relative; }
.skip-link { position: fixed; top: 12px; left: 18px; z-index: 20; background: var(--ink); color: var(--page); padding: 10px 16px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.top-marker { position: absolute; top: 0; width: 1px; height: 24px; pointer-events: none; }

/* ---------- tipografia utilitaria ---------- */
.eyebrow {
  font: 500 10px/1 var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; flex: none; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 56ch; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 10;
  background: transparent;
  transition: background .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.menu-open {
  background: var(--header-bg);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}
.header-inner { height: 78px; display: flex; align-items: center; gap: 48px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.brand img { object-fit: contain; }
/* Logotipo e sua fonte permanecem exatamente como no site atual. */
.brand > span { font-family: var(--brand-font); font-size: 23px; font-weight: 650; letter-spacing: .12em; line-height: 1; }
.desktop-nav { display: flex; gap: 30px; align-items: center; }
.desktop-nav a { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding-block: 12px; position: relative; white-space: nowrap; }
.desktop-nav a::after { content: ""; position: absolute; inset: auto 0 6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header-cta {
  font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 12px 16px; display: inline-flex; gap: 14px; align-items: center;
  background: var(--page);
  transition: background .25s, color .25s, border-color .25s;
}
.header-cta:hover { background: var(--ink); color: var(--page); border-color: var(--ink); }
.theme-control { display: flex; padding: 3px; border: 1px solid var(--line); background: var(--page); }
.theme-control button { border: 0; background: transparent; padding: 5px 9px; min-height: 28px; font: 500 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.theme-control button[aria-pressed="true"] { background: var(--ink); color: var(--page); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px 0 10px 6px; min-height: 44px; align-items: center; gap: 10px; }
.menu-label { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.menu-lines { display: block; width: 19px; height: 10px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.menu-open .menu-lines { height: 1px; border-bottom: 0; }
.mobile-nav { padding-block: 6px 26px; }
.mobile-nav a { display: block; font-size: 19px; padding-block: 12px; border-bottom: 1px solid var(--hair); }

/* ---------- desenhos tecnicos ---------- */
.bp { width: 100%; height: auto; }
.bp [stroke] { vector-effect: non-scaling-stroke; }
.bp-solid { fill: none; stroke: var(--tech); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.bp-thin { fill: none; stroke: var(--tech-soft); stroke-width: 1.4; }
.bp-hidden { fill: none; stroke: var(--tech-soft); stroke-width: 1.4; stroke-dasharray: 6 5; }
.bp-axis { fill: none; stroke: var(--tech-soft); stroke-width: 1.2; stroke-dasharray: 15 4 2 4; }
.bp-fill { fill: var(--tech-soft); opacity: .16; stroke: none; }
.bp-node { fill: var(--accent); stroke: none; }
.bp-label { font: 500 9px var(--mono); letter-spacing: .14em; fill: var(--muted); text-transform: uppercase; }

/* traco desenhado ao entrar em cena */
@media (prefers-reduced-motion: no-preference) {
  .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.15s var(--ease); transition-delay: var(--d, 0s); }
  .is-in .draw, .draw.is-in { stroke-dashoffset: 0; }
  .fade { opacity: 0; transition: opacity .7s var(--ease); transition-delay: var(--d, 0s); }
  .is-in .fade, .fade.is-in { opacity: 1; }
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- hero ---------- */
/* Trilho extra abaixo do hero: da distancia de scroll para a montagem
   isometrica acontecer devagar, sem "pular" a animacao. */
.hero-track { position: relative; }
.hero-track::after { content: ""; display: block; height: clamp(160px, 42svh, 380px); }
.hero {
  position: sticky; top: 0;
  isolation: isolate; overflow: clip;
  min-height: 100svh; display: grid; align-items: center;
  padding-block: 120px 56px;
  background:
    radial-gradient(ellipse 70% 60% at 76% 44%, var(--surface), transparent 70%),
    var(--page);
}
.hero-grid-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55; }
.hero-grid-lines::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}
.hero-layout { display: grid; grid-template-columns: 1.04fr .96fr; gap: 6%; align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(34px, 3.5vw, 52px); font-weight: 300; margin-top: 26px; line-height: 1.12; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-copy .lead { margin-top: 26px; font-size: 15px; line-height: 1.75; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 30px;
  min-height: 54px; padding: 14px 22px; white-space: nowrap;
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid currentColor; transition: background .28s var(--ease), color .28s var(--ease), transform .2s;
}
.button > span { font-size: 17px; line-height: 1; transition: transform .32s var(--ease); }
.button:hover > span { transform: translate(3px,-3px); }
.button:active { transform: scale(.985); }
.button-solid { background: var(--ink); color: var(--page); border-color: var(--ink); }
.button-solid:hover { background: var(--accent); border-color: var(--accent); color: var(--page); }
[data-theme="dark"] .button-solid:hover { color: #101814; }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button-ghost:hover { background: var(--ink); color: var(--page); border-color: var(--ink); }

/* ---------- vitrine ----------
   Moldura com paisagem clara; cada tela tem o seu fundo e os dois trocam
   juntos. A tela fica menor e centralizada, inteira (sem corte), para o
   fundo aparecer em volta. O fundo assenta com um zoom lento. */
.showcase { position: relative; padding-block: clamp(24px, 3vw, 48px) clamp(56px, 6vw, 96px); }
.showcase-frame {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 2.3 / 1;
  border-radius: clamp(18px, 2.2vw, 32px);
  background: #e9efe5;
  box-shadow: 0 40px 80px -40px rgb(22 33 26 / .45);
}
.showcase-bg {
  position: absolute; inset: 0; z-index: -1;
  background: center / cover no-repeat;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1s cubic-bezier(.4, 0, .2, 1), transform 3.2s cubic-bezier(.16, 1, .3, 1);
}
.showcase-bg.is-active { opacity: 1; transform: none; }
.showcase-bg-crm { background-image: url("../showcase/fundo-crm.svg"); }
.showcase-bg-agenda { background-image: url("../showcase/fundo-agenda.svg"); }
.showcase-slide {
  position: absolute; inset: 0; margin: auto;
  width: 64%; height: auto;
  border-radius: clamp(8px, 1vw, 14px);
  box-shadow: 0 34px 60px -22px rgb(30 36 32 / .38), 0 0 0 1px rgb(0 0 0 / .06);
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity 1s cubic-bezier(.4, 0, .2, 1), transform 1.4s cubic-bezier(.16, 1, .3, 1);
}
.showcase-slide.is-active { opacity: 1; transform: none; z-index: 1; }

/* Toda a figura cabe dentro do viewBox, tanto montada quanto explodida:
   nada escapa da coluna e nada encosta no header. */
.hero-figure { position: relative; --p: 0; }
.hero-figure svg { width: 100%; max-width: 480px; margin-inline: auto; }
.bp-piece {
  transform: translate(calc(var(--dx, 0px) * (1 - var(--p))), calc(var(--dy, 0px) * (1 - var(--p))));
  transition: transform .1s linear;
}

/* ---------- cabecalho de secao ---------- */
.sec-head { max-width: 860px; }
.sec-head h2 { font-size: clamp(32px, 3.5vw, 50px); font-weight: 300; margin-top: 24px; line-height: 1.12; }
.sec-head .lead { margin-top: 24px; }

/* ---------- abordagem / comparativo ---------- */
.approach { background: var(--page); border-top: 1px solid var(--hair); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 62px; }
.compare-col { padding: 32px 30px 36px; border: 1px solid var(--line); background: var(--surface); }
.compare-col.is-zucca { background: var(--surface-2); border-color: var(--accent-soft); position: relative; overflow: hidden; }
.compare-col.is-zucca::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--accent); }
.compare-col h3 { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.compare-col.is-zucca h3 { color: var(--accent); }
.compare-col ul { margin-top: 24px; }
.compare-col li { display: grid; grid-template-columns: 18px 1fr; gap: 14px; padding-block: 15px; border-top: 1px solid var(--hair); font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.compare-col li:first-child { border-top: 0; padding-top: 0; }
.compare-col.is-zucca li { color: var(--ink); }
.mark { width: 14px; height: 14px; margin-top: 4px; position: relative; }
.mark::before, .mark::after { content: ""; position: absolute; background: currentColor; }
.mark-x { color: var(--muted); opacity: .55; }
.mark-x::before, .mark-x::after { width: 13px; height: 1px; top: 6px; left: 0; }
.mark-x::before { transform: rotate(45deg); }
.mark-x::after { transform: rotate(-45deg); }
.mark-v { color: var(--accent); }
.mark-v::before { width: 6px; height: 1px; transform: rotate(45deg); top: 8px; left: 0; }
.mark-v::after { width: 12px; height: 1px; transform: rotate(-45deg); top: 6px; left: 3px; }

/* ---------- faixa de desenhos tecnicos ---------- */
.blueprint-band { background: var(--surface); border-block: 1px solid var(--line); }
.bp-panels { display: grid; grid-template-columns: repeat(3, 1fr); }
.bp-panel { padding: 54px 38px 46px; border-right: 1px dashed var(--tech-soft); }
.bp-panel:last-child { border-right: 0; }
.bp-panel svg { height: 176px; width: auto; margin: 0 auto 30px; }
.bp-panel h3 { font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.bp-panel p { margin-top: 10px; font-size: 13.5px; line-height: 1.7; color: var(--muted); max-width: 30ch; }
.bp-panel .mono { display: block; margin-bottom: 16px; font-size: 10px; }

/* ---------- diagnostico ---------- */
.diagnostic { background: var(--page); }
.diag-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 7%; align-items: start; }
.diag-side { position: sticky; top: 118px; }
.diag-checklist { margin-top: 38px; border-top: 1px solid var(--line); }
.diag-checklist li { padding-block: 15px; border-bottom: 1px solid var(--hair); display: grid; grid-template-columns: 34px 1fr; align-items: baseline; font-size: 14.5px; color: var(--muted); }
.diag-checklist li b { font: 500 10px/1 var(--mono); letter-spacing: .1em; color: var(--accent); }

/* painel do diagnostico, redesenhado na identidade ZUCCA */
.diag-panel { background: var(--surface); border: 1px solid var(--line); padding: 32px 32px 36px; position: relative; overflow: hidden; }
.diag-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 78% 8%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 70% at 78% 8%, #000, transparent 72%);
}
.diag-panel > * { position: relative; }
.diag-panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.diag-panel h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; letter-spacing: -.035em; margin-top: 16px; }
.diag-meta { margin-top: 9px; font: 400 12px/1.6 var(--mono); color: var(--muted); letter-spacing: .04em; }
.diag-tag { font: 500 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 6px 9px; }
.diag-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; background: var(--line); border: 1px solid var(--line); }
.diag-stat { background: var(--surface-2); padding: 22px 20px; }
.diag-stat b { display: block; font: 300 clamp(19px, 2vw, 26px)/1 var(--font); letter-spacing: -.045em; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.diag-stat.is-muted b { color: var(--ink); }
.diag-stat span { display: block; margin-top: 11px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.diag-row { margin-top: 18px; border: 1px solid var(--line); background: var(--surface-2); padding: 22px; display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: start; }
.diag-rank { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--accent-soft); color: var(--accent); font: 500 13px/1 var(--mono); }
.diag-row h4 { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.diag-row p { margin-top: 7px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.diag-row p b { color: var(--ink); font-weight: 500; }
.diag-gain { text-align: right; }
.diag-gain b { display: block; font: 300 26px/1 var(--font); color: var(--accent); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.diag-gain span { display: block; margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.diag-bar { grid-column: 1 / -1; margin-top: 2px; }
.diag-bar-track { height: 6px; background: var(--line); position: relative; overflow: hidden; }
.diag-bar-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); transition: width 1.4s var(--ease) .25s; }
.is-in .diag-bar-fill { width: var(--w, 70%); }
.diag-bar-legend { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font: 400 11px/1 var(--mono); color: var(--muted); letter-spacing: .06em; }
.diag-note { margin-top: 22px; font-size: 11px; color: var(--muted); line-height: 1.6; }

/* ---------- metodo ---------- */
.method { background: var(--surface); border-top: 1px solid var(--line); }
.method-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 7%; align-items: start; }
.method-side { position: sticky; top: 118px; }
.method-side .button { margin-top: 34px; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 62px 1fr; gap: 22px; padding-block: 26px; border-bottom: 1px solid var(--hair); }
.step:last-child { border-bottom: 0; }
.step-num { font: 300 28px/1 var(--font); letter-spacing: -.05em; color: var(--tech); font-variant-numeric: tabular-nums; transition: color .35s; }
.step:hover .step-num { color: var(--accent); }
.step-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.step h3 { font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; letter-spacing: -.03em; }
.step-time { font: 500 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); padding: 6px 9px; white-space: nowrap; }
.step p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 48ch; }

/* ---------- entregas ---------- */
.deliver { background: var(--page); }
.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 62px; background: var(--line); border: 1px solid var(--line); }
.deliver-card { background: var(--page); padding: 34px 30px 38px; transition: background .35s var(--ease); }
.deliver-card:hover { background: var(--surface); }
.deliver-card .mono { font-size: 10px; color: var(--tech); }
.deliver-card h3 { margin-top: 24px; font-size: 18px; font-weight: 500; letter-spacing: -.028em; }
.deliver-card p { margin-top: 11px; font-size: 13.5px; line-height: 1.7; color: var(--muted); }

/* ---------- contato ---------- */
.contact { position: relative; isolation: isolate; overflow: clip; background: var(--surface); padding-block: clamp(92px, 9.6vw, 144px); border-top: 1px solid var(--line); }
.contact-bp { position: absolute; z-index: -1; right: -4%; top: 50%; transform: translateY(-50%); width: min(560px, 48%); opacity: .45; pointer-events: none; }
.contact h2 { font-size: clamp(34px, 4.2vw, 62px); font-weight: 300; margin-top: 24px; }
.contact .lead { margin-top: 24px; max-width: 44ch; }
.contact .button { margin-top: 36px; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 60px; font-style: normal; }
.contact-details a { font: 400 13px/1 var(--mono); letter-spacing: .05em; padding-bottom: 6px; border-bottom: 1px solid var(--line); transition: border-color .25s, color .25s; }
.contact-details a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- rodape ---------- */
.site-footer { background: var(--page); padding-block: 30px; border-top: 1px solid var(--hair); }
.footer-inner { display: flex; gap: 26px; align-items: center; }
.footer-brand > span { font-size: 18px; }
.footer-note, .copyright, .back-top { font: 400 10px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.back-top { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; }
.copyright { margin-left: 30px; }

/* ---------- responsivo ---------- */
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 72px); }
  .header-inner { gap: 24px; }
  .desktop-nav { gap: 20px; }
  .header-cta { display: none; }
  .hero-layout { gap: 4%; }
  .diag-layout, .method-layout { gap: 5%; }
  .bp-panel { padding: 44px 26px 38px; }
}
@media (max-width: 960px) {
  /* Sem trilho sticky no mobile: a montagem acontece de uma vez, ao entrar em cena. */
  .hero-track::after { height: 0; }
  .hero { position: relative; min-height: auto; padding-block: 112px 64px; }
  .hero-layout { grid-template-columns: 1fr; gap: 44px; }
  .hero-figure { --p: 0; }
  .hero-figure.is-in { --p: 1; }
  .hero-figure svg { max-width: 300px; }
  .bp-piece { transition: transform 1.4s var(--ease) .2s; }
  .diag-layout, .method-layout { grid-template-columns: 1fr; gap: 44px; }
  .diag-side, .method-side { position: static; }
  .deliver-grid { grid-template-columns: repeat(2, 1fr); }
  .bp-panels { grid-template-columns: 1fr; }
  .bp-panel { border-right: 0; border-bottom: 1px dashed var(--tech-soft); }
  .bp-panel:last-child { border-bottom: 0; }
  .contact-bp { display: none; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 86px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { height: 70px; gap: 12px; }
  .brand img { width: 35px; height: 35px; }
  .brand > span { font-size: 20px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .section { padding-block: 76px; }
  .hero h1 { font-size: clamp(30px, 7vw, 40px); }
  .showcase-frame { aspect-ratio: 4 / 3; border-radius: 18px; }
  .showcase-slide { width: 88%; border-radius: 8px; }
  .sec-head h2 { font-size: clamp(29px, 6.8vw, 40px); }
  .compare { grid-template-columns: 1fr; gap: 18px; margin-top: 42px; }
  .compare-col { padding: 26px 22px 30px; }
  .diag-panel { padding: 24px 20px 28px; }
  .diag-stats { grid-template-columns: 1fr; }
  .diag-stat b, .diag-stat.is-muted b { white-space: normal; }
  .diag-row { grid-template-columns: 40px 1fr; gap: 16px; }
  .diag-rank { width: 40px; height: 40px; }
  .diag-gain { grid-column: 1 / -1; text-align: left; padding-top: 4px; border-top: 1px solid var(--hair); }
  .diag-gain b { font-size: 23px; }
  .step { grid-template-columns: 46px 1fr; gap: 14px; padding-block: 24px; }
  .step-num { font-size: 24px; }
  .deliver-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .deliver-card { padding: 28px 22px 32px; }
  .contact-details { margin-top: 46px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 12px; }
  .footer-brand { grid-column: 1; }
  .footer-note { grid-row: 2; grid-column: 1; }
  .back-top { grid-row: 1; grid-column: 2; margin: 0; justify-content: end; }
  .copyright { grid-row: 2; grid-column: 2; margin: 0; text-align: right; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 30px); }
  .header-actions { gap: 10px; }
  .menu-label { display: none; }
  .hero h1 { font-size: clamp(27px, 8vw, 32px); }
  .button { gap: 18px; padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-track::after { height: 0; }
  .hero { position: relative; min-height: auto; }
  .hero-figure { --p: 1; }
  .diag-bar-fill { width: var(--w, 70%); }
}
@media print {
  .site-header, .back-top, .hero-grid-lines, .contact-bp, .theme-control { display: none; }
  .hero-track::after { height: 0; }
  .hero { position: relative; min-height: 0; padding-block: 24px; }
  .section, .contact { padding-block: 24px; }
  .diag-panel::before { display: none; }
}
