/* =============================================================================
   Prime Assets — site styles
   Colours and type live in :root. Change a token here, it changes everywhere.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Brand */
  --navy-950: #070E22;
  --navy-900: #0B1430;
  --navy-800: #13204A;
  --navy-700: #1C2D63;
  --primary: #1F4FD6;
  --primary-700: #173DAA;
  --primary-50: #EEF3FE;
  --primary-100: #DCE6FD;
  --gold: #F2B544;
  --gold-600: #E3A12A;
  --mint: #34D3B0;

  /* Neutrals */
  --ink: #0F172A;
  --text: #334155;
  --muted: #5B6B82;
  --line: #E2E8F0;
  --line-2: #CBD5E1;
  --bg: #FFFFFF;
  --tint: #F5F8FC;

  /* Status */
  --ok: #0A7A55;      --ok-bg: #DDF5EA;
  --info: #1F4FD6;    --info-bg: #E3EBFD;
  --warn: #9A5B00;    --warn-bg: #FDF0D5;
  --bad: #B42318;     --bad-bg: #FDE4E1;
  --wait: #475569;    --wait-bg: #EBEFF5;

  /* Service tones */
  --blue: #1F4FD6;   --blue-bg: #E8EEFD;
  --teal: #0B7F6D;   --teal-bg: #DFF4EF;
  --amber: #A35F00;  --amber-bg: #FDF0D9;
  --violet: #5A3FC0; --violet-bg: #EEEAFB;

  /* Type */
  --font-head: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .06), 0 12px 32px rgba(15, 23, 42, .08);
  --shadow-lg: 0 10px 24px rgba(7, 14, 34, .10), 0 30px 60px rgba(7, 14, 34, .16);

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::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(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; letter-spacing: -0.02em; margin: 0; font-weight: 600; }
p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.lead, .hero-lead, .faq-body p { text-wrap: pretty; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-700); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid #7AA2FF; outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
.i { flex: 0 0 auto; display: inline-block; vertical-align: middle; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); box-shadow: var(--shadow-md); font-weight: 600; }
.skip-link:focus { top: 12px; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 11px 22px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  touch-action: manipulation;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .i { transition: transform .18s var(--ease); }
.btn:hover .i-arrow-right { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 14.5px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--primary); box-shadow: 0 6px 16px rgba(31, 79, 214, .24); }
.btn-primary:hover { --btn-bg: var(--primary-700); --btn-bd: var(--primary-700); }
.btn-gold { --btn-bg: var(--gold); --btn-fg: var(--navy-900); --btn-bd: var(--gold); box-shadow: 0 8px 22px rgba(242, 181, 68, .28); }
.btn-gold:hover { --btn-bg: var(--gold-600); --btn-bd: var(--gold-600); }
.btn-ghost { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn-ghost:hover { --btn-bd: var(--ink); }
.btn-outline-light { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .38); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-bd: #fff; }
.btn[disabled], .btn.is-loading { opacity: .7; cursor: progress; transform: none; }
.btn.is-loading .i { display: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--primary); text-decoration: none; }
.link-arrow:hover { color: var(--primary-700); }
.link-arrow .i { transition: transform .18s var(--ease); }
.link-arrow:hover .i, a:hover > .link-arrow .i { transform: translateX(3px); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--tint); }

/* ---------- Text bits ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow-light { color: var(--mint); }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin-top: 16px; }
.lead-light { color: #C3CEE6; }

.section { padding-block: clamp(64px, 8vw, 104px); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy-900); color: #C3CEE6; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 0%, rgba(52, 211, 176, .10), transparent 70%), radial-gradient(700px 400px at 0% 100%, rgba(31, 79, 214, .25), transparent 70%); pointer-events: none; }
.section-dark > .wrap { position: relative; }
.section-dark .eyebrow { color: var(--mint); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 700; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.split-head .section-head { margin-bottom: 0; }
.split-head .lead { margin-top: 0; }
.center-cta { text-align: center; margin-top: 48px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #A9B6CF; font-size: 14px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-note { display: inline-flex; align-items: center; gap: 8px; }
.topbar-note .i { color: var(--mint); }
.topbar-links { display: flex; gap: 24px; list-style: none; }
.topbar-links a { display: inline-flex; align-items: center; gap: 8px; color: #DCE4F5; text-decoration: none; padding-block: 8px; }
.topbar-links a:hover { color: #fff; }
.topbar-links .i { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: box-shadow .2s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, .08); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand-word { font-family: var(--font-head); font-size: 21px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.brand-word b { font-weight: 700; color: var(--primary); margin-left: 1px; }
.brand-light .brand-word { color: #fff; }
.brand-light .brand-word b { color: var(--gold); }

.nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--r-sm); font-family: var(--font-head); font-weight: 500; font-size: 15.5px; color: var(--ink); text-decoration: none; position: relative; }
.nav-link:hover { color: var(--primary); background: var(--primary-50); }
.nav-link.is-current { color: var(--primary); }
.nav-link.is-current::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .header-cta { margin-left: 0; }

/* Mega menu */
.has-mega { position: relative; display: flex; align-items: center; }
.has-mega .nav-link { padding-right: 4px; }
.mega-toggle { display: inline-grid; place-items: center; width: 30px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 8px; }
.mega-toggle:hover { color: var(--primary); }
.mega-toggle .i { transition: transform .2s var(--ease); }
.has-mega.is-open .mega-toggle .i { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 14px); left: -24px; width: min(760px, calc(100vw - 48px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 14px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .has-mega:hover .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .has-mega:hover .mega-toggle .i { transform: rotate(180deg); }
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; gap: 14px; padding: 14px; border-radius: var(--r-md); text-decoration: none; color: var(--text); transition: background-color .15s; }
.mega-item:hover { background: var(--tint); color: var(--text); }
.mega-item strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--ink); margin-bottom: 2px; }
.mega-item small { display: block; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.mega-ico { flex: 0 0 auto; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tone-bg, var(--blue-bg)); color: var(--tone, var(--blue)); }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; padding: 14px; border-radius: var(--r-md); background: var(--tint); font-size: 14.5px; color: var(--muted); }

.menu-btn { display: none; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); cursor: pointer; }

/* Tones */
.tone-blue   { --tone: var(--blue);   --tone-bg: var(--blue-bg); }
.tone-teal   { --tone: var(--teal);   --tone-bg: var(--teal-bg); }
.tone-amber  { --tone: var(--amber);  --tone-bg: var(--amber-bg); }
.tone-violet { --tone: var(--violet); --tone-bg: var(--violet-bg); }

/* Drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(7, 14, 34, .55); opacity: 0; transition: opacity .22s var(--ease); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 90vw); background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px 28px; transform: translateX(100%); transition: transform .26s var(--ease); display: flex; flex-direction: column; gap: 8px; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.drawer-label { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 12px 0 6px; }
.drawer-services, .drawer-links { list-style: none; }
.drawer-services a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: var(--r-sm); font-family: var(--font-head); font-weight: 500; color: var(--ink); text-decoration: none; }
.drawer-services .mega-ico { width: 38px; height: 38px; }
.drawer-links a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 8px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 500; color: var(--ink); text-decoration: none; }
.drawer-links a[aria-current] { color: var(--primary); }
.drawer-links .i { color: var(--muted); }
.drawer-cta { display: grid; gap: 10px; margin-top: 20px; }
.drawer-contact { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); text-decoration: none; font-weight: 600; }
.drawer-contact .i { color: var(--primary); }
body.no-scroll { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero, .page-hero { position: relative; background: var(--navy-900); color: #C3CEE6; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(720px 420px at 88% 8%, rgba(52, 211, 176, .16), transparent 65%),
    radial-gradient(820px 520px at 8% 100%, rgba(31, 79, 214, .45), transparent 65%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.hero-bg::after { content: ""; position: absolute; inset: 0;
  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;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(140px, 14vw, 176px); }
.hero h1 { color: #fff; font-size: clamp(2.35rem, 1.3rem + 3.6vw, 3.9rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--gold); }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; margin-bottom: 22px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 14.5px; font-weight: 600; color: #E2E9F7; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(52, 211, 176, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 176, .55); } 70% { box-shadow: 0 0 0 10px rgba(52, 211, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 176, 0); } }
.hero-lead { margin-top: 22px; font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); line-height: 1.6; max-width: 600px; color: #C3CEE6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; list-style: none; font-size: 15.5px; color: #DCE4F5; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-ticks .i { color: var(--mint); }

.hero-visual { position: relative; padding: 52px 0 36px 24px; }
.match-card { position: relative; background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px; max-width: 470px; margin-left: auto; }
.match-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.match-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--primary); }
.match-req { margin-top: 12px; font-family: var(--font-head); font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--ink); }
.match-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.match-meta span { display: inline-flex; align-items: center; gap: 6px; }
.match-flow { display: flex; justify-content: center; gap: 6px; margin: 16px 0 12px; }
.match-flow span { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-100); animation: flow 1.6s infinite; }
.match-flow span:nth-child(2) { animation-delay: .2s; }
.match-flow span:nth-child(3) { animation-delay: .4s; }
@keyframes flow { 0%, 100% { background: var(--primary-100); transform: none; } 40% { background: var(--primary); transform: translateY(2px); } }
.match-label { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.match-list { list-style: none; display: grid; gap: 8px; }
.match-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); }
.match-list li > div { flex: 1; min-width: 0; }
.match-list strong { display: block; font-size: 15.5px; color: var(--ink); line-height: 1.3; }
.match-list small { font-size: 14px; color: var(--muted); }
.avatar { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: #fff; }
.avatar.a1 { background: var(--primary); } .avatar.a2 { background: var(--teal); } .avatar.a3 { background: var(--violet); }
.match-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: 14.5px; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); font-size: 13.5px; line-height: 1.3; color: var(--muted); animation: float 6s ease-in-out infinite; }
.float-chip b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); }
.float-chip .i { color: var(--tone, var(--primary)); }
.chip-a { left: 0; top: 0; --tone: var(--amber); }
.chip-b { right: -16px; bottom: -4px; --tone: var(--teal); animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Quick enquiry ---------- */
.quick { position: relative; z-index: 2; margin-top: clamp(-112px, -10vw, -88px); }
.quick-card { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: center; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 26px 28px; border: 1px solid var(--line); }
.quick-intro h2 { font-size: 21px; font-weight: 700; }
.quick-intro p { margin-top: 6px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: start; }
.quick-grid .field-submit { padding-top: 29px; }
.form-quick .field label { font-size: 14px; }

/* ---------- Intro ---------- */
.intro-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.intro-copy h2 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 700; }
.intro-copy p + p { margin-top: 14px; }
.intro-copy .link-arrow { margin-top: 22px; }
.pillars { list-style: none; display: grid; gap: 16px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.pillar h3 { font-size: 19px; margin-bottom: 4px; }
.pillar p { font-size: 16px; color: var(--muted); }
.ico-chip { flex: 0 0 auto; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-md); background: var(--tone-bg, var(--blue-bg)); color: var(--tone, var(--blue)); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.svc-card::before { content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--tone); opacity: 0; transition: opacity .22s var(--ease); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { opacity: 1; }
.svc-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.svc-num { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--line-2); }
.svc-card h3 { font-size: 21px; }
.svc-card h3 a { color: inherit; text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-card > p { font-size: 16px; color: var(--muted); }
.svc-points { list-style: none; display: grid; gap: 8px; margin: 6px 0 10px; font-size: 15px; color: var(--text); }
.svc-points li { display: flex; gap: 8px; align-items: flex-start; }
.svc-points .i { margin-top: 4px; color: var(--tone); }
.svc-card .link-arrow { margin-top: auto; color: var(--tone); }

.cap-block { margin-top: 64px; }
.cap-title { text-align: center; font-size: 20px; margin-bottom: 24px; }
.cap-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cap-grid a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; line-height: 1.3; transition: border-color .18s, box-shadow .18s, transform .18s; }
.cap-grid a:hover { border-color: var(--tone); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--ink); }
.cap-ico { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--tone-bg); color: var(--tone); }
.cap-cta { text-align: center; margin-top: 36px; }

/* ---------- Trust loop ---------- */
.loop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.loop-figure svg { display: block; width: 100%; max-width: 440px; height: auto; margin-inline: auto; overflow: visible; }
.loop-seg { cursor: pointer; }
.loop-seg path { fill: var(--primary-50); stroke: #fff; stroke-width: 0; transition: fill .25s var(--ease), transform .25s var(--ease); transform-origin: 180px 180px; }
.loop-seg text { font-family: var(--font-head); font-weight: 600; font-size: 18px; fill: var(--primary-700); pointer-events: none; transition: fill .25s var(--ease); }
.loop-seg:hover path { fill: var(--primary-100); }
.loop-seg.is-active path { fill: var(--primary); transform: scale(1.035); }
.loop-seg.is-active text { fill: #fff; }
.loop-core { fill: var(--navy-900); }
.loop-core-t1 { font-family: var(--font-head); font-weight: 700; font-size: 20px; fill: #fff; }
.loop-core-t2 { font-family: var(--font-head); font-weight: 500; font-size: 15px; fill: var(--mint); letter-spacing: .08em; text-transform: uppercase; }
.loop.is-dark .loop-seg path { fill: rgba(255, 255, 255, .07); }
.loop.is-dark .loop-seg text { fill: #AFC0E0; }
.loop.is-dark .loop-seg:hover path { fill: rgba(255, 255, 255, .14); }
.loop.is-dark .loop-seg.is-active path { fill: #2D5BE3; }
.loop.is-dark .loop-seg.is-active text { fill: #fff; }
.loop.is-dark .loop-core { fill: var(--navy-800); stroke: rgba(255, 255, 255, .1); stroke-width: 1; }

.loop-steps { list-style: none; display: grid; gap: 8px; counter-reset: none; }
.loop-step button { display: flex; gap: 16px; width: 100%; text-align: left; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid transparent; background: transparent; color: inherit; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.loop-step-num { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--font-head); font-weight: 600; font-size: 15px; background: var(--primary-50); color: var(--primary-700); transition: background-color .2s, color .2s; }
.loop-step-copy strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 2px; }
.loop-step-copy span { display: block; font-size: 16px; line-height: 1.55; color: var(--muted); }
.loop-step button:hover { background: var(--tint); }
.loop-step.is-active button { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.loop-step.is-active .loop-step-num { background: var(--primary); color: #fff; }
.loop.is-dark .loop-step-num { background: rgba(255, 255, 255, .08); color: #DCE4F5; }
.loop.is-dark .loop-step-copy strong { color: #fff; }
.loop.is-dark .loop-step-copy span { color: #B3C1DC; }
.loop.is-dark .loop-step button:hover { background: rgba(255, 255, 255, .04); }
.loop.is-dark .loop-step.is-active button { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.loop.is-dark .loop-step.is-active .loop-step-num { background: var(--gold); color: var(--navy-900); }

/* ---------- Commitments ---------- */
.commit { background: var(--primary-50); border-block: 1px solid var(--primary-100); }
.commit-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.commit-grid li { padding: 36px 24px; text-align: center; }
.commit-grid li + li { border-left: 1px solid var(--primary-100); }
.commit-grid strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.1rem, 1.6rem + 1.6vw, 2.9rem); line-height: 1.1; color: var(--primary); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.commit-grid span { display: block; margin-top: 8px; font-size: 15.5px; color: var(--text); max-width: 240px; margin-inline: auto; line-height: 1.5; }

/* ---------- Industries ---------- */
.ind-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ind-grid li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 150px; padding: 24px 16px; text-align: center; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; font-family: var(--font-head); font-weight: 500; font-size: 16px; color: var(--ink); line-height: 1.35; transition: border-color .2s, transform .2s, box-shadow .2s; }
.ind-grid li:hover { border-color: var(--primary-100); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.ind-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary-50); color: var(--primary); }

/* ---------- Scenarios ---------- */
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sc-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); border-top: 4px solid var(--tone); box-shadow: var(--shadow-sm); }
.sc-tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--tone-bg); color: var(--tone); font-family: var(--font-head); font-weight: 600; font-size: 13px; }
.sc-card h3 { font-size: 19.5px; }
.sc-card p { font-size: 16px; color: var(--muted); }
.sc-card .link-arrow { margin-top: auto; padding-top: 8px; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.why-card { padding: 28px; border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--line); transition: background-color .2s, box-shadow .2s, transform .2s; }
.why-card:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-ico { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: var(--r-md); background: var(--navy-900); color: var(--gold); margin-bottom: 18px; }
.why-card h3 { font-size: 19px; margin-bottom: 8px; }
.why-card p { font-size: 16px; color: var(--muted); }
.why-card-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; background: var(--navy-900); border-color: var(--navy-900); color: #C3CEE6; }
.why-card-cta:hover { background: var(--navy-800); transform: none; }
.why-card-cta h3 { color: #fff; font-size: 22px; margin: 0; }
.why-card-cta p { color: #C3CEE6; flex: 1 1 320px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside .section-head { margin-bottom: 24px; }
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow .2s, border-color .2s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 16px 20px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-sign { position: relative; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-50); }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--primary); transform: translate(-50%, -50%); transition: transform .2s var(--ease); }
.faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: translate(-50%, -50%) rotate(0); }
.faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 16.5px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-rows { list-style: none; display: grid; gap: 18px; }
.contact-rows li { display: flex; gap: 14px; align-items: flex-start; }
.contact-rows small { display: block; font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-rows a { font-weight: 600; text-decoration: none; }
.contact-rows a:hover { text-decoration: underline; }
.contact-ico { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-50); color: var(--primary); }
.contact-ico-wa { background: #DDF5E7; color: #0E7A3E; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: clamp(22px, 3.5vw, 36px); }
.form-card-title { font-size: 22px; margin-bottom: 6px; }
.form-card-sub { color: var(--muted); margin-bottom: 22px; font-size: 16px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.span-2 { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; color: var(--ink); }
.req { color: var(--bad); }
.opt { font-weight: 400; color: var(--muted); font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%235B6B82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; cursor: pointer; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8391A7; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #94A3B8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(31, 79, 214, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.field-help { margin-top: 6px; font-size: 14px; color: var(--muted); }
.field-error { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--bad); }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; flex: 0 0 auto; }
.field-error[hidden] { display: none; }
.field .check { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-weight: 400; font-size: 15.5px; line-height: 1.5; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; padding: 0; flex: 0 0 auto; accent-color: var(--primary); cursor: pointer; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.form-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; font-size: 15.5px; }
.form-status.is-err { background: var(--bad-bg); color: var(--bad); }
.form-success { text-align: center; padding: 24px 8px; }
.form-success .ok-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); margin-bottom: 16px; }
.form-success h3 { font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--muted); max-width: 440px; margin-inline: auto; }
.form-success .btn { margin-top: 20px; }
.quick-card .form-success { display: flex; align-items: center; gap: 16px; text-align: left; padding: 4px; }
.quick-card .form-success .ok-ico { margin: 0; width: 52px; height: 52px; flex: 0 0 auto; }
.quick-card .form-success p { margin: 0; }
.quick-card .form-success .btn { display: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero-in { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 88px); }
.page-hero.has-aside .page-hero-in { grid-template-columns: 1.05fr .95fr; }
.page-hero h1 { color: #fff; font-size: clamp(2.05rem, 1.3rem + 2.8vw, 3.3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; max-width: 820px; }
.page-hero .hero-lead { max-width: 680px; }
.page-hero-aside { display: flex; justify-content: flex-end; }
.page-hero-aside .mock { width: 100%; max-width: 460px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 22px; font-size: 14.5px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: #9FB0D0; }
.crumbs li + li::before { content: "/"; color: #5C6F96; }
.crumbs a { color: #DCE4F5; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #9FB0D0; }

/* ---------- Mock panels ---------- */
.mock { background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px; font-size: 15px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock-head > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.mock-head .i { color: var(--primary); }
.mock-tag { padding: 3px 9px; border-radius: 999px; background: var(--wait-bg); color: var(--wait); font-family: var(--font-head); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mock-tag-dark { background: var(--navy-900); color: #fff; }
.mock-dl { display: grid; gap: 10px; margin: 0; }
.mock-dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.mock-dl dt { color: var(--muted); }
.mock-dl dd { margin: 0; font-weight: 600; color: var(--ink); }
.mock-meter { margin-top: 16px; padding: 14px; border-radius: var(--r-md); background: var(--tint); }
.mock-meter-top { display: flex; justify-content: space-between; margin-bottom: 8px; }
.mock-meter-top strong { font-family: var(--font-head); color: var(--primary); }
.meter { height: 8px; border-radius: 99px; background: var(--primary-100); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--mint)); }
.mock-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mock-foot-split { justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.mock-foot-split b { color: var(--ink); font-weight: 700; }
.mock-list { list-style: none; display: grid; gap: 8px; }
.mock-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.mock-list strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.mock-list small { color: var(--muted); font-size: 13.5px; }
.mock-list-tight li { padding: 8px 12px; }
.mock-findings li { justify-content: flex-start; }
.mock-score { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.mock-score strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.mock-score small { display: block; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.score-ring { --p: 50; flex: 0 0 auto; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--line) 0); }
.score-ring span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; line-height: 1.3; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-info { background: var(--info-bg); color: var(--info); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }
.pill-wait { background: var(--wait-bg); color: var(--wait); }
.sev { flex: 0 0 74px; text-align: center; padding: 3px 0; border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sev-c { background: #B42318; color: #fff; }
.sev-h { background: #C2410C; color: #fff; }
.sev-m { background: #FACC15; color: var(--ink); }
.sev-l { background: #D5DCE6; color: var(--ink); }

/* ---------- Service page ---------- */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.problem h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 700; }
.problem-list { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.problem-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: var(--bad-bg); color: #7A1D14; font-weight: 600; font-size: 16px; }
.problem-list .i { color: var(--bad); margin-top: 2px; }
.approach { padding: 32px; border-radius: var(--r-lg); background: var(--navy-900); color: #C3CEE6; }
.approach h3 { color: #fff; font-size: 22px; margin-bottom: 12px; }
.approach p { font-size: 17px; }
.approach .eyebrow { color: var(--mint); }
.chain { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.chain li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 15px; }
.chain li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-weight: 700; font-size: 13px; }
.link-light { color: var(--mint); }
.link-light:hover { color: #fff; }

.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: box-shadow .2s, transform .2s; }
.feat:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feat .ico-chip { margin-bottom: 16px; }
.feat h3 { font-size: 19px; margin-bottom: 6px; }
.feat p { font-size: 16px; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.panel h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--text); }
.ticks .tick { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); margin-top: 1px; }
.ticks .tick-blue { background: var(--primary-50); color: var(--primary); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; position: relative; }
.step { position: relative; padding: 26px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 16px; box-shadow: 0 0 0 6px var(--primary-50); }
.step h3 { font-size: 18.5px; margin-bottom: 6px; }
.step p { font-size: 15.5px; color: var(--muted); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -21px; width: 22px; height: 2px; background: var(--line-2); }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related a { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 600; transition: border-color .2s, transform .2s, box-shadow .2s; }
.related a:hover { border-color: var(--tone); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--ink); }
.related a .i-arrow-right { margin-left: auto; color: var(--tone); }

/* ---------- How it works / membership / about ---------- */
.rules { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.rules li { padding: 24px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-align: center; }
.rules .ico-chip { margin: 0 auto 14px; }
.rules h3 { font-size: 18px; margin-bottom: 6px; }
.rules p { font-size: 15.5px; color: var(--muted); }

.journey { display: grid; gap: 20px; }
.journey-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.journey-row h3 { font-size: 20px; }
.journey-row .who { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--primary); }
.journey-row ol { display: grid; gap: 10px; padding-left: 20px; }
.journey-row li::marker { color: var(--primary); font-weight: 700; }

.member-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.member-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value { padding: 26px; border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--line); }
.value h3 { font-size: 18.5px; margin: 14px 0 6px; }
.value p { font-size: 15.5px; color: var(--muted); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.story p + p { margin-top: 14px; }
.quote { position: relative; padding: 36px; border-radius: var(--r-lg); background: var(--navy-900); color: #DCE4F5; font-family: var(--font-head); font-size: clamp(1.25rem, 1rem + .9vw, 1.6rem); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
.quote::before { content: "\201C"; position: absolute; top: -8px; left: 24px; font-size: 96px; line-height: 1; color: var(--gold); }
.quote small { display: block; margin-top: 18px; font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--mint); letter-spacing: 0; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.prose .updated { color: var(--muted); font-size: 15px; }

/* ---------- 404 / thanks ---------- */
.center-page { text-align: center; max-width: 640px; margin-inline: auto; }
.center-page .big { font-family: var(--font-head); font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 700; line-height: 1; color: var(--primary-100); letter-spacing: -0.04em; }
.center-page h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin: 12px 0; }
.center-page p { color: var(--muted); }
.center-page .hero-actions { justify-content: center; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--primary) 0%, var(--navy-800) 70%); color: #DCE4F5; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .05); pointer-events: none; }
.cta-band-in { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 72px); }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 700; }
.cta-band p { margin-top: 10px; max-width: 560px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #A9B6CF; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr .8fr; gap: 40px; padding-block: 64px 40px; }
.footer-brand p { margin-top: 16px; max-width: 380px; }
.footer-contact { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .i { color: var(--gold); }
.site-footer a { color: #DCE4F5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-col h2 { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: .02em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 4px; }
.footer-col a { display: inline-block; padding-block: 6px; }
.footer-group { display: grid; grid-template-columns: 200px 1fr; gap: 20px 40px; align-items: start; padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-group-head h2 { font-size: 15px; font-weight: 600; color: #fff; letter-spacing: .02em; margin-bottom: 6px; }
.footer-group-head p { font-size: 14.5px; line-height: 1.5; }
.group-list { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.group-list a, .group-more { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.site-footer .group-list a { text-decoration: none; transition: border-color .18s, background-color .18s; }
.site-footer .group-list a:hover { border-color: rgba(242, 181, 68, .55); background: rgba(255, 255, 255, .06); text-decoration: none; }
.group-list strong { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: #fff; }
.group-list strong .i { color: var(--gold); opacity: .8; transition: transform .18s var(--ease); }
.group-list a:hover strong .i { transform: translateX(3px); }
.group-list span { font-size: 13.5px; line-height: 1.4; color: #A9B6CF; }
.group-more { border-style: dashed; background: transparent; }

.group-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.group-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.group-card:hover { color: var(--text); border-color: var(--primary-100); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.group-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--ink); }
.group-name .i { color: var(--primary); transition: transform .18s var(--ease); }
a.group-card:hover .group-name .i { transform: translateX(3px); }
.group-card p { font-size: 15.5px; color: var(--muted); }
.group-url { margin-top: auto; font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--primary); }
.group-card-more { border-style: dashed; border-color: var(--line-2); background: transparent; }
.footer-notice { display: flex; gap: 12px; align-items: flex-start; padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14.5px; }
.footer-notice .i { color: var(--gold); margin-top: 3px; }
.footer-notice strong { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 18px 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14.5px; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #128C4A; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 15px; box-shadow: 0 10px 28px rgba(18, 140, 74, .35); transition: transform .2s var(--ease), background-color .2s; }
.wa-float:hover { color: #fff; background: #0E7A3E; transform: translateY(-2px); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =============================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .hide-md { display: none; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick-card { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-cta, .nav + .header-cta { margin-left: auto; }
  .hero-in, .page-hero.has-aside .page-hero-in { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; padding-left: 0; }
  .match-card { margin-left: 0; }
  .page-hero-aside { justify-content: flex-start; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-grid .field-submit { padding-top: 0; grid-column: 1 / -1; }
  .intro-in, .loop, .faq-layout, .contact-layout, .problem, .member-layout, .story { grid-template-columns: 1fr; }
  .faq-aside, .member-aside { position: static; }
  .form-first .form-card { order: -1; }
  .split-head { grid-template-columns: 1fr; }
  .commit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commit-grid li:nth-child(3) { border-left: 0; }
  .commit-grid li:nth-child(n+3) { border-top: 1px solid var(--primary-100); }
  .ind-grid, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-grid, .why-grid, .feat-grid, .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-group { grid-template-columns: 1fr; }
  .group-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey-row { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16.5px; }
  .topbar { display: none; }
  .brand-word { font-size: 19px; }
  .brand-mark { width: 32px; height: 32px; }
  .sc-grid, .why-grid, .feat-grid, .related, .two-col, .rules { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cap-grid a { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; height: 100%; padding: 14px; font-size: 14.5px; }
  .cap-ico { width: 34px; height: 34px; }
  .svc-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .chip-a, .chip-b { display: none; }
  .hero-visual { padding: 0; }
  .wa-float { width: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .why-card-cta .btn { width: 100%; }
  .mock-dl div { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { padding-block: 48px 32px; gap: 32px; }
  .group-list { grid-template-columns: 1fr 1fr; gap: 10px; }
}

@media (max-width: 560px) {
  .header-cta .btn { display: none; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-card { padding: 20px; }
  .ind-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ind-grid li { min-height: 132px; padding: 18px 10px; font-size: 15px; }
  .steps, .values { grid-template-columns: 1fr; }
  .commit-grid li { padding: 22px 12px; }
  .commit-grid span { font-size: 14.5px; }
  .hero-actions .btn, .form-actions .btn, .cta-band-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .match-list li { padding: 10px; gap: 10px; }
  .match-list .pill { padding: 3px 8px; }
  .mock-list li { flex-wrap: wrap; }
}

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

@media print {
  .topbar, .site-header, .drawer, .wa-float, .cta-band, .quick { display: none !important; }
  .hero, .page-hero, .section-dark { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}
