/* SalesTrack — design system
   Layout concept: navy "signal" hero carrying a live-transfer pipeline, then calm paper sections
   with one green call-to-action colour taken from the logo. Single deliberate light look with navy bands. */
:root {
  --ink: #0e2559;
  --ink-2: #143071;
  --ink-3: #1c3d8a;
  --paper: #f5f7fb;
  --surface: #ffffff;
  --line: #dde4ef;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #0e2559;
  --muted: #4c5a78;
  --on-ink: #e9eef8;
  --on-ink-muted: #a9b7d0;
  --signal: #1f4fd1;
  --signal-soft: #e8eeff;
  --accent: #27b217;
  --accent-hover: #3dd62a;
  --ok: #14a06a;
  --off: #8592a8;

  --font-display: "League Spartan", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  --step-4: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --step-5: clamp(2.5rem, 1.6rem + 4vw, 4.4rem);

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --max: 1200px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(11, 26, 51, 0.06), 0 12px 32px -12px rgba(11, 26, 51, 0.18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--signal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; text-wrap: balance; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-s);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%; max-width: calc(var(--max) + 48px); margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 600px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.on-ink .eyebrow { color: var(--accent); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.on-ink .lede { color: var(--on-ink-muted); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: var(--step-4); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--accent); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(39, 178, 23, .6); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-ghost { --bg: transparent; --fg: var(--on-ink); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); box-shadow: none; }
.btn-outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn-ink { --bg: var(--ink); --fg: #fff; }
.btn-ink:hover { background: var(--ink-3); box-shadow: 0 10px 24px -10px rgba(11,26,51,.6); }
.text-link { font-weight: 700; color: var(--signal); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(14, 37, 89, 0.94); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line-dark); box-shadow: 0 8px 30px -12px rgba(0,0,0,.45); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .14em; color: var(--on-ink-muted); text-transform: uppercase; line-height: 1; margin-top: 3px; }
.brand-text { line-height: 1; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  color: var(--on-ink); text-decoration: none; font-weight: 600; font-size: .96rem;
  background: none; border: 0; font-family: inherit; cursor: pointer; transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-item.open > .nav-link { background: rgba(255,255,255,.08); color: #fff; }
.nav-link[aria-current="page"] { color: var(--accent); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .25s; }
.nav-item { position: relative; }
.nav-item.open .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 360px; transform: translate(-50%, 8px);
  background: var(--surface); border-radius: var(--radius-m); box-shadow: 0 24px 60px -20px rgba(11,26,51,.45);
  padding: 8px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); transition: background-color .15s; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--paper); }
.dropdown .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--signal-soft); color: var(--signal); display: grid; place-items: center; }
.dropdown .ic svg { width: 20px; height: 20px; }
.dropdown strong { display: block; font-size: .95rem; line-height: 1.3; }
.dropdown span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.nav-cta { margin-left: 12px; min-height: 44px; padding: 0 20px; font-size: .95rem; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-dark); background: transparent; color: #fff; cursor: pointer; place-items: center; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: background-color .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .nav-menu {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--ink); padding: 20px max(16px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    overflow-y: auto; opacity: 0; transform: translateY(-12px); visibility: hidden; transition: opacity .25s ease, transform .3s ease, visibility .3s;
  }
  .nav-menu.open { opacity: 1; transform: none; visibility: visible; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1.15rem; padding: 14px 12px; border-radius: 12px; }
  .dropdown { position: static; width: auto; transform: none; box-shadow: none; background: rgba(255,255,255,.04); display: none; opacity: 1; visibility: visible; margin: 4px 0 8px; }
  .nav-item.open .dropdown { display: block; transform: none; }
  .dropdown a { color: var(--on-ink); }
  .dropdown a:hover { background: rgba(255,255,255,.06); }
  .dropdown span { color: var(--on-ink-muted); }
  .dropdown .ic { background: rgba(255,255,255,.08); color: var(--accent); }
  .nav-cta { margin: 16px 0 0; width: 100%; min-height: 54px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 120px); }
.section.tight { padding-block: clamp(56px, 7vw, 88px); }
.bg-surface { background: var(--surface); }
.on-ink { background: var(--ink); color: var(--on-ink); }
.on-ink h1, .on-ink h2, .on-ink h3 { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 112px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(36,87,245,.45), transparent 65%); filter: blur(10px); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: var(--step-5); font-weight: 700; letter-spacing: -0.035em; margin-block: 20px 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.tagline-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.tagline-chips li { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; color: var(--on-ink-muted); padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; }
.tagline-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero-load > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-load > *:nth-child(2) { animation-delay: .08s; }
.hero-load > *:nth-child(3) { animation-delay: .16s; }
.hero-load > *:nth-child(4) { animation-delay: .24s; }
.hero-load > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Pipeline card (live transfer journey) */
.pipeline {
  position: relative; background: linear-gradient(180deg, var(--ink-2), rgba(20,48,113,.65)); border: 1px solid var(--line-dark);
  border-radius: var(--radius-l); padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  animation: rise 1s .2s cubic-bezier(.2,.7,.2,1) both;
}
.pipeline-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.pipeline-top p { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-muted); }
.live-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: rgba(39,178,23,.1); padding: 6px 12px; border-radius: 999px; }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(39,178,23,.6); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(39,178,23,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(39,178,23,0); } }
.steps { position: relative; display: grid; gap: 12px; }
.steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--line-dark), var(--line-dark)); }
.steps::after {
  content: ""; position: absolute; left: 18px; top: 22px; width: 8px; height: 40px; border-radius: 8px;
  background: linear-gradient(180deg, transparent, var(--accent)); animation: travel 4.2s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes travel { 0% { transform: translateY(-10px); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(var(--travel, 250px)); opacity: 0; } }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 10px 12px 10px 0; }
.step .node { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); border: 1px solid var(--line-dark); color: var(--on-ink); }
.step .node svg { width: 20px; height: 20px; }
.step strong { display: block; color: #fff; font-size: 1rem; line-height: 1.3; }
.step span { display: block; color: var(--on-ink-muted); font-size: .86rem; line-height: 1.4; }
.step.final .node { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.pipeline-foot { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line-dark); font-size: .9rem; color: var(--on-ink-muted); }
.pipeline-foot b { color: #fff; font-weight: 600; }

@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .pipeline { max-width: 560px; } }

/* ---------- Focus strip ---------- */
.focus-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.focus-strip .wrap { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding-block: 28px; }
.focus-strip p { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.focus-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 36px; }
.focus-list li { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); display: inline-flex; align-items: center; gap: 12px; }
.focus-list li svg { width: 22px; height: 22px; color: var(--signal); }
@media (max-width: 860px) { .focus-strip .wrap { grid-template-columns: 1fr; gap: 16px; } .focus-list { justify-content: flex-start; } }

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split h2 { font-size: var(--step-4); margin-top: 16px; }
.prose { display: grid; gap: 20px; color: var(--muted); font-size: var(--step-1); max-width: 62ch; }
.prose strong { color: var(--text); }
.pull { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.25; color: var(--text); font-weight: 600; letter-spacing: -0.02em; padding-left: 20px; border-left: 3px solid var(--accent); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-card {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: clamp(24px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); text-decoration: none; color: var(--text);
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-card .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--signal-soft); color: var(--signal); display: grid; place-items: center; transition: background-color .3s, color .3s; }
.service-card:hover .ic { background: var(--ink); color: var(--accent); }
.service-card .ic svg { width: 26px; height: 26px; }
.service-card h3 { font-size: var(--step-3); }
.service-card p { color: var(--muted); }
.service-card .text-link { margin-top: 6px; }
@media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line-dark); }
.approach li { position: relative; padding: 32px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.approach li::before { counter-increment: s; content: "Step " counter(s); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.approach li::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.approach h3 { font-size: var(--step-2); }
.approach p { color: var(--on-ink-muted); font-size: .97rem; }
@media (max-width: 960px) { .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .approach { grid-template-columns: 1fr; } }

/* ---------- Why choose ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.why-item { background: var(--surface); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; align-content: start; transition: background-color .25s; }
.why-item:hover { background: var(--paper); }
.why-item .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.why-item .ic svg { width: 22px; height: 22px; }
.why-item h3 { font-size: var(--step-2); font-weight: 600; }
@media (max-width: 860px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Mission band ---------- */
.mission { position: relative; overflow: hidden; }
.mission blockquote { margin: 0; max-width: 980px; }
.mission blockquote p { font-family: var(--font-display); font-size: var(--step-4); font-weight: 600; line-height: 1.18; letter-spacing: -0.025em; color: #fff; }
.mission blockquote p mark { background: none; color: var(--accent); }
.mission .eyebrow { margin-bottom: 24px; }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.audience article { padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.audience article:nth-child(2) { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.audience article:nth-child(2) h3 { color: #fff; }
.audience article:nth-child(2) p { color: var(--on-ink-muted); }
.audience .tag { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.audience article:nth-child(2) .tag { color: var(--accent); }
.audience h3 { font-size: var(--step-3); }
.audience p { color: var(--muted); }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(56px, 8vw, 96px); }
.cta-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-l); background: var(--ink); color: var(--on-ink);
}
.cta-card::before { content: ""; position: absolute; width: 480px; height: 480px; right: -120px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(39,178,23,.35), transparent 65%); pointer-events: none; }
.cta-card > * { position: relative; }
.cta-card h2 { font-size: var(--step-4); color: #fff; margin-block: 14px 14px; }
.cta-card p { color: var(--on-ink-muted); max-width: 56ch; font-size: var(--step-1); }
.cta-card .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px) clamp(48px, 7vw, 80px); }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(36,87,245,.4), transparent 65%); pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; gap: 20px; }
.page-hero h1 { font-size: var(--step-5); max-width: 18ch; letter-spacing: -0.035em; }
.crumbs { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; color: var(--on-ink-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--on-ink-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Services page ---------- */
.svc-tabs { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.svc-tabs ul { display: flex; gap: 6px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.svc-tabs ul::-webkit-scrollbar { display: none; }
.svc-tabs a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--muted); text-decoration: none; transition: background-color .2s, color .2s; }
.svc-tabs a:hover { color: var(--text); background: var(--paper); }
.svc-tabs a.active { background: var(--ink); color: #fff; }
.svc-tabs a svg { width: 16px; height: 16px; }

.svc { padding-block: clamp(64px, 9vw, 112px); scroll-margin-top: calc(var(--header-h) + 64px); border-bottom: 1px solid var(--line); }
.svc:nth-of-type(even) { background: var(--surface); }
.svc-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 96px); display: grid; gap: 18px; }
.svc-index { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.svc-aside .ic { width: 64px; height: 64px; border-radius: 16px; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.svc-aside .ic svg { width: 30px; height: 30px; }
.svc-aside h2 { font-size: var(--step-4); }
.svc-aside .summary { font-size: var(--step-1); color: var(--muted); }
.svc-body { display: grid; gap: 22px; color: var(--muted); font-size: var(--step-1); }
.svc-body h3 { font-size: var(--step-2); color: var(--text); font-weight: 600; }
.goal { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 22px 24px; background: var(--signal-soft); border-radius: var(--radius-m); color: var(--text); }
.goal .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--signal); color: #fff; display: grid; place-items: center; }
.goal .ic svg { width: 20px; height: 20px; }
.goal small { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.goal p { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .93rem; display: inline-flex; gap: 8px; align-items: center; }
.chips li svg { width: 16px; height: 16px; color: var(--ok); }
.svc:nth-of-type(odd) .chips li { background: var(--surface); }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.flow li { position: relative; padding: 16px; border-radius: var(--radius-m); background: var(--paper); border: 1px solid var(--line); font-size: .92rem; color: var(--text); font-weight: 600; line-height: 1.35; display: grid; gap: 6px; }
.svc:nth-of-type(odd) .flow li { background: var(--surface); }
.flow li span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; color: var(--signal); font-weight: 500; text-transform: uppercase; }
.flow li:last-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.flow li:last-child span { color: var(--accent); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr; } .svc-aside { position: static; } }
@media (max-width: 640px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- About page ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-l); border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); display: grid; gap: 14px; transition: background-color .25s, border-color .25s, transform .25s; }
.pillar:hover { background: rgba(255,255,255,.06); border-color: rgba(39,178,23,.5); transform: translateY(-3px); }
.pillar .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.pillar .ic svg { width: 22px; height: 22px; }
.pillar h3 { font-size: var(--step-3); }
.pillar p { color: var(--on-ink-muted); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.form-card h2 { font-size: var(--step-3); margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: .92rem; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5d76' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9c5d9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); background: var(--surface); box-shadow: 0 0 0 4px rgba(36,87,245,.14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d6334a; background: #fff6f7; }
.field .err { color: #b4233a; font-size: .85rem; font-weight: 600; min-height: 0; display: none; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--signal); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-actions small { color: var(--muted); }
.form-status { display: none; margin-top: 20px; padding: 18px 20px; border-radius: var(--radius-m); background: #e9f8f1; color: #0b5c3d; font-weight: 600; }
.form-status.show { display: block; }
.form-status p + p { margin-top: 6px; font-weight: 500; }

.info-stack { display: grid; gap: 20px; }
.info-card { border-radius: var(--radius-l); padding: clamp(24px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; }
.info-card.dark { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.info-card h3 { font-size: var(--step-2); }
.info-card.dark h3 { color: #fff; }
.info-card .label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info-card.dark .label { color: var(--on-ink-muted); }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.email-row a { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; color: var(--text); text-decoration: none; word-break: break-all; }
.email-row a:hover { color: var(--signal); }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .85rem; font-weight: 700; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--text); cursor: pointer; transition: background-color .2s, border-color .2s; }
.copy-btn:hover { border-color: var(--signal); }
.copy-btn svg { width: 15px; height: 15px; }

.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); width: fit-content; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--off); }
.status.open i { background: #2fd38f; box-shadow: 0 0 0 0 rgba(47,211,143,.6); animation: ping-g 1.8s infinite; }
@keyframes ping-g { 0% { box-shadow: 0 0 0 0 rgba(47,211,143,.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(47,211,143,0); } }
.clock { font-family: var(--font-mono); font-size: var(--step-3); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; }
.clock small { font-size: .8rem; color: var(--on-ink-muted); letter-spacing: .1em; margin-left: 6px; }
.week { display: grid; gap: 2px; margin-top: 4px; }
.week li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-size: .94rem; font-variant-numeric: tabular-nums; }
.week li:last-child { border-bottom: 0; }
.week li.today { color: var(--accent); font-weight: 700; }
.week li .closed { color: var(--on-ink-muted); }
.local-time { font-size: .9rem; color: var(--on-ink-muted); padding-top: 4px; }
.local-time b { color: #fff; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-block: clamp(56px, 7vw, 88px) calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid h2 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 500; margin-bottom: 18px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a { color: var(--on-ink-muted); text-decoration: none; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand p { margin-top: 18px; max-width: 38ch; }
.footer-tag { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: var(--step-2); margin-top: 20px; }
.footer-tag span { color: var(--accent); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: max(20px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 12px)); z-index: 45; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Scroll reveal (only below-the-fold items are hidden, by JS) ---------- */
.reveal.pending { opacity: 0; transform: translateY(24px); }
.reveal { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--font-mono); color: var(--accent); letter-spacing: .2em; }
.notfound h1 { font-size: var(--step-5); margin: 12px 0 16px; }
.notfound .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

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

/* Brand logo image */
.brand img { height: 44px; width: auto; }
.footer-brand .brand img { height: 52px; }
@media (max-width: 420px) { .brand img { height: 36px; } }
h1, h2, h3, h4 { letter-spacing: -0.015em; }
.hero h1, .page-hero h1 { letter-spacing: -0.025em; line-height: 1.04; }
.field .consent input { -webkit-appearance: auto; appearance: auto; width: 20px; height: 20px; padding: 0; background: none; border: 0; box-shadow: none; }

/* ---------- Photos & illustrations ---------- */
.media { margin: 0; border-radius: var(--radius-l); overflow: hidden; background: var(--line); box-shadow: var(--shadow); max-width: 100%; }
.media picture, .media img { display: block; width: 100%; height: auto; }
.media img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.media:hover img { transform: scale(1.03); }
.intro-media { margin-top: clamp(28px, 4vw, 40px); aspect-ratio: 668 / 381; }
.intro-media img { height: 100%; object-fit: cover; }
.media-illustration { background: #eef1f8; box-shadow: none; border: 1px solid var(--line); }
.media-illustration:hover img { transform: none; }
.media-dark { box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); border: 1px solid var(--line-dark); background: var(--ink-2); }
.head-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(32px, 5vw, 56px); }
.head-split .section-head { margin-bottom: 0; }
.svc-body .media { margin-block: 4px; }
@media (max-width: 860px) { .head-split { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .media:hover img { transform: none; } }
