/* Pefwil design system v2 "Editorial Studio".
   One stylesheet, one light mode, the same twelve components and class names
   as v1 so every page keeps working. Tokens mirror theme.json.
   Direction: type-led, warm paper, crisp hairlines, calm motion, proof first. */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #0b1020;            /* dark bands, headings */
  --navy-2: #141b33;          /* raised surfaces on navy */
  --ink: #141a2e;             /* body text */
  --ink-soft: #3a4664;
  --ink-muted: #5b6886;       /* 4.9:1 on --bg */
  --accent: #1f4fb3;          /* links, 6.4:1 on --bg */
  --accent-bright: #2f6fe6;   /* hover, italic accent word (4.6:1 on --bg) */
  --accent-deep: #173a86;
  --peri: #9db9ff;            /* periwinkle: accents on navy only */
  --bg: #f6f3ec;              /* warm paper */
  --bg-deep: #efeadf;         /* deeper paper for stages */
  --surface: #ffffff;
  --surface-2: #fbfaf7;       /* alt sections */
  --tint: #edf2ff;            /* pale periwinkle tint */
  --line: #e4dfd4;
  --line-strong: #cbc4b5;
  --green: #0f7a5a;           /* success, 5.2:1 on white */
  --green-bg: #e6f5ee;
  --amber-bg: #fff2cc;
  --amber-ink: #6b4a00;
  --on-navy: #e3e9f7;
  --on-navy-soft: #b9c4df;
  --on-navy-muted: #8f9cbd;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s7: 64px; --s8: 96px; --s9: 128px;
  --section: 64px;            /* mobile section padding */
  --gutter: 20px;
  --measure: 64ch;
  --radius: 14px; --radius-lg: 22px; --radius-xl: 28px; --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(11,16,32,.04), 0 12px 32px -20px rgba(11,16,32,.18);
  --shadow-lg: 0 2px 4px rgba(11,16,32,.04), 0 40px 80px -40px rgba(11,16,32,.35);
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (min-width: 768px) { :root { --section: 104px; --gutter: 32px; } }
@media (min-width: 1200px) { :root { --section: 120px; } }

/* ---------- 2. Fonts ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/inter-var.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/playfair-var.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 700; font-display: swap; src: url(../fonts/playfair-italic-700.woff2) format("woff2"); }

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss01"; }
@media (min-width: 768px) { body { font-size: 17px; } }
@media (min-width: 1200px) { body { font-size: 18px; } }
::selection { background: var(--navy); color: #fff; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .2em; text-decoration-thickness: 1px; text-decoration-color: rgba(31,79,179,.4); transition: color .15s var(--ease), text-decoration-color .15s var(--ease); }
a:hover { color: var(--accent-deep); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.4rem + 3.7vw, 4.5rem); line-height: 1.04; font-weight: 600; letter-spacing: -.026em; }
h2 { font-size: clamp(1.95rem, 1.3rem + 2.3vw, 3.15rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 1.08rem + .65vw, 1.6rem); line-height: 1.2; letter-spacing: -.012em; }
h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; font-weight: 700; color: var(--accent-bright); }
p { margin: 0 0 1em; }
p, li { max-width: var(--measure); }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li + li { margin-top: .4em; }
/* Component lists lay themselves out with gaps, so the prose spacing above must not leak into them. */
.nav-list li + li, .mobile-menu li + li, .menu li + li, .trust li + li, .steps li + li, .plan li + li, .checklist li + li, .contact-list li + li, .logo-row li + li, .crumbs li + li, .footer-grid li + li, .footer-bottom li + li, .stats li + li { margin-top: 0; }
strong { font-weight: 600; color: var(--navy); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s5) 0; }
small, .small { font-size: .875rem; }
.muted { color: var(--ink-muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.section { padding-top: var(--section); padding-bottom: var(--section); position: relative; }
.section--tight { padding-top: calc(var(--section) * .42); padding-bottom: calc(var(--section) * .42); }
.section--alt { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--alt + .section--alt { border-top: 0; }
.section--navy, .cta-band { background: var(--navy); color: var(--on-navy); position: relative; isolation: isolate; overflow: hidden; }
.section--navy::before, .cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(157,185,255,.22), transparent 60%), radial-gradient(45% 50% at 0% 100%, rgba(15,122,90,.18), transparent 60%); pointer-events: none; z-index: -1; }
.section--navy::after, .cta-band::after, .hero::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .09; pointer-events: none; z-index: -1; mix-blend-mode: soft-light; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: var(--peri); text-decoration-color: rgba(157,185,255,.45); }
.section--navy a:hover { color: #fff; }
.section--navy .muted { color: var(--on-navy-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s3); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section--navy .eyebrow, .cta-band .eyebrow, .lane-card .eyebrow { color: var(--peri); }
.section-head { max-width: 780px; margin-bottom: var(--s6); }
.section-head p { font-size: 1.12em; color: var(--ink-soft); line-height: 1.55; }
.section--navy .section-head p { color: var(--on-navy-soft); }
.lede { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); max-width: 58ch; }
.grid { display: grid; gap: var(--s3); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: var(--s4); } }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose blockquote { margin: 1.5em 0; padding: 0 0 0 1.2em; border-left: 2px solid var(--accent-bright); font-family: var(--font-display); font-size: 1.2em; color: var(--navy); line-height: 1.4; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); }
.skip-link { position: absolute; left: var(--s2); top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 600; }
.skip-link:focus { top: var(--s2); }

/* ---------- 4. Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: var(--radius-pill); font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; letter-spacing: -.005em; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); min-height: 48px; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 10px 24px -14px rgba(11,16,32,.5); }
.btn--primary:hover { background: var(--accent-bright); color: #fff; box-shadow: 0 14px 28px -14px rgba(47,111,230,.55); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--surface); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--peri); color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn--sm { padding: 9px 16px; min-height: 40px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- 5. Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(246,243,236,.72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246,243,236,.88); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 26px; width: auto; }
.nav-list { display: none; list-style: none; margin: 0; padding: 4px; gap: 2px; align-items: center; background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: var(--radius-pill); }
.nav-list a, .nav-list button { display: inline-flex; align-items: center; gap: 5px; padding: 9px 14px; border-radius: var(--radius-pill); color: var(--navy); font-weight: 600; font-size: .92rem; text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.nav-list a:hover, .nav-list button:hover, .nav-list button[aria-expanded="true"], .nav-list a[aria-current="page"] { background: var(--navy); color: #fff; }
.nav-list button svg { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.nav-list button[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu { display: none; position: absolute; left: 0; top: calc(100% + 12px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px; min-width: 320px; z-index: 50; }
.menu[data-open="true"] { display: grid; gap: 2px; }
.menu a { display: block; padding: 10px 12px; border-radius: 12px; font-weight: 600; color: var(--navy); text-decoration: none; }
.menu a:hover { background: var(--tint); color: var(--accent-deep); }
.menu a small { display: block; font-weight: 400; color: var(--ink-muted); font-size: .8rem; margin-top: 1px; }
.menu hr { margin: 6px 4px; }
.nav-cta { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (min-width: 960px) { .nav-list { display: flex; } .nav-cta { display: inline-flex; } .nav-toggle { display: none; } }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--surface); padding: var(--s2) 0 var(--s3); }
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu a { display: block; padding: 12px 6px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.mobile-menu .sub a { padding-left: 22px; font-weight: 500; color: var(--ink-soft); font-size: .95rem; }
.mobile-menu .actions { margin-top: var(--s3); }
@media (min-width: 960px) { .mobile-menu { display: none !important; } }

/* ---------- 6. Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: calc(var(--section) * .7); padding-bottom: calc(var(--section) * .75); background: var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 50% at 88% 8%, rgba(157,185,255,.35), transparent 62%), radial-gradient(40% 40% at 4% 100%, rgba(15,122,90,.10), transparent 60%), linear-gradient(180deg, #faf8f3 0%, var(--bg) 100%); }
.hero::after { opacity: .07; }
.hero .pill { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 6px 14px 6px 6px; font-size: .84rem; font-weight: 600; color: var(--ink-soft); margin-bottom: var(--s4); backdrop-filter: blur(6px); }
.hero .pill b { background: var(--navy); color: #fff; border-radius: var(--radius-pill); padding: 5px 10px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hero--home { padding-top: calc(var(--section) * .8); padding-bottom: calc(var(--section) * .7); }
.hero__grid { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.2fr .8fr; gap: var(--s8); } }
.hero .lede { margin-top: var(--s3); }
.hero .actions { margin-top: var(--s5); }
.hero__price { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-top: var(--s3); padding: 12px 18px; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--radius); }
.hero__price b { font-family: var(--font-display); font-size: 1.55rem; color: var(--navy); letter-spacing: -.01em; }
.hero__price span { color: var(--ink-muted); font-size: .9rem; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: var(--s4) 0 0; padding: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.trust svg { width: 18px; height: 18px; color: var(--green); flex: none; }
/* Hero visual: a stage with real site screenshots in frames */
.hero__visual { position: relative; min-height: 340px; }
.hero__visual::before { content: ""; position: absolute; inset: -6% -4% -6% -4%; border-radius: var(--radius-xl); background: linear-gradient(160deg, rgba(157,185,255,.45), rgba(237,242,255,.15) 45%, rgba(15,122,90,.12)); border: 1px solid rgba(11,16,32,.06); z-index: 0; }
.hero__visual .device { position: absolute; width: 72%; z-index: 1; transition: transform .35s var(--ease); }
.hero__visual .device:nth-child(1) { left: 0; top: 0; transform: rotate(-2deg); }
.hero__visual .device:nth-child(2) { right: 0; top: 24%; width: 60%; transform: rotate(1.5deg); z-index: 2; }
.hero__visual .device:nth-child(3) { left: 14%; bottom: 0; width: 56%; transform: rotate(-1deg); z-index: 3; }
.hero__visual:hover .device { transform: rotate(0deg); }
@media (max-width: 959px) { .hero__visual { min-height: 280px; margin-top: var(--s2); } }
.device { background: var(--surface); border: 1px solid rgba(11,16,32,.1); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.device::before { content: ""; display: block; height: 20px; background: linear-gradient(90deg, #f1eee8, #f8f6f2); border-bottom: 1px solid var(--line); background-image: radial-gradient(circle at 12px 10px, #d9d3c6 3px, transparent 3.5px), radial-gradient(circle at 26px 10px, #d9d3c6 3px, transparent 3.5px), radial-gradient(circle at 40px 10px, #d9d3c6 3px, transparent 3.5px), linear-gradient(90deg, #f1eee8, #f8f6f2); }
.device img { aspect-ratio: 8 / 5; object-fit: cover; width: 100%; }

/* ---------- 7. Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; position: relative; transition: border-color .2s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-soft); font-size: .97em; }
.card--link:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card--link > a.cover { position: absolute; inset: 0; border-radius: inherit; z-index: 2; }
.card--link > a.cover:focus-visible { outline-offset: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--accent); display: grid; place-items: center; border: 1px solid rgba(31,79,179,.12); }
.card .icon svg { width: 22px; height: 22px; }
.card .price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--font-display); font-size: 1.15rem; }
.card .price small { color: var(--ink-muted); font-weight: 500; font-family: var(--font-body); font-size: .82rem; }
.card .more { font-weight: 700; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card .more svg { width: 16px; height: 16px; }
/* Case study / portfolio card: screenshot in a frame, result as the caption */
.card--case { padding: 0; overflow: hidden; }
.card--case .device { border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
.card--case .device img { transition: transform .6s var(--ease); }
.card--case:hover .device img { transform: scale(1.03); }
.card--case .body { padding: var(--s3) var(--s4) var(--s4); display: flex; flex-direction: column; gap: 8px; }
.card--case .tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.card--case .result { color: var(--navy); font-weight: 500; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.45; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--tint); color: var(--accent); border: 1px solid rgba(31,79,179,.12); }
.badge--own { background: var(--navy); color: #fff; border-color: var(--navy); }
.badge--partner { background: var(--green-bg); color: var(--green); border-color: rgba(15,122,90,.15); }
.card--industry .proof { display: flex; gap: 6px; margin-top: auto; padding-top: var(--s2); }
.card--industry .proof img { width: 60px; aspect-ratio: 8/5; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }

/* ---------- 8. Stat band ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stats .stat { padding: var(--s4) var(--s3); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.section--navy .stats, .section--navy .stats .stat { border-color: rgba(255,255,255,.14); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.6rem); color: var(--navy); line-height: 1; letter-spacing: -.02em; font-weight: 600; }
.section--navy .stat b { color: #fff; }
.stat span { display: block; margin-top: 10px; color: var(--ink-muted); font-size: .92rem; line-height: 1.45; }
.section--navy .stat span { color: var(--on-navy-soft); }
.stat small { display: block; margin-top: 4px; font-size: .75rem; color: var(--ink-muted); }
/* Stat grids written inline with 3 columns keep their own template */
.stats[style*="grid-template-columns"] .stat { padding: var(--s3) var(--s3); }

/* ---------- 9. Testimonial ---------- */
.testimonial { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); box-shadow: var(--shadow); max-width: 820px; position: relative; }
.testimonial::before { content: "\201C"; position: absolute; top: 10px; left: 22px; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--peri); opacity: .7; }
.testimonial blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .9vw, 1.65rem); line-height: 1.4; color: var(--navy); position: relative; }
.testimonial blockquote p { max-width: none; }
.testimonial figcaption { margin-top: var(--s3); color: var(--ink-muted); font-size: .92rem; }
.testimonial figcaption b { color: var(--navy); }

/* ---------- 10. Process steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); counter-increment: step; position: relative; transition: border-color .2s var(--ease); }
.steps li:hover { border-color: var(--line-strong); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--accent-bright); margin-bottom: 14px; letter-spacing: -.02em; }
.steps h3 { font-size: 1.25rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .97em; }
.steps .gate { margin-top: 14px; font-size: .85rem; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.steps .gate::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.steps .weeks { display: block; font-size: .76rem; color: var(--ink-muted); font-weight: 700; margin-bottom: 6px; letter-spacing: .1em; text-transform: uppercase; }
.section--navy .steps li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); backdrop-filter: blur(4px); }
.section--navy .steps li:hover { border-color: rgba(255,255,255,.3); }
.section--navy .steps p { color: var(--on-navy-soft); }
.section--navy .steps li::before { color: var(--peri); }
.section--navy .steps .weeks { color: var(--on-navy-muted); }

/* ---------- 11. FAQ accordion (native details) ---------- */
.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s3); align-items: center; padding: 20px 4px; font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.15rem; letter-spacing: -.01em; transition: color .15s var(--ease); }
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 1.3rem; font-weight: 400; color: var(--navy); flex: none; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; line-height: 1; transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); background: var(--navy); color: #fff; border-color: var(--navy); }
.faq .answer { padding: 0 4px 22px; color: var(--ink-soft); max-width: 70ch; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- 12. Pricing table ---------- */
.pricing { display: grid; gap: var(--s3); }
@media (min-width: 700px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .plan__price { font-family: var(--font-display); font-size: 2.2rem; color: var(--navy); font-weight: 600; margin: 10px 0 2px; letter-spacing: -.02em; }
.plan .plan__note { color: var(--ink-muted); font-size: .9rem; margin-bottom: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .95em; color: var(--ink-soft); }
.plan li svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan--featured { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy), var(--shadow-lg); }
.plan--featured::before { content: "Most chosen"; position: absolute; top: -13px; left: var(--s4); background: var(--navy); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); }

/* ---------- 13. CTA band ---------- */
.cta-band { padding: var(--section) 0; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
.cta-band p { color: var(--on-navy-soft); font-size: 1.1em; }
.cta-band .inner { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) { .cta-band .inner { grid-template-columns: 1.3fr 1fr; } }
.cta-band .trust li { color: var(--on-navy-soft); }
.cta-band .trust svg { color: #6ee7b7; }
.cta-band .actions { justify-content: flex-start; }
@media (min-width: 900px) { .cta-band .actions { justify-content: flex-end; } }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: var(--s8) 0 calc(var(--s5) + 72px); border-top: 1px solid rgba(255,255,255,.08); font-size: .93rem; position: relative; isolation: isolate; }
.site-footer::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .07; pointer-events: none; z-index: -1; mix-blend-mode: soft-light; }
@media (min-width: 768px) { .site-footer { padding-bottom: var(--s5); } }
.site-footer a { color: var(--on-navy); text-decoration: none; transition: color .15s var(--ease); }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }
.footer-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: var(--s6); } }
.footer-grid .footer-h { font-family: var(--font-body); color: #fff; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid li { max-width: none; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand img { height: 30px; width: auto; max-width: none; filter: brightness(0) invert(1); margin-bottom: var(--s3); }
.footer-brand p:first-of-type { color: var(--on-navy); font-family: var(--font-display); font-size: 1.15rem; max-width: 26ch; }
.footer-brand address { font-style: normal; line-height: 1.65; }
.footer-bottom { margin-top: var(--s7); padding-top: var(--s3); border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .84rem; }
.footer-bottom p { max-width: none; margin: 0; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom button { background: none; border: 0; color: var(--on-navy); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }

/* ---------- 15. Forms ---------- */
.form { display: grid; gap: var(--s2); }
.form .row { display: grid; gap: var(--s2); }
@media (min-width: 640px) { .form .row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--navy); }
.field label span { color: var(--ink-muted); font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-muted); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); outline: 0; box-shadow: 0 0 0 4px rgba(47,111,230,.18); }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--ink-muted); margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.form-note { font-size: .85rem; color: var(--ink-muted); }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status[data-state="ok"] { display: block; background: var(--green-bg); color: var(--green); border: 1px solid rgba(15,122,90,.2); }
.form-status[data-state="error"] { display: block; background: var(--amber-bg); color: var(--amber-ink); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); box-shadow: var(--shadow); }
@media (min-width: 768px) { .panel { padding: var(--s5); } }
.panel h2, .panel h3 { margin-top: 0; }
.lead-block { display: grid; gap: var(--s4); align-items: start; }
@media (min-width: 900px) { .lead-block { grid-template-columns: 1fr 1fr; gap: var(--s7); } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; max-width: none; }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.contact-list b { display: block; color: var(--navy); }
.contact-list a { text-decoration: none; font-weight: 600; }

/* ROI calculator */
.calc .results { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s3); }
.calc .results div { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.calc .results span { display: block; font-size: .78rem; color: var(--ink-muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.calc .results b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); margin-top: 6px; letter-spacing: -.01em; }
.calc .results b.pos { color: var(--green); }
.calc .results b.neg { color: #b42318; }

/* ---------- 16. Breadcrumbs, article, misc ---------- */
.crumbs { font-size: .84rem; color: var(--ink-muted); margin: 0 0 var(--s4); padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li { max-width: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--ink-muted); margin-bottom: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.article-meta b { color: var(--navy); }
.answer-box { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent-bright); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: var(--s3) var(--s4); margin: 0 0 var(--s5); box-shadow: var(--shadow); }
.answer-box p { margin: 0; font-size: 1.08em; color: var(--navy); font-family: var(--font-display); line-height: 1.5; }
.answer-box .eyebrow { margin-bottom: 10px; }
.author-box { display: flex; gap: var(--s2); align-items: flex-start; border-top: 1px solid var(--line); padding-top: var(--s4); margin-top: var(--s6); color: var(--ink-soft); font-size: .95rem; }
.author-box b { color: var(--navy); display: block; }
.related { display: grid; gap: var(--s2); }
.related a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; font-weight: 600; color: var(--navy); transition: border-color .15s var(--ease), transform .2s var(--ease); }
.related a:hover { border-color: var(--navy); transform: translateX(2px); }
.related a small { display: block; color: var(--ink-muted); font-weight: 400; font-size: .85rem; }
.tbc { background: var(--amber-bg); color: var(--amber-ink); padding: 1px 7px; border-radius: 6px; font-size: .85em; font-weight: 600; white-space: normal; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 4px; }
.kv { display: grid; gap: 0; }
.kv div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95em; }
.kv dt { color: var(--ink-muted); font-weight: 600; margin: 0; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.kv dd { margin: 0; color: var(--navy); }
.map-link { display: grid; aspect-ratio: 16/7; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(160deg, var(--tint), var(--surface)); place-items: center; text-decoration: none; font-weight: 700; color: var(--accent); }
.two-col { display: grid; gap: var(--s5); align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.1fr .9fr; gap: var(--s8); } }
.two-col--reverse > :first-child { order: 2; }
@media (min-width: 900px) { .two-col--reverse > :first-child { order: 0; } }
.lane-card { background: var(--navy); color: var(--on-navy); border-radius: var(--radius-lg); padding: var(--s5) var(--s4); display: flex; flex-direction: column; gap: 10px; position: relative; isolation: isolate; overflow: hidden; }
.lane-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 100% 0%, rgba(157,185,255,.28), transparent 60%); }
.lane-card h3 { color: #fff; margin: 0; }
.lane-card p { color: var(--on-navy-soft); margin: 0; }
.lane-card .eyebrow { margin-bottom: 0; }
.lane-card a.more { color: #fff; font-weight: 700; text-decoration: none; margin-top: auto; padding-top: var(--s2); }
.lane-card a.more:hover { color: var(--peri); }
.logo-row { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: var(--s3) 0 0; padding: 0; }
.logo-row li { max-width: none; }
.logo-row li a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface); font-weight: 600; font-size: .9rem; color: var(--navy); text-decoration: none; transition: border-color .15s var(--ease), color .15s var(--ease); }
.logo-row li a:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- 17. Mobile sticky bar and cookie banner ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); border-top: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mobile-bar .btn { min-height: 46px; padding: 10px 12px; font-size: .9rem; }
.btn--whatsapp { background: #e6f5ee; color: #0a5c43; border-color: #bfe8d4; }
.btn--whatsapp:hover { background: #d4f0e2; color: #0a5c43; }
@media (min-width: 768px) { .mobile-bar { display: none; } }
.cookie { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 84px; z-index: 95; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--s3); max-width: 420px; margin-left: auto; display: none; }
.cookie[data-open="true"] { display: block; }
@media (min-width: 768px) { .cookie { bottom: var(--s3); right: var(--s3); left: auto; } }
.cookie h2 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 6px; }
.cookie p { font-size: .9rem; color: var(--ink-soft); margin-bottom: 14px; }
.cookie .actions { gap: 8px; }

/* ---------- 18. Motion: one reveal, opacity only, 200ms, once (JS-gated) ---------- */
html.js .reveal { opacity: 0; transition: opacity .2s ease-out; }
html.js .reveal.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; }
}
@media print { .site-header, .mobile-bar, .cookie, .cta-band, .site-footer { display: none !important; } }
