/* ==========================================================================
   Charvik Facility Service — Design System & Site Styles
   Brand: Navy + Logo Blue + Signal Red, with service accent colours
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #050f27;
  --navy-900: #0a1a40;
  --navy-800: #0f2557;
  --navy-700: #17357a;
  --blue: #1a8fe8;
  --blue-600: #1268cc;
  --blue-50: #eaf4ff;
  --red: #e3262d;
  --red-600: #c11a21;
  --red-50: #fdeced;
  --green: #1e9e45;
  --green-50: #e8f7ed;
  --orange: #f2771a;
  --orange-50: #fef1e6;
  --purple: #7a3fe0;
  --purple-50: #f2ecfd;
  --teal: #0e9f9b;
  --teal-50: #e5f6f6;

  --ink: #0d1b3e;
  --body: #46536f;
  --muted: #6b7690;
  --line: #e3e8f1;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-tint: #eef3fb;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(10, 26, 64, .06);
  --shadow: 0 10px 30px -10px rgba(10, 26, 64, .18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 26, 64, .30);
  --shadow-glow: 0 18px 40px -12px rgba(227, 38, 45, .45);

  --container: 1240px;
  --gutter: 20px;
  --section-y: clamp(64px, 9vw, 116px);
  --header-h: 78px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: linear-gradient(180deg, var(--bg-soft), #fff); }
.section--navy { background: var(--navy-900); color: #c6d1e8; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }

.text-red { color: var(--red); }
.text-blue { color: var(--blue); }
.center { text-align: center; }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--light { color: #ff8a8f; }
.center .eyebrow::after, .section-head.center .eyebrow::after { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }

.hl { color: var(--red); position: relative; white-space: nowrap; }
.hl-blue { color: var(--blue); }
.lead { font-size: clamp(1.03rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 64ch; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section--navy .lead { color: #aebbd8; }
.underline-bar { display: block; width: 56px; height: 4px; background: var(--red); border-radius: 4px; margin: 18px 0 0; }

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--red); --btn-fg: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .98rem; line-height: 1.2; letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); flex: none; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: linear-gradient(135deg, #f0373e, var(--red-600)); box-shadow: var(--shadow-glow); }
.btn--primary:hover { box-shadow: 0 22px 46px -12px rgba(227, 38, 45, .6); }
.btn--blue { --btn-bg: var(--blue); background: linear-gradient(135deg, #2aa3ff, var(--blue-600)); box-shadow: 0 18px 40px -14px rgba(26, 143, 232, .6); }
.btn--navy { --btn-bg: var(--navy-900); }
.btn--navy:hover { --btn-bg: var(--navy-700); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--ghost { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--lg { padding: 17px 32px; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-600);
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 14px; color: var(--red); }

/* ---------- 5. Icons ---------- */
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-badge {
  --c: var(--blue); --c2: var(--blue-600);
  width: 60px; height: 60px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 70%, #fff), var(--c) 55%, var(--c2));
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--c) 70%, transparent), inset 0 -3px 0 rgba(0,0,0,.12);
  transition: transform .45s var(--ease);
}
.icon-badge .ic { width: 28px; height: 28px; }
.icon-badge--sm { width: 46px; height: 46px; }
.icon-badge--sm .ic { width: 22px; height: 22px; }
.icon-badge--lg { width: 76px; height: 76px; }
.icon-badge--lg .ic { width: 34px; height: 34px; }
.c-blue { --c: var(--blue); --c2: var(--blue-600); --tint: var(--blue-50); }
.c-red { --c: var(--red); --c2: var(--red-600); --tint: var(--red-50); }
.c-green { --c: var(--green); --c2: #157a34; --tint: var(--green-50); }
.c-orange { --c: var(--orange); --c2: #d75f0b; --tint: var(--orange-50); }
.c-purple { --c: var(--purple); --c2: #5d27bd; --tint: var(--purple-50); }
.c-teal { --c: var(--teal); --c2: #097a77; --tint: var(--teal-50); }
.c-navy { --c: var(--navy-700); --c2: var(--navy-900); --tint: var(--bg-tint); }

/* ---------- 6. Top bar & Header ---------- */
.topbar { background: var(--navy-950); color: #b5c2de; font-size: .84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar ul { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar a, .topbar li { display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; color: var(--blue); }
.topbar__tag { color: #fff; font-weight: 600; letter-spacing: .04em; }
.topbar__tag span { color: var(--red); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s, border-color .35s, background .35s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10,26,64,.35); border-color: var(--line); background: rgba(255,255,255,.97); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.is-scrolled .container { height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand__mark { width: 78px; height: auto; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1.06rem; letter-spacing: -.01em; }
.brand__tag { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 13px; border-radius: 10px;
  font-weight: 600; font-size: .94rem; color: var(--ink); white-space: nowrap;
  background: none; border: 0;
  position: relative; transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--red); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link .ic { width: 16px; height: 16px; transition: transform .3s; }
.nav__item--drop:hover .nav__link .ic, .nav__item--drop.is-open .nav__link .ic { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 560px;
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  transition: opacity .3s, transform .35s var(--ease), visibility .3s;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav__item--drop:hover .dropdown, .nav__item--drop.is-open .dropdown, .nav__item--drop:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background .25s; }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown a:hover .icon-badge { transform: scale(1.08) rotate(-6deg); }
.dropdown strong { display: block; color: var(--ink); font-size: .93rem; line-height: 1.3; }
.dropdown small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.dropdown .icon-badge { width: 40px; height: 40px; }
.dropdown .icon-badge .ic { width: 19px; height: 19px; }
.dropdown__all { grid-column: 1 / -1; justify-content: center; align-items: center !important; background: var(--bg-soft); font-weight: 700; color: var(--blue-600); margin-top: 4px; }

.nav__cta { margin-left: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); place-items: center;
}
.nav-toggle .ic { width: 24px; height: 24px; }

/* Mobile menu (off-canvas) — clipped wrapper so nothing spills past the viewport */
.mnav { position: fixed; inset: 0; z-index: 150; overflow: hidden; pointer-events: none; visibility: hidden; transition: visibility 0s linear .4s; }
.mnav__backdrop { position: absolute; inset: 0; background: rgba(10,26,64,.45); opacity: 0; transition: opacity .35s; }
.mnav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 86vw);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; color: var(--ink);
  box-shadow: -12px 0 32px rgba(10,26,64,.18);
  transform: translateX(100%); transition: transform .4s var(--ease);
}
body.drawer-open { overflow: hidden; }
body.drawer-open .mnav { visibility: visible; pointer-events: auto; transition: none; }
body.drawer-open .mnav__backdrop { opacity: 1; }
body.drawer-open .mnav__panel { transform: none; }

.mnav__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.mnav__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mnav__brand .brand__mark { width: 52px; flex: none; }
.mnav__brand strong { display: block; color: var(--ink); font-size: .95rem; font-weight: 800; line-height: 1.2; }
.mnav__brand small { display: block; color: var(--muted); font-size: .7rem; font-weight: 600; margin-top: 2px; }
.mnav__close { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: background .2s, color .2s; }
.mnav__close:hover { background: var(--bg-soft); color: var(--red); }
.mnav__close .ic { width: 20px; height: 20px; }

.mnav__nav { padding: 8px 0; }
.mnav__nav > ul > li { border-bottom: 1px solid var(--line); }
.mnav__link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 22px; font-weight: 600; font-size: 1rem; color: var(--ink);
  cursor: pointer; list-style: none; position: relative; transition: color .2s, background .2s;
}
.mnav__link::-webkit-details-marker { display: none; }
.mnav__link:hover { background: var(--bg-soft); }
.mnav__link.is-active { color: var(--red); }
.mnav__link.is-active::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; background: var(--red); border-radius: 0 3px 3px 0; }
.mnav__arrow { width: 18px; height: 18px; color: var(--muted); transition: transform .3s; }
.mnav__group[open] .mnav__arrow { transform: rotate(180deg); }
.mnav__sub { padding: 0 0 10px; background: var(--bg-soft); }
.mnav__sub a { display: block; padding: 10px 22px 10px 38px; font-size: .93rem; color: var(--body); position: relative; transition: color .2s; }
.mnav__sub a::before { content: ""; position: absolute; left: 24px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #b6c0d4; transform: translateY(-50%); }
.mnav__sub a:hover { color: var(--red); }
.mnav__sub a:hover::before { background: var(--red); }
.mnav__text { display: flex; align-items: center; gap: 14px; min-width: 0; }
.mnav__icon.icon-badge { width: 36px; height: 36px; box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--c) 70%, transparent), inset 0 -2px 0 rgba(0,0,0,.12); }
.mnav__icon.icon-badge .ic { width: 18px; height: 18px; }
.mnav__link:hover .mnav__icon { transform: scale(1.08) rotate(-6deg); }
.mnav__sub a.has-icon { display: flex; align-items: center; gap: 12px; padding: 8px 22px 8px 32px; }
.mnav__sub a.has-icon::before { display: none; }
.mnav__subicon { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; color: var(--c); background: var(--tint); transition: transform .3s var(--ease); }
.mnav__subicon .ic { width: 16px; height: 16px; }
.mnav__sub a.has-icon:hover .mnav__subicon { transform: scale(1.08); }

.mnav__contact { margin-top: auto; padding: 20px 22px calc(22px + env(safe-area-inset-bottom)); display: grid; gap: 12px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.mnav__label { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mnav__contact a:not(.btn), .mnav__contact p:not(.mnav__label) { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .92rem; color: var(--ink); font-weight: 500; }
.mnav__contact a:not(.btn):hover { color: var(--red); }
.mnav__contact a:not(.btn) .ic, .mnav__contact p .ic { width: 17px; height: 17px; color: var(--red); }
.mnav__cta { box-shadow: none; }
.mnav__cta { width: 100%; margin-top: 6px; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--red)); }

/* ---------- 7. Brand wave dividers ---------- */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; pointer-events: none; z-index: 2; }
.wave svg { width: 100%; height: clamp(46px, 7vw, 110px); }
.wave--top { top: -1px; bottom: auto; transform: scaleY(-1); }

/* ---------- 8. Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #c8d3ea;
  background:
    radial-gradient(1000px 520px at 85% 10%, rgba(26,143,232,.35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(227,38,45,.22), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900) 45%, var(--navy-800));
  padding: clamp(56px, 8vw, 96px) 0 clamp(110px, 13vw, 180px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  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: 54px 54px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .line { display: block; white-space: nowrap; }
/* Sized so the longest banner line stays on one line in the text column. */
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.6rem); }
@media (max-width: 1024px) { .hero h1 { font-size: clamp(1.6rem, 8.5vw, 4.1rem); } }
.hero h1 .grad { background: linear-gradient(90deg, #39b2ff, #6fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .red { color: #ff4148; }
.hero .lead { color: #b9c6e2; margin-bottom: 32px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #e4ebf8; font-size: .86rem; font-weight: 600;
  margin-bottom: 26px; backdrop-filter: blur(8px);
}
.hero__badge b { background: var(--red); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: .74rem; letter-spacing: .06em; }
.hero__trust { display: flex; gap: clamp(18px, 3vw, 40px); margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust strong { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: #fff; font-weight: 800; line-height: 1.1; }
.hero__trust strong em { font-style: normal; color: var(--red); }
.hero__trust div > span { font-size: .84rem; color: #9fb0d2; }

.hero__visual { position: relative; }
.hero__frame {
  position: relative; border-radius: 30px 30px 30px 120px; overflow: hidden; aspect-ratio: 1 / 1.02;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border: 6px solid rgba(255,255,255,.08);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-in-out infinite alternate; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,15,39,.55)); }
.hero__ring { position: absolute; width: 130px; height: 130px; right: -26px; top: -26px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.25); animation: spin 30s linear infinite; }
.hero__swoosh { position: absolute; left: -60px; bottom: -40px; width: 70%; z-index: -1; opacity: .9; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; z-index: 3;
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 18px; padding: 12px 18px 12px 12px;
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: .9rem; line-height: 1.3;
  animation: floaty 6s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.float-card .icon-badge { width: 44px; height: 44px; }
.float-card .icon-badge .ic { width: 21px; height: 21px; }
.float-card--a { left: -34px; top: 14%; }
.float-card--b { right: -22px; bottom: 16%; animation-delay: -3s; }
.float-card--c { left: 10%; bottom: -26px; animation-delay: -1.5s; }

@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, -1%); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 100% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } }

/* ---------- 9. Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #c9d4ea;
  padding: clamp(64px, 9vw, 110px) 0 clamp(110px, 13vw, 170px);
  background: var(--navy-900);
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(5,15,39,.97) 0%, rgba(10,26,64,.9) 42%, rgba(10,26,64,.55) 75%, rgba(10,26,64,.35) 100%),
    radial-gradient(600px 400px at 0% 100%, rgba(227,38,45,.3), transparent 70%);
}
.page-hero h1 { color: #fff; max-width: 17ch; margin-bottom: 18px; }
/* One-line headings shrink only as far as their length (--chars, set by the template) requires to fit the container. */
@media (min-width: 768px) {
  .page-hero--one-line .container { container-type: inline-size; }
  .page-hero--one-line h1 { max-width: none; white-space: nowrap; font-size: min(clamp(2rem, 4.9vw, 3.85rem), calc(200cqi / var(--chars, 30))); }
}
.page-hero .lead { color: #c1cde6; max-width: 58ch; }
.page-hero .btn-row { margin-top: 30px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .86rem; margin-bottom: 22px; color: #9fb0d2; }
.breadcrumb a { color: #e3eaf8; font-weight: 600; transition: color .25s; }
.breadcrumb a:hover { color: #ff6b71; }
.breadcrumb .ic { width: 14px; height: 14px; }

/* ---------- 11. Grid utilities ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr 1fr; }
.split--top { align-items: start; }
.split > *, .grid > *, .form-grid > * { min-width: 0; }

/* ---------- 12. Cards ---------- */
.card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover .icon-badge { transform: rotate(-8deg) scale(1.08); }
.card h3 { margin: 18px 0 10px; }
.card p { margin: 0; font-size: .97rem; }
.card__bar { display: block; width: 36px; height: 3px; border-radius: 3px; background: var(--c, var(--red)); margin: 14px 0 12px; transition: width .45s var(--ease); }
.card:hover .card__bar { width: 64px; }
.card--tint { background: linear-gradient(180deg, var(--tint, var(--bg-soft)), #fff 70%); }
.card--center { text-align: center; }
.card--center .icon-badge { margin-inline: auto; }
.card--center .card__bar { margin-inline: auto; }
.card--glass { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #b8c5e0; box-shadow: none; }
.card--glass:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.card--glass h3 { color: #fff; }
.card__num { position: absolute; top: 22px; right: 24px; font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--bg-tint); transition: color .4s; }
.card:hover .card__num { color: color-mix(in srgb, var(--c, var(--red)) 18%, #fff); }

/* Service card with image */
.svc-card {
  --c: var(--blue);
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.svc-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.09); }
.svc-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,15,39,.55)); }
.svc-card .icon-badge { position: absolute; left: 24px; top: calc(62.5% * 1 - 30px); z-index: 2; }
.svc-card__media + .icon-badge { top: auto; margin-top: -30px; position: relative; left: 24px; border: 4px solid #fff; box-sizing: content-box; }
.svc-card__body { padding: 14px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { margin: 10px 0 8px; }
.svc-card p { font-size: .96rem; margin-bottom: 18px; }
.svc-card .link-arrow { margin-top: auto; }
.svc-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); z-index: 3; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card .tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.tag { font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--tint, var(--bg-soft)); color: var(--c, var(--ink)); }

/* Service row (services overview) */
.svc-row { display: grid; grid-template-columns: 1fr 1.2fr; }
.svc-row--rev { grid-template-columns: 1.2fr 1fr; }
.svc-row--rev .svc-row__media { order: 2; }
.svc-row__media { position: relative; overflow: hidden; min-height: 300px; }
.svc-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .svc-row__media img { transform: scale(1.06); }
.svc-row__body { padding: clamp(26px, 3.5vw, 44px); }
.svc-row__body h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.svc-row__body .check-list { margin: 20px 0 24px; }
@media (max-width: 1024px) {
  .svc-row, .svc-row--rev { grid-template-columns: 1fr; }
  .svc-row--rev .svc-row__media { order: 0; }
  .svc-row__media { min-height: 0; aspect-ratio: 16 / 9; }
}

/* Image card (industries) */
.img-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; }
.img-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.img-card__media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.img-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.img-card:hover .img-card__media img { transform: scale(1.08); }
.img-card__body { padding: 0 24px 26px; position: relative; flex: 1; background: linear-gradient(180deg, #fff, var(--tint, #fff)); }
.img-card__body .icon-badge { margin-top: -30px; border: 4px solid #fff; box-sizing: content-box; position: relative; z-index: 2; }
.img-card__body h3 { margin: 14px 0 8px; }
.img-card__body p { margin: 0; font-size: .95rem; }

/* Feature (icon + text inline) */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature h4 { margin: 4px 0 6px; font-size: 1.06rem; }
.feature p { margin: 0; font-size: .95rem; }
.feature--card { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature--card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature--card:hover .icon-badge { transform: rotate(-8deg) scale(1.06); }

/* ---------- 13. Lists ---------- */
.check-list { display: grid; gap: 12px; }
.check-list--2 { grid-template-columns: 1fr 1fr; column-gap: 26px; }
.check-list--3 { grid-template-columns: repeat(3, 1fr); column-gap: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: .97rem; line-height: 1.5; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--c, var(--blue)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  box-shadow: 0 4px 10px -4px var(--c, var(--blue));
}
.section--navy .check-list li { color: #dfe6f5; }

.icon-list { display: grid; gap: 0; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.icon-list li { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .97rem; transition: background .3s, padding-left .35s var(--ease); }
.icon-list li:last-child { border-bottom: 0; }
.icon-list li:hover { background: var(--tint, var(--bg-soft)); padding-left: 26px; }
.icon-list .icon-badge { width: 40px; height: 40px; }
.icon-list .icon-badge .ic { width: 19px; height: 19px; }

.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .9rem;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.pill .ic { width: 16px; height: 16px; color: var(--red); }
.pill:hover { transform: translateY(-3px); background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.section--navy .pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #e5ebf7; }
.section--navy .pill:hover { background: var(--red); border-color: var(--red); }

/* ---------- 14. Media frames ---------- */
.media-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-frame:hover img { transform: scale(1.05); }
.media-stack { position: relative; padding: 0 0 48px 48px; }
.media-stack::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--blue), var(--navy-700)); z-index: -1; }
.media-stack::after { content: ""; position: absolute; left: 18px; bottom: 18px; width: 120px; height: 120px; background-image: radial-gradient(var(--red) 2px, transparent 2.5px); background-size: 16px 16px; z-index: -1; opacity: .6; }
.media-stack .media-frame { aspect-ratio: 4 / 3.6; }
.media-badge {
  position: absolute; right: -14px; bottom: 18px; z-index: 3;
  background: var(--red); color: #fff; border-radius: 22px; padding: 18px 22px; box-shadow: var(--shadow-glow);
  display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.media-badge strong { font-size: 2.3rem; line-height: 1; font-weight: 800; }
.media-badge span { font-size: .86rem; font-weight: 600; line-height: 1.35; }
.media-tall { aspect-ratio: 4 / 4.6; }

/* ---------- 15. Formula chips ---------- */
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 26px 0 30px; }
.formula span { padding: 10px 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .9rem; transition: transform .3s var(--ease), background .3s, color .3s; }
.formula span:hover { transform: translateY(-3px); background: var(--blue); color: #fff; }
.formula b { color: var(--red); font-size: 1.3rem; font-weight: 800; }
.formula--light span { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #fff; }

/* ---------- 16. Stats ---------- */
.stats-band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  padding: clamp(30px, 4vw, 48px); color: #b5c2de;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; box-shadow: var(--shadow-lg);
}
.stats-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(26,143,232,.35), transparent 70%); }
.stats-band::after { content: ""; position: absolute; left: -100px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(227,38,45,.28), transparent 70%); }
.stat { position: relative; z-index: 1; display: flex; gap: 16px; align-items: center; padding: 8px 6px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.1); padding-left: 22px; }
.stat__value { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat__value small { font-size: .55em; color: var(--red); margin-left: 2px; }
.stat__label { font-size: .88rem; line-height: 1.35; margin-top: 6px; }
.stats-overlap { margin-top: calc(var(--section-y) * -1 - 40px); position: relative; z-index: 5; }

/* ---------- 17. Process ---------- */
.process { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 38px; left: 6%; right: 6%; height: 3px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.process__line { position: absolute; top: 38px; left: 6%; height: 3px; width: 0; background: linear-gradient(90deg, var(--blue), var(--red)); border-radius: 3px; transition: width 2.2s var(--ease); }
.process.is-visible .process__line { width: 88%; }
.step { position: relative; text-align: center; padding: 0 4px; }
.step__icon {
  position: relative; z-index: 1; width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 3px solid var(--c); color: var(--c);
  box-shadow: 0 12px 26px -12px var(--c); transition: background .4s, color .4s, transform .45s var(--ease);
}
.step__icon .ic { width: 30px; height: 30px; }
.step:hover .step__icon { background: var(--c); color: #fff; transform: translateY(-6px) scale(1.05); }
.step__num { position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 3px solid #fff; }
.step h4 { margin-bottom: 6px; }
.step p { font-size: .88rem; margin: 0; line-height: 1.55; }
.section--soft .step__icon { background: var(--bg-soft); }

/* Vertical timeline */
.vtimeline { position: relative; display: grid; gap: 18px; padding-left: 0; }
.vtimeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(var(--blue), var(--red)); }
.vtimeline li { position: relative; display: flex; gap: 22px; align-items: center; }
.vtimeline .node { width: 57px; height: 57px; flex: none; border-radius: 50%; background: #fff; border: 3px solid var(--blue); display: grid; place-items: center; font-weight: 800; color: var(--navy-900); z-index: 1; transition: background .3s, color .3s, transform .4s var(--ease); }
.vtimeline li:hover .node { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.1); }
.vtimeline .box { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; font-weight: 700; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s; display: flex; align-items: center; gap: 12px; }
.vtimeline .box .ic { color: var(--red); }
.vtimeline li:hover .box { transform: translateX(8px); box-shadow: var(--shadow); }

/* Career timeline */
.career { position: relative; display: grid; gap: 24px; }
.career::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.career__item { position: relative; padding-left: 46px; }
.career__item::before { content: ""; position: absolute; left: 3px; top: 8px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--red); box-shadow: 0 0 0 5px var(--red-50); }
.career__item .card { padding: 22px 24px; }
.career__date { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); background: var(--blue-50); border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
.career__item h4 { margin: 0 0 2px; font-size: 1.1rem; }
.career__org { color: var(--red); font-weight: 700; font-size: .92rem; margin-bottom: 12px; display: block; }
.career__item .pill-cloud { gap: 6px; }
.career__item .pill { padding: 5px 11px; font-size: .8rem; }

/* Flow (escalation) */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.flow__step { flex: 1 1 140px; position: relative; background: #fff; border-radius: var(--radius); padding: 20px 16px; text-align: center; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.flow__step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.flow__step .icon-badge { margin: 0 auto 12px; }
.flow__step strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.flow__step:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%) rotate(45deg); border-top: 3px solid var(--red); border-right: 3px solid var(--red); z-index: 2; background: transparent; margin-right: 4px; }

/* ---------- 18. Quote / testimonial ---------- */
.quote-card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 34px 30px 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.quote-card__mark { position: absolute; top: -22px; left: 28px; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--c, var(--red)); color: #fff; box-shadow: 0 12px 24px -10px var(--c, var(--red)); }
.quote-card__mark svg { width: 24px; height: 24px; fill: currentColor; }
.quote-card blockquote { margin: 10px 0 22px; font-size: 1.08rem; line-height: 1.65; color: var(--ink); font-weight: 500; }
.quote-card footer { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote-card footer strong { display: block; color: var(--ink); }
.quote-card footer div span { font-size: .88rem; color: var(--muted); display: block; }
.stars { display: flex; gap: 3px; color: #f5b400; margin-left: auto; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }

.pull-quote {
  position: relative; background: var(--navy-900); color: #fff; border-radius: var(--radius-lg);
  padding: 30px 30px 30px 84px; font-size: clamp(1.08rem, 1.6vw, 1.3rem); font-weight: 700; line-height: 1.45; box-shadow: var(--shadow-lg);
}
.pull-quote::before { content: "\201C"; position: absolute; left: 24px; top: 6px; font-size: 5.2rem; line-height: 1; color: var(--red); font-family: Georgia, serif; }
.pull-quote::after { content: ""; display: block; width: 52px; height: 4px; background: var(--red); border-radius: 4px; margin-top: 16px; }

/* ---------- 19. Leader cards ---------- */
.leader { display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.leader__photo { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.leader__photo:hover img { transform: scale(1.05); }
.leader__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(5,15,39,.75)); }
.leader__tag { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: #fff; }
.leader__tag strong { display: block; font-size: 1.2rem; }
.leader__tag span { font-size: .85rem; color: #c9d4ea; }
.leader__role { color: var(--red); font-weight: 700; margin-bottom: 18px; display: block; }
.leader__body p { border-left: 3px solid var(--red); padding-left: 18px; }
.leader__contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.team-card { background: #fff; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1.3fr; transition: transform .5s var(--ease), box-shadow .5s; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-card__photo { position: relative; overflow: hidden; min-height: 340px; }
.team-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.06); }
.team-card__body { padding: 28px; display: flex; flex-direction: column; }
.team-card__body h3 { margin-bottom: 2px; }
.team-card__body .role { color: var(--red); font-weight: 700; font-size: .93rem; margin-bottom: 14px; }
.team-card__body p { font-size: .95rem; }
.team-card__body { container-type: inline-size; }
.team-card__body .link-arrow { margin-top: auto; font-size: .86rem; overflow-wrap: anywhere; }
/* Email stays on one line; long addresses shrink just enough (--chars set by the template) to fit beside the icon. */
.team-card__body .team-card__email { white-space: nowrap; overflow-wrap: normal; font-size: min(.86rem, calc((100cqi - 28px) / (var(--chars, 30) * .53))); }

/* ---------- 20. Glance table ---------- */
.glance { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .96rem; }
.glance caption { text-align: left; font-weight: 800; color: var(--ink); margin-bottom: 12px; font-size: 1.1rem; }
.glance th, .glance td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.glance thead th { background: linear-gradient(90deg, var(--navy-800), var(--blue-600)); color: #fff; font-weight: 700; }
.glance tbody th { width: 40%; color: var(--ink); font-weight: 700; background: var(--bg-soft); }
.glance tbody tr:last-child th, .glance tbody tr:last-child td { border-bottom: 0; }
.glance tbody tr { transition: background .25s; }
.glance tbody tr:hover td { background: var(--blue-50); }
.glance a { color: var(--blue-600); font-weight: 600; }

/* ---------- 21. Tabs (sticky sub-nav) ---------- */
.subnav { position: sticky; top: 68px; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--body); transition: background .25s, color .25s; }
.subnav a:hover { background: var(--bg-soft); color: var(--ink); }
.subnav a.is-active { background: var(--navy-900); color: #fff; }

/* ---------- 22. Gallery & lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery__item { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; cursor: zoom-in; border: 0; padding: 0; background: var(--bg-soft); display: block; width: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-weight: 700; text-align: left; background: linear-gradient(transparent, rgba(5,15,39,.85)); display: flex; align-items: center; gap: 10px; }
.gallery__cap .ic { width: 20px; height: 20px; }
.gallery__cap::before { content: ""; width: 4px; height: 22px; border-radius: 4px; background: var(--c, var(--red)); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5,15,39,.92); display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; font-weight: 600; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox__close:hover { background: var(--red); }

/* ---------- 23. Accordion (FAQ) ---------- */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--bg-soft); color: var(--red); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq .plus .ic { width: 18px; height: 18px; }
.faq .faq__body { padding: 0 22px 20px; }
.faq .faq__body p { margin: 0; }

/* ---------- 24. Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-xl); padding: clamp(26px, 3.4vw, 42px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--blue), var(--red)); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .25s, box-shadow .25s, background .25s; font-size: .97rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { max-width: 100%; text-overflow: ellipsis; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(26,143,232,.15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); background: #fff8f8; }
.field__error { font-size: .8rem; color: var(--red); font-weight: 600; min-height: 1em; display: none; }
.field.is-invalid .field__error { display: block; }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: .93rem; display: none; }
.form-status.is-success { display: block; background: var(--green-50); color: #136b2f; border: 1px solid #bfe5cb; }

/* Contact cards */
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1.05rem; margin: 2px 0 6px; }
.contact-card p, .contact-card a { margin: 0; font-size: .95rem; display: block; color: var(--body); line-height: 1.6; }
.contact-card a:hover { color: var(--red); }
.map-wrap { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--bg-soft); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick-action { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 10px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: .88rem; transition: transform .35s var(--ease), box-shadow .35s; }
.quick-action:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* ---------- 25. CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(26,143,232,.45), transparent 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(227,38,45,.4), transparent 70%),
    linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: #c4cfe7; padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { margin: 0; color: #b7c4df; max-width: 56ch; }
.cta .btn-row { justify-content: flex-end; }
.cta__img { position: absolute; right: 0; top: 0; bottom: 0; width: 42%; opacity: .16; object-fit: cover; mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.cta > * { position: relative; }
.cta__img { position: absolute; }

/* ---------- 26. Footer ---------- */
.site-footer { position: relative; background: var(--navy-950); color: #a9b6d3; padding-top: clamp(90px, 12vw, 150px); margin-top: clamp(40px, 6vw, 80px); font-size: .95rem; }
.site-footer .wave { top: -1px; bottom: auto; }
.site-footer .wave svg { height: clamp(40px, 6vw, 90px); background: var(--bg); }
.footer-brand .brand__tag { display: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.4fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 48px; }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand__tag { color: #ff6d73; }
.footer-brand p { color: #a9b6d3; max-width: 38ch; }
.footer-tagline { display: inline-block; margin-top: 8px; font-weight: 700; color: #fff; border-left: 3px solid var(--red); padding-left: 12px; line-height: 1.5; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--red); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .25s, transform .3s var(--ease); }
.footer-links a .ic { width: 14px; height: 14px; color: var(--red); }
.footer-links a:hover { color: #fff; transform: translateX(5px); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer-contact .ic { width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .86rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* Floating actions */
.fab-stack { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); border: 0; transition: transform .35s var(--ease), opacity .35s, visibility .35s; }
.fab:hover { transform: translateY(-4px) scale(1.06); }
.fab .ic { width: 24px; height: 24px; }
.fab--wa { background: #25d366; animation: pulse 2.2s infinite; }
.fab--call { background: var(--blue); display: none; }
.fab--top { background: var(--navy-900); opacity: 0; visibility: hidden; transform: translateY(12px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- 27. Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 28. Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mini-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: .9rem; box-shadow: var(--shadow-sm); }
.mini-badge .icon-badge { width: 34px; height: 34px; }
.mini-badge .icon-badge .ic { width: 17px; height: 17px; }
.note { font-size: .88rem; color: var(--muted); font-style: italic; }
.divider-space { height: clamp(24px, 4vw, 48px); }
.vm-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s; }
.vm-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.vm-card__head { padding: 30px 28px 54px; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); position: relative; }
.vm-card__head h3 { color: #fff; margin: 0; font-size: 1.5rem; }
.vm-card__head .icon-badge { position: absolute; right: 24px; bottom: -32px; background: #fff; color: var(--c); border: 4px solid #fff; box-shadow: var(--shadow); width: 64px; height: 64px; }
.vm-card__body { padding: 40px 28px 30px; }
.vm-card__body p { font-size: 1.04rem; color: var(--ink); margin: 0; }
.value-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.value-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.value-item h4 { margin: 2px 0 4px; }
.value-item p { margin: 0; font-size: .93rem; }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--blue), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.04em; }
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.related a { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.related a:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--red); }

/* ---------- 29. Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 10px 9px; font-size: .9rem; }
  .nav__link::after { left: 9px; right: 9px; }
  .brand__tag { display: none; }
  .process { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .process::before, .process__line { display: none; }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .nav__list, .nav__cta { display: none; }
  .nav-toggle { display: grid; }
  .brand__tag { display: block; }
}
@media (max-width: 1024px) {
  .topbar__hours { display: none; }
  .hero .container, .split, .split--wide-left, .leader { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin: 20px auto 0; width: 100%; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta .btn-row { justify-content: flex-start; }
  .related { grid-template-columns: repeat(2, 1fr); }
  .team-card { grid-template-columns: 1fr; }
  .team-card__photo { aspect-ratio: 4 / 3.4; min-height: 0; }
  .leader__photo { max-width: 460px; }
  .check-list--3 { grid-template-columns: 1fr 1fr; }
  .flow__step:not(:last-child)::after { display: none; }
  .subnav { top: 68px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --header-h: 70px; }
  body { font-size: 16px; }
  .topbar { display: none; }
  .brand__mark { width: 64px; }
  .brand__name { font-size: .95rem; }
  .grid-2, .grid-3, .grid-4, .grid-5, .form-grid, .check-list--2, .check-list--3, .gallery { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 26px 18px; gap: 10px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 4px !important; border-left: 0 !important; }
  .stat .icon-badge { width: 42px; height: 42px; }
  .stat .icon-badge .ic { width: 20px; height: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card--a { left: -6px; }
  .float-card--b { right: -6px; }
  .float-card { font-size: .8rem; padding: 8px 12px 8px 8px; }
  .float-card .icon-badge { width: 36px; height: 36px; }
  .hero__ring { display: none; }
  .media-stack { padding: 0 0 28px 28px; }
  .media-badge { right: 8px; padding: 14px 16px; }
  .media-badge strong { font-size: 1.8rem; }
  .related, .quick-actions { grid-template-columns: 1fr 1fr; }
  .glance th, .glance td { padding: 12px 14px; display: block; width: 100% !important; }
  .glance tbody th { border-bottom: 0; padding-bottom: 2px; }
  .glance thead { display: none; }
  .pull-quote { padding: 66px 22px 24px; }
  .pull-quote::before { left: 18px; top: 0; }
  .fab--call { display: grid; }
  .fab-stack { right: 14px; bottom: 14px; }
  .fab { width: 50px; height: 50px; }
  .btn-row .btn { flex: 1 1 auto; }
  .page-hero h1 { max-width: none; }
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(30px); }
  .brand__tag { display: none !important; }
}
@media (max-width: 400px) {
  .grid-6, .process, .related, .quick-actions { grid-template-columns: 1fr; }
  .brand__name { font-size: .84rem; }
  .brand__mark { width: 54px; }
  .brand { gap: 8px; }
}

@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 [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .fab-stack, .mnav, .scroll-progress, .wave { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .page-hero, .hero { background: #fff !important; color: #000; }
}
