﻿/* ============================================================
   Robust Testing Solutions — Enterprise design system v3
   Brand: blue + gold + white (logo-matched). Navy for depth.
   ============================================================ */
:root {
  /* Palette */
  --navy: #0b1930;
  --navy-700: #112a4d;
  --navy-800: #0a1526;
  --blue: #103c8c;          /* brand primary */
  --blue-600: #1750b5;
  --blue-500: #2f6fd6;
  --blue-soft: #e9f0fb;
  --gold: #c9a264;          /* brand accent */
  --gold-bright: #e4c488;
  --gold-deep: #a8823f;
  --white: #ffffff;
  --off: #f5f8fc;
  --off-200: #eef3fa;
  --ink: #172033;           /* charcoal text */
  --muted: #64748b;         /* neutral gray */
  --line: #e2e9f3;
  --line-soft: #edf2f9;

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(11, 25, 48, 0.06), 0 2px 8px rgba(11, 25, 48, 0.05);
  --shadow-sm: 0 6px 20px rgba(11, 25, 48, 0.08);
  --shadow-md: 0 18px 44px rgba(11, 25, 48, 0.12);
  --shadow-lg: 0 34px 80px rgba(11, 25, 48, 0.2);
  --ring-gold: 0 0 0 1px rgba(201, 162, 100, 0.5);

  /* Metrics */
  --header1: 2.6rem;
  --header2: 4.6rem;
  --max: 1200px;
  --max-wide: 1320px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --fx-display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --fx-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--stack, 7.2rem); }
body {
  margin: 0; font-family: var(--fx-body); color: var(--ink);
  background: var(--white); line-height: 1.65; min-height: 100vh;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; padding-top: var(--stack, 7.2rem);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--fx-display); line-height: 1.12; margin: 0 0 0.7rem; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 0.6rem 1rem; z-index: 2000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.container { width: min(100% - 2.2rem, var(--max)); margin-inline: auto; }
.container--wide { width: min(100% - 2.2rem, var(--max-wide)); margin-inline: auto; }

/* Eyebrow + titles */
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; color: #7a5d23; font-family: var(--fx-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 1rem; max-width: 24ch; }
.section-title .accent { color: var(--blue); }
.section-head { max-width: 46rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 46rem; margin-bottom: 1.5rem; }
.note { font-size: 0.9rem; color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

/* ============================================================ Sticky header stack
   Header-1 (contact strip) + Header-2 (brand/nav) move together inside one sticky
   wrapper, so the strip can never overlap the nav/hamburger regardless of wrapping. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 70; background: #fff; transition: background 0.22s var(--ease); }

/* ============================================================ Header 1 */
.header-1 { display: block; overflow-x: hidden; background: linear-gradient(90deg, var(--navy), var(--blue) 70%, var(--blue-600)); color: #fff; font-size: 0.84rem; }
.header-1 a { color: #fff; }
.header-1 a:hover { color: var(--gold-bright); }
.header-1 .chip-cta { display: none; }
.header-1__inner { width: min(100% - 1.4rem, var(--max-wide)); margin-inline: auto; display: flex; flex-wrap: nowrap; gap: 0.3rem 1.1rem; justify-content: flex-start; align-items: center; padding: 0.42rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.header-1__inner::-webkit-scrollbar { display: none; }
.header-1__contacts { display: flex; flex-wrap: nowrap; gap: 0.3rem 1.1rem; align-items: center; flex: 0 0 auto; }
.header-1__item { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; opacity: 0.94; }
.header-1__item .ico { width: 14px; height: 14px; color: var(--gold-bright); flex-shrink: 0; opacity: 1; }
.social a .ico { width: 16px; height: 16px; }
.header-1__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }
.social { display: inline-flex; gap: 0.38rem; }
.social a { width: 1.85rem; height: 1.85rem; border: 1px solid rgba(255,255,255,0.3); border-radius: var(--r-pill); display: grid; place-items: center; font-size: 0.64rem; font-weight: 800; transition: all 0.2s var(--ease); }
.social a:not(.is-muted):hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: translateY(-1px); }
.social a.is-muted { opacity: 0.3; pointer-events: none; }
.chip-cta { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.38rem 0.9rem; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: var(--navy) !important; font-weight: 700; border-radius: var(--r-pill); font-family: var(--fx-display); font-size: 0.78rem; box-shadow: 0 6px 16px rgba(201,162,100,0.3); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.chip-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(201,162,100,0.42); }

/* ============================================================ Header 2 */
.header-2 { position: relative; z-index: 60; background: #fff; border-bottom: 1px solid var(--line-soft); transition: box-shadow 0.35s var(--ease), border-color 0.35s, background 0.22s var(--ease); }
.header-2.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line-soft); background: rgba(255,255,255,0.95); }
.header-2__inner { width: min(100% - 1.4rem, var(--max-wide)); margin-inline: auto; min-height: var(--header2); display: flex; align-items: center; justify-content: space-between; gap: 1rem; transition: min-height 0.22s var(--ease), padding 0.22s var(--ease); }
.brand { display: flex; align-items: center; color: inherit; min-width: 0; flex: 0 0 auto; }
.brand img { height: clamp(2.6rem, 5vw, 3.3rem); width: auto; display: block; transition: height 0.22s var(--ease), filter 0.22s var(--ease); }
.site-header.is-compact { background: transparent; pointer-events: auto; }
.site-header.is-compact .header-1,
.site-header.is-compact .brand,
.site-header.is-compact .header-tools,
.site-header.is-compact .header-2 { pointer-events: auto; }
.site-header.is-compact .header-2,
.site-header.is-compact .header-2.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
.site-header.is-compact .header-2__inner { min-height: 3.35rem; padding-block: 0.35rem; }
.site-header.is-compact .brand img {
  height: 2.35rem;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,0.95)) drop-shadow(0 2px 8px rgba(11,25,48,0.22));
}
/* Mouse in the top header zone while scrolled: restore a readable bar (logo + nav + quote), not a blank strip. */
.site-header.is-compact:hover,
.site-header.is-compact.is-revealed {
  background: #fff;
}
.site-header.is-compact:hover .header-2,
.site-header.is-compact:hover .header-2.is-scrolled,
.site-header.is-compact.is-revealed .header-2,
.site-header.is-compact.is-revealed .header-2.is-scrolled {
  background: #fff;
  border-bottom-color: var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.site-header.is-compact:hover .header-2__inner,
.site-header.is-compact.is-revealed .header-2__inner {
  min-height: var(--header2);
  padding-block: 0;
}
.site-header.is-compact:hover .brand img,
.site-header.is-compact.is-revealed .brand img {
  height: clamp(2.6rem, 5vw, 3.3rem);
  filter: none;
}

.nav { display: none; align-items: center; min-width: 0; }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 0.3rem; position: relative; color: var(--ink); font-weight: 600; font-size: 0.9rem; padding: 0.5rem 0.7rem; border-radius: 8px; white-space: nowrap; font-family: var(--fx-display); }
.nav-item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.18rem; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); transform: scaleX(0); transform-origin: center; transition: transform 0.25s var(--ease); border-radius: 2px; }
.nav-item > a:hover { color: var(--blue); background: var(--off); }
.nav-item > a:hover::after, .nav-item > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-item > a[aria-current="page"] { color: var(--blue); }
.nav-item .caret { width: 0.6rem; height: 0.6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: 0.7; transition: transform 0.2s var(--ease); }
.nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(-135deg) translateY(-1px); }

/* Mega menu — hang flush under the bar; padding-top + ::before are the hover bridge */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(42rem, 90vw);
  padding: 0.85rem 1.1rem 1.1rem;
  background: #fff;
  background-clip: content-box;
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s var(--ease), visibility 0s linear 0.22s, pointer-events 0s linear 0.22s;
  z-index: 80;
}
.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 1.35rem;
  pointer-events: auto;
}
.mega::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.85rem;
  bottom: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: -1;
  pointer-events: none;
}
.mega--tax { width: min(72rem, calc(100vw - 2.4rem)); padding: 0.85rem 1.25rem 1rem; }
.mega__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.5rem; }
.mega__col { min-width: 0; }
.mega__photo { display: block; position: relative; margin: 0 0 0.55rem; border-radius: 10px; overflow: hidden; background: var(--off); aspect-ratio: 16 / 9; }
.mega__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.mega__head { display: block; font-family: var(--fx-display); font-weight: 800; color: #111; font-size: 0.95rem; padding: 0.15rem 0.35rem 0.55rem; margin-bottom: 0.2rem; border-bottom: 1px solid var(--line-soft); }
.mega__head:hover { color: #111; }
.mega__col a:not(.mega__head):not(.mega__photo) { display: block; padding: 0.38rem 0.35rem; color: var(--blue); font-size: 0.86rem; font-weight: 600; border-radius: 8px; font-family: var(--fx-display); }
.mega__col a:not(.mega__head):not(.mega__photo):hover { background: var(--off); color: var(--blue-600); }
.mega__foot { margin-top: 0.85rem; padding-top: 0.8rem; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; }
.mega__foot a { font-family: var(--fx-display); font-weight: 700; font-size: 0.86rem; }
.img-slot { display: grid; place-items: center; width: 100%; min-height: 10rem; background: var(--off); color: var(--muted); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; border: 1px dashed var(--line); }
.img-slot--card { min-height: 150px; }
.media-frame--slot { background: var(--off); }
.info-card .media-frame { margin-bottom: 1.1rem; }

.drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 11rem;
  background: #fff;
  background-clip: content-box;
  border: 0;
  border-radius: var(--r-sm);
  box-shadow: none;
  padding: 0.55rem 0 0.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s var(--ease), visibility 0s linear 0.22s, pointer-events 0s linear 0.22s;
  z-index: 80;
}
.nav-item:hover .drop,
.nav-item:focus-within .drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.drop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 1.35rem;
  pointer-events: auto;
}
.drop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.55rem;
  bottom: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  z-index: -1;
  pointer-events: none;
}
.drop a { display: block; padding: 0.7rem 1rem; color: var(--ink); font-family: var(--fx-display); font-weight: 600; font-size: 0.88rem; }
.drop a + a { border-top: 1px solid var(--line-soft); }
.drop a:hover { background: var(--off); color: var(--blue); }

.header-tools { display: flex; align-items: center; gap: 0.6rem; flex: 0 0 auto; }
.header-tools .header-cta { display: inline-flex; padding: 0.55rem 0.95rem; font-size: 0.82rem; box-shadow: none; }
.header-cta .cta-short { display: inline; }
.header-cta .cta-full { display: none; }
.nav-toggle { width: 2.6rem; height: 2.6rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; display: inline-grid; place-items: center; gap: 4px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 1.15rem; height: 2px; background: var(--blue); transition: transform 0.25s var(--ease), opacity 0.2s; border-radius: 2px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; position: fixed; inset: var(--stack, 7.2rem) 0 0 0; background: rgba(255,255,255,0.99); z-index: 56; padding: 0.75rem 1.3rem 2rem; overflow: auto; -webkit-overflow-scrolling: touch; }
.mobile-nav.is-open { display: block; animation: fade-in 0.25s var(--ease); }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 0.95rem 0.2rem; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-family: var(--fx-display); font-weight: 700; font-size: 1.05rem; }
.mobile-nav a::after { content: "→"; color: var(--gold-deep); }
.mobile-nav .sub { padding-left: 1rem; font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.mobile-nav .sub--deep { padding-left: 1.85rem; font-size: 0.88rem; font-weight: 500; }
.mobile-nav .mobile-cta { margin-top: 1rem; justify-content: center; background: var(--blue); color: #fff; border-radius: var(--r); }
.mobile-nav .mobile-cta::after { content: ""; }
.mobile-contact { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 0.6rem; }
.mobile-contact a, .mobile-contact span { display: flex; align-items: flex-start; gap: 0.55rem; padding: 0; border: 0; font-family: var(--fx-body); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.mobile-contact a::after { content: ""; }
.mobile-contact span { color: var(--muted); font-weight: 500; }
.mobile-contact .ico { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; margin-top: 0.15rem; }
body.nav-open { overflow: hidden; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Side rail */
.side-rail { display: none; }

/* ============================================================ Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.82rem 1.4rem; border-radius: var(--r-sm); font-family: var(--fx-display); font-weight: 700; font-size: 0.95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.25s, background 0.2s, color 0.2s, border-color 0.2s; position: relative; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-600)); border-color: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(16,60,140,0.28); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(16,60,140,0.4); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-bright)); border-color: var(--gold); color: var(--navy); box-shadow: 0 10px 24px rgba(201,162,100,0.32); }
.btn-gold:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(201,162,100,0.46); }
.btn-outline { background: #fff; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.65); color: #fff; }
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); transform: translateY(-2px); }
.btn-lg { padding: 0.98rem 1.65rem; font-size: 1.02rem; }

/* ============================================================ Hero — full-bleed fade carousel */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); min-height: clamp(36rem, 92vh, 56rem); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.7s ease; pointer-events: none; overflow: hidden; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide--facility img { object-position: 46% 20%; }
.hero-slide__cap,
.media-frame__tag,
.gallery-item figcaption { display: none !important; }
.hero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(11,25,48,0.82) 0%, rgba(11,25,48,0.52) 46%, rgba(11,25,48,0.22) 100%), linear-gradient(180deg, rgba(11,25,48,0.18) 0%, transparent 28%, rgba(11,25,48,0.35) 100%); }
.hero__inner { position: relative; z-index: 2; width: min(100% - 2.2rem, var(--max-wide)); margin-inline: auto; min-height: clamp(36rem, 92vh, 56rem); display: flex; align-items: center; padding: clamp(3.2rem, 8vw, 5.5rem) 0 4.6rem; }
.hero__copy { max-width: 44rem; }
.hero__badge { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.2rem; padding: 0.4rem 0.85rem; border-radius: var(--r-pill); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-bright); backdrop-filter: blur(6px); }
.hero__badge .pulse { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold-bright); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(228,196,136,0.55); } 70% { box-shadow: 0 0 0 10px rgba(228,196,136,0); } 100% { box-shadow: 0 0 0 0 rgba(228,196,136,0); } }
.hero h1 { color: #fff; font-size: clamp(1.55rem, 2.2vw, 2.2rem); line-height: 1.18; margin-bottom: 0.7rem; letter-spacing: -0.02em; max-width: 18em; text-shadow: 0 8px 28px rgba(11,25,48,0.35); }
.hero h1 .grad { background: linear-gradient(100deg, var(--gold-bright), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__line { font-size: clamp(1.02rem, 1.9vw, 1.28rem); color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.hero__line b { color: var(--gold-bright); font-weight: 600; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem; }
.trust-pill { display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid rgba(228,196,136,0.45); color: #fff; padding: 0.38rem 0.82rem; font-size: 0.78rem; font-weight: 600; border-radius: var(--r-pill); background: rgba(255,255,255,0.08); backdrop-filter: blur(6px); }
.trust-pill::before { content: ""; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--gold-bright); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 3.1rem; height: 3.1rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); background: rgba(11,25,48,0.38); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.55rem; line-height: 1; backdrop-filter: blur(8px); transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s; }
.hero-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hero-nav--prev { left: 1.1rem; }
.hero-nav--next { right: 1.1rem; }
.hero-dots { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 3; display: flex; gap: 0.45rem; }
.hero-dots button { width: 0.55rem; height: 0.55rem; border-radius: var(--r-pill); border: 0; background: rgba(255,255,255,0.45); cursor: pointer; padding: 0; transition: width 0.25s var(--ease), background 0.25s var(--ease); }
.hero-dots button.is-active { width: 2rem; background: #fff; }

/* ============================================================ Credibility strip */
.credibility { background: #fff; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.credibility__inner { width: min(100% - 2.2rem, var(--max-wide)); margin-inline: auto; display: grid; gap: 1.2rem 2rem; grid-template-columns: 1fr; align-items: center; padding: 1.5rem 0; }
.credibility__label { font-family: var(--fx-display); font-weight: 700; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.credibility__marks { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center; }
.cred-mark { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--navy); font-family: var(--fx-display); font-weight: 700; font-size: 0.92rem; }
.cred-mark img { height: 2.6rem; width: auto; filter: drop-shadow(0 2px 6px rgba(11,25,48,0.1)); }
.cred-mark small { display: block; color: var(--muted); font-weight: 600; font-size: 0.74rem; }

/* ============================================================ Sections */
.section { padding: clamp(3.4rem, 7vw, 5.8rem) 0; position: relative; }
.section--soft { background: var(--off); }
.section--line { border-top: 1px solid var(--line-soft); }
.section--deep { color: #fff; background: radial-gradient(900px 500px at 82% -20%, rgba(47,111,214,0.4), transparent 60%), linear-gradient(135deg, var(--navy), var(--blue) 72%); }
.section--deep .section-title, .section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .lead, .section--deep p { color: rgba(255,255,255,0.85); }
.section--deep .eyebrow { color: var(--gold-bright); }

.split { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
.media-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.media-frame--facility img { object-position: 40% 28%; }
.media-frame--expertise { aspect-ratio: auto; background: #f4f7fb; }
.media-frame--expertise img { width: 100%; height: auto; min-height: 0; object-fit: contain; object-position: center; }
.media-frame--contain { background: #fff; }
.media-frame--contain img { object-fit: contain; object-position: center; min-height: 0; height: auto; background: #fff; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; align-items: start; }
.media-pair .media-frame { margin: 0; }
.media-pair .media-frame img { width: 100%; height: auto; min-height: 0; object-fit: contain; }
.media-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28); pointer-events: none; }
.media-frame--float { position: relative; }
.media-frame--float::before { content: ""; position: absolute; inset: -0.9rem -0.9rem auto auto; width: 7rem; height: 7rem; border: 2px solid var(--gold); border-radius: var(--r-lg); z-index: -1; }

/* Scope spectrum — homepage Who we are cards */
.scope-spectrum {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 2rem 0 0;
  align-items: stretch;
}
.scope-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-sm);
  padding: 1.05rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 8.5rem;
  height: 100%;
  min-width: 0;
  transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.25s;
}
.scope-chip:hover { transform: translateY(-3px); border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.scope-chip strong {
  font-family: var(--fx-display);
  color: var(--blue);
  font-size: 1rem;
  line-height: 1.3;
  min-height: 2.6em;
}
.scope-chip span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Grid helpers */
.grid-2, .grid-3, .grid-4, .grid-certs, .grid-families { display: grid; gap: 1.2rem; }
.grid-families { grid-template-columns: 1fr; }

/* Service cards */
.tilt { transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.service-card, .info-card, .why-card, .industry-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; height: 100%; position: relative; overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.2s; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.info-card:hover, .why-card:hover, .industry-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card__icon, .why-card__icon { width: 3rem; height: 3rem; border-radius: 14px; margin-bottom: 1rem; background: linear-gradient(135deg, var(--blue-soft), #fff); color: var(--blue); display: grid; place-items: center; font-family: var(--fx-display); font-weight: 800; font-size: 0.88rem; border: 1px solid rgba(16,60,140,0.14); box-shadow: var(--shadow-xs); }
.service-card h3, .info-card h3, .why-card h3, .industry-card h3 { color: var(--navy); font-size: 1.12rem; }
.service-card p, .info-card p, .why-card p, .industry-card p { color: var(--muted); }
.service-card .more { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--fx-display); font-weight: 700; color: var(--blue); font-size: 0.9rem; }
.service-card .more::after { content: "→"; transition: transform 0.2s var(--ease); }
.service-card:hover .more::after { transform: translateX(4px); }
.service-card__img { margin: -1.5rem -1.5rem 1.1rem; height: 150px; overflow: hidden; position: relative; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__img .badge { position: absolute; left: 0.9rem; bottom: 0.9rem; background: rgba(11,25,48,0.85); color: #fff; font-family: var(--fx-display); font-weight: 800; font-size: 0.72rem; padding: 0.3rem 0.6rem; border-radius: 6px; }

/* Why-choose icon style */
.why-card__icon { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-size: 1.1rem; }

/* Process timeline */
.process { position: relative; display: grid; gap: 1.1rem; margin-top: 1.8rem; counter-reset: step; }
.process__step { position: relative; display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.35rem; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
/* Paired process grid for narrow (half-width) columns, e.g. witness "How to schedule".
   Uses .process.process--pair to outrank the generic .process column rules below. */
.process.process--pair { grid-template-columns: 1fr; }
@media (min-width: 560px) { .process.process--pair { grid-template-columns: 1fr 1fr; } }
.process__step:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.process__num { width: 2.7rem; height: 2.7rem; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-600)); font-family: var(--fx-display); font-weight: 800; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(16,60,140,0.28); }
.process__step h3 { margin: 0 0 0.3rem; font-size: 1.06rem; color: var(--navy); }
.process__step p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Standards matrix */
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.matrix { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 0.93rem; }
.matrix th, .matrix td { padding: 0.9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.matrix thead th { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-family: var(--fx-display); font-weight: 700; }
.matrix thead th:not(:first-child), .matrix td:not(:first-child) { text-align: center; }
.matrix tr:last-child td { border-bottom: 0; }
.matrix tbody tr:hover td { background: var(--off); }
.matrix .prime { color: var(--blue); font-weight: 800; }
.matrix .sec { color: var(--line); }
.matrix td:first-child { font-weight: 600; color: var(--navy); }

/* Certificates */
.grid-certs { grid-template-columns: repeat(2, 1fr); }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0.9rem; text-align: center; cursor: zoom-in; width: 100%; font: inherit; color: inherit; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.2s; }
.cert:hover, .cert:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.cert__frame { aspect-ratio: 3/4; border-radius: 10px; margin-bottom: 0.7rem; position: relative; overflow: hidden; background: linear-gradient(180deg, #fbfdff, #eef4fb); border: 1px solid var(--line-soft); display: grid; place-items: center; color: var(--muted); font-size: 0.8rem; padding: 0.85rem; font-family: var(--fx-display); font-weight: 700; }
.cert__frame::after { content: ""; position: absolute; inset: 0.5rem; border: 1px solid rgba(201,162,100,0.3); border-radius: 6px; pointer-events: none; }
.cert__frame--img { background: #fff; overflow: hidden; }
.cert__frame--img img { max-width: 88%; max-height: 88%; width: auto; height: auto; object-fit: contain; object-position: center; }
.cert .caption { font-weight: 700; font-size: 0.85rem; color: var(--navy); font-family: var(--fx-display); }

/* Homepage certificates — GTL-style document row, Robust credentials only */
.certs { text-align: center; }
.certs__kicker { margin: 0 0 0.55rem; color: var(--blue); font-family: var(--fx-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.certs__title { font-size: clamp(2rem, 4.2vw, 2.85rem); margin: 0 0 2.2rem; max-width: none; }
.certs-row { display: flex; align-items: center; justify-content: center; gap: 0.35rem; width: 100%; }
.certs-viewport { overflow: hidden; flex: 1 1 auto; width: 100%; min-width: 0; }
.certs-track { display: flex; gap: 1.2rem; justify-content: flex-start; transition: transform 0.4s var(--ease); will-change: transform; }
.certs-card { flex: 0 0 min(240px, 78vw); width: min(240px, 78vw); min-width: 0; background: transparent; border: 0; padding: 0; cursor: zoom-in; font: inherit; color: inherit; text-align: center; }
.certs-card__frame { display: block; aspect-ratio: 3 / 4; background: #fff; border: 1px solid #d5deea; box-shadow: 0 10px 28px rgba(11, 25, 48, 0.08); padding: 0.5rem; overflow: hidden; transition: border-color 0.2s, box-shadow 0.3s; }
.certs-sheet { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0.85rem 0.7rem; border: 1px solid rgba(201, 162, 100, 0.45); background: linear-gradient(180deg, #fff, #f7fafd); }
.certs-sheet img { width: auto; height: auto; max-width: 72%; max-height: 48%; object-fit: contain; }
.certs-sheet--photo { padding: 0.28rem; background: #fff; overflow: hidden; }
.certs-sheet--photo img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; object-position: center; }
.certs-sheet__kicker { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; font-family: var(--fx-display); }
.certs-sheet__iso { width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; font-family: var(--fx-display); font-weight: 800; font-size: 0.82rem; }
.certs-sheet strong { color: var(--navy); font-family: var(--fx-display); font-size: 0.98rem; line-height: 1.2; }
.certs-sheet span { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.certs-card__label { display: block; margin-top: 0.9rem; color: var(--blue); font-family: var(--fx-display); font-weight: 700; font-size: 0.95rem; }
.certs-card:hover .certs-card__frame, .certs-card:focus-visible .certs-card__frame { border-color: var(--gold); box-shadow: var(--shadow-md); }
.certs-nav { width: 2.5rem; height: 2.5rem; border: 0; background: transparent; color: var(--navy); font-size: 2.1rem; line-height: 1; cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.certs-nav[hidden] { display: none; }
.certs-nav:hover { color: var(--blue); background: var(--blue-soft); }
.certs-dots[hidden] { display: none; }
.certs-dots { display: flex; justify-content: center; gap: 0.42rem; margin: 1.35rem 0 1.5rem; min-height: 0.5rem; }
.certs-dots button { width: 0.48rem; height: 0.48rem; border-radius: var(--r-pill); border: 0; background: #c5cdd8; cursor: pointer; padding: 0; }
.certs-dots button.is-active { background: var(--navy); }
.certs-foot { margin: 1.35rem auto 1.15rem; color: var(--muted); font-size: 0.92rem; max-width: 40rem; }
.certs-cta { border-radius: var(--r-pill); min-width: 13rem; }

/* Capability showcase (replaces fake testimonials) */
.showcase { display: grid; gap: 1.1rem; }
.showcase-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; position: relative; overflow: hidden; box-shadow: var(--shadow-xs); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.showcase-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--gold-bright)); }
.showcase-card h3 { color: var(--blue); font-size: 1.1rem; }
.showcase-card .metric { font-family: var(--fx-display); font-weight: 800; color: var(--navy); font-size: 1.4rem; }
.quotes { text-align: center; max-width: 46rem; }
.quotes__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.4rem; }
.quotes__title .accent { color: var(--gold-deep); }
.quotes__stage { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.4rem; margin-top: 1.2rem; }
.quotes__viewport { position: relative; min-height: 22rem; }
.quotes__slide { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.5rem 0.8rem 0; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease); }
.quotes__slide.is-active { opacity: 1; visibility: visible; position: relative; }
.quotes__mark { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 4.4rem; line-height: 0.7; color: var(--gold); font-weight: 400; margin-bottom: 1.1rem; }
.quotes__slide p { margin: 0 auto 1.6rem; max-width: 36rem; color: #3d4a5c; font-size: clamp(1.05rem, 2.4vw, 1.22rem); line-height: 1.7; font-style: italic; }
.quotes__slide cite { font-style: normal; font-family: var(--fx-display); font-weight: 700; color: var(--gold-deep); font-size: 1.12rem; display: flex; flex-direction: column; gap: 0.15rem; }
.quotes__slide cite span { font-weight: 500; color: var(--muted); font-size: 0.88rem; }
.quotes__nav { width: 2.4rem; height: 2.4rem; border: 0; background: transparent; color: var(--blue); font-size: 2rem; line-height: 1; cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.quotes__nav:hover { color: var(--gold-deep); background: var(--blue-soft); }

/* Our Clients — auto-scrolling logo marquee */
.clients { text-align: center; }
.clients__title { font-size: clamp(2rem, 4.4vw, 2.75rem); margin: 0 0 2rem; max-width: none; color: var(--navy); }
.clients__title span { color: var(--gold-deep); }
.logo-marquee { width: 100%; }
.logo-marquee__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee 110s linear infinite;
}
.logo-marquee:hover .logo-marquee__track,
.logo-marquee:focus-within .logo-marquee__track,
.logo-marquee.is-paused .logo-marquee__track { animation-play-state: paused; }
a.logo-slot { color: inherit; text-decoration: none; }
.logo-marquee__group { display: flex; gap: 1.25rem; align-items: center; padding-right: 1.25rem; }
.logo-slot {
  flex: 0 0 168px;
  width: 168px;
  height: 6.2rem;
  display: grid;
  place-items: center;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  transition: border-color 0.25s var(--ease);
}
.logo-slot img { max-width: 100%; max-height: 3.7rem; width: auto; height: auto; object-fit: contain; }
.logo-slot:hover, .logo-slot:focus-visible {
  border-color: var(--line);
}
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Industries */
.industry-card { display: flex; gap: 1rem; align-items: flex-start; }
.industry-card .ic { flex-shrink: 0; width: 2.8rem; height: 2.8rem; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-soft), #fff); color: var(--blue); font-family: var(--fx-display); font-weight: 800; font-size: 0.8rem; border: 1px solid rgba(16,60,140,0.12); }
.industry-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.industry-card p { font-size: 0.9rem; margin: 0; }

/* List check */
.list-check { list-style: none; padding: 0; }
.list-check li { position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem; }
.list-check li::before { content: ""; position: absolute; left: 0; top: 0.5rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--gold-bright), var(--gold)); box-shadow: 0 0 0 3px rgba(201,162,100,0.16); }

/* CTA band */
.cta-band { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; }

/* ============================================================ Page hero */
.page-hero { color: #fff; padding: clamp(2.6rem, 5vw, 3.8rem) 0 clamp(2.4rem, 4vw, 3.1rem); position: relative; overflow: hidden; background: radial-gradient(800px 400px at 85% -30%, rgba(47,111,214,0.44), transparent 60%), linear-gradient(130deg, var(--navy), var(--blue) 70%, var(--blue-600)); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(180deg,#000,transparent 75%); }
.page-hero::after { content: ""; position: absolute; right: -5rem; top: -4rem; width: 20rem; height: 20rem; border: 1px solid rgba(201,162,100,0.25); border-radius: 50%; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); max-width: 22ch; position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.88); max-width: 46rem; margin: 0; position: relative; z-index: 1; }
.page-hero .hero-points { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.45rem; max-width: 46rem; position: relative; z-index: 1; }
.page-hero .hero-points li { color: rgba(255,255,255,0.94); padding-left: 1.15rem; position: relative; font-size: 1.02rem; line-height: 1.45; }
.page-hero .hero-points li::before { content: "•"; position: absolute; left: 0; color: var(--gold-bright); font-weight: 700; }
.pathways-line { margin: 1.6rem 0 0; font-size: 1.02rem; }
.pathways-line a { font-weight: 600; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.72); margin-bottom: 0.9rem; position: relative; z-index: 1; }
.breadcrumb a { color: var(--gold-bright); }
.breadcrumb span[aria-current] { color: #fff; }

/* ============================================================ Forms */
.form-layout { display: grid; gap: 2rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; }
.contact-list__ico { width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-soft), #fff); color: var(--blue); border: 1px solid rgba(16,60,140,0.14); }
.contact-list__ico .ico { width: 18px; height: 18px; }
.contact-list strong { display: block; font-family: var(--fx-display); color: var(--navy); font-size: 0.92rem; margin-bottom: 0.15rem; }
.contact-list p { margin: 0; color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--shadow-md); }
.form h2 { color: var(--navy); margin-bottom: 0.4rem; }
.form .form-intro { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; font-size: 0.92rem; color: var(--navy); }
.field label .req { color: var(--gold-deep); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0.78rem 0.9rem; font: inherit; background: var(--off); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.field input:focus, .field textarea:focus, .field select:focus { background: #fff; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47,111,214,0.14); outline: none; }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #d14343; }
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }
.field-error { color: #c23b3b; font-size: 0.82rem; margin-top: 0.3rem; min-height: 1em; }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }
.form-status { margin-top: 0.9rem; padding: 0.85rem 1rem; border-radius: var(--r-sm); font-size: 0.9rem; display: none; }
.form-status.is-show { display: block; }
.form-status.is-ok { background: #eaf6ee; color: #1d6b38; border: 1px solid #bfe3c9; }
.form-status.is-info { background: var(--blue-soft); color: var(--blue); border: 1px solid #cfe0f7; }
.form-status.is-err { background: #fbeaea; color: #b23636; border: 1px solid #f0cccc; }
.turnstile { margin: 0 0 1rem; min-height: 0; }
.map-embed { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-height: 240px; background: var(--blue-soft); box-shadow: var(--shadow-xs); }
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }
.map-fallback { min-height: 240px; display: grid; place-items: center; padding: 1.5rem; text-align: center; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.filters button { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--r-pill); padding: 0.45rem 1rem; font-weight: 700; font-family: var(--fx-display); font-size: 0.84rem; cursor: pointer; transition: all 0.2s var(--ease); }
.filters button.is-active, .filters button:hover { border-color: var(--blue); color: #fff; background: var(--blue); }
.gallery-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; max-width: 1000px; margin-inline: auto; }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
.gallery-item { aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--off); scroll-margin-top: 7.5rem; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.is-hidden { display: none; }

.photo-strip { display: grid; gap: 1.2rem; }
.photo-strip .media-frame img { min-height: 260px; max-height: 420px; }
@media (min-width: 720px) {
  .photo-strip--2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .photo-strip--3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* Witness lanes */
.witness-lanes { display: grid; gap: 1.1rem; }
.witness-lane { border-radius: var(--r-lg); border: 1px solid var(--line); padding: 1.6rem; background: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-xs); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.witness-lane:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.witness-lane::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--gold-bright)); }
.witness-lane h3 { color: var(--blue); }

/* ============================================================ Footer */
.site-footer { background: linear-gradient(180deg, var(--navy), #060f1f); color: rgba(255,255,255,0.82); padding: clamp(3rem,5vw,4rem) 0 1.5rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: var(--gold-bright); }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand img { width: 172px; height: auto; background: #fff; padding: 0.5rem 0.75rem; border-radius: 10px; margin-bottom: 1rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.5rem; }
.footer-contact li, .footer-contact a { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact .ico { width: 14px; height: 14px; color: var(--gold-bright); flex-shrink: 0; margin-top: 0.2rem; }
.footer-badges { display: flex; gap: 0.8rem; margin-top: 1rem; }
.footer-badges img { height: 3rem; width: auto; background: rgba(255,255,255,0.95); border-radius: 8px; padding: 0.25rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* Certificate hover preview — same scan as the card, large and readable */
.cert-preview { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 1.25rem; background: rgba(11, 25, 48, 0.55); }
.cert-preview.is-open { display: grid; animation: fade-in 0.2s var(--ease); }
.cert-preview__window { position: relative; pointer-events: auto; background: #fff; padding: 0.7rem; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); max-width: min(44rem, 94vw); max-height: 92vh; }
.cert-preview__window img { display: block; width: auto; height: auto; max-width: min(42rem, 90vw); max-height: 86vh; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.cert-preview__close { position: absolute; top: 0.45rem; right: 0.45rem; border: 0; background: rgba(11, 25, 48, 0.78); color: #fff; width: 2.1rem; height: 2.1rem; border-radius: 50%; font-size: 1.25rem; line-height: 1; cursor: pointer; z-index: 1; }
.cert-preview__close:hover { background: var(--navy); }

/* WhatsApp float */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 50; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #25d366; color: #fff !important; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,0.5); transition: transform 0.2s var(--ease); }
.wa-float .ico { width: 22px; height: 22px; }
.wa-float:hover { transform: scale(1.08) translateY(-2px); }

/* ============================================================ Responsive */
@media (min-width: 620px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .scope-spectrum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-certs { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-slot { flex-basis: 168px; width: 168px; }
}
@media (min-width: 900px) {
  .nav-item:has(.mega) { position: static; }
  .header-2,
  .site-header { overflow: visible; }
  .header-2__inner {
    width: min(100% - 2.8rem, var(--max-wide));
    display: grid;
    grid-template-columns: minmax(8.5rem, 1fr) auto minmax(8.5rem, 1fr);
    align-items: stretch;
    column-gap: 1.5rem;
  }
  .brand {
    justify-self: start;
    align-self: center;
    margin-right: 0;
  }
  .header-tools {
    justify-self: end;
    align-self: center;
  }
  .nav {
    display: flex;
    flex: 0 0 auto;
    width: auto;
    justify-self: center;
    justify-content: center;
    align-items: stretch;
    align-self: stretch;
    gap: 1.15rem;
  }
  .nav > .nav-item { flex: 0 0 auto; display: flex; align-items: center; }
  .nav-item > a { padding: 0.35rem 0.15rem; font-size: 0.84rem; border-radius: 0; height: auto; }
  .nav-item > a:hover { background: transparent; }
  .header-1__inner { justify-content: center; overflow: visible; flex-wrap: wrap; }
  .header-1__contacts { flex-wrap: wrap; }
  .header-tools .header-cta {
    display: inline-flex;
    padding: 0.72rem 1.3rem;
    font-size: 0.88rem;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(16,60,140,0.22);
  }
  .header-cta .cta-short { display: none; }
  .header-cta .cta-full { display: inline; }
  .nav-toggle { display: none; }
  .site-header.is-compact .header-2__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.35rem;
    padding-block: 0.35rem;
  }
  .site-header.is-compact .nav { display: none; }
  .site-header.is-compact .nav-toggle { display: inline-grid; }
  .site-header.is-compact:hover .nav,
  .site-header.is-compact.is-revealed .nav { display: flex; }
  .site-header.is-compact:hover .nav-toggle,
  .site-header.is-compact.is-revealed .nav-toggle { display: none; }
  .credibility__inner { grid-template-columns: auto 1fr; }
  .hero__inner { padding-left: 4.6rem; padding-right: 4.6rem; }
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--reverse .media-frame,
  .split--reverse .media-pair { order: 2; }
  .grid-2, .form-layout, .witness-lanes, .showcase { grid-template-columns: 1fr 1fr; }
  .grid-3, .process { grid-template-columns: repeat(3, 1fr); }
  .certs-track { width: 100%; justify-content: center; gap: 1rem; }
  .certs-card { flex: 1 1 0; width: auto; max-width: 230px; min-width: 0; }
  .grid-4, .grid-families { grid-template-columns: repeat(2, 1fr); }
  .scope-spectrum { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .mega__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; align-items: start; }
}
@media (min-width: 1100px) {
  .mega--tax { width: min(86rem, calc(100vw - 1.6rem)); }
  .mega__cols { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .header-2__inner { column-gap: 1.75rem; }
  .nav { gap: 1.45rem; }
  .nav-item > a { font-size: 0.9rem; }
  .header-tools .header-cta { padding: 0.78rem 1.45rem; font-size: 0.9rem; }
  .certs-card { max-width: 240px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-families { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(5, 1fr); }
}
/* After scroll on wide screens: hide the top nav; only the side names remain. */
@media (min-width: 1440px) {
  .site-header.is-compact .header-2__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 3.4rem;
    padding-block: 0.35rem;
    column-gap: 1rem;
  }
  .site-header.is-compact .nav { display: none; }
  .site-header.is-compact .nav-toggle { display: none; }
  .site-header.is-compact .brand img { height: 2.45rem; }
  .site-header.is-compact:hover .nav,
  .site-header.is-compact.is-revealed .nav { display: flex; }
  .site-header.is-compact:hover .nav-toggle,
  .site-header.is-compact.is-revealed .nav-toggle { display: none; }
  .site-header.is-compact:hover .brand img,
  .site-header.is-compact.is-revealed .brand img { height: clamp(2.6rem, 5vw, 3.3rem); filter: none; }
  .side-rail { display: flex; position: fixed; left: 0.7rem; top: 50%; transform: translateY(-50%); z-index: 40; flex-direction: column; align-items: flex-start; gap: 0.55rem; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
  .side-rail.is-visible { opacity: 1; pointer-events: auto; }
  .side-rail__item { writing-mode: horizontal-tb; transform: none; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border: 1px solid var(--line); color: var(--blue); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-family: var(--fx-display); padding: 0.62rem 1.05rem; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); white-space: nowrap; }
  .side-rail__item:hover, .side-rail__item[aria-current="page"] { border-color: var(--gold); color: var(--blue-600); background: #fff; }
}

/* Phone / small tablet: no overlapping header, no clipped certs or contact strip */
@media (max-width: 899px) {
  html { scroll-padding-top: var(--stack, 7.2rem); }

  .site-header,
  .site-header.is-compact,
  .site-header.is-compact:hover,
  .site-header.is-compact.is-revealed { background: #fff; }
  .site-header.is-compact .header-2,
  .site-header.is-compact .header-2.is-scrolled,
  .site-header.is-compact:hover .header-2,
  .site-header.is-compact.is-revealed .header-2 {
    background: #fff;
    border-bottom-color: var(--line-soft);
    box-shadow: var(--shadow-sm);
  }
  .header-2__inner { min-height: 3.5rem; }
  .brand img { height: 2.45rem; }
  .site-header.is-compact .header-2__inner { min-height: 3.25rem; padding-block: 0.2rem; }
  .site-header.is-compact .brand img,
  .site-header.is-compact:hover .brand img,
  .site-header.is-compact.is-revealed .brand img {
    height: 2.35rem;
    filter: none;
  }

  .header-1 { overflow: visible; font-size: 0.75rem; }
  .header-1__inner {
    width: min(100% - 1rem, var(--max-wide));
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem 0.8rem;
    overflow: visible;
    padding: 0.38rem 0;
  }
  .header-1__contacts {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem 0.8rem;
    max-width: 100%;
  }
  .header-1__item--place { display: none; }

  .certs-row {
    position: relative;
    gap: 0;
  }
  .certs-viewport {
    overflow: hidden;
    width: 100%;
    min-width: 0;
  }
  .certs-track {
    gap: 0;
    width: 100%;
  }
  .certs .certs-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
  }
  .certs-nav {
    position: absolute;
    top: 38%;
    z-index: 3;
    width: 2.2rem;
    height: 2.2rem;
    flex: none;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-xs);
  }
  .certs-row > .certs-nav:first-child { left: 0.15rem; }
  .certs-row > .certs-nav:last-of-type { right: 0.15rem; }
  .certs-foot {
    max-width: none;
    padding: 0 4.6rem 0.85rem;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .hero-nav { display: none; }
  .wa-float { width: 3rem; height: 3rem; right: 0.8rem; bottom: 0.8rem; }
  .site-footer { padding-bottom: 5.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-slide { transition: none !important; }
  .logo-marquee__track { animation: none !important; flex-wrap: wrap; width: 100%; justify-content: center; }
  .logo-marquee__group[aria-hidden="true"] { display: none; }
  .logo-marquee__viewport { mask-image: none; -webkit-mask-image: none; }
  /* Keep a short close-delay so the hover bridge still works without motion. */
  .mega, .drop { transition-duration: 0.01ms, 0.2s, 0.2s !important; }
  .nav-item:is(:hover, :focus-within) .mega,
  .nav-item:is(:hover, :focus-within) .drop { transition-duration: 0.01ms !important; }
}
