/* ==========================================================================
   M S A Documents Clearing Services EST.
   Stylesheet — v1.0
   Palette derived from the MSA logo: deep navy, signal red, ink black.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #001427;
  --navy-800: #00223f;
  --navy: #00315c;          /* logo navy */
  --navy-600: #0a4a85;
  --red: #d81b24;
  --red-600: #ae1119;
  --sky: #2ca5de;

  /* Neutrals */
  --ink: #101820;
  --slate: #566575;
  --slate-light: #7d8b99;
  --line: #dde5ed;
  --mist: #f2f6fa;
  --mist-2: #e8eff6;
  --paper: #ffffff;

  /* Type */
  --font-display: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  /* Space + shape */
  --wrap: 1180px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 20, 39, .06), 0 2px 8px rgba(0, 20, 39, .05);
  --shadow-md: 0 4px 12px rgba(0, 20, 39, .07), 0 12px 32px rgba(0, 20, 39, .08);
  --shadow-lg: 0 18px 50px rgba(0, 20, 39, .16);
  --header-h: 78px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--red); }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 .6em;
  line-height: 1.14;
  letter-spacing: -.015em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 2.9vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.55rem); }
h3 { font-size: clamp(1.2rem, 1.03rem + .6vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--navy); color: #fff; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: clamp(56px, 7vw, 100px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-900); color: #cfdcea; }
.section--navy h2, .section--navy h3 { color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--red); color: #fff; padding: 10px 18px;
  font-weight: 600; border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* Section heading block ---------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--red);
  display: block;
}
.section--navy .eyebrow { color: var(--sky); }
.section--navy .eyebrow::before { background: var(--sky); }

.head { max-width: 720px; margin-bottom: 44px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head p { color: var(--slate); font-size: 1.06rem; }
.section--navy .head p { color: #a8bccf; }

.lede { font-size: 1.1rem; color: var(--slate); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-600); color: #fff; }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color: #fff; }

.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }

.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mist-2); color: var(--navy); }

.btn--outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn--sm { padding: 10px 18px; font-size: .87rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 2px 18px rgba(0,20,39,.12); }

/* Utility strip */
.topbar {
  background: var(--navy-900);
  color: #b9cadb;
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: #dbe6f1; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; flex: none; color: var(--sky); }
.topbar__loc { display: inline-flex; align-items: center; gap: 8px; }
.topbar__spacer { margin-left: auto; }
.topbar__tag {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7f97ae;
}

/* Nav bar */
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list > li { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: var(--radius);
  position: relative;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__link:hover { color: var(--red); background: var(--mist); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link.is-active { color: var(--red); }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__caret { width: 12px; height: 12px; transition: transform .25s var(--ease); }

.nav__cta { flex: none; }

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(920px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr 260px;
  gap: 26px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .2s;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.is-open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.has-mega:hover .nav__caret,
.has-mega.is-open .nav__caret { transform: rotate(180deg); }

.mega__title {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 12px;
  display: block;
}
.mega__list li + li { margin-top: 2px; }
.mega__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: .93rem;
  font-weight: 500;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.mega__list a:hover { background: var(--mist); color: var(--navy); }
.mega__list a .num {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--slate-light);
  flex: none;
  width: 20px;
}
.mega__list a:hover .num { color: var(--red); }

.mega__promo {
  background: var(--navy);
  color: #c9d9e8;
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mega__promo h4 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.mega__promo p { font-size: .87rem; line-height: 1.6; margin-bottom: 16px; }

/* Mobile toggle */
.nav-toggle {
  margin-left: auto;
  display: none;
  width: 46px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; margin-left: -10px;
  width: 20px; height: 2px;
  background: var(--navy);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { margin-left: 0; top: -6px; }
.nav-toggle span::after  { margin-left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 520px at 8% -10%, #062f56 0%, transparent 62%),
    linear-gradient(150deg, var(--navy-900) 0%, var(--navy) 58%, #05386a 100%);
  color: #cfdcea;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(115deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 70%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: center;
  padding: clamp(52px, 6vw, 88px) 0 clamp(56px, 6vw, 92px);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: #ff5a63; display: block; }
.hero__sub {
  font-size: 1.12rem;
  color: #a9c1d7;
  max-width: 520px;
  margin-bottom: 28px;
}
.hero .eyebrow { color: var(--sky); }
.hero .eyebrow::before { background: var(--sky); }

.hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero__pills li {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #cfe0f0;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 7px 14px;
}

.hero__figure { position: relative; }
.hero__figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.hero__badge {
  position: absolute;
  left: -22px;
  bottom: 26px;
  background: #fff;
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 14px 20px;
  max-width: 235px;
}
.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1.1;
}
.hero__badge span {
  font-size: .78rem;
  color: var(--slate);
  line-height: 1.4;
  display: block;
}

/* Page banner (inner pages) */
.pagehead {
  background:
    linear-gradient(120deg, rgba(0,20,39,.94) 20%, rgba(0,49,92,.86) 100%),
    url("../images/banner-brand.jpg") center/cover no-repeat;
  color: #c6d6e6;
  padding: clamp(48px, 6vw, 78px) 0;
  position: relative;
}
.pagehead h1 { color: #fff; margin-bottom: 12px; }
.pagehead p { max-width: 620px; color: #a9c1d7; }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7f9bb5;
  margin-bottom: 16px;
}
.crumbs a { color: #a9c1d7; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: var(--sky); }

/* --------------------------------------------------------------------------
   7. Signature: the clearance track (routing slip)
   -------------------------------------------------------------------------- */
.track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.track__step {
  padding: 24px 22px 26px;
  border-right: 1px dashed var(--line);
  position: relative;
}
.track__step:last-child { border-right: 0; }
.track__stamp {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 3px;
  padding: 3px 8px;
  display: inline-block;
  transform: rotate(-2.5deg);
  margin-bottom: 14px;
  opacity: .9;
}
.track__step h4 { margin-bottom: 6px; color: var(--navy); }
.track__step p { font-size: .9rem; color: var(--slate); margin: 0; }

/* Vertical variant on service pages */
.track--stack { grid-template-columns: 1fr; }
.track--stack .track__step {
  border-right: 0;
  border-bottom: 1px dashed var(--line);
  padding-left: 74px;
}
.track--stack .track__step:last-child { border-bottom: 0; }
.track--stack .track__step::before {
  content: attr(data-step);
  position: absolute;
  left: 22px; top: 24px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 600;
}
.track--stack .track__stamp { margin-bottom: 8px; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease),
              transform .22s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: #c2d3e2; box-shadow: var(--shadow-md); transform: translateY(-4px); }

.card__ref {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--slate-light);
  margin-bottom: 16px;
  display: block;
}
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--navy);
  margin-bottom: 18px;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon { background: var(--navy); color: #fff; }
.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: .94rem; margin-bottom: 18px; }
.card__link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.card__link svg { width: 15px; height: 15px; transition: transform .22s var(--ease); }
.card:hover .card__link { color: var(--red); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Feature list */
.checks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 13px;
  color: var(--slate);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .48em;
  width: 18px; height: 18px;
  border-radius: 3px;
  background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checks li strong { color: var(--ink); font-weight: 600; }
.checks--red li::before { background: var(--red); }
.section--navy .checks li { color: #b3c7d9; }
.section--navy .checks li::before { background: var(--sky); }
.section--navy .checks li strong { color: #fff; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 62px);
  align-items: center;
}
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split__media { position: relative; z-index: 0; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.split__media::after {
  content: "";
  position: absolute;
  inset: auto -16px -16px auto;
  width: 130px; height: 130px;
  border: 3px solid var(--red);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--navy-900); padding: 30px 24px; text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat__num .suffix { color: var(--red); }
.stat__label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8fa8bf;
}

/* Sector chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: .88rem;
  color: var(--slate);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.chips li:hover { border-color: var(--navy); color: var(--navy); }

/* Testimonials */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  height: 100%;
}
.quote p { font-size: .98rem; color: var(--slate); }
.quote__mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: .8;
  color: var(--mist-2);
  display: block;
  margin-bottom: 8px;
}
.quote__by {
  display: flex; align-items: center; gap: 12px;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.quote__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  flex: none;
}
.quote__by strong { display: block; font-size: .92rem; color: var(--ink); }
.quote__by span { font-size: .8rem; color: var(--slate-light); }

/* --------------------------------------------------------------------------
   9. Accordion (FAQ)
   -------------------------------------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 20px 44px 20px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  position: relative;
  line-height: 1.4;
}
.acc__q::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 14px; height: 2px;
  background: var(--red);
  transform: translateY(-50%);
}
.acc__q::before {
  content: "";
  position: absolute;
  right: 12px; top: 50%;
  width: 2px; height: 14px;
  background: var(--red);
  transform: translateY(-50%);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.acc__q[aria-expanded="true"]::before { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.acc__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .32s var(--ease);
}
.acc__a > div { padding: 0 40px 22px 0; color: var(--slate); }

/* --------------------------------------------------------------------------
   10. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
}
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: .97rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  width: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(44,165,222,.18);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--red); }
.form__note { font-size: .82rem; color: var(--slate-light); }
.form__status {
  font-size: .9rem;
  padding: 12px 14px;
  border-radius: var(--radius);
  display: none;
}
.form__status.is-ok { display: block; background: #e8f5ec; color: #1c6b38; border: 1px solid #bfe3cc; }
.form__status.is-err { display: block; background: #fdeced; color: #96131c; border: 1px solid #f5c6c9; }

/* Contact tiles */
.contact-tile {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-tile:hover { border-color: #c2d3e2; box-shadow: var(--shadow-sm); }
.contact-tile__icon {
  width: 42px; height: 42px; flex: none;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
}
.contact-tile__icon svg { width: 20px; height: 20px; }
.contact-tile h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-tile p, .contact-tile a { font-size: .93rem; color: var(--slate); margin: 0; word-break: break-word; }
.contact-tile a:hover { color: var(--red); }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 380px; border: 0; }

/* --------------------------------------------------------------------------
   11. CTA band
   -------------------------------------------------------------------------- */
.cta {
  background:
    linear-gradient(130deg, rgba(0,20,39,.96) 34%, rgba(0,49,92,.72) 100%),
    url("../images/cta.jpg") right center/cover no-repeat;
  color: #c6d6e6;
}
.cta__inner { padding: clamp(52px, 6vw, 84px) 0; max-width: 640px; }
.cta h2 { color: #fff; }
.cta h2 .accent { color: #ff5a63; }
.cta p { color: #a9c1d7; font-size: 1.06rem; margin-bottom: 26px; }
.cta__points {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 0 0 28px;
}
.cta__points li {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #cfe0f0;
  display: flex; align-items: center; gap: 8px;
}
.cta__points li::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #93a9be; font-size: .93rem; }
.footer__top {
  display: grid;
  grid-template-columns: 1.35fr .8fr 1.35fr 1.1fr;
  gap: 40px;
  padding: clamp(48px, 5vw, 70px) 0 44px;
}
.footer__brand-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: inline-block;
  margin-bottom: 18px;
}
.footer__brand-card img { height: 44px; width: auto; }
.footer h5 {
  font-family: var(--font-display);
  color: #fff;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  position: relative;
}
.footer h5::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 34px; height: 2px; background: var(--red);
}
.footer__links li { margin-bottom: 9px; }
.footer__links a { color: #93a9be; font-size: .92rem; }
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__links--cols { columns: 2; column-gap: 26px; }
.footer__links--cols li { break-inside: avoid; }

.footer__contact li {
  display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start;
}
.footer__contact svg { width: 17px; height: 17px; color: var(--sky); flex: none; margin-top: 4px; }
.footer__contact a { color: #cfdcea; }
.footer__contact a:hover { color: #fff; }

.social { display: flex; gap: 10px; margin-top: 4px; }
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  color: #b9cadb;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.social svg { width: 17px; height: 17px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: .84rem;
  color: #7f97ae;
}
.footer__bottom a { color: #93a9be; }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 180;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* --------------------------------------------------------------------------
   13. Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .mega { grid-template-columns: 1fr 1fr; width: min(680px, calc(100vw - 40px)); }
  .mega__promo { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 20px; }
  .mega__promo p { margin-bottom: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__figure { max-width: 560px; }
  .hero__badge { left: auto; right: 16px; }
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .split__media { order: -1; max-width: 560px; }
  .split__media::after { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .track { grid-template-columns: repeat(2, 1fr); }
  .track__step:nth-child(2) { border-right: 0; }
  .track__step:nth-child(-n+2) { border-bottom: 1px dashed var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile navigation */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .topbar__inner { justify-content: center; gap: 16px; font-size: .78rem; }
  .topbar__loc, .topbar__tag { display: none; }
  .topbar__spacer { margin-left: 0; }

  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(370px, 88vw);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px 20px 40px;
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0,20,39,.2);
    transform: translateX(102%);
    transition: transform .3s var(--ease);
    z-index: 250;
    margin-left: 0;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link {
    padding: 15px 4px;
    justify-content: space-between;
    font-size: 1.02rem;
    border-radius: 0;
  }
  .nav__link:hover { background: transparent; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 22px; }

  .mega {
    position: static;
    transform: none;
    width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 14px 4px;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  .has-mega:hover .mega { transform: none; max-height: 0; }
  .has-mega.is-open .mega { transform: none; max-height: 1200px; }
  .mega__list a { font-size: .95rem; padding: 9px 6px; }
  .mega__title { margin-top: 10px; }
  .mega__promo { display: none; }

  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(0,20,39,.5);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
    z-index: 190;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .brand img { height: 38px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .track { grid-template-columns: 1fr; }
  .track__step { border-right: 0; border-bottom: 1px dashed var(--line); }
  .track__step:last-child { border-bottom: 0; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .footer__legal { justify-content: center; }
  .hero__badge {
    position: static;
    margin-top: 16px;
    max-width: none;
    border-radius: var(--radius-lg);
  }
  .cta { background-image: linear-gradient(rgba(0,20,39,.94), rgba(0,20,39,.94)), url("../images/cta.jpg"); }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .nav__cta.btn { width: 100%; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .wrap { padding-inline: 16px; }
}

/* --------------------------------------------------------------------------
   15. Accessibility + print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .wa-float, .cta { display: none; }
  body { color: #000; }
}
