/* ==========================================================================
   Rainbow Star Transport Ltd. — Design System
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #050b1c;
  --navy-900: #081430;
  --navy-850: #0b1a3d;
  --navy-800: #0f2250;
  --navy-700: #1b2f5e;          /* logo navy */
  --navy-500: #3a5292;
  --red: #e5322d;
  --orange: #f47b20;
  --yellow: #fbbf24;
  --green: #22a356;
  --blue: #1e88e5;

  --rainbow: linear-gradient(90deg, #e5322d 0%, #f47b20 22%, #fbbf24 42%, #22a356 62%, #1e88e5 82%, #1b2f5e 100%);
  --sunset: linear-gradient(100deg, #e5322d 0%, #f47b20 100%);

  /* Neutrals */
  --ink: #0c1730;
  --body: #46536b;
  --muted: #6b7890;
  --line: #e4e9f1;
  --line-dark: rgba(255, 255, 255, .12);
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --surface-3: #edf1f8;

  /* Type */
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 84px;

  --shadow-sm: 0 2px 6px rgba(8, 20, 48, .06);
  --shadow: 0 18px 50px -18px rgba(8, 20, 48, .25);
  --shadow-lg: 0 40px 90px -30px rgba(8, 20, 48, .45);
  --ease: cubic-bezier(.22, .9, .25, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
main, .footer { overflow-x: clip; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 800;
}
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--navy-700); color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 999; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--navy-900); color: rgba(255,255,255,.72); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--reverse > :first-child { order: 2; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 36px; height: 3px; border-radius: 3px; background: var(--rainbow); }
.section--dark .eyebrow, .on-dark .eyebrow { color: #fff; }

.h-display { font-size: clamp(2.5rem, 6.4vw, 5.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.h-xl { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.h-lg { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
.h-md { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.75; color: var(--body); }
.text-rainbow {
  background: linear-gradient(90deg, #ff5a4f 0%, #ff9a3c 30%, #ffd24a 55%, #4cd486 78%, #4aa8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.italic { font-style: italic; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head--row > div { max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy-700); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 100px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap; isolation: isolate; overflow: hidden;
}
.btn .icon { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(8,20,48,.45); }
.btn:hover .icon { transform: translateX(4px); }
.btn--primary { background: var(--sunset); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, #f47b20, #e5322d); opacity: 0; transition: opacity .35s; }
.btn--primary:hover::after { opacity: 1; }
.btn--primary:hover { box-shadow: 0 16px 36px -10px rgba(229,50,45,.55); }
.btn--light { --bg: #fff; --fg: var(--navy-800); }
.btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn--ghost:hover { --bg: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--outline { --bg: transparent; --fg: var(--navy-700); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--navy-700); }
.btn--lg { padding: 19px 34px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--navy-700); }
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Top bar ---------- */
.topbar {
  position: relative; z-index: 60;
  background: var(--navy-950); color: rgba(255,255,255,.7);
  font-size: 13.5px;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 42px; gap: 20px; }
.topbar__group { display: flex; align-items: center; gap: 26px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a { min-height: 42px; }
.topbar a, .topbar span { white-space: nowrap; }
@media (max-width: 1024px) { .topbar__group--hide-sm > span { display: none; } }
.topbar a:hover { color: #fff; }
.topbar .icon { font-size: 15px; color: var(--yellow); }
.topbar__live { color: #fff; }
.topbar__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ee07f; box-shadow: 0 0 0 0 rgba(62,224,127,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62,224,127,.6);} 70% { box-shadow: 0 0 0 8px rgba(62,224,127,0);} 100% { box-shadow: 0 0 0 0 rgba(62,224,127,0);} }

/* ---------- Header ---------- */
.header {
  position: absolute; left: 0; right: 0; top: 42px; z-index: 50;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s, height .4s var(--ease), top .4s;
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-scrolled {
  position: fixed; top: 0; height: 74px;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(8,20,48,.35);
  animation: slideDown .5s var(--ease);
}
@keyframes slideDown { from { transform: translateY(-100%);} to { transform: none; } }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; min-height: 44px; }
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 19px; letter-spacing: .01em; color: #fff; text-transform: uppercase; transition: color .3s; }
.brand__sub { font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: .32em; color: rgba(255,255,255,.7); text-transform: uppercase; margin-top: 5px; transition: color .3s; }
.header.is-scrolled .brand__name, .header--solid .brand__name { color: var(--navy-700); }
.header.is-scrolled .brand__sub, .header--solid .brand__sub { color: var(--muted); }
.header.is-scrolled .brand img { height: 40px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 16px; border-radius: 100px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: rgba(255,255,255,.88); transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--rainbow); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header.is-scrolled .nav__link { color: var(--ink); }
.header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__link.is-active { color: var(--navy-700); }

.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { display: flex; align-items: center; gap: 12px; color: #fff; transition: color .3s; }
.header__phone-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background .3s; }
.header__phone-icon .icon { font-size: 19px; }
.header__phone small { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; line-height: 1.2; }
.header__phone strong { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.3; }
.header.is-scrolled .header__phone { color: var(--ink); }
.header.is-scrolled .header__phone-icon { background: var(--surface-3); box-shadow: none; color: var(--navy-700); }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; place-items: center; }
.menu-toggle .icon { font-size: 22px; }
.header.is-scrolled .menu-toggle { background: var(--surface-3); color: var(--navy-700); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(5,11,28,.6); opacity: 0; transition: opacity .4s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--navy-900); color: #fff; padding: 24px 28px 32px;
  transform: translateX(100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.drawer__close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; }
.drawer__close .icon { font-size: 22px; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.drawer__nav a .icon { font-size: 22px; opacity: .5; }
.drawer__nav a.is-active { color: var(--yellow); }
.drawer__foot { margin-top: auto; padding-top: 36px; display: grid; gap: 14px; }
.drawer__foot a.drawer__contact { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.8); }
.drawer__foot .icon { color: var(--yellow); font-size: 18px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: max(760px, 100svh); color: #fff;
  display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-950);
  padding: calc(42px + var(--header-h) + 60px) 0 0;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; transform: scale(1.12); animation: kenburns 22s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,11,28,.92) 0%, rgba(5,11,28,.72) 38%, rgba(5,11,28,.2) 70%, rgba(5,11,28,.35) 100%),
    linear-gradient(0deg, rgba(5,11,28,.95) 0%, rgba(5,11,28,0) 45%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: 56px; }
.hero__content { max-width: 960px; }
.hero__content .hero__lead { max-width: 600px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 100px;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 500; margin-bottom: 30px;
}
.hero__badge b { background: var(--sunset); color: #fff; font-family: var(--font-display); font-size: 12px; letter-spacing: .12em; padding: 5px 12px; border-radius: 100px; text-transform: uppercase; }
.hero h1 { color: #fff; margin-bottom: 28px; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.78); max-width: 600px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__bar {
  position: relative; z-index: 2; margin-top: clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__bar-item { padding: 28px 28px 34px 0; display: flex; gap: 16px; align-items: flex-start; }
.hero__bar-item + .hero__bar-item { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.14); }
.hero__bar-item .icon { font-size: 26px; color: var(--yellow); margin-top: 2px; }
.hero__bar-item strong { display: block; font-family: var(--font-display); color: #fff; font-size: 16.5px; font-weight: 700; margin-bottom: 2px; }
.hero__bar-item span { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.5; display: block; }

.scroll-cue { position: absolute; right: var(--gutter); bottom: 150px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 14px; color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; width: 1px; height: 70px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: cue 2.4s infinite var(--ease); transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0);} 50% { transform: scaleY(1);} 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden; background: var(--navy-950);
  padding: calc(42px + var(--header-h) + clamp(70px, 10vw, 130px)) 0 clamp(70px, 9vw, 120px);
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 18s ease-out forwards; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,11,28,.94) 0%, rgba(5,11,28,.7) 50%, rgba(5,11,28,.35) 100%), linear-gradient(0deg, rgba(5,11,28,.6), transparent 50%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 900px; letter-spacing: -.03em; margin-bottom: 22px; }
.page-hero p { max-width: 620px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.75); margin: 0; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 26px; font-family: var(--font-display); font-weight: 600; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: var(--yellow); }
.rainbow-rule { height: 4px; background: var(--rainbow); }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy-900); color: #fff; overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(1.3rem, 2.4vw, 2rem); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.marquee__item svg.star { width: 26px; height: 26px; }
.marquee__item:nth-child(odd) span { -webkit-text-stroke: 1.2px rgba(255,255,255,.7); color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / About split ---------- */
.collage { position: relative; padding: 0 0 70px 0; }
.collage__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/4.4; box-shadow: var(--shadow-lg); }
.collage__main img { width: 100%; height: 100%; object-fit: cover; }
.collage__sub { position: absolute; right: -6%; bottom: 0; width: 52%; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.collage__sub img { width: 100%; height: 100%; object-fit: cover; }
.collage__badge {
  position: absolute; left: -24px; top: 40px; background: #fff; border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 16px; max-width: 280px;
}
.collage__badge-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--navy-700); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.collage__badge-icon .icon { font-size: 26px; }
.collage__badge strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 16px; line-height: 1.25; }
.collage__badge span { font-size: 13.5px; color: var(--muted); line-height: 1.4; display: block; margin-top: 3px; }
.collage__ring { position: absolute; width: 180px; height: 180px; left: -50px; bottom: 10px; border-radius: 50%; background: conic-gradient(from 0deg, #e5322d, #f47b20, #fbbf24, #22a356, #1e88e5, #1b2f5e, #e5322d); filter: blur(60px); opacity: .35; z-index: -1; }

.checklist { display: grid; gap: 14px; margin: 30px 0 38px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist .tick { width: 26px; height: 26px; border-radius: 50%; background: rgba(34,163,86,.12); color: var(--green); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.checklist .tick .icon { font-size: 15px; stroke-width: 2.6; }
.checklist--2 { grid-template-columns: 1fr 1fr; }
.on-dark .checklist li, .section--dark .checklist li { color: #fff; }

.signature { display: flex; align-items: center; gap: 18px; padding-top: 30px; border-top: 1px solid var(--line); }
.monogram {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 800; color: var(--navy-700); font-size: 18px; letter-spacing: .02em;
  border: 3px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(#e5322d, #f47b20, #fbbf24, #22a356, #1e88e5, #1b2f5e, #e5322d) border-box;
}
.signature strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 17px; }
.signature span { font-size: 14px; color: var(--muted); }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.svc-card {
  grid-column: span 4; position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 460px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  background: var(--navy-900);
}
.svc-card--wide { grid-column: span 6; }
.svc-card__img { position: absolute; inset: 0; z-index: -2; }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,11,28,.05) 0%, rgba(5,11,28,.35) 45%, rgba(5,11,28,.94) 100%); transition: background .5s; }
.svc-card:hover .svc-card__img img { transform: scale(1.08); }
.svc-card:hover::before { background: linear-gradient(180deg, rgba(5,11,28,.25) 0%, rgba(5,11,28,.6) 40%, rgba(5,11,28,.97) 100%); }
.svc-card__num { position: absolute; top: 26px; left: 30px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .12em; color: rgba(255,255,255,.75); }
.svc-card__icon { position: absolute; top: 22px; right: 22px; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); display: grid; place-items: center; transition: background .4s, transform .5s var(--ease); }
.svc-card__icon .icon { font-size: 24px; }
.svc-card:hover .svc-card__icon { background: var(--sunset); transform: rotate(-12deg); }
.svc-card__body { padding: 30px; }
.svc-card h3 { color: #fff; font-size: clamp(1.4rem, 2vw, 1.75rem); margin-bottom: 10px; }
.svc-card p { color: rgba(255,255,255,.75); font-size: 15.5px; margin: 0; max-width: 440px; }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 100px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); color: #fff; letter-spacing: .02em; }
.svc-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--yellow); max-height: 0; opacity: 0; overflow: hidden; transition: all .5s var(--ease); }
.svc-card:hover .svc-card__more, .svc-card:focus-visible .svc-card__more { max-height: 40px; opacity: 1; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--line-dark); gap: 1px; }
.stat { background: var(--navy-900); padding: 40px 32px; }
.stat__value { font-family: var(--font-display); font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 2px; }
.stat__value sup { font-size: .45em; top: 0; color: var(--yellow); }
.stat__label { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.65); line-height: 1.5; }
.stat__bar { height: 3px; width: 44px; margin-top: 22px; border-radius: 3px; }

/* ---------- Equipment ---------- */
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.equip { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); display: flex; flex-direction: column; }
.equip:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.equip__img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.equip__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.equip:hover .equip__img img { transform: scale(1.06); }
.equip__chip { position: absolute; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.95); color: var(--navy-700); font-family: var(--font-display); font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 100px; }
.equip__chip .icon { font-size: 16px; }
.equip__body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.equip__body h3 { font-size: 1.45rem; margin-bottom: 10px; }
.equip__body p { font-size: 15.5px; }
.specs { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.specs div { background: var(--surface-2); padding: 12px 16px; }
.specs dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.specs dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 15px; }

/* ---------- Process ---------- */
.process { position: relative; overflow: hidden; }
.process__bg { position: absolute; inset: 0; }
.process__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.process__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 0%, rgba(30,136,229,.25), transparent 60%), linear-gradient(180deg, var(--navy-900) 0%, rgba(8,20,48,.85) 50%, var(--navy-900) 100%); }
.process .container { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 37px; left: 40px; right: 40px; height: 2px; background: var(--rainbow); opacity: .6; }
.step { position: relative; }
.step__dot { width: 76px; height: 76px; border-radius: 50%; background: var(--navy-850); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 0 0 8px var(--navy-900); display: grid; place-items: center; color: #fff; margin-bottom: 28px; position: relative; transition: background .4s; }
.step:hover .step__dot { background: var(--sunset); }
.step__dot .icon { font-size: 28px; }
.step__n { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--navy-900); font-family: var(--font-display); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: rgba(255,255,255,.65); margin: 0; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 36px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rainbow); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature:hover::after { transform: scaleX(1); }
.feature__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px; color: #fff; }
.feature__icon .icon { font-size: 27px; }
.feature h3 { font-size: 1.28rem; margin-bottom: 10px; }
.feature p { font-size: 15.5px; margin: 0; }
.bg-red { background: linear-gradient(135deg, #ff5a4f, #e5322d); }
.bg-orange { background: linear-gradient(135deg, #ff9d4d, #f47b20); }
.bg-yellow { background: linear-gradient(135deg, #ffd24a, #f2a90c); }
.bg-green { background: linear-gradient(135deg, #3fcf7c, #1a9049); }
.bg-blue { background: linear-gradient(135deg, #4aa8ff, #1e6fd0); }
.bg-navy { background: linear-gradient(135deg, #3a5292, #1b2f5e); }

/* ---------- Safety band ---------- */
.band-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 560px; }
.band-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; left: 24px; right: 24px; bottom: 24px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 18px; align-items: center; box-shadow: var(--shadow); }
.float-card .icon-wrap { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.float-card .icon-wrap .icon { font-size: 24px; }
.float-card strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 16.5px; }
.float-card span { font-size: 14px; color: var(--muted); }

.pillars { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.pillar__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; color: var(--navy-700); }
.pillar__icon .icon { font-size: 24px; }
.pillar h4 { font-size: 1.12rem; margin: 4px 0 4px; }
.pillar p { margin: 0; font-size: 15.5px; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.industry { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; text-align: center; background: #fff; transition: all .4s var(--ease); }
.industry:hover { border-color: var(--navy-700); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.industry .icon { font-size: 32px; color: var(--navy-700); margin: 0 auto 14px; }
.industry span { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 14.5px; line-height: 1.35; }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; padding: clamp(50px, 7vw, 90px) clamp(28px, 6vw, 80px); isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5,11,28,.95) 0%, rgba(8,20,48,.85) 50%, rgba(15,34,80,.55) 100%); }
.cta::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--rainbow); }
.cta__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.75); font-size: 1.1rem; margin: 0; max-width: 560px; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.cta__phone { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: background .3s; }
.cta__phone:hover { background: rgba(255,255,255,.14); }
.cta__phone .icon-wrap { width: 50px; height: 50px; border-radius: 50%; background: var(--sunset); display: grid; place-items: center; flex-shrink: 0; }
.cta__phone .icon { font-size: 22px; }
.cta__phone small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.6); }
.cta__phone strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }

/* ---------- Service detail (services page) ---------- */
.subnav { position: sticky; top: 74px; z-index: 30; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 12px; padding-bottom: 12px; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; padding: 9px 18px; border-radius: 100px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--body); transition: all .25s; }
.subnav a:hover { background: var(--surface-3); color: var(--ink); }
.subnav a.is-active { background: var(--navy-700); color: #fff; }

.svc-detail { scroll-margin-top: 150px; }
.svc-detail + .svc-detail { border-top: 1px solid var(--line); }
.svc-detail__media { position: relative; isolation: isolate; }
.svc-detail__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow); }
.svc-detail__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail__index { position: absolute; top: -64px; left: -10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 9vw, 8rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(27,47,94,.18); z-index: -1; }
.split--reverse .svc-detail__index { left: auto; right: -10px; }
.svc-detail__label { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 100px; background: var(--surface-3); color: var(--navy-700); font-family: var(--font-display); font-weight: 700; font-size: 13px; margin-bottom: 20px; }
.svc-detail__label .icon { font-size: 17px; }
.mode-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 32px; }
.mode-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.mode-card:hover { border-color: var(--navy-700); box-shadow: var(--shadow-sm); }
.mode-card .icon { font-size: 24px; color: var(--navy-700); margin-bottom: 10px; }
.mode-card strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 15px; line-height: 1.3; }
.mode-card span { font-size: 13.5px; color: var(--muted); line-height: 1.45; display: block; margin-top: 4px; }

/* comparison table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: 15.5px; }
.compare th, .compare td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy-900); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.compare tbody th { font-family: var(--font-display); color: var(--ink); font-weight: 700; width: 26%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: var(--surface-2); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { padding: 34px 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-dark); transition: background .4s, transform .5s var(--ease); }
.value:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); }
.value__icon { font-size: 30px; margin-bottom: 22px; }
.value__icon .icon { font-size: 30px; }
.value h3 { font-size: 1.25rem; margin-bottom: 10px; }
.value p { font-size: 15.5px; margin: 0; color: rgba(255,255,255,.65); }

.founder { display: grid; grid-template-columns: 340px 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 60px); box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden; }
.founder::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--rainbow); }
.founder__card { aspect-ratio: 1/1.08; border-radius: var(--radius); background: var(--navy-900); position: relative; overflow: hidden; display: grid; place-items: center; }
.founder__card img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.founder__card .monogram { width: 150px; height: 150px; font-size: 52px; border-width: 5px; position: relative; z-index: 1; }
.founder__card figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; color: #fff; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.quote-mark { font-family: Georgia, serif; font-size: 110px; line-height: .6; height: 50px; display: block; background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.founder blockquote { margin: 0 0 28px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--red), var(--orange), var(--yellow), var(--green), var(--blue)); }
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 0 0 36px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; color: var(--navy-700); position: relative; z-index: 1; }
.tl-dot .icon { font-size: 22px; }
.tl-item h4 { font-size: 1.15rem; margin: 6px 0 6px; }
.tl-item p { margin: 0; font-size: 15.5px; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 20px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(5,11,28,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 100px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.c-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
a.c-card:hover { border-color: var(--navy-700); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.c-card .c-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex-shrink: 0; margin: 0; }
.c-card__icon .icon { font-size: 23px; }
.c-card small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.c-card strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.12rem; line-height: 1.35; margin-top: 4px; word-break: break-word; }
.c-card span { font-size: 14.5px; color: var(--body); display: block; margin-top: 2px; }
.dispatch-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.dispatch-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.dispatch-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,11,28,.95), rgba(5,11,28,.25)); }
.dispatch-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.dispatch-card p { margin: 0; color: rgba(255,255,255,.75); font-size: 15px; }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); 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: 4px; background: var(--rainbow); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.form-card > p { margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 8px; }
.field label em { color: var(--red); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2);
  transition: border-color .25s, background .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%231b2f5e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 4px rgba(27,47,94,.1); }
.field input::placeholder, .field textarea::placeholder { color: #9aa5b8; }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 100px; border: 1.5px solid var(--line); background: var(--surface-2); font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .25s; }
.chip span .icon { font-size: 17px; color: var(--navy-700); }
.chip input:checked + span { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.chip input:checked + span .icon { color: var(--yellow); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13.5px; max-width: 360px; line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.is-visible { display: block; }
.form-success .check-ring { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; background: rgba(34,163,86,.12); color: var(--green); display: grid; place-items: center; }
.form-success .check-ring .icon { font-size: 40px; stroke-width: 2.4; }

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; flex-shrink: 0; transition: transform .4s var(--ease), background .3s, color .3s; color: var(--navy-700); }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--navy-700); color: #fff; }
.faq .faq__a { padding: 0 28px 26px; font-size: 16px; }
.faq .faq__a p { margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.62); position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--rainbow); }
.footer__top { padding: clamp(70px, 9vw, 110px) 0 60px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
.footer .brand { margin-bottom: 24px; }
.footer .brand__name { color: #fff; }
.footer p { font-size: 15.5px; max-width: 340px; }
.footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 24px; }
.footer__links { display: grid; gap: 12px; font-size: 15.5px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; transition: color .25s, transform .3s var(--ease); }
.footer__links a:hover { color: #fff; transform: translateX(4px); }
.footer__contact { display: grid; gap: 18px; font-size: 15.5px; }
.footer__contact a, .footer__contact div { display: flex; gap: 14px; align-items: flex-start; transition: color .25s; }
.footer__contact a:hover { color: #fff; }
.footer__contact .icon { font-size: 19px; color: var(--yellow); margin-top: 4px; }
.footer__contact strong { color: #fff; font-weight: 600; display: block; }
.footer__big { font-family: var(--font-display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(3rem, 11.5vw, 10.5rem); line-height: .85; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); white-space: nowrap; text-align: center; user-select: none; padding: 0 0 10px; margin-bottom: -.12em; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer__bottom a:hover { color: #fff; }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--navy-700); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--red); }
.to-top .icon { font-size: 22px; transform: rotate(-90deg); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal--left { transform: translateX(-50px); }
.reveal--right { transform: translateX(50px); }
.reveal--zoom { transform: scale(.94); }
.reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1.2s; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header__phone > div { display: none; }
  .nav__link { padding: 10px 12px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .reveal--left, .reveal--right { transform: translateY(40px); }
  .nav, .header__cta .btn { display: none; }
  .menu-toggle { display: grid; }
  .split, .cta__grid, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .hero__bar { grid-template-columns: 1fr 1fr; }
  .hero__bar-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__bar-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .svc-card, .svc-card--wide { grid-column: span 6; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .steps::before { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .equip-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder__card { max-width: 360px; }
  .collage { max-width: 620px; }
  .scroll-cue { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 200px 200px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery figure:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .reveal--left, .reveal--right { transform: translateY(40px); }
  :root { --header-h: 72px; }
  .topbar__group--hide-sm, .topbar__hide-sm { display: none !important; }
  .topbar .container { justify-content: center; }
  .brand img { height: 38px; }
  .brand__name { font-size: 16px; }
  .brand__sub { font-size: 10.5px; letter-spacing: .22em; }
  .hero { min-height: auto; padding-top: calc(42px + var(--header-h) + 50px); }
  .hero__media img { object-position: 72% 60%; }
  .hero__media::after, .page-hero__media::after { background: linear-gradient(180deg, rgba(5,11,28,.7) 0%, rgba(5,11,28,.72) 45%, rgba(5,11,28,.96) 100%); }
  .hero__badge { font-size: 13px; padding-right: 14px; }
  .hero__badge b { white-space: nowrap; }
  .hero__bar { grid-template-columns: 1fr; }
  .hero__bar-item, .hero__bar-item + .hero__bar-item { padding: 20px 0; border-left: 0; }
  .hero__bar-item + .hero__bar-item { border-top: 1px solid rgba(255,255,255,.14); }
  .hero__actions .btn { flex: 1 1 100%; }
  .svc-card, .svc-card--wide { grid-column: 1 / -1; min-height: 420px; }
  .svc-card__more { max-height: 40px; opacity: 1; }
  .stats, .steps, .features, .equip-grid, .values { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
  .checklist--2 { grid-template-columns: 1fr; }
  .mode-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .collage { padding-bottom: 40px; }
  .collage__sub { right: 0; width: 46%; border-width: 5px; }
  .collage__badge { left: 12px; top: 12px; padding: 14px 16px; max-width: 230px; }
  .collage__badge-icon { width: 44px; height: 44px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .band-img { min-height: 440px; }
  .float-card { left: 14px; right: 14px; bottom: 14px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .gallery figure:first-child, .gallery figure:nth-child(4) { grid-column: auto; }
  .compare th, .compare td { padding: 14px 16px; }
  .section-head--row { align-items: start; }
  .svc-detail__index { display: none; }
  .to-top { right: 14px; bottom: 14px; }
}

/* Small phones (iPhone SE 1st gen, compact Androids) */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .brand { gap: 8px; }
  .brand img { height: 32px; }
  .header.is-scrolled .brand img { height: 32px; }
  .brand__name { font-size: 14.5px; }
  .brand__sub { font-size: 10px; letter-spacing: .16em; }
  .header__cta { gap: 8px; }
  .header__phone-icon { width: 42px; height: 42px; }
  .menu-toggle { width: 44px; height: 44px; }
  .h-display { font-size: 2.3rem; }
  .btn--lg { padding: 17px 24px; }
  .hero__badge { font-size: 12.5px; }
  .industries { grid-template-columns: 1fr 1fr; gap: 10px; }
  .industry { padding: 22px 12px; }
  .chip span { padding: 10px 14px; font-size: 14px; }
}
