/* ============================================================
   SCAILE public site — site.css
   Admin panel keeps using style.css; this file is public-only.
   ============================================================ */

:root {
  --ink: #14202E;
  --ink-2: #3A4756;
  --muted: #5F6C7B;
  --paper: #FFFFFF;
  --wash: #F1F4F1;
  --line: #DCE2DD;
  --hl: #FFD84D;
  --hl-soft: #FFF4C4;
  --go: #1D8A5A;
  --go-soft: #E2F3E9;
  --warn: #9A6412;
  --warn-soft: #FDF0D5;
  --bad: #B93A33;
  --bad-soft: #FBE3E1;
  --wa: #1FA855;
  --foot: #0E1721;

  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --hdr: 68px;
}

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
::selection { background: var(--hl); color: var(--ink); }
:focus-visible { outline: 3px solid var(--hl); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.i { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.6rem); line-height: 1.08; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
p { max-width: 68ch; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); margin-top: 20px; }

.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--hl); padding-bottom: 1px; }
.link:hover { background: var(--hl-soft); }
.link .i { width: 1em; height: 1em; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--r-sm); font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s, border-color .15s; white-space: nowrap; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.02rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #24354A; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--hl-soft); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18914A; }
.btn-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; }
.btn-icon:hover { background: var(--wash); }
.btn-icon .i { width: 22px; height: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ── Header ───────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top, 0px); transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.hdr { height: var(--hdr); display: flex; align-items: center; gap: 24px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 16px; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); padding: 8px 12px; border-radius: var(--r-sm); }
.nav a:hover { color: var(--ink); background: var(--wash); }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.hdr-actions .btn-icon[data-track="whatsapp"] { color: var(--wa); }
.nav-toggle { display: none; }
.drawer { border-top: 1px solid var(--line); background: #fff; }
.drawer nav { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 20px; }
.drawer a { text-decoration: none; padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--wash); }
.drawer a.sub { font-weight: 500; color: var(--ink-2); padding-left: 16px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.hero-facts strong { color: var(--ink); font-weight: 600; }

.hero-visual { position: relative; min-height: 420px; }
.sheet { position: absolute; left: 0; top: 0; width: 82%; background: #fff; border: 1px solid #C9D2CB; border-radius: 6px; box-shadow: 0 1px 0 #C9D2CB; transform: rotate(-2.5deg); transform-origin: top left; font-size: .8rem; overflow: hidden; }
.sheet-title { background: #E7ECE8; padding: 7px 12px; font-size: .75rem; color: var(--muted); border-bottom: 1px solid #C9D2CB; }
.sheet-grid { display: grid; grid-template-columns: 28px 1.4fr .6fr 1fr; }
.sheet-grid span { padding: 7px 9px; border-right: 1px solid #E1E6E2; border-bottom: 1px solid #E1E6E2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.sheet-grid .h, .sheet-grid .n { background: #F3F5F3; color: #8A958E; text-align: center; font-size: .72rem; }
.sheet-grid .th { font-weight: 600; color: var(--ink); }
.sheet-grid .hl { background: var(--hl); color: var(--ink); }
.app { position: absolute; right: 0; bottom: 0; width: 66%; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r); padding: 14px; box-shadow: 10px 10px 0 var(--ink); }
.app-bar { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 4px 12px; }
.app-bar b { font-family: var(--display); font-size: 1.15rem; }
.app-bar span { font-size: .75rem; color: var(--go); font-weight: 600; }
.app-card { display: grid; grid-template-columns: 1fr auto 72px; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 8px; font-size: .88rem; }
.app-card b { font-variant-numeric: tabular-nums; }
.app-foot { font-size: .72rem; color: var(--muted); padding: 4px 4px 0; }

.pill { font-style: normal; font-size: .7rem; font-weight: 600; padding: 3px 8px; border-radius: 99px; text-align: center; white-space: nowrap; }
.pill.ok { background: var(--go-soft); color: var(--go); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.pill.wa { background: #DDF5E6; color: #127A3C; }

/* The one orchestrated moment: sheet rows become app cards */
@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: sheet-fade 900ms 1.6s ease forwards; }
  .app { animation: app-in 700ms 300ms cubic-bezier(.2,.7,.2,1) both; }
  .app-card { animation: card-in 500ms cubic-bezier(.2,.7,.2,1) both; }
  .app-card:nth-of-type(2) { animation-delay: .75s; }
  .app-card:nth-of-type(3) { animation-delay: .95s; }
  .app-card:nth-of-type(4) { animation-delay: 1.15s; }
  .app-card:nth-of-type(5) { animation-delay: 1.35s; }
  .app-foot { animation: card-in 400ms 1.6s both; }
}
@keyframes app-in { from { opacity: 0; transform: translate(-36px, 12px); box-shadow: 0 0 0 var(--ink); } }
@keyframes card-in { from { opacity: 0; transform: translateX(-28px); } }
@keyframes sheet-fade { to { opacity: .55; filter: grayscale(.6); } }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding-top: clamp(40px, 6vw, 72px); }
.section-wash { background: var(--wash); }
.section-ink { background: var(--ink); color: #D5DCE4; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink a { color: #fff; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; }

/* ── Cases ────────────────────────────────────────────────── */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.case-visual { background: var(--wash); height: 232px; overflow: hidden; display: grid; place-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.case-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: var(--r-sm); }
.case-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.case-kind { font-size: .8rem; font-weight: 600; color: var(--go); }
.case h3 { margin-top: 4px; font-size: 1.35rem; }
.case-for { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.case-problem { margin-top: 14px; font-size: .95rem; color: var(--ink-2); }
.case-outcomes { margin: 16px 0 20px; display: grid; gap: 6px; font-size: .9rem; }
.case-outcomes li { display: flex; gap: 8px; align-items: flex-start; }
.case-outcomes .i { color: var(--go); margin-top: 3px; width: 1em; height: 1em; }
.case .link { margin-top: auto; align-self: flex-start; }
.cases-long { grid-template-columns: 1fr; gap: 28px; }
.case-long { flex-direction: row; }
.case-long .case-visual { flex: 0 0 44%; height: auto; min-height: 320px; border-bottom: 0; border-right: 1px solid var(--line); }
.case-long .case-body { padding: 32px; }
.case-long h3 { font-size: 1.7rem; }
.case-story { margin-top: 18px; display: grid; gap: 4px; }
.case-story dt { font-weight: 600; font-size: .85rem; color: var(--muted); margin-top: 10px; }
.case-story dd { color: var(--ink-2); max-width: 62ch; }
.case-long .case-outcomes { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ── Illustrated previews ─────────────────────────────────── */
.mk { width: min(100%, 320px); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: .76rem; color: var(--ink-2); }
.mk-bar { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px 8px; }
.mk-bar b { font-family: var(--display); font-size: .98rem; color: var(--ink); }
.mk-bar span { font-size: .68rem; color: var(--muted); }
.mk-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 8px; border-top: 1px solid var(--wash); }
.mk-row span:first-child { flex: 1; }
.mk-foot { display: flex; justify-content: space-between; margin-top: 6px; padding: 6px 8px 0; font-size: .66rem; color: var(--muted); border-top: 1px dashed var(--line); }
.mk-bakery { padding: 0; overflow: hidden; }
.mk-hero { background: #ED1C24; color: #fff; padding: 22px 16px; font-family: var(--display); font-size: 1.05rem; }
.mk-hero b { max-width: 14ch; display: block; line-height: 1.15; }
.mk-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; }
.mk-tiles span { background: #FFF1EC; border-radius: 6px; padding: 16px 2px 6px; text-align: center; font-size: .64rem; font-weight: 600; color: #7a2e1f; }
.mk-letter { display: flex; align-items: center; justify-content: center; gap: 12px; background: transparent; border: 0; }
.mk-doc { position: relative; width: 108px; height: 140px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px 12px; display: flex; flex-direction: column; gap: 7px; }
.mk-doc i { display: block; height: 5px; border-radius: 3px; background: #D9DFDA; }
.mk-doc i.s { width: 60%; }
.mk-doc.brand b { display: block; height: 16px; border-radius: 3px; background: var(--ink); margin-bottom: 4px; }
.mk-doc.brand u { position: absolute; left: 12px; right: 12px; bottom: 26px; height: 3px; background: var(--hl); }
.mk-doc small { position: absolute; bottom: 6px; left: 12px; font-size: .6rem; color: var(--muted); }
.mk-arrow { color: var(--ink); }
.mk-spark { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 8px; padding: 0 8px; }
.mk-spark i { flex: 1; background: var(--go-soft); border-top: 2px solid var(--go); border-radius: 2px 2px 0 0; }
.mk-otp { background: transparent; border: 0; display: grid; place-items: center; }
.mk-phone { width: 150px; background: var(--ink); color: #fff; border-radius: 22px; padding: 20px 16px; display: grid; gap: 2px; border: 5px solid #2A3A4F; position: relative; }
.mk-phone small { font-size: .62rem; color: #9FB0C2; }
.mk-phone b { font-family: var(--display); font-size: 1.5rem; letter-spacing: .06em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.mk-phone b.dim { color: #9FB0C2; }
.mk-phone .ring { position: absolute; right: 14px; top: 22px; width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--hl) 0 70%, #2A3A4F 0); }

/* ── Solutions ────────────────────────────────────────────── */
.solutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.solution { display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: border-color .15s; }
.solution:hover { border-color: var(--ink); }
.solution h3 { font-size: 1.4rem; }
.solution > p { color: var(--ink-2); }
.solution ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.solution li { font-size: .82rem; background: var(--wash); border-radius: 99px; padding: 4px 11px; color: var(--ink-2); }
.solution .link { margin-top: auto; align-self: flex-start; }

/* ── Steps ────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 22px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--hl); font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin-bottom: 16px; }
.steps h3 { font-size: 1.4rem; }
.step-time { font-size: .9rem; font-weight: 600; color: var(--go); margin: 4px 0 10px; }
.steps p:last-child { color: var(--ink-2); }
.how-after { margin-top: 40px; color: var(--muted); }
.how-after a { font-weight: 600; }

/* ── Pricing ──────────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.tier-featured { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--hl); }
.tier h3 { font-size: 1.35rem; }
.tier-price { margin-top: 14px; font-size: .95rem; color: var(--ink-2); }
.tier-price strong { font-family: var(--display); font-size: 2rem; color: var(--ink); letter-spacing: -.02em; display: block; line-height: 1.1; }
.tier-time { font-size: .9rem; font-weight: 600; color: var(--go); margin-top: 6px; }
.tier-fits { margin: 16px 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.tier ul { display: grid; gap: 8px; font-size: .92rem; }
.tier li { display: flex; gap: 8px; }
.tier li .i { color: var(--go); margin-top: 3px; width: 1em; height: 1em; }
.tiers-note { margin-top: 24px; font-size: .9rem; color: var(--muted); }

/* ── Approach & ownership ─────────────────────────────────── */
.approach { display: grid; gap: 48px; }
.approach > div:first-child p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split > div { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); }
.split > div:last-child { background: var(--ink); border-color: var(--ink); color: #D5DCE4; }
.split > div:last-child h3 { color: #fff; }
.plain { margin-top: 14px; display: grid; gap: 10px; }
.plain li { padding-left: 18px; position: relative; }
.plain li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--hl); }
.own h3 { font-size: 1.4rem; margin-bottom: 18px; }
.own-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.own-grid p { display: flex; gap: 14px; align-items: flex-start; }
.own-grid .i { width: 28px; height: 28px; color: var(--ink); background: var(--hl-soft); padding: 5px; border-radius: 8px; box-sizing: content-box; }
.own-grid strong { display: block; font-family: var(--display); font-size: 1.1rem; }
.own-grid span { color: var(--ink-2); font-size: .95rem; }

/* ── About ────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy p { margin-top: 18px; }
.about-copy a { text-decoration-color: var(--hl); text-underline-offset: 3px; }
.about-facts { margin-top: 28px; display: grid; gap: 10px; }
.about-facts li { display: flex; gap: 10px; align-items: center; color: #fff; }
.about-facts .i { color: var(--hl); }
.founder { background: #1C2B3D; border-radius: var(--r-lg); padding: 28px; }
.founder img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; }
.founder blockquote { font-family: var(--display); font-size: 1.25rem; line-height: 1.35; color: #fff; }
.founder figcaption { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .92rem; color: #A9B6C4; }
.founder figcaption strong { color: #fff; }
.founder figcaption a { color: #fff; margin-left: auto; }
.promises h3 { font-size: 1.3rem; margin-bottom: 8px; }
.promises li { padding: 14px 0; border-bottom: 1px solid #2C3D52; }
.promises li:last-child { border-bottom: 0; padding-bottom: 0; }
.promises strong { display: block; color: #fff; font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.8fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-size: 1.5rem; line-height: 1; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }

/* ── Final CTA ────────────────────────────────────────────── */
.cta-final { padding-top: 0; }
.cta-box { background: var(--hl); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta-box p { margin-top: 12px; font-size: 1.1rem; color: var(--ink-2); }
.cta-box .cta-row { margin-top: 0; }
.cta-box .btn-ghost:hover { background: rgba(255,255,255,.5); }

/* ── Inner pages ──────────────────────────────────────────── */
.page-hero { background: var(--wash); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 20ch; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.page-hero + .cta-final, .section-tight + .cta-final { padding-top: clamp(40px, 6vw, 72px); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.two-col h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 20px; }
.pains li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.pains li::before { content: ''; position: absolute; left: 0; top: 1.25em; width: 14px; height: 3px; background: var(--bad); border-radius: 2px; }
.builds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.builds li { display: flex; gap: 10px; align-items: flex-start; background: var(--wash); border-radius: var(--r-sm); padding: 14px; font-weight: 500; }
.builds .i { color: var(--go); margin-top: 3px; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.prose p { color: var(--ink-2); margin-bottom: 12px; }
.prose a { font-weight: 500; text-decoration-color: var(--hl); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.page-404 { min-height: 50vh; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--foot); color: #A9B6C4; padding: 64px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .94rem; }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.foot-brand p { max-width: 34ch; }
.foot-parent { margin-top: 10px; font-size: .88rem; }
.foot-parent a { color: #fff; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h2 { font-family: var(--body); font-size: .88rem; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 4px; }
.foot-col a, .foot-col p { color: #A9B6C4; text-decoration: none; display: inline-flex; gap: 8px; align-items: flex-start; }
.foot-col a:hover { color: #fff; }
.foot-col .i { margin-top: 3px; }
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #22303F; font-size: .85rem; }
.foot-legal nav { display: flex; gap: 18px; }
.foot-legal a { color: #A9B6C4; }
.foot-legal .powered { margin-left: auto; display: inline-flex; align-items: center; line-height: 0; }
.foot-legal .powered img { height: 28px; width: auto; max-width: 150px; opacity: .85; }
.foot-legal .powered:hover img { opacity: 1; }

/* ── Mobile action bar ────────────────────────────────────── */
.mob-bar { display: none; }

/* ── Modal ────────────────────────────────────────────────── */
.modal { border: 0; padding: 0; margin: auto; width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 24px 80px rgba(20,32,46,.35); }
.modal::backdrop { background: rgba(14,23,33,.55); backdrop-filter: blur(3px); }
.modal-inner { position: relative; padding: clamp(24px, 4vw, 36px); }
.modal-close { position: absolute; top: 12px; right: 12px; }
.modal h2 { font-size: 1.7rem; padding-right: 40px; }
.modal-sub { color: var(--ink-2); margin: 8px 0 20px; font-size: .98rem; }
.tabs { display: flex; gap: 6px; background: var(--wash); padding: 4px; border-radius: 10px; margin-bottom: 16px; }
.tabs button { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 7px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20,32,46,.12); }
.pane iframe { width: 100%; height: min(600px, 62dvh); border: 1px solid var(--line); border-radius: var(--r-sm); }

.form { display: grid; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input:not([type="checkbox"]), .form select, .form textarea { font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.form textarea { resize: vertical; min-height: 88px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--hl); }
.form [aria-invalid="true"] { border-color: var(--bad) !important; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .86rem; color: var(--ink-2); }
.form .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.form-status { font-size: .9rem; }
.form-status.err { color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { text-align: center; padding: 20px 0 8px; }
.form-done h3 { font-size: 1.5rem; margin-top: 12px; }
.form-done p { margin: 8px auto 20px; color: var(--ink-2); }
.done-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--hl); }
.done-mark .i { width: 28px; height: 28px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .cases { grid-template-columns: repeat(2, 1fr); }
  .cases-long { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav, .hdr-actions > .btn-primary { display: none; }
  .nav-toggle { display: inline-grid; }
  .hero-grid, .about, .faq-wrap, .cta-box, .two-col { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .hero-visual { min-height: 380px; max-width: 560px; }
  .tiers, .steps, .own-grid { grid-template-columns: 1fr; }
  .tiers { max-width: 560px; }
  .case-long { flex-direction: column; }
  .case-long .case-visual { flex: none; min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
  .mob-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); transition: transform .25s; }
  .mob-bar .btn-primary { flex: 1; }
  .mob-bar .btn-wa { width: 52px; padding: 0; }
  .mob-bar.hide { transform: translateY(110%); }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cases, .solutions, .split, .builds, .form-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; }
  .sheet { width: 92%; font-size: .72rem; }
  .app { width: 80%; box-shadow: 6px 6px 0 var(--ink); }
  .case-long .case-body { padding: 24px; }
  .foot { grid-template-columns: 1fr; gap: 28px; }
  .foot-legal .powered { margin-left: 0; }
  .hero-facts { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
