/* ============================================================
   STPL Scientific — Main Stylesheet
   Colors: Navy #003366 | Amber #E8A020 | BG #F5F7FA | Text #1A1A2E
   Fonts:  DM Serif Display (headings) | Outfit (body)
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #003366;
  --navy-dark: #002244;
  --navy-mid:  #004080;
  --amber:     #E8A020;
  --amber-dark:#C5871A;
  --bg:        #F5F7FA;
  --bg-white:  #FFFFFF;
  --text:      #1A1A2E;
  --text-muted:#6B7280;
  --border:    #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --radius:    8px;
  --radius-lg: 12px;
  --transition:150ms ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
  color: var(--navy);
}

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber-dark); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* ── Buttons — Premium ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .65em 1.6em;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
  letter-spacing: .02em;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm  { padding: .4em 1.1em; font-size: .83rem; }
.btn-lg  { padding: .8em 2.2em; font-size: 1.05rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0,51,102,.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: #fff;
  box-shadow: 0 8px 28px rgba(0,51,102,.45);
}

.btn-accent {
  background: linear-gradient(135deg, #E8A020, #f5c050);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(232,160,32,.35);
}
.btn-accent:hover {
  background: linear-gradient(135deg, #C5871A, #E8A020);
  color: #fff;
  box-shadow: 0 8px 28px rgba(232,160,32,.5);
}

.btn-outline-primary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: none;
}
.btn-outline-primary:hover {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,51,102,.3);
}

.btn-outline-accent {
  background: transparent;
  color: var(--amber-dark);
  border-color: var(--amber);
  box-shadow: none;
}
.btn-outline-accent:hover {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 6px 20px rgba(232,160,32,.4);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
  box-shadow: none;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.85);
  color: #fff;
}

/* Amber outline — for dark section CTAs */
.btn-outline-amber {
  background: transparent;
  color: var(--amber);
  border-color: rgba(232,160,32,.6);
  box-shadow: none;
}
.btn-outline-amber:hover {
  background: var(--amber);
  color: var(--navy-dark);
  border-color: var(--amber);
  box-shadow: 0 6px 24px rgba(232,160,32,.4);
}

/* ── Header / Nav — Premium ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 0 var(--border);
  border-bottom: 2px solid var(--amber);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 4px 24px rgba(0,51,102,.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .75rem;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.logo-img  { height: 48px; width: auto; }
.logo-text {
  font-family: 'DM Serif Display', serif;
  font-size: 1.55rem;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -.01em;
}
.logo-accent {
  background: linear-gradient(135deg, var(--amber), #f5c050);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  border-radius: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav > ul { display: flex; align-items: center; gap: .15rem; }

.main-nav ul a {
  display: block;
  padding: .48rem .82rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .93rem;
  color: var(--text);
  position: relative;
  transition: color .2s ease, background .2s ease;
}
.main-nav ul a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: .82rem;
  right: .82rem;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .25s ease;
  transform-origin: left;
}
.main-nav ul a:hover { color: var(--navy); background: rgba(0,51,102,.04); }
.main-nav ul a:hover::after { transform: scaleX(1); }
.main-nav ul a.active { color: var(--navy); }
.main-nav ul a.active::after { transform: scaleX(1); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + .6rem);
  left: 0;
  min-width: 230px;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,51,102,.15), 0 2px 8px rgba(0,0,0,.06);
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber);
  padding: .6rem;
  z-index: 200;
}
.dropdown li a {
  border-radius: 8px;
  font-weight: 500;
  padding: .5rem .85rem;
  font-size: .9rem;
  transition: background .2s, color .2s, padding-left .2s;
}
.dropdown li a:hover {
  background: rgba(0,51,102,.05);
  color: var(--navy);
  padding-left: 1.1rem;
}
.dropdown li a::after { display: none; }
.dropdown .dropdown-all a {
  border-top: 1px solid var(--border);
  margin-top: .5rem;
  padding-top: .75rem;
  font-weight: 700;
  color: var(--navy);
}
.has-dropdown:hover .dropdown { display: block; }

.nav-cta { margin-left: .5rem; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding-block: 3.5rem; }
.bg-light { background: var(--bg); }
.bg-white { background: var(--bg-white); }

.section-header { text-align: center; margin-bottom: 2.25rem; }
.section-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--amber-dark);
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  color: var(--navy);
  margin-bottom: .6rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), #ffe080);
  border-radius: 2px;
  margin: .5rem auto 0;
}
.section-sub { color: var(--text-muted); max-width: 600px; margin-inline: auto; font-size: 1.02rem; line-height: 1.7; }
.section-cta { text-align: center; margin-top: 2rem; }

/* ── Hero — Premium Two-Column ────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: url('../images/premium_lab_bg.png') no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

/* Particle canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Overlay radial glow */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 13, 31, 0.85) 0%, rgba(0, 26, 61, 0.65) 40%, rgba(0, 45, 102, 0.45) 100%),
    radial-gradient(ellipse at 55% 40%, rgba(232,160,32,.25) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(0,80,180,.30) 0%, transparent 50%);
  z-index: 0;
}

/* Decorative orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  top: -120px; right: 5%;
  background: radial-gradient(circle, rgba(0,60,140,.5) 0%, transparent 70%);
  animation: orbPulse 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  bottom: -60px; left: 10%;
  background: radial-gradient(circle, rgba(232,160,32,.12) 0%, transparent 70%);
  animation: orbPulse 10s ease-in-out infinite reverse;
}
@keyframes orbPulse {
  0%,100% { transform: scale(1) translateY(0); opacity: .8; }
  50%      { transform: scale(1.15) translateY(-20px); opacity: 1; }
}

/* Inner two-column layout */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 4rem;
}

/* ── Left: Text ── */
.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: .65rem;
  animation: fadeInUp .6s ease both;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(232,160,32,.8);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 8px rgba(232,160,32,.7); }
  50%      { box-shadow: 0 0 20px rgba(232,160,32,1); }
}
.hero-eyebrow {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0;
}

.hero-headline {
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  color: #fff;
  line-height: 1.12;
  font-family: 'DM Serif Display', serif;
  animation: fadeInUp .7s .15s ease both;
}
.hero-headline em {
  color: var(--amber);
  font-style: italic;
  background: linear-gradient(90deg, #E8A020, #ffe17a, #E8A020);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3s linear infinite;
}
@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  max-width: 520px;
  line-height: 1.75;
  animation: fadeInUp .7s .3s ease both;
}

/* Trust badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  animation: fadeInUp .7s .45s ease both;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38em .9em;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  letter-spacing: .03em;
  transition: background .25s, border-color .25s;
}
.hero-badge i { color: var(--amber); font-size: .75rem; }
.hero-badge:hover {
  background: rgba(232,160,32,.12);
  border-color: rgba(232,160,32,.4);
}

/* CTA Buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp .7s .6s ease both;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .82em 2em;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #E8A020, #f5c050, #c5871a);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 6px 30px rgba(232,160,32,.45), 0 2px 8px rgba(0,0,0,.3);
  transition: background-position .4s ease, transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-hero-primary:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(232,160,32,.55), 0 4px 16px rgba(0,0,0,.3);
  color: #fff;
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8em 2em;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  background: transparent;
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  transition: all .25s ease;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Hero entrance keyframes ──────────────────────────────── */
@keyframes glowPulse {
  0%,100% { transform: scale(1); opacity: .8; }
  50%      { transform: scale(1.2); opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Hero Image Frame ─────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight .9s .3s ease both;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* Decorative rotating rings */
.hero-img-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(232,160,32,.18);
  pointer-events: none;
}
.hero-img-ring-1 {
  width: 420px; height: 420px;
  animation: ringRotate 18s linear infinite;
}
.hero-img-ring-2 {
  width: 340px; height: 340px;
  border-color: rgba(255,255,255,.07);
  animation: ringRotate 12s linear infinite reverse;
}
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Main blob-shaped image container */
.hero-img-frame {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border: 1.5px solid rgba(255,255,255,.15);
  box-shadow:
    0 30px 80px rgba(0,0,0,.55),
    0 0 60px rgba(232,160,32,.12),
    inset 0 1px 0 rgba(255,255,255,.15);
  animation: blobFloat 8s ease-in-out infinite, blobMorph 12s ease-in-out infinite;
}
@keyframes blobFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-14px); }
}
@keyframes blobMorph {
  0%,100% { border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%; }
  25%      { border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%; }
  50%      { border-radius: 45% 55% 60% 40% / 45% 55% 50% 50%; }
  75%      { border-radius: 55% 45% 45% 55% / 60% 40% 55% 45%; }
}

.hero-instruments-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
  display: block;
}
.hero-img-frame:hover .hero-instruments-img {
  transform: scale(1.06);
}

/* Subtle gradient overlay at bottom of image */
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,15,40,.5) 0%,
    rgba(0,15,40,.1) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* Third floating badge */
.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55em 1em;
  background: rgba(10,20,50,.9);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  z-index: 10;
}
.hero-float-badge i { color: var(--amber); font-size: .8rem; }

.hero-float-1 {
  top: 6%;
  right: -20px;
  animation: floatBadge1 5s ease-in-out infinite;
}
.hero-float-2 {
  bottom: 10%;
  left: -20px;
  animation: floatBadge2 6s ease-in-out infinite;
}
.hero-float-3 {
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  animation: floatBadge1 7s 1s ease-in-out infinite;
}
@keyframes floatBadge1 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes floatBadge2 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* Glow behind image */
.hero-card-glow {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,.15) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 0;
}



/* ── Stats Bar — Premium ─────────────────────────────────── */
.stats-bar {
  position: relative;
  background: linear-gradient(135deg, #001a3d 0%, #002a5c 40%, #003878 70%, #001f4a 100%);
  padding-block: 2rem;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(232,160,32,.13) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(232,160,32,.10) 0%, transparent 55%);
  pointer-events: none;
}
.stats-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), #ffe17a, var(--amber), transparent);
  animation: shimmerLine 3s ease-in-out infinite;
}
@keyframes shimmerLine {
  0%,100% { opacity: .6; }
  50%      { opacity: 1; }
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  z-index: 1;
}

.stat-item {
  position: relative;
  color: #fff;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  margin: .4rem;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(232,160,32,.06) 0%, transparent 65%);
  pointer-events: none;
}
.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.07);
  box-shadow: 0 12px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(232,160,32,.25);
}

.stat-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232,160,32,.25), rgba(232,160,32,.08));
  border: 1.5px solid rgba(232,160,32,.35);
  font-size: 1.2rem;
  color: var(--amber);
  margin-bottom: .25rem;
  box-shadow: 0 0 18px rgba(232,160,32,.15);
  transition: box-shadow .3s ease, background .3s ease;
}
.stat-item:hover .stat-icon {
  background: linear-gradient(135deg, rgba(232,160,32,.45), rgba(232,160,32,.2));
  box-shadow: 0 0 28px rgba(232,160,32,.35);
}

.stat-number {
  display: block;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-family: 'DM Serif Display', serif;
  color: var(--amber);
  line-height: 1;
  text-shadow: 0 0 20px rgba(232,160,32,.4), 0 2px 8px rgba(0,0,0,.3);
  letter-spacing: -.02em;
}

.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stat-suffix {
  font-size: 1.5rem;
  font-family: 'DM Serif Display', serif;
  color: var(--amber);
  line-height: 1;
  margin-top: -.4rem;
  text-shadow: 0 0 14px rgba(232,160,32,.4);
}

.stat-divider {
  display: none; /* hidden — replaced by card borders */
}

/* ── Principals Logo Grid — Premium ──────────────────────── */
.principals-section {
  position: relative;
  background: var(--bg-white);
}

.principals-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.principal-logo-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 96px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.principal-logo-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -60%;
  width: 60%;
  height: 250%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.50) 50%, transparent 70%);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.principal-logo-card:hover::before { left: 130%; }
.principal-logo-card:hover {
  border-color: rgba(232,160,32,.35);
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 48px rgba(0,51,102,.12), 0 0 0 1px rgba(232,160,32,.15);
}
.principal-logo-card img { max-width: 100%; max-height: 64px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: opacity .3s ease, filter .3s ease, transform .3s ease; }
.principal-logo-card:hover img { opacity: 1; filter: grayscale(0); transform: scale(1.05); }
.principal-name-placeholder {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
  letter-spacing: .04em;
}

/* ── Categories Grid — Premium ────────────────────────────── */
.categories-section {
  position: relative;
  background:
    radial-gradient(circle, rgba(0,51,102,.06) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px, 100%;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}
.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem 1.25rem 1.75rem;
  text-align: center;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
  color: var(--text);
  text-decoration: none;
}
/* Shimmer shine on hover */
.category-card-shine {
  position: absolute;
  top: -100%;
  left: -75%;
  width: 55%;
  height: 300%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: skewX(-20deg);
  transition: left .65s ease;
  pointer-events: none;
}
.category-card:hover .category-card-shine { left: 140%; }

/* Top accent bar that grows on hover */
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--amber), var(--navy-mid));
  background-size: 200% auto;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  border-radius: 20px 20px 0 0;
}
.category-card:hover::before { transform: scaleX(1); }

/* Glow shadow on hover */
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(0,51,102,.14), 0 4px 16px rgba(0,0,0,.06);
  border-color: rgba(232,160,32,.3);
  color: var(--navy);
}

/* Icon container */
.category-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(0,51,102,.08), rgba(0,64,128,.04));
  border: 1.5px solid rgba(0,51,102,.1);
  border-radius: 22px;
  font-size: 1.65rem;
  color: var(--navy);
  transition: background .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease, transform .4s ease;
  flex-shrink: 0;
}
.category-card:hover .category-icon {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--amber);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0,51,102,.35), 0 0 0 6px rgba(0,51,102,.06);
  transform: scale(1.1) rotate(-4deg);
}

/* Category label */
.category-name {
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: .01em;
  transition: color .3s ease;
}
.category-card:hover .category-name { color: var(--navy); }

/* Explore CTA — hidden by default, slides in on hover */
.category-explore {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber-dark);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.category-explore i {
  transition: transform .3s ease;
}
.category-card:hover .category-explore {
  opacity: 1;
  transform: translateY(0);
}
.category-card:hover .category-explore i {
  transform: translateX(3px);
}

/* ── Products Grid — Premium ──────────────────────────────── */
.products-section {
  background: var(--bg-white);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
}
.product-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,51,102,.06);
  transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s ease;
  display: flex;
  flex-direction: column;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--amber), var(--navy-mid));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s ease;
  z-index: 2;
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,51,102,.16), 0 4px 16px rgba(0,0,0,.08);
  border-color: rgba(232,160,32,.3);
}

.product-card-image {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4f8, #e8edf5);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover .product-card-image img { transform: scale(1.07); }
.product-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,30,70,.5) 0%, rgba(0,30,70,.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .38s ease;
}
.product-card:hover .product-card-image::after { opacity: 1; }

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(0,51,102,.15);
  background: linear-gradient(135deg, #eef2f8, #e4eaf4);
}

.product-card-body {
  padding: 1.4rem 1.3rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.product-brand {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--amber-dark);
  background: rgba(232,160,32,.1);
  border: 1px solid rgba(232,160,32,.25);
  border-radius: 50px;
  padding: .2em .75em;
  width: fit-content;
}
.product-name { font-size: 1.02rem; font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--navy); line-height: 1.35; margin-top: .1rem; }
.product-name a { color: inherit; }
.product-name a:hover { color: var(--amber-dark); }
.product-desc { font-size: .875rem; color: var(--text-muted); flex: 1; line-height: 1.55; }
.product-card-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border); }

/* ── About Snippet — Premium ──────────────────────────────── */
.about-snippet { background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text { display: flex; flex-direction: column; gap: 1.1rem; }
.about-text .section-title::after { margin: .6rem 0 0; }
.about-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,51,102,.16), 0 4px 16px rgba(0,0,0,.08);
  aspect-ratio: 4/3;
}
.about-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(232,160,32,.08), transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.about-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  font-size: 5rem;
  color: rgba(255,255,255,.2);
  border-radius: 20px;
}
.about-checklist {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: .5rem 0;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--text);
}
.about-checklist li i {
  color: var(--amber-dark);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Why Choose Us — Premium ────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
}
.why-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,51,102,.06);
  overflow: hidden;
  transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s ease, border-color .38s ease;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--amber), var(--navy-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s ease;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,51,102,.14), 0 4px 16px rgba(0,0,0,.06);
  border-color: rgba(232,160,32,.3);
}
.why-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--amber);
  border-radius: 20px;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(0,51,102,.25);
  transition: box-shadow .38s ease, transform .38s ease;
}
.why-card:hover .why-icon {
  box-shadow: 0 12px 36px rgba(0,51,102,.4), 0 0 0 6px rgba(232,160,32,.1);
  transform: scale(1.05) rotate(-3deg);
}
.why-card h3 { font-size: 1.08rem; font-family: 'Outfit', sans-serif; font-weight: 700; margin-bottom: .6rem; color: var(--navy); }
.why-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ── CTA Band — Premium ───────────────────────────────────── */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, #001228 0%, #002255 40%, #001a3d 100%);
  padding-block: 3.5rem;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 60%, rgba(232,160,32,.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 40%, rgba(0,80,180,.18) 0%, transparent 55%);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), #ffe17a, var(--amber), transparent);
  animation: shimmerLine 3s ease-in-out infinite;
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.3rem); margin-bottom: .6rem; }
.cta-band p  { color: rgba(255,255,255,.7); font-size: 1.02rem; }

/* ── Page Hero (inner pages) — Premium ────────────────────── */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #001228 0%, #002255 50%, #001a3d 100%);
  padding-block: 3rem 2.5rem;
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(232,160,32,.1) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 30%, rgba(0,80,180,.15) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), #ffe17a, var(--amber), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: .6rem; }
.page-hero p  { color: rgba(255,255,255,.75); max-width: 580px; font-size: 1.05rem; line-height: 1.7; }
.page-hero .breadcrumb li,
.page-hero .breadcrumb li.active { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb li a { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb li a:hover { color: var(--amber); }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { padding: 1rem 0; font-size: .875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem; align-items: center; }
.breadcrumb li { color: var(--text-muted); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: .25rem; }
.breadcrumb li a { color: var(--navy); }
.breadcrumb li a:hover { color: var(--amber-dark); }
.breadcrumb li.active { color: var(--text); font-weight: 500; }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  padding-block: 2rem;
  color: #fff;
  border-bottom: 3px solid var(--amber);
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.8); max-width: 560px; }
.page-hero .breadcrumb li,
.page-hero .breadcrumb li.active { color: rgba(255,255,255,.7); }
.page-hero .breadcrumb li a { color: rgba(255,255,255,.9); }

/* ── Products Listing Page ────────────────────────────────── */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  padding-block: 1.5rem;
  align-items: start;
}
.sidebar { position: sticky; top: 90px; }
.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.sidebar-card h3 {
  font-size: .95rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.filter-list { display: flex; flex-direction: column; gap: .3rem; }
.filter-item { display: flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer; padding: .3rem .4rem; border-radius: 4px; }
.filter-item:hover { background: var(--bg); }
.filter-item input[type="checkbox"] { accent-color: var(--navy); width: 15px; height: 15px; cursor: pointer; }
.filter-item.active { color: var(--navy); font-weight: 600; }
.filter-sub { padding-left: 1.25rem; }
.filter-link { display: block; padding: .3rem .4rem; border-radius: 4px; font-size: .9rem; color: var(--text); }
.filter-link:hover, .filter-link.active { background: var(--navy); color: #fff; }

.products-main { min-width: 0; }
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.products-count { color: var(--text-muted); font-size: .9rem; }
.search-form { display: flex; gap: .5rem; }
.search-form input {
  padding: .5rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  outline: none;
  transition: border-color var(--transition);
  background: var(--bg-white);
  min-width: 200px;
}
.search-form input:focus { border-color: var(--navy); }
.search-form button {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: .5rem .9rem;
  cursor: pointer;
  font-size: .9rem;
}

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 .6rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--navy);
  background: var(--bg-white);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .dots { border: none; background: transparent; }

/* ── Product Detail ───────────────────────────────────────── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  padding-block: 1.5rem;
  align-items: start;
}
.product-detail-image {
  position: sticky;
  top: 90px;
}
.product-detail-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.product-no-image {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius-lg);
  font-size: 6rem;
  color: var(--border);
}
.product-detail-body { display: flex; flex-direction: column; gap: 1.25rem; }
.product-detail-meta { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .25em .75em;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
}
.badge-brand { background: rgba(0,51,102,.1); color: var(--navy); }
.badge-category { background: rgba(232,160,32,.15); color: var(--amber-dark); }

.product-detail-title { font-size: clamp(1.5rem, 2.5vw, 2.2rem); color: var(--navy); }
.product-short-desc { color: var(--text-muted); font-size: 1.05rem; }
.product-full-desc { color: var(--text); }
.product-full-desc h3, .product-full-desc h4 { color: var(--navy); margin-block: 1rem .5rem; font-size: 1.1rem; }
.product-full-desc ul, .product-full-desc ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.product-full-desc li { margin-bottom: .3rem; }
.product-full-desc p { margin-bottom: .75rem; }
.product-full-desc strong { color: var(--navy); }

.product-actions { display: flex; gap: 1rem; flex-wrap: wrap; padding-block: .5rem; }
.datasheet-btn { display: inline-flex; align-items: center; gap: .5rem; }

/* ── Enquiry Form (inline) ────────────────────────────────── */
.enquiry-form-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: .5rem;
}
.enquiry-form-section h3 { font-size: 1.2rem; margin-bottom: 1.25rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: .55rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg-white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,51,102,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Contact Page ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  padding-block: 2rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--amber);
  border-radius: 50%;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-text h4 { font-size: .95rem; font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.contact-info-text p, .contact-info-text a { font-size: .9rem; color: var(--text-muted); }

.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 { margin-bottom: 1.5rem; font-size: 1.5rem; }

/* ── Alert / Flash ────────────────────────────────────────── */
.alert {
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  font-size: .95rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}
.alert-success { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
.alert-error   { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.alert-info    { background: #dbeafe; border-color: #93c5fd; color: #1e40af; }

/* ── Principals Listing ───────────────────────────────────── */
.principals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding-block: 1.5rem;
}
.principal-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.principal-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.principal-card-logo {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.principal-card-logo img { max-height: 60px; max-width: 160px; object-fit: contain; }
.principal-card-country { font-size: .8rem; color: var(--text-muted); display: flex; align-items: center; gap: .4rem; }
.principal-card-name { font-size: 1.2rem; font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--navy); }
.principal-card-desc { font-size: .9rem; color: var(--text-muted); flex: 1; }
.principal-card-link { align-self: flex-start; margin-top: .5rem; }

/* ── About / Static Pages ─────────────────────────────────── */
.static-content {
  max-width: 800px;
  margin-inline: auto;
  padding-block: 1.5rem;
}
.static-content h2 { font-size: 1.8rem; margin-block: 1.5rem .6rem; color: var(--navy); }
.static-content h3 { font-size: 1.3rem; margin-block: 1.25rem .4rem; color: var(--navy); }
.static-content p  { color: var(--text-muted); margin-bottom: .85rem; line-height: 1.75; }
.static-content ul, .static-content ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text-muted); list-style: disc; }
.static-content ol { list-style: decimal; }
.static-content li { margin-bottom: .35rem; }
.static-content strong { color: var(--text); }

/* ── About Page — Premium Sections ────────────────────────── */

/* Intro Section */
.about-intro-section {
  background: var(--bg-white);
  padding-block: 3rem;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-intro-content { display: flex; flex-direction: column; gap: .6rem; }
.about-intro-content .section-title::after { margin: .4rem 0 0; }
.about-intro-content p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: .95rem;
}
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .5rem;
}
.about-highlights li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
}
.about-highlights li i {
  color: var(--amber-dark);
  font-size: 1rem;
  flex-shrink: 0;
}
.about-intro-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0,51,102,.14), 0 4px 16px rgba(0,0,0,.06);
  aspect-ratio: 4/3;
}
.about-intro-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(232,160,32,.06), transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.about-intro-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-mid);
  color: var(--amber);
  font-size: 3rem;
  border-radius: 20px;
}

/* Mission / Vision / Values */
.about-mvv-section {
  position: relative;
  background:
    radial-gradient(circle, rgba(0,51,102,.05) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px, 100%;
  padding-block: 3rem;
}
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.mvv-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  overflow: hidden;
  transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s ease, border-color .38s ease;
}
.mvv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--amber), var(--navy-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s ease;
}
.mvv-card:hover::before { transform: scaleX(1); }
.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,51,102,.12), 0 4px 14px rgba(0,0,0,.06);
  border-color: rgba(232,160,32,.3);
}
.mvv-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--amber);
  border-radius: 20px;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,51,102,.25);
  transition: box-shadow .38s ease, transform .38s ease;
}
.mvv-card:hover .mvv-icon {
  box-shadow: 0 12px 36px rgba(0,51,102,.4), 0 0 0 6px rgba(232,160,32,.08);
  transform: scale(1.08) rotate(-3deg);
}
.mvv-card h3 { font-size: 1.05rem; font-family: 'Outfit', sans-serif; font-weight: 700; margin-bottom: .5rem; color: var(--navy); }
.mvv-card p  { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* Services Section */
.about-services-section {
  background: var(--bg-white);
  padding-block: 3rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  overflow: hidden;
  transition: transform .38s cubic-bezier(.2,.8,.2,1), box-shadow .38s ease, border-color .38s ease, background .38s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), #ffe080, var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(0,51,102,.12), 0 4px 14px rgba(0,0,0,.06);
  border-color: rgba(232,160,32,.3);
  background: var(--bg-white);
}
.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,51,102,.08), rgba(0,64,128,.04));
  border: 1.5px solid rgba(0,51,102,.1);
  border-radius: 16px;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1rem;
  transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--amber);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0,51,102,.3);
  transform: scale(1.08) rotate(-3deg);
}
.service-card h3 { font-size: 1rem; font-family: 'Outfit', sans-serif; font-weight: 700; margin-bottom: .5rem; color: var(--navy); }
.service-card p  { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }

/* Why Section on About Page */
.about-why-section {
  position: relative;
  background:
    radial-gradient(circle, rgba(0,51,102,.05) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px, 100%;
  padding-block: 3rem;
}

/* Extra CMS Content */
.about-extra-section {
  background: var(--bg);
  padding-block: 2rem;
}

/* ── Footer — Premium ─────────────────────────────────────── */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #001228 0%, #000d1f 100%);
  color: rgba(255,255,255,.8);
  margin-top: 0;
  border-top: 3px solid transparent;
  background-clip: padding-box;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -3px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), #ffe17a, var(--amber), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-block: 3.5rem 2.5rem;
}
.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #fff;
  margin-bottom: 1.1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color .2s ease, padding-left .2s ease;
  display: inline-block;
}
.footer-col ul a:hover { color: var(--amber); padding-left: 4px; }

.footer-brand .footer-logo .logo-text { font-size: 1.45rem; color: #ffffff; }
.footer-tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  margin-top: .6rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.footer-social { display: flex; gap: .65rem; }
.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: rgba(255,255,255,.75);
  font-size: .88rem;
  transition: all .25s ease;
}
.footer-social a:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232,160,32,.4);
}

.footer-contact p {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .9rem;
  margin-bottom: .7rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}
.footer-contact i { margin-top: .2rem; color: var(--amber); min-width: 14px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.65); transition: color .2s; }
.footer-contact a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.5rem;
  text-align: center;
}
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.4); }

/* ── Related Products ─────────────────────────────────────── */
.related-section { padding-block: 3rem; background: var(--bg); }
.related-section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .about-grid, .about-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image, .about-intro-image { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .products-layout { grid-template-columns: 220px 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail-image { position: static; }
  .principal-logo-card { width: 160px; height: 84px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; position: relative; z-index: 1000; }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 34, 68, 0.6);
    backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100dvh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 4.5rem 1.5rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: right .3s ease;
    overflow-y: auto;
    z-index: 999;
  }
  .main-nav.open { right: 0; }
  .main-nav > ul { flex-direction: column; width: 100%; }
  .main-nav ul a { padding: .6rem .5rem; }
  .dropdown { display: none; position: static; box-shadow: none; padding: 0 0 0 1rem; border: none; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-cta { margin-left: 0; margin-top: 1rem; width: 100%; justify-content: center; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .principals-logo-grid { gap: .75rem; justify-content: center; }
  .principal-logo-card { width: 140px; height: 76px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .section { padding-block: 2.5rem; }
  .cta-band { padding-block: 2rem; }
  .mvv-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: 1fr; gap: .75rem; }
  .why-grid   { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .principal-logo-card { width: 130px; height: 68px; }
  .section-title { font-size: 1.8rem; }
}

@media (max-width: 360px) {
  .hero-inner { gap: 1.5rem; padding-block: 2rem; }
  .hero-headline { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
  .stat-number { font-size: 2rem; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ── Why Section Background ───────────────────────────────── */
.why-section { background: var(--bg); }

/* ── Scroll-Reveal Animations ─────────────────────────────── */
.reveal-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity  .6s cubic-bezier(.2,.8,.2,1),
    transform .6s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal-hidden {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Header scrolled state ────────────────────────────────── */
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,51,102,.15);
}

/* ── Final polish: smooth section transitions ─────────────── */
.section-header { position: relative; }
.principals-section .section-header { position: relative; z-index: 1; }
.principals-section .section-title::after {
  background: linear-gradient(90deg, var(--amber), #ffe080);
}

/* Remove pill background from eyebrow on dark brand section */
.principals-section .section-eyebrow {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: var(--amber) !important;
  letter-spacing: .2em;
}

/* Remove pill background from eyebrow on dark CTA band */
.cta-band .section-eyebrow {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: var(--amber) !important;
  letter-spacing: .2em;
  margin-bottom: .5rem;
}
