/* ============================================================
   NAUTICAL INTEGRITY SOLUTIONS — Design System v3
   Palette extracted from legacy site:
     #476fd6  royal blue        (primary brand)
     #16163f  midnight navy     (deep dark)
     #5D5D5D  slate grey        (alt surface)
     #ecf0f2  off-white         (light bg)
     #ffffff  pure white
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* ─── TOKENS ────────────────────────────────────────────────── */
:root {
  /* Brand palette */
  --c-royal:        #476fd6;
  --c-royal-deep:   #2f56b8;
  --c-royal-light:  #6e8fe0;
  --c-navy:         #16163f;
  --c-navy-deep:    #0d0d2a;
  --c-navy-soft:    #232358;
  --c-slate:        #5D5D5D;
  --c-slate-dark:   #424242;
  --c-paper:        #ecf0f2;
  --c-paper-warm:   #f4f5f7;
  --c-white:        #ffffff;
  --c-mist:         #aab1c2;
  --c-text:         #22323d;
  --c-text-soft:    #555d66;
  --c-line:         rgba(71, 111, 214, 0.18);
  --c-line-dark:    rgba(22, 22, 63, 0.10);

  /* Typography */
  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Type scale (fluid) */
  --t-xs:   0.72rem;
  --t-sm:   0.85rem;
  --t-base: 1rem;
  --t-md:   clamp(1.05rem, 1vw + 0.85rem, 1.18rem);
  --t-lg:   clamp(1.25rem, 1.2vw + 1rem, 1.5rem);
  --t-xl:   clamp(1.6rem, 1.8vw + 1.1rem, 2.1rem);
  --t-2xl:  clamp(2rem, 2.6vw + 1.2rem, 2.85rem);
  --t-3xl:  clamp(2.6rem, 4vw + 1rem, 4rem);
  --t-4xl:  clamp(3.2rem, 6vw + 1rem, 5.8rem);
  --t-5xl:  clamp(4rem, 8vw + 1rem, 7.5rem);

  /* Spacing */
  --s-1:.25rem; --s-2:.5rem; --s-3:.75rem; --s-4:1rem;
  --s-6:1.5rem; --s-8:2rem;  --s-10:2.5rem; --s-12:3rem;
  --s-16:4rem; --s-20:5rem; --s-24:6rem; --s-32:8rem;

  /* Layout */
  --maxw:       1240px;
  --maxw-text:  640px;

  /* Motion */
  --ease:     cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.16,.84,.32,1);
  --d-fast:   180ms;
  --d:        320ms;
  --d-slow:   650ms;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  font-weight: 300;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--c-royal); color: var(--c-white); }

/* ═══════════════════════════════════════════════════════════════
   LOADING SPLASH — shown on first visit per session
   ═══════════════════════════════════════════════════════════════ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 700ms var(--ease), visibility 700ms var(--ease);
}
.splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash__inner {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.splash__logo {
  width: 120px;
  height: auto;
  animation: splash-pulse 2.2s ease-in-out infinite;
  z-index: 1;
}
.splash__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: splash-spin 3.5s linear infinite;
}
@keyframes splash-spin {
  to { transform: rotate(360deg); }
}
@keyframes splash-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .7; }
}
@media (max-width: 700px) {
  .splash__inner { width: 180px; height: 180px; }
  .splash__logo  { width: 95px; }
}
@media (prefers-reduced-motion: reduce) {
  .splash__ring  { animation: none; }
  .splash__logo  { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER — Floating pill (DEPRECATED, hidden — replaced by inline nav)
   ═══════════════════════════════════════════════════════════════ */
.lang-switcher { display: none !important; }
.lang-switcher__btn { display: none; }

/* ═══════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER — Inline minimal, inside nav (premium)
   ═══════════════════════════════════════════════════════════════ */
.nav__lang {
  display: none;
  align-items: center;
  gap: .35rem;
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .15em;
  padding-right: var(--s-4);
  margin-right: var(--s-2);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.nav__lang-btn {
  color: rgba(255,255,255,0.45);
  padding: .55rem .35rem;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  transition: color var(--d) var(--ease);
  text-transform: uppercase;
  font-weight: 500;
  min-width: 26px;
}
.nav__lang-btn:hover { color: var(--c-white); }
.nav__lang-btn.active { color: var(--c-royal-light); }
.nav__lang-sep {
  color: rgba(255,255,255,0.22);
  font-weight: 300;
  user-select: none;
}
@media (min-width: 900px) { .nav__lang { display: inline-flex; } }

/* ═══════════════════════════════════════════════════════════════
   HERO MICROCOPY — small trust line below CTAs
   ═══════════════════════════════════════════════════════════════ */
.hero__microcopy {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: var(--s-3);
}
@media (max-width: 700px) {
  .hero__microcopy { font-size: .62rem; letter-spacing: .15em; }
}

/* ═══════════════════════════════════════════════════════════════
   I18N — fade transition al cambiar de idioma (suaviza el switch)
   ═══════════════════════════════════════════════════════════════ */
body { transition: opacity 200ms ease; }
html.i18n-switching body { opacity: 0.15; }


/* ─── SCROLL PROGRESS BAR ─── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  right: 0;
  height: 2px;
  background: var(--c-royal);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 200;
  pointer-events: none;
  transition: transform 80ms linear;
}

/* ─── ENTRANCE ANIMATIONS ─── */
@keyframes anim-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes anim-rise-word {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-in {
  opacity: 0;
  animation: anim-rise .9s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}
.anim-word {
  display: inline-block;
  opacity: 0;
  animation: anim-rise-word 1s var(--ease-out) forwards;
  animation-delay: var(--d, 0ms);
}
.anim-word--italic {
  font-style: italic;
  color: var(--c-royal-light);
  font-weight: 300;
}

/* ─── LAYOUT HELPERS ─────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-6); }
.section   { padding: var(--s-20) 0; }
.section--lg { padding: var(--s-24) 0; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.heading-xl { font-family: var(--f-display); font-weight: 400; font-size: var(--t-4xl); line-height: 1.02; letter-spacing: -.012em; }
.heading-l  { font-family: var(--f-display); font-weight: 400; font-size: var(--t-3xl); line-height: 1.06; letter-spacing: -.01em; }
.heading-m  { font-family: var(--f-display); font-weight: 500; font-size: var(--t-2xl); line-height: 1.15; }
.heading-s  { font-family: var(--f-display); font-weight: 500; font-size: var(--t-xl);  line-height: 1.2; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-royal);
  font-weight: 500;
}
.eyebrow--light { color: var(--c-royal-light); }

.lead { font-size: var(--t-md); line-height: 1.65; max-width: 56ch; }
.italic { font-family: var(--f-display); font-style: italic; font-weight: 300; }

.rule-blue {
  width: 56px; height: 2px;
  background: var(--c-royal);
  margin: var(--s-4) 0 var(--s-6);
}
.rule-blue--center { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background var(--d) var(--ease), color var(--d) var(--ease), border-color var(--d) var(--ease), transform var(--d) var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform var(--d) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--c-royal); color: var(--c-white); }
.btn--primary:hover { background: var(--c-royal-deep); }
.btn--outline { background: transparent; color: var(--c-white); border-color: var(--c-white); }
.btn--outline:hover { background: var(--c-white); color: var(--c-navy); }
.btn--outline-dark { background: transparent; color: var(--c-navy); border-color: var(--c-navy); }
.btn--outline-dark:hover { background: var(--c-navy); color: var(--c-white); }
.btn--ghost { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,0.30); }
.btn--ghost:hover { border-color: var(--c-white); color: var(--c-white); background: rgba(255,255,255,0.06); }

/* ─── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: var(--s-6) 0;
  transition: background var(--d) var(--ease), padding var(--d) var(--ease), border-color var(--d) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: var(--s-3) 0;
  background: rgba(13, 13, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s-6);
  gap: var(--s-8);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  transition: opacity var(--d) var(--ease);
}
.nav__logo:hover { opacity: 0.85; }
.nav__logo-img {
  height: 76px;
  width: auto;
  display: block;
  transition: height var(--d) var(--ease);
}
.nav.scrolled .nav__logo-img { height: 56px; }

/* Legacy text logo (kept hidden so old markup never leaks) */
.nav__logo-main,
.nav__logo-dot,
.nav__logo-sub { display: none; }
.nav__links { display: none; gap: var(--s-8); }
.nav__link {
  font-size: var(--t-sm);
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--c-white);
  position: relative;
  padding: .25rem 0;
  transition: color var(--d) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px 0;
  height: 2px;
  background: var(--c-royal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--d) var(--ease);
}
.nav__link:hover { color: var(--c-royal-light); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta { display: none; }
.nav__burger { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span {
  width: 24px; height: 1.5px; background: var(--c-white);
  transition: transform var(--d) var(--ease), opacity var(--d) var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  position: fixed; inset: 0;
  background: var(--c-navy-deep);
  z-index: 99;
  padding: 6rem var(--s-6) var(--s-8);
  transform: translateY(-100%);
  transition: transform var(--d) var(--ease);
  display: flex;
  flex-direction: column;
}
.nav__mobile.open { transform: translateY(0); }
.nav__mobile a {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 400;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: var(--c-white);
  display: block;
}
.nav__mobile-cta { margin-top: auto; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO — full-bleed, centred title (like legacy)
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 8rem 0 0;
  overflow: hidden;
  background: var(--c-navy);
  display: flex;
  flex-direction: column;
  color: var(--c-white);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-image {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: contrast(1.04) brightness(0.92);
}
.hero__bg-gradient {
  position: absolute; inset: 0;
  background:
    /* Main: navy curtain on the LEFT (where the title sits) that fades to clear on the right */
    linear-gradient(105deg,
      rgba(13,13,42,0.94) 0%,
      rgba(13,13,42,0.82) 22%,
      rgba(13,13,42,0.45) 50%,
      rgba(13,13,42,0.10) 78%,
      rgba(13,13,42,0) 100%),
    /* Top fade for the nav legibility */
    linear-gradient(180deg, rgba(13,13,42,0.55) 0%, transparent 18%),
    /* Bottom fade for the marquee strip */
    linear-gradient(180deg, transparent 72%, rgba(13,13,42,0.85) 100%);
}
@media (max-width: 900px) {
  .hero__bg-gradient {
    background:
      /* On mobile, since text and content stack centred, use a vertical fade */
      linear-gradient(180deg,
        rgba(13,13,42,0.55) 0%,
        rgba(13,13,42,0.72) 35%,
        rgba(13,13,42,0.85) 75%,
        rgba(13,13,42,0.95) 100%);
  }
}
/* Hero background video support */
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: contrast(1.04);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s-6) 6rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--s-6);
  flex: 1;
}

.hero__eyebrow {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-royal-light);
  margin-bottom: var(--s-2);
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw + .5rem, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--c-white);
  max-width: 12ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--c-royal-light);
  display: inline-block;
}

.hero__sub {
  font-size: var(--t-md);
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-2); justify-content: flex-start; }

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 7rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  color: rgba(255,255,255,0.55);
  z-index: 3;
  transition: color var(--d) var(--ease);
}
.hero__scroll:hover { color: var(--c-royal-light); }
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, currentColor);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-royal-light);
  animation: scroll-drop 2.4s var(--ease) infinite;
}
@keyframes scroll-drop {
  0%   { transform: translateY(-100%); }
  50%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}
.hero__scroll-text {
  font-family: var(--f-mono);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .hero__scroll { display: none; }
}

/* Bottom marquee strip */
.hero__strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  padding: var(--s-4) 0;
  overflow: hidden;
  background: rgba(13,13,42,0.55);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.hero__strip-track {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  line-height: 1.6;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.hero__strip-track span { display: inline-flex; align-items: center; gap: var(--s-4); white-space: nowrap; line-height: 1.6; }
.hero__strip-track .dot {
  width: 4px; height: 4px;
  background: var(--c-royal);
  border-radius: 50%;
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   CREDENTIALS BAR — contained navy box between sections
   ═══════════════════════════════════════════════════════════════ */
.credentials {
  background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-paper) 50%, var(--c-royal) 50%, var(--c-royal) 100%);
  padding: 0;
}
.credentials .container {
  padding: 0 var(--s-6);
}
.credentials__inner {
  background: var(--c-navy);
  color: var(--c-white);
  padding: var(--s-8) var(--s-10);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-12);
  position: relative;
  z-index: 1;
}
.credentials__label {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-royal-light);
  display: flex;
  align-items: center;
  gap: var(--s-4);
}
.credentials__label::after { content: ""; width: 28px; height: 1px; background: var(--c-royal-light); }
.credentials__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-10);
  font-family: var(--f-display);
  font-size: var(--t-md);
  font-weight: 500;
  color: var(--c-white);
  letter-spacing: .01em;
}
.credentials__list li { opacity: .95; }

@media (max-width: 700px) {
  .credentials__inner { padding: var(--s-6) var(--s-6); }
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES INDEX — survey-report style on off-white
   ═══════════════════════════════════════════════════════════════ */
.services {
  background: var(--c-paper);
  color: var(--c-text);
}

.services__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  margin-bottom: var(--s-16);
  align-items: end;
}
.services__header h2 { color: var(--c-navy); }
.services__header p { max-width: 50ch; color: var(--c-text-soft); }

.services__list { display: flex; flex-direction: column; }

.service {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-6);
  padding: var(--s-10) 0;
  border-bottom: 1px solid var(--c-line-dark);
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: background var(--d) var(--ease), padding-left var(--d) var(--ease);
}
.service:first-child { border-top: 1px solid var(--c-line-dark); }
.service::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--c-royal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--d) var(--ease-out);
}
.service:hover { background: rgba(71,111,214,0.06); padding-left: var(--s-6); }
.service:hover::before { transform: scaleY(1); }

.service__num {
  font-family: var(--f-mono);
  font-size: var(--t-sm);
  color: var(--c-royal);
  letter-spacing: .15em;
  padding-top: .35rem;
  font-weight: 500;
}

.service__body { display: flex; flex-direction: column; gap: .5rem; }
.service__title {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 500;
  color: var(--c-navy);
  line-height: 1.1;
}
.service__desc {
  font-size: var(--t-base);
  color: var(--c-text-soft);
  max-width: 65ch;
  line-height: 1.6;
}
.service__meta {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-2);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-royal);
  font-weight: 500;
}
.service__meta svg { width: 18px; height: 18px; transition: transform var(--d) var(--ease-out); }
.service:hover .service__meta svg { transform: translateX(6px); }

@media (min-width: 800px) {
  .services__header { grid-template-columns: 1.4fr 1fr; }
  .service { grid-template-columns: 80px 1fr 280px; align-items: start; }
  .service__meta { justify-content: flex-end; padding-top: .5rem; }
  .service__num { font-size: var(--t-base); }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT — editorial split on royal blue
   ═══════════════════════════════════════════════════════════════ */
.about {
  background: var(--c-royal);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: "INTEGRITY";
  position: absolute;
  inset: auto -2vw -3vw auto;
  font-family: var(--f-display);
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.07);
  pointer-events: none;
  letter-spacing: -.02em;
  line-height: 1;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: start;
  position: relative;
  z-index: 1;
}

.about__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--c-navy);
  overflow: hidden;
}
.about__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
}
.about__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(13, 13, 42, 0.95) 0%,
    rgba(13, 13, 42, 0.78) 18%,
    rgba(13, 13, 42, 0.42) 38%,
    rgba(13, 13, 42, 0.10) 58%,
    rgba(13, 13, 42, 0) 75%
  );
  pointer-events: none;
}
.about__visual::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255,255,255,0.55);
  z-index: 2;
  pointer-events: none;
}
.about__visual-cap {
  position: absolute;
  inset: auto var(--s-6) var(--s-6) var(--s-6);
  z-index: 3;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  display: flex;
  flex-direction: column;
  gap: .25rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.about__visual-cap .name {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  text-transform: none;
  letter-spacing: 0;
  color: var(--c-white);
}

.about__body { display: flex; flex-direction: column; gap: var(--s-6); }
.about__body .eyebrow { color: rgba(255,255,255,0.85); }
.about__body h2 { color: var(--c-white); }
.about__body h2 em { font-style: italic; color: rgba(255,255,255,0.78); }
.about__body p { color: rgba(255,255,255,0.85); max-width: 56ch; }
.about__sig {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-lg);
  color: var(--c-white);
  margin-top: var(--s-2);
  opacity: .92;
}
.about__body .rule-blue { background: var(--c-white); }

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-6);
  padding-top: var(--s-8);
  border-top: 1px solid rgba(255,255,255,0.25);
}
.about__stat { display: flex; flex-direction: column; gap: .35rem; }
.about__stat .n {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--c-white);
  line-height: 1;
  font-weight: 400;
}
.about__stat .l {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1.25fr; gap: var(--s-20); }
}

/* ═══════════════════════════════════════════════════════════════
   PROCESS — 4-step
   ═══════════════════════════════════════════════════════════════ */
.process {
  background: var(--c-white);
  color: var(--c-text);
}
.process__header {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin-bottom: var(--s-12);
  max-width: 60ch;
}
.process__header h2 { color: var(--c-navy); }

.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}
.process__step {
  position: relative;
  padding: var(--s-6) 0 0;
  border-top: 2px solid var(--c-royal);
}
.process__step-num {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .22em;
  color: var(--c-royal);
  margin-bottom: var(--s-4);
  font-weight: 500;
}
.process__step h3 {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 500;
  color: var(--c-navy);
  margin-bottom: var(--s-3);
  line-height: 1.1;
}
.process__step p {
  font-size: var(--t-base);
  color: var(--c-text-soft);
  line-height: 1.6;
}

@media (min-width: 800px) {
  .process__steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
}

/* ═══════════════════════════════════════════════════════════════
   CTA — navy block
   ═══════════════════════════════════════════════════════════════ */
.cta {
  background: var(--c-navy);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(71,111,214,0.18), transparent 70%);
  pointer-events: none;
}

.cta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-6);
  position: relative;
  z-index: 1;
}
.cta__entry {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-royal-light);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.cta__entry::before, .cta__entry::after {
  content: ""; width: 28px; height: 1px; background: var(--c-royal-light);
}
.cta__title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.012em;
  color: var(--c-white);
  max-width: 18ch;
}
.cta__title em { font-style: italic; color: var(--c-royal-light); }
.cta__sub { color: rgba(255,255,255,0.75); max-width: 50ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--c-navy-deep);
  color: var(--c-white);
  padding: var(--s-20) 0 var(--s-8);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  margin-bottom: var(--s-16);
}
.footer__brand-name {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  color: var(--c-white);
  margin-bottom: var(--s-2);
}
.footer__brand-tag {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-royal-light);
  margin-bottom: var(--s-4);
}
.footer__brand-desc {
  color: rgba(255,255,255,0.65);
  max-width: 38ch;
  font-size: var(--t-sm);
  line-height: 1.65;
}
.footer__heading {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-royal-light);
  margin-bottom: var(--s-4);
}
.footer__links { display: flex; flex-direction: column; gap: .6rem; }
.footer__link {
  color: rgba(255,255,255,0.70);
  font-size: var(--t-sm);
  transition: color var(--d) var(--ease);
}
.footer__link:hover { color: var(--c-royal-light); }
.footer__contact-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: var(--s-3);
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.70);
}
.footer__contact-icon { color: var(--c-royal-light); flex-shrink: 0; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: center;
}
.footer__copy {
  font-size: var(--t-xs);
  letter-spacing: .1em;
  color: var(--c-mist);
  font-family: var(--f-mono);
}
.footer__lang { display: flex; gap: var(--s-3); }
.footer__lang-btn {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .2em;
  color: var(--c-mist);
  padding: .35rem .65rem;
  border: 1px solid transparent;
  transition: color var(--d) var(--ease), border-color var(--d) var(--ease);
}
.footer__lang-btn.active,
.footer__lang-btn:hover {
  color: var(--c-royal-light);
  border-color: rgba(255,255,255,0.12);
}

@media (min-width: 800px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: var(--s-16); }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ═══════════════════════════════════════════════════════════════
   AUDIENCES — Who We Help (4-column grid)
   ═══════════════════════════════════════════════════════════════ */
.audiences {
  background: var(--c-white);
  color: var(--c-text);
  padding: var(--s-24) 0;
}
.audiences__header {
  max-width: 64ch;
  margin-bottom: var(--s-12);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.audiences__header h2 { color: var(--c-navy); }
.audiences__header h2 em { color: var(--c-royal); }
.audiences__header .lead { color: var(--c-text-soft); }

.audiences__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
.audience {
  position: relative;
  padding: var(--s-8) var(--s-6);
  background: var(--c-paper);
  border: 1px solid transparent;
  transition: background var(--d) var(--ease), border-color var(--d) var(--ease), transform var(--d) var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-height: 220px;
}
.audience::after {
  content: "→";
  position: absolute;
  bottom: var(--s-6); right: var(--s-6);
  font-family: var(--f-mono);
  color: var(--c-royal);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--d) var(--ease), transform var(--d) var(--ease-out);
}
.audience:hover { background: var(--c-white); border-color: var(--c-royal); transform: translateY(-3px); }
.audience:hover::after { opacity: 1; transform: translateX(0); }
.audience__num {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .25em;
  color: var(--c-royal);
  font-weight: 500;
  margin-bottom: var(--s-2);
}
.audience__icon {
  width: 40px; height: 40px;
  color: var(--c-royal);
  margin-bottom: var(--s-2);
}
.audience__icon svg { width: 100%; height: 100%; }
.audience__title {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 500;
  color: var(--c-navy);
  line-height: 1.15;
}
.audience__desc {
  font-size: var(--t-sm);
  color: var(--c-text-soft);
  line-height: 1.65;
}
.audience--premium {
  background: var(--c-navy);
  color: var(--c-white);
}
.audience--premium:hover { background: var(--c-navy); border-color: var(--c-royal-light); }
.audience--premium .audience__icon { color: var(--c-royal-light); }
.audience--premium .audience__title { color: var(--c-white); }
.audience--premium .audience__desc { color: rgba(255,255,255,0.82); }
.audience__flag {
  margin-top: var(--s-3);
  align-self: flex-start;
  font-family: var(--f-mono);
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-navy);
  background: var(--c-royal-light);
  padding: .35rem .55rem;
}

@media (min-width: 700px) { .audiences__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .audiences__grid { grid-template-columns: repeat(4, 1fr); } }


/* ═══════════════════════════════════════════════════════════════
   CORE SERVICES — Card grid 3×2
   ═══════════════════════════════════════════════════════════════ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-10) var(--s-6) var(--s-8);
  background: var(--c-white);
  border: 1px solid var(--c-line-dark);
  color: var(--c-text);
  text-decoration: none;
  overflow: hidden;
  transition: border-color var(--d) var(--ease), transform var(--d) var(--ease), box-shadow var(--d) var(--ease);
  min-height: 240px;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--c-royal);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--d) var(--ease-out);
}
.svc-card:hover {
  border-color: var(--c-royal);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(22,22,63,0.25);
}
.svc-card:hover::before { transform: scaleY(1); }
.svc-card__num {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .22em;
  color: var(--c-royal);
  font-weight: 500;
}
.svc-card__icon {
  width: 44px; height: 44px;
  color: var(--c-royal);
  margin-top: var(--s-2);
  display: none; /* Hidden in minimalist v5 — keeping class for other pages if reused */
}
.svc-card__icon svg { width: 100%; height: 100%; }
.svc-card__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 500;
  color: var(--c-navy);
  line-height: 1.1;
  margin-top: var(--s-2);
}
.svc-card__desc {
  font-size: var(--t-sm);
  color: var(--c-text-soft);
  line-height: 1.65;
  flex-grow: 1;
}
.svc-card__cta {
  margin-top: var(--s-3);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-royal);
  font-weight: 500;
}
.svc-card--premium {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: var(--c-white);
}
.svc-card--premium .svc-card__num { color: var(--c-royal-light); }
.svc-card--premium .svc-card__icon { color: var(--c-royal-light); }
.svc-card--premium .svc-card__title { color: var(--c-white); }
.svc-card--premium .svc-card__desc { color: rgba(255,255,255,0.78); }
.svc-card--premium .svc-card__cta { color: var(--c-royal-light); }
.svc-card--premium::before { background: var(--c-royal-light); }
.svc-card--premium:hover { border-color: var(--c-royal-light); }

@media (min-width: 700px)  { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }


/* ═══════════════════════════════════════════════════════════════
   FLEET TMP — Premium B2B section
   ═══════════════════════════════════════════════════════════════ */
.fleet {
  background: var(--c-navy);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.fleet__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(71,111,214,0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(71,111,214,0.12), transparent 70%),
    linear-gradient(180deg, var(--c-navy-deep), var(--c-navy));
}
.fleet__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-6);
}
.fleet__tag {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--c-royal-light);
}
.fleet__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-4xl);
  line-height: 1.02;
  letter-spacing: -.012em;
  color: var(--c-white);
}
.fleet__title em { font-style: italic; color: var(--c-royal-light); }
.fleet__lead {
  font-size: var(--t-md);
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 60ch;
}
.fleet__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  width: 100%;
  max-width: 720px;
  margin-top: var(--s-4);
  text-align: left;
  padding: var(--s-8) var(--s-6);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.fleet__list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.88);
}
.fleet__list li {
  position: relative;
  padding-left: 1.4rem;
}
.fleet__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .7em;
  width: 8px; height: 1px;
  background: var(--c-royal-light);
}
.fleet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: center;
  margin-top: var(--s-4);
}

@media (min-width: 760px) {
  .fleet__grid { grid-template-columns: 1fr 1fr; gap: var(--s-10); }
}


/* ═══════════════════════════════════════════════════════════════
   PLANS TEASER — light strip
   ═══════════════════════════════════════════════════════════════ */
.plans-teaser {
  background: var(--c-paper);
  color: var(--c-text);
  padding: var(--s-12) 0;
  border-top: 1px solid var(--c-line-dark);
}
.plans-teaser__inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  align-items: flex-start;
}
.plans-teaser__inner h2 { color: var(--c-navy); }
.plans-teaser__desc {
  color: var(--c-text-soft);
  margin-top: var(--s-2);
  font-size: var(--t-sm);
  max-width: 55ch;
}
@media (min-width: 800px) {
  .plans-teaser__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-10);
  }
}


/* ═══════════════════════════════════════════════════════════════
   NAV SUBMENU (desktop dropdown)
   ═══════════════════════════════════════════════════════════════ */
.nav__item { position: relative; }
.nav__caret { width: 12px; height: 12px; margin-left: 4px; opacity: .7; transition: transform var(--d) var(--ease); display: inline-block; vertical-align: middle; }
.nav__item--has-menu > .nav__link { display: inline-flex; align-items: center; }
.nav__submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: -8px;
  min-width: 280px;
  background: var(--c-navy-deep);
  border: 1px solid rgba(255,255,255,0.08);
  padding: var(--s-3) 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--d) var(--ease), transform var(--d) var(--ease), visibility var(--d) var(--ease);
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.5);
}
.nav__item--has-menu:hover .nav__submenu,
.nav__item--has-menu:focus-within .nav__submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__item--has-menu:hover .nav__caret { transform: rotate(180deg); }
.nav__sublink {
  display: block;
  padding: .7rem var(--s-6);
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
  transition: color var(--d) var(--ease), background var(--d) var(--ease);
}
.nav__sublink:hover { color: var(--c-royal-light); background: rgba(71,111,214,0.10); }


/* ═══════════════════════════════════════════════════════════════
   STATS STRIP — animated counters between Services and About
   ═══════════════════════════════════════════════════════════════ */
.stats {
  background: var(--c-navy);
  color: var(--c-white);
  padding: var(--s-16) 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(71,111,214,0.16), transparent 70%);
  pointer-events: none;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-8) var(--s-4);
  position: relative;
  z-index: 1;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: var(--s-2) 0;
  text-align: center;
}
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--c-royal-light);
  letter-spacing: -.02em;
}
.stat__label {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
@media (min-width: 800px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }


/* ═══════════════════════════════════════════════════════════════
   PAGE HERO — internal pages (smaller than home hero)
   ═══════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  background: var(--c-navy);
  color: var(--c-white);
  padding: 11rem 0 var(--s-16);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(71,111,214,0.25), transparent 60%),
    radial-gradient(ellipse 70% 60% at 10% 80%, rgba(71,111,214,0.10), transparent 70%),
    linear-gradient(180deg, var(--c-navy-deep), var(--c-navy));
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.page-hero__crumbs {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-royal-light);
  display: flex;
  gap: var(--s-2);
}
.page-hero__crumbs a { color: var(--c-royal-light); transition: color var(--d) var(--ease); }
.page-hero__crumbs a:hover { color: var(--c-white); }
.page-hero__crumbs span { color: rgba(255,255,255,0.4); }
.page-hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-4xl);
  line-height: 1.02;
  letter-spacing: -.012em;
  color: var(--c-white);
  max-width: 22ch;
  margin-top: var(--s-2);
}
.page-hero__title em { font-style: italic; color: var(--c-royal-light); }
.page-hero__sub {
  font-size: var(--t-md);
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 58ch;
  margin-top: var(--s-4);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICE DETAIL BLOCKS (used on services.html)
   ═══════════════════════════════════════════════════════════════ */
.svc-detail {
  padding: var(--s-20) 0;
  border-bottom: 1px solid var(--c-line-dark);
}
.svc-detail:nth-child(even) { background: var(--c-paper); }
.svc-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
}
.svc-detail__head { display: flex; flex-direction: column; gap: var(--s-3); }
.svc-detail__num {
  font-family: var(--f-mono);
  font-size: var(--t-sm);
  letter-spacing: .22em;
  color: var(--c-royal);
  font-weight: 500;
}
.svc-detail__title {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 500;
  color: var(--c-navy);
  line-height: 1.1;
}
.svc-detail__lead {
  font-size: var(--t-md);
  color: var(--c-text-soft);
  line-height: 1.65;
  max-width: 56ch;
}
.svc-detail__body { display: flex; flex-direction: column; gap: var(--s-6); }
.svc-detail__block-title {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-royal);
  margin-bottom: var(--s-3);
}
.svc-detail__list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  font-size: var(--t-sm);
  color: var(--c-text);
}
.svc-detail__list li {
  position: relative;
  padding-left: 1.4rem;
}
.svc-detail__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .65em;
  width: 8px; height: 1px;
  background: var(--c-royal);
}
.svc-detail__cta { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-3); }

@media (min-width: 900px) {
  .svc-detail__grid { grid-template-columns: 1.1fr 1.4fr; gap: var(--s-16); }
}

/* ═══════════════════════════════════════════════════════════════
   PLANS — 4-tier comparison grid
   ═══════════════════════════════════════════════════════════════ */
.plans { padding: var(--s-20) 0; background: var(--c-white); }
.plans__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
.plan {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-8) var(--s-6);
  background: var(--c-paper);
  border: 1px solid var(--c-line-dark);
  position: relative;
  transition: border-color var(--d) var(--ease), transform var(--d) var(--ease), box-shadow var(--d) var(--ease);
}
.plan:hover {
  border-color: var(--c-royal);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(22,22,63,0.25);
}
.plan__tier {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-royal);
  font-weight: 500;
}
.plan__name {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 500;
  color: var(--c-navy);
  line-height: 1.1;
}
.plan__audience {
  font-size: var(--t-sm);
  color: var(--c-text-soft);
  font-style: italic;
  margin-bottom: var(--s-2);
}
.plan__price {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  color: var(--c-navy);
  font-weight: 500;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--c-line-dark);
  border-bottom: 1px solid var(--c-line-dark);
}
.plan__features {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  font-size: var(--t-sm);
  color: var(--c-text);
  flex-grow: 1;
}
.plan__features li {
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.5;
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 1px;
  background: var(--c-royal);
}
.plan__cta { margin-top: var(--s-3); }
.plan--featured {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}
.plan--featured .plan__tier { color: var(--c-royal-light); }
.plan--featured .plan__name { color: var(--c-white); }
.plan--featured .plan__audience { color: rgba(255,255,255,0.7); }
.plan--featured .plan__price { color: var(--c-white); border-color: rgba(255,255,255,0.18); }
.plan--featured .plan__features { color: rgba(255,255,255,0.88); }
.plan--featured .plan__features li::before { background: var(--c-royal-light); }
.plan--featured .badge-featured {
  position: absolute;
  top: -12px; right: var(--s-6);
  background: var(--c-royal);
  color: var(--c-white);
  font-family: var(--f-mono);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .35rem .6rem;
}
.plan--featured .btn--outline-dark {
  background: transparent;
  color: var(--c-white);
  border-color: var(--c-royal-light);
}
.plan--featured .btn--outline-dark:hover {
  background: var(--c-royal-light);
  color: var(--c-navy);
}

@media (min-width: 720px)  { .plans__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .plans__grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } }


/* ═══════════════════════════════════════════════════════════════
   CONTACT — split form + info
   ═══════════════════════════════════════════════════════════════ */
.contact { padding: var(--s-20) 0; background: var(--c-white); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: start;
}

.contact__info { display: flex; flex-direction: column; gap: var(--s-6); }
.contact__info h2 { color: var(--c-navy); }
.contact__info-item {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  padding: var(--s-4) 0;
  border-top: 1px solid var(--c-line-dark);
}
.contact__info-item:last-child { border-bottom: 1px solid var(--c-line-dark); }
.contact__info-icon {
  width: 32px; height: 32px;
  background: var(--c-royal);
  color: var(--c-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--f-mono);
  font-size: 1rem;
}
.contact__info-label {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-royal);
  display: block;
  margin-bottom: .25rem;
}
.contact__info-value {
  font-size: var(--t-base);
  color: var(--c-navy);
}
.contact__info-value a:hover { color: var(--c-royal); }

/* Form */
.form { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-8); background: var(--c-paper); }
.form__row { display: flex; flex-direction: column; gap: var(--s-4); }
.form__field { display: flex; flex-direction: column; gap: .35rem; }
.form__label {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-text);
}
.form__label .req { color: var(--c-royal); }
.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--c-white);
  border: 1px solid var(--c-line-dark);
  font-family: var(--f-body);
  font-size: var(--t-base);
  color: var(--c-text);
  transition: border-color var(--d) var(--ease), background var(--d) var(--ease);
}
.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: 0;
  border-color: var(--c-royal);
  background: var(--c-white);
}
.form__textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23476fd6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.form__hint {
  font-size: var(--t-xs);
  color: var(--c-text-soft);
}
.form__status {
  padding: var(--s-4);
  font-size: var(--t-sm);
  font-family: var(--f-mono);
  letter-spacing: .08em;
  display: none;
}
.form__status.is-success { display: block; background: rgba(71,111,214,0.10); color: var(--c-navy); border-left: 3px solid var(--c-royal); }
.form__status.is-error   { display: block; background: rgba(173, 82, 7, 0.10); color: #7a3a04; border-left: 3px solid #AD5207; }
.form__submit { margin-top: var(--s-3); align-self: flex-start; }
.form__submit:disabled { opacity: .55; cursor: not-allowed; }

@media (min-width: 800px) {
  .contact__grid { grid-template-columns: 1fr 1.2fr; gap: var(--s-16); }
  .form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
}


/* ═══════════════════════════════════════════════════════════════
   PARTNER PROGRAM page-specific
   ═══════════════════════════════════════════════════════════════ */
.pp-pillars { padding: var(--s-20) 0; background: var(--c-white); }
.pp-pillars__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-6); margin-top: var(--s-10); }
.pp-pillar { padding: var(--s-6); border: 1px solid var(--c-line-dark); background: var(--c-paper); }
.pp-pillar h3 { font-family: var(--f-display); font-size: var(--t-lg); color: var(--c-navy); margin-bottom: var(--s-2); font-weight: 500; }
.pp-pillar p { font-size: var(--t-sm); color: var(--c-text-soft); line-height: 1.65; }
@media (min-width: 800px) { .pp-pillars__grid { grid-template-columns: repeat(3, 1fr); } }

.pp-promise { padding: var(--s-20) 0; background: var(--c-navy); color: var(--c-white); }
.pp-promise__inner { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.pp-promise blockquote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: var(--t-2xl);
  color: var(--c-white);
  line-height: 1.3;
  max-width: 28ch;
}

.pp-confidential { padding: var(--s-16) 0; background: var(--c-paper); }
.pp-confidential__inner { display: flex; flex-direction: column; gap: var(--s-4); align-items: flex-start; max-width: 720px; margin: 0 auto; text-align: left; }
.pp-confidential h3 { color: var(--c-navy); font-family: var(--f-display); font-size: var(--t-xl); font-weight: 500; }


/* ─── REVEAL ANIMATIONS ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--d-slow) var(--ease-out), transform var(--d-slow) var(--ease-out);
  will-change: transform, opacity;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── A11Y ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__strip-track { animation: none; }
}

:focus-visible { outline: 2px solid var(--c-royal); outline-offset: 3px; }


/* ═══════════════════════════════════════════════════════════════
   MOBILE-FIRST OPTIMIZATIONS (≤ 700px)
   Refined: tighter rhythm, no awkward gaps, premium feel
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 700px) {

  /* Container & section rhythm */
  .container { padding: 0 var(--s-5); }
  .section    { padding: var(--s-14) 0; }
  .section--lg { padding: var(--s-16) 0; }

  /* Buttons — full width, premium touch */
  .btn {
    padding: 1.05rem 1.4rem;
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: var(--t-sm);
    letter-spacing: 0.07em;
    transition: transform var(--d-fast) var(--ease-out),
                background var(--d) var(--ease),
                color var(--d) var(--ease),
                border-color var(--d) var(--ease);
  }
  .btn:active { transform: scale(0.97); }
  .btn--ghost, .btn--outline, .btn--outline-dark,
  .btn--primary, .btn--dark { width: 100%; }

  /* ─── HERO ─── content sits at top, no big gap before strip */
  .hero {
    padding-top: 6.5rem;
    min-height: 92svh;
  }
  .hero__inner {
    flex: 0 1 auto;        /* NO grow → no centered-gap effect */
    justify-content: flex-start;
    padding-top: var(--s-6);
    padding-bottom: var(--s-12);
    gap: var(--s-5);
  }
  .hero__eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.28em;
  }
  .hero__title {
    font-size: clamp(2.8rem, 13vw, 4rem);
    line-height: 1.0;
    max-width: 11ch;
  }
  .hero__sub {
    font-size: var(--t-base);
    line-height: 1.6;
    max-width: 30ch;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: var(--s-3);
    margin-top: var(--s-2);
  }
  .hero__microcopy {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    margin-top: var(--s-2);
  }

  /* Marquee — smaller, slower, no diacritic clip */
  .hero__strip {
    padding: var(--s-3) 0;
  }
  .hero__strip-track {
    animation-duration: 32s;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    gap: var(--s-8);
    line-height: 1.7;
  }

  /* ─── NAV ─── */
  .nav__inner { padding: 0 var(--s-5); gap: var(--s-3); }
  .nav__logo-img { height: 56px; transition: height var(--d) var(--ease); }
  .nav.scrolled .nav__logo-img { height: 42px; }
  .nav__burger { padding: 12px; min-width: 44px; min-height: 44px; }
  .nav.scrolled .nav__inner { gap: var(--s-2); }
  .nav { padding: var(--s-4) 0; }
  .nav.scrolled { padding: var(--s-2) 0; }

  /* Mobile menu — premium open state */
  .nav__mobile {
    padding: 5.5rem var(--s-6) var(--s-8);
    gap: var(--s-1);
  }
  .nav__mobile a:not(.btn) {
    font-size: 1.65rem;
    padding: 0.85rem 0;
    transition: color var(--d) var(--ease), transform var(--d) var(--ease);
  }
  .nav__mobile a:active { transform: translateX(4px); }

  /* ─── AUDIENCES ─── */
  .audiences { padding: var(--s-16) 0; }
  .audiences__header { margin-bottom: var(--s-8); }
  .audiences__grid { gap: var(--s-3); }
  .audience {
    min-height: auto;
    padding: var(--s-6) var(--s-5);
    transition: background var(--d) var(--ease), transform var(--d) var(--ease);
  }
  .audience:active { transform: scale(0.98); }
  .audience__num { font-size: 0.65rem; letter-spacing: 0.22em; }
  .audience__title { font-size: var(--t-md); }
  .audience__desc { font-size: var(--t-sm); }

  /* ─── SERVICES ─── */
  .services__header { margin-bottom: var(--s-10); }
  .services__grid { gap: var(--s-3); }
  .svc-card {
    min-height: auto;
    padding: var(--s-7) var(--s-5) var(--s-6);
  }
  .svc-card:active { transform: scale(0.98); }
  .svc-card__title { font-size: var(--t-lg); }
  .svc-card__desc { font-size: var(--t-sm); }

  /* ─── STATS ─── */
  .stats { padding: var(--s-12) 0; }
  .stats__grid {
    gap: var(--s-6) var(--s-3);
    grid-template-columns: repeat(2, 1fr);
  }
  .stat__num { font-size: clamp(2.2rem, 9vw, 3rem); }
  .stat__label { font-size: 0.62rem; letter-spacing: 0.18em; }

  /* ─── ABOUT (Why NIS) ─── */
  .about { padding: var(--s-16) 0; }
  .about__grid { gap: var(--s-8); }
  .about__visual {
    aspect-ratio: 4 / 5;
    max-width: 88%;
    margin: 0 auto;
  }
  .about__visual::after { inset: 8px; }
  .about__visual-cap {
    inset: auto var(--s-5) var(--s-5) var(--s-5);
  }
  .about__visual-cap .name { font-size: var(--t-base); }
  .about__body h2 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .about__body p { font-size: var(--t-sm); line-height: 1.65; }
  .about__sig { font-size: var(--t-md); }
  .about__stats { gap: var(--s-4); padding-top: var(--s-6); }
  .about__stat .n { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .about__stat .l { font-size: 0.6rem; letter-spacing: 0.16em; }

  /* ─── FLEET TMP block ─── */
  .fleet { padding: var(--s-16) 0; }
  .fleet__title { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .fleet__lead { font-size: var(--t-base); }
  .fleet__grid {
    padding: var(--s-6) var(--s-2);
    gap: var(--s-4);
  }
  .fleet__list { font-size: var(--t-sm); gap: 0.6rem; }

  /* ─── PLANS TEASER ─── */
  .plans-teaser { padding: var(--s-10) 0; }
  .plans-teaser__inner { gap: var(--s-4); align-items: stretch; }
  .plans-teaser__inner h2 { font-size: var(--t-lg); }

  /* ─── CTA ─── */
  .cta { padding: var(--s-16) 0; }
  .cta__title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .cta__sub { font-size: var(--t-base); }
  .cta__actions {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    gap: var(--s-3);
  }

  /* ─── CREDENTIALS BOX ─── */
  .credentials__inner {
    padding: var(--s-6) var(--s-5);
    gap: var(--s-3) var(--s-5);
    flex-direction: column;
    align-items: flex-start;
  }
  .credentials__label { font-size: 0.62rem; letter-spacing: 0.18em; }
  .credentials__label::after { width: 18px; }
  .credentials__list {
    font-size: var(--t-base);
    gap: var(--s-2) var(--s-5);
  }

  /* ─── FOOTER ─── */
  .footer { padding: var(--s-12) 0 var(--s-5); }
  .footer__grid { gap: var(--s-7); margin-bottom: var(--s-8); }
  .footer__brand-name { font-size: var(--t-lg); }
  .footer__brand-desc { font-size: var(--t-sm); }
  .footer__heading { font-size: 0.62rem; letter-spacing: 0.2em; }
  .footer__bottom { gap: var(--s-3); padding-top: var(--s-4); }

  /* ─── INTERNAL PAGE HEROES ─── */
  .page-hero { padding: 7rem 0 var(--s-10); }
  .page-hero__title {
    font-size: clamp(2.3rem, 10vw, 3rem);
    line-height: 1.05;
    max-width: 18ch;
  }
  .page-hero__sub { font-size: var(--t-base); }
  .page-hero__crumbs { font-size: 0.62rem; letter-spacing: 0.18em; }

  /* ─── SERVICE DETAIL (services.html) ─── */
  .svc-detail { padding: var(--s-10) 0; }
  .svc-detail__grid { gap: var(--s-5); }
  .svc-detail__title { font-size: clamp(1.8rem, 7vw, 2.3rem); }
  .svc-detail__lead { font-size: var(--t-base); line-height: 1.6; }
  .svc-detail__list { font-size: var(--t-sm); }

  /* ─── PLANS GRID ─── */
  .plans { padding: var(--s-12) 0; }
  .plans__grid { gap: var(--s-4); }
  .plan {
    padding: var(--s-6) var(--s-5);
    transition: transform var(--d) var(--ease);
  }
  .plan:active { transform: scale(0.98); }
  .plan__name { font-size: var(--t-lg); }
  .plan__price { font-size: var(--t-base); }
  .plan__features { font-size: var(--t-sm); }

  /* ─── CONTACT FORM ─── */
  .contact { padding: var(--s-12) 0; }
  .contact__grid { gap: var(--s-8); }
  .form { padding: var(--s-5); }
  .form__input, .form__textarea, .form__select {
    padding: 0.95rem 1rem;
    min-height: 48px;
    font-size: 16px;     /* prevents iOS zoom on focus */
  }
  .form__row--2 { display: flex; flex-direction: column; gap: var(--s-4); }
  .contact__info-item { padding: var(--s-3) 0; }

  /* ─── PARTNER PROGRAM page ─── */
  .pp-pillars { padding: var(--s-12) 0; }
  .pp-pillars__grid { gap: var(--s-4); }
  .pp-pillar { padding: var(--s-5); }
  .pp-pillar h3 { font-size: var(--t-md); }
  .pp-pillar p { font-size: var(--t-sm); }
  .pp-promise { padding: var(--s-14) 0; }
  .pp-promise blockquote { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .pp-confidential { padding: var(--s-10) 0; }

  /* ─── HEADINGS ─── */
  .heading-xl { font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.05; }
  .heading-l  { font-size: clamp(1.9rem, 8vw, 2.5rem); line-height: 1.08; }
  .heading-m  { font-size: clamp(1.6rem, 7vw, 2rem); }
  .lead { font-size: var(--t-base); line-height: 1.65; }
  .eyebrow { font-size: 0.62rem; letter-spacing: 0.2em; }

  /* Disable parallax (perf + battery) */
  .hero__bg-image { transform: none !important; }
  .hero__bg-video { transform: none !important; }

  /* Smoother reveal on mobile */
  .reveal {
    transform: translateY(20px);
  }

  /* Section transitions: add a touch of breathing */
  section + section { position: relative; }
}

/* ═══════════════════════════════════════════════════════════════
   EXTRA SMALL (≤ 380px) — iPhone SE and similar
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
  .container { padding: 0 var(--s-4); }
  .hero__title { font-size: 2.6rem; }
  .hero__sub { font-size: var(--t-sm); }
  .page-hero__title { font-size: 2.2rem; }
  .heading-xl { font-size: 2rem; }
  .heading-l  { font-size: 1.8rem; }
  .credentials__list { font-size: var(--t-sm); }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-3); }
  .stat__num { font-size: 2rem; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Tablet polish */
@media (min-width: 700px) and (max-width: 900px) {
  .hero__title { font-size: clamp(4rem, 8vw, 5rem); }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}
