/* =========================================================
   Divine Ship Supplies  -  Design System
   Modern, enterprise-grade maritime theme
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --navy-900: #061a30;
  --navy-800: #0a2540;
  --navy-700: #0e3358;
  --blue-600: #115d99;
  --blue-500: #1773c0;
  --blue-400: #2f8fd4;
  --blue-300: #6fb4e3;
  --sky-50:  #eef6fc;

  /* Neutrals */
  --ink:      #0f1f30;
  --slate:    #41566b;
  --muted:    #6b7e92;
  --line:     #e3eaf1;
  --surface:  #ffffff;
  --bg:       #f6f9fc;
  --bg-tint:  #eef4fa;

  /* Accent */
  --gold:     #e6a33a;

  /* Typography */
  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shape */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 6px rgba(10, 37, 64, .05);
  --shadow:    0 10px 30px -12px rgba(10, 37, 64, .18);
  --shadow-lg: 0 24px 60px -20px rgba(10, 37, 64, .28);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { color: var(--slate); }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--blue-400);
  display: inline-block;
}
.section-head { max-width: 660px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { margin-top: .9rem; }
.section-head p { margin-top: 1rem; font-size: 1.05rem; }
.text-center { text-align: center; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--tint { background: var(--bg-tint); }
.section--navy {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #cfdcea;
}
.section--navy h2, .section--navy h3 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(23, 115, 192, .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(23, 115, 192, .75); }
.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue-400); color: var(--blue-600); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--navy-800);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-outline-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

/* ---------- Top contact bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #b9cadb;
  font-size: .84rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 42px;
}
.topbar a { color: #cdd9e6; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar-left span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-left svg { width: 15px; height: 15px; opacity: .8; }
.topbar-social { display: flex; gap: 1rem; }
.topbar-social svg { width: 16px; height: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1.2rem;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 46px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  color: var(--navy-700);
  position: relative;
  padding: .3rem 0;
  transition: color .2s;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--blue-400);
  transition: width .25s ease;
}
.nav-links a:not(.btn):hover { color: var(--blue-600); }
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after { width: 100%; }
.nav-links a:not(.btn).active { color: var(--blue-600); }
.nav-cta { margin-left: 1.4rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 24px; height: 2.5px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after  { transform: translateY(7px); position: relative; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 0; top: 0; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--navy-900);
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6,26,48,.93) 0%, rgba(6,26,48,.72) 42%, rgba(10,37,64,.30) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 720px; padding: 3rem 0; }
.hero .eyebrow { color: var(--blue-300); }
.hero .eyebrow::before { background: var(--blue-300); }
.hero h1 { color: #fff; margin: 1.1rem 0 1.3rem; }
.hero h1 .accent { color: var(--blue-300); }
.hero p { color: #d3e0ee; font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-trust {
  margin-top: 3rem;
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 1.8rem;
}
.hero-trust .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  display: block;
  line-height: 1;
}
.hero-trust .lbl { font-size: .85rem; color: #aebfd0; margin-top: .35rem; }

/* ---------- Stat strip ---------- */
.stat-strip {
  position: relative;
  z-index: 5;
  margin-top: -52px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat-card .stat {
  padding: 1.9rem 1.6rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat-card .stat:last-child { border-right: 0; }
.stat-card .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--blue-600);
  line-height: 1;
}
.stat-card .lbl { margin-top: .5rem; font-size: .9rem; color: var(--muted); }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d2e2f0; }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky-50), #dcebf8);
  color: var(--blue-600);
  margin-bottom: 1.2rem;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .97rem; }
.card .more {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue-600);
}
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* ---------- Service media cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.svc-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
  display: flex;
  flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-media .tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(6,26,48,.78);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem .8rem;
  border-radius: 999px;
}
.svc-body { padding: 1.5rem 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.svc-body h3 { margin-bottom: .55rem; }
.svc-body p { font-size: .96rem; flex: 1; }
.svc-body .more {
  margin-top: 1.1rem;
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--blue-600);
}
.svc-body .more svg { width: 16px; height: 16px; transition: transform .2s; }
.svc-card:hover .more svg { transform: translateX(4px); }

/* ---------- Split / feature section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3.4;
  object-fit: cover;
}
.split-media .badge {
  position: absolute;
  bottom: -26px; left: -26px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 210px;
}
.split-media .badge .num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.split-media .badge .lbl { font-size: .85rem; opacity: .9; margin-top: .3rem; }
.split-body h2 { margin: 1rem 0 1.2rem; }
.split-body p { font-size: 1.04rem; }

.feature-list { margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list .tick {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--sky-50);
  color: var(--blue-600);
  display: grid; place-items: center;
  margin-top: 2px;
}
.feature-list .tick svg { width: 15px; height: 15px; }
.feature-list strong { color: var(--navy-800); font-family: var(--font-head); display: block; font-size: 1rem; }
.feature-list span.txt { color: var(--slate); font-size: .95rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding: clamp(70px, 11vw, 120px) 0 clamp(60px, 9vw, 96px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(47,143,212,.32), transparent 65%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c6d5e5; max-width: 620px; margin-top: 1rem; font-size: 1.1rem; }
.breadcrumb {
  font-size: .85rem;
  color: #9fb4c9;
  margin-top: 1.4rem;
  display: flex; gap: .5rem; align-items: center;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ---------- Mission / Vision ---------- */
.mv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.mv-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 5px; height: 100%;
  background: linear-gradient(var(--blue-400), var(--blue-600));
}
.mv-card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky-50), #dcebf8);
  color: var(--blue-600);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.mv-card .icon svg { width: 28px; height: 28px; }

/* ---------- Value / why-us tiles ---------- */
.value-tile {
  display: flex;
  gap: 1.1rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
}
.value-tile .icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(47,143,212,.16);
  color: var(--blue-300);
  display: grid; place-items: center;
}
.value-tile .icon svg { width: 24px; height: 24px; }
.value-tile h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.value-tile p { color: #aec1d4; font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.6rem, 6vw, 4rem);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band::before {
  content: "";
  position: absolute; right: -80px; bottom: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%);
}
.cta-band-text { position: relative; z-index: 2; max-width: 640px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d3e0ee; margin-top: .7rem; }
.cta-band .hero-actions { position: relative; z-index: 2; margin-top: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.4rem; align-items: start; }
.contact-info { display: grid; gap: 1.2rem; }
.info-card {
  display: flex; gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.info-card .icon {
  flex: none; width: 50px; height: 50px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--sky-50), #dcebf8);
  color: var(--blue-600);
  display: grid; place-items: center;
}
.info-card .icon svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.info-card p, .info-card a { color: var(--slate); font-size: .96rem; display: block; }
.info-card a:hover { color: var(--blue-600); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy-800);
  margin-bottom: .45rem;
}
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47,143,212,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .4rem; }

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

/* ---------- Logo / trust marquee ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; align-items: center; }
.partners .chip {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  font-size: 1.05rem;
  opacity: .8;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--navy-900), #04101f);
  color: #9fb2c6;
  padding-top: clamp(56px, 8vw, 84px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img {
  height: 52px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
}
.footer-brand p { color: #93a7bb; margin-top: 1.1rem; font-size: .95rem; max-width: 320px; }
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.1rem;
  letter-spacing: .01em;
}
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: #9fb2c6; font-size: .95rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: .7rem; font-size: .95rem; margin-bottom: .9rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue-300); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: .8rem; margin-top: 1.4rem; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.footer-social a:hover { background: var(--blue-500); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.6rem 0;
  font-size: .88rem;
  color: #7d92a7;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Ambient motion & abstract background
   ========================================================= */
.amb-host { position: relative; overflow: hidden; }
.amb-host > .container { position: relative; z-index: 1; }

.amb-group {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(var(--amx, 0px), var(--amy, 0px), 0);
}
.amb-group.over { z-index: 1; }

.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(64px);
  opacity: .55;
  will-change: transform;
}
.blob.b-cyan { background: radial-gradient(circle at 32% 30%, rgba(111,180,227,.95), rgba(47,143,212,0) 70%); }
.blob.b-blue { background: radial-gradient(circle at 32% 30%, rgba(23,115,192,.9), rgba(10,37,64,0) 70%); }
.blob.b-soft { background: radial-gradient(circle at 32% 30%, rgba(47,143,212,.55), rgba(47,143,212,0) 70%); opacity: .4; }

.blob.b1 { width: 460px; height: 460px; top: -130px; left: -90px;  animation: drift1 24s ease-in-out infinite; }
.blob.b2 { width: 380px; height: 380px; bottom: -130px; right: -70px; animation: drift2 30s ease-in-out infinite; }
.blob.b3 { width: 540px; height: 540px; top: 6%; right: -160px;        animation: drift3 34s ease-in-out infinite; }

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,42px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-52px,-40px) scale(1.16); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-42px,52px) scale(1.1); } }

/* Faint topographic dot texture on paneled sections */
.section--tint.amb-host::after,
.section--navy.amb-host::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(currentColor 1px, transparent 1.4px);
  background-size: 30px 30px;
  opacity: .05;
}

/* Hero photo slow drift (Ken Burns) + parallax headroom */
.hero-bg { top: -10%; height: 120%; }
.hero-bg img { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15) translate(1.5%, -1.2%); }
}

/* Animated shimmer on hero accent text */
.hero h1 .accent {
  background: linear-gradient(100deg, #6fb4e3 0%, #cfeafb 45%, #6fb4e3 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 7s linear infinite;
}
@keyframes shimmerText { to { background-position: 220% center; } }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
  z-index: 100;
  will-change: transform;
}

/* Button shine sweep */
.btn { position: relative; overflow: hidden; }
.btn > * { position: relative; z-index: 1; }
.btn::after {
  content: "";
  position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
  z-index: 0;
}
.btn:hover::after { left: 150%; }

/* Card top-accent reveal */
.card { overflow: hidden; }
.svc-card { position: relative; }
.card::before, .svc-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .4s ease;
  z-index: 2;
}
.card:hover::before, .svc-card:hover::before { transform: scaleX(1); }

/* Icon lift on card hover */
.card .icon, .mv-card .icon { transition: transform .3s ease, box-shadow .3s ease; }
.card:hover .icon, .mv-card:hover .icon { transform: translateY(-4px); }

/* Value tiles come alive */
.value-tile { transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.value-tile:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }

/* Gently floating badges */
.split-media .badge { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (prefers-reduced-motion: reduce) {
  .blob, .hero-bg img, .amb-group, .hero h1 .accent, .split-media .badge { animation: none !important; }
  .amb-group { transform: none !important; }
  .hero h1 .accent { -webkit-text-fill-color: var(--blue-300); color: var(--blue-300); }
  .btn::after { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { grid-template-columns: repeat(2, 1fr); }
  .stat-card .stat:nth-child(2) { border-right: 0; }
  .stat-card .stat:nth-child(1), .stat-card .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .topbar-left .hide-sm { display: none; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    box-shadow: -20px 0 60px -20px rgba(10,37,64,.4);
    z-index: 60;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links a:not(.btn) { font-size: 1.1rem; }
  .nav-links .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }
  .nav-toggle { display: inline-flex; z-index: 70; position: relative; }
  .nav-overlay {
    position: fixed; inset: 0;
    background: rgba(6,26,48,.45);
    opacity: 0; visibility: hidden;
    transition: opacity .3s;
    z-index: 45;
  }
  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
  body.nav-open .site-header {
    backdrop-filter: none;
    background: #fff;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .split, .split--reverse .split-media { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .split-media .badge { left: 16px; bottom: 16px; }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .svc-grid, .stat-card, .form-row { grid-template-columns: 1fr; }
  .stat-card .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stat-card .stat:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-col { grid-column: auto; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }
  .hero-trust { gap: 1.6rem; }
  .topbar-social { display: none; }
}
