/* ============================================================
   GMG GLOBAL MEDICAL GROUP — CONSOLIDATED STYLESHEET
   Part 1 of 2 — Base, layout, header, homepage, products
   ============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Palette — from logo */
  --navy-deep: #08172e;
  --navy-dark: #0f2652;
  --navy: #1a3a7a;
  --navy-light: #2a4d94;
  --sky: #0aa3e0;
  --sky-dark: #0787bd;
  --silver: #cbd5e1;
  --silver-light: #e2e8f0;

  /* Text */
  --text: #0a1c33;
  --text-soft: #475569;
  --text-muted: #64748b;

  /* Backgrounds */
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-ice: #eaf2f9;

  /* Lines */
  --border: #dde5ee;
  --border-strong: #c2cfdd;

  /* Status */
  --success: #15803d;
  --danger: #b91c1c;

  /* Shape */
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,38,82,.05);
  --shadow-sm: 0 2px 8px rgba(15,38,82,.06);
  --shadow: 0 8px 24px rgba(15,38,82,.08);
  --shadow-lg: 0 24px 56px rgba(15,38,82,.14);

  /* Layout */
  --container: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Fraunces', 'Instrument Serif', Georgia, serif;
  --font-editorial: 'Instrument Serif', 'Fraunces', Georgia, serif;
  --ease: cubic-bezier(.2,.8,.2,1);

  /* Legacy aliases */
  --primary: #1a3a7a;
  --primary-dark: #0f2652;
  --accent: #0aa3e0;
  --accent-dark: #0787bd;
  --dark: #0a1c33;
  --gray: #64748b;
  --light: #f5f8fc;
  --white: #ffffff;

  /* Fixed header height (updated via media queries) */
  --header-h: 96px;
  --topbar-h: 34px;
  --total-top: 130px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background-color: #fafcfe;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-top: var(--total-top);
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .22s var(--ease); }
a:hover { color: var(--sky); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-dark); }

/* ---------- LAYOUT ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--text);
  font-optical-sizing: auto;
}
h1 { font-size: clamp(1.7rem, 3.2vw, 2.75rem); margin-bottom: .9rem; line-height: 1.12; }
h2 { font-size: clamp(1.3rem, 2.3vw, 1.9rem); margin-bottom: .65rem; line-height: 1.2; }

h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
}
h3 { font-size: 1.06rem; margin-bottom: .4rem; }
h4 { font-size: .98rem; margin-bottom: .35rem; }

p { margin-bottom: .9rem; font-family: var(--font); font-weight: 400; }

.muted { color: var(--text-muted); }
.small { font-size: .82rem; }
.lead, .hero-lead, .hero-sub {
  font-size: 1.03rem;
  color: var(--text-soft);
  max-width: 720px;
  line-height: 1.75;
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0.005em;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 14px; margin-bottom: 32px;
}
.section-head-center { text-align: center; flex-direction: column; align-items: center; }

.section-sub { color: var(--text-muted); font-size: .94rem; margin: .35rem 0 0; }
.section-link {
  font-weight: 600; font-size: .88rem; color: var(--navy);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .22s var(--ease);
}
.section-link:hover { color: var(--sky); gap: 8px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px 20px; border: 1.5px solid transparent;
  border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem;
  transition: all .22s var(--ease); white-space: nowrap;
  cursor: pointer; text-decoration: none;
  background: var(--navy); color: #fff; border-color: var(--navy);
  position: relative; overflow: hidden;
  font-family: var(--font);
  letter-spacing: 0.005em;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateX(100%); }
.btn:hover {
  background: var(--navy-dark); border-color: var(--navy-dark);
  color: #fff; transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15,38,82,.18);
}
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-accent { background: var(--sky); color: #fff; border-color: var(--sky); }
.btn-accent:hover { background: var(--sky-dark); border-color: var(--sky-dark); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn-ghost { background: transparent; color: var(--text-soft); border-color: transparent; }
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); transform: none; box-shadow: none; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #991b1b; }
.btn-whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
.btn-whatsapp:hover { background: #1eb955; border-color: #1eb955; }
.btn-lg { padding: 13px 26px; font-size: .95rem; }
.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- TOPBAR ---------- */
.topbar {
  display: block;
  background: var(--navy-deep);
  color: var(--silver);
  font-size: .78rem;
  text-decoration: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  transition: transform .3s var(--ease);
  height: var(--topbar-h);
  padding: 8px 0;
}
.topbar-inner {
  display: flex; flex-wrap: wrap;
  gap: 20px; align-items: center;
  padding: 0 22px;
}
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item svg { opacity: .75; }
.topbar-cta { margin-left: auto; color: #7dd3fc; font-weight: 600; }
.topbar:hover .topbar-cta { color: #fff; }

/* ---------- HEADER (fixed) ---------- */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease), top .3s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15,38,82,.08);
}

body.scrolled-past-topbar .topbar { transform: translateY(-100%); }
body.scrolled-past-topbar .site-header { top: 0; }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  transition: height .3s var(--ease);
  overflow: visible;
}
.site-header.scrolled .header-inner { height: calc(var(--header-h) - 18px); }

/* ---------- LOGO + BACKDROP ---------- */
.logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  transition: transform .35s var(--ease);
  overflow: visible;
}
.logo:hover { transform: scale(1.04); }



.logo-img {
  position: relative;
  z-index: 2;
  height: 72px;
  width: auto;
  display: block;
  transition: height .3s var(--ease);
  filter: drop-shadow(0 4px 12px rgba(10,163,224,.14));
  object-fit: contain;
}
.site-header.scrolled .logo-img { height: 58px; }

/* ---------- NAV ---------- */
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  font-family: var(--font);
  font-size: .88rem; font-weight: 500;
  color: var(--text);
  position: relative; padding: 4px 0;
  transition: color .22s var(--ease);
}
.main-nav a::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--sky);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: var(--navy); font-weight: 600; }
.main-nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none; border: none;
  padding: 6px; color: var(--text);
}

/* ---------- WHATSAPP CTA ---------- */
.nav-cta {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 10px 18px !important;
  background: linear-gradient(135deg, #25d366 0%, #1eb955 100%) !important;
  color: #fff !important;
  border-radius: 40px !important;
  font-weight: 700 !important;
  font-size: .84rem !important;
  overflow: hidden;
  box-shadow:
    0 4px 14px rgba(37,211,102,.35),
    0 1px 0 rgba(255,255,255,.2) inset;
  transition: all .3s var(--ease) !important;
  border: none !important;
  margin-left: 8px;
  text-decoration: none;
}
.nav-cta:hover {
  background: linear-gradient(135deg, #1eb955 0%, #16a34a 100%) !important;
  transform: translateY(-2px);
  box-shadow:
    0 8px 22px rgba(37,211,102,.45),
    0 1px 0 rgba(255,255,255,.25) inset;
  color: #fff !important;
}
.nav-cta-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; flex-shrink: 0;
  position: relative; z-index: 2;
}
.nav-cta-icon svg { width: 100%; height: 100%; }
.nav-cta-text { position: relative; z-index: 2; white-space: nowrap; }
.nav-cta-glow {
  position: absolute; inset: -2px; border-radius: 40px;
  background: radial-gradient(circle at center, rgba(37,211,102,.6) 0%, transparent 70%);
  opacity: 0; z-index: 1;
  animation: navCtaPulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes navCtaPulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.12); }
}

/* ---------- PAGE BACKGROUNDS ---------- */
main { position: relative; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(10,163,224,.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(26,58,122,.04) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
  animation: bodyGlowShift 20s ease-in-out infinite alternate;
}
@keyframes bodyGlowShift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-2%, 2%) scale(1.05); }
}
body > * { position: relative; z-index: 1; }

/* ---------- HERO SLIDER ---------- */
.hero-slider {
  position: relative;
  height: min(78vh, 720px);
  min-height: 560px;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.9s ease;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, rgba(8,23,46,.88) 0%, rgba(15,38,82,.72) 50%, rgba(10,163,224,.35) 100%),
    var(--slide-img);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  display: flex; align-items: center;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}
.hero-slide-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
  width: 100%;
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  animation: heroTextIn 0.7s var(--ease) 0.15s forwards;
}
@keyframes heroTextIn { to { opacity: 1; transform: translateY(0); } }

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--sky);
  padding: 8px 16px;
  background: rgba(10,163,224,.12);
  border: 1px solid rgba(10,163,224,.35);
  border-radius: 30px;
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 22px;
  max-width: 900px;
  font-optical-sizing: auto;
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-slider-dots {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 5;
}
.hero-dot {
  width: 32px; height: 3px;
  background: rgba(255,255,255,.35);
  border: none; border-radius: 3px;
  cursor: pointer;
  transition: all .3s var(--ease);
  padding: 0;
}
.hero-dot.is-active { background: var(--sky); width: 48px; }
.hero-dot:hover { background: rgba(255,255,255,.6); }

/* ---------- TRUST BANNER ---------- */
.trust-banner {
  background: linear-gradient(90deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(10,163,224,.2);
}
.trust-banner-inner {
  display: flex; flex-wrap: wrap;
  justify-content: space-around; align-items: center;
  gap: 20px;
}
.trust-banner-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 500;
  color: var(--silver);
  transition: color .25s var(--ease);
}
.trust-banner-item svg { color: var(--sky); flex-shrink: 0; }
.trust-banner-item:hover { color: #fff; }



/* ---------- CATEGORY TILES ---------- */
.section-categories-v2 { padding: 80px 22px; }
.category-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.category-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  color: #fff;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 6px 20px rgba(15,38,82,.08);
  transition: all .5s var(--ease);
  cursor: pointer;
}
.category-tile-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy-dark);
  transition: transform .8s var(--ease);
}
.category-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,23,46,.15) 0%, rgba(8,23,46,.35) 40%, rgba(8,23,46,.92) 100%);
  transition: background .5s var(--ease);
}
.category-tile-content {
  position: relative;
  padding: 32px 28px;
  width: 100%;
  transition: transform .5s var(--ease);
}
.category-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(15,38,82,.22);
}
.category-tile:hover .category-tile-bg { transform: scale(1.08); }
.category-tile:hover .category-tile-overlay {
  background: linear-gradient(180deg, rgba(10,163,224,.35) 0%, rgba(8,23,46,.5) 40%, rgba(8,23,46,.95) 100%);
}
.category-tile-num {
  display: block;
  font-family: var(--font);
  font-size: .74rem; font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--sky);
  margin-bottom: 8px;
}
.category-tile h3 {
  font-family: var(--font);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 800;
}
.category-tile-tagline {
  font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.category-tile-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 18px;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all .5s var(--ease);
}
.category-tile:hover .category-tile-desc { max-height: 100px; opacity: 1; }
.category-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--sky);
}
.category-tile-cta .arrow { transition: transform .35s var(--ease); }
.category-tile:hover .category-tile-cta .arrow { transform: translateX(6px); }

/* ---------- POPULAR CAROUSEL ---------- */
.section-popular { padding: 80px 0; background: var(--bg-soft); }
.carousel-controls { display: flex; gap: 8px; }
.carousel-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.carousel-arrow:hover {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
  transform: scale(1.05);
}
.carousel-wrapper { max-width: 100%; overflow: hidden; padding: 8px 0 20px; }
.carousel {
  display: flex;
  gap: 24px;
  padding: 8px 22px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel-card { flex: 0 0 280px; scroll-snap-align: start; }

/* ---------- BRANDS WALL ---------- */
.section-brands-wall { padding: 80px 0; background: #fff; position: relative; }
.brands-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px 40px;
  align-items: center;
  justify-items: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.brand-logo {
  display: flex; align-items: center; justify-content: center;
  height: 90px; width: 100%;
  transition: transform .35s var(--ease);
  padding: 8px;
}
.brand-logo:hover {
  transform: scale(1.06);
}
.brand-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.brand-logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* ---------- EXPERTISE ---------- */
.section-expertise { padding: 80px 0; background: var(--bg-soft); }
.expertise-scroll {
  display: flex;
  gap: 22px;
  padding: 8px 22px 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  max-width: 1400px;
  margin: 0 auto;
}
.expertise-scroll::-webkit-scrollbar { display: none; }
.expertise-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.expertise-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--navy));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(15,38,82,.12);
  border-color: transparent;
}
.expertise-card:hover::before { transform: scaleX(1); }
.expertise-num {
  font-family: var(--font);
  font-size: 2rem; font-weight: 800;
  color: var(--sky);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  line-height: 1;
}
.expertise-card h3 {
  font-family: var(--font);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.expertise-card p {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

/* ---------- CERTIFICATIONS ---------- */
.section-certifications { padding: 80px 0; background: #fff; position: relative; }
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.cert-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: all .4s var(--ease);
}
.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15,38,82,.1);
  border-color: var(--sky);
}
.cert-icon {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--bg-ice);
  color: var(--sky);
  display: flex; align-items: center; justify-content: center;
  transition: all .35s var(--ease);
}
.cert-card:hover .cert-icon {
  background: var(--sky);
  color: #fff;
  transform: rotate(6deg) scale(1.05);
}
.cert-card h4 { font-size: .98rem; color: var(--navy); margin-bottom: 8px; }
.cert-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ---------- SERVICE TILES ---------- */
.section-services-tiles { padding: 80px 0; background: var(--bg-soft); }
.services-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.service-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  color: inherit;
  transition: all .4s var(--ease);
  display: block;
}
.service-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(15,38,82,.12);
  border-color: var(--sky);
}
.service-tile-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--bg-ice);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: all .35s var(--ease);
}
.service-tile:hover .service-tile-icon {
  background: var(--sky);
  color: #fff;
  transform: scale(1.08);
}
.service-tile h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.service-tile p { font-size: .85rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ---------- OFFICES MINI GRID ---------- */
.section-offices { padding: 80px 0; background: #fff; position: relative; }
.offices-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.office-mini {
  padding: 26px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: all .35s var(--ease);
}
.office-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15,38,82,.1);
  border-color: var(--sky);
}
.office-mini-code {
  display: inline-block;
  font-family: var(--font);
  font-size: .78rem; font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--sky);
  background: var(--bg-ice);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.office-mini h4 { font-size: 1.02rem; color: var(--navy); margin-bottom: 4px; }
.office-mini-role {
  font-size: .74rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.office-mini a { font-size: .88rem; font-weight: 600; color: var(--navy); }
.office-mini a:hover { color: var(--sky); }
.office-mini span { font-size: .86rem; color: var(--text-soft); }

/* ---------- PROCESS ---------- */
.section-process { padding: 70px 0; background: var(--bg-soft); position: relative; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.process-step {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.process-step::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--sky);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.process-step:hover::before { transform: scaleY(1); }
.process-num {
  font-family: var(--font);
  font-size: 1.4rem; font-weight: 800;
  color: var(--sky);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.process-step h3 { font-size: 1.02rem; margin-bottom: 8px; color: var(--navy); }
.process-step p { font-size: .88rem; color: var(--text-soft); margin: 0; line-height: 1.65; }

/* ---------- PRODUCTS ---------- */
.featured-section { padding: 70px 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.product-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .3s var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.product-image {
  display: block; position: relative;
  background: var(--bg-soft); overflow: hidden;
}
.product-image img {
  width: 100%; height: 210px; object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-image img { transform: scale(1.06); }
.product-image .placeholder {
  height: 210px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef3f9, #dde7f0);
  color: #94a3b8; font-weight: 800;
  font-size: 1.7rem; letter-spacing: 3px;
}
.placeholder.large { height: 420px; font-size: 2.6rem; border-radius: var(--radius); }
.condition-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(15,38,82,.94); color: #fff;
  font-size: .66rem; font-weight: 700;
  letter-spacing: .8px;
  padding: 5px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.condition-badge.inline { position: static; display: inline-block; margin-bottom: 10px; }
.product-info {
  padding: 16px;
  display: flex; flex-direction: column; gap: 4px;
  flex: 1;
}
.product-info .brand {
  font-family: var(--font);
  font-size: .68rem; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--sky); font-weight: 700;
}
.product-info h3 {
  font-family: var(--font);
  font-size: .97rem;
  font-weight: 700;
  margin: 2px 0 4px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.product-info h3 a { color: var(--text); }
.product-info h3 a:hover { color: var(--sky); }
.product-info .short {
  font-size: .82rem; color: var(--text-muted);
  margin: 0 0 4px; line-height: 1.55;
}
.product-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto; padding-top: 12px;
}
.price {
  font-family: var(--font);
  font-size: 1.05rem; font-weight: 800;
  color: var(--navy);
  font-feature-settings: "tnum" 1;
}
.price.quote { font-size: .82rem; color: var(--sky); font-weight: 700; }

/* ---------- WHY GMG ---------- */
.section-why {
  padding: 70px 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  position: relative; overflow: hidden;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.why-text h2 { margin-bottom: 14px; }
.why-text p { color: var(--text-soft); font-size: .95rem; margin-bottom: 22px; line-height: 1.75; }
.why-table {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.why-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px; padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: .86rem; align-items: center;
}
.why-row:last-child { border-bottom: none; }
.why-row > span:first-child { color: var(--text-soft); font-weight: 500; }
.why-head {
  background: var(--bg-soft);
  font-weight: 700; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--text-muted);
}
.why-head > span:nth-child(3) { color: var(--navy); }
.why-row .cross { color: #94a3b8; font-size: .82rem; }
.why-row .check { color: var(--success); font-weight: 700; font-size: .82rem; }

/* ---------- SERVICE PROMO ---------- */
.section-service-promo {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.section-service-promo::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.service-promo-inner {
  position: relative;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.service-promo-inner h2 { color: #fff; margin-bottom: 10px; }
.service-promo-inner p { color: var(--silver); max-width: 560px; margin: 0; font-size: .95rem; }

/* ---------- TESTIMONIAL ---------- */
.section-testimonial { padding: 70px 0; background: var(--bg); }
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 32px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.testimonial::before {
  content: '"';
  position: absolute; top: 6px; left: 30px;
  font-size: 5rem; color: var(--sky);
  line-height: 1; opacity: .22;
  font-family: Georgia, serif;
}
.testimonial p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 20px;
}
.testimonial footer strong { display: block; color: var(--navy); font-size: .95rem; }
.testimonial footer span { display: block; color: var(--text-muted); font-size: .82rem; margin-top: 3px; }

/* ---------- CTA ---------- */
.cta-section {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(10,163,224,.16) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(10,163,224,.10) 0%, transparent 40%);
  pointer-events: none;
  animation: ctaGlow 8s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  0% { opacity: .6; } 100% { opacity: 1; }
}
.cta-section .container { position: relative; }
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p { color: var(--silver); max-width: 620px; margin: 0 auto 26px; font-size: .95rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- PAGE HERO ---------- */
.page-hero {
  padding: 60px 22px 30px;
  max-width: 900px;
  position: relative;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(10,163,224,.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }

.page-header { padding: 40px 22px 20px; text-align: left; }
.page-header.center { text-align: center; }
.page-header .lead { margin-top: 6px; }
.center-actions { justify-content: center; }

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs { padding: 16px 0; font-size: .82rem; color: var(--text-muted); }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap;
  gap: 6px; align-items: center;
  list-style: none; padding-left: 0; margin: 0;
}
.breadcrumbs li { list-style: none; display: inline-flex; align-items: center; }
.breadcrumbs li:not(:last-child)::after {
  content: '/'; margin-left: 6px; color: var(--border-strong);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--sky); }

/* ============================================================
   SECTION BACKGROUNDS — medical motifs, subtle
   ============================================================ */

.section-process,
.section-team,
.section-mission,
.section-certifications {
  position: relative;
  overflow: hidden;
}
.section-process::before,
.section-team::before,
.section-mission::before,
.section-certifications::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,163,224,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,163,224,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.section-process > *,
.section-team > *,
.section-mission > *,
.section-certifications > * {
  position: relative;
  z-index: 1;
}

.section-why::before,
.section-offices::before,
.contact-offices-full::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 30%, rgba(10,163,224,.07) 1.5px, transparent 2px),
    radial-gradient(circle at 80% 60%, rgba(26,58,122,.06) 1.5px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(10,163,224,.05) 1.5px, transparent 2px),
    radial-gradient(circle at 60% 20%, rgba(26,58,122,.05) 1.5px, transparent 2px);
  background-size: 200px 200px;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 0;
}
.section-why > *,
.section-offices > *,
.contact-offices-full > * {
  position: relative;
  z-index: 1;
}

/* ECG line on dark sections */
.hero-slider::after,
.cta-section::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'><path d='M0,30 L300,30 L320,30 L340,10 L360,50 L380,30 L700,30 L720,30 L740,5 L760,55 L780,30 L1200,30' fill='none' stroke='%230aa3e0' stroke-width='1.5' stroke-opacity='0.22'/></svg>");
  background-size: 1200px 60px;
  background-repeat: repeat-x;
  pointer-events: none;
  opacity: .8;
  z-index: 3;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 90px; right: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 997;
  opacity: 0;
  transform: translateY(20px) scale(.9);
  pointer-events: none;
  transition: all .35s var(--ease);
  box-shadow:
    0 6px 20px rgba(15,38,82,.12),
    0 1px 0 rgba(255,255,255,.9) inset;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 28px rgba(15,38,82,.22);
}
.back-to-top svg { transition: transform .3s var(--ease); }
.back-to-top:hover svg { transform: translateY(-2px); }

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
  z-index: 999;
  transition: all .3s var(--ease);
}
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 28px rgba(37,211,102,.45);
}
.whatsapp-float::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.4); opacity: 0; }
}






/* ============================================================
   Part 2 of 2 — Modals, shop, product, about, contact, admin,
   footer, responsive
   ============================================================ */

/* ---------- ENQUIRY MODAL ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(8,23,46,.65);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .25s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 580px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp .3s var(--ease);
  max-height: 92vh;
  overflow-y: auto;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: var(--bg-soft);
  border: none; border-radius: 8px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); cursor: pointer;
  transition: all .2s var(--ease);
}
.modal-close:hover {
  background: var(--border);
  color: var(--text);
  transform: rotate(90deg);
}
.modal-header { margin-bottom: 22px; }
.modal-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--sky); margin-bottom: 6px;
}
.modal-header h2 { font-size: 1.4rem; margin-bottom: 6px; }
.modal-product {
  color: var(--navy);
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 14px;
  background: var(--bg-ice);
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: 4px;
}
.modal-product:empty { display: none; }
.enquiry-form { display: flex; flex-direction: column; gap: 16px; }
.enquiry-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .82rem; font-weight: 600;
  color: var(--text-soft);
}
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .92rem;
  background: #fff;
  color: var(--text);
  transition: all .2s var(--ease);
  width: 100%;
}
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(10,163,224,.12);
}
.enquiry-form textarea { resize: vertical; min-height: 100px; }
.modal-actions {
  display: flex; flex-direction: column;
  gap: 12px; margin-top: 4px;
}
.modal-note {
  font-size: .82rem; color: var(--text-muted);
  text-align: center; margin: 0;
}
.modal-note a { color: var(--navy); font-weight: 600; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy-deep);
  color: #fff;
  padding: 18px 22px;
  z-index: 998;
  box-shadow: 0 -4px 14px rgba(0,0,0,.15);
  animation: slideUp .3s var(--ease);
}
.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 14px;
}
.cookie-banner p { color: var(--silver); margin: 0; font-size: .86rem; }
.cookie-banner a { color: #7dd3fc; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- EMAIL POPUP ---------- */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(8,23,46,.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
  backdrop-filter: blur(4px);
  animation: fadeIn .25s var(--ease);
}
.popup-box {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  max-width: 420px; width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp .3s var(--ease);
}
.popup-box h3 { margin-bottom: 6px; font-size: 1.15rem; }
.popup-box p { color: var(--text-soft); font-size: .88rem; margin-bottom: 16px; }
.popup-box input {
  width: 100%; padding: 11px 14px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: .92rem;
}
.popup-box input:focus {
  outline: none; border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(10,163,224,.12);
}
.popup-box button[type="submit"] {
  width: 100%;
  padding: 12px 20px;
  background: var(--sky);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .9rem;
  cursor: pointer;
  transition: background .22s var(--ease);
}
.popup-box button[type="submit"]:hover { background: var(--sky-dark); }
.popup-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer; line-height: 1;
  transition: transform .25s var(--ease);
}
.popup-close:hover { transform: rotate(90deg); color: var(--text); }

/* ---------- CONTACT PAGE ---------- */
.contact-layout-v2 {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  padding: 30px 22px 60px;
  align-items: start;
}
.contact-cards {
  display: flex; flex-direction: column; gap: 14px;
}
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--sky);
  transform: scaleY(0); transform-origin: top;
  transition: transform .3s var(--ease);
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: var(--sky);
  box-shadow: var(--shadow-sm);
}
.contact-card:hover::before { transform: scaleY(1); }
.contact-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-ice);
  border-radius: 8px;
  color: var(--navy);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.contact-card:hover .contact-icon { background: var(--sky); color: #fff; }
.contact-card h4 {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-card p {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 3px;
  word-break: break-word;
}
.contact-card span { font-size: .78rem; color: var(--text-muted); }

.contact-form-v2 {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form-v2 h2 { margin-bottom: 22px; }

.inquiry-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inquiry-form label,
.admin-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .82rem; font-weight: 600;
  color: var(--text-soft);
}
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .92rem;
  background: #fff;
  color: var(--text);
  transition: all .2s var(--ease);
  width: 100%;
}
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(10,163,224,.12);
}
.inquiry-form textarea { resize: vertical; min-height: 110px; }
.inquiry-form button { align-self: flex-start; }

.contact-office-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 20px 22px 70px;
}
.office-info h2,
.office-hours h2 { margin-bottom: 16px; }
.sla-table,
.hours-table {
  width: 100%; border-collapse: collapse;
  font-size: .88rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sla-table td,
.hours-table td,
.hours-table th {
  padding: 11px 15px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--text-soft);
}
.sla-table tr:last-child td,
.hours-table tr:last-child td { border-bottom: none; }
.hours-table th {
  font-weight: 600;
  color: var(--text);
  width: 40%;
  background: var(--bg-soft);
}

.contact-offices-full { padding: 60px 22px; position: relative; overflow: hidden; }
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px; margin-top: 32px;
  position: relative; z-index: 1;
}
.office-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .3s var(--ease);
}
.office-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.office-flag {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sky);
  margin-bottom: 14px;
  line-height: 1;
  padding: 6px 12px;
  background: var(--bg-ice);
  border-radius: 6px;
  letter-spacing: 1px;
}
.office-card h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--navy); }
.office-role {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--sky);
  margin-bottom: 12px;
}
.office-card address {
  font-style: normal;
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 12px;
}
.office-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-block;
}
.office-link.muted { color: var(--text-muted); font-weight: 500; }
.office-link:hover { color: var(--sky); }

.contact-map-section { padding: 40px 22px 80px; }
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  position: relative;
}
.map-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--navy));
  z-index: 2;
}
.map-wrapper iframe { display: block; width: 100%; min-height: 500px; }

/* ---------- ABOUT PAGE ---------- */
.about-story { padding: 40px 22px 60px; }
.about-story-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-story-grid h2 { margin-bottom: 16px; }
.about-story-grid p {
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-story-stats {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.big-stat strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.big-stat span { display: block; font-size: .78rem; color: var(--text-muted); margin-top: 4px; }

.section-mission { padding: 60px 0; background: var(--bg-soft); position: relative; overflow: hidden; }
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  position: relative; z-index: 1;
}
.mission-card {
  background: #fff;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.mission-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mission-card h3 { color: var(--navy); margin-bottom: 12px; }
.mission-card p { color: var(--text-soft); font-size: .9rem; margin: 0; line-height: 1.75; }
.mission-card ul { padding: 0; }
.mission-card li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--text-soft);
  font-size: .9rem;
}
.mission-card li::before {
  content: '→';
  color: var(--sky);
  position: absolute; left: 0;
  font-weight: 700;
}

.about-process { padding: 70px 0; }
.process-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.process-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: all .3s var(--ease);
}
.process-block::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--navy));
  border-radius: 2px;
}
.process-block:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-block-num {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--sky);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.process-block h3 { font-size: 1rem; margin-bottom: 8px; color: var(--navy); }
.process-block p { font-size: .86rem; color: var(--text-soft); margin: 0; line-height: 1.7; }

.section-team { padding: 70px 0; background: var(--bg-soft); position: relative; overflow: hidden; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  position: relative; z-index: 1;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: all .3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-ice);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 1px;
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.team-role {
  font-size: .78rem;
  font-weight: 700;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 12px;
}
.team-card p { font-size: .88rem; color: var(--text-soft); margin: 0; line-height: 1.7; }

.about-partners { padding: 50px 0 70px; text-align: center; }
.brands-row {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 42px;
}
.brands-row span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: -0.02em;
  transition: all .25s var(--ease);
  cursor: default;
}
.brands-row span:hover { color: var(--navy); transform: translateY(-2px); }
.brands-row-large { margin-top: 22px; }
.brands-row-large span { font-size: 1.35rem; }

/* ---------- SHOP PAGE ---------- */
.shop-header { padding: 30px 22px 10px; }
.shop-header h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 6px; }
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 20px 22px 60px;
  align-items: start;
}
.filters {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: calc(var(--total-top) + 20px);
}
.filters h3 { font-size: .95rem; margin-bottom: 16px; color: var(--navy); }
.filters form { display: flex; flex-direction: column; gap: 14px; }
.filters label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .82rem; font-weight: 600;
  color: var(--text-soft);
}
.filters input,
.filters select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .88rem;
  background: #fff;
  color: var(--text);
}
.filters input:focus,
.filters select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(10,163,224,.12);
}

/* ---------- SHOP V2 (filter redesign) ---------- */
.filter-pills-bar {
  position: sticky;
  top: var(--total-top);
  z-index: 90;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: top .3s var(--ease);
}
body.scrolled-past-topbar .filter-pills-bar { top: var(--header-h); }
.filter-pills-inner {
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 22px;
}
.filter-pills-inner::-webkit-scrollbar { display: none; }
.filter-pill {
  flex-shrink: 0;
  display: inline-flex; align-items: center;
  padding: 9px 18px;
  font-family: var(--font);
  font-size: .86rem; font-weight: 600;
  color: var(--text-soft);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 40px;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.filter-pill:hover {
  color: var(--navy);
  border-color: var(--sky);
  transform: translateY(-1px);
}
.filter-pill.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 6px 16px rgba(15,38,82,.2);
}

.shop-header-v2 { padding: 30px 22px 8px; }
.shop-header-v2 .shop-header-row {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 0;
}
.shop-header-v2 h1 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 4px;
}
.shop-header-v2 p { margin: 0; font-size: .9rem; }

.shop-layout-v2 {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 24px 22px 70px;
  align-items: start;
}
.filter-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: calc(var(--total-top) + 40px);
  max-height: calc(100vh - var(--total-top) - 60px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.filter-sidebar::-webkit-scrollbar { width: 6px; }
.filter-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px;
}
.filter-header {
  display: flex; justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.filter-header h3 {
  font-size: 1rem; margin: 0;
  color: var(--navy); font-weight: 700;
}
.filter-clear-all {
  font-size: .78rem; font-weight: 600;
  color: var(--sky);
  transition: color .2s var(--ease);
}
.filter-clear-all:hover { color: var(--navy); }
.filter-close-mobile { display: none; }

.active-filters {
  display: flex; flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.active-chip {
  display: inline-flex; align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 12px;
  background: var(--bg-ice);
  color: var(--navy);
  font-size: .76rem; font-weight: 600;
  border-radius: 20px;
  transition: all .2s var(--ease);
}
.active-chip:hover { background: var(--sky); color: #fff; }
.chip-x {
  font-size: .95rem; line-height: 1;
  font-weight: 700; opacity: .6;
}
.active-chip:hover .chip-x { opacity: 1; }

.filter-group { padding: 16px 0; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; }
.filter-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 12px;
}
.filter-label-row {
  display: flex; justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.filter-label-row .filter-label { margin: 0; }
.filter-mini-clear {
  font-size: .72rem; font-weight: 600;
  color: var(--sky);
}
.filter-mini-clear:hover { color: var(--navy); }

.filter-search-wrap {
  position: relative;
  display: flex; align-items: center;
}
.filter-search-wrap svg {
  position: absolute; left: 12px;
  color: var(--text-muted);
  pointer-events: none;
}
.filter-search-wrap input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .88rem;
  background: var(--bg-soft);
  transition: all .2s var(--ease);
}
.filter-search-wrap input:focus {
  outline: none;
  border-color: var(--sky);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10,163,224,.12);
}

.filter-checkbox-list {
  display: flex; flex-direction: column; gap: 6px;
}
.filter-checkbox {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .18s var(--ease);
  font-size: .88rem;
  color: var(--text-soft);
  user-select: none;
}
.filter-checkbox:hover { background: var(--bg-soft); color: var(--navy); }
.filter-checkbox input[type="checkbox"] {
  position: absolute; opacity: 0;
  pointer-events: none;
}
.checkbox-box {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  transition: all .18s var(--ease);
  background: #fff;
}
.filter-checkbox input[type="checkbox"]:checked + .checkbox-box {
  background: var(--sky);
  border-color: var(--sky);
  color: #fff;
}
.checkbox-text { flex: 1; line-height: 1.4; }
.filter-checkbox.is-checked { color: var(--navy); font-weight: 600; }

.filter-show-more {
  background: none; border: none;
  color: var(--sky);
  font-size: .82rem; font-weight: 600;
  padding: 8px 10px;
  text-align: left; cursor: pointer;
  transition: color .2s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.filter-show-more:hover { color: var(--navy); }
.filter-show-more .arrow { font-size: .7rem; transition: transform .2s var(--ease); }
.filter-show-more.is-open .arrow { transform: rotate(180deg); }

.filter-radio-list,
.filter-price-list {
  display: flex; flex-direction: column; gap: 4px;
}
.filter-radio,
.filter-price-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .18s var(--ease);
  font-size: .88rem;
  color: var(--text-soft);
  user-select: none;
}
.filter-radio:hover,
.filter-price-item:hover { background: var(--bg-soft); }
.filter-radio input[type="radio"] {
  position: absolute; opacity: 0;
  pointer-events: none;
}
.radio-dot {
  flex-shrink: 0;
  width: 16px; height: 16px;
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  position: relative;
  transition: all .18s var(--ease);
  background: #fff;
}
.filter-radio input[type="radio"]:checked + .radio-dot,
.filter-price-item.is-active .radio-dot {
  border-color: var(--sky);
}
.filter-radio input[type="radio"]:checked + .radio-dot::after,
.filter-price-item.is-active .radio-dot::after {
  content: '';
  position: absolute; inset: 2px;
  border-radius: 50%;
  background: var(--sky);
}
.filter-radio.is-active,
.filter-price-item.is-active {
  color: var(--navy);
  font-weight: 600;
  background: var(--bg-soft);
}

.shop-results { display: flex; flex-direction: column; gap: 20px; }
.shop-toolbar {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-wrap: wrap;
}
.filter-open-mobile {
  display: none;
  align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .84rem;
  cursor: pointer;
}
.sort-buttons {
  display: flex; align-items: center;
  gap: 6px; flex-wrap: wrap;
}
.sort-label {
  font-size: .8rem; color: var(--text-muted);
  margin-right: 6px;
}
.sort-btn {
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 30px;
  transition: all .2s var(--ease);
  text-decoration: none;
}
.sort-btn:hover { color: var(--navy); background: var(--bg-soft); }
.sort-btn.is-active {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
}

.empty-state-v2 {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 22px;
  background: #fff;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}
.empty-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: var(--bg-ice);
  color: var(--sky);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.empty-state-v2 h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.empty-state-v2 p {
  color: var(--text-muted);
  font-size: .92rem;
  margin-bottom: 22px;
  max-width: 400px;
  margin-left: auto; margin-right: auto;
}
.empty-actions {
  display: flex; justify-content: center;
  gap: 10px; flex-wrap: wrap;
}



/* ---------- PRODUCT DETAIL ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  padding: 30px 22px 40px;
  align-items: start;
}
.product-gallery img#main-image {
  width: 100%;
  border-radius: var(--radius);
  background: var(--bg-soft);
  max-height: 500px;
  object-fit: contain;
  border: 1px solid var(--border);
  transition: transform .3s var(--ease);
}
.product-gallery img#main-image:hover { transform: scale(1.02); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs img {
  width: 74px; height: 74px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s var(--ease);
}
.thumbs img:hover { border-color: var(--sky); }
.product-meta h1 { margin: 8px 0 12px; font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.02em; }
.brand-line {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--sky);
  font-weight: 700;
  margin-bottom: 8px;
}
.price-large {
  font-family: var(--font);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin: 10px 0;
  font-feature-settings: "tnum" 1;
}
.price-large.quote { color: var(--sky); font-size: 1.15rem; }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.product-bullets {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
  font-size: .88rem; color: var(--text-soft);
}
.product-bullets li { padding-left: 22px; position: relative; }
.product-bullets li::before {
  content: '✓';
  color: var(--sky);
  position: absolute; left: 0;
  font-weight: 700;
}
.product-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 44px;
  padding: 20px 22px 40px;
  border-top: 1px solid var(--border);
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .88rem;
}
.specs-table th,
.specs-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }
.specs-table th { background: var(--bg-soft); font-weight: 600; width: 40%; }
.specs-table thead th { background: var(--navy); color: #fff; }
.related { padding: 40px 22px 60px; }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  padding: 20px 22px 40px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--navy));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--navy); }
.service-card p { color: var(--text-soft); font-size: .88rem; margin: 0; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq-section { padding: 40px 22px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 780px; }
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: all .25s var(--ease);
}
.faq-item[open] { background: #fff; box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: -4px;
  font-size: 1.35rem;
  color: var(--sky);
  font-weight: 600;
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 12px; color: var(--text-soft); font-size: .88rem; line-height: 1.75; }

/* ---------- ARTICLES ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
  padding: 20px 22px 60px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card img,
.article-card .placeholder {
  width: 100%; height: 170px; object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef3f9, #dde7f0);
  color: #94a3b8;
  font-weight: 700; font-size: .9rem;
}
.article-card > a { display: block; padding: 20px; color: var(--text); }
.article-card h3 { font-size: 1rem; margin: 10px 0 8px; }
.article-card p { font-size: .86rem; color: var(--text-muted); margin-bottom: 10px; }
.read-more { color: var(--navy); font-weight: 600; font-size: .85rem; }
.article-detail { padding: 40px 22px 70px; max-width: 780px; margin: 0 auto; }
.article-header h1 { margin-bottom: 12px; }
.article-cover { width: 100%; border-radius: var(--radius); margin: 22px 0; }
.article-body {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.75;
  letter-spacing: -0.005em;
  color: var(--text);
}
.article-body p { margin-bottom: 1.15rem; font-family: var(--font-serif); }
.article-footer {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 30px;
  border-top: 1px solid var(--border);
}

/* ---------- AUTH ---------- */
.auth-page {
  display: flex; justify-content: center; align-items: center;
  padding: 60px 22px;
  min-height: 60vh;
}
.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  max-width: 430px;
  width: 100%;
  box-shadow: var(--shadow);
}
.auth-card h1 { margin-bottom: 6px; font-size: 1.55rem; }
.auth-card form { display: flex; flex-direction: column; gap: 14px; margin: 22px 0; }
.auth-card label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .82rem; font-weight: 600;
  color: var(--text-soft);
}
.auth-card input {
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-family: inherit;
}
.auth-card input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(10,163,224,.12);
}
.auth-card .small { text-align: center; margin-top: 14px; }

/* ---------- ALERTS ---------- */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  margin: 12px 0;
}
.alert-error {
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid #fecaca;
}

/* ---------- LEGAL ---------- */
.legal-page { padding: 40px 22px 80px; max-width: 780px; margin: 0 auto; }
.legal-page h2 { margin-top: 28px; font-size: 1.15rem; }
.legal-page ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.legal-page li { margin-bottom: 6px; color: var(--text-soft); }
.legal-page p,
.legal-page li { font-family: var(--font); }

/* ---------- EMPTY STATE ---------- */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 22px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
}
.empty-state p { color: var(--text-muted); margin-bottom: 16px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #94a3b8;
  padding: 60px 0 26px;
  margin-top: 60px;
  font-size: .88rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  position: relative;
}
.footer-brand-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 14px;
}
.footer-logo {
  height: 72px;
  width: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: none;
  opacity: .95;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.footer-brand-logo-wrap::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(10,163,224,.35);
  border-radius: 12px;
  transition: border-color .3s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.footer-brand-logo-wrap::after {
  content: '';
  position: absolute; inset: 6px;
  border: 1px dashed rgba(10,163,224,.18);
  border-radius: 8px;
  pointer-events: none;
  animation: footerSealSpin 60s linear infinite;
}
@keyframes footerSealSpin {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}
.footer-brand-logo-wrap:hover .footer-logo { opacity: 1; transform: scale(1.04); }
.footer-brand-logo-wrap:hover::before { border-color: var(--sky); transform: scale(1.02); }

.footer-tagline { color: #94a3b8; font-size: .88rem; margin-bottom: 12px; line-height: 1.65; }
.footer-note { color: #64748b; font-size: .82rem; line-height: 1.65; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--silver);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.footer-social a:hover {
  background: var(--sky);
  color: #fff;
  transform: translateY(-3px);
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font);
  font-size: .78rem;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a {
  color: #94a3b8;
  font-size: .86rem;
  transition: color .22s var(--ease);
}
.site-footer ul a:hover { color: var(--sky); }
.contact-list li {
  font-size: .82rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 12px;
}
.contact-list strong {
  display: block;
  color: #e2e8f0;
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 3px;
}
.contact-list a { color: var(--silver); }
.contact-list a:hover { color: var(--sky); }

.footer-legal {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #1e293b;
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: .78rem;
  color: #64748b;
}
.footer-legal-links { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.footer-legal-links a { color: #94a3b8; }
.footer-legal-links a:hover { color: var(--sky); }
.footer-legal-links span { color: #334155; }
.footer-disclaimer {
  width: 100%;
  font-size: .74rem;
  color: #475569;
  margin-top: 8px;
  line-height: 1.65;
}

/* ---------- REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal]:nth-child(2) { transition-delay: .08s; }
[data-reveal]:nth-child(3) { transition-delay: .16s; }
[data-reveal]:nth-child(4) { transition-delay: .24s; }

/* ---------- ADMIN ---------- */
.admin-body {
  background: var(--bg-soft);
  min-height: 100vh;
  font-family: var(--font);
  padding-top: 0;
}
.admin-body .topbar,
.admin-body .site-header { display: none; }

.admin-bar { background: var(--navy-deep); color: #fff; padding: 14px 0; }
.admin-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.admin-bar strong { font-size: 1rem; color: #fff; }
.admin-bar nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.admin-bar nav a { color: var(--silver); font-size: .86rem; }
.admin-bar nav a:hover { color: #fff; }

.admin-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 22px 80px;
}
.admin-main h1 { font-size: 1.5rem; margin-bottom: 22px; }
.admin-main h2 { font-size: 1.1rem; margin: 26px 0 12px; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.stat span { font-size: .78rem; color: var(--text-muted); }
.stat strong {
  font-size: 1.55rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -.03em;
}

.admin-table {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border-collapse: collapse;
  font-size: .86rem;
}
.admin-table th,
.admin-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table thead th {
  background: var(--bg-soft);
  font-weight: 600;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
}
.admin-table tbody tr:hover { background: #fafbfd; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-thumb {
  width: 52px; height: 52px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg-soft);
}
.admin-thumb.placeholder {
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-weight: 700;
}
.admin-preview {
  width: 110px; height: 110px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  border: 1px solid var(--border);
}
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-actions form { display: inline; }

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 12px;
  font-size: .68rem;
  font-weight: 700;
  border: none; cursor: pointer;
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: transform .2s var(--ease);
}
.badge:hover { transform: translateY(-1px); }
.badge-ok { background: #dcfce7; color: #166534; }
.badge-off { background: #fee2e2; color: #991b1b; }
.badge-feat { background: #fef3c7; color: #92400e; }

.admin-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 800px;
  display: flex; flex-direction: column; gap: 16px;
}
.admin-form label > span { color: var(--text); font-weight: 600; }
.admin-form input[type="file"] {
  padding: 10px;
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  cursor: pointer;
}
.checkbox-row {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  cursor: pointer;
}
.checkbox-row input[type="checkbox"] {
  width: auto;
  accent-color: var(--sky);
  transform: scale(1.15);
}
.form-actions { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }

.admin-login-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  font-family: var(--font);
}
.admin-login-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 38px;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.admin-login-card h1 { font-size: 1.45rem; margin-bottom: 6px; }
.admin-login-card form {
  display: flex; flex-direction: column;
  gap: 14px; margin: 22px 0;
}
.admin-login-card label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .82rem; font-weight: 600;
  color: var(--text-soft);
}
.admin-login-card input {
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-family: inherit;
}
.admin-login-card input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(10,163,224,.12);
}

/* ---------- IMAGE UPLOAD / GALLERY ---------- */
.image-upload-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.image-upload-header {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.image-upload-label { font-size: .88rem; font-weight: 700; color: var(--text); }
.image-upload-help { font-size: .74rem; color: var(--text-muted); }
.image-upload-note { font-size: .78rem; color: var(--text-muted); margin: 0; line-height: 1.55; }
.image-upload-note strong { color: var(--navy); }

.image-dropzone {
  display: block;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: all .25s var(--ease);
}
.image-dropzone:hover { border-color: var(--sky); background: var(--bg-ice); }
.image-dropzone input[type="file"] { display: none; }
.dropzone-content { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dropzone-icon { color: var(--sky); margin-bottom: 6px; }
.dropzone-title { font-size: .94rem; font-weight: 600; color: var(--navy); margin: 0; }
.dropzone-sub { font-size: .78rem; color: var(--text-muted); margin: 0; }

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}
.image-preview-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform .25s var(--ease);
}
.image-preview-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.image-preview-item.is-current { border-color: var(--sky); border-width: 2px; }
.image-preview-item.is-empty {
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-style: dashed;
  color: var(--text-muted);
  font-size: .76rem;
  text-align: center;
  padding: 12px;
}
.image-preview-badge {
  position: absolute; top: 6px; left: 6px;
  background: rgba(15,38,82,.9);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .6px;
  padding: 3px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}
.image-preview-item.is-current .image-preview-badge { background: var(--sky); }
.image-preview-item.is-removable { cursor: pointer; }
.image-preview-item.is-removable:hover { transform: scale(1.03); }
.remove-image-checkbox { position: absolute; opacity: 0; pointer-events: none; }
.remove-image-x {
  position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(220,38,38,.9);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.remove-image-x::before { content: '×'; }
.remove-image-checkbox:checked ~ .remove-image-x {
  background: #fff;
  color: var(--danger);
  transform: rotate(180deg) scale(1.1);
}
.remove-image-checkbox:checked ~ img { opacity: .35; filter: grayscale(1); }
.image-preview-item.is-removable:hover .remove-image-x { background: var(--danger); color: #fff; }
.image-preview-item.is-removable:has(.remove-image-checkbox:checked) {
  border-color: var(--danger);
}

.product-gallery { display: flex; flex-direction: column; gap: 14px; }
.product-gallery-main {
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
}
.product-gallery-main img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .5s var(--ease);
  cursor: zoom-in;
}
.product-gallery-main:hover img { transform: scale(1.05); }
.product-gallery-main .placeholder.large {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef3f9, #dde7f0);
  color: #94a3b8;
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: 3px;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}
.product-thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 2px solid var(--border);
  cursor: pointer;
  padding: 0;
  transition: all .25s var(--ease);
}
.product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.product-thumb:hover {
  border-color: var(--sky);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15,38,82,.1);
}
.product-thumb.is-active {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(10,163,224,.2);
}
.image-lightbox {
  position: fixed; inset: 0;
  background: rgba(8,23,46,.94);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000; padding: 20px;
  animation: fadeIn .25s var(--ease);
}
.image-lightbox img {
  max-width: 92vw; max-height: 92vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  animation: slideUp .3s var(--ease);
}
.image-lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,.1);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.image-lightbox-close:hover {
  background: rgba(255,255,255,.2);
  transform: rotate(90deg);
}

/* ============================================================
   PAGE HERO — Logo placements
   ============================================================ */

.page-hero-content { position: relative; z-index: 2; }

/* ABOUT page — two column with seal */
.page-hero-about {
  padding: 60px 22px 70px;
  position: relative;
  overflow: hidden;
}
.about-hero-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.about-hero-text h1 { margin-bottom: 20px; }
.about-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.about-hero-tag {
  display: inline-block;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: .9rem;
  color: var(--navy);
  background: var(--bg-ice);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(10,163,224,.2);
}
.about-hero-visual {
  display: flex; align-items: center; justify-content: center;
}
.about-hero-seal {
  position: relative;
  width: 320px; height: 320px;
  display: flex; align-items: center; justify-content: center;
}
.about-hero-seal-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(10,163,224,.35);
  animation: aboutSealRotate 50s linear infinite;
}
@keyframes aboutSealRotate {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}
.about-hero-seal-inner {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f6fb 0%, #e6f4f3 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  box-shadow:
    0 24px 60px rgba(15,38,82,.14),
    0 4px 12px rgba(15,38,82,.06),
    inset 0 0 0 1px rgba(255,255,255,.6);
  position: relative;
  transition: transform .4s var(--ease);
}
.about-hero-seal-inner::before {
  content: '';
  position: absolute; inset: 10px;
  border: 1px solid rgba(10,163,224,.15);
  border-radius: 50%;
}
.about-hero-seal-inner img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.about-hero-seal:hover .about-hero-seal-inner { transform: scale(1.04); }
.about-hero-seal-caption {
  position: absolute;
  bottom: -14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(15,38,82,.12);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.about-hero-seal-caption span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--sky);
  padding: 0 4px;
  position: relative;
}
.about-hero-seal-caption span + span::before {
  content: '·';
  position: absolute; left: -8px;
  color: var(--border-strong);
}








/* SERVICE page — certification seal */
.page-hero-service { display: flex; align-items: center; gap: 40px; }
.page-hero-seal {
  position: relative;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.page-hero-seal-ring {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  position: relative;
  box-shadow:
    0 8px 24px rgba(15,38,82,.06),
    0 1px 0 rgba(255,255,255,.9) inset;
  transition: transform .4s var(--ease);
}
.page-hero-seal-ring img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}
.page-hero-seal:hover .page-hero-seal-ring { transform: rotate(-3deg) scale(1.03); }
.page-hero-seal-ring::before {
  content: '';
  position: absolute; inset: -14px;
  border: 1px dashed rgba(10,163,224,.28);
  border-radius: 50%;
  animation: sealRotate 40s linear infinite;
  pointer-events: none;
}
@keyframes sealRotate {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}
.page-hero-seal-tag {
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  background: var(--sky);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(10,163,224,.3);
}

/* ============================================================
   RESPONSIVE — Consolidated breakpoints
   ============================================================ */

/* Tablet landscape ≤ 1024px */
@media (max-width: 1024px) {
  :root {
    --header-h: 80px;
    --topbar-h: 34px;
    --total-top: 114px;
  }

  .logo-img { height: 60px; }
  .site-header.scrolled .logo-img { height: 48px; }

  .hero-slider { height: min(72vh, 640px); }
  .hero-search { bottom: 70px; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 100%; }

  .about-hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .about-hero-tags { justify-content: center; }
  .about-hero-visual { order: -1; }
  .about-hero-seal { width: 260px; height: 260px; }
  .about-hero-seal-inner { width: 180px; height: 180px; padding: 26px; }


  .page-hero-service { flex-direction: column; align-items: flex-start; }
  .page-hero-seal { align-self: flex-start; }
  .page-hero-seal-ring { width: 140px; height: 140px; padding: 22px; }

  .shop-layout,
  .shop-layout-v2 { grid-template-columns: 1fr; gap: 20px; }
  .filters,
  .filter-sidebar { position: static; max-height: none; }

  .product-detail,
  .product-body { grid-template-columns: 1fr; gap: 32px; }

  .contact-layout-v2,
  .contact-office-block { grid-template-columns: 1fr; gap: 32px; }

  .why-grid,
  .about-story-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }

  .category-tiles,
  .offices-grid,
  .certifications-grid,
  .services-tiles,
  .team-grid,
  .mission-grid,
  .process-detailed,
  .process-grid { grid-template-columns: repeat(2, 1fr); }

  .offices-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-wall { grid-template-columns: repeat(4, 1fr); }

  .trust-banner-inner { justify-content: center; text-align: center; }
  .nav-cta-text { display: none; }
  .nav-cta { padding: 10px 12px !important; }
}



/* Mobile portrait ≤ 640px */
@media (max-width: 640px) {
  :root {
    --header-h: 74px;
    --topbar-h: 34px;
    --total-top: 108px;
  }

  .container { padding: 0 16px; }
  section { padding: 40px 0; }

  .topbar-inner { gap: 10px; font-size: .72rem; padding: 8px 16px; }
  .topbar-item:nth-child(1),
  .topbar-item:nth-child(3) { display: none; }

  .header-inner { height: auto; padding: 12px 0; min-height: var(--header-h); }
  .site-header.scrolled .header-inner { height: auto; min-height: var(--header-h); }
  .logo-img { height: 52px; }
  .site-header.scrolled .logo-img { height: 46px; }

  .nav-toggle {
    display: block;
    order: 2;
    margin-left: auto;
    color: var(--text);
  }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    order: 3;
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav a {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: .95rem;
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a::after { display: none; }
  .nav-cta {
    margin: 8px 0 0;
    width: 100%;
    justify-content: center;
    padding: 10px 18px !important;
  }
  .nav-cta-text { display: inline !important; }

  .hero-slider { height: auto; min-height: 480px; padding: 30px 0 100px; }
  .hero-slide { position: relative; display: none; min-height: 380px; background-size: cover; }
  .hero-slide.is-active { display: flex; align-items: center; }
  .hero-title { font-size: 1.75rem; line-height: 1.12; }
  .hero-sub { font-size: .95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-search { width: calc(100% - 32px); bottom: 60px; }
  .hero-search-inner { padding: 6px 6px 6px 16px; flex-wrap: wrap; }
  .hero-search-inner .btn { width: 100%; margin-top: 4px; }
  .hero-slider-dots { bottom: 20px; }

  .category-tiles,
  .category-grid,
  .category-strip,
  .offices-grid,
  .certifications-grid,
  .services-tiles,
  .team-grid,
  .mission-grid,
  .process-detailed,
  .process-grid,
  .offices-mini-grid,
  .article-grid,
  .product-grid { grid-template-columns: 1fr; gap: 16px; }

  .category-tile { aspect-ratio: 4 / 3; }
  .category-tile-desc { display: none; }

  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .inquiry-form { padding: 20px 16px; }
  .inquiry-form button { width: 100%; align-self: stretch; }

  .modal-box { padding: 24px 20px; }
  .modal-header h2 { font-size: 1.15rem; }
  .modal-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; }
  .footer-legal-links { flex-wrap: wrap; }
  .footer-logo { height: 58px; }
  .footer-brand-logo-wrap { padding: 10px; }

  .breadcrumbs { padding: 12px 0; font-size: .78rem; }
  .breadcrumbs li:not(:last-child)::after { margin-left: 4px; }

  .specs-table th,
  .specs-table td { padding: 10px 12px; font-size: .84rem; }
  .specs-table th { width: 45%; }

  .testimonial { padding: 30px 24px; }
  .testimonial::before { font-size: 4rem; top: 0; left: 16px; }
  .testimonial p { font-size: 1rem; }

  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  .service-promo-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .service-promo-inner .btn { width: 100%; justify-content: center; }

  .whatsapp-float { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  .back-to-top { width: 42px; height: 42px; bottom: 76px; right: 16px; }

  .about-hero-seal { width: 220px; height: 220px; }
  .about-hero-seal-inner { width: 150px; height: 150px; padding: 22px; }
  .about-hero-seal-caption { font-size: .6rem; padding: 5px 10px; }
  .about-hero-tag { font-size: .8rem; padding: 5px 10px; }


  .page-hero-seal-ring { width: 110px; height: 110px; padding: 16px; }
  .page-hero-seal-ring::before { inset: -10px; }
  .page-hero-seal-tag { font-size: .6rem; padding: 4px 9px; }

  .filter-pill { font-size: .8rem; padding: 8px 14px; }
  .shop-toolbar { padding: 10px 14px; flex-direction: column; align-items: stretch; gap: 10px; }
  .filter-open-mobile { width: 100%; justify-content: center; }
  .sort-buttons { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .sort-btn { padding: 5px 10px; font-size: .78rem; }
  .sort-label { font-size: .74rem; margin-right: 2px; }

  .image-preview-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
  .product-thumbs { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); }

  .map-wrapper iframe { min-height: 380px; }
}

/* Very small phones ≤ 380px */
@media (max-width: 380px) {
  :root {
    --header-h: 68px;
    --total-top: 102px;
  }
  .container { padding: 0 14px; }
  h1 { font-size: 1.5rem; }
  .hero-title { font-size: 1.55rem; }
  .btn-lg { padding: 11px 20px; font-size: .88rem; }
}

/* ============================================================
   ACCESSIBILITY & SAFETY
   ============================================================ */

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

* {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

button, a, .btn, input, select, textarea {
  min-height: 40px;
}

input, select, textarea {
  min-height: 44px;
  font-size: 16px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}




/* Shop header needs breathing room BELOW the pills bar */
.shop-header-v2 {
  padding: 40px 22px 12px !important;
  position: relative;
  z-index: 1;
}

/* Ensure the H1 doesn't get clipped */
.shop-header-v2 h1 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin-bottom: 6px;
  padding-top: 0;
  position: relative;
  z-index: 1;
}

/* Ensure the shop layout has room */
.shop-layout-v2 {
  padding-top: 12px !important;
}









/* ============================================================
   FIX 6 — Footer logo background fix (transparent)
   ============================================================ */

.footer-logo {
  background: transparent !important;
}

.footer-brand-logo-wrap {
  background: transparent !important;
}

/* ============================================================
   FIX 7 — Section-head-center line (thicker, cleaner)
   ============================================================ */

.section-head-center::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--navy));
  margin: 0 auto 22px;
  border-radius: 3px;
  opacity: 0.85;
}



/* ============================================================
   FINAL FIX — Search bar below hero, no overlap with dots
   ============================================================ */

/* Remove the negative pull-up that causes overlap */
.hero-search-bar-section {
  margin-top: 0 !important;
  padding: 60px 22px 60px !important;
  position: relative;
  z-index: 5;
  background: linear-gradient(180deg, var(--bg-ice) 0%, #ffffff 100%);
}

/* Hero has clean spacing, dots at the bottom */
.hero-slider {
  padding-bottom: 90px !important;
  min-height: 560px;
  height: min(78vh, 720px);
}

/* Dots sit at the very bottom of the hero */
.hero-slider-dots {
  bottom: 30px !important;
  z-index: 7;
}

/* Hide any search bar that might be inside the hero (legacy rule) */
.hero-slider .hero-search {
  display: none !important;
}

/* The search bar in its own section */
.hero-search-bar-section .hero-search {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  z-index: 6;
}

/* Search container */
.hero-search-bar-section .hero-search-inner {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  gap: 14px;
  box-shadow:
    0 24px 60px rgba(15,38,82,.14),
    0 4px 12px rgba(15,38,82,.06),
    0 0 0 1px var(--border);
  transition: all .3s var(--ease);
}

.hero-search-bar-section .hero-search-inner:focus-within {
  box-shadow:
    0 30px 70px rgba(15,38,82,.18),
    0 0 0 4px rgba(10,163,224,.2),
    0 0 0 1px var(--sky);
  transform: translateY(-2px);
}

/* Search icon */
.hero-search-bar-section .hero-search-inner > svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--navy);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.hero-search-bar-section .hero-search-inner:focus-within > svg {
  color: var(--sky);
  transform: scale(1.1);
}

/* Input */
.hero-search-bar-section .hero-search-inner input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  padding: 14px 0;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  outline: none;
}
.hero-search-bar-section .hero-search-inner input::placeholder {
  color: #94a3b8;
}

/* Search button — visible and premium */
.hero-search-bar-section .hero-search-inner .btn,
.hero-search-bar-section .hero-search-inner button[type="submit"] {
  position: relative !important;
  flex-shrink: 0 !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 34px !important;
  min-width: 130px !important;
  background: linear-gradient(135deg, #1a3a7a 0%, #0f2652 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: var(--font) !important;
  font-size: .92rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all .3s var(--ease) !important;
  box-shadow: 0 8px 22px rgba(26,58,122,.35);
  overflow: hidden;
  white-space: nowrap;
  text-transform: uppercase;
}
.hero-search-bar-section .hero-search-inner .btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
}
.hero-search-bar-section .hero-search-inner .btn:hover::before {
  transform: translateX(100%);
}
.hero-search-bar-section .hero-search-inner .btn:hover {
  background: linear-gradient(135deg, #0aa3e0 0%, #1a3a7a 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(26,58,122,.45);
  color: #fff;
}



/* Tablet */
@media (max-width: 1024px) {
  .hero-search-bar-section {
    margin-top: 0 !important;
    padding: 50px 22px !important;
  }
  .hero-slider { padding-bottom: 80px !important; }
  .hero-slider-dots { bottom: 24px !important; }

  .hero-search-bar-section .hero-search-inner {
    padding: 6px 6px 6px 18px;
    gap: 10px;
  }
  .hero-search-bar-section .hero-search-inner input {
    padding: 12px 0;
    font-size: .95rem;
  }
  .hero-search-bar-section .hero-search-inner .btn {
    padding: 12px 26px !important;
    font-size: .88rem !important;
    min-width: 110px !important;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero-search-bar-section {
    margin-top: 0 !important;
    padding: 40px 16px !important;
    margin-bottom: 20px !important;
  }
  .hero-slider { padding-bottom: 70px !important; min-height: 520px; }
  .hero-slider-dots { bottom: 20px !important; }

  .hero-search-bar-section .hero-search-inner {
    flex-wrap: wrap;
    padding: 10px;
    border-radius: 22px;
    gap: 10px;
  }
  .hero-search-bar-section .hero-search-inner > svg {
    display: none;
  }
  .hero-search-bar-section .hero-search-inner input {
    flex: 1 0 100%;
    padding: 12px 16px;
    font-size: 1rem;
    background: var(--bg-soft);
    border-radius: 14px;
  }
  .hero-search-bar-section .hero-search-inner .btn {
    flex: 1 0 100%;
    width: 100%;
    padding: 12px 20px !important;
    min-width: 0 !important;
  }
}


/* ============================================================
   STOCK STATUS BADGES
   ============================================================ */

.stock-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(4px);
  position: absolute;
  top: 10px;
  left: 10px;
}
.stock-badge.inline {
  position: static;
  display: inline-block;
  margin-bottom: 10px;
}

/* Colors */
.stock-available {
  background: rgba(21,128,61,.94);   /* green */
}
.stock-under-negotiation {
  background: rgba(180,83,9,.94);    /* amber */
}
.stock-sold-out {
  background: rgba(185,28,28,.94);   /* red */
}
.stock-coming-soon {
  background: rgba(29,78,216,.94);   /* blue */
}

/* Filter sidebar — status chip uses same style as price items */
.filter-price-item.is-active {
  color: var(--navy);
  font-weight: 600;
  background: var(--bg-soft);
}
.filter-price-item.is-active .radio-dot {
  border-color: var(--sky);
}
.filter-price-item.is-active .radio-dot::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--sky);
}



/* ============================================================
   GMG — Logo backdrop removal + new components
   (append at end of style.css)
   ============================================================ */

/* 1. Logo backdrop — fully hidden */
.logo-backdrop { display: none !important; }
.logo { padding: 4px 0; }
.logo-img { filter: none; }

/* 2. Topbar pill badges (Idea 2) */
.topbar-inner {
  gap: 10px;
}
.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(10,163,224,.12);
  border: 1px solid rgba(10,163,224,.28);
  border-radius: 30px;
  color: #cbd5e1;
  font-size: .74rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all .25s var(--ease);
}
.topbar-pill svg { color: var(--sky); }
.topbar-pill:hover {
  background: rgba(10,163,224,.25);
  border-color: var(--sky);
  color: #fff;
  transform: translateY(-1px);
}
.topbar-email { display: inline-flex !important; }

@media (max-width: 900px) {
  .topbar-email { display: none !important; }
}
@media (max-width: 640px) {
  .topbar-pill:nth-child(2) { display: none !important; }
  .topbar-pill { padding: 3px 10px; font-size: .68rem; }
}

/* 3. Regional partners grid */
.section-regional {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}
.regional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.regional-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  text-align: left;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.regional-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; bottom: 0;
  background: linear-gradient(180deg, var(--sky), var(--navy));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}
.regional-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(15,38,82,.12);
  border-color: var(--sky);
}
.regional-card:hover::before { transform: scaleY(1); }

.regional-index {
  display: block;
  font-family: var(--font);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--sky);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.regional-card h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.regional-divider {
  display: block;
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--sky), transparent);
  border-radius: 2px;
  margin-bottom: 14px;
}

.regional-countries {
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

/* 4. Shipping partners (redesigned cards) */
.section-shipping {
  padding: 80px 0;
  background: var(--bg-soft);
  position: relative;
}
.shipping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.shipping-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.shipping-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(10,163,224,.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.shipping-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 25%; right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.shipping-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(15,38,82,.12);
  border-color: var(--sky);
}
.shipping-card:hover::before { opacity: 1; }
.shipping-card:hover::after { opacity: 1; }

.shipping-logo-text {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--navy);
  line-height: 1;
  transition: color .35s var(--ease), transform .35s var(--ease);
}
.shipping-card:hover .shipping-logo-text {
  color: var(--sky);
  transform: scale(1.05);
}

/* 5. Warehouse visit CTA */
.section-warehouse {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-deep) 100%);
  position: relative;
  overflow: hidden;
}
.section-warehouse::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(10,163,224,.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(10,163,224,.12) 0%, transparent 40%);
  pointer-events: none;
}
.warehouse-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.warehouse-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(10,163,224,.15);
  border: 1px solid rgba(10,163,224,.3);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.warehouse-text h2 {
  color: #fff;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  margin-bottom: 6px;
}
.warehouse-text p {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  margin: 0;
  max-width: 560px;
  line-height: 1.65;
}
.warehouse-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .warehouse-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .warehouse-icon { margin: 0 auto; }
  .warehouse-actions { justify-content: center; }
}



/* ============================================================
   ABSTRACT TOPBAR — ECG pulse + constellation dots
   ============================================================ */

.topbar-abstract {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: linear-gradient(180deg, #08172e 0%, #0a1e3d 100%);
  overflow: hidden;
  z-index: 101;
  transition: transform .3s var(--ease);
  border-bottom: 1px solid rgba(10,163,224,.15);
}

/* ECG line sweeping across the strip */
.topbar-abstract-ecg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 34' preserveAspectRatio='none'><path d='M0,17 L400,17 L420,17 L440,5 L460,29 L480,17 L800,17 L820,17 L840,3 L860,31 L880,17 L1200,17' fill='none' stroke='%230aa3e0' stroke-width='1.2' stroke-opacity='0.55'/></svg>");
  background-size: 600px 34px;
  background-repeat: repeat-x;
  animation: ecgDrift 18s linear infinite;
  opacity: .85;
}

/* Faint constellation dots drifting slowly */
.topbar-abstract-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 50%, rgba(10,163,224,.35) 1px, transparent 2px),
    radial-gradient(circle at 22% 30%, rgba(10,163,224,.22) 1px, transparent 2px),
    radial-gradient(circle at 38% 70%, rgba(203,213,225,.18) 1px, transparent 2px),
    radial-gradient(circle at 55% 40%, rgba(10,163,224,.28) 1px, transparent 2px),
    radial-gradient(circle at 72% 60%, rgba(203,213,225,.15) 1px, transparent 2px),
    radial-gradient(circle at 88% 30%, rgba(10,163,224,.30) 1px, transparent 2px),
    radial-gradient(circle at 95% 70%, rgba(203,213,225,.20) 1px, transparent 2px);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: dotsDrift 24s ease-in-out infinite alternate;
}

/* Soft glow pulse at the centre */
.topbar-abstract-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(10,163,224,.12) 0%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ecgDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 600px 0; }
}

@keyframes dotsDrift {
  0%   { transform: translate(0, 0); opacity: .8; }
  100% { transform: translate(-8px, 0); opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% { opacity: .5; }
  50%      { opacity: .9; }
}

/* When you scroll past the topbar, it slides away (like before) */
body.scrolled-past-topbar .topbar-abstract {
  transform: translateY(-100%);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .topbar-abstract-ecg,
  .topbar-abstract-dots,
  .topbar-abstract-glow {
    animation: none !important;
  }
}


/* ============================================================
   BACKGROUND MOTIF — ECG pulse + constellation dots
   Used in: hero backdrop, section dividers, footer band
   ============================================================ */

/* ---------- HERO BACKDROP (large, slow, subtle) ---------- */
.hero-bg-motif {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: .35;
}
.hero-bg-motif::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'><path d='M0,150 L400,150 L440,150 L470,40 L500,260 L530,150 L800,150 L840,150 L870,20 L900,280 L930,150 L1200,150' fill='none' stroke='%230aa3e0' stroke-width='1.6' stroke-opacity='0.35'/></svg>");
  background-size: 900px 300px;
  background-repeat: repeat-x;
  background-position: 0 center;
  animation: heroEcgDrift 26s linear infinite;
}
.hero-bg-motif::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(10,163,224,.55) 1.5px, transparent 2.5px),
    radial-gradient(circle at 28% 70%, rgba(203,213,225,.35) 1.5px, transparent 2.5px),
    radial-gradient(circle at 45% 40%, rgba(10,163,224,.45) 1.5px, transparent 2.5px),
    radial-gradient(circle at 62% 65%, rgba(203,213,225,.3) 1.5px, transparent 2.5px),
    radial-gradient(circle at 78% 35%, rgba(10,163,224,.5) 1.5px, transparent 2.5px),
    radial-gradient(circle at 92% 60%, rgba(203,213,225,.3) 1.5px, transparent 2.5px);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: heroDotsDrift 30s ease-in-out infinite alternate;
}
@keyframes heroEcgDrift {
  0%   { background-position: 0 center; }
  100% { background-position: 900px center; }
}
@keyframes heroDotsDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-14px, 0); }
}

/* Ensure hero text stays above motif */
.hero-slide-content,
.hero-slider-dots,
.hero-search { position: relative; z-index: 3; }

/* ---------- SECTION DIVIDERS (thin pulse strips) ---------- */
.pulse-divider {
  position: relative;
  height: 44px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(234,242,249,.6) 50%,
    rgba(255,255,255,0) 100%);
  overflow: hidden;
  z-index: 1;
}
.pulse-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 44' preserveAspectRatio='none'><path d='M0,22 L420,22 L460,22 L480,6 L500,38 L520,22 L780,22 L800,22 L820,4 L840,40 L860,22 L1200,22' fill='none' stroke='%230aa3e0' stroke-width='1.2' stroke-opacity='0.55'/></svg>");
  background-size: 700px 44px;
  background-repeat: repeat-x;
  background-position: 0 center;
  animation: pulseDrift 22s linear infinite;
}
.pulse-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(10,163,224,.4) 1px, transparent 2px),
    radial-gradient(circle at 35% 30%, rgba(10,163,224,.25) 1px, transparent 2px),
    radial-gradient(circle at 55% 70%, rgba(203,213,225,.3) 1px, transparent 2px),
    radial-gradient(circle at 75% 40%, rgba(10,163,224,.35) 1px, transparent 2px),
    radial-gradient(circle at 90% 60%, rgba(203,213,225,.25) 1px, transparent 2px);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: dotsSlide 28s ease-in-out infinite alternate;
}
@keyframes pulseDrift {
  0%   { background-position: 0 center; }
  100% { background-position: 700px center; }
}
@keyframes dotsSlide {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-10px, 0); }
}

/* ---------- FOOTER MOTIF BAND ---------- */
.footer-motif {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 130px;
  overflow: hidden;
  pointer-events: none;
  opacity: .5;
  z-index: 0;
}
.footer-motif::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 130' preserveAspectRatio='none'><path d='M0,65 L400,65 L440,65 L470,20 L500,110 L530,65 L800,65 L840,65 L870,10 L900,120 L930,65 L1200,65' fill='none' stroke='%230aa3e0' stroke-width='1.4' stroke-opacity='0.35'/></svg>");
  background-size: 900px 130px;
  background-repeat: repeat-x;
  background-position: 0 center;
  animation: footerEcgDrift 24s linear infinite;
}
.footer-motif::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(10,163,224,.5) 1.2px, transparent 2px),
    radial-gradient(circle at 30% 30%, rgba(203,213,225,.3) 1.2px, transparent 2px),
    radial-gradient(circle at 50% 70%, rgba(10,163,224,.4) 1.2px, transparent 2px),
    radial-gradient(circle at 70% 40%, rgba(203,213,225,.3) 1.2px, transparent 2px),
    radial-gradient(circle at 90% 60%, rgba(10,163,224,.45) 1.2px, transparent 2px);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: footerDotsDrift 32s ease-in-out infinite alternate;
}
@keyframes footerEcgDrift {
  0%   { background-position: 0 center; }
  100% { background-position: 900px center; }
}
@keyframes footerDotsDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-12px, 0); }
}

/* Footer needs relative positioning for motif band to sit inside */
.site-footer { position: relative; }
.site-footer .footer-grid,
.site-footer .footer-legal { position: relative; z-index: 1; }

/* ---------- RESPONSIVE — scale down on small screens ---------- */
@media (max-width: 768px) {
  .hero-bg-motif { opacity: .25; }
  .hero-bg-motif::before { background-size: 600px 200px; }
  .pulse-divider { height: 32px; }
  .pulse-divider::before { background-size: 500px 32px; }
  .footer-motif { height: 90px; opacity: .35; }
  .footer-motif::before { background-size: 600px 90px; }
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-motif::before,
  .hero-bg-motif::after,
  .pulse-divider::before,
  .pulse-divider::after,
  .footer-motif::before,
  .footer-motif::after {
    animation: none !important;
  }
}




/* ============================================================
   HERO — FINAL RESET (overrides everything above)
   ============================================================ */

.hero-slider {
  position: relative !important;
  height: 640px !important;
  min-height: 560px !important;
  max-height: 90vh !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--navy-deep);
  display: block !important;
  align-items: unset !important;
}

.hero-slide {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.9s ease;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, rgba(8,23,46,.88) 0%, rgba(15,38,82,.72) 50%, rgba(10,163,224,.35) 100%),
    var(--slide-img);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  max-width: var(--container) !important;
  margin: 0 auto !important;
  padding: 0 22px !important;
  padding-top: 40px !important;
  padding-bottom: 40px !important;
  width: 100%;
  color: #fff;
  transform: none !important;
  opacity: 1 !important;
  animation: heroTextIn 0.7s var(--ease) 0.15s forwards;
}

.hero-bg-motif {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.25;
}

.hero-slider-dots {
  position: absolute !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 7;
}

.hero-slider .hero-search {
  display: none !important;
}

/* ============================================================
   Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .hero-slider {
    height: 560px !important;
    min-height: 500px !important;
  }
  .hero-slide-content {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 640px) {
  .hero-slider {
    height: auto !important;
    min-height: 520px !important;
    max-height: none !important;
    padding: 60px 0 80px !important;
  }
  .hero-slide {
    position: relative !important;
    display: none !important;
    min-height: 460px !important;
  }
  .hero-slide.is-active {
    display: flex !important;
  }
  .hero-slide-content {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  .hero-slider-dots {
    bottom: 20px !important;
  }
}




/* ============================================================
   NAV DROPDOWNS — FINAL (high specificity, overrides everything)
   ============================================================ */

.main-nav .nav-dropdown {
  position: relative !important;
  display: inline-block !important;
}

.main-nav .nav-dropdown-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-family: var(--font) !important;
  font-size: .88rem !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  padding: 4px 0 !important;
  transition: color .22s var(--ease) !important;
  cursor: pointer !important;
  text-decoration: none !important;
}
.main-nav .nav-dropdown-trigger:hover,
.main-nav .nav-dropdown-trigger.active {
  color: var(--navy) !important;
}

.main-nav .nav-dropdown-caret {
  opacity: .55;
  transition: transform .25s var(--ease);
  flex-shrink: 0;
}
.main-nav .nav-dropdown:hover .nav-dropdown-caret {
  transform: rotate(180deg);
}

/* The floating panel — absolutely positioned, hidden until hover */
.main-nav .nav-dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(8px) !important;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 10px !important;
  min-width: 240px !important;
  box-shadow: 0 16px 40px rgba(15,38,82,.14), 0 4px 10px rgba(15,38,82,.06) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s !important;
  z-index: 500 !important;
  display: block !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

/* Small invisible bridge so hovering the gap doesn't close the menu */
.main-nav .nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

/* Show on hover */
.main-nav .nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

/* Each link inside the dropdown */
.main-nav .nav-dropdown-menu a {
  display: block !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  font-size: .85rem !important;
  font-weight: 500 !important;
  color: var(--text-soft) !important;
  transition: background .15s var(--ease), color .15s var(--ease), padding-left .15s var(--ease) !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
}
.main-nav .nav-dropdown-menu a:hover {
  background: var(--bg-ice) !important;
  color: var(--navy) !important;
  padding-left: 20px !important;
}

/* "See all" link — separated by a top border */
.main-nav .nav-dropdown-menu a.nav-dropdown-see-all {
  margin-top: 6px !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--border) !important;
  border-radius: 0 !important;
  color: var(--sky) !important;
  font-weight: 700 !important;
  font-size: .8rem !important;
  letter-spacing: .3px !important;
}
.main-nav .nav-dropdown-menu a.nav-dropdown-see-all:hover {
  padding-left: 16px !important;
  background: transparent !important;
  color: var(--navy) !important;
}

/* ============================================================
   MOBILE — dropdowns become plain vertical lists
   ============================================================ */
@media (max-width: 640px) {
  .main-nav .nav-dropdown {
    display: block !important;
    width: 100% !important;
  }
  .main-nav .nav-dropdown-trigger {
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--border) !important;
    width: 100% !important;
    justify-content: space-between !important;
    font-size: .95rem !important;
  }
  .main-nav .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 4px 0 8px 16px !important;
    min-width: 0 !important;
    background: transparent !important;
    pointer-events: auto !important;
  }
  .main-nav .nav-dropdown-menu a {
    padding: 8px 0 !important;
    border-bottom: 1px dashed var(--border) !important;
    font-size: .88rem !important;
  }
  .main-nav .nav-dropdown-menu a:hover {
    padding-left: 4px !important;
    background: transparent !important;
  }
}


/* ============================================================
   FILTER SIDEBAR — NESTED CATEGORY TREE
   ============================================================ */

.filter-cat-tree {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.filter-cat-block {
  display: flex;
  flex-direction: column;
}

/* Category link with arrow icon */
.filter-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 6px 4px;
  margin-bottom: 6px;
  text-decoration: none;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.filter-cat-link:hover {
  color: var(--sky);
  padding-left: 8px;
}
.filter-cat-link.is-active {
  color: var(--sky);
}

.filter-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  transition: transform .25s var(--ease);
}
.filter-cat-link:hover .filter-cat-icon {
  transform: translateX(2px);
}

.filter-cat-name {
  flex: 1;
}

/* Subcategory list — indented under its category */
.filter-sub-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 18px;
  border-left: 1px dashed var(--border);
  margin-left: 6px;
  margin-bottom: 4px;
}

.filter-sub-list .filter-checkbox {
  padding: 6px 10px;
  font-size: .84rem;
}

.filter-sub-list .filter-checkbox:hover {
  background: var(--bg-soft);
}

/* The little vertical connector line */
.filter-sub-list .filter-checkbox.is-checked {
  color: var(--navy);
  font-weight: 600;
  background: var(--bg-soft);
}


/* ============================================================
   LOGO SIZE — prevent shrinking when navbar is crowded
   ============================================================ */

.site-header .header-inner {
  gap: 12px !important;
}

.site-header .logo {
  flex-shrink: 0 !important;
  padding: 4px 8px !important;
  min-width: 120px;
}

.site-header .logo-img {
  height: 76px !important;
  width: auto !important;
  max-width: none !important;
  flex-shrink: 0 !important;
  transition: height .3s var(--ease);
}

.site-header.scrolled .logo-img {
  height: 62px !important;
}

/* Tighten nav gaps so all items fit alongside the bigger logo */
.main-nav {
  gap: 16px !important;
}

.main-nav .nav-dropdown-trigger,
.main-nav > a {
  font-size: .84rem !important;
  white-space: nowrap;
}

/* Tablet — medium logo */
@media (max-width: 1024px) {
  .site-header .logo-img { height: 64px !important; }
  .site-header.scrolled .logo-img { height: 54px !important; }
  .site-header .logo { min-width: 100px; }
  .main-nav { gap: 12px !important; }
  .main-nav .nav-dropdown-trigger,
  .main-nav > a { font-size: .8rem !important; }
}

/* Mobile — smaller logo, normal */
@media (max-width: 640px) {
  .site-header .logo-img { height: 52px !important; }
  .site-header.scrolled .logo-img { height: 46px !important; }
  .site-header .logo { min-width: 80px; padding: 4px !important; }
}


/* ============================================================
   HEADER BACKGROUND — match logo's pure white exactly
   ============================================================ */

.site-header {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* The logo wrapper should have no extra background at all */
.site-header .logo {
  background: transparent !important;
}

.site-header .logo-img {
  background: transparent !important;
  mix-blend-mode: normal !important;
}



/* ============================================================
   CATEGORY TILES — Fluid, evenly-distributed grid
   Auto-adjusts to however many categories exist
   ============================================================ */

.section-categories-v2 .category-tiles {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px !important;
  margin-top: 40px !important;
  align-items: stretch !important;
}

.section-categories-v2 .category-tile {
  aspect-ratio: 4 / 5 !important;
  min-height: 380px !important;
  max-height: 520px !important;
  height: auto !important;
  width: 100% !important;
}

/* Make the last row align nicely even if it has 1 or 2 tiles */
.section-categories-v2 .category-tiles::after {
  content: '';
  display: block;
}

/* ============================================================
   TABLET — 2 columns
   ============================================================ */
@media (max-width: 1024px) {
  .section-categories-v2 .category-tiles {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
  .section-categories-v2 .category-tile {
    aspect-ratio: 4 / 5 !important;
    min-height: 340px !important;
  }
}

/* ============================================================
   MOBILE — 1 column, shorter tiles
   ============================================================ */
@media (max-width: 640px) {
  .section-categories-v2 .category-tiles {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 28px !important;
  }
  .section-categories-v2 .category-tile {
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* ============================================================
   WIDE SCREENS — make tiles a touch taller so they feel generous
   ============================================================ */
@media (min-width: 1400px) {
  .section-categories-v2 .category-tiles {
    gap: 26px !important;
  }
  .section-categories-v2 .category-tile {
    min-height: 420px !important;
  }
}





/* ============================================================
   NEWS & EVENTS — public site
   ============================================================ */

/* ---------- HERO BAND ---------- */
.news-hero {
  position: relative;
  padding: 70px 0 60px;
  background: linear-gradient(180deg, #08172e 0%, #0a1e3d 100%);
  overflow: hidden;
  color: #fff;
  margin-bottom: 40px;
}
.news-hero-inner { position: relative; z-index: 2; text-align: center; }
.news-hero h1 {
  color: #fff;
  margin: 8px 0 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.news-hero .lead {
  color: rgba(255,255,255,.75);
  max-width: 620px;
  margin: 0 auto 26px;
}
.news-hero .section-eyebrow { color: var(--sky); }

/* Motif: ECG line sweeping + constellation dots + soft glow */
.news-hero-motif { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.news-hero-ecg {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'><path d='M0,150 L400,150 L440,150 L470,40 L500,260 L530,150 L800,150 L840,150 L870,20 L900,280 L930,150 L1200,150' fill='none' stroke='%230aa3e0' stroke-width='1.4' stroke-opacity='0.28'/></svg>");
  background-size: 900px 300px;
  background-repeat: repeat-x;
  animation: newsEcgDrift 26s linear infinite;
  opacity: .9;
}
.news-hero-dots {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(10,163,224,.55) 1.5px, transparent 2.5px),
    radial-gradient(circle at 28% 70%, rgba(203,213,225,.35) 1.5px, transparent 2.5px),
    radial-gradient(circle at 45% 40%, rgba(10,163,224,.45) 1.5px, transparent 2.5px),
    radial-gradient(circle at 62% 65%, rgba(203,213,225,.3) 1.5px, transparent 2.5px),
    radial-gradient(circle at 78% 35%, rgba(10,163,224,.5) 1.5px, transparent 2.5px),
    radial-gradient(circle at 92% 60%, rgba(203,213,225,.3) 1.5px, transparent 2.5px);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: newsDotsDrift 30s ease-in-out infinite alternate;
}
.news-hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 90% at 50% 50%, rgba(10,163,224,.16) 0%, transparent 70%);
  animation: newsGlowPulse 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes newsEcgDrift { 0% { background-position: 0 center; } 100% { background-position: 900px center; } }
@keyframes newsDotsDrift { 0% { transform: translate(0,0); } 100% { transform: translate(-12px,0); } }
@keyframes newsGlowPulse { 0%,100% { opacity: .5; } 50% { opacity: .9; } }

/* Search inside hero */
.news-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(8,23,46,.45), 0 1px 0 rgba(255,255,255,.7) inset;
}
.news-search > svg { color: var(--navy); flex-shrink: 0; }
.news-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  padding: 12px 0;
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text);
  outline: none;
}
.news-search .btn {
  border-radius: 999px;
  padding: 12px 26px;
  font-size: .88rem;
  min-width: 100px;
}

/* ---------- FEATURED STORY ---------- */
.news-featured-section { margin-bottom: 60px; }

.news-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(15,38,82,.06);
  color: inherit;
  transition: all .4s var(--ease);
}
.news-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(15,38,82,.14);
  border-color: transparent;
}
.news-featured-image {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  min-height: 340px;
}
.news-featured-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.news-featured:hover .news-featured-image img { transform: scale(1.05); }
.news-featured-image .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef3f9, #dde7f0);
  color: #94a3b8;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 3px;
}
.news-featured-content {
  padding: 42px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-featured-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 500;
  color: var(--navy);
  margin: 12px 0 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.news-featured-content p {
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ---------- TAGS + META ---------- */
.news-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(15,38,82,.92);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.news-tag-event {
  background: linear-gradient(135deg, var(--sky), #0787bd);
  box-shadow: 0 6px 16px rgba(10,163,224,.35);
}
.news-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .3px;
  text-transform: uppercase;
}
.news-meta svg { color: var(--sky); }

/* ---------- GRID ---------- */
.news-grid-section { margin-bottom: 60px; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15,38,82,.1);
  border-color: var(--sky);
}
.news-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}
.news-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.news-card:hover .news-card-image img { transform: scale(1.06); }
.news-card-image .placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef3f9, #dde7f0);
  color: #94a3b8;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 3px;
}
.news-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 8px 0 10px;
}
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--sky); }
.news-card p {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}
.news-card .read-more {
  font-size: .84rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: .3px;
  margin-top: auto;
}
.news-card .read-more:hover { color: var(--navy); }

/* ---------- SINGLE ARTICLE ---------- */
.news-single { padding: 40px 0 60px; }
.news-single-header {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}
.news-single-header h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
}
.news-single-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--text-muted);
  font-size: .84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.news-single-meta svg { color: var(--sky); vertical-align: middle; margin-right: 4px; }
.news-single-badge {
  background: linear-gradient(135deg, var(--sky), #0787bd);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .72rem;
  letter-spacing: .8px;
}

.news-single-cover-wrap {
  max-width: 1000px;
  margin: 0 auto 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15,38,82,.12);
}
.news-single-cover {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

.news-single-body-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto 40px;
  align-items: start;
}
.news-single-body {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text);
  letter-spacing: -0.005em;
}
.news-single-lead {
  font-size: 1.18rem;
  color: var(--text-soft);
  font-style: italic;
  border-left: 3px solid var(--sky);
  padding-left: 20px;
  margin-bottom: 24px;
  font-family: var(--font-serif);
}
.news-single-body p { margin-bottom: 1.15rem; font-family: var(--font-serif); }
.news-single-body h2,
.news-single-body h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 28px 0 12px;
}

/* Aside CTA */
.news-single-aside {
  position: sticky;
  top: calc(var(--total-top) + 20px);
}
.news-single-cta {
  background: linear-gradient(160deg, #f5f8fc 0%, #eaf2f9 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
}
.news-single-cta h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 500;
}
.news-single-cta p {
  font-size: .86rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.news-single-footer {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-image { min-height: 260px; }
  .news-featured-content { padding: 32px 28px; }
  .news-single-body-wrap { grid-template-columns: 1fr; gap: 32px; }
  .news-single-aside { position: static; }
}

@media (max-width: 640px) {
  .news-hero { padding: 50px 0 40px; margin-bottom: 24px; }
  .news-search { flex-wrap: wrap; padding: 8px; border-radius: 22px; gap: 8px; }
  .news-search > svg { display: none; }
  .news-search input {
    flex: 1 0 100%;
    padding: 12px 16px;
    background: var(--bg-soft);
    border-radius: 14px;
  }
  .news-search .btn { flex: 1 0 100%; width: 100%; padding: 12px 20px; }
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-featured-content { padding: 24px 22px; }
  .news-featured-content h2 { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .news-hero-ecg,
  .news-hero-dots,
  .news-hero-glow { animation: none !important; }
}




/* ============================================================
   HOMEPAGE REFRESH v3 — Cleaner · Smaller · Colored
   ============================================================ */

/* ------------------------------------------------------------
   1. GLOBAL SECTION SPACING — tighter so cards don't feel huge
   ------------------------------------------------------------ */
.section-categories-v2,
.section-expertise,
.section-certifications,
.section-process,
.section-services-tiles,
.section-regional,
.section-shipping,
.section-news-teaser,
.section-insights {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}



/* ------------------------------------------------------------
   3. HERO EYEBROW — clean, professional, brand-colored
   ------------------------------------------------------------ */
.hero-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 16px !important;
  background: rgba(10,163,224,.14) !important;
  border: 1px solid rgba(10,163,224,.5) !important;
  border-radius: 30px !important;
  color: #7dd3fc !important;
  font-family: var(--font) !important;
  font-style: normal !important;
  font-weight: 600 !important;
  font-size: .78rem !important;
  letter-spacing: .4px !important;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(10,163,224,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 6px rgba(125,211,252,.8);
}
/* Remove any leftover animated border from earlier */
.hero-eyebrow::after { content: none !important; }

/* ------------------------------------------------------------
   4. CATEGORY TILES — smaller, four pillars fit one row
   ------------------------------------------------------------ */
.section-categories-v2 .category-tiles {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin-top: 32px !important;
  align-items: stretch !important;
}
.section-categories-v2 .category-tile {
  aspect-ratio: 1 / 1 !important;
  min-height: 220px !important;
  max-height: 280px !important;
  height: auto !important;
  width: 100% !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(15,38,82,.08) !important;
  transition: all .35s var(--ease) !important;
}
.section-categories-v2 .category-tile:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px rgba(15,38,82,.16) !important;
}
.section-categories-v2 .category-tile-bg {
  background-size: cover !important;
  background-position: center !important;
}
.section-categories-v2 .category-tile-overlay {
  background: linear-gradient(180deg,
    rgba(8,23,46,.10) 0%,
    rgba(8,23,46,.55) 55%,
    rgba(8,23,46,.94) 100%) !important;
}
.section-categories-v2 .category-tile-content {
  padding: 18px 16px !important;
}
.section-categories-v2 .category-tile-num {
  font-family: var(--font) !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.4px !important;
  color: var(--sky) !important;
  margin-bottom: 6px !important;
}
.section-categories-v2 .category-tile h3 {
  font-family: var(--font-serif) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.15 !important;
  margin-bottom: 4px !important;
  color: #fff !important;
}
.section-categories-v2 .category-tile-tagline {
  font-size: .68rem !important;
  letter-spacing: 1px !important;
  margin-bottom: 8px !important;
  color: rgba(255,255,255,.7) !important;
}
.section-categories-v2 .category-tile-desc {
  display: none !important;
}
.section-categories-v2 .category-tile-cta {
  font-size: .76rem !important;
  font-weight: 700 !important;
  color: var(--sky) !important;
  letter-spacing: .3px;
}
.section-categories-v2 .category-tile:hover .category-tile-cta .arrow {
  transform: translateX(4px) !important;
}

@media (max-width: 1024px) {
  .section-categories-v2 .category-tiles {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .section-categories-v2 .category-tile {
    min-height: 200px !important;
    max-height: 260px !important;
    aspect-ratio: 1 / 1 !important;
  }
}
@media (max-width: 640px) {
  .section-categories-v2 .category-tiles {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 24px !important;
  }
  .section-categories-v2 .category-tile {
    aspect-ratio: 16 / 10 !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* ------------------------------------------------------------
   5. WHAT WE SUPPLY (expertise cards) — colored accents
   ------------------------------------------------------------ */
.section-expertise .expertise-card {
  position: relative;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 24px 22px 24px !important;
  transition: all .3s var(--ease) !important;
  overflow: hidden;
}
.section-expertise .expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--expertise-accent, var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.section-expertise .expertise-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--expertise-accent, var(--sky)) !important;
  box-shadow: 0 14px 30px rgba(15,38,82,.09) !important;
}
.section-expertise .expertise-card:hover::before { transform: scaleX(1); }
.section-expertise .expertise-card:nth-child(1) { --expertise-accent: #0aa3e0; }
.section-expertise .expertise-card:nth-child(2) { --expertise-accent: #0d9488; }
.section-expertise .expertise-card:nth-child(3) { --expertise-accent: #7c3aed; }
.section-expertise .expertise-card:nth-child(4) { --expertise-accent: #f59e0b; }
.section-expertise .expertise-card:nth-child(5) { --expertise-accent: #e11d48; }

.section-expertise .expertise-num {
  display: inline-block;
  font-family: var(--font) !important;
  font-size: .68rem !important;
  font-weight: 800 !important;
  letter-spacing: 1.6px !important;
  color: #fff !important;
  padding: 3px 10px !important;
  background: var(--expertise-accent, var(--sky)) !important;
  border-radius: 20px !important;
  margin-bottom: 14px !important;
  line-height: 1.3 !important;
}
.section-expertise .expertise-card h3 {
  font-family: var(--font) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin-bottom: 8px !important;
}
.section-expertise .expertise-card p {
  font-size: .85rem !important;
  color: var(--text-soft) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ------------------------------------------------------------
   6. STANDARDS WE HOLD (certifications) — colored icon rings
   ------------------------------------------------------------ */
.section-certifications .certifications-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  margin-top: 32px !important;
}
.section-certifications .cert-card {
  position: relative;
  text-align: left !important;
  padding: 22px 20px !important;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all .3s var(--ease) !important;
  overflow: hidden;
}
.section-certifications .cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--cert-accent, var(--sky)) !important;
  box-shadow: 0 14px 30px rgba(15,38,82,.09);
}
.section-certifications .cert-card:nth-child(1) { --cert-accent: #0aa3e0; --cert-tint: rgba(10,163,224,.12); }
.section-certifications .cert-card:nth-child(2) { --cert-accent: #0d9488; --cert-tint: rgba(13,148,136,.12); }
.section-certifications .cert-card:nth-child(3) { --cert-accent: #f59e0b; --cert-tint: rgba(245,158,11,.14); }
.section-certifications .cert-card:nth-child(4) { --cert-accent: #7c3aed; --cert-tint: rgba(124,58,237,.12); }

.section-certifications .cert-icon {
  width: 44px !important;
  height: 44px !important;
  margin: 0 0 4px 0 !important;
  border-radius: 50% !important;
  background: var(--cert-tint, rgba(10,163,224,.12)) !important;
  color: var(--cert-accent, var(--sky)) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}
.section-certifications .cert-card:hover .cert-icon {
  background: var(--cert-accent, var(--sky)) !important;
  color: #fff !important;
  transform: rotate(-6deg) scale(1.06);
}
.section-certifications .cert-icon svg { width: 22px !important; height: 22px !important; }
.section-certifications .cert-card h4 {
  font-size: .92rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.section-certifications .cert-card p {
  font-size: .8rem !important;
  color: var(--text-muted) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .section-certifications .certifications-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}
@media (max-width: 640px) {
  .section-certifications .certifications-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ------------------------------------------------------------
   7. HOW EVERY GMG DEVICE IS PREPARED (process)
   ------------------------------------------------------------ */
.section-process .process-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  margin-top: 32px !important;
}
.section-process .process-step {
  position: relative;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 22px 20px 20px !important;
  transition: all .3s var(--ease) !important;
  overflow: hidden;
}
.section-process .process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15,38,82,.09);
}
.section-process .process-step:nth-child(1) { --proc-accent: #0aa3e0; --proc-tint: rgba(10,163,224,.12); }
.section-process .process-step:nth-child(2) { --proc-accent: #0d9488; --proc-tint: rgba(13,148,136,.12); }
.section-process .process-step:nth-child(3) { --proc-accent: #f59e0b; --proc-tint: rgba(245,158,11,.14); }
.section-process .process-step:nth-child(4) { --proc-accent: #7c3aed; --proc-tint: rgba(124,58,237,.12); }
.section-process .process-step:hover { border-color: var(--proc-accent, var(--sky)) !important; }

.section-process .process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: var(--proc-tint, rgba(10,163,224,.12)) !important;
  color: var(--proc-accent, var(--sky)) !important;
  font-family: var(--font) !important;
  font-size: .9rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin-bottom: 14px !important;
  transition: all .3s var(--ease);
}
.section-process .process-step:hover .process-num {
  background: var(--proc-accent, var(--sky)) !important;
  color: #fff !important;
  transform: scale(1.06);
}
.section-process .process-step h3 {
  font-size: .98rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 0 0 6px 0 !important;
}
.section-process .process-step p {
  font-size: .82rem !important;
  color: var(--text-soft) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .section-process .process-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}
@media (max-width: 640px) {
  .section-process .process-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ------------------------------------------------------------
   8. WE SUPPORT WHAT WE SELL (service tiles)
   ------------------------------------------------------------ */
.section-services-tiles .services-tiles {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px !important;
  margin-top: 32px !important;
}
.section-services-tiles .service-tile {
  position: relative;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 26px 22px !important;
  text-align: center !important;
  color: inherit !important;
  transition: all .3s var(--ease) !important;
}
.section-services-tiles .service-tile:hover {
  transform: translateY(-4px);
  border-color: var(--service-accent, var(--sky)) !important;
  box-shadow: 0 14px 30px rgba(15,38,82,.09);
}
.section-services-tiles .service-tile:nth-child(1) { --service-accent: #0aa3e0; --service-tint: rgba(10,163,224,.12); }
.section-services-tiles .service-tile:nth-child(2) { --service-accent: #0d9488; --service-tint: rgba(13,148,136,.12); }
.section-services-tiles .service-tile:nth-child(3) { --service-accent: #f59e0b; --service-tint: rgba(245,158,11,.14); }

.section-services-tiles .service-tile-icon {
  width: 52px !important;
  height: 52px !important;
  margin: 0 auto 14px !important;
  border-radius: 12px !important;
  background: var(--service-tint, rgba(10,163,224,.12)) !important;
  color: var(--service-accent, var(--sky)) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}
.section-services-tiles .service-tile:hover .service-tile-icon {
  background: var(--service-accent, var(--sky)) !important;
  color: #fff !important;
  transform: scale(1.08);
}
.section-services-tiles .service-tile h3 {
  font-size: .98rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 0 0 6px 0 !important;
}
.section-services-tiles .service-tile p {
  font-size: .82rem !important;
  color: var(--text-muted) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .section-services-tiles .services-tiles {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}
@media (max-width: 640px) {
  .section-services-tiles .services-tiles {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ------------------------------------------------------------
   9. REGIONAL PARTNERS — compact horizontal strips
   ------------------------------------------------------------ */
.section-regional {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
  background: #fff !important;
}
.regional-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin-top: 32px !important;
  max-width: 100% !important;
}
.regional-card {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 18px 20px !important;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-left: 4px solid var(--region-accent, var(--sky)) !important;
  border-radius: 10px !important;
  transition: all .25s var(--ease) !important;
  text-align: left !important;
}
.regional-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15,38,82,.08);
}
.regional-card:nth-child(1) { --region-accent: #f59e0b; }  /* Africa — amber */
.regional-card:nth-child(2) { --region-accent: #1a3a7a; }  /* Europe — navy */
.regional-card:nth-child(3) { --region-accent: #e11d48; }  /* Asia — rose */

.regional-flag-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--region-accent, #0aa3e0) 14%, #fff);
  color: var(--region-accent, #0aa3e0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--ease);
}
.regional-card:hover .regional-flag-icon {
  background: var(--region-accent, #0aa3e0);
  color: #fff;
  transform: rotate(-4deg) scale(1.05);
}
.regional-head { display: none !important; }  /* hide the number + icon header */
.regional-index { display: none !important; }

.regional-card h3 {
  font-family: var(--font) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 3px 0 !important;
  line-height: 1.2 !important;
}
.regional-countries {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 8px !important;
  margin: 0 !important;
  font-size: .78rem !important;
  color: var(--text-muted) !important;
  line-height: 1.3;
}
.country-pill {
  display: inline !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  color: var(--text-soft) !important;
  font-size: .78rem !important;
  font-weight: 500 !important;
}
.country-pill + .country-pill::before {
  content: ' · ';
  color: var(--text-muted);
  margin-right: 4px;
}
.regional-card:hover .country-pill { color: var(--text-soft) !important; }
.section-regional .regional-divider { display: none !important; }

/* Make sure the icon sits at the left, text block stacks */
.regional-card > .regional-flag-icon + * {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

@media (max-width: 1024px) {
  .regional-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ------------------------------------------------------------
   10. SHIPPING PARTNERS — always colored (no hover needed)
   ------------------------------------------------------------ */
.section-shipping {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
  background: #f5f8fc !important;
}
.shipping-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px !important;
  margin-top: 32px !important;
}
.shipping-card {
  position: relative;
  padding: 26px 18px 22px !important;
  min-height: 130px !important;
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
  transition: all .3s var(--ease) !important;
  overflow: hidden;
  /* ALWAYS visible color tint — the fix for "hover-only" complaint */
  background:
    linear-gradient(155deg,
      color-mix(in srgb, var(--carrier-accent, #0aa3e0) 12%, #ffffff) 0%,
      color-mix(in srgb, var(--carrier-accent, #0aa3e0) 4%, #ffffff) 100%) !important;
  border-color: color-mix(in srgb, var(--carrier-accent, #0aa3e0) 22%, #ffffff) !important;
}
.shipping-card:hover {
  transform: translateY(-4px);
  background:
    linear-gradient(155deg,
      color-mix(in srgb, var(--carrier-accent, #0aa3e0) 20%, #ffffff) 0%,
      color-mix(in srgb, var(--carrier-accent, #0aa3e0) 8%, #ffffff) 100%) !important;
  border-color: var(--carrier-accent, #0aa3e0) !important;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--carrier-accent, #0aa3e0) 22%, transparent);
}
/* Colored top ribbon — always visible */
.shipping-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--carrier-accent, #0aa3e0);
  border-radius: 12px 12px 0 0;
}
.shipping-logo-text {
  position: relative;
  z-index: 1;
  font-family: var(--font) !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
  color: var(--carrier-accent, #0aa3e0) !important;
  line-height: 1 !important;
  transition: transform .3s var(--ease);
}
.shipping-card:hover .shipping-logo-text { transform: scale(1.06); }
.shipping-caption {
  position: relative;
  z-index: 1;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}
.shipping-card[data-carrier="dhl"]    { --carrier-accent: #d40511; }
.shipping-card[data-carrier="fedex"]  { --carrier-accent: #4d148c; }
.shipping-card[data-carrier="ups"]    { --carrier-accent: #7a4a15; }
.shipping-card[data-carrier="aramex"] { --carrier-accent: #d71e28; }

@media (max-width: 1024px) {
  .shipping-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}
@media (max-width: 640px) {
  .shipping-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .shipping-card { padding: 20px 12px 16px !important; min-height: 110px !important; }
  .shipping-logo-text { font-size: 1.2rem !important; }
  .shipping-caption   { font-size: .62rem; }
}

/* ------------------------------------------------------------
   11. NEWS TEASER — back to insight-card layout (smaller)
   ------------------------------------------------------------ */
.section-news-teaser {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}
.section-news-teaser .insights-teaser {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
}
.section-news-teaser .insight-card {
  padding: 20px 20px 22px !important;
}
.section-news-teaser .insight-card h3 {
  font-size: 1rem !important;
  line-height: 1.35 !important;
}
.section-news-teaser .insight-card p {
  font-size: .82rem !important;
  line-height: 1.55 !important;
}

@media (max-width: 1024px) {
  .section-news-teaser .insights-teaser {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}
@media (max-width: 640px) {
  .section-news-teaser .insights-teaser {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* ------------------------------------------------------------
   12. FONT SANITY — smaller, tighter everywhere
   ------------------------------------------------------------ */
body main .section-sub { font-size: .9rem !important; line-height: 1.6 !important; }
body main .lead        { font-size: .98rem !important; line-height: 1.7 !important; }
body main h1 { font-size: clamp(1.55rem, 2.2vw + .8rem, 2.4rem) !important; }
body main h2 { font-size: clamp(1.2rem, 1vw + .9rem, 1.65rem) !important; }
body main h3 { font-size: clamp(.98rem, .3vw + .85rem, 1.1rem) !important; }
body main .section-eyebrow { font-size: .68rem !important; letter-spacing: 1.5px !important; }
body main .btn-lg { padding: 11px 22px !important; font-size: .88rem !important; }




/* ============================================================
   HOMEPAGE REFRESH v4 — Creative compact layouts
   Ticker · standards list · process rail · service strip ·
   region rows · carrier chips
   ============================================================ */

/* ------------------------------------------------------------
   1. TRUST TICKER — navy strip like topbar, scrolling text
   ------------------------------------------------------------ */
.trust-ticker {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #08172e 0%, #0f2652 55%, #08172e 100%);
  border-top: 1px solid rgba(10,163,224,.18);
  border-bottom: 1px solid rgba(10,163,224,.18);
  padding: 12px 0;
  color: #cbd5e1;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 500;
}
/* Fade edges so the ticker doesn't have hard cuts */
.trust-ticker::before,
.trust-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.trust-ticker::before {
  left: 0;
  background: linear-gradient(90deg, #08172e 0%, transparent 100%);
}
.trust-ticker::after {
  right: 0;
  background: linear-gradient(270deg, #08172e 0%, transparent 100%);
}

.trust-ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 42s linear infinite;
  will-change: transform;
}
.trust-ticker:hover .trust-ticker-track {
  animation-play-state: paused;
}

.trust-ticker-group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
}

.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  letter-spacing: .2px;
}
.tick-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 6px rgba(10,163,224,.85);
  flex-shrink: 0;
}
.tick-sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.14);
  margin: 0 4px;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .trust-ticker { padding: 10px 0; font-size: .76rem; }
  .trust-ticker-track { animation-duration: 34s; }
  .trust-ticker-group { gap: 16px; padding-right: 16px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .trust-ticker-track { animation: none !important; }
  .trust-ticker { overflow-x: auto; }
}

/* ------------------------------------------------------------
   2. STANDARDS — compact inline list rows
   ------------------------------------------------------------ */
.section-standards {
  padding: 60px 0;
  background: #ffffff;
}
.standards-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.standard-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background .25s var(--ease), padding .25s var(--ease);
}
.standard-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--std-accent, var(--sky));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s var(--ease);
}
.standard-row:hover {
  background: linear-gradient(90deg, rgba(10,163,224,.04) 0%, transparent 60%);
  padding-left: 16px;
}
.standard-row:hover::before { transform: scaleY(1); }

.standard-row:nth-child(1) { --std-accent: #0aa3e0; }
.standard-row:nth-child(2) { --std-accent: #0d9488; }
.standard-row:nth-child(3) { --std-accent: #f59e0b; }
.standard-row:nth-child(4) { --std-accent: #7c3aed; }

.standard-num {
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--std-accent, var(--sky));
  padding-top: 3px;
}
.standard-body h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}
.standard-body p {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 640px) {
  .section-standards { padding: 45px 0; }
  .standard-row {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 18px 0;
  }
  .standard-body h3 { font-size: .94rem; }
  .standard-body p { font-size: .82rem; }
}

/* ------------------------------------------------------------
   3. PROCESS RAIL — horizontal step diagram
   ------------------------------------------------------------ */
.section-process-rail {
  padding: 60px 0;
  background: #f5f8fc;
}
.process-rail {
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
/* Connecting line through the numbers */
.process-rail::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg,
    var(--sky),
    #0d9488,
    #f59e0b,
    #7c3aed);
  opacity: .35;
  z-index: 0;
}

.process-rail-step {
  position: relative;
  z-index: 1;
  padding: 0 16px;
  text-align: left;
}
.process-rail-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--rail-accent, var(--sky));
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  border: 2px solid var(--rail-accent, var(--sky));
  box-shadow: 0 4px 12px rgba(15,38,82,.08);
  margin-bottom: 18px;
  transition: all .3s var(--ease);
}
.process-rail-step:hover .process-rail-num {
  background: var(--rail-accent, var(--sky));
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--rail-accent, var(--sky)) 35%, transparent);
}
.process-rail-step:nth-child(1) { --rail-accent: #0aa3e0; }
.process-rail-step:nth-child(2) { --rail-accent: #0d9488; }
.process-rail-step:nth-child(3) { --rail-accent: #f59e0b; }
.process-rail-step:nth-child(4) { --rail-accent: #7c3aed; }

.process-rail-step h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px 0;
}
.process-rail-step p {
  font-size: .82rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1024px) {
  .process-rail {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 0;
  }
  .process-rail::before { display: none; }
}
@media (max-width: 640px) {
  .section-process-rail { padding: 45px 0; }
  .process-rail {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
  }
  .process-rail-step { padding: 0; }
  .process-rail-num { width: 42px; height: 42px; margin-bottom: 12px; }
}

/* ------------------------------------------------------------
   4. SERVICE STRIP — compact 3-col with dividers
   ------------------------------------------------------------ */
.section-service-strip {
  padding: 60px 0;
  background: #ffffff;
}
.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.service-strip-item {
  display: block;
  padding: 26px 26px 26px 0;
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: all .3s var(--ease);
}
.service-strip-item + .service-strip-item {
  padding-left: 26px;
  border-left: 1px solid var(--border);
}
.service-strip-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 40px;
  background: var(--srv-accent, var(--sky));
  transition: width .35s var(--ease);
}
.service-strip-item:hover::before {
  width: 100%;
}
.service-strip-item:nth-child(1) { --srv-accent: #0aa3e0; }
.service-strip-item:nth-child(2) { --srv-accent: #0d9488; }
.service-strip-item:nth-child(3) { --srv-accent: #f59e0b; }

.service-strip-num {
  display: block;
  font-family: var(--font);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--srv-accent, var(--sky));
  margin-bottom: 8px;
}
.service-strip-item h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 6px 0;
  letter-spacing: -0.015em;
}
.service-strip-item p {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.service-strip-item:hover h3 { color: var(--srv-accent, var(--sky)); }

@media (max-width: 900px) {
  .service-strip {
    grid-template-columns: 1fr;
    border-top: none;
  }
  .service-strip-item,
  .service-strip-item + .service-strip-item {
    padding: 20px 0;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .service-strip-item::before { top: 0; }
}
@media (max-width: 640px) {
  .section-service-strip { padding: 45px 0; }
}

/* ------------------------------------------------------------
   5. REGIONS — compact inline rows
   ------------------------------------------------------------ */
.section-regions {
  padding: 60px 0;
  background: #f5f8fc;
}
.regions-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.region-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 8px;
  border-bottom: 1px solid var(--border);
  transition: all .25s var(--ease);
  position: relative;
}
.region-row:last-child { border-bottom: none; }

.region-row::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0;
  height: 2px;
  background: var(--region-accent, var(--sky));
  transition: width .35s var(--ease);
  transform: translateY(-50%);
}
.region-row:hover::before { width: 24px; }
.region-row:hover { padding-left: 30px; }

.region-row:nth-child(1) { --region-accent: #f59e0b; }
.region-row:nth-child(2) { --region-accent: #1a3a7a; }
.region-row:nth-child(3) { --region-accent: #e11d48; }

.region-row-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--region-accent, var(--sky));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--ease);
}
.region-row:hover .region-row-icon {
  background: var(--region-accent, var(--sky));
  border-color: var(--region-accent, var(--sky));
  color: #fff;
}
.region-row-name {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  min-width: 90px;
}
.region-row-line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--border-strong) 0,
    var(--border-strong) 4px,
    transparent 4px,
    transparent 8px
  );
  opacity: .6;
}
.region-row-countries {
  font-size: .86rem;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: .2px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .section-regions { padding: 45px 0; }
  .region-row {
    flex-wrap: wrap;
    padding: 14px 6px;
    gap: 10px;
  }
  .region-row:hover { padding-left: 6px; }
  .region-row:hover::before { width: 0; }
  .region-row-line { display: none; }
  .region-row-name { min-width: auto; }
  .region-row-countries {
    flex: 1 0 100%;
    padding-left: 48px;
    font-size: .8rem;
  }
}

/* ------------------------------------------------------------
   6. CARRIER CHIPS — small inline badges
   ------------------------------------------------------------ */
.section-carriers {
  padding: 60px 0;
  background: #ffffff;
}
.carrier-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.carrier-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 40px;
  background: color-mix(in srgb, var(--chip-accent, #0aa3e0) 8%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--chip-accent, #0aa3e0) 30%, #ffffff);
  transition: all .3s var(--ease);
  cursor: default;
}
.carrier-chip:hover {
  background: color-mix(in srgb, var(--chip-accent, #0aa3e0) 14%, #ffffff);
  border-color: var(--chip-accent, #0aa3e0);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--chip-accent, #0aa3e0) 22%, transparent);
}
.carrier-chip strong {
  font-family: var(--font);
  font-size: .94rem;
  font-weight: 800;
  color: var(--chip-accent, #0aa3e0);
  letter-spacing: -.02em;
}
.carrier-chip em {
  font-style: normal;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .3px;
  text-transform: uppercase;
}
.carrier-chip[data-carrier="dhl"]    { --chip-accent: #d40511; }
.carrier-chip[data-carrier="fedex"]  { --chip-accent: #4d148c; }
.carrier-chip[data-carrier="ups"]    { --chip-accent: #7a4a15; }
.carrier-chip[data-carrier="aramex"] { --chip-accent: #d71e28; }

@media (max-width: 640px) {
  .section-carriers { padding: 45px 0; }
  .carrier-chips { gap: 8px; margin-top: 24px; }
  .carrier-chip { padding: 8px 14px; gap: 6px; }
  .carrier-chip strong { font-size: .84rem; }
  .carrier-chip em     { font-size: .66rem; }
}

/* ------------------------------------------------------------
   7. Small global font sanity for the new sections
   ------------------------------------------------------------ */
.section-standards h2,
.section-process-rail h2,
.section-service-strip h2,
.section-regions h2,
.section-carriers h2 {
  font-size: clamp(1.15rem, 1vw + .85rem, 1.55rem);
}




/* ============================================================
   HOMEPAGE FINAL — clean consolidated rules
   Replaces every v5 / v6 / v7 / v8 / v9 block.
   ============================================================ */

/* ------------------------------------------------------------
   1. HERO — tightened typography, text pulled to top
   ------------------------------------------------------------ */
.hero-slide {
  align-items: flex-start !important;
  padding-top: 30px !important;
}
.hero-slide-content {
  padding-top: 20px !important;
  padding-bottom: 40px !important;
}
.hero-eyebrow {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  font-size: .74rem !important;
  padding: 7px 15px !important;
}
.hero-title {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  font-size: clamp(1.65rem, 3.4vw, 2.6rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.022em !important;
}
.hero-sub {
  font-size: .96rem !important;
  line-height: 1.7 !important;
  max-width: 580px !important;
  margin-bottom: 26px !important;
}

/* ------------------------------------------------------------
   2. CATEGORY TILES — bigger title, cleaner spacing
   ------------------------------------------------------------ */
.section-categories-v2 .category-tile h3 {
  font-size: 1.2rem !important;
  line-height: 1.2 !important;
  margin-bottom: 6px !important;
}
.section-categories-v2 .category-tile-num {
  font-size: .72rem !important;
  letter-spacing: 1.6px !important;
  margin-bottom: 8px !important;
}
.section-categories-v2 .category-tile-tagline {
  font-size: .74rem !important;
  letter-spacing: 1.1px !important;
  margin-bottom: 10px !important;
}
.section-categories-v2 .category-tile-cta {
  font-size: .82rem !important;
  font-weight: 700 !important;
}

/* ------------------------------------------------------------
   3. EXPERTISE CARDS — smooth horizontal scroll
   ------------------------------------------------------------ */
.section-expertise .expertise-scroll {
  scroll-behavior: smooth;
  scroll-padding-left: 22px;
}

/* ------------------------------------------------------------
   4. TESTIMONIAL — smaller, tighter
   ------------------------------------------------------------ */
.section-testimonial {
  padding: 48px 0 !important;
}
.testimonial {
  max-width: 640px !important;
  padding: 28px 28px !important;
  border-radius: 12px !important;
}
.testimonial::before {
  font-size: 3.5rem !important;
  top: -4px !important;
  left: 20px !important;
  opacity: .18 !important;
}
.testimonial p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 16px !important;
}
.testimonial footer strong {
  font-size: .88rem !important;
}
.testimonial footer span {
  font-size: .76rem !important;
}

/* ------------------------------------------------------------
   5. INSIGHTS TEASER — aligned grid, full text
   ------------------------------------------------------------ */
.section-insights {
  padding-top: 40px !important;
  padding-bottom: 50px !important;
}
.section-insights .section-head {
  margin-bottom: 22px !important;
}
.section-insights .section-eyebrow {
  font-size: .66rem !important;
  letter-spacing: 1.4px !important;
  margin-bottom: 6px !important;
}
.section-insights h2 {
  font-size: clamp(1.15rem, 1vw + .85rem, 1.5rem) !important;
  margin-bottom: 4px !important;
}

.section-insights .insights-teaser {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-rows: 1fr !important;
  align-items: stretch !important;
  gap: 16px !important;
}

.section-insights .insight-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 18px 18px 20px !important;
  border-radius: 12px !important;
  background: #fff;
  box-sizing: border-box !important;
}

/* Tag — same top for every card */
.section-insights .insight-card .insight-tag,
.section-insights .insight-card--insight .insight-tag {
  align-self: flex-start !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 0 12px 0 !important;
  padding: 5px 12px 5px 10px !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .9px !important;
  line-height: 1.2 !important;
  border-radius: 20px !important;
}

/* Title — no clamp, no truncation, reserve 2-line height */
.section-insights .insight-card h3 {
  display: block !important;
  -webkit-line-clamp: none !important;
  -webkit-box-orient: unset !important;
  -webkit-box-pack: unset !important;
  min-height: 2.7em !important;
  max-height: none !important;
  margin: 0 0 10px 0 !important;
  overflow: visible !important;
  font-size: .96rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

/* Excerpt — no clamp, reserve ~3-line height */
.section-insights .insight-card p {
  display: block !important;
  -webkit-line-clamp: none !important;
  -webkit-box-orient: unset !important;
  -webkit-box-pack: unset !important;
  min-height: 4.2em !important;
  max-height: none !important;
  margin: 0 0 14px 0 !important;
  overflow: visible !important;
  font-size: .82rem !important;
  line-height: 1.55 !important;
  color: var(--text-soft) !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

/* Read more — always at the bottom */
.section-insights .insight-card .read-more,
.section-insights .insight-card--insight .read-more {
  margin-top: auto !important;
  padding-top: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
}

/* ------------------------------------------------------------
   6. NEWS TEASER — same layout, bigger tag
   ------------------------------------------------------------ */
.section-news-teaser {
  padding-top: 40px !important;
  padding-bottom: 50px !important;
}
.section-news-teaser .section-head {
  margin-bottom: 22px !important;
}
.section-news-teaser h2 {
  font-size: clamp(1.15rem, 1vw + .85rem, 1.5rem) !important;
}

.section-news-teaser .insights-teaser {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-rows: 1fr !important;
  align-items: stretch !important;
  gap: 16px !important;
}

.section-news-teaser .insight-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 18px 18px 20px !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
}

.section-news-teaser .insight-card .insight-tag {
  align-self: flex-start !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .9px !important;
  padding: 5px 13px 5px 11px !important;
  line-height: 1.25 !important;
  margin: 0 0 14px 0 !important;
  text-transform: uppercase !important;
  border-radius: 20px !important;
}

.section-news-teaser .insight-card h3 {
  display: block !important;
  -webkit-line-clamp: none !important;
  -webkit-box-orient: unset !important;
  min-height: 2.7em !important;
  max-height: none !important;
  margin: 0 0 10px 0 !important;
  overflow: visible !important;
  font-size: .96rem !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

.section-news-teaser .insight-card p {
  display: block !important;
  -webkit-line-clamp: none !important;
  -webkit-box-orient: unset !important;
  min-height: 4.2em !important;
  max-height: none !important;
  overflow: visible !important;
  font-size: .82rem !important;
  line-height: 1.55 !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

.section-news-teaser .insight-card .read-more {
  margin-top: auto !important;
  padding-top: 14px !important;
  font-size: .78rem !important;
}

/* ------------------------------------------------------------
   7. RESPONSIVE — tablet & mobile
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-slide { padding-top: 24px !important; }
  .hero-slide-content {
    padding-top: 16px !important;
    padding-bottom: 32px !important;
  }
  .section-insights .insights-teaser,
  .section-news-teaser .insights-teaser {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 640px) {
  .hero-slide { padding-top: 20px !important; }
  .hero-slide-content {
    padding-top: 14px !important;
    padding-bottom: 24px !important;
  }
  .hero-title { font-size: 1.5rem !important; }
  .hero-sub   { font-size: .9rem !important; }
  .hero-eyebrow { font-size: .68rem !important; padding: 6px 12px !important; }
  .section-categories-v2 .category-tile h3 { font-size: 1.05rem !important; }
  .section-expertise .carousel-controls { display: none !important; }
  .section-testimonial { padding: 40px 0 !important; }
  .testimonial {
    padding: 22px 20px !important;
    max-width: 100% !important;
  }
  .testimonial::before {
    font-size: 3rem !important;
    top: -2px !important;
    left: 14px !important;
  }
  .testimonial p { font-size: .94rem !important; }

  .section-insights,
  .section-news-teaser {
    padding-top: 32px !important;
    padding-bottom: 40px !important;
  }
  .section-insights .insights-teaser,
  .section-news-teaser .insights-teaser {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .section-insights .insight-card,
  .section-news-teaser .insight-card {
    padding: 16px 16px 18px !important;
  }
  .section-insights .insight-card h3,
  .section-news-teaser .insight-card h3 {
    min-height: 0 !important;
    font-size: .92rem !important;
  }
  .section-insights .insight-card p,
  .section-news-teaser .insight-card p {
    min-height: 0 !important;
    font-size: .8rem !important;
  }
  .section-news-teaser .insight-card .insight-tag {
    font-size: .72rem !important;
    padding: 4px 11px 4px 9px !important;
  }
}



/* ============================================================
   HOMEPAGE — INSIGHTS EDITORIAL LIST
   Magazine-style horizontal rows — replaces the boxed cards.
   ============================================================ */

.section-insights-editorial {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

.section-insights-editorial .section-head {
  margin-bottom: 28px;
}

.section-insights-editorial h2 {
  font-size: clamp(1.2rem, 1.1vw + .85rem, 1.55rem) !important;
}

/* ---------- The list ---------- */
.editorial-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.editorial-row {
  border-bottom: 1px solid var(--border);
  transition: background .25s var(--ease);
}
.editorial-row:last-child { border-bottom: 1px solid var(--border); }

.editorial-row:hover {
  background: linear-gradient(90deg, rgba(10,163,224,.04) 0%, transparent 70%);
}

/* ---------- The link wrapper ---------- */
.editorial-link {
  display: grid;
  grid-template-columns: 140px 1fr 40px;
  align-items: start;
  gap: 32px;
  padding: 26px 8px;
  color: inherit;
  text-decoration: none;
  transition: padding-left .25s var(--ease);
  position: relative;
}
.editorial-row:hover .editorial-link {
  padding-left: 20px;
}

/* Accent line that grows on hover */
.editorial-link::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 2px;
  background: var(--sky);
  transform: translateY(-50%);
  transition: width .3s var(--ease);
}
.editorial-row:hover .editorial-link::before {
  width: 12px;
}

/* ---------- Left column — category label ---------- */
.editorial-cat {
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--sky);
  padding-top: 4px;
  white-space: nowrap;
}

/* ---------- Middle column — title + excerpt ---------- */
.editorial-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.editorial-title {
  font-family: var(--font-serif);
  font-size: clamp(1rem, .7vw + .85rem, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
  line-height: 1.3;
  transition: color .25s var(--ease);
}
.editorial-row:hover .editorial-title {
  color: var(--sky);
}

.editorial-excerpt {
  font-family: var(--font);
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 720px;
}

/* ---------- Right column — arrow ---------- */
.editorial-arrow {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-ice);
  color: var(--navy);
  transition: all .3s var(--ease);
  flex-shrink: 0;
}
.editorial-row:hover .editorial-arrow {
  background: var(--sky);
  color: #fff;
  transform: translateX(6px);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .editorial-link {
    grid-template-columns: 110px 1fr 36px;
    gap: 20px;
    padding: 22px 8px;
  }
  .editorial-cat {
    font-size: .64rem;
    letter-spacing: 1.4px;
  }
}

@media (max-width: 640px) {
  .section-insights-editorial {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
  }
  .editorial-link {
    grid-template-columns: 1fr 32px;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    padding: 20px 4px;
  }
  .editorial-cat {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    font-size: .62rem;
    padding-top: 0;
    margin-bottom: 2px;
  }
  .editorial-body {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    gap: 4px;
  }
  .editorial-arrow {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    width: 32px;
    height: 32px;
    align-self: center;
  }
  .editorial-title {
    font-size: .95rem;
    line-height: 1.28;
  }
  .editorial-excerpt {
    font-size: .8rem;
    line-height: 1.5;
  }
}









/* ------------------------------------------------------------
   SAFETY — ensure nothing above the pills clips them
   ------------------------------------------------------------ */

/* The sticky bar's parent must allow overflow to be visible */
.filter-pills-bar,
.filter-pills-bar > .container,
.filter-pills-inner {
  overflow: visible !important;
}
.filter-pills-inner {
  overflow-x: auto !important;    /* override: horizontal scroll on the scroller only */
  overflow-y: visible !important; /* vertical hover lift visible */
}

/* If the shop page wraps the pills in a container, ensure it doesn't clip */
.shop-page,
.shop-page > .container {
  overflow: visible !important;
}









/*Saturday Today----------------------*/





/* ============================================================
   CONTACT PAGE — Hero with centered watermark
   ============================================================ */

.page-hero-contact {
  position: relative;
  display: block;
  padding: 40px 22px 20px !important;
  margin-top: -60px !important;
  overflow: hidden;
  isolation: isolate;
  min-height: 0;
}

/* ---- Centered watermark logo, soft radial fade ---- */
.contact-hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(420px, 42vw, 680px);
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.10;
  filter: grayscale(1) contrast(1.05);
  user-select: none;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 40%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 40%, transparent 92%);
}

.contact-hero-watermark img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Content column ---- */
.page-hero-contact .page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.page-hero-contact .page-hero-content::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: #0aa3e0;
  border-radius: 2px;
  margin-bottom: 18px;
}

.page-hero-contact h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 20px !important;
  color: #0a1c33 !important;
}

.page-hero-contact .lead {
  font-size: 1.1rem !important;
  line-height: 1.75 !important;
  color: #334155 !important;
  max-width: 540px;
}

/* ---- Meta chips ---- */
.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid #dde5ee;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 3px rgba(15, 38, 82, 0.03);
}

.hero-meta-item svg {
  color: #0aa3e0;
  flex-shrink: 0;
}

/* ---- Contact cards ---- */
.contact-layout-v2 {
  gap: 44px !important;
  padding-top: 0 !important;
}

.contact-cards { gap: 16px !important; }

.contact-card {
  padding: 22px 24px !important;
  border-radius: 12px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(.2,.8,.2,1) !important;
}

.contact-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #0aa3e0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1);
}

.contact-card:hover {
  transform: translateY(-3px) !important;
  border-color: #0aa3e0 !important;
  box-shadow: 0 12px 28px rgba(15, 38, 82, 0.09) !important;
}

.contact-card:hover::before { transform: scaleY(1); }

.contact-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 10px !important;
  transition: all 0.3s cubic-bezier(.2,.8,.2,1) !important;
}

.contact-card:hover .contact-icon {
  background: #0aa3e0 !important;
  color: #fff !important;
  transform: rotate(-4deg) scale(1.05);
}

.contact-card h4 {
  font-size: 0.82rem !important;
  letter-spacing: 1px !important;
  color: #64748b !important;
  font-weight: 700 !important;
  margin-bottom: 5px !important;
  text-transform: uppercase;
}

.contact-card p {
  font-size: 1.02rem !important;
  font-weight: 600 !important;
  color: #0f2652 !important;
  margin: 0 0 4px !important;
  line-height: 1.4;
}

.contact-card span {
  font-size: 0.86rem !important;
  color: #475569 !important;
  font-weight: 500;
}

/* ---- Form & tables ---- */
.contact-form-v2 { padding: 36px !important; border-radius: 14px !important; }
.contact-form-v2 h2 {
  font-size: 1.5rem !important;
  margin-bottom: 24px !important;
  color: #0f2652 !important;
}

.inquiry-form label {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  font-size: 0.98rem !important;
  padding: 12px 14px !important;
  color: #0a1c33 !important;
  border-color: #cbd5e1 !important;
}

.sla-table,
.hours-table { font-size: 0.94rem !important; }

.sla-table td,
.hours-table td,
.hours-table th {
  padding: 14px 18px !important;
  color: #334155 !important;
  font-weight: 500;
}

.hours-table th {
  color: #0f2652 !important;
  font-weight: 600 !important;
}

/* ---- Contact page responsive ---- */
@media (max-width: 1024px) {
  .page-hero-contact {
    padding: 30px 22px 15px !important;
    margin-top: -50px !important;
  }
  .contact-hero-watermark {
    width: 400px;
    opacity: 0.08;
  }
  .page-hero-contact h1 {
    font-size: clamp(1.85rem, 4.4vw, 2.5rem) !important;
  }
}

@media (max-width: 640px) {
  .page-hero-contact {
    padding: 22px 16px 15px !important;
    margin-top: -40px !important;
  }
  .contact-hero-watermark {
    width: 320px;
    opacity: 0.07;
  }
  .page-hero-contact h1 { font-size: 2rem !important; }
  .page-hero-contact .lead { font-size: 1rem !important; }

  .hero-meta-item {
    font-size: 0.76rem;
    padding: 5px 10px;
  }

  .contact-card { padding: 18px 20px !important; }
  .contact-card p { font-size: 0.96rem !important; }
  .contact-card span { font-size: 0.82rem !important; }
  .contact-icon { width: 42px !important; height: 42px !important; }

  .contact-form-v2 { padding: 24px 20px !important; }
  .contact-form-v2 h2 { font-size: 1.25rem !important; }
}

@media (max-width: 380px) {
  .page-hero-contact {
    padding: 18px 14px 12px !important;
    margin-top: -34px !important;
  }
  .contact-hero-watermark {
    width: 260px;
    opacity: 0.06;
  }
  .page-hero-contact h1 { font-size: 1.7rem !important; }
}



/* ============================================================
   GMG — OPHTHALMOLOGY BACKGROUND + GLOBAL WATERMARK
   ============================================================ */

/* ---------- CONTAINER ---------- */
.gmg-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}

/* ---------- 1. BASE GRADIENT ---------- */
.gmg-bg-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%,  rgba(10,163,224,.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 90% 100%, rgba(26,58,122,.10) 0%, transparent 60%),
    linear-gradient(180deg, #fafcfe 0%, #f1f7fc 100%);
}

/* ---------- 2. IRIS RINGS ---------- */
.gmg-bg-iris {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(140vw, 140vh);
  height: min(140vw, 140vh);
  transform: translate(-50%, -50%);
  opacity: .55;
  animation: gmgIrisDrift 60s ease-in-out infinite alternate;
}

.gmg-iris-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(10,163,224,.22);
  transform: translate(-50%, -50%);
  will-change: transform;
}
.gmg-iris-ring-1 {
  width: 30%; height: 30%;
  border-color: rgba(10,163,224,.30);
  animation: gmgIrisSpin 45s linear infinite;
}
.gmg-iris-ring-2 {
  width: 50%; height: 50%;
  border-style: dashed;
  border-color: rgba(10,163,224,.20);
  animation: gmgIrisSpin 80s linear infinite reverse;
}
.gmg-iris-ring-3 {
  width: 72%; height: 72%;
  border-color: rgba(26,58,122,.14);
  animation: gmgIrisSpin 120s linear infinite;
}
.gmg-iris-ring-4 {
  width: 95%; height: 95%;
  border-style: dashed;
  border-color: rgba(26,58,122,.10);
  animation: gmgIrisSpin 160s linear infinite reverse;
}

.gmg-iris-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 12%;
  height: 12%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%,
    rgba(10,163,224,.35) 0%,
    rgba(10,163,224,.15) 40%,
    transparent 75%);
  filter: blur(4px);
  animation: gmgPupilPulse 8s ease-in-out infinite;
}

/* ---------- 3. RETINA GRID ---------- */
.gmg-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,163,224,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,163,224,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 25%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 25%, transparent 90%);
  opacity: .9;
  animation: gmgGridPan 90s linear infinite;
}

/* ---------- 4. LIGHT RAYS (slit-lamp beams) ---------- */
.gmg-bg-rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.gmg-ray {
  position: absolute;
  top: -20%;
  width: 2px;
  height: 140%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(10,163,224,.22) 40%,
    rgba(10,163,224,.05) 60%,
    transparent 100%);
  transform-origin: center;
  filter: blur(.5px);
}
.gmg-ray-1 {
  left: 22%;
  transform: rotate(14deg);
  animation: gmgRaySway1 18s ease-in-out infinite alternate;
}
.gmg-ray-2 {
  left: 50%;
  width: 1px;
  opacity: .7;
  transform: rotate(-2deg);
  animation: gmgRaySway2 24s ease-in-out infinite alternate;
}
.gmg-ray-3 {
  left: 78%;
  transform: rotate(-14deg);
  animation: gmgRaySway1 22s ease-in-out infinite alternate-reverse;
}

/* ---------- 5. OCT SCAN LINE ---------- */
.gmg-bg-scan {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 25vh;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(10,163,224,.06) 45%,
    rgba(10,163,224,.10) 50%,
    rgba(10,163,224,.06) 55%,
    transparent 100%);
  animation: gmgScanSweep 14s ease-in-out infinite;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---------- 6. GLOBAL WATERMARK ---------- */
.gmg-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(420px, 55vw, 900px);
  height: auto;
  opacity: .045;
  filter: grayscale(1) contrast(1.05);
  mask-image: radial-gradient(ellipse 65% 60% at 50% 50%, #000 40%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 50% 50%, #000 40%, transparent 92%);
  user-select: none;
  animation: gmgWatermarkBreathe 14s ease-in-out infinite;
}
.gmg-watermark img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- KEYFRAMES ---------- */
@keyframes gmgIrisSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes gmgIrisDrift {
  0%   { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(1.06); }
}
@keyframes gmgPupilPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: .55; }
  50%      { transform: translate(-50%, -50%) scale(1.15); opacity: .9; }
}
@keyframes gmgGridPan {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 64px 64px, 64px 64px; }
}
@keyframes gmgRaySway1 {
  0%   { transform: rotate(14deg)  translateX(0); opacity: .55; }
  100% { transform: rotate(18deg)  translateX(20px); opacity: .9; }
}
@keyframes gmgRaySway2 {
  0%   { transform: rotate(-2deg)  translateX(0); opacity: .4; }
  100% { transform: rotate(2deg)   translateX(-16px); opacity: .8; }
}
@keyframes gmgScanSweep {
  0%   { top: -30%; }
  100% { top: 130%; }
}
@keyframes gmgWatermarkBreathe {
  0%, 100% { opacity: .045; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: .075; transform: translate(-50%, -50%) scale(1.02); }
}

/* ---------- CONTENT ABOVE MOTIF ---------- */
body > * {
  position: relative;
  z-index: 1;
}
.gmg-bg {
  z-index: 0;
}

/* ---------- PAGE-SPECIFIC OVERRIDES ---------- */
body.has-hero-watermark .gmg-watermark { display: none; }
body.has-dark-hero .gmg-bg-iris,
body.has-dark-hero .gmg-bg-rays { opacity: .25; }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .gmg-bg-iris,
  .gmg-iris-ring,
  .gmg-iris-core,
  .gmg-bg-grid,
  .gmg-ray,
  .gmg-bg-scan,
  .gmg-watermark {
    animation: none !important;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .gmg-bg-iris { width: 160vw; height: 160vw; opacity: .45; }
  .gmg-watermark { width: 78vw; opacity: .04; }
  .gmg-bg-scan { height: 18vh; }
}

@media (max-width: 640px) {
  .gmg-bg-iris { width: 200vw; height: 200vw; opacity: .35; }
  .gmg-bg-grid { background-size: 42px 42px; opacity: .75; }
  .gmg-bg-rays { display: none; }
  .gmg-bg-scan { height: 14vh; animation-duration: 20s; }
  .gmg-watermark { width: 92vw; opacity: .035; }
  .gmg-iris-ring-4 { display: none; }
}

/* ============================================================
   END — Ophthalmology Background + Global Watermark
   ============================================================ */


/* ============================================================
   CONTACT HERO — VERTICAL BRAND MARK (right side)
   ============================================================ */

.contact-hero-mark {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

/* Top thin accent line */
.contact-hero-mark-line {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0aa3e0);
  border-radius: 2px;
}

/* The vertical "Global Ophthalmic Hub" text */
.contact-hero-mark-text {
  display: block;
  font-family: 'Fraunces', 'Instrument Serif', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #0f2652;
  text-align: right;
  white-space: nowrap;
  opacity: 0.85;
}

/* "Est. 2017" */
.contact-hero-mark-year {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #0aa3e0;
  padding: 5px 10px;
  background: rgba(10,163,224,.10);
  border: 1px solid rgba(10,163,224,.35);
  border-radius: 20px;
  white-space: nowrap;
}

/* Hide on mobile / tablet (too crowded) */
@media (max-width: 1024px) {
  .contact-hero-mark { display: none; }
}



/* ============================================================
   FINAL PADDING / SPACING CLEANUP
   Removes excessive whitespace accumulated from repeated fixes
   ============================================================ */

/* --- Hero: remove excess bottom padding --- */
.hero-slider {
  padding-bottom: 0 !important;
}

/* --- Hero search bar section: trim over-padding --- */
.hero-search-bar-section {
  padding: 40px 22px 40px !important;
}

/* --- Global section padding: standardize --- */
.section-categories-v2,
.section-expertise,
.section-certifications,
.section-services-tiles,
.section-process-rail,
.section-service-strip,
.section-regions,
.section-carriers,
.section-standards,
.section-news-teaser,
.section-insights-editorial {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

/* --- Page hero: tighter --- */
.page-hero {
  padding: 40px 22px 20px !important;
}

/* --- Contact layout: tighter top --- */
.contact-layout-v2 {
  padding-top: 12px !important;
  padding-bottom: 48px !important;
}

/* --- Contact hero: fix the negative margin that overlaps --- */
.page-hero-contact {
  margin-top: 0 !important;
  padding: 32px 22px 20px !important;
}

/* --- Footer: tighter --- */
.site-footer {
  margin-top: 40px !important;
  padding: 48px 0 24px !important;
}

/* --- Section heads --- */
.section-head {
  margin-bottom: 24px !important;
}

/* --- Container top space after header --- */
main > section:first-child,
main > article:first-child,
main > .container:first-child {
  margin-top: 0 !important;
}

/* --- Breadcrumbs tighter --- */
.breadcrumbs {
  padding: 12px 0 !important;
}

/* --- Shop pages: tighter --- */
.shop-hero,
.shop-header-v2 {
  padding: 24px 22px 8px !important;
}

.shop-layout-v2 {
  padding: 16px 22px 56px !important;
}

/* --- Product detail --- */
.product-detail {
  padding: 24px 22px 32px !important;
}

/* --- Article / news --- */
.news-hero {
  padding: 56px 0 48px !important;
  margin-bottom: 32px !important;
}

.news-single {
  padding: 32px 0 48px !important;
}

/* --- Mobile: even tighter --- */
@media (max-width: 640px) {
  .hero-search-bar-section {
    padding: 32px 16px 32px !important;
  }

  .section-categories-v2,
  .section-expertise,
  .section-certifications,
  .section-services-tiles,
  .section-process-rail,
  .section-service-strip,
  .section-regions,
  .section-carriers,
  .section-standards,
  .section-news-teaser,
  .section-insights-editorial {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .page-hero-contact {
    padding: 24px 16px 16px !important;
    margin-top: 0 !important;
  }

  .contact-layout-v2 {
    padding-top: 8px !important;
    padding-bottom: 32px !important;
  }

  .site-footer {
    padding: 36px 0 20px !important;
    margin-top: 32px !important;
  }

  .news-hero {
    padding: 40px 0 32px !important;
    margin-bottom: 20px !important;
  }
}


/* ============================================================
   CONTACT HERO — VERTICAL BRAND MARK
   ============================================================ */

.contact-hero-mark {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.contact-hero-mark-line {
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0aa3e0);
  border-radius: 2px;
}

.contact-hero-mark-text {
  display: block;
  font-family: 'Fraunces', 'Instrument Serif', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #0f2652;
  text-align: right;
  white-space: nowrap;
  opacity: 0.85;
}

.contact-hero-mark-year {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #0aa3e0;
  padding: 5px 10px;
  background: rgba(10,163,224,.10);
  border: 1px solid rgba(10,163,224,.35);
  border-radius: 20px;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .contact-hero-mark { display: none; }
}






/* ============================================================
   PROFESSIONAL HERO LOGO REDESIGN — About + Service (FINAL)
   Replaces all previous logo-redesign blocks.
   Includes: bigger logos, credential cards, responsive rules.
   ============================================================ */

/* ------------------------------------------------------------
   ABOUT PAGE — Large brand credential card
   ------------------------------------------------------------ */

.page-hero-about {
  padding: 48px 22px 56px !important;
  position: relative;
  overflow: hidden;
}

.page-hero-about .about-hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-hero-text h1 { margin-bottom: 18px; }

/* ---------- Credential card wrapper ---------- */
.about-hero-credential {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  padding-left: 24px;
}

.about-credential-line {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0aa3e0);
  border-radius: 3px;
  margin-right: 6px;
}

.about-credential-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 30px 28px 26px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow:
    0 16px 44px rgba(15,38,82,.10),
    0 3px 8px rgba(15,38,82,.04),
    inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  width: 100%;
  max-width: 440px;
}
.about-credential-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 56px rgba(15,38,82,.14),
    0 5px 12px rgba(15,38,82,.06);
}

/* ---------- Big logo tile ---------- */
.about-credential-logo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0f6fb 0%, #e6f4f3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid rgba(10,163,224,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 4px 12px rgba(10,163,224,.06);
}
.about-credential-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-credential-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.about-credential-label {
  font-family: 'Fraunces', 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: #0f2652;
  line-height: 1.2;
}
.about-credential-year {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.3;
}

/* ---------- Credential chips row ---------- */
.about-credential-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 440px;
  width: 100%;
}
.about-credential-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 12px;
  background: rgba(10,163,224,.08);
  border: 1px solid rgba(10,163,224,.22);
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: #0787bd;
  transition: all .25s var(--ease);
}
.about-credential-chip svg {
  color: #0aa3e0;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.about-credential-chip:hover {
  background: rgba(10,163,224,.16);
  border-color: #0aa3e0;
  color: #0aa3e0;
  transform: translateY(-1px);
}

/* Hide old seal completely on About */
.page-hero-about .about-hero-seal,
.page-hero-about .about-hero-seal-ring,
.page-hero-about .about-hero-seal-inner,
.page-hero-about .about-hero-seal-caption {
  display: none !important;
}

/* ------------------------------------------------------------
   SERVICE PAGE — Prominent certification badge
   ------------------------------------------------------------ */

.page-hero-service {
  display: block !important;
  padding: 44px 22px 36px !important;
  max-width: 960px !important;
  margin: 0 auto !important;
}

.page-hero-service .page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 18px 28px 18px 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow:
    0 10px 30px rgba(15,38,82,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
  margin-bottom: 28px;
  transition: all .3s var(--ease);
}
.service-hero-badge:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 40px rgba(15,38,82,.12),
    inset 0 1px 0 rgba(255,255,255,.9);
  border-color: rgba(10,163,224,.35);
}

/* ---------- Big service logo tile ---------- */
.service-hero-badge-logo {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0f6fb 0%, #e6f4f3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1px solid rgba(10,163,224,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.service-hero-badge-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-hero-badge-divider {
  display: block;
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

.service-hero-badge-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.2;
}
.service-hero-badge-body strong {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #0f2652;
}
.service-hero-badge-body small {
  font-family: 'Instrument Serif', 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .01em;
  color: #64748b;
}

/* Hide old seal completely on Service */
.page-hero-service .page-hero-seal,
.page-hero-service .page-hero-seal-ring,
.page-hero-service .page-hero-seal-tag {
  display: none !important;
}

/* ------------------------------------------------------------
   RESPONSIVE — About + Service heroes
   ------------------------------------------------------------ */

/* Tablet */
@media (max-width: 1024px) {
  .page-hero-about {
    padding: 40px 22px 44px !important;
  }
  .page-hero-about .about-hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-hero-credential {
    align-items: flex-start;
    padding-left: 0;
    max-width: 100%;
  }
  .about-credential-line { margin-right: 0; }
  .about-credential-card {
    max-width: 560px;
    width: 100%;
  }
  .about-credential-chips {
    justify-content: flex-start;
    max-width: 560px;
  }

  .page-hero-service {
    padding: 36px 22px 30px !important;
  }
  .service-hero-badge {
    padding: 16px 24px 16px 16px;
    gap: 18px;
  }
  .service-hero-badge-logo {
    width: 84px;
    height: 84px;
    padding: 12px;
  }
  .service-hero-badge-divider { height: 42px; }
}

/* Mobile */
@media (max-width: 640px) {
  .page-hero-about {
    padding: 32px 16px 32px !important;
  }
  .about-credential-card {
    padding: 22px 22px 22px 20px;
    gap: 18px;
    border-radius: 18px;
    max-width: 100%;
  }
  .about-credential-logo {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    padding: 14px;
  }
  .about-credential-label { font-size: 1.1rem; }
  .about-credential-year  { font-size: .7rem; letter-spacing: 1.2px; }
  .about-credential-chip {
    font-size: .7rem;
    padding: 5px 11px 5px 9px;
  }

  .page-hero-service {
    padding: 28px 16px 24px !important;
  }
  .service-hero-badge {
    width: 100%;
    max-width: 100%;
    padding: 16px 20px 16px 16px;
    gap: 16px;
    border-radius: 20px;
    flex-wrap: wrap;
  }
  .service-hero-badge-logo {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    padding: 10px;
  }
  .service-hero-badge-divider { height: 38px; }
  .service-hero-badge-body strong { font-size: .92rem; }
  .service-hero-badge-body small  { font-size: .88rem; }
}

/* Very small phones */
@media (max-width: 420px) {
  .about-credential-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .about-credential-logo {
    width: 100%;
    height: 140px;
    padding: 20px;
  }

  .service-hero-badge {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
  .service-hero-badge-logo {
    width: 100%;
    height: 120px;
    padding: 18px;
  }
  .service-hero-badge-divider {
    width: 100%;
    height: 1px;
  }
}



/* Hide breadcrumbs everywhere */
.breadcrumbs {
  display: none !important;
}




/* ============================================================
   SITE FOOTER — FINAL (clickable logo, flexible layout)
   ============================================================ */

.site-footer {
  background: var(--navy-deep);
  color: #94a3b8;
  padding: 48px 0 24px;
  margin-top: 40px;
  font-size: .88rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
}

/* ---------- Grid ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  position: relative;
  z-index: 1;
}

/* ---------- Brand column ---------- */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ---------- Clickable logo wrap ---------- */
.footer-brand-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 14px;
  background: transparent !important;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
  transition: transform .35s var(--ease);
}

.footer-brand-logo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(10,163,224,.35);
  border-radius: 12px;
  transition: border-color .3s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}

.footer-brand-logo-wrap::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(10,163,224,.18);
  border-radius: 8px;
  pointer-events: none;
  animation: footerSealSpin 60s linear infinite;
}

@keyframes footerSealSpin {
  0%   { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

.footer-brand-logo-wrap:hover {
  transform: translateY(-2px);
}

.footer-brand-logo-wrap:hover .footer-logo {
  opacity: 1;
  transform: scale(1.06);
}

.footer-brand-logo-wrap:hover::before {
  border-color: var(--sky);
  transform: scale(1.03);
}

.footer-logo {
  height: 84px;
  width: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: none;
  background: transparent !important;
  opacity: .95;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}

/* ---------- Brand text ---------- */
.footer-tagline {
  color: #94a3b8;
  font-size: .88rem;
  margin: 0 0 12px 0;
  line-height: 1.65;
  max-width: 380px;
}

.footer-note {
  color: #64748b;
  font-size: .82rem;
  line-height: 1.65;
  margin: 0 0 18px 0;
  max-width: 380px;
}

/* ---------- Social icons ---------- */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--silver);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--ease);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--sky);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- Column headings ---------- */
.site-footer h4 {
  color: #fff;
  font-family: var(--font);
  font-size: .78rem;
  margin: 0 0 14px 0;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- Column links ---------- */
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 8px;
}

.site-footer ul a {
  color: #94a3b8;
  font-size: .86rem;
  text-decoration: none;
  transition: color .22s var(--ease);
}

.site-footer ul a:hover {
  color: var(--sky);
}

/* ---------- Contact list ---------- */
.contact-list li {
  font-size: .82rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-list strong {
  display: block;
  color: #e2e8f0;
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 3px;
}

.contact-list a {
  color: var(--silver);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--sky);
}

/* ---------- Legal bar ---------- */
.footer-legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #1e293b;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: .78rem;
  color: #64748b;
  position: relative;
  z-index: 1;
}

.footer-legal p {
  margin: 0;
  color: #64748b;
}

.footer-legal-links {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color .22s var(--ease);
}

.footer-legal-links a:hover {
  color: var(--sky);
}

.footer-legal-links span {
  color: #334155;
}

.footer-disclaimer {
  width: 100%;
  font-size: .74rem;
  color: #475569;
  margin-top: 8px !important;
  line-height: 1.65;
}

/* ============================================================
   FOOTER RESPONSIVE
   ============================================================ */

/* Tablet — 2 columns */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
  }
}

/* Mobile — single column, stacked */
@media (max-width: 640px) {
  .site-footer {
    padding: 36px 0 20px;
    margin-top: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand-logo-wrap {
    padding: 10px;
    margin-bottom: 16px;
  }

  .footer-logo {
    height: 68px;
  }

  .footer-tagline,
  .footer-note {
    max-width: 100%;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    margin-top: 32px;
  }

  .footer-legal-links {
    flex-wrap: wrap;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .footer-logo {
    height: 60px;
  }

  .footer-brand-logo-wrap {
    padding: 8px;
  }

  .footer-social {
    gap: 8px;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
  }
}

















/* ============================================================
   GMG MASTER CSS FIX — Paste at the very END of style.css
   Authoritative overrides for:
     1. Filter sidebar (no more blur, correct drawer on mobile)
     2. Topbar animation speed (scales with viewport)
     3. Navbar (centered, elegant, fluid shrinking)
   ============================================================ */


/* ============================================================
   1. FILTER SIDEBAR + BACKDROP — FIXED AT ALL WIDTHS
   ============================================================ */

/* Backdrop is INVISIBLE by default — every screen size */
.filters-backdrop {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: fixed !important;
  inset: 0 !important;
  background: rgba(8, 23, 46, 0.55) !important;
  backdrop-filter: blur(2px) !important;
  -webkit-backdrop-filter: blur(2px) !important;
  z-index: 199 !important;
  transition: opacity .3s ease, visibility .3s ease !important;
}

/* ---------- DESKTOP (≥ 961px): static sidebar, NO backdrop ---------- */
@media (min-width: 961px) {

  /* Sidebar sits inside the grid, sticky, no drawer styling */
  body .filter-sidebar,
  body.filters-open .filter-sidebar {
    position: sticky !important;
    top: calc(var(--total-top) + 40px) !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - var(--total-top) - 80px) !important;
    padding: 22px !important;
    margin: 0 !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: none !important;
    overflow-y: auto !important;
    z-index: 1 !important;
    transition: none !important;
    background: #fff !important;
  }

  /* Backdrop is FORCED off on desktop */
  body .filters-backdrop,
  body.filters-open .filters-backdrop {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Body scroll is never locked on desktop */
  body.filters-open {
    overflow: auto !important;
    height: auto !important;
  }

  /* Hide mobile-only controls */
  body .filter-close-mobile,
  body.filters-open .filter-close-mobile,
  body .filter-open-mobile {
    display: none !important;
  }

  /* Two-column layout: sidebar on the left, results on the right */
  body .shop-layout-v2 {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 32px !important;
    align-items: start !important;
    padding: 24px 22px 70px !important;
  }
  body .shop-results {
    grid-column: 2 !important;
    min-width: 0 !important;
  }
}

/* ---------- MOBILE & TABLET (≤ 960px): proper drawer ---------- */
@media (max-width: 960px) {

  /* Backdrop only shows when drawer is open */
  .filters-backdrop {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  body.filters-open .filters-backdrop {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Sidebar: slides in from the left, drawer mode */
  .filter-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: auto !important;
    width: 340px !important;
    max-width: 88vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    padding: 70px 22px 60px !important;
    margin: 0 !important;
    border: none !important;
    border-right: 1px solid var(--border) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    transform: translateX(-100%) !important;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    z-index: 300 !important;
  }
  body.filters-open .filter-sidebar {
    transform: translateX(0) !important;
    box-shadow: 4px 0 24px rgba(8, 23, 46, 0.25) !important;
  }

  /* Lock body scroll while drawer is open */
  body.filters-open {
    overflow: hidden !important;
    height: 100vh !important;
  }

  /* X close button: shown only when drawer is open */
  .filter-close-mobile {
    display: none !important;
  }
  body.filters-open .filter-close-mobile {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    top: 14px !important;
    left: 288px !important;
    width: 40px !important;
    height: 40px !important;
    background: #0f2652 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    z-index: 400 !important;
    box-shadow: 0 4px 12px rgba(15, 38, 82, 0.25) !important;
    transition: background .18s ease !important;
  }
  body.filters-open .filter-close-mobile:hover {
    background: #1a3a7a !important;
  }
  body.filters-open .filter-close-mobile svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    stroke: #ffffff !important;
  }

  /* "Filters" open button shown in toolbar */
  body .filter-open-mobile {
    display: inline-flex !important;
  }

  /* Single-column shop layout on mobile */
  body .shop-layout-v2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 16px 22px 60px !important;
  }
}

/* Small phones: X shifts to right */
@media (max-width: 480px) {
  body.filters-open .filter-close-mobile {
    left: auto !important;
    right: 14px !important;
  }
}


/* ============================================================
   2. TOPBAR ANIMATION SPEED — SLOWER ON SMALLER SCREENS
   ============================================================ */

/* Desktop baseline */
.topbar-abstract-ecg {
  animation-duration: 26s !important;
  background-size: 700px 34px !important;
}
.topbar-abstract-dots {
  animation-duration: 34s !important;
}
.topbar-abstract-glow {
  animation-duration: 9s !important;
}

/* Tablet */
@media (max-width: 1024px) {
  .topbar-abstract-ecg {
    animation-duration: 38s !important;
    background-size: 560px 34px !important;
    opacity: .75 !important;
  }
  .topbar-abstract-dots {
    animation-duration: 50s !important;
    opacity: .85 !important;
  }
  .topbar-abstract-glow {
    animation-duration: 12s !important;
    opacity: .75 !important;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .topbar-abstract-ecg {
    animation-duration: 55s !important;
    background-size: 420px 34px !important;
    opacity: .55 !important;
  }
  .topbar-abstract-dots {
    animation-duration: 70s !important;
    opacity: .65 !important;
  }
  .topbar-abstract-glow {
    animation-duration: 16s !important;
    opacity: .5 !important;
  }
}

/* Very small phones */
@media (max-width: 400px) {
  .topbar-abstract-ecg {
    animation-duration: 75s !important;
    opacity: .45 !important;
  }
  .topbar-abstract-dots {
    animation-duration: 90s !important;
    opacity: .55 !important;
  }
  .topbar-abstract-glow {
    animation: none !important;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .topbar-abstract-ecg,
  .topbar-abstract-dots,
  .topbar-abstract-glow {
    animation: none !important;
  }
}


/* ============================================================
   3. NAVBAR — CENTERED + FLUID SHRINKING + ELEGANT UNDERLINE
   ============================================================ */

/* ---------- Desktop ≥ 901px: CSS Grid layout ---------- */
@media (min-width: 901px) {

  /* 3-column layout: logo | nav (centered) | WhatsApp */
  .site-header .header-inner {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    justify-content: initial !important;
    gap: 20px !important;
    overflow: visible !important;
  }

  .site-header .logo {
    grid-column: 1 !important;
    justify-self: start !important;
    flex-shrink: 0 !important;
  }

  /* Nav lives in the middle, centered */
  .main-nav {
    grid-column: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .main-nav .nav-cta {
    margin-left: 12px !important;
    flex-shrink: 0 !important;
  }

  /* Base link styling (overridden by media queries below) */
  .main-nav > a,
  .main-nav .nav-dropdown-trigger {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    height: 40px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    font-family: var(--font) !important;
    font-size: .86rem !important;
    font-weight: 500 !important;
    letter-spacing: .01em !important;
    color: var(--text) !important;
    background: transparent !important;
    border-radius: 0 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: color .22s ease !important;
  }

  /* Kill old underline from earlier CSS */
  .main-nav > a::before,
  .main-nav .nav-dropdown-trigger::before {
    display: none !important;
  }

  /* New elegant gradient underline */
  .main-nav > a::after,
  .main-nav .nav-dropdown-trigger::after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    left: 14px !important;
    right: 14px !important;
    bottom: 6px !important;
    height: 2px !important;
    background: linear-gradient(90deg, var(--sky), var(--navy)) !important;
    border-radius: 2px !important;
    transform: scaleX(0) !important;
    transform-origin: center !important;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1) !important;
  }

  .main-nav > a:hover,
  .main-nav .nav-dropdown-trigger:hover {
    color: var(--navy) !important;
    background: transparent !important;
  }
  .main-nav > a:hover::after,
  .main-nav .nav-dropdown-trigger:hover::after {
    transform: scaleX(1) !important;
  }

  .main-nav > a.active,
  .main-nav .nav-dropdown-trigger.active {
    color: var(--navy) !important;
    background: transparent !important;
    font-weight: 600 !important;
  }
  .main-nav > a.active::after,
  .main-nav .nav-dropdown-trigger.active::after {
    transform: scaleX(1) !important;
  }
}

/* ---------- Fluid shrinking at each desktop width ---------- */

/* 1401px+ : full size */
@media (min-width: 1401px) {
  .site-header .logo-img { height: 88px !important; }
  .site-header.scrolled .logo-img { height: 70px !important; }
  .main-nav > a,
  .main-nav .nav-dropdown-trigger {
    font-size: .88rem !important;
    padding: 0 15px !important;
  }
  .main-nav > a::after,
  .main-nav .nav-dropdown-trigger::after {
    left: 15px !important;
    right: 15px !important;
  }
  .main-nav .nav-cta { padding: 0 18px !important; font-size: .82rem !important; }
}

/* 1201–1400px */
@media (min-width: 1201px) and (max-width: 1400px) {
  .site-header .logo-img { height: 78px !important; }
  .site-header.scrolled .logo-img { height: 62px !important; }
  .main-nav > a,
  .main-nav .nav-dropdown-trigger {
    font-size: .82rem !important;
    padding: 0 12px !important;
  }
  .main-nav > a::after,
  .main-nav .nav-dropdown-trigger::after {
    left: 12px !important;
    right: 12px !important;
  }
  .main-nav .nav-cta { padding: 0 15px !important; font-size: .78rem !important; }
}

/* 1101–1200px */
@media (min-width: 1101px) and (max-width: 1200px) {
  .site-header .logo-img { height: 72px !important; }
  .site-header.scrolled .logo-img { height: 58px !important; }
  .main-nav > a,
  .main-nav .nav-dropdown-trigger {
    font-size: .78rem !important;
    padding: 0 10px !important;
    height: 38px !important;
  }
  .main-nav > a::after,
  .main-nav .nav-dropdown-trigger::after {
    left: 10px !important;
    right: 10px !important;
    bottom: 5px !important;
  }
  .main-nav .nav-cta {
    padding: 0 12px !important;
    font-size: .74rem !important;
    gap: 5px !important;
  }
}

/* 1025–1100px : WhatsApp becomes icon only */
@media (min-width: 1025px) and (max-width: 1100px) {
  .site-header .logo-img { height: 66px !important; }
  .site-header.scrolled .logo-img { height: 54px !important; }
  .main-nav > a,
  .main-nav .nav-dropdown-trigger {
    font-size: .75rem !important;
    padding: 0 9px !important;
    height: 36px !important;
  }
  .main-nav > a::after,
  .main-nav .nav-dropdown-trigger::after {
    left: 9px !important;
    right: 9px !important;
    bottom: 4px !important;
  }
  .main-nav .nav-cta {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    margin-left: 8px !important;
  }
  .main-nav .nav-cta-text { display: none !important; }
  .main-nav .nav-cta-icon { width: 18px !important; height: 18px !important; }
  .main-nav .nav-cta-icon svg { width: 18px !important; height: 18px !important; }
}

/* 901–1024px : carets hidden, smallest desktop nav */
@media (min-width: 901px) and (max-width: 1024px) {
  .site-header .logo-img { height: 62px !important; }
  .site-header.scrolled .logo-img { height: 52px !important; }
  .main-nav > a,
  .main-nav .nav-dropdown-trigger {
    font-size: .72rem !important;
    padding: 0 8px !important;
    height: 36px !important;
  }
  .main-nav > a::after,
  .main-nav .nav-dropdown-trigger::after {
    left: 8px !important;
    right: 8px !important;
    bottom: 4px !important;
  }
  .main-nav .nav-dropdown-caret { display: none !important; }
  .main-nav .nav-cta {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    margin-left: 6px !important;
  }
  .main-nav .nav-cta-text { display: none !important; }
  .main-nav .nav-cta-icon { width: 17px !important; height: 17px !important; }
  .main-nav .nav-cta-icon svg { width: 17px !important; height: 17px !important; }
}

/* ---------- Hamburger mode (≤ 900px) — cleaned up ---------- */
@media (max-width: 900px) {

  .site-header .header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    height: auto !important;
    min-height: var(--header-h) !important;
    padding: 12px 0 !important;
  }

  .site-header .logo { flex: 0 0 auto !important; }

  .nav-toggle {
    display: flex !important;
    order: 2;
    margin-left: auto;
  }

  body.nav-open .main-nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    flex: 1 0 100% !important;
    order: 3;
    padding: 12px 0 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--border) !important;
    box-shadow: 0 12px 24px rgba(15, 38, 82, .10) !important;
    max-height: calc(100vh - var(--header-h) - var(--topbar-h)) !important;
    overflow-y: auto !important;
  }

  body.nav-open .main-nav > a,
  body.nav-open .main-nav .nav-dropdown-trigger {
    width: 100% !important;
    height: auto !important;
    padding: 14px 20px !important;
    justify-content: space-between !important;
    font-size: .95rem !important;
    border-bottom: 1px solid var(--border) !important;
    border-radius: 0 !important;
    color: var(--text) !important;
  }
  body.nav-open .main-nav > a::after,
  body.nav-open .main-nav .nav-dropdown-trigger::after {
    display: none !important;
  }

  body.nav-open .main-nav .nav-cta {
    width: calc(100% - 40px) !important;
    height: 48px !important;
    margin: 14px 20px !important;
    padding: 0 20px !important;
    border-radius: 30px !important;
    justify-content: center !important;
    font-size: .9rem !important;
  }
  body.nav-open .main-nav .nav-cta-text { display: inline !important; }
  body.nav-open .main-nav .nav-cta-icon {
    width: 18px !important;
    height: 18px !important;
  }
  body.nav-open .main-nav .nav-cta-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  body.nav-open .main-nav .nav-dropdown {
    width: 100% !important;
    display: block !important;
  }

  body.nav-open .main-nav .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f5f8fc !important;
    padding: 6px 0 10px !important;
    pointer-events: auto !important;
    white-space: normal !important;
  }
  body.nav-open .main-nav .nav-dropdown-menu a {
    display: block !important;
    padding: 12px 20px 12px 36px !important;
    border-bottom: 1px dashed var(--border) !important;
    font-size: .88rem !important;
    color: var(--text-soft) !important;
    background: transparent !important;
  }
  body.nav-open .main-nav .nav-dropdown-menu a:hover {
    background: var(--bg-ice) !important;
    color: var(--navy) !important;
    padding-left: 36px !important;
  }
}


/* ============================================================
   END MASTER CSS FIX
   ============================================================ */










/* ============================================================
   FILTER DRAWER — NO BACKDROP (mobile/tablet only)
   Paste at the very END of style.css
   ============================================================ */

/* ---------- MOBILE & TABLET (≤ 960px): no backdrop at all ---------- */
@media (max-width: 960px) {

  body.filters-open .filters-backdrop,
  body .filters-backdrop {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Keep the drawer itself with a strong shadow so it stands out
     clearly against the products behind it */
  body.filters-open .filter-sidebar {
    box-shadow:
      4px 0 16px rgba(8, 23, 46, 0.18),
      8px 0 32px rgba(8, 23, 46, 0.10) !important;
  }
}

/* ---------- DESKTOP (≥ 961px): unchanged ---------- */
/* Sidebar stays a static box in the grid — no backdrop, no drawer */





/* ============================================================
   TOPBAR — GENUINELY SLOW ON MOBILE
   Paste at the very END of style.css
   ============================================================ */

/* ---------- Desktop default: unchanged ---------- */
.topbar-abstract-ecg {
  animation-duration: 26s !important;
  background-size: 700px 34px !important;
}
.topbar-abstract-dots {
  animation-duration: 34s !important;
}
.topbar-abstract-glow {
  animation-duration: 9s !important;
}

/* ---------- Tablet (≤ 1024px) ---------- */
@media (max-width: 1024px) {
  .topbar-abstract-ecg {
    animation-duration: 60s !important;         /* slower */
    background-size: 1400px 34px !important;   /* wider gap between waves */
    opacity: 0.65 !important;
  }
  .topbar-abstract-dots {
    animation-duration: 80s !important;
    opacity: 0.75 !important;
  }
  .topbar-abstract-glow {
    animation-duration: 18s !important;
    opacity: 0.6 !important;
  }
}

/* ---------- Mobile (≤ 640px): very slow ---------- */
@media (max-width: 640px) {
  .topbar-abstract-ecg {
    animation-duration: 180s !important;        /* 3 minutes per cycle */
    background-size: 2200px 34px !important;   /* very wide — one big wave */
    opacity: 0.45 !important;
    filter: blur(0.4px) !important;
  }
  .topbar-abstract-dots {
    animation-duration: 240s !important;
    opacity: 0.5 !important;
  }
  .topbar-abstract-glow {
    animation-duration: 30s !important;
    opacity: 0.35 !important;
  }
}

/* ---------- Small phones (≤ 400px): nearly still ---------- */
@media (max-width: 400px) {
  .topbar-abstract-ecg {
    animation-duration: 300s !important;        /* 5 minutes per cycle */
    background-size: 3000px 34px !important;
    opacity: 0.35 !important;
    filter: blur(0.5px) !important;
  }
  .topbar-abstract-dots {
    animation-duration: 360s !important;
    opacity: 0.4 !important;
  }
  .topbar-abstract-glow {
    animation: none !important;
    opacity: 0 !important;
  }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  .topbar-abstract-ecg,
  .topbar-abstract-dots,
  .topbar-abstract-glow {
    animation: none !important;
  }
}





/* ============================================================
   HEADER BREAKPOINT FIX — Clean switch between desktop nav
   and hamburger mode. No overlap.
   ============================================================ */

/* ---------- DESKTOP (≥ 901px): full nav, NO hamburger ---------- */
@media (min-width: 901px) {

  /* Hamburger must NEVER show on desktop */
  .nav-toggle {
    display: none !important;
  }

  /* Nav is always a flex row */
  .main-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow: visible !important;
    order: 2 !important;
    flex: 1 1 auto !important;
  }
}

/* ---------- TABLET & MOBILE (≤ 900px): hamburger, NO nav row ---------- */
@media (max-width: 900px) {

  /* Show hamburger */
  .nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin-left: auto !important;
    order: 2 !important;
    background: var(--bg-soft) !important;
    border: none !important;
    border-radius: 8px !important;
    color: var(--text) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }
  .nav-toggle:hover {
    background: var(--bg-ice) !important;
  }

  /* Nav is hidden unless hamburger is open */
  .main-nav {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    flex: 1 0 100% !important;
    order: 3 !important;
    padding: 12px 0 !important;
    background: #ffffff !important;
    border-top: 1px solid var(--border) !important;
    box-shadow: 0 12px 24px rgba(15, 38, 82, .10) !important;
    max-height: calc(100vh - var(--header-h) - var(--topbar-h)) !important;
    overflow-y: auto !important;
  }

  /* When hamburger is tapped, drawer opens */
  body.nav-open .main-nav {
    display: flex !important;
  }
}









/* ============================================================
   MOBILE DRAWER SUBMENU — FORCE REAL, TAPPABLE ROWS
   Paste at the very END of style.css
   ============================================================ */

@media (max-width: 900px) {

  /* Submenu container — force real height */
  body.nav-open .main-nav .nav-dropdown-menu {
    position: static !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    /* Real height */
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    /* Real padding */
    padding: 6px 0 10px !important;
    margin: 0 !important;

    /* Solid background so text is readable */
    background: #f5f8fc !important;
    background-color: #f5f8fc !important;

    /* Kill flex/grid */
    flex: none !important;
    flex-direction: initial !important;

    /* Borders */
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    /* Overflow */
    overflow: visible !important;
  }

  /* Every submenu link — force real row with real height */
  body.nav-open .main-nav .nav-dropdown-menu > a {
    display: block !important;

    /* THE KEY FIX: real height + real line-height + real padding */
    height: auto !important;
    min-height: 48px !important;
    line-height: 48px !important;

    padding: 0 20px 0 36px !important;
    margin: 0 !important;

    /* Solid readable text */
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;

    /* Solid background so the row is visible */
    background: #f5f8fc !important;
    background-color: #f5f8fc !important;

    /* Force the row to actually render */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;

    /* Divider */
    border: none !important;
    border-bottom: 1px dashed #dde5ee !important;
    border-radius: 0 !important;

    /* Kill any flex/grid collapse */
    flex: none !important;
    align-self: stretch !important;

    /* Text alignment */
    text-align: left !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;

    /* Reset effects */
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;

    /* Position */
    position: relative !important;
    z-index: 5 !important;
  }

  /* Last link — no border */
  body.nav-open .main-nav .nav-dropdown-menu > a:last-child {
    border-bottom: none !important;
  }

  /* Hover state */
  body.nav-open .main-nav .nav-dropdown-menu > a:hover {
    background: #eaf2f9 !important;
    color: #0f2652 !important;
    -webkit-text-fill-color: #0f2652 !important;
  }

  /* Kill any ::before / ::after that might take up space */
  body.nav-open .main-nav .nav-dropdown-menu > a::before,
  body.nav-open .main-nav .nav-dropdown-menu > a::after {
    display: none !important;
    content: none !important;
  }
}









/* ============================================================
   NAVBAR TYPOGRAPHY — Professional Polish
   ============================================================ */

@media (min-width: 901px) {

  .main-nav > a,
  .main-nav .nav-dropdown-trigger {
    font-size: .92rem !important;         /* up from .86rem */
    font-weight: 500 !important;          /* unchanged */
    letter-spacing: 0.015em !important;   /* new — breathing room */
    color: #0a1c33 !important;            /* darker for contrast */
    padding: 0 16px !important;           /* slightly more spacing between items */
  }

  /* Keep the underline matching the wider padding */
  .main-nav > a::after,
  .main-nav .nav-dropdown-trigger::after {
    left: 16px !important;
    right: 16px !important;
  }

  /* Active state — same polish */
  .main-nav > a.active,
  .main-nav .nav-dropdown-trigger.active {
    color: var(--navy) !important;
    font-weight: 600 !important;
  }
}

/* ---------- Fluid scaling at narrower widths ---------- */

@media (min-width: 1201px) and (max-width: 1400px) {
  .main-nav > a,
  .main-nav .nav-dropdown-trigger {
    font-size: .87rem !important;
    padding: 0 13px !important;
  }
  .main-nav > a::after,
  .main-nav .nav-dropdown-trigger::after {
    left: 13px !important;
    right: 13px !important;
  }
}

@media (min-width: 1101px) and (max-width: 1200px) {
  .main-nav > a,
  .main-nav .nav-dropdown-trigger {
    font-size: .82rem !important;
    padding: 0 11px !important;
  }
  .main-nav > a::after,
  .main-nav .nav-dropdown-trigger::after {
    left: 11px !important;
    right: 11px !important;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .main-nav > a,
  .main-nav .nav-dropdown-trigger {
    font-size: .78rem !important;
    padding: 0 9px !important;
  }
  .main-nav > a::after,
  .main-nav .nav-dropdown-trigger::after {
    left: 9px !important;
    right: 9px !important;
  }
}




/* ============================================================
   HTML SITEMAP PAGE
   Human-readable index of all site pages
   ============================================================ */

.sitemap-section {
  max-width: 1000px;
  margin: 0 auto 48px;
  padding: 0 22px;
}

.sitemap-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.sitemap-heading h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.02em;
}

.sitemap-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 28px;
  padding: 0 10px;
  background: var(--bg-ice);
  color: var(--sky);
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 800;
  border-radius: 14px;
  letter-spacing: .3px;
}

.sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 6px 28px;
}

.sitemap-links-dense {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.sitemap-links li {
  margin: 0;
}

.sitemap-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px;
  color: var(--text);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all .18s cubic-bezier(.2,.8,.2,1);
  position: relative;
}

.sitemap-links a::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  width: 3px;
  height: 3px;
  background: var(--sky);
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  transition: transform .2s ease;
}

.sitemap-links a:hover {
  color: var(--sky);
  padding-left: 14px;
}

.sitemap-links a:hover::before {
  transform: translateY(-50%) scale(1);
}

.sitemap-link-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sitemap-link-arrow {
  flex-shrink: 0;
  font-size: .82rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: all .2s ease;
}

.sitemap-links a:hover .sitemap-link-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--sky);
}

.sitemap-footer-note {
  max-width: 1000px;
  margin: 20px auto 60px;
  padding: 20px 22px;
  text-align: center;
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

.sitemap-footer-note p {
  margin: 0;
  font-size: .88rem;
  color: var(--text-muted);
}

.sitemap-footer-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

.sitemap-footer-note a:hover {
  color: var(--sky);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .sitemap-section {
    margin-bottom: 36px;
    padding: 0 16px;
  }
  .sitemap-heading h2 {
    font-size: 1.1rem;
  }
  .sitemap-links,
  .sitemap-links-dense {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .sitemap-links a {
    font-size: .86rem;
    padding: 9px 4px;
  }
}




/* ============================================================
   WAREHOUSE VISIT — inline form on dark section
   ============================================================ */

.warehouse-visit-form-wrap {
  margin-top: 32px;
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(10, 163, 224, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.3s ease;
  animation: warehouseFormIn 0.4s cubic-bezier(.2,.8,.2,1);
}

@keyframes warehouseFormIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.warehouse-visit-form h3 {
  color: #fff;
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
}

.warehouse-form-intro {
  color: rgba(255, 255, 255, 0.75);
  font-size: .88rem;
  margin: 0 0 20px;
}

.warehouse-visit-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.warehouse-visit-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.warehouse-visit-form input,
.warehouse-visit-form textarea {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-family: inherit;
  font-size: .92rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  transition: all .2s cubic-bezier(.2,.8,.2,1);
  width: 100%;
}

.warehouse-visit-form input:focus,
.warehouse-visit-form textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(10, 163, 224, 0.25);
}

.warehouse-visit-form textarea { resize: vertical; }

.warehouse-visit-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.warehouse-visit-actions .btn { min-width: 140px; }

.warehouse-visit-cancel {
  color: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  background: transparent !important;
}
.warehouse-visit-cancel:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

@media (max-width: 640px) {
  .warehouse-visit-form-wrap { padding: 22px 18px; }
  .warehouse-visit-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .warehouse-visit-actions { flex-direction: column; }
  .warehouse-visit-actions .btn { width: 100%; }
}




/* ============================================================
   PRODUCT PAGE — Gallery with clickable thumbnails
   ============================================================ */

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-gallery-main {
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s var(--ease);
  cursor: zoom-in;
}
.product-gallery-main:hover img {
  transform: scale(1.03);
}

.product-gallery-main .placeholder.large {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef3f9, #dde7f0);
  color: #94a3b8;
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: 3px;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}

.product-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--border);
  cursor: pointer;
  padding: 0;
  transition: all .25s var(--ease);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumb:hover {
  border-color: var(--sky);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 38, 82, .1);
}

.product-thumb.is-active {
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(10, 163, 224, .2);
}

@media (max-width: 640px) {
  .product-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 6px;
  }
}



/* ============================================================
   ABOUT PAGE — Corporate Tax Registration card
   (Appended; does not affect any existing styles)
   ============================================================ */

.about-trn-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  margin-top: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--sky);
  border-radius: 14px;
  box-shadow:
    0 8px 24px rgba(15, 38, 82, .06),
    0 1px 0 rgba(255, 255, 255, .9) inset;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}

.about-trn-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px;
  height: 100%;
  background: radial-gradient(ellipse at right center,
    rgba(10, 163, 224, .05) 0%,
    transparent 70%);
  pointer-events: none;
}

.about-trn-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgba(15, 38, 82, .10),
    0 1px 0 rgba(255, 255, 255, .9) inset;
  border-left-color: var(--navy);
}

/* --- Icon tile --- */
.about-trn-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-ice) 0%, #e0f2fe 100%);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: all .3s var(--ease);
}

.about-trn-card:hover .about-trn-icon {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-dark) 100%);
  color: #fff;
  transform: rotate(-4deg) scale(1.04);
}

/* --- Body block --- */
.about-trn-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.about-trn-label {
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2;
}

.about-trn-value {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--navy);
  line-height: 1.2;
  font-feature-settings: "tnum" 1;
  direction: ltr;
  unicode-bidi: isolate;
}

.about-trn-note {
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-soft);
  line-height: 1.5;
  margin-top: 2px;
}

/* --- UAE · FTA badge --- */
.about-trn-badge {
  flex-shrink: 0;
  align-self: flex-start;
  padding: 5px 12px;
  background: rgba(10, 163, 224, .1);
  border: 1px solid rgba(10, 163, 224, .3);
  border-radius: 20px;
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--sky-dark);
  white-space: nowrap;
  line-height: 1;
}

/* ============================================================
   RESPONSIVE — TRN card
   ============================================================ */

/* Tablet — slightly tighter */
@media (max-width: 1024px) {
  .about-trn-card {
    padding: 20px 22px;
    gap: 16px;
  }
  .about-trn-value {
    font-size: 1.22rem;
  }
}

/* Mobile — stack icon and badge, bigger tap targets */
@media (max-width: 640px) {
  .about-trn-card {
    flex-wrap: wrap;
    padding: 18px 18px;
    gap: 14px;
  }

  .about-trn-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .about-trn-body {
    /* take full row width beside the icon */
    flex: 1 1 calc(100% - 56px);
  }

  .about-trn-value {
    font-size: 1.1rem;
    letter-spacing: .04em;
    word-break: break-all;
  }

  .about-trn-note {
    font-size: .74rem;
  }

  .about-trn-badge {
    order: -1;
    margin-left: auto;
    align-self: center;
    padding: 4px 10px;
    font-size: .62rem;
    letter-spacing: 1px;
  }
}

/* Very small phones — stack everything vertically, centered */
@media (max-width: 420px) {
  .about-trn-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .about-trn-icon {
    width: 40px;
    height: 40px;
  }

  .about-trn-badge {
    order: 0;
    margin-left: 0;
    align-self: flex-start;
  }

  .about-trn-value {
    font-size: 1rem;
  }
}






/* ============================================================
   ADMIN — Drag-and-drop product ordering
   ============================================================ */

/* --- Drag handle column --- */
.admin-table-ordered .admin-th-handle,
.admin-table-ordered .admin-td-handle {
  width: 36px;
  padding: 0 !important;
  text-align: center;
  user-select: none;
}

.admin-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: -2px;
  cursor: grab;
  transition: all .15s var(--ease);
}

.admin-drag-handle:hover {
  background: var(--bg-ice);
  color: var(--navy);
}

.admin-drag-handle:active {
  cursor: grabbing;
}

/* --- Row being dragged --- */
.admin-table tbody tr.is-dragging {
  opacity: .5;
  background: var(--bg-ice) !important;
}

/* --- Placeholder row shows where the drop will land --- */
.admin-table tbody tr.admin-drag-placeholder td {
  padding: 0 !important;
  height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--navy));
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(10, 163, 224, .5);
}

.admin-table tbody tr.admin-drag-placeholder {
  pointer-events: none;
}

/* --- Toast feedback --- */
.admin-order-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  background: #0f2652;
  color: #fff;
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 38, 82, .25);
  z-index: 3000;
  opacity: 0;
  transform: translateY(12px);
  transition: all .28s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.admin-order-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-order-toast.is-error {
  background: var(--danger);
}

/* --- Small screens: hide handle column, keep ▲▼ --- */
@media (max-width: 900px) {
  .admin-table-ordered .admin-th-handle,
  .admin-table-ordered .admin-td-handle {
    display: none;
  }
  .admin-drag-handle { display: none; }
}


/* ============================================================
   ADMIN — Drag-and-drop product ordering
   ============================================================ */

.admin-table-ordered .admin-th-handle,
.admin-table-ordered .admin-td-handle {
  width: 36px;
  padding: 0 !important;
  text-align: center;
  user-select: none;
}

.admin-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: -2px;
  cursor: grab;
  transition: all .15s var(--ease);
}

.admin-drag-handle:hover {
  background: var(--bg-ice);
  color: var(--navy);
}

.admin-drag-handle:active { cursor: grabbing; }

.admin-table tbody tr.is-dragging {
  opacity: .5;
  background: var(--bg-ice) !important;
}

.admin-table tbody tr.admin-drag-placeholder td {
  padding: 0 !important;
  height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--navy));
  border: none;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(10, 163, 224, .5);
}

.admin-table tbody tr.admin-drag-placeholder { pointer-events: none; }

.admin-order-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 20px;
  background: #0f2652;
  color: #fff;
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 38, 82, .25);
  z-index: 3000;
  opacity: 0;
  transform: translateY(12px);
  transition: all .28s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.admin-order-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-order-toast.is-error { background: var(--danger); }

@media (max-width: 900px) {
  .admin-table-ordered .admin-th-handle,
  .admin-table-ordered .admin-td-handle,
  .admin-drag-handle { display: none; }
}




/* ============================================================
   Direct-contact row (WhatsApp + Email alternatives)
   ============================================================ */

.direct-contact-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.direct-contact-label {
  font-family: var(--font);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.direct-contact-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.direct-contact-btn {
  flex: 1 1 auto;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.direct-contact-btn svg { flex-shrink: 0; }

/* Dark variant (used on the warehouse dark section) */
.direct-contact-row--dark {
  border-top-color: rgba(255, 255, 255, 0.15);
}
.direct-contact-row--dark .direct-contact-label {
  color: rgba(255, 255, 255, 0.65);
}

/* Reduce top margin inside the modal */
.modal-box .direct-contact-row {
  margin-top: 6px;
}

/* Mobile: stack buttons */
@media (max-width: 480px) {
  .direct-contact-btn {
    flex: 1 1 100%;
    min-width: 0;
  }
}



/* ============================================================
   MODAL — WhatsApp / Email choice buttons
   ============================================================ */

.modal-choices {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.modal-choices-intro {
  font-size: .88rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 4px;
}

.modal-choice-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all .25s var(--ease);
  background: #fff;
}

.modal-choice-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--ease);
}

.modal-choice-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.modal-choice-body strong {
  font-family: var(--font);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.2;
}

.modal-choice-body small {
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 500;
  opacity: .8;
  line-height: 1.3;
}

/* --- WhatsApp variant --- */
.modal-choice--whatsapp {
  border-color: rgba(37, 211, 102, 0.35);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}
.modal-choice--whatsapp .modal-choice-icon {
  background: linear-gradient(135deg, #25d366 0%, #1eb955 100%);
  color: #fff;
}
.modal-choice--whatsapp .modal-choice-body strong { color: #166534; }
.modal-choice--whatsapp .modal-choice-body small { color: #15803d; }

.modal-choice--whatsapp:hover {
  border-color: #25d366;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.22);
}
.modal-choice--whatsapp:hover .modal-choice-icon {
  transform: scale(1.08);
}

/* --- Email variant --- */
.modal-choice--email {
  border-color: rgba(26, 58, 122, 0.25);
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}
.modal-choice--email .modal-choice-icon {
  background: linear-gradient(135deg, #1a3a7a 0%, #0f2652 100%);
  color: #fff;
}
.modal-choice--email .modal-choice-body strong { color: #0f2652; }
.modal-choice--email .modal-choice-body small { color: #1a3a7a; }

.modal-choice--email:hover {
  border-color: #1a3a7a;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(26, 58, 122, 0.2);
}
.modal-choice--email:hover .modal-choice-icon {
  transform: scale(1.08);
}

/* --- Toggle form link --- */
.modal-toggle-form {
  align-self: center;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all .2s var(--ease);
  margin-top: 4px;
}
.modal-toggle-form:hover {
  color: var(--navy);
  background: var(--bg-soft);
}

/* ============================================================
   DIRECT CONTACT ROW (inline forms: contact, repair, warehouse)
   ============================================================ */

.direct-contact-row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.direct-contact-label {
  font-family: var(--font);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.direct-contact-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.direct-contact-btn {
  flex: 1 1 auto;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.direct-contact-btn svg { flex-shrink: 0; }

.direct-contact-row--dark {
  border-top-color: rgba(255, 255, 255, 0.15);
}
.direct-contact-row--dark .direct-contact-label {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 480px) {
  .direct-contact-btn {
    flex: 1 1 100%;
    min-width: 0;
  }
}



/* ============================================================
   HOMEPAGE — NEWS TEASER (with cover images)
   ============================================================ */

.news-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.news-teaser-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.news-teaser-card:hover {
  transform: translateY(-4px);
  border-color: var(--sky);
  box-shadow: 0 16px 36px rgba(15, 38, 82, .10);
}

.news-teaser-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.news-teaser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s var(--ease);
}

.news-teaser-card:hover .news-teaser-image img {
  transform: scale(1.06);
}

.news-teaser-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eef3f9, #dde7f0);
  color: #94a3b8;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 3px;
}

.news-teaser-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 38, 82, .92);
  color: #fff;
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .9px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.news-teaser-tag--event {
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  box-shadow: 0 6px 16px rgba(10, 163, 224, .35);
}

.news-teaser-body {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
  flex: 1;
}

.news-teaser-meta {
  display: inline-block;
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 8px;
}

.news-teaser-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 10px;
}

.news-teaser-card h3 a {
  color: inherit;
  text-decoration: none;
}

.news-teaser-card h3 a:hover {
  color: var(--sky);
}

.news-teaser-card p {
  font-family: var(--font);
  font-size: .86rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 16px;
  flex: 1;
}

.news-teaser-readmore {
  display: inline-flex;
  align-items: center;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  color: var(--sky);
  text-decoration: none;
  margin-top: auto;
  transition: color .2s var(--ease), gap .2s var(--ease);
}

.news-teaser-readmore:hover {
  color: var(--navy);
}

/* Responsive */
@media (max-width: 1024px) {
  .news-teaser-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .news-teaser-grid { grid-template-columns: 1fr; gap: 14px; }
  .news-teaser-card h3 { font-size: 1rem; }
}



/* ============================================================
   ENQUIRY MODAL — choice-only variant
   ============================================================ */

.modal-box--choice {
  max-width: 480px;
  padding: 34px 30px 28px;
}

.modal-box--choice .modal-header {
  text-align: center;
  margin-bottom: 22px;
}

.modal-box--choice .modal-header h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 6px 0 10px;
}

.modal-box--choice .modal-product {
  margin: 0 auto;
}

.modal-box--choice .modal-choices {
  margin-top: 0;
}

.modal-box--choice .modal-choices-intro {
  font-size: .88rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 18px;
}

.modal-box--choice .modal-note {
  margin-top: 18px;
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
}



/* ============================================================
   CONTACT — Direct-choice panel (WhatsApp + Email cards)
   ============================================================ */

.contact-direct-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 34px 30px;
  box-shadow: 0 12px 36px rgba(15, 38, 82, .07);
  position: relative;
  overflow: hidden;
}

.contact-direct-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(10, 163, 224, .06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(26, 58, 122, .05) 0%, transparent 60%);
  pointer-events: none;
}

.contact-direct-head {
  position: relative;
  text-align: center;
  margin-bottom: 28px;
}

.contact-direct-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 8px 0 10px;
}

.contact-direct-lead {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 480px;
  margin: 0 auto;
}

.contact-direct-actions {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-direct-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 20px;
  border-radius: 14px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  position: relative;
  overflow: hidden;
}

.contact-direct-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}

.contact-direct-card:hover::after { opacity: 1; }

.contact-direct-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform .35s var(--ease);
}

.contact-direct-card:hover .contact-direct-icon {
  transform: scale(1.08) rotate(-4deg);
}

.contact-direct-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.contact-direct-body strong {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.contact-direct-body small {
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 500;
  opacity: .85;
  line-height: 1.4;
}

.contact-direct-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .3px;
  transition: transform .3s var(--ease);
}

.contact-direct-card:hover .contact-direct-cta {
  transform: translateX(4px);
}

/* --- WhatsApp variant --- */
.contact-direct-card--whatsapp {
  background: linear-gradient(140deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: rgba(37, 211, 102, .35);
}
.contact-direct-card--whatsapp .contact-direct-icon {
  background: linear-gradient(135deg, #25d366 0%, #1eb955 100%);
  box-shadow: 0 8px 20px rgba(37, 211, 102, .35);
}
.contact-direct-card--whatsapp .contact-direct-body strong { color: #14532d; }
.contact-direct-card--whatsapp .contact-direct-body small  { color: #166534; }
.contact-direct-card--whatsapp .contact-direct-cta          { color: #15803d; }

.contact-direct-card--whatsapp:hover {
  border-color: #25d366;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(37, 211, 102, .30);
}

/* --- Email variant --- */
.contact-direct-card--email {
  background: linear-gradient(140deg, #eff6ff 0%, #dbeafe 100%);
  border-color: rgba(26, 58, 122, .30);
}
.contact-direct-card--email .contact-direct-icon {
  background: linear-gradient(135deg, #1a3a7a 0%, #0f2652 100%);
  box-shadow: 0 8px 20px rgba(26, 58, 122, .35);
}
.contact-direct-card--email .contact-direct-body strong { color: #0f2652; }
.contact-direct-card--email .contact-direct-body small  { color: #1e3a8a; }
.contact-direct-card--email .contact-direct-cta          { color: #0aa3e0; }

.contact-direct-card--email:hover {
  border-color: #1a3a7a;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26, 58, 122, .28);
}

.contact-direct-note {
  position: relative;
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-direct-note a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.contact-direct-note a:hover { color: var(--sky); }

/* Responsive */
@media (max-width: 640px) {
  .contact-direct-panel { padding: 26px 20px 22px; }
  .contact-direct-actions { grid-template-columns: 1fr; gap: 12px; }
  .contact-direct-card { padding: 18px 18px 16px; }
  .contact-direct-icon { width: 46px; height: 46px; }
  .contact-direct-body strong { font-size: .98rem; }
}



/* ============================================================
   CONTACT — Response times & office hours (warm tone)
   ============================================================ */

.office-sub {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 18px;
  max-width: 520px;
}

.sla-table--warm,
.hours-table--warm {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 38, 82, .04);
}

.sla-table--warm td,
.hours-table--warm td,
.hours-table--warm th {
  padding: 16px 20px;
  font-size: .9rem;
  line-height: 1.6;
  vertical-align: top;
}

.sla-table--warm tr + tr td,
.hours-table--warm tr + tr td,
.hours-table--warm tr + tr th {
  border-top: 1px solid var(--border);
}

.sla-table--warm td:first-child {
  width: 38%;
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 700;
}

.hours-table--warm th {
  width: 34%;
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 700;
  text-align: left;
}

.hours-table--warm td { color: var(--text-soft); }

/* Mobile: keep the warm table readable */
@media (max-width: 640px) {
  .sla-table--warm td:first-child,
  .hours-table--warm th {
    width: 40%;
    font-size: .82rem;
    padding: 12px 14px;
  }
  .sla-table--warm td,
  .hours-table--warm td {
    font-size: .82rem;
    padding: 12px 14px;
  }
}


/* ============================================================
   REQUEST PRICE — visual emphasis (prices hidden site-wide)
   ============================================================ */

.product-footer .price.quote {
  font-family: var(--font);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--sky);
  text-transform: uppercase;
}





/* ============================================================
   NEWS SINGLE — Gallery grid
   ============================================================ */
.news-single-gallery {
  margin: 40px 0;
}

.news-single-gallery h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.news-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.news-gallery-item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.news-gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--sky);
}

.news-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
















/* ============================================================
   HERO — Single animated block (Living Topography)
   Uses only new classes. Does not override any existing rule.
   ============================================================ */

.hero-single {
  position: relative;
  width: 100%;
  min-height: 640px;
  height: min(78vh, 720px);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #08172e 0%,
    #0f2652 55%,
    #0a4d8c 100%
  );
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-single-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-single-ecg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'><path d='M0,150 L400,150 L440,150 L470,40 L500,260 L530,150 L800,150 L840,150 L870,20 L900,280 L930,150 L1200,150' fill='none' stroke='%230aa3e0' stroke-width='1.6' stroke-opacity='0.35'/></svg>");
  background-size: 900px 300px;
  background-repeat: repeat-x;
  background-position: 0 center;
  animation: heroSingleEcgDrift 26s linear infinite;
  opacity: .9;
}

.hero-single-rings {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
}

.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(10, 163, 224, .22);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  animation: heroRingPulse 9s ease-out infinite;
}

.hero-ring-1 { width: 500px; height: 500px; animation-delay: 0s; }
.hero-ring-2 { width: 500px; height: 500px; animation-delay: 3s; }
.hero-ring-3 { width: 500px; height: 500px; animation-delay: 6s; }

.hero-single-globe {
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: .08;
  animation: heroGlobeSpin 90s linear infinite;
  filter: brightness(0) invert(1);
}

.hero-single-globe img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-single-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 80% at 25% 50%,
    rgba(8, 23, 46, .75) 0%,
    rgba(8, 23, 46, .35) 45%,
    transparent 78%
  );
}

.hero-single-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 22px;
  color: #fff;
}

.hero-single-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(10, 163, 224, .14);
  border: 1px solid rgba(10, 163, 224, .5);
  border-radius: 30px;
  color: #7dd3fc;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(10, 163, 224, .18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 22px;
}

.hero-single-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 6px rgba(125, 211, 252, .8);
}

.hero-single-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 22px;
  max-width: 900px;
}

.hero-single-sub {
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
  max-width: 620px;
  margin: 0 0 32px;
}

.hero-single-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-single-pulse {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'><path d='M0,30 L300,30 L320,30 L340,10 L360,50 L380,30 L700,30 L720,30 L740,5 L760,55 L780,30 L1200,30' fill='none' stroke='%230aa3e0' stroke-width='1.5' stroke-opacity='0.28'/></svg>");
  background-size: 1200px 60px;
  background-repeat: repeat-x;
  background-position: 0 center;
  animation: heroSinglePulseDrift 22s linear infinite;
  opacity: .9;
  z-index: 2;
  pointer-events: none;
}

@keyframes heroSingleEcgDrift {
  0%   { background-position: 0 center; }
  100% { background-position: 900px center; }
}

@keyframes heroSinglePulseDrift {
  0%   { background-position: 0 center; }
  100% { background-position: 1200px center; }
}

@keyframes heroRingPulse {
  0%   { transform: translate(-50%, -50%) scale(0.3); opacity: 0; }
  15%  { opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

@keyframes heroGlobeSpin {
  0%   { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-single-ecg,
  .hero-single-pulse,
  .hero-ring,
  .hero-single-globe {
    animation: none !important;
  }
}

@media (max-width: 1024px) {
  .hero-single {
    min-height: 580px;
    height: min(72vh, 660px);
  }
  .hero-single-globe {
    width: 400px;
    height: 400px;
    right: -60px;
    opacity: .06;
  }
  .hero-single-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
  }
  .hero-single-sub {
    font-size: .96rem;
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .hero-single {
    min-height: 520px;
    height: auto;
    padding: 60px 0 80px;
    align-items: flex-start;
  }
  .hero-single-content {
    padding: 24px 20px 0;
  }
  .hero-single-eyebrow {
    font-size: .68rem;
    padding: 6px 12px;
    margin-bottom: 18px;
  }
  .hero-single-title {
    font-size: 1.85rem;
    line-height: 1.14;
    margin-bottom: 18px;
  }
  .hero-single-sub {
    font-size: .92rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .hero-single-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-single-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-single-globe {
    width: 260px;
    height: 260px;
    right: -50px;
    opacity: .05;
  }
  .hero-single-rings {
    left: 50%;
  }
  .hero-ring-1,
  .hero-ring-2,
  .hero-ring-3 {
    width: 380px;
    height: 380px;
  }
  .hero-single-pulse {
    height: 40px;
    background-size: 800px 40px;
  }
}








/* ============================================================
   HERO ATLAS — FINAL
   Centered, Optohellas-inspired hero. Calm motion.
   Every class is .hero-atlas* or .atlas-* — nothing else is affected.
   ============================================================ */

/* ---------- Root shell ---------- */
.hero-atlas {
  position: relative;
  width: 100%;
  height: min(88vh, 820px);
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #08172e;
  overflow: hidden;
  isolation: isolate;
}

/* ---------- Full-bleed background photo ---------- */
.hero-atlas-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-atlas-bg img {
  position: absolute;
  inset: 0%;
  width: 108 %;
  height: 108%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
  filter: saturate(.85) contrast(1.05);
  opacity: 0;
  transform: scale(1.12);
  animation:
    atlasBgEnter 1.6s cubic-bezier(.22,.9,.3,1) .05s forwards,
    atlasKenBurns 30s ease-in-out 1.6s infinite alternate;
}
.hero-atlas-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,23,46,.58) 0%,
    rgba(8,23,46,.42) 40%,
    rgba(8,23,46,.60) 100%
  );
  pointer-events: none;
}

/* ---------- Motion layer ---------- */
.hero-atlas-text-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Static retina grid */
.hero-atlas-grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(10,163,224,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,163,224,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 25%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 25%, transparent 90%);
  opacity: .85;
}

/* Single ECG ribbon */
.hero-atlas-ecg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .4;
}
.hero-atlas-ecg svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 200%;
  height: 220px;
  margin-top: -110px;
  display: block;
  will-change: transform;
  animation: atlasEcgSlide 18s linear infinite;
}
.hero-atlas-ecg path {
  fill: none;
  stroke: #0aa3e0;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: atlasEcgDraw 10s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(10,163,224,.55));
}

/* Iris rings — hero centered, slow breathing */
.hero-atlas-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.hero-atlas-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(10,163,224,.18);
  transform: translate(-50%, -50%);
  animation: atlasRingBreathe 12s ease-in-out infinite;
}
.hero-atlas-ring-1 {
  width: 460px; height: 460px;
  border-color: rgba(10,163,224,.3);
}
.hero-atlas-ring-2 {
  width: 680px; height: 680px;
  border-style: dashed;
  animation-delay: 2s;
}
.hero-atlas-ring-3 {
  width: 900px; height: 900px;
  animation-delay: 4s;
  border-color: rgba(26,58,122,.16);
}

/* Radial vignette */
.hero-atlas-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 80% at 50% 50%,
    rgba(8,23,46,.28) 0%,
    rgba(8,23,46,.10) 55%,
    transparent 85%
  );
  pointer-events: none;
}

/* Particle canvas */
.hero-atlas-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  will-change: transform;
}

/* GMG logo watermark — hero centered, static */
.hero-atlas-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(480px, 52vw, 820px);
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  user-select: none;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 50%, transparent 95%);
}
.hero-atlas-watermark img {
  width: 100%;
  height: auto;
  display: block;
  filter: invert(1) brightness(1.7) contrast(1.1);
  opacity: 1;
}

/* ---------- Centered content ---------- */
.hero-atlas-inner {
  position: relative;
  z-index: 5;
  max-width: 980px;
  width: 100%;
  padding: 60px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-atlas-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(10,163,224,.14);
  border: 1px solid rgba(10,163,224,.5);
  border-radius: 30px;
  color: #7dd3fc;
  font-family: var(--font);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(10,163,224,.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(12px);
}
.hero-atlas-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 8px rgba(125,211,252,.9);
}

/* Headline — line-by-line rise */
.hero-atlas-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.028em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 26px;
  max-width: 900px;
  position: relative;
  text-align: center;
}
.hero-atlas-title .atlas-line {
  display: block;
  overflow: hidden;
  opacity: 0;
  transform: translateY(100%);
}
.hero-atlas-title .atlas-word {
  display: inline-block;
  text-transform: uppercase;
}

/* Shimmer across headline, slow */
.hero-atlas.is-ready .hero-atlas-title {
  background: linear-gradient(
    100deg,
    #ffffff 0%,
    #ffffff 40%,
    #7dd3fc 50%,
    #ffffff 60%,
    #ffffff 100%
  );
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: atlasShimmer 14s ease-in-out 3s infinite;
}

.hero-atlas-sub {
  font-family: var(--font);
  font-size: 1.04rem;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  max-width: 760px;
  margin: 0 auto 24px;
  opacity: 0;
  transform: translateY(14px);
}

.hero-atlas-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4px;
  opacity: 0;
  transform: translateY(14px);
}

.hero-atlas-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  width: 100%;
  max-width: 640px;
  opacity: 0;
  transform: translateY(10px);
}
.hero-atlas-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .2px;
}
.hero-atlas-meta-item svg { color: #0aa3e0; flex-shrink: 0; }

/* ---------- Entrance choreography ---------- */
.hero-atlas.is-ready .hero-atlas-eyebrow {
  animation: atlasFadeUp .7s cubic-bezier(.2,.8,.2,1) .15s forwards;
}
.hero-atlas.is-ready .hero-atlas-title .atlas-line {
  animation: atlasLineRise .9s cubic-bezier(.22,.9,.3,1) forwards;
}
.hero-atlas.is-ready .hero-atlas-title .atlas-line:nth-child(1) { animation-delay: .30s; }
.hero-atlas.is-ready .hero-atlas-title .atlas-line:nth-child(2) { animation-delay: .48s; }
.hero-atlas.is-ready .hero-atlas-title .atlas-line:nth-child(3) { animation-delay: .66s; }

.hero-atlas.is-ready .hero-atlas-sub     { animation: atlasFadeUp .7s cubic-bezier(.2,.8,.2,1) .95s forwards; }
.hero-atlas.is-ready .hero-atlas-actions { animation: atlasFadeUp .7s cubic-bezier(.2,.8,.2,1) 1.10s forwards; }
.hero-atlas.is-ready .hero-atlas-meta    { animation: atlasFadeUp .7s cubic-bezier(.2,.8,.2,1) 1.25s forwards; }

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes atlasBgEnter {
  0%   { opacity: 0; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1.04); }
}
@keyframes atlasEcgDraw {
  0%   { stroke-dashoffset: 2400; opacity: 0; }
  8%   { opacity: 1; }
  62%  { stroke-dashoffset: 0; opacity: 1; }
  84%  { stroke-dashoffset: 0; opacity: .3; }
  100% { stroke-dashoffset: 2400; opacity: 0; }
}
@keyframes atlasEcgSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes atlasRingBreathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: .5; }
  50%      { transform: translate(-50%, -50%) scale(1.04); opacity: .8; }
}
@keyframes atlasFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes atlasLineRise {
  0%   { opacity: 0; transform: translateY(100%); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes atlasKenBurns {
  0%   { transform: scale(1.04) translate(0, 0) rotate(0deg); }
  100% { transform: scale(1.10) translate(-2%, -1.2%) rotate(-.4deg); }
}
@keyframes atlasShimmer {
  0%, 55%   { background-position: 100% 0; }
  75%, 100% { background-position: -120% 0; }
}

/* ============================================================
   Responsive — tablet
   ============================================================ */
@media (max-width: 1024px) {
  .hero-atlas {
    height: min(82vh, 720px);
    min-height: 580px;
  }
  .hero-atlas-inner { padding: 48px 22px; }
  .hero-atlas-title {
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    margin-bottom: 22px;
  }
  .hero-atlas-sub {
    font-size: .98rem;
    margin-bottom: 22px;
  }
  .hero-atlas-watermark { width: clamp(340px, 55vw, 560px); }
  .hero-atlas-ring-1 { width: 380px; height: 380px; }
  .hero-atlas-ring-2 { width: 540px; height: 540px; }
  .hero-atlas-ring-3 { display: none; }
  .hero-atlas-ecg svg { height: 180px; margin-top: -90px; }
}

/* ============================================================
   Responsive — mobile
   ============================================================ */
@media (max-width: 640px) {
  .hero-atlas {
    height: auto;
    min-height: 600px;
    padding: 60px 0 80px;
  }
  .hero-atlas-inner { padding: 40px 20px; }
  .hero-atlas-eyebrow {
    font-size: .68rem;
    padding: 6px 12px;
    margin-bottom: 18px;
  }
  .hero-atlas-title {
    font-size: 1.85rem;
    line-height: 1.12;
    margin-bottom: 18px;
  }
  .hero-atlas-sub {
    font-size: .94rem;
    line-height: 1.65;
    margin-bottom: 20px;
  }
  .hero-atlas-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 340px;
  }
  .hero-atlas-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-atlas-meta {
    margin-top: 20px;
    padding-top: 16px;
    gap: 10px 18px;
    max-width: 100%;
  }
  .hero-atlas-meta-item { font-size: .74rem; }
  .hero-atlas-watermark { width: 280px; opacity: .06; }
  .hero-atlas-ring-1 { width: 280px; height: 280px; }
  .hero-atlas-ring-2 { display: none; }
  .hero-atlas-ecg svg { height: 130px; margin-top: -65px; }
}

/* ============================================================
   Reduced motion — static, accessible
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-atlas-bg img,
  .hero-atlas-ecg svg,
  .hero-atlas-ecg path,
  .hero-atlas-ring,
  .hero-atlas-eyebrow,
  .hero-atlas-title,
  .hero-atlas-title .atlas-line,
  .hero-atlas-sub,
  .hero-atlas-actions,
  .hero-atlas-meta {
    animation: none !important;
  }
  .hero-atlas-bg img { opacity: 1 !important; transform: none !important; }
  .hero-atlas-eyebrow,
  .hero-atlas-title .atlas-line,
  .hero-atlas-sub,
  .hero-atlas-actions,
  .hero-atlas-meta {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-atlas.is-ready .hero-atlas-title {
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
  }
  .hero-atlas-particles { display: none !important; }
}



/* ============================================================
   Repair page — direct-contact-only panel
   ============================================================ */

.repair-contact-direct {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 0 22px;
}

.repair-contact-direct .direct-contact-buttons--hero {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.repair-contact-direct .direct-contact-btn {
  min-width: 160px;
  justify-content: center;
}

@media (max-width: 480px) {
  .repair-contact-direct .direct-contact-btn {
    flex: 1 1 100%;
    min-width: 0;
  }
}







/* ------------------------------------------------------------
   1. BRAND LOGOS — LARGER IN RESPONSIVE MODE
   ------------------------------------------------------------ */

/* Base (desktop) — give them enough room */
.brand-logo {
  min-height: 90px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
}

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .brands-wall {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px;
  }
  .brand-logo {
    min-height: 100px;
    padding: 10px;
  }
  .brand-logo img {
    max-height: 80px;
  }
}

/* Mobile (≤ 640px) — big enough to be legible */
@media (max-width: 640px) {
  .brands-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
  .brand-logo {
    min-height: 90px;
    padding: 8px;
  }
  .brand-logo img {
    max-height: 70px;
    max-width: 95%;
  }
  .brand-logo-text {
    font-size: 1.1rem;
  }
}

/* Very small (≤ 420px) */
@media (max-width: 420px) {
  .brand-logo {
    min-height: 80px;
  }
  .brand-logo img {
    max-height: 60px;
  }
}

/* ------------------------------------------------------------
   2. EXPERTISE CARDS ("What we supply") — CENTERED IN RESPONSIVE
   ------------------------------------------------------------ */

/* Base: cards keep their horizontal scroll */
.section-expertise .expertise-scroll {
  display: flex;
  gap: 22px;
  padding: 8px 22px 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.section-expertise .expertise-scroll::-webkit-scrollbar { display: none; }

.section-expertise .expertise-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  text-align: center; /* Center the text content inside */
}

/* Tablet — make scroll items slightly smaller, centered */
@media (max-width: 1024px) {
  .section-expertise .expertise-scroll {
    justify-content: flex-start;
    padding: 8px 16px 24px;
    gap: 16px;
  }
  .section-expertise .expertise-card {
    flex: 0 0 290px;
    padding: 26px 22px;
    text-align: center;
  }
}

/* Mobile — full-width centered cards, stack them vertically */
@media (max-width: 640px) {
  .section-expertise .expertise-scroll {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  .section-expertise .expertise-card {
    flex: none;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    padding: 24px 20px;
  }
  .section-expertise .expertise-num {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .section-expertise .expertise-card {
    padding: 20px 16px;
  }
}

/* ------------------------------------------------------------
   3. TOPBAR — PREVENT TOP CROP ON MOBILE
   ------------------------------------------------------------ */

/* Ensure the topbar area never collapses or scrolls away unexpectedly */
.topbar,
.topbar-abstract {
  overflow: hidden;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* The parent body must account for the topbar height */
body {
  padding-top: var(--total-top);
}

/* On tablets, ensure the fixed topbar doesn't crop */
@media (max-width: 1024px) {
  :root {
    --topbar-h: 34px;
    --total-top: calc(var(--topbar-h) + var(--header-h));
  }
  .topbar,
  .topbar-abstract {
    height: var(--topbar-h) !important;
    min-height: var(--topbar-h) !important;
  }
  body {
    padding-top: var(--total-top) !important;
  }
}

/* On phones, the topbar must remain fully visible */
@media (max-width: 640px) {
  :root {
    --topbar-h: 34px;
    --header-h: 74px;
    --total-top: calc(var(--topbar-h) + var(--header-h));
  }
  .topbar,
  .topbar-abstract {
    height: var(--topbar-h) !important;
    min-height: var(--topbar-h) !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .topbar-abstract-ecg,
  .topbar-abstract-dots {
    top: 0 !important;
    bottom: 0 !important;
  }
  body {
    padding-top: var(--total-top) !important;
  }
  /* Ensure nav drawer does not overlap topbar */
  body.nav-open .main-nav {
    margin-top: 0 !important;
  }
}

/* ------------------------------------------------------------
   4. NAVBAR RESPONSIVE — CLEAN SWITCH BETWEEN MODES
   ------------------------------------------------------------ */

/* Desktop ≥ 901px: centered, spaced nav */
@media (min-width: 901px) {
  .site-header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
  }
  .main-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    gap: 4px !important;
  }
  .main-nav .nav-cta {
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  .nav-toggle {
    display: none !important;
  }
}

/* Mobile ≤ 900px: hamburger drawer */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-soft);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
  }
  .main-nav {
    display: none !important;
  }
  body.nav-open .main-nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    flex: 1 0 100% !important;
    order: 3;
    padding: 12px 0 !important;
    background: #fff !important;
    border-top: 1px solid var(--border) !important;
    box-shadow: 0 12px 24px rgba(15,38,82,.10) !important;
    max-height: calc(100vh - var(--header-h) - var(--topbar-h)) !important;
    overflow-y: auto !important;
  }
  body.nav-open .main-nav > a,
  body.nav-open .main-nav .nav-dropdown-trigger {
    width: 100% !important;
    padding: 14px 20px !important;
    justify-content: space-between !important;
    font-size: .95rem !important;
    border-bottom: 1px solid var(--border) !important;
    color: var(--text) !important;
  }
  body.nav-open .main-nav .nav-cta {
    width: calc(100% - 40px) !important;
    margin: 14px 20px !important;
    justify-content: center !important;
  }
  body.nav-open .main-nav .nav-cta-text { display: inline !important; }
  body.nav-open .main-nav .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f5f8fc !important;
    padding: 6px 0 10px !important;
    pointer-events: auto !important;
  }
  body.nav-open .main-nav .nav-dropdown-menu a {
    display: block !important;
    padding: 12px 20px 12px 36px !important;
    border-bottom: 1px dashed var(--border) !important;
    font-size: .88rem !important;
    color: var(--text-soft) !important;
  }
  body.nav-open .main-nav .nav-dropdown-menu a:hover {
    background: var(--bg-ice) !important;
    color: var(--navy) !important;
  }
}

/* ------------------------------------------------------------
   5. SHOP FILTERS — FULLY RESPONSIVE & SEARCH/FILTER READY
   ------------------------------------------------------------ */

/* Desktop: sticky sidebar next to results */
@media (min-width: 961px) {
  .filter-sidebar {
    position: sticky !important;
    top: calc(var(--total-top) + 20px) !important;
    max-height: calc(100vh - var(--total-top) - 40px) !important;
    overflow-y: auto !important;
    z-index: 1 !important;
  }
  .filter-open-mobile,
  .filter-close-mobile,
  .filters-backdrop {
    display: none !important;
  }
}

/* Mobile/Tablet: drawer with backdrop */
@media (max-width: 960px) {
  body.filters-open {
    overflow: hidden !important;
    height: 100vh !important;
  }
  .filter-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 340px !important;
    max-width: 88vw !important;
    height: 100vh !important;
    background: #fff !important;
    border-right: 1px solid var(--border) !important;
    padding: 70px 22px 60px !important;
    margin: 0 !important;
    transform: translateX(-100%) !important;
    transition: transform .3s ease !important;
    z-index: 300 !important;
    overflow-y: auto !important;
  }
  body.filters-open .filter-sidebar {
    transform: translateX(0) !important;
    box-shadow: 4px 0 24px rgba(8,23,46,.22) !important;
  }
  .filters-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8,23,46,.45);
    z-index: 199;
  }
  body.filters-open .filters-backdrop {
    display: block !important;
  }
  .filter-close-mobile {
    display: none;
  }
  body.filters-open .filter-close-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 14px;
    left: 282px;
    width: 40px;
    height: 40px;
    background: var(--navy-deep);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    z-index: 400;
    box-shadow: 0 4px 12px rgba(15,38,82,.25);
  }
  body.filters-open .filter-close-mobile svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
  }
  .filter-open-mobile {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .84rem;
    cursor: pointer;
  }
  .shop-layout-v2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .shop-results { grid-column: 1 !important; }
}

/* Small phones: X shifts right */
@media (max-width: 480px) {
  body.filters-open .filter-close-mobile {
    left: auto;
    right: 14px;
  }
}

/* ------------------------------------------------------------
   6. REQUEST A VISIT — WHATSAPP CTA ONLY (no broken form)
   ------------------------------------------------------------ */

/* Hide any leftover "Request a visit" form buttons */
.warehouse-visit-form-wrap,
.warehouse-visit-form {
  display: none !important;
}

/* Make the warehouse actions row centered on mobile */
.warehouse-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 640px) {
  .warehouse-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .warehouse-actions .btn {
    width: 100%;
    justify-content: center;
  }
}




/* ------------------------------------------------------------
   1. BRAND LOGOS — LARGER IN RESPONSIVE MODE
   ------------------------------------------------------------ */

/* Base (desktop) — give them enough room */
.brand-logo {
  min-height: 90px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
}

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .brands-wall {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px;
  }
  .brand-logo {
    min-height: 100px;
    padding: 10px;
  }
  .brand-logo img {
    max-height: 80px;
  }
}

/* Mobile (≤ 640px) — big enough to be legible */
@media (max-width: 640px) {
  .brands-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
  .brand-logo {
    min-height: 90px;
    padding: 8px;
  }
  .brand-logo img {
    max-height: 70px;
    max-width: 95%;
  }
  .brand-logo-text {
    font-size: 1.1rem;
  }
}

/* Very small (≤ 420px) */
@media (max-width: 420px) {
  .brand-logo {
    min-height: 80px;
  }
  .brand-logo img {
    max-height: 60px;
  }
}

/* ------------------------------------------------------------
   2. EXPERTISE CARDS ("What we supply") — CENTERED IN RESPONSIVE
   ------------------------------------------------------------ */

/* Base: cards keep their horizontal scroll */
.section-expertise .expertise-scroll {
  display: flex;
  gap: 22px;
  padding: 8px 22px 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.section-expertise .expertise-scroll::-webkit-scrollbar { display: none; }

.section-expertise .expertise-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  text-align: center; /* Center the text content inside */
}

/* Tablet — make scroll items slightly smaller, centered */
@media (max-width: 1024px) {
  .section-expertise .expertise-scroll {
    justify-content: flex-start;
    padding: 8px 16px 24px;
    gap: 16px;
  }
  .section-expertise .expertise-card {
    flex: 0 0 290px;
    padding: 26px 22px;
    text-align: center;
  }
}

/* Mobile — full-width centered cards, stack them vertically */
@media (max-width: 640px) {
  .section-expertise .expertise-scroll {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  .section-expertise .expertise-card {
    flex: none;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    padding: 24px 20px;
  }
  .section-expertise .expertise-num {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
  }
}

/* Very small phones */
@media (max-width: 420px) {
  .section-expertise .expertise-card {
    padding: 20px 16px;
  }
}

/* ------------------------------------------------------------
   3. TOPBAR — PREVENT TOP CROP ON MOBILE
   ------------------------------------------------------------ */

/* Ensure the topbar area never collapses or scrolls away unexpectedly */
.topbar,
.topbar-abstract {
  overflow: hidden;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* The parent body must account for the topbar height */
body {
  padding-top: var(--total-top);
}

/* On tablets, ensure the fixed topbar doesn't crop */
@media (max-width: 1024px) {
  :root {
    --topbar-h: 34px;
    --total-top: calc(var(--topbar-h) + var(--header-h));
  }
  .topbar,
  .topbar-abstract {
    height: var(--topbar-h) !important;
    min-height: var(--topbar-h) !important;
  }
  body {
    padding-top: var(--total-top) !important;
  }
}

/* On phones, the topbar must remain fully visible */
@media (max-width: 640px) {
  :root {
    --topbar-h: 34px;
    --header-h: 74px;
    --total-top: calc(var(--topbar-h) + var(--header-h));
  }
  .topbar,
  .topbar-abstract {
    height: var(--topbar-h) !important;
    min-height: var(--topbar-h) !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .topbar-abstract-ecg,
  .topbar-abstract-dots {
    top: 0 !important;
    bottom: 0 !important;
  }
  body {
    padding-top: var(--total-top) !important;
  }
  /* Ensure nav drawer does not overlap topbar */
  body.nav-open .main-nav {
    margin-top: 0 !important;
  }
}

/* ------------------------------------------------------------
   4. NAVBAR RESPONSIVE — CLEAN SWITCH BETWEEN MODES
   ------------------------------------------------------------ */

/* Desktop ≥ 901px: centered, spaced nav */
@media (min-width: 901px) {
  .site-header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
  }
  .main-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 auto !important;
    gap: 4px !important;
  }
  .main-nav .nav-cta {
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  .nav-toggle {
    display: none !important;
  }
}

/* Mobile ≤ 900px: hamburger drawer */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-soft);
    border-radius: 8px;
    color: var(--text);
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
  }
  .main-nav {
    display: none !important;
  }
  body.nav-open .main-nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    flex: 1 0 100% !important;
    order: 3;
    padding: 12px 0 !important;
    background: #fff !important;
    border-top: 1px solid var(--border) !important;
    box-shadow: 0 12px 24px rgba(15,38,82,.10) !important;
    max-height: calc(100vh - var(--header-h) - var(--topbar-h)) !important;
    overflow-y: auto !important;
  }
  body.nav-open .main-nav > a,
  body.nav-open .main-nav .nav-dropdown-trigger {
    width: 100% !important;
    padding: 14px 20px !important;
    justify-content: space-between !important;
    font-size: .95rem !important;
    border-bottom: 1px solid var(--border) !important;
    color: var(--text) !important;
  }
  body.nav-open .main-nav .nav-cta {
    width: calc(100% - 40px) !important;
    margin: 14px 20px !important;
    justify-content: center !important;
  }
  body.nav-open .main-nav .nav-cta-text { display: inline !important; }
  body.nav-open .main-nav .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f5f8fc !important;
    padding: 6px 0 10px !important;
    pointer-events: auto !important;
  }
  body.nav-open .main-nav .nav-dropdown-menu a {
    display: block !important;
    padding: 12px 20px 12px 36px !important;
    border-bottom: 1px dashed var(--border) !important;
    font-size: .88rem !important;
    color: var(--text-soft) !important;
  }
  body.nav-open .main-nav .nav-dropdown-menu a:hover {
    background: var(--bg-ice) !important;
    color: var(--navy) !important;
  }
}

/* ------------------------------------------------------------
   5. SHOP FILTERS — FULLY RESPONSIVE & SEARCH/FILTER READY
   ------------------------------------------------------------ */

/* Desktop: sticky sidebar next to results */
@media (min-width: 961px) {
  .filter-sidebar {
    position: sticky !important;
    top: calc(var(--total-top) + 20px) !important;
    max-height: calc(100vh - var(--total-top) - 40px) !important;
    overflow-y: auto !important;
    z-index: 1 !important;
  }
  .filter-open-mobile,
  .filter-close-mobile,
  .filters-backdrop {
    display: none !important;
  }
}

/* Mobile/Tablet: drawer with backdrop */
@media (max-width: 960px) {
  body.filters-open {
    overflow: hidden !important;
    height: 100vh !important;
  }
  .filter-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 340px !important;
    max-width: 88vw !important;
    height: 100vh !important;
    background: #fff !important;
    border-right: 1px solid var(--border) !important;
    padding: 70px 22px 60px !important;
    margin: 0 !important;
    transform: translateX(-100%) !important;
    transition: transform .3s ease !important;
    z-index: 300 !important;
    overflow-y: auto !important;
  }
  body.filters-open .filter-sidebar {
    transform: translateX(0) !important;
    box-shadow: 4px 0 24px rgba(8,23,46,.22) !important;
  }
  .filters-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8,23,46,.45);
    z-index: 199;
  }
  body.filters-open .filters-backdrop {
    display: block !important;
  }
  .filter-close-mobile {
    display: none;
  }
  body.filters-open .filter-close-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 14px;
    left: 282px;
    width: 40px;
    height: 40px;
    background: var(--navy-deep);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    z-index: 400;
    box-shadow: 0 4px 12px rgba(15,38,82,.25);
  }
  body.filters-open .filter-close-mobile svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
  }
  .filter-open-mobile {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .84rem;
    cursor: pointer;
  }
  .shop-layout-v2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .shop-results { grid-column: 1 !important; }
}

/* Small phones: X shifts right */
@media (max-width: 480px) {
  body.filters-open .filter-close-mobile {
    left: auto;
    right: 14px;
  }
}

/* ------------------------------------------------------------
   6. REQUEST A VISIT — WHATSAPP CTA ONLY (no broken form)
   ------------------------------------------------------------ */

/* Hide any leftover "Request a visit" form buttons */
.warehouse-visit-form-wrap,
.warehouse-visit-form {
  display: none !important;
}

/* Make the warehouse actions row centered on mobile */
.warehouse-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 640px) {
  .warehouse-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .warehouse-actions .btn {
    width: 100%;
    justify-content: center;
  }
}





/* ============================================================
   FINAL MOBILE NAV FIX — VISIBLE TEXT, NO JUMPING
   ============================================================ */

@media (max-width: 900px) {
  
  /* 1. Stop all animations to prevent the "jump" effect */
  body.nav-open .main-nav,
  body.nav-open .main-nav *,
  body.nav-open .main-nav *::before,
  body.nav-open .main-nav *::after {
    transition: none !important;
    animation: none !important;
  }

  /* 2. Force the main dropdown container to have a light background */
  body.nav-open .main-nav .nav-dropdown-menu {
    display: block !important;
    position: static !important;
    background-color: #f5f8fc !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    height: auto !important;
    max-height: none !important;
  }

  /* 3. Fix the invisible links — force dark text, normal height */
  body.nav-open .main-nav .nav-dropdown-menu > a {
    display: flex !important;
    align-items: center !important;
    
    /* Force the text to be dark and visible */
    color: #0a1c33 !important; 
    -webkit-text-fill-color: #0a1c33 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    
    /* Reset the broken heights that caused the empty boxes */
    height: auto !important;
    min-height: 48px !important;
    line-height: 1.4 !important; 
    padding: 12px 20px 12px 36px !important; 
    margin: 0 !important;
    
    /* Visual divider */
    border-bottom: 1px dashed #dde5ee !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    white-space: normal !important;
    text-decoration: none !important;
    
    /* Prevent jumping on hover */
    transform: none !important;
  }

  /* 4. Hover state (no movement, just background change) */
  body.nav-open .main-nav .nav-dropdown-menu > a:hover,
  body.nav-open .main-nav .nav-dropdown-menu > a:active {
    background-color: #eaf2f9 !important;
    color: #0f2652 !important;
    -webkit-text-fill-color: #0f2652 !important;
    padding-left: 36px !important; /* Keeps it perfectly still */
  }

  /* 5. Fix the main "Equipment" button so it doesn't jump */
  body.nav-open .main-nav .nav-dropdown-trigger {
    color: #0a1c33 !important;
    -webkit-text-fill-color: #0a1c33 !important;
    padding: 14px 20px !important;
  }
  
  body.nav-open .main-nav .nav-dropdown-trigger:hover,
  body.nav-open .main-nav .nav-dropdown-trigger:active {
    padding-left: 20px !important; /* Keeps it perfectly still */
    background-color: #ffffff !important;
  }
}


/* ============================================================
   FIX: ONE-TAP MOBILE NAVIGATION (No Hover Required)
   ============================================================ */

@media (max-width: 900px) {
  
  /* 1. Kill the hover trigger for mobile */
  body.nav-open .main-nav .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1 !important; 
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  /* 2. Force the dropdown menu to be a static block inside the drawer */
  body.nav-open .main-nav .nav-dropdown-menu {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    border: none !important;
    background: #f5f8fc !important;
    padding: 0 !important;
  }

  /* 3. Force the trigger (Equipment) to act like a normal button */
  body.nav-open .main-nav .nav-dropdown-trigger {
    display: flex !important;
    width: 100% !important;
    justify-content: space-between !important;
    pointer-events: auto !important; /* Make sure it's clickable */
    cursor: pointer !important;
  }

  /* 4. Ensure the sub-links are visible and clickable */
  body.nav-open .main-nav .nav-dropdown-menu > a {
    display: flex !important;
    width: 100% !important;
    pointer-events: auto !important; /* Ensure they can be tapped */
    padding: 12px 20px 12px 36px !important;
  }
}



/* Premium Hover Lift for all main cards */
.product-card, 
.category-tile, 
.news-teaser-card, 
.expertise-card, 
.team-card {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

.product-card:hover, 
.category-tile:hover, 
.news-teaser-card:hover, 
.expertise-card:hover, 
.team-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(15, 38, 82, 0.12) !important;
}



/* ============================================================
   HERO BANNER — clean responsive replacement
   Placed at end so it wins over the old .hero-atlas/.hero-single
   ============================================================ */

/* 1. Old hero blocks are no longer used in markup —
      hide them defensively in case any template still references them. */
.hero-atlas,
.hero-single,
.hero-slider {
  display: none !important;
}

/* 2. New hero banner */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 600px;
  height: clamp(560px, 78vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #08172e;
  isolation: isolate;
}

/* Background photo */
.hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Gradient overlay for legibility */
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(8, 23, 46, 0.88) 0%,
    rgba(15, 38, 82, 0.72) 45%,
    rgba(10, 163, 224, 0.35) 100%
  );
  pointer-events: none;
}

/* Content container */
.hero-banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 22px;
  color: #fff;
}

/* Eyebrow */
.hero-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(10, 163, 224, 0.14);
  border: 1px solid rgba(10, 163, 224, 0.5);
  border-radius: 30px;
  color: #7dd3fc;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(10, 163, 224, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 22px;
}
.hero-banner-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 8px rgba(125, 211, 252, 0.9);
}

/* Title */
.hero-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 22px;
  max-width: 900px;
}

/* Subtitle */
.hero-banner-sub {
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 0 32px;
}

/* Actions */
.hero-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

/* Meta chips */
.hero-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 640px;
}
.hero-banner-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.2px;
}
.hero-banner-meta-item svg {
  color: #0aa3e0;
  flex-shrink: 0;
}

/* ============================================================
   HERO BANNER — Responsive
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-banner {
    min-height: 540px;
    height: clamp(520px, 72vh, 640px);
  }
  .hero-banner-inner {
    padding: 48px 22px;
  }
  .hero-banner-title {
    font-size: clamp(1.8rem, 4.4vw, 2.8rem);
  }
  .hero-banner-sub {
    font-size: 0.96rem;
    margin-bottom: 28px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero-banner {
    height: auto;
    min-height: 0;
    padding: 0;
  }
  .hero-banner-inner {
    padding: 56px 20px 64px;
  }
  .hero-banner-eyebrow {
    font-size: 0.68rem;
    padding: 6px 12px;
    margin-bottom: 18px;
  }
  .hero-banner-title {
    font-size: 1.85rem;
    line-height: 1.14;
    margin-bottom: 18px;
  }
  .hero-banner-sub {
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .hero-banner-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-banner-meta {
    margin-top: 20px;
    padding-top: 16px;
    gap: 10px 18px;
  }
  .hero-banner-meta-item {
    font-size: 0.76rem;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero-banner-inner {
    padding: 44px 16px 52px;
  }
  .hero-banner-title {
    font-size: 1.65rem;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-banner *,
  .hero-banner *::before,
  .hero-banner *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   HERO BANNER — slow Ken Burns zoom on the background image
   ============================================================ */

.hero-banner-bg img {
  /* Start slightly zoomed and drift in — feels alive, not busy */
  transform: scale(1.08);
  transform-origin: center center;
  animation: heroBannerZoom 24s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroBannerZoom {
  0%   { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.18) translate(-1.2%, -1%); }
}

/* Slightly gentler on smaller screens so it doesn't feel jittery */
@media (max-width: 640px) {
  .hero-banner-bg img {
    transform: scale(1.06);
    animation-duration: 30s;
  }
  @keyframes heroBannerZoom {
    0%   { transform: scale(1.06) translate(0, 0); }
    100% { transform: scale(1.14) translate(-1%, -0.8%); }
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-banner-bg img {
    animation: none !important;
    transform: scale(1.08) !important;
  }
}


/* ============================================================
   PRODUCT IMAGE ZOOM — hover magnifier + click lightbox
   ============================================================ */

.product-gallery-main {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
}

.product-gallery-main #main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* ---------- Magnifier lens ---------- */
.zoom-lens {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 2px solid var(--sky, #0aa3e0);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  background-repeat: no-repeat;
  box-shadow: 0 8px 24px rgba(15, 38, 82, 0.25);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
  display: none;
}

.product-gallery-main.is-zooming .zoom-lens {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Zoom result panel ---------- */
.zoom-result {
  position: absolute;
  top: 0;
  left: calc(100% + 20px);
  width: 480px;
  height: 480px;
  background-color: #fff;
  background-repeat: no-repeat;
  border: 1px solid var(--border, #dde5ee);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(15, 38, 82, 0.18);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  display: none;
}

.product-gallery-main.is-zooming .zoom-result {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Hint badge ---------- */
.zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(15, 38, 82, 0.82);
  color: #fff;
  font-family: var(--font, 'Inter', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s ease;
  z-index: 4;
}

.product-gallery-main.is-zooming .zoom-hint {
  opacity: 0;
}

.zoom-hint svg { flex-shrink: 0; opacity: 0.9; }

/* ---------- Lightbox ---------- */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 23, 46, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: fadeIn 0.25s ease;
  cursor: zoom-out;
}

.image-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: default;
}

.image-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ---------- Disable hover zoom on touch ---------- */
@media (hover: none), (pointer: coarse) {
  .zoom-lens,
  .zoom-result {
    display: none !important;
  }
  .product-gallery-main {
    cursor: pointer;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .zoom-result { width: 420px; height: 420px; }
}

@media (max-width: 1200px) {
  .zoom-result { width: 380px; height: 380px; }
}

/* Below 1024px: zoom panel goes *inside* the gallery (no overflow) */
@media (max-width: 1024px) and (hover: hover) and (pointer: fine) {
  .zoom-result {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zoom-lens,
  .zoom-result,
  .image-lightbox,
  .image-lightbox img {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   CARRIER CHIPS — BIGGER, UNIFIED, FULL COLOR
   ============================================================ */

/* The main pill container */
.carrier-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 16px !important; /* More space between logo and text */
  padding: 14px 24px 14px 16px !important; /* Bigger padding all around */
  border-radius: 50px !important; 
  background: #ffffff !important; /* Clean white background */
  border: 1px solid color-mix(in srgb, var(--chip-accent, #0aa3e0) 25%, #ffffff) !important;
  transition: all .3s var(--ease) !important;
  cursor: default;
}

.carrier-chip:hover {
  border-color: var(--chip-accent, #0aa3e0) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--chip-accent, #0aa3e0) 15%, transparent);
}

/* The logo inside the pill (FULL COLOR) */
.chip-logo {
  width: auto !important;
  height: 38px !important; /* Much bigger logo */
  object-fit: contain !important;
  flex-shrink: 0;
  /* This helps blend logos that might have a white box around them */
  mix-blend-mode: multiply; 
}

/* The text container inside the pill */
.chip-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  line-height: 1.1 !important;
}

.carrier-chip strong {
  font-family: var(--font) !important;
  font-size: 1.05rem !important; /* Bigger text */
  font-weight: 800 !important;
  color: var(--text-main, #0f2652) !important; 
  letter-spacing: -.02em !important;
}

.carrier-chip em {
  font-style: normal !important;
  font-size: .76rem !important; /* Bigger subtext */
  font-weight: 600 !important;
  color: var(--text-muted, #64748b) !important;
  letter-spacing: .3px !important;
  text-transform: uppercase !important;
}

/* Carrier Specific Accent Colors */
.carrier-chip[data-carrier="dhl"]    { --chip-accent: #d40511; }
.carrier-chip[data-carrier="fedex"]  { --chip-accent: #4d148c; }
.carrier-chip[data-carrier="ups"]    { --chip-accent: #7a4a15; }
.carrier-chip[data-carrier="aramex"] { --chip-accent: #d71e28; }

/* Tablet Adjustments */
@media (max-width: 1024px) {
  .carrier-chips { gap: 14px !important; }
  .carrier-chip { padding: 12px 20px 12px 14px !important; gap: 12px !important; }
  .chip-logo { height: 32px !important; }
  .carrier-chip strong { font-size: .95rem !important; }
}

/* Mobile Adjustments */
@media (max-width: 640px) {
  .carrier-chips { gap: 10px !important; }
  .carrier-chip { 
    padding: 10px 16px 10px 12px !important; 
    gap: 10px !important; 
    width: 100%; /* Makes them stack nicely on phones */
    justify-content: flex-start;
  }
  .chip-logo { height: 28px !important; }
  .carrier-chip strong { font-size: .9rem !important; }
  .carrier-chip em     { font-size: .68rem !important; }
}