/* ==========================================================================
   ProMobility — design system
   Brand: navy #08003C · red #CC3C41 (logo) · warm paper · Montserrat / Inter
   ========================================================================== */

:root {
  --ink: #08003C;
  --ink-2: #0F0552;
  --ink-3: #221a6e;
  --red: #CC3C41;
  --red-d: #A92D33;
  --red-soft: #FBEAEA;
  --paper: #F7F5F1;
  --paper-2: #EFECE6;
  --surface: #FFFFFF;
  --soft: #EEEDF7;
  --text: #17133B;
  --muted: #5E5B76;
  --line: #E6E2DB;
  --line-ink: rgba(255,255,255,.14);

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(8,0,60,.06), 0 2px 8px rgba(8,0,60,.05);
  --shadow: 0 10px 30px -12px rgba(8,0,60,.22), 0 2px 6px rgba(8,0,60,.05);
  --shadow-lg: 0 30px 60px -24px rgba(8,0,60,.35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow-c { max-width: calc(800px + var(--gutter) * 2); }
.center { text-align: center; }
.muted { color: var(--muted); }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.section { padding: var(--section) 0; }
.section.tint { background: var(--surface); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; }
.section-head.split > p, .section-head.split .muted { margin: 0; }
.section-head h2 { margin-bottom: .3em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .78rem/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase;
  color: var(--red-d); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-pill { background: var(--surface); padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); color: var(--ink); letter-spacing: .06em; text-transform: none; font-size: .85rem; font-weight: 600; }
.eyebrow-pill::before { display: none; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #1fbf75; box-shadow: 0 0 0 0 rgba(31,191,117,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31,191,117,0); } 100% { box-shadow: 0 0 0 0 rgba(31,191,117,0); } }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.lead strong { color: var(--ink); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .98rem/1 var(--font-head); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(204,60,65,.65); }
.btn-primary:hover { background: var(--red-d); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row.center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem/1 var(--font-head); color: var(--red); text-decoration: none; margin-top: auto; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
a:hover > .link-arrow .ico, .link-arrow:hover .ico { transform: translateX(4px); }

.chip { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 600 .85rem/1 var(--font-head); text-decoration: none; color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.chip-red { background: var(--red); border-color: var(--red); color: #fff; }
.chip-light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }

.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--red-soft); color: var(--red); flex: none; }
.icon-badge .ico { width: 26px; height: 26px; }
.icon-badge.sm { width: 42px; height: 42px; border-radius: 12px; }
.icon-badge.sm .ico { width: 22px; height: 22px; }

.checks { list-style: none; display: grid; gap: 10px; margin: 20px 0 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { width: 20px; height: 20px; margin-top: 3px; color: var(--red); stroke-width: 2.4; }
.checks.lg { gap: 16px; margin-bottom: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(247,245,241,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.9); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { flex: none; }
.brand img { height: 52px; width: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.main-nav ul { list-style: none; display: flex; gap: 2px; }
.main-nav a { display: block; padding: 10px 13px; border-radius: 999px; font: 600 .93rem/1 var(--font-head); text-decoration: none; color: var(--ink); transition: background-color .15s; }
.main-nav ul a:hover { background: rgba(8,0,60,.06); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-phone { display: none !important; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; place-items: center; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .ico-close { display: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at center, rgba(204,60,65,.12), transparent 60%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-top: 18px; }
.h1-sub { display: block; font-size: .42em; font-weight: 700; color: var(--red); letter-spacing: -.01em; margin-bottom: .45em; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: .93rem; font-weight: 500; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .ico { color: var(--ink); width: 20px; height: 20px; }

.hero-media { position: relative; padding: 24px 0 24px 24px; }
.hero-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.3; box-shadow: var(--shadow-lg); background: var(--ink); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,0,60,.45)); }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); font-size: .85rem; color: var(--muted); line-height: 1.25;
  animation: float 6s ease-in-out infinite;
}
.float-chip .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--red-soft); color: var(--red); }
.float-chip strong { display: block; font: 800 1.1rem/1.1 var(--font-head); color: var(--ink); }
.chip-a { top: 8%; left: -4%; }
.chip-b { bottom: 14%; left: -8%; animation-delay: -2s; }
.chip-c { top: 44%; right: -4%; animation-delay: -4s; }
.chip-c .ico { background: var(--ink); color: #fff; }
.chip-bl { left: 20px; bottom: 20px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { list-style: none; display: flex; gap: 44px; padding-right: 44px; }
.marquee li { display: flex; align-items: center; gap: 10px; white-space: nowrap; font: 600 1rem/1 var(--font-head); }
.marquee .ico { color: var(--red); width: 18px; height: 18px; stroke-width: 2.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento-card {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 32px; border-radius: var(--r-xl);
  background: var(--surface); text-decoration: none; overflow: hidden; min-height: 300px; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento-card h3 { font-size: 1.5rem; margin-top: 18px; }
.bento-card p { color: var(--muted); }
.bento-lg { grid-column: span 2; grid-row: span 2; padding: 40px; min-height: 520px; }
.bento-lg .bento-body { position: relative; z-index: 2; display: flex; flex-direction: column; max-width: 470px; height: 100%; }
.bento-lg h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.bento-img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-position: center 80%; object-fit: cover; transition: transform .6s var(--ease); }
.bento-lg::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(8,0,60,.94) 38%, rgba(8,0,60,.55) 66%, rgba(8,0,60,.12) 100%); }
.bento-lg:hover .bento-img { transform: scale(1.04); }
.bento-lg .link-arrow { margin-top: 18px; }
.tone-ink { background: var(--ink); color: #fff; }
.tone-ink h2, .tone-ink h3 { color: #fff; }
.tone-ink p { color: rgba(255,255,255,.75); }
.tone-ink .icon-badge { background: rgba(255,255,255,.1); color: #fff; }
.tone-ink .link-arrow { color: #fff; }
.tone-red { background: var(--red); color: #fff; }
.tone-red h2, .tone-red h3 { color: #fff; }
.tone-red p { color: rgba(255,255,255,.85); }
.tone-red .icon-badge { background: rgba(255,255,255,.16); color: #fff; }
.tone-red .link-arrow { color: #fff; }
.tone-soft { background: var(--soft); grid-column: span 3; min-height: 0; display: grid; grid-template-columns: auto 1fr auto; gap: 8px 28px; align-items: center; }
.tone-soft h3 { margin: 0; }
.tone-soft p { margin: 0; grid-column: 2; }
.tone-soft .icon-badge { grid-row: span 2; background: var(--surface); }
.tone-soft .link-arrow { grid-row: 1 / span 2; grid-column: 3; align-self: center; margin: 0; }
.tone-paper { background: var(--surface); border: 1px solid var(--line); }

/* ---------- Split sections ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-grid.align-start { align-items: start; }
.split-media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4.4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .float-chip { animation: none; }
.split-copy p { color: var(--muted); }
.split-copy p strong { color: var(--ink); }
.split-copy .btn { margin-top: 28px; }
.split-copy a:not(.btn) { color: var(--red-d); font-weight: 600; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--ink); color: #fff; padding: clamp(48px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 600px; height: 600px; background: radial-gradient(circle, rgba(204,60,65,.35), transparent 60%); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 8px 0 8px 24px; border-left: 1px solid var(--line-ink); }
.stat-value { font: 800 clamp(2.2rem, 4.4vw, 3.6rem)/1 var(--font-head); letter-spacing: -.03em; margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.stat-value span { color: #fff; }
.stat-value { color: var(--red); }
.stat-label { margin: 0; color: rgba(255,255,255,.7); font-size: .95rem; }

/* ---------- Horizontal lifecycle slider ---------- */
.lifecycle { overflow: hidden; }
.slider-controls { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.slider-controls p { margin: 0; max-width: 34ch; }
.slider-btns { display: flex; gap: 10px; flex: none; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, opacity .2s; }
.round-btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn:disabled { opacity: .35; cursor: default; }
.slider { --pad: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.slider-track {
  list-style: none; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px var(--pad) 24px; scroll-padding-left: var(--pad); scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; flex: 0 0 clamp(260px, 26vw, 310px); }
.lifecycle-card { position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.lifecycle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lifecycle-card::before { content: ""; position: absolute; top: 54px; left: calc(100% - 28px); width: calc(18px + 56px); height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 12px); opacity: .5; z-index: -1; }
.lifecycle-card:last-child::before { display: none; }
.lifecycle-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.step-no { font: 800 2.4rem/1 var(--font-head); color: #E2DCD2; letter-spacing: -.04em; }
.lifecycle-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.slider-progress { height: 3px; background: var(--paper-2); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.slider-progress span { display: block; height: 100%; width: 20%; background: var(--red); border-radius: 3px; transition: width .2s; }

/* ---------- Vertical timeline (doola style) ---------- */
.timeline-section { background: var(--surface); }
.timeline-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.timeline-head { position: sticky; top: calc(var(--header-h) + 40px); }
.timeline-head .btn { margin-top: 12px; }
.timeline { position: relative; list-style: none; display: grid; gap: 22px; }
.timeline-rail { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline-fill { position: absolute; inset: 0 0 auto 0; height: 0; background: linear-gradient(var(--red), var(--red-d)); border-radius: 2px; transition: height .15s linear; }
.timeline-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; }
.timeline-dot {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--line); font: 800 1rem/1 var(--font-head); color: var(--muted);
  transition: background-color .35s, border-color .35s, color .35s, transform .35s var(--ease);
}
.timeline-step.is-active .timeline-dot { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.06); box-shadow: 0 0 0 8px var(--red-soft); }
.timeline-card { background: var(--paper); border-radius: var(--r-lg); padding: 26px 28px; border: 1px solid transparent; transition: border-color .35s, background-color .35s, box-shadow .35s; }
.timeline-step.is-active .timeline-card { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.timeline-card p { margin: 0; color: var(--muted); }
.timeline-card .checks { margin-top: 14px; font-size: .95rem; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: var(--surface); border-radius: var(--r-lg); padding: 30px 26px; border: 1px solid var(--line); }
.value-card h3 { margin-top: 20px; }
.value-card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--paper-2); }
.t-slider { position: relative; display: grid; }
.t-card {
  grid-area: 1 / 1; background: var(--surface); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s;
}
.t-card.is-active { opacity: 1; visibility: visible; transform: none; }
.t-quote { width: 54px; height: 54px; color: var(--red); stroke-width: 2.2; margin-bottom: 18px; }
.t-card blockquote { margin: 0; }
.t-card blockquote p { font: 600 clamp(1.15rem, 2.1vw, 1.6rem)/1.45 var(--font-head); color: var(--ink); letter-spacing: -.015em; }
.t-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: 28px; color: var(--muted); font-size: .95rem; line-height: 1.35; }
.t-card figcaption strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.05rem; }
.t-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 800 1.2rem/1 var(--font-head); flex: none; }
.t-nav { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.t-dot { width: 34px; height: 6px; border-radius: 6px; border: 0; background: rgba(8,0,60,.15); cursor: pointer; padding: 0; transition: background-color .3s, width .3s; }
.t-dot.is-active { background: var(--red); width: 56px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-head a { color: var(--red-d); font-weight: 600; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border-radius: var(--r-md); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.05rem; line-height: 1.4; }
.faq-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq-icon .ico { width: 18px; height: 18px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-answer p { margin: 0; }
.faq-group { margin-top: 48px; }
.faq-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.faq-group-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0; }
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- CTA ---------- */
.cta-section { padding-top: 0; }
.cta-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr auto; gap: 24px 48px; align-items: center;
  padding: clamp(36px, 6vw, 72px); border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #e2565b 0%, var(--red) 40%, var(--red-d) 100%);
  box-shadow: 0 30px 60px -30px rgba(204,60,65,.8);
}
.cta-card h2 { color: #fff; margin-bottom: .35em; }
.cta-card p { color: rgba(255,255,255,.88); margin: 0; font-size: 1.1rem; }
.cta-card .btn-row { margin: 0; }
.cta-swoosh { position: absolute; right: -40px; bottom: -10px; width: 620px; color: rgba(255,255,255,.1); pointer-events: none; }
.cta-card > div { position: relative; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -30%; right: -15%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, rgba(204,60,65,.1), transparent 60%); pointer-events: none; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.page-hero-media { position: relative; border-radius: var(--r-xl); aspect-ratio: 5 / 4.2; box-shadow: var(--shadow-lg); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-xl); }
.page-hero-media .float-chip { left: -24px; bottom: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Feature cards (fleet) ---------- */
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-card { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.feature-card.tone-ink { background: var(--ink); border-color: var(--ink); }
.feature-card h3 { font-size: 1.7rem; }
.feature-card p { color: var(--muted); }
.feature-card.tone-ink p, .feature-card.tone-ink li { color: rgba(255,255,255,.82); }
.feature-card.tone-ink strong { color: #fff; }
.feature-card strong { color: var(--ink); }
.big-no { display: block; font: 800 4.5rem/1 var(--font-head); color: var(--red); letter-spacing: -.05em; margin-bottom: 16px; }

.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.icon-item { display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: var(--r-lg); background: var(--paper); }
.icon-item h3 { font-size: 1.05rem; margin: 0 0 6px; }
.icon-item p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Service tiles (private) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-tile { padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.service-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-tile h3 { margin-top: 20px; }
.service-tile p { color: var(--muted); margin: 0; font-size: .96rem; }
.free-card { margin-top: 28px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--paper); border: 1px dashed var(--red); }
.free-card h3 { margin: 14px 0 8px; }
.free-card p { margin: 0; }

/* ---------- Evaluation ---------- */
.kpi-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kpi { padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.kpi:nth-child(1) { background: var(--ink); border-color: var(--ink); }
.kpi:nth-child(1) .kpi-v { color: #fff; }
.kpi:nth-child(1) .kpi-l { color: rgba(255,255,255,.72); }
.kpi:nth-child(4) { background: var(--red-soft); border-color: transparent; }
.kpi-v { font: 800 clamp(1.6rem, 2.8vw, 2.3rem)/1 var(--font-head); color: var(--ink); letter-spacing: -.03em; }
.kpi-l { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.report-card { display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--r-lg); background: var(--paper); }
.report-card h3 { margin-top: 20px; }
.report-card p { color: var(--muted); font-size: .97rem; }
.report-card .for { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink); font-weight: 500; }

/* ---------- Mobile interventions ---------- */
.check-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.check-tile { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); line-height: 1.35; color: var(--muted); font-size: .94rem; }
.check-tile strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1rem; }
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--r-xl); background: var(--paper); }
.package h3 { margin-top: 20px; font-size: 1.35rem; }
.package p { color: var(--muted); }
.package.featured { background: var(--ink); color: #fff; transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.package.featured h3 { color: #fff; }
.package.featured p { color: rgba(255,255,255,.78); }
.package.featured .icon-badge { background: var(--red); color: #fff; }
.package.featured .link-arrow { color: #fff; }
.package .chip { position: absolute; top: 30px; right: 26px; }

/* ---------- About ---------- */
.pillars { display: grid; gap: 18px; }
.pillar { display: flex; flex-direction: column; padding: 34px 32px; border-radius: var(--r-xl); }
.pillar h3 { margin-top: 20px; font-size: 1.4rem; }
.pillar .link-arrow { margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-hero { padding-bottom: 24px; }
.contact-hero .lead { margin-bottom: 0; }
.contact-section { padding-top: 24px; }
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; }
.contact-form-card { background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.contact-form-card h2 { font-size: 1.6rem; }
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.info-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.info-card small { display: block; color: var(--muted); font-size: .82rem; margin-bottom: 2px; }
.info-card strong { font-family: var(--font-head); color: var(--ink); font-size: 1.02rem; line-height: 1.35; overflow-wrap: anywhere; }
.info-card.tone-red { background: var(--red); border-color: var(--red); }
.info-card.tone-red small { color: rgba(255,255,255,.8); }
.info-card.tone-red strong { color: #fff; font-size: 1.3rem; }
.contact-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

.form { display: grid; gap: 18px; margin-top: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font: 600 .9rem/1.3 var(--font-head); color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, background-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 4px rgba(8,0,60,.08); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); background: #fff7f7; }
.field-err { color: var(--red-d); font-size: .88rem; margin: 6px 0 0; font-weight: 500; }
.check-field label { display: flex; gap: 12px; align-items: flex-start; font: 400 .93rem/1.5 var(--font-body); color: var(--muted); cursor: pointer; }
.check-field input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--red); flex: none; }
.check-field a { color: var(--red-d); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); margin-bottom: 24px; line-height: 1.5; }
.alert .ico { width: 24px; height: 24px; flex: none; }
.alert-ok { background: #eaf8f1; color: #0d5c3a; }
.alert-err { background: var(--red-soft); color: var(--red-d); }
.alert a { font-weight: 600; }

/* ---------- Legal / prose ---------- */
.legal-hero { padding-bottom: 8px; }
.prose-section { padding-top: 24px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; margin-bottom: 1em; }
.prose a { color: var(--red-d); }
.prose code { background: var(--paper-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-items: center; }
.big-404 { font: 800 clamp(6rem, 18vw, 11rem)/1 var(--font-head); letter-spacing: -.06em; margin: 0; background: linear-gradient(135deg, var(--ink), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .lead { margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 80px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { height: 60px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 42ch; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; align-content: start; }
.footer-contact a { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .ico { color: var(--red); margin-top: 3px; }
.footer-contact small { opacity: .7; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-ink); font-size: .86rem; }
.footer-bottom p { margin: 0; }

.call-fab { display: none; }

/* ---------- Reveal on scroll (enabled only by JS, never hides above-fold content) ---------- */
.reveal.pre { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 9px; font-size: .88rem; }
  .values-grid, .service-grid, .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 44px; }
  .nav-toggle { display: grid; }
  .header-cta { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 28px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 15px 16px; font-size: 1.05rem; border-radius: 14px; }
  .nav-phone { display: flex !important; align-items: center; justify-content: center; gap: 10px; background: var(--red); color: #fff !important; }
  body.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open .nav-toggle .ico-open { display: none; }
  body.nav-open .nav-toggle .ico-close { display: block; }

  .hero-grid, .page-hero-grid, .split-grid, .timeline-grid, .faq-grid, .contact-grid, .feature-pair { grid-template-columns: 1fr; }
  .hero-media { padding: 0; max-width: 560px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .chip-a { left: 12px; top: 12px; }
  .chip-b { left: 12px; bottom: 12px; }
  .chip-c { right: auto; left: 12px; top: auto; bottom: 12px; }
  .chip-b { display: none; }
  .page-hero-media { aspect-ratio: 16 / 10; }
  .page-hero-media .float-chip { left: 12px; bottom: 12px; }
  .split-grid .split-media { order: -1; }
  .timeline-head, .faq-head { position: static; }
  .section-head.split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-lg { grid-column: span 2; grid-row: auto; min-height: 460px; }
  .tone-soft { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .report-grid, .check-grid, .package-grid { grid-template-columns: 1fr 1fr; }
  .package.featured { transform: none; }
  .cta-card { grid-template-columns: 1fr; }
  .call-fab {
    display: grid; place-items: center; position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
    background: var(--red); color: #fff; box-shadow: 0 12px 28px -8px rgba(204,60,65,.8);
  }
  .call-fab .ico { width: 26px; height: 26px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-cta .btn { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; }
  .bento-lg, .tone-soft { grid-column: auto; }
  .bento-card, .bento-lg { padding: 28px 24px; }
  .bento-lg { min-height: 480px; }
  .tone-soft { display: flex; }
  .values-grid, .service-grid, .icon-grid, .report-grid, .check-grid, .package-grid, .kpi-stack, .form-row { grid-template-columns: 1fr; }
  .stats-grid { gap: 28px 12px; }
  .stat { padding-left: 14px; }
  .slider-controls { flex-direction: column; align-items: flex-start; }
  .timeline-rail { left: 21px; }
  .timeline-step { grid-template-columns: 44px 1fr; gap: 14px; }
  .timeline-dot { width: 44px; height: 44px; font-size: .9rem; }
  .timeline-card { padding: 20px; }
  .faq-item summary { padding: 18px; }
  .faq-answer { padding: 0 18px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-top: 56px; padding-bottom: 96px; }
  .float-chip { padding: 9px 14px 9px 9px; font-size: .78rem; }
  .float-chip .ico { width: 34px; height: 34px; padding: 7px; }
  .float-chip strong { font-size: .98rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
  .reveal.pre { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .call-fab, .cta-section, .marquee { display: none; }
  body { background: #fff; }
}
.about-split { padding-top: 0; }
