/* ============================================================
   VUC Healthcare — Design System
   Light theme • Platinum/silver metallic accents • Clinical blue-teal
   ============================================================ */

:root {
  /* Brand palette */
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --ink: #101a28;
  --ink-2: #2c3a4d;
  --muted: #5b6879;
  --line: #dde4ee;

  --blue: #1e6fd9;
  --blue-deep: #10498f;
  --teal: #2ba3b8;
  --teal-soft: #e3f4f7;
  --blue-soft: #e8f0fc;

  --silver-1: #f2f4f8;
  --silver-2: #ccd3de;
  --silver-3: #9aa5b5;

  --grad-brand: linear-gradient(115deg, #10498f 0%, #1e6fd9 48%, #2ba3b8 100%);
  --grad-metal: linear-gradient(135deg, #f6f8fb 0%, #c9d0da 30%, #eef1f6 50%, #a4aebd 78%, #dfe4ec 100%);
  --grad-hero: linear-gradient(100deg, rgba(247,250,253,.97) 0%, rgba(247,250,253,.88) 38%, rgba(247,250,253,.35) 68%, rgba(247,250,253,0) 100%);

  --shadow-sm: 0 1px 2px rgba(16,26,40,.06), 0 2px 8px rgba(16,26,40,.05);
  --shadow-md: 0 6px 24px rgba(16,26,40,.09), 0 2px 6px rgba(16,26,40,.05);
  --shadow-lg: 0 18px 50px rgba(16,38,66,.16);

  --radius: 18px;
  --radius-sm: 12px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 92%); margin-inline: auto; }
section { padding: clamp(64px, 8vw, 104px) 0; }

/* Accessibility */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 18px; z-index: 200; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ============ Header / Nav ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, background .3s, border-color .3s;
}
.site-header.scrolled { background: rgba(255,255,255,.92); border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; filter: drop-shadow(0 1px 2px rgba(16,26,40,.25)); }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.brand-name span { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 13px; border-radius: 10px;
  color: var(--ink-2); font-weight: 500; font-size: .93rem; white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.nav-links a.active { color: var(--blue-deep); background: var(--blue-soft); font-weight: 600; }
.nav-cta { margin-left: 8px; }

/* Services dropdown */
.has-sub { position: relative; }
.sub-toggle {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  padding: 9px 13px; border-radius: 10px; border: 0; background: none;
  color: var(--ink-2); font-family: var(--font-body); font-weight: 500; font-size: .93rem; white-space: nowrap;
  transition: background .2s, color .2s;
}
.sub-toggle:hover { background: var(--blue-soft); color: var(--blue-deep); }
.sub-toggle.active { color: var(--blue-deep); background: var(--blue-soft); font-weight: 600; }
.sub-toggle .chev { width: 13px; height: 13px; transition: transform .25s; }
.has-sub.open .sub-toggle .chev, .has-sub:hover .sub-toggle .chev { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: 100%; left: 0; margin: 8px 0 0; padding: 8px; list-style: none;
  min-width: 262px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-sub:hover .sub-menu, .has-sub.open .sub-menu, .has-sub:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: none;
}
.sub-menu a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .92rem; }
.sub-menu a:hover { background: var(--blue-soft); }
.sub-menu a.active { background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, opacity .25s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 6px 18px rgba(30,111,217,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(30,111,217,.42); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.85); color: var(--blue-deep); border: 1px solid var(--silver-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow-md); }
.btn-light { background: #fff; color: var(--blue-deep); box-shadow: 0 6px 18px rgba(6,16,32,.35); }
.btn-light:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.text-link { font-weight: 600; font-size: .93rem; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { color: var(--blue-deep); gap: 9px; }
.text-link { transition: gap .2s, color .2s; }
.text-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============ Hero ============ */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(88vh, 780px); padding: calc(var(--nav-h) + 48px) 0 72px;
  overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-veil { position: absolute; inset: 0; z-index: -1; background: var(--grad-hero); }
.hero-inner { max-width: 640px; }
.hero.hero-sub { min-height: min(66vh, 620px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--blue-deep);
  background: rgba(255,255,255,.8); border: 1px solid var(--silver-2);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); }
.hero h1 .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.13rem; color: var(--ink-2); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* floating orbs + helix decoration */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: -1; pointer-events: none; }
.orb-1 { width: 420px; height: 420px; background: #bcd8ff; top: -120px; right: 6%; animation: drift 14s ease-in-out infinite; }
.orb-2 { width: 300px; height: 300px; background: #bdeef2; bottom: -80px; right: 26%; animation: drift 18s ease-in-out infinite reverse; }
@keyframes drift { 0%,100% { transform: translate(0,0) } 50% { transform: translate(-30px, 24px) } }

.helix { position: absolute; right: 4%; top: 50%; translate: 0 -50%; z-index: -1; opacity: .8; pointer-events: none; }

/* ============ Sections ============ */
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.alt-band { background: var(--surface); border-block: 1px solid var(--line); }

/* metallic divider hairline */
.metal-rule { height: 3px; width: 84px; border-radius: 3px; background: var(--grad-metal); margin: 18px 0 0; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.7), 0 1px 2px rgba(16,26,40,.18); }
.center .metal-rule { margin-inline: auto; }

/* ============ Cards ============ */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-brand); opacity: 0; transition: opacity .28s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cfe0f5; }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 18px; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }
.card .text-link { margin-top: 16px; }

.icon-chip {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-metal); box-shadow: inset 0 0 0 1px rgba(255,255,255,.65), var(--shadow-sm);
}
.icon-chip svg { width: 26px; height: 26px; stroke: var(--blue-deep); }

/* photo cards */
.photo-card { padding: 0; display: flex; flex-direction: column; }
.photo-card .pc-img { height: 210px; overflow: hidden; }
.photo-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-card:hover .pc-img img { transform: scale(1.06); }
.photo-card .pc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.photo-card .pc-body h3 { margin-top: 0; }
.photo-card .pc-body .text-link { margin-top: auto; padding-top: 14px; }

/* benefit strip */
.benefit-strip { position: relative; z-index: 2; margin-top: -46px; }
.benefit-strip .grid { gap: 18px; }
.benefit {
  display: flex; gap: 15px; align-items: flex-start;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; box-shadow: var(--shadow-md);
}
.benefit h3 { font-size: .99rem; margin: 0 0 4px; }
.benefit p { font-size: .87rem; color: var(--muted); margin: 0; }
.benefit .icon-chip { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.benefit .icon-chip svg { width: 21px; height: 21px; }

/* ============ Split feature rows ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 88px); }
.split .media { position: relative; }
.split .media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split .media::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border-radius: var(--radius); background: var(--grad-metal); opacity: .55;
}
.split.rev .media { order: 2; }
.split.rev .media::after { inset: 18px 18px -18px -18px; }
.check-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: .98rem; }
.check-list svg { width: 21px; height: 21px; flex-shrink: 0; margin-top: 2px; }

/* ============ Stats ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { font-size: .88rem; color: var(--muted); margin-top: 4px; }

/* ============ Steps / timeline ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px 30px; box-shadow: var(--shadow-sm); }
.step .step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; color: #fff; background: var(--grad-brand);
  box-shadow: 0 6px 16px rgba(30,111,217,.35); margin-bottom: 18px; font-size: 1.05rem;
}
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }
.step::after {
  content: "→"; position: absolute; top: 42px; right: -22px; color: var(--silver-3); font-size: 1.3rem; font-weight: 700;
}
.step:last-child::after { display: none; }

/* ============ Tabs ============ */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.tab-btn {
  padding: 11px 22px; border-radius: 999px; cursor: pointer; border: 1px solid var(--silver-2);
  background: var(--surface); font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink-2);
  transition: all .22s;
}
.tab-btn:hover { border-color: var(--blue); color: var(--blue-deep); }
.tab-btn.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(30,111,217,.3); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .45s ease; }

/* ============ Accordion ============ */
.accordion { display: grid; gap: 14px; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.acc-item.open { box-shadow: var(--shadow-md); border-color: #cfe0f5; }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 19px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink);
}
.acc-head .acc-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s, background .3s; }
.acc-head .acc-icon svg { width: 14px; height: 14px; stroke: var(--blue-deep); }
.acc-item.open .acc-icon { transform: rotate(45deg); background: var(--grad-brand); }
.acc-item.open .acc-icon svg { stroke: #fff; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .38s ease; }
.acc-body-inner { padding: 0 22px 20px; color: var(--muted); font-size: .95rem; }

/* ============ Testimonials ============ */
.t-slider { position: relative; max-width: 820px; margin-inline: auto; }
.t-track { overflow: hidden; }
.t-slides { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.t-slide { flex: 0 0 100%; padding: 8px; }
.t-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 42px 44px; text-align: center; position: relative;
}
.t-card::before {
  content: "“"; position: absolute; top: 6px; left: 26px; font-family: var(--font-head);
  font-size: 5.2rem; line-height: 1; background: var(--grad-metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.t-card blockquote { margin: 0 0 20px; font-size: 1.1rem; line-height: 1.7; color: var(--ink-2); }
.t-card .t-who { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.t-card .t-role { font-size: .85rem; color: var(--muted); }
.t-stars { color: #f2b01e; letter-spacing: 3px; margin-bottom: 14px; font-size: .95rem; }
.t-dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.t-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--silver-2); cursor: pointer; transition: all .25s; }
.t-dot.active { width: 26px; border-radius: 6px; background: var(--grad-brand); }
.t-arrow {
  position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer;
  display: grid; place-items: center; transition: all .2s; z-index: 2;
}
.t-arrow:hover { box-shadow: var(--shadow-md); border-color: var(--blue); }
.t-arrow svg { width: 18px; height: 18px; stroke: var(--ink-2); }
.t-prev { left: -60px; } .t-next { right: -60px; }

/* ============ Gallery mosaic ============ */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; }
.mosaic a { position: relative; border-radius: var(--radius-sm); overflow: hidden; display: block; box-shadow: var(--shadow-sm); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic a:hover img { transform: scale(1.07); }
.mosaic a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9,26,50,.55));
  opacity: 0; transition: opacity .3s;
}
.mosaic a:hover::after { opacity: 1; }
.mosaic .span-2c { grid-column: span 2; }
.mosaic .span-2r { grid-row: span 2; }
.mosaic .cap {
  position: absolute; left: 16px; bottom: 12px; z-index: 2; color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  opacity: 0; transform: translateY(8px); transition: all .3s;
}
.mosaic a:hover .cap { opacity: 1; transform: translateY(0); }

/* ============ Dark CTA band ============ */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 9vw, 110px) 0; }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7,19,38,.94) 0%, rgba(9,30,60,.86) 50%, rgba(10,40,74,.72) 100%); }
.cta-band h2 { color: #fff; }
.cta-band h2 .metal { background: var(--grad-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-band p { color: #c7d5e8; max-width: 62ch; }
.cta-inner { max-width: 720px; }

/* ============ Comparison table ============ */
.compare-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-head); font-size: .92rem; color: #fff; background: linear-gradient(115deg, #10315e, #10498f); }
.compare thead th:nth-child(2) { background: rgba(255,255,255,.06); background-color: #1d3a63; }
.compare thead th:nth-child(3) { background: var(--grad-brand); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:nth-child(even) { background: var(--bg); }
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare .no { color: #b23b3b; font-weight: 600; white-space: nowrap; }
.compare .yes { color: #0f7d4d; font-weight: 600; white-space: nowrap; }
.compare .yes svg, .compare .no svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; }

/* 4-step variant */
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .steps.steps-4 { grid-template-columns: repeat(2, 1fr); } .steps.steps-4 .step::after { display: none; } }
@media (max-width: 640px) { .steps.steps-4 { grid-template-columns: 1fr; } }

/* fleet spec chips */
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.spec-chips span { font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .04em; padding: 6px 13px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); border: 1px solid #cfe0f5; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 38px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: #d64545; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 11px; border: 1.5px solid var(--line);
  background: var(--bg); font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,111,217,.13); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { display: none; color: #d64545; font-size: .8rem; margin-top: 5px; }
.field.invalid input, .field.invalid textarea { border-color: #d64545; }
.field.invalid .err { display: block; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none; background: #e9f8ef; border: 1px solid #b7e4c7; color: #1d6b3a;
  border-radius: 11px; padding: 15px 18px; font-size: .93rem; margin-bottom: 18px;
}
.info-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 16px; transition: transform .25s, box-shadow .25s; }
.info-card:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.info-card h3 { font-size: .98rem; margin: 0 0 4px; }
.info-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.info-card a { font-weight: 600; }
.map-frame { border: 0; width: 100%; height: 330px; border-radius: var(--radius); box-shadow: var(--shadow-md); margin-top: 8px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours-table td { padding: 4px 0; color: var(--muted); }
.hours-table td:first-child { padding-right: 16px; }
.hours-table td:last-child { text-align: right; color: var(--ink); font-weight: 600; }

/* ============ Footer ============ */
.site-footer { background: #0b1626; color: #b9c6d9; padding: 72px 0 0; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-metal);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 44px; padding-bottom: 52px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: .04em; }
.site-footer p { font-size: .9rem; line-height: 1.75; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand .brand-name { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: #b9c6d9; font-size: .92rem; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; font-size: .92rem; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; stroke: var(--teal); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: #b9c6d9; } .footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: #8496ad; }

/* ============ Legal pages ============ */
.page-head {
  padding: calc(var(--nav-h) + 64px) 0 48px;
  background: linear-gradient(180deg, #e9eff8 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.page-head .doc-meta { color: var(--muted); font-size: .92rem; }
.legal { max-width: 880px; margin-inline: auto; }
.legal h2 { font-size: 1.32rem; margin: 2.4em 0 .6em; }
.legal h3 { font-size: 1.04rem; margin: 1.7em 0 .5em; }
.legal p, .legal li { color: var(--ink-2); font-size: .97rem; line-height: 1.75; }
.legal ul { padding-left: 1.35em; margin: 0 0 1.1em; }
.legal li { margin-bottom: .45em; }
.legal .callout {
  background: var(--blue-soft); border: 1px solid #cfe0f5; border-radius: var(--radius-sm);
  padding: 18px 22px; font-size: .95rem; margin: 0 0 1.6em;
}
.legal .callout.warn { background: #fdf1ee; border-color: #f3cfc5; }
.legal .toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 24px; margin: 0 0 2em; box-shadow: var(--shadow-sm);
}
.legal .toc strong { font-family: var(--font-head); font-size: .95rem; color: var(--ink); display: block; margin-bottom: 10px; }
.legal .toc ol { columns: 2; column-gap: 36px; margin: 0; padding-left: 1.3em; font-size: .9rem; }
.legal .toc li { margin-bottom: .35em; }
.legal .toc a { color: var(--ink-2); }
.legal .toc a:hover { color: var(--blue-deep); }
@media (max-width: 640px) { .legal .toc ol { columns: 1; } }
.footer-bottom a { color: #8496ad; }
.footer-bottom a:hover { color: #fff; }

/* back to top */
.to-top {
  position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; border: 0; cursor: pointer; z-index: 90;
  box-shadow: 0 8px 22px rgba(30,111,217,.4); display: grid; place-items: center;
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: all .3s;
}
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { transform: translateY(-3px); }

/* ============ Reveal animations ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .helix ellipse { animation: none !important; }
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .t-prev { left: -8px; } .t-next { right: -8px; }
  .nav-links a { padding: 9px 9px; font-size: .87rem; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #ffffff;
    flex-direction: column; align-items: stretch; padding: 18px 5vw 26px; gap: 4px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .3s;
  }
  .nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .nav-cta { margin: 10px 0 0; }
  .has-sub { display: block; }
  .sub-toggle { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: 1rem; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 2px 0 6px 16px; padding: 0 0 0 8px;
  }
  .sub-menu::before { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.rev .media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .step::after { content: "↓"; top: auto; bottom: -30px; right: 50%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .helix { display: none; }
  .benefit-strip { margin-top: -20px; }
  .hero { min-height: 0; }
}
@media (max-width: 560px) {
  .grid-4, .stats, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .t-card { padding: 34px 24px; }
  .t-arrow { display: none; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic .span-2c { grid-column: auto; }
}
