/* ============================================================
   CACAP – Construction Arbitration Centre Asia Pacific
   Premium Institutional Stylesheet
   ============================================================ */

/* --- VARIABLES --- */
:root {
  /* Color Palette */
  --navy: #0D1B2A;
  --navy-mid: #1B2D45;
  --navy-light: #243B55;

  /* Gold Hierarchy */
  --gold: #C8A45E;
  --gold-muted: #D4B97A;
  --gold-dark: #A8883E;
  --gold-light: #D4B876;
  --gold-pale: #F5EDD6;

  /* Neutral */
  --cream: #FAFAF7;
  --white: #FFFFFF;
  --text: #2C2C2C;
  --text-light: #4A5568;
  --border: #E0DDD5;

  /* Typography */
  --hf: 'Inter', 'Source Sans 3', 'Segoe UI', sans-serif;
  --bf: 'Source Sans 3', 'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --mw: 1200px;

  /* Spacing System (8px base) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;

  /* Transitions */
  --tr: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-long: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--bf);
  font-size: 17px;
  line-height: 1.78;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- ACCESSIBILITY --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 600;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* --- HEADER --- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--mw);
  margin: 0 auto;
  padding: var(--sp-2) var(--sp-3);
  max-height: 110px;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
}

/* When scrolled: collapse the logo bar, keep only the nav */
.site-header.header-compact .header-top {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.logo-area a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  transition: var(--tr);
}

.logo-area a:hover {
  transform: translateY(-2px);
}

.logo-img {
  height: 70px;
  width: 70px;
  transition: var(--tr);
}

.logo-img:hover {
  transform: scale(1.08);
}

.logo-text {
  color: var(--white);
  font-family: var(--hf);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.logo-text span {
  display: block;
  color: #E8CC78;
  font-size: 10px;
  letter-spacing: 4px;
  font-weight: 600;
  margin-top: 3px;
  text-shadow: 0 0 10px rgba(232,204,120,0.2);
}

.btn-nom {
  background: rgba(200,164,94,.9);
  color: var(--navy);
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  font-family: var(--bf);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--tr-long);
  display: inline-block;
  box-shadow: none;
}

.btn-nom:hover {
  background: var(--gold);
  transform: translateY(-1px);
  box-shadow: none;
}

/* --- NAVIGATION --- */
.main-nav {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.08);
}

.nav-inner {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 var(--sp-3);
  display: flex;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--sp-2) var(--sp-2);
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .8px;
  text-transform: uppercase;
  transition: color var(--tr), border-color var(--tr), background var(--tr);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(200,164,94,.08);
}

.nav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(200,164,94,.12);
}

.nav-link::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: var(--tr);
  opacity: 0;
}

.nav-item:has(.nav-dropdown) .nav-link::after {
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  min-width: 280px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  z-index: 100;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 6px 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr);
  pointer-events: none;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown a {
  display: block;
  padding: 11px var(--sp-3);
  color: rgba(255,255,255,.85);
  font-size: 16px;
  transition: all var(--tr);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.nav-dropdown a:hover {
  background: var(--navy-light);
  color: var(--gold);
  padding-left: var(--sp-4);
}

/* --- HEADER RIGHT --- */
.header-right {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* --- MOBILE NAV --- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: var(--sp-1);
  transition: var(--tr);
}

.nav-toggle:hover {
  color: var(--gold);
}

/* --- HERO --- */
.hero {
  background: var(--navy);
  min-height: 480px;
  padding: var(--sp-10) var(--sp-3);
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Rotating hero slides container */
.hero-slides {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.1) 10%, rgba(0,0,0,0.45) 30%, rgba(0,0,0,0.75) 60%, rgba(0,0,0,0.85) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.1) 10%, rgba(0,0,0,0.45) 30%, rgba(0,0,0,0.75) 60%, rgba(0,0,0,0.85) 100%);
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slide.active {
  opacity: 0.5;
}

/* Fallback for pages without JS slides — uses ::before */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1536599018102-9f803c140fc1?w=1920&q=80') center/cover no-repeat;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.1) 10%, rgba(0,0,0,0.45) 30%, rgba(0,0,0,0.75) 60%, rgba(0,0,0,0.85) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.1) 10%, rgba(0,0,0,0.45) 30%, rgba(0,0,0,0.75) 60%, rgba(0,0,0,0.85) 100%);
  opacity: 0.5;
  z-index: 1;
}

/* Hide ::before fallback when JS slides are present */
.hero.has-slides::before {
  display: none;
}

/* Gold accent line at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-muted) 40%, transparent 80%);
  z-index: 4;
}

.hero-content {
  position: relative;
  max-width: var(--mw);
  width: 100%;
  margin: 0 auto;
  z-index: 3;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1, .hero-sm h1 {
  font-family: var(--hf);
  font-size: clamp(32px, 5.5vw, 54px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.5px;
}

.hero h1 .gold, .hero-sm h1 .gold {
  color: var(--gold);
}

.hero p {
  color: rgba(255,255,255,.75);
  font-size: 17px;
  font-weight: 300;
  max-width: 600px;
  margin: 0 0 var(--sp-5) 0;
  line-height: 1.7;
}

.hero-sm p {
  color: rgba(255,255,255,.92);
  font-size: 18px;
  font-weight: 400;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

.hero-sm {
  min-height: 200px;
  padding: var(--sp-6) var(--sp-3);
  background:
    linear-gradient(135deg, rgba(8,15,29,.88) 0%, rgba(13,27,42,.82) 40%, rgba(27,45,69,.78) 100%),
    url('https://images.unsplash.com/photo-1536599018102-9f803c140fc1?w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-sm::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 L30 0 L60 30 L30 60Z' fill='none' stroke='rgba(200,164,94,0.02)' stroke-width='1'/%3E%3C/svg%3E") repeat,
    radial-gradient(ellipse at 30% 50%, rgba(200,164,94,.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-sm::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, var(--gold) 50%, transparent 90%);
  z-index: 2;
}

/* Hero-sm page variants — Asia-Pacific city skylines */
.hero-sm.hero-services {
  background-image:
    linear-gradient(135deg, rgba(8,15,29,.88) 0%, rgba(13,27,42,.82) 40%, rgba(27,45,69,.78) 100%),
    url('https://images.unsplash.com/photo-1538428494232-9c0d8a3ab403?w=1920&q=80');
}
.hero-sm.hero-accreditation {
  background-image:
    linear-gradient(135deg, rgba(8,15,29,.88) 0%, rgba(13,27,42,.82) 40%, rgba(27,45,69,.78) 100%),
    url('https://images.unsplash.com/photo-1596422846543-75c6fc197f07?w=1920&q=80');
}
.hero-sm.hero-membership {
  background-image:
    linear-gradient(135deg, rgba(8,15,29,.88) 0%, rgba(13,27,42,.82) 40%, rgba(27,45,69,.78) 100%),
    url('https://images.unsplash.com/photo-1525625293386-3f8f99389edd?w=1920&q=80');
}
.hero-sm.hero-about {
  background-image:
    linear-gradient(135deg, rgba(8,15,29,.88) 0%, rgba(13,27,42,.82) 40%, rgba(27,45,69,.78) 100%),
    url('https://images.unsplash.com/photo-1565967511849-76a60a516170?w=1920&q=80');
}
.hero-sm.hero-contact {
  background-image:
    linear-gradient(135deg, rgba(8,15,29,.88) 0%, rgba(13,27,42,.82) 40%, rgba(27,45,69,.78) 100%),
    url('https://images.unsplash.com/photo-1536599018102-9f803c140fc1?w=1920&q=80');
}

.hero-buttons {
  display: flex;
  gap: var(--sp-2);
  justify-content: flex-start;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* --- BUTTONS --- */
.btn-p {
  background: rgba(200,164,94,.88);
  color: var(--navy);
  padding: 14px 36px;
  border: none;
  border-radius: 5px;
  font-family: var(--bf);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--tr-long);
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 12px rgba(200,164,94,.18);
}

.btn-p:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,164,94,.35);
}

.btn-p:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(200,164,94,.2);
}

.btn-s {
  background: rgba(200,164,94,.08);
  color: var(--gold);
  padding: 14px 36px;
  border: 2px solid rgba(200,164,94,.6);
  border-radius: 5px;
  font-family: var(--bf);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--tr-long);
  display: inline-block;
  text-align: center;
}

.btn-s:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,164,94,.3);
}

.btn-s:active {
  transform: translateY(0);
}

.btn-o {
  background: rgba(255,255,255,.06);
  color: var(--white);
  padding: 14px 36px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 5px;
  font-family: var(--bf);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--tr-long);
  display: inline-block;
}

.btn-o:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,164,94,.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,164,94,.2);
}

.btn-o:active {
  transform: translateY(0);
}

.btn-dark {
  background: rgba(13,27,42,.9);
  color: var(--white);
  padding: 14px 36px;
  border: none;
  border-radius: 5px;
  font-family: var(--bf);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--tr-long);
  display: inline-block;
}

.btn-dark:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

.btn-dark:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(13,27,42,.04);
  color: var(--navy);
  padding: 14px 36px;
  border: 2px solid rgba(13,27,42,.7);
  border-radius: 5px;
  font-family: var(--bf);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--tr-long);
  display: inline-block;
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13,27,42,.2);
}

.btn-ghost:active {
  transform: translateY(0);
}

/* --- SECTIONS --- */
.section {
  padding: var(--sp-8) var(--sp-3);
}

.section-inner {
  max-width: var(--mw);
  margin: 0 auto;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-8) var(--sp-3);
}

.section-light {
  background: var(--white);
  padding: var(--sp-8) var(--sp-3);
}

.section-title {
  font-family: var(--hf);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-1);
  line-height: 1.18;
  letter-spacing: -0.3px;
}

.section-dark .section-title {
  color: var(--white);
}

.section-sub {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--sp-1);
}

.section-intro {
  color: var(--text-light);
  font-size: 18px;
  max-width: 700px;
  margin-bottom: var(--sp-6);
  line-height: 1.75;
}

.section-dark .section-intro {
  color: rgba(255,255,255,.75);
}

.gold-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-muted));
  margin: var(--sp-3) 0 var(--sp-4);
  border-radius: 2px;
}

/* --- CARDS --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold-muted);
  border-radius: 10px;
  padding: var(--sp-4);
  transition: all var(--tr-long);
  position: relative;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr-long);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:has(.card-link) {
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
  border-top-color: var(--gold);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold-pale), rgba(212, 185, 122, 0.6));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  font-size: 28px;
  color: var(--navy);
  transition: var(--tr-long);
  box-shadow: 0 4px 15px rgba(200,164,94,.15);
}

.card:hover .card-icon {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(200,164,94,.25);
}

.card h3 {
  font-family: var(--hf);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-1);
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.card p {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: var(--sp-2);
}

.card-link {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: var(--tr);
  cursor: pointer;
  display: inline-block;
}

.card-link:hover {
  color: var(--gold-dark);
  transform: translateX(4px);
}

.card-link::after {
  content: ' \2192';
}

/* --- SERVICE GRID --- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.svc-grid .card {
  border-top: 3px solid var(--gold-muted);
}

.svc-grid .card h3 {
  border-bottom: 3px solid var(--gold-muted);
  padding-bottom: var(--sp-1);
  margin-bottom: var(--sp-2);
}

.svc-grid .card:hover h3 {
  border-bottom-color: var(--gold);
}

.svc-grid .card-link {
  display: inline-block;
  padding: var(--sp-1) 0;
  margin-top: var(--sp-1);
}

/* --- SERVICE DETAIL --- */
.svc-content {
  max-width: 860px;
}

.svc-content h2 {
  font-family: var(--hf);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  margin: var(--sp-6) 0 var(--sp-2);
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.svc-content h2:first-child {
  margin-top: 0;
}

.svc-content p {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: var(--sp-2);
}

.svc-content ul {
  padding-left: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.svc-content li {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: var(--sp-1);
}

.svc-content li strong {
  color: var(--navy);
}

.svc-quote {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-4);
  margin: var(--sp-4) 0;
  font-style: italic;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
  border-radius: 4px;
}

.svc-back {
  display: block;
  max-width: var(--mw);
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-3) var(--sp-5);
}

.svc-back a {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  display: inline-block;
  transition: var(--tr);
}

.svc-back a:hover {
  color: var(--navy);
  transform: translateX(-4px);
}

.svc-cta {
  background: var(--navy);
  padding: var(--sp-6);
  margin-top: var(--sp-8);
  text-align: center;
  border-top: 3px solid var(--gold);
}

.svc-cta h3 {
  color: var(--white);
  font-family: var(--hf);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.2px;
}

.svc-cta p {
  color: rgba(255,255,255,.8);
  font-size: 16px;
  margin-bottom: var(--sp-3);
  line-height: 1.7;
}

/* --- ACCREDITATION --- */
.accred-disciplines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.accred-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold-muted);
  border-radius: 8px;
  padding: var(--sp-4) var(--sp-3);
  transition: all var(--tr-long);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  width: calc(33.333% - var(--sp-3));
  min-width: 260px;
  box-sizing: border-box;
}

.accred-card:hover {
  border-color: var(--gold);
  border-top-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

.accred-card h4 {
  font-family: var(--hf);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-1);
  letter-spacing: -0.2px;
}

.accred-card .designation {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  margin-bottom: var(--sp-1);
}

.accred-card p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.75;
}

.accred-badge {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  margin-bottom: var(--sp-2);
  border-radius: 4px;
}

/* --- TABLE --- */
.table-wrap {
  overflow-x: auto;
  margin-top: var(--sp-4);
  position: relative;
  border-radius: 4px;
}

.table-wrap::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.06) 100%);
  pointer-events: none;
}

.panel-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--sp-4);
  border-radius: 4px;
  overflow: hidden;
}

.panel-table th {
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-2) var(--sp-2);
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-family: var(--hf);
}

.panel-table td {
  padding: var(--sp-2) var(--sp-2);
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.75;
}

.panel-table tr:nth-child(even) td {
  background: rgba(245,237,214,0.5);
}

.panel-table tr:hover td {
  background: rgba(245,237,214,0.8);
}

.designation-cell {
  color: var(--gold);
  font-weight: 600;
  font-style: italic;
}

/* --- BOARD MEMBERS --- */
.board-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.board-member {
  text-align: center;
  padding: var(--sp-4) var(--sp-3);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold-muted);
  border-radius: 8px;
  transition: all var(--tr-long);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  width: calc(33.333% - var(--sp-2));
  min-width: 200px;
  box-sizing: border-box;
}

.board-member:hover {
  transform: translateY(-6px);
  border-top-color: var(--gold);
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

.board-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  margin: 0 auto var(--sp-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--hf);
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(13,27,42,.15);
}

.board-member:hover .board-avatar {
  box-shadow: 0 6px 20px rgba(200,164,94,.2);
}

.board-member h4 {
  font-family: var(--hf);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-1);
  line-height: 1.25;
  white-space: nowrap;
}

.board-member .role {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.board-bio {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.65;
  margin-top: var(--sp-1);
  font-style: italic;
}

/* --- MEMBERSHIP --- */
.mem-cats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin: var(--sp-3) 0 var(--sp-5);
}

.mem-cat {
  background: var(--navy);
  color: var(--gold);
  padding: var(--sp-1) var(--sp-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--tr);
  border: 2px solid transparent;
}

.mem-cat:hover {
  background: var(--navy-light);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* --- STEPS --- */
.steps-list {
  counter-reset: steps;
  list-style: none;
  max-width: 700px;
}

.steps-list li {
  counter-increment: steps;
  padding: var(--sp-2) 0 var(--sp-2) 72px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.8;
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: var(--sp-2);
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold-pale), rgba(212, 185, 122, 0.7));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hf);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(200,164,94,.15);
}

.steps-list li strong {
  color: var(--navy);
}

/* --- RULES TABS --- */
.rules-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
  margin: var(--sp-3) 0 var(--sp-4);
}

.rules-tab {
  background: var(--gold-pale);
  color: var(--navy);
  padding: 11px var(--sp-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--tr);
  border: 2px solid transparent;
  border-radius: 4px;
}

.rules-tab:hover, .rules-tab.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.rules-panel {
  display: none;
}

.rules-panel.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.rules-panel h3 {
  font-family: var(--hf);
  font-size: 25px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.2px;
}

.rules-step {
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--border);
}

.rules-step strong {
  color: var(--navy);
  font-size: 16px;
  display: block;
  margin-bottom: var(--sp-1);
}

.rules-step p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.75;
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--sp-4) 0;
}

.faq-q {
  font-family: var(--hf);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--tr);
  letter-spacing: -0.2px;
}

.faq-q:hover {
  color: var(--gold);
}

.faq-q::after {
  content: '+';
  color: var(--gold);
  font-size: 28px;
  font-weight: 300;
  transition: transform var(--tr);
  min-width: 32px;
  text-align: right;
}

.faq-item.open .faq-q::after {
  content: '\2212';
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding-top: var(--sp-2);
}

.faq-link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  transition: var(--tr);
}

.faq-link:hover {
  color: var(--gold-dark);
}

.faq-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-family: var(--hf);
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 14px;
}

.faq-label-q {
  background: var(--gold);
  color: var(--white);
}

.faq-label-a {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--border);
  margin-top: 2px;
  vertical-align: top;
  float: left;
}

/* --- CONTACT / FORMS --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
}

.contact-info h3 {
  font-family: var(--hf);
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}

.contact-detail {
  margin-bottom: var(--sp-3);
  font-size: 16px;
  color: var(--text-light);
}

.contact-detail strong {
  color: var(--navy);
  display: block;
  margin-bottom: var(--sp-1);
}

/* --- FORMS --- */
.form-group {
  margin-bottom: var(--sp-2);
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-1);
  letter-spacing: .3px;
}

.form-group label span {
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--bf);
  font-size: 16px;
  background: var(--white);
  transition: all var(--tr);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A8883E' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,164,94,.15);
  background-color: var(--white);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
  min-height: 120px;
}

.form-group input[type="file"] {
  padding: 12px;
  cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  margin-right: 12px;
  transition: var(--tr);
}

.form-group input[type="file"]::file-selector-button:hover {
  background: var(--gold-dark);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-1);
  margin-bottom: var(--sp-2);
  font-size: 16px;
  color: var(--text);
  line-height: 1.75;
}

.form-check input[type="checkbox"] {
  -webkit-appearance: auto;
  appearance: auto;
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--gold);
  border-radius: 3px;
}

.form-check span {
  flex: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.form-note {
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: var(--sp-2);
}

.form-error {
  display: none;
  color: #DC2626;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 600;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #DC2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.form-group.error .form-error {
  display: block;
}

.form-success {
  display: none;
  color: #16A34A;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 600;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
  border-color: #16A34A;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

.form-group.success .form-success {
  display: block;
}

/* --- IP NOTICE --- */
.ip-notice {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: var(--sp-3) var(--sp-4);
  margin-top: var(--sp-5);
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
}

.ip-notice strong {
  color: var(--navy);
}

/* --- TERMS --- */
.terms-list {
  list-style: none;
  counter-reset: terms;
  margin-top: var(--sp-3);
}

.terms-list li {
  counter-increment: terms;
  padding: var(--sp-2) 0 var(--sp-2) 56px;
  position: relative;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.8;
}

.terms-list li::before {
  content: counter(terms) ".";
  position: absolute;
  left: 0;
  top: var(--sp-2);
  color: var(--gold);
  font-family: var(--hf);
  font-size: 22px;
  font-weight: 700;
}

.terms-list li strong {
  color: var(--navy);
}

/* --- ADMIN LIST --- */
.admin-list {
  counter-reset: admin;
  list-style: none;
  margin: var(--sp-3) 0;
}

.admin-item {
  counter-increment: admin;
  margin-bottom: var(--sp-4);
}

.admin-item h4 {
  font-family: var(--hf);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}

.admin-item h4::before {
  content: counter(admin) ". ";
  color: var(--gold);
}

.admin-item p, .admin-item li {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

.admin-item ul {
  padding-left: var(--sp-2);
  margin-top: var(--sp-1);
}

/* --- FUTURE PANELS GRID --- */
.future-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-2);
}

.future-panel {
  background: var(--gold-pale);
  padding: var(--sp-3);
  text-align: center;
  border-radius: 6px;
  transition: all var(--tr);
  border: 2px solid transparent;
}

.future-panel:hover {
  background: var(--gold-light);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(200,164,94,.15);
}

.future-panel strong {
  color: var(--navy);
  font-size: 15px;
  display: block;
}

.future-panel span {
  color: var(--text-light);
  font-size: 13px;
  display: block;
  margin-top: 4px;
}

/* --- INFO BOX --- */
.info-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: var(--sp-4);
  margin-top: var(--sp-4);
}

.info-box strong {
  color: var(--navy);
  font-size: 16px;
}

.info-box ul {
  margin-top: var(--sp-2);
  padding-left: var(--sp-2);
  color: var(--text-light);
  font-size: 16px;
  line-height: 2;
}

.info-box li strong {
  color: var(--navy);
}

/* --- PROCESS BOX --- */
.process-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: var(--sp-4);
  margin: var(--sp-3) 0 var(--sp-4);
}

.process-box strong {
  color: var(--navy);
  font-size: 16px;
}

.process-box ol {
  margin-top: var(--sp-2);
  padding-left: var(--sp-2);
  color: var(--text-light);
  font-size: 16px;
  line-height: 2;
}

/* --- CTA BOX --- */
.cta-box {
  margin-top: var(--sp-6);
  text-align: center;
  background: var(--navy);
  padding: var(--sp-6);
  border-top: 3px solid var(--gold);
}

.cta-box p {
  color: rgba(255,255,255,.8);
  font-size: 16px;
  margin-bottom: var(--sp-3);
  line-height: 1.7;
}

/* --- STATS BANNER --- */
.stats-banner {
  background:
    linear-gradient(135deg, rgba(8,15,29,.92) 0%, rgba(13,27,42,.88) 50%, rgba(27,45,69,.85) 100%),
    url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1920&q=80') center/cover no-repeat;
  padding: var(--sp-6) var(--sp-3);
  position: relative;
  overflow: hidden;
}

.stats-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 50%, transparent 95%);
}

.stats-inner {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  text-align: center;
}

.stat-item {
  padding: var(--sp-2);
}

.stat-number {
  font-family: var(--hf);
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: var(--sp-1);
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}

/* --- FOOTER --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: var(--sp-10) var(--sp-3) 0;
  font-size: 16px;
  overflow: hidden;
}

.footer-inner {
  max-width: var(--mw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-col h4 {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
  font-family: var(--hf);
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,.8);
  font-size: 16px;
  padding: 6px 0;
  transition: var(--tr);
}

.footer-col a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  padding: 0;
  transition: all var(--tr);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: var(--mw);
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  position: relative;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vw;
  right: -100vw;
  background: rgba(0,0,0,.2);
  z-index: -1;
}

.footer-bottom a {
  color: var(--gold);
  transition: var(--tr);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* --- UTILITY --- */
.max-w-narrow {
  max-width: 860px;
}

.max-w-form {
  max-width: 720px;
}

.mt-48 {
  margin-top: var(--sp-6);
}

.mt-56 {
  margin-top: var(--sp-8);
}

.mb-16 {
  margin-bottom: var(--sp-2);
}

.mb-24 {
  margin-bottom: var(--sp-3);
}

.text-muted {
  color: var(--text-light);
}

.text-sm {
  font-size: 14px;
}

.text-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: var(--sp-2);
}

.heading-sub {
  font-family: var(--hf);
  font-size: 25px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.2px;
}

.btn-row {
  margin-top: var(--sp-6);
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

/* --- RESPONSIVE: TABLET --- */
@media (max-width: 1024px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .board-grid .board-member {
    width: calc(33.333% - var(--sp-3));
  }

  .accred-disciplines .accred-card {
    width: calc(50% - var(--sp-3));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }

  .footer-inner > :first-child {
    grid-column: 1 / -1;
  }

  .section {
    padding: var(--sp-8) var(--sp-3);
  }

  .section-dark {
    padding: var(--sp-8) var(--sp-3);
  }

  .section-light {
    padding: var(--sp-8) var(--sp-3);
  }
}

/* --- RESPONSIVE: MOBILE --- */
@media (max-width: 768px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-2);
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 11px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .footer-inner > :first-child {
    grid-column: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .header-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-1);
    padding: var(--sp-1) var(--sp-2);
  }

  .header-top .btn-nom {
    display: none;
  }

  .logo-img {
    height: 50px;
    width: 50px;
  }

  .logo-text {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .logo-text span {
    font-size: 11px;
    letter-spacing: 2.5px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-1);
    text-align: center;
  }

  .hero {
    padding: var(--sp-6) var(--sp-3);
    min-height: 360px;
  }

  .hero-slides {
    width: 100%;
  }

  .hero-sm {
    padding: var(--sp-6) var(--sp-3);
    min-height: 180px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .board-grid .board-member {
    width: calc(50% - var(--sp-3));
  }

  .accred-disciplines .accred-card {
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-mid);
    border-top: 1px solid rgba(255,255,255,.08);
    z-index: 999;
    animation: slideDown 0.3s ease;
  }

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

  .main-nav.nav-open {
    display: block;
  }

  .main-nav.nav-open .nav-inner {
    flex-direction: column;
    padding: 0;
    overflow-x: visible;
  }

  .main-nav.nav-open .nav-item {
    border-bottom: 1px solid rgba(255,255,255,.05);
  }

  .main-nav.nav-open .nav-link {
    padding: var(--sp-1) var(--sp-3);
    border-bottom: none;
  }

  .main-nav.nav-open .nav-dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    background: var(--navy-light);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transform: none;
    margin: 0;
    transition: opacity 0.2s ease, max-height 0.3s ease, visibility 0.2s ease;
    pointer-events: none;
  }

  .main-nav.nav-open .nav-item:hover .nav-dropdown,
  .main-nav.nav-open .nav-item.open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    pointer-events: auto;
  }

  .main-nav.nav-open .nav-dropdown a {
    padding-left: var(--sp-4);
  }

  .section {
    padding: var(--sp-8) var(--sp-3);
  }

  .section-dark {
    padding: var(--sp-8) var(--sp-3);
  }

  .section-light {
    padding: var(--sp-8) var(--sp-3);
  }

  .contact-grid {
    gap: var(--sp-4);
  }

  .cards-grid {
    gap: var(--sp-2);
  }

  .svc-grid {
    gap: var(--sp-2);
  }
}

/* --- RESPONSIVE: SMALL MOBILE --- */
@media (max-width: 480px) {
  .header-top {
    padding: var(--sp-2) var(--sp-2);
  }

  .logo-img {
    height: 56px;
    width: 56px;
  }

  .logo-text {
    font-size: 15px;
  }

  .hero {
    padding: var(--sp-5) var(--sp-2);
    min-height: 320px;
    text-align: center;
  }

  .hero-slides {
    width: 100%;
  }

  .hero-slide {
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.7) 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.7) 100%);
  }

  .hero::before {
    width: 100%;
    opacity: 0.3;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.8) 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.8) 100%);
  }

  .hero h1 {
    font-size: clamp(24px, 5vw, 32px);
  }

  .hero p {
    font-size: 15px;
    margin: 0 auto var(--sp-4);
  }

  .hero-buttons {
    gap: var(--sp-1);
    justify-content: center;
  }

  .btn-p,
  .btn-s,
  .btn-o,
  .btn-dark,
  .btn-ghost {
    padding: 12px 24px;
    font-size: 12px;
    width: 100%;
  }

  .section-title {
    font-size: clamp(22px, 4vw, 28px);
  }

  .section {
    padding: var(--sp-6) var(--sp-2);
  }

  .section-dark {
    padding: var(--sp-6) var(--sp-2);
  }

  .section-light {
    padding: var(--sp-6) var(--sp-2);
  }

  .cards-grid {
    gap: var(--sp-2);
  }

  .svc-grid {
    gap: var(--sp-2);
  }

  .board-grid .board-member {
    width: 100%;
  }

  .contact-detail {
    font-size: 15px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 12px;
    font-size: 16px;
  }

  .form-row {
    gap: var(--sp-1);
  }

  .footer-col h4 {
    font-size: 12px;
    margin-bottom: var(--sp-1);
  }

  .footer-col a {
    font-size: 14px;
    padding: 4px 0;
  }

  .footer-bottom {
    padding: var(--sp-2) var(--sp-2);
    font-size: 12px;
  }

  .table-wrap {
    margin-top: var(--sp-2);
  }

  .panel-table th,
  .panel-table td {
    padding: var(--sp-1) var(--sp-1);
    font-size: 12px;
  }

  .cta-box {
    padding: var(--sp-4);
  }

  .svc-cta {
    padding: var(--sp-4);
  }
}
