/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
  --navy:        #0F2744;
  --navy-dark:   #0a1c30;
  --gold:        #F0B429;
  --gold-dark:   #C8901A;
  --offwhite:    #F8F9FA;
  --lightgray:   #F3F4F6;
  --border:      #D1D5DB;
  --charcoal:    #1F2937;
  --muted:       #6B7280;
  --white:       #ffffff;
  --brand-brown: #3B1A14;

  --font-hero:    'Playfair Display', Georgia, serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --container:    1200px;
  --radius:       0.5rem;
  --radius-lg:    1rem;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.14);

  --transition:   200ms ease-out;
}

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

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1 { font-family: var(--font-hero); font-weight: 700; line-height: 1.15; }
h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1rem; }
p  { font-size: 1rem; color: var(--charcoal); }

/* ============================================================
   UTILITIES
============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header.align-left { text-align: left; }

.section-title { color: var(--navy); margin-bottom: 0.75rem; }
.section-title.light { color: var(--white); }

.gold-divider {
  width: 56px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0.5rem auto 0;
}
.section-header.align-left .gold-divider { margin-left: 0; }

.section-sub {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 600px;
  margin-inline: auto;
}
.section-sub.light { color: rgba(255,255,255,.75); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition);
  will-change: transform;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

/* ============================================================
   SCROLL PROGRESS BAR
============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  z-index: 9999;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  transition: width 0.05s linear;
}

/* ============================================================
   NAVIGATION
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.4rem 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}
.nav-logo img { height: 48px; width: auto; object-fit: contain; }

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  position: relative;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 250ms ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover,
.nav-link.active { color: var(--gold-dark); background: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.nav-phone:hover { color: var(--gold-dark); }
.nav-phone svg { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.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); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.nav-drawer.open { max-height: 400px; }

.drawer-links {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.drawer-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.drawer-link:hover { color: var(--navy); background: var(--lightgray); }
.drawer-cta { margin-top: 0.5rem; text-align: center; justify-content: center; }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  background: linear-gradient(160deg, #080f1a 0%, #0F2744 45%, #152d50 100%);
  padding: 5.5rem 0 0;
  overflow: hidden;
}

/* Diagonal line texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.018) 40px,
    rgba(255,255,255,0.018) 41px
  );
  pointer-events: none;
}

/* Ghost watermark */
.hero::after {
  content: '30+';
  position: absolute;
  right: 4rem;
  bottom: 7rem;
  font-family: var(--font-heading);
  font-size: min(8rem, 12vw);
  font-weight: 900;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.hero-content {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  padding-bottom: 5rem;
  position: relative;
  padding-left: 1.5rem;
}

/* Vertical gold accent bar */
.hero-text::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px;
  height: 70%;
  background: linear-gradient(to bottom, var(--gold), transparent);
  border-radius: 2px;
}

/* Bar-style eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow-bar {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-eyebrow-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-headline {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

/* Trust bar — glass card */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.trust-item {
  text-align: center;
  flex: 1;
}

.trust-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.trust-label {
  display: block;
  font-size: 0.67rem;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* Hero image */
.hero-image {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px rgba(240,180,41,0.15);
}

/* Top-left corner bracket */
.hero-image-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 48px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  z-index: 3;
  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(8,15,26,0.75), transparent);
}

/* Award badge over image */
.hero-image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.65rem 0.9rem;
  border-radius: 4px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.hero-badge-year {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
  letter-spacing: -0.02em;
}

.hero-badge-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-top: 0.2rem;
  opacity: 0.85;
}

/* Partners strip below hero image */
.hero-image-partners {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem 0.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  max-width: 480px;
  flex-wrap: wrap;
}

.hero-partners-label {
  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  white-space: nowrap;
  margin-right: 0.25rem;
}

.hero-image-partners img {
  height: 22px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.hero-image-partners img:hover { opacity: 1; }

/* Wave — sharp diagonal */
.hero-wave {
  width: 100%;
  line-height: 0;
  margin-top: -2px;
}
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* ============================================================
   QUICK LINKS
============================================================ */
.quick-links {
  padding: 4.5rem 0;
  background: var(--offwhite);
}

.ql-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.5rem;
}

.ql-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 2.25rem 1rem;
  text-decoration: none;
  transition: background var(--transition);
  border-radius: var(--radius);
}
.ql-item:hover { background: transparent; }

.ql-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(15,39,68,0.06);
  border: 1.5px solid rgba(15,39,68,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.ql-icon svg { width: 22px; height: 22px; }
.ql-item:hover .ql-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

.ql-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.ql-item:hover .ql-label { color: var(--navy); }

/* ============================================================
   HOW TO WORK WITH US
============================================================ */
.how-it-works {
  background: linear-gradient(160deg, #080f1a 0%, #0F2744 50%, #152d50 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 41px
  );
  pointer-events: none;
}

/* Eyebrow */
.hiw-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hiw-eyebrow-bar {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.hiw-eyebrow-text {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  margin-top: 1rem;
}

.hiw-step {
  position: relative;
  text-align: left;
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hiw-step:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

/* Ghost step number watermark */
.hiw-step::before {
  content: attr(data-num);
  position: absolute;
  bottom: -1rem;
  right: 0.75rem;
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}

.hiw-num {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: block;
}

.hiw-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--gold);
  border: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.25rem;
  color: var(--navy);
  transition: background var(--transition);
}

.hiw-step:hover .hiw-icon-wrap { background: var(--gold-dark); }

.hiw-icon-wrap svg { width: 24px; height: 24px; }

.hiw-title {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hiw-body {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.72;
  margin: 0;
}

.hiw-connector {
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
}

.hiw-connector svg { width: 52px; height: 24px; }

.hiw-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT
============================================================ */
.about {
  padding: 5rem 0;
  background: var(--white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-body {
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-features {
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-feature {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.feature-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.feature-check svg { width: 14px; height: 14px; color: var(--navy); }
.about-feature strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 0.2rem;
}
.about-feature p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* About promise card */
.about-promise {
  margin: 1.75rem 0 0;
  padding: 1.5rem;
  background: var(--navy);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.about-promise-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0 0 0.6rem;
}
.about-promise-body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0 0 1rem;
}
.about-promise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.about-promise-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}
.about-promise-list li svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--gold);
}
.about-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* About logo lockup */
.about-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.about-logo { height: 56px; width: auto; }
.about-logo-meta { display: flex; flex-direction: column; }
.about-logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.about-logo-sub {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
}

/* Vision / Mission / Goal row */
/* ============================================================
   VISION / MISSION / GOAL SECTION
============================================================ */
.vmg-section {
  background: linear-gradient(160deg, #080f1a 0%, #0F2744 50%, #152d50 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.vmg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 40px,
    rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px
  );
  pointer-events: none;
}
.vmg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.vmg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.vmg-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.vmg-card-accent {
  background: var(--navy);
  border-color: var(--gold);
}

.vmg-icon {
  width: 48px;
  height: 48px;
  background: rgba(240,180,41,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.vmg-icon svg { width: 22px; height: 22px; }

.vmg-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.vmg-card-accent .vmg-title { color: var(--white); }

.vmg-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}
.vmg-card-accent .vmg-body { color: rgba(255,255,255,0.7); }

/* About right */
.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
}
.about-img { width: 100%; height: 260px; object-fit: cover; }

.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 0.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-card-gold { border-color: var(--gold); background: rgba(240,180,41,.06); }
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-card-gold .stat-number { color: var(--gold-dark); }
.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ============================================================
   AWARD BANNER
============================================================ */
.award-banner {
  background: linear-gradient(160deg, #020609 0%, #061020 50%, #0a1a30 100%);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--gold);
}
.award-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(240,180,41,.18) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 30%, rgba(240,180,41,.07) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}


.award-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.award-image-wrap {
  flex-shrink: 0;
  width: 320px;
  position: relative;
}
/* Outer decorative ring */
.award-image-wrap::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: calc(var(--radius-lg) + 14px);
  border: 2px solid rgba(240,180,41,.35);
  pointer-events: none;
  z-index: 0;
}
/* Inner glow ring */
.award-image-wrap::after {
  content: '';
  position: absolute;
  inset: -26px;
  border-radius: calc(var(--radius-lg) + 26px);
  border: 1px solid rgba(240,180,41,.15);
  pointer-events: none;
  z-index: 0;
}
.award-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 4px rgba(240,180,41,.45), 0 24px 64px rgba(0,0,0,.5);
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* Year badge */
.award-badge {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 78px;
  height: 78px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  z-index: 3;
  box-shadow: 0 6px 20px rgba(240,180,41,.55), 0 0 0 3px var(--navy), 0 0 0 5px rgba(240,180,41,.4);
}
.award-badge-year {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1;
}
.award-badge-label {
  font-family: var(--font-heading);
  font-size: 0.52rem;
  font-weight: 700;
  color: rgba(10,28,48,.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

.award-content {
  padding-left: 2rem;
  border-left: 3px solid rgba(240,180,41,.3);
}

.award-eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.award-headline {
  font-family: var(--font-hero);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.award-content .gold-divider { margin: 0 0 1.25rem 0; }
.award-body {
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 560px;
}
.award-body strong { color: var(--gold); font-weight: 600; }

.award-body-secondary {
  font-size: 0.92rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 540px;
}

.award-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.5rem 0 1.75rem;
}
.award-highlight {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,.82);
}
.award-highlight svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.award-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   SERVICES
============================================================ */
.services {
  padding: 5rem 0;
  background: var(--lightgray);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.service-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.service-card:hover .service-image img { transform: scale(1.05); }
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15,39,68,.55));
}

.service-body { padding: 1.5rem; }
.service-accent {
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 0.85rem;
}
.service-title { color: var(--navy); margin-bottom: 0.5rem; }
.service-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.service-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition);
}
.service-link:hover { gap: 0.55rem; }
.service-link span { transition: transform var(--transition); }
.service-link:hover span { transform: translateX(2px); }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 350ms ease, opacity 350ms ease;
}
.service-card:hover .service-tags { max-height: 60px; opacity: 1; }
.service-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(240,180,41,.1);
  border: 1px solid rgba(240,180,41,.3);
  color: var(--gold-dark);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.services-cta-banner {
  margin-top: 2.5rem;
  background: var(--offwhite);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  padding: 1.75rem 2rem;
}

.services-cta-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.services-cta-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(240,180,41,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}
.services-cta-icon svg { width: 26px; height: 26px; }

.services-cta-text { flex: 1; min-width: 200px; }
.services-cta-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.services-cta-sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.services-cta-banner .btn-navy { flex-shrink: 0; }

@media (max-width: 768px) {
  .services-cta-inner { flex-direction: column; text-align: center; }
  .services-cta-banner .btn-navy { width: 100%; justify-content: center; }
}

/* ============================================================
   RESOURCES BANNER
============================================================ */
.resources-banner {
  background: var(--navy);
  padding: 2.25rem 0;
}

.resources-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.resources-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(240,180,41,.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.resources-icon svg { width: 28px; height: 28px; }

.resources-text { flex: 1; min-width: 200px; }
.resources-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.resources-sub { font-size: 0.9rem; color: rgba(255,255,255,.65); margin: 0; }

.resources-banner .btn-gold { flex-shrink: 0; margin-left: auto; }

/* ============================================================
   AFFILIATIONS
============================================================ */
.affiliations {
  padding: 4.5rem 0;
  background: var(--white);
}

.affiliations-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.affiliation-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  filter: none;
  transition: opacity var(--transition), transform var(--transition);
}
.affiliation-logo:hover { opacity: 0.85; transform: scale(1.05); }
.affiliation-logo img { height: 85px; width: auto; object-fit: contain; }

/* ============================================================
   TESTIMONIAL
============================================================ */
.testimonial {
  background: var(--navy);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(240,180,41,.09) 0%, transparent 65%);
  pointer-events: none;
}

.testimonial-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 1.75rem;
  color: var(--gold);
}
.testimonial-stars svg { width: 20px; height: 20px; }

.testimonial-text {
  font-family: var(--font-hero);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.testimonial-author-info { text-align: left; }

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin: 0 0 0.15rem;
}

.testimonial-agency {
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
  margin: 0;
}

/* ============================================================
   CONTACT
============================================================ */
.contact {
  padding: 5rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(240,180,41,.07) 0%, transparent 60%);
  pointer-events: none;
}

.contact .section-header { position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
  align-items: start;
}

/* Contact info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(240,180,41,.12);
  border: 1px solid rgba(240,180,41,.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact-icon svg { width: 18px; height: 18px; }

.contact-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.contact-value {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.55;
}
.contact-link { transition: color var(--transition); }
.contact-link:hover { color: var(--gold); }
.contact-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  margin-top: 0.2rem;
}

/* Map embed */
.contact-map {
  margin: 0.75rem 0 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.contact-map iframe {
  display: block;
  filter: grayscale(20%) contrast(1.05);
}
.map-directions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,.05);
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}
.map-directions:hover {
  background: rgba(255,255,255,.09);
  color: var(--gold-dark);
}
.map-directions svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Key contacts directory */
.key-contacts {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.kc-group { margin-bottom: 0; }

.kc-group-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(240,180,41,.3);
  padding-top: 0.7rem;
  margin-bottom: 0.6rem;
}

.kc-row {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.kc-row:last-child { border-bottom: none; }

.kc-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}
.kc-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
}
.kc-role {
  font-size: 0.72rem;
  color: rgba(255,255,255,.45);
  font-style: italic;
  white-space: nowrap;
}

.kc-bottom {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.kc-phone {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  transition: color var(--transition);
}
.kc-phone:hover { color: var(--gold-dark); }
.kc-email {
  font-size: 0.78rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.kc-email:hover { color: var(--white); }

/* Contact card */
.contact-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-card-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.contact-card-body {
  color: rgba(255,255,255,.65);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.contact-btn { width: 100%; justify-content: center; margin-bottom: 2rem; }

.newsletter { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; }
.newsletter-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.newsletter-sub { font-size: 0.85rem; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}
.newsletter-input {
  flex: 1;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-input:focus { border-color: var(--gold); }

/* ============================================================
   VALUE PROPS
============================================================ */
.value-props {
  background: var(--white);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}

.vp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.vp-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
}
.vp-item:last-child { border-right: none; }

.vp-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--gold-dark);
}
.vp-icon svg { width: 100%; height: 100%; }

.vp-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.vp-body {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   FINAL CTA STRIP
============================================================ */
.cta-strip {
  background: var(--navy);
  padding: 4rem 0;
  border-top: 3px solid var(--gold);
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-strip-title {
  font-family: var(--font-hero);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-strip-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  max-width: 500px;
}

.cta-strip-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ============================================================
   INQUIRY FORM
============================================================ */
.inquiry-form { display: flex; flex-direction: column; gap: 1rem; }

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

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-required { color: var(--gold); }

.form-input {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  width: 100%;
}
.form-input::placeholder { color: rgba(255,255,255,.3); }
.form-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
}

.form-select { cursor: pointer; }
.form-select option { background: var(--navy); color: var(--white); }

.form-textarea { resize: vertical; min-height: 100px; }

.form-submit { align-self: flex-start; margin-top: 0.25rem; }

.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,.4);
  line-height: 1.5;
}
.form-note-link {
  color: var(--gold);
  transition: color var(--transition);
}
.form-note-link:hover { color: var(--gold-dark); }

/* ============================================================
   FADE-IN ANIMATIONS
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-left.visible  { opacity: 1; transform: translateX(0); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .reveal-left,
  .reveal-right { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   FAQ
============================================================ */
.faq {
  background: var(--offwhite);
  padding: 5rem 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold-dark); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold);
  transition: transform 300ms ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 420ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

.faq-list-items {
  list-style: none;
  padding-bottom: 1.25rem;
}
.faq-list-items li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  padding: 0.2rem 0 0.2rem 1.25rem;
  position: relative;
}
.faq-list-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.faq-list-items strong { color: var(--charcoal); }

.faq-link {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.faq-link:hover { color: var(--gold-dark); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding-top: 3.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}
.footer-logo { height: 44px; width: auto; object-fit: contain; }
.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  margin: 0 0 0.15rem;
  letter-spacing: 0.03em;
}
.footer-brand-sub {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.7rem;
  color: rgba(255,255,255,.5);
  margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.25rem;
  max-width: 280px;
}

.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.social-link svg { width: 16px; height: 16px; }

.footer-nav-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-nav-list { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-nav-link:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,.4); }
.footer-partner-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-partner-logos img {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity var(--transition);
}
.footer-partner-logos img:hover { opacity: 1; }

/* ============================================================
   SCROLL TO TOP
============================================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--gold); color: var(--navy); }
.scroll-top svg { width: 20px; height: 20px; }

/* ============================================================
   MOBILE CTA BAR
============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 0.75rem 1.5rem;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}

.mobile-cta-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-cta-phone:hover { color: var(--gold); }
.mobile-cta-phone svg { width: 18px; height: 18px; flex-shrink: 0; }

.mobile-cta-quote { flex-shrink: 0; }

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow,
.hero-headline,
.hero-sub,
.hero-actions,
.hero-trust {
  animation: fadeInUp 0.6s ease-out both;
}
.hero-headline  { animation-delay: 0.1s; }
.hero-sub       { animation-delay: 0.2s; }
.hero-actions   { animation-delay: 0.3s; }
.hero-trust     { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 960px)
============================================================ */
@media (max-width: 960px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-drawer { display: block; }

  .hiw-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 1.5rem;
  }
  .hiw-connector { transform: rotate(90deg); opacity: 0.6; }
  .hiw-step { text-align: left; }
  .hiw-cta { flex-direction: column; align-items: center; }

  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 68px; }
  .scroll-top { bottom: 5.5rem; }

  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-text { padding-bottom: 0; text-align: center; padding-left: 0; }
  .hero-text::before { display: none; }
  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-image { display: none; }
  .hero-wave svg { height: 50px; }

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

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-right { order: -1; }
  .about-image-wrap { display: none; }
  .vmg-grid { grid-template-columns: 1fr; }
  .about-logo-wrap { justify-content: center; text-align: center; flex-direction: column; align-items: center; }

  .award-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .award-content { padding-left: 0; border-left: none; }
  .award-image-wrap { width: 220px; margin-inline: auto; }
  .award-image-wrap::before { inset: -10px; border-radius: calc(var(--radius-lg) + 10px); }
  .award-image-wrap::after { inset: -20px; border-radius: calc(var(--radius-lg) + 20px); }
  .award-badge { width: 64px; height: 64px; top: -14px; right: -14px; }
  .award-badge-year { font-size: 0.9rem; }
  .award-badge-label { font-size: 0.46rem; }
  .award-content .gold-divider { margin-inline: auto; }
  .award-body, .award-body-secondary { margin-inline: auto; }
  .award-highlights { align-items: center; }
  .award-actions { justify-content: center; }

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

  .contact-grid { grid-template-columns: 1fr; }
  .key-contacts { grid-template-columns: 1fr; }

  .vp-grid { grid-template-columns: repeat(2, 1fr); }
  .vp-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .vp-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .vp-item:nth-last-child(-n+2) { border-bottom: none; }

  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip-actions { justify-content: center; }
  .cta-strip-title { font-size: 1.6rem; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 560px)
============================================================ */
@media (max-width: 560px) {
  .ql-grid { grid-template-columns: repeat(2, 1fr); }

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

  .resources-inner { flex-direction: column; text-align: center; }
  .resources-banner .btn-gold { margin-left: 0; width: 100%; justify-content: center; }

  .vp-grid { grid-template-columns: 1fr; }
  .vp-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.08); }
  .vp-item:last-child { border-bottom: none; }

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

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

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-partner-logos { justify-content: center; }

  .hero-trust { padding: 1rem; gap: 0; flex-wrap: wrap; }
  .trust-item { flex: 1; min-width: 80px; }
  .trust-divider { display: none; }
}

/* ============================================================
   SUBPAGE — PAGE HERO
============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(240,180,41,.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(15,39,68,.5) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity var(--transition);
}
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb-sep { opacity: 0.4; }
.page-hero-title {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
  max-width: 700px;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.page-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   SUBPAGE — CATEGORY FILTER BAR
============================================================ */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  position: sticky;
  top: 62px;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.filter-bar-inner {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.filter-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-right: 0.25rem;
  white-space: nowrap;
}
.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.42rem 1rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(240,180,41,.06);
}
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 2px 10px rgba(240,180,41,.4);
}

/* ============================================================
   SUBPAGE — PRODUCTS FULL GRID (3-column)
============================================================ */
.services-full {
  padding: 3.5rem 0 5rem;
  background: var(--lightgray);
}
.services-grid--full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card.hidden { display: none; }

/* ============================================================
   SUBPAGE — COMPACT CONTACT STRIP
============================================================ */
.contact-strip {
  background: var(--navy);
  padding: 2.5rem 0;
  text-align: center;
  border-top: 4px solid var(--gold);
}
.contact-strip-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.25rem;
}
.contact-strip-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.5rem;
  border: 1.5px solid rgba(240,180,41,.45);
  border-radius: 100px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}
.contact-pill svg { flex-shrink: 0; }
.contact-pill:hover {
  background: rgba(240,180,41,.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   RESPONSIVE — PRODUCTS PAGE
============================================================ */
@media (max-width: 1024px) {
  .services-grid--full { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid--full { grid-template-columns: 1fr; }
  .filter-bar { top: 60px; }
  .page-hero { padding: 3.5rem 0 5.5rem; }
  .page-hero-actions { flex-direction: column; }
  .page-hero-actions .btn { text-align: center; justify-content: center; }
}

/* ============================================================
   APPLICATIONS PAGE — SEARCH BAR
============================================================ */
.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.65rem;
}
.forms-filter-wrap {
  position: relative;
}
.forms-filter-dropdown {
  position: relative;
}
.forms-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-width: 220px;
  white-space: nowrap;
}
.forms-filter-toggle:hover,
.forms-filter-toggle:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,180,41,.12);
}
.forms-filter-label { flex: 1; text-align: left; }
.forms-filter-chevron {
  color: var(--muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.forms-filter-toggle[aria-expanded="true"] .forms-filter-chevron { transform: rotate(180deg); }
.forms-filter-list {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  padding: 0.4rem;
  list-style: none;
  margin: 0;
  z-index: 300;
  overflow: hidden;
}
.forms-filter-list.open { display: block; }
.forms-filter-option {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--charcoal);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.forms-filter-option:hover { background: var(--lightgray); color: var(--navy); }
.forms-filter-option.active { background: var(--gold); color: var(--navy); }
.forms-search-wrap {
  position: relative;
  width: 380px;
  flex-shrink: 0;
}
.forms-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.forms-search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.88rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: var(--shadow-sm);
}
.forms-search-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(240,180,41,.12); }
.form-result-count {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin: 0;
}

/* ============================================================
   APPLICATIONS PAGE — FILTER TABS (separate class from products)
============================================================ */
.app-filter-tabs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.app-filter-btn {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.38rem 0.9rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.app-filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); background: rgba(240,180,41,.05); }
.app-filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); box-shadow: 0 2px 10px rgba(240,180,41,.4); }

/* ============================================================
   APPLICATIONS PAGE — FORMS BODY
============================================================ */
.forms-body { padding: 3rem 0 5rem; background: var(--lightgray); }

/* Most-requested panel */
.featured-forms-panel {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.featured-forms-panel > h2 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.featured-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1.5px solid rgba(240,180,41,.3);
  border-radius: 8px;
  background: rgba(240,180,41,.03);
  transition: border-color var(--transition), background var(--transition);
}
.featured-card:hover { border-color: var(--gold); background: rgba(240,180,41,.07); }
.featured-info { flex: 1; min-width: 0; }
.featured-name { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 700; color: var(--charcoal); line-height: 1.3; }
.featured-sub { font-size: 0.73rem; color: var(--muted); margin-top: 0.15rem; }
.btn-sm { font-size: 0.7rem !important; padding: 0.28rem 0.65rem !important; }

/* Category sections */
.forms-section { margin-bottom: 2.5rem; }
.category-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
}
.category-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-dark);
}
.category-count {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.12rem 0.55rem;
  border-radius: 100px;
}

/* Form rows — slim table style */
.form-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
}
.form-list .form-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.35rem;
  background: transparent;
  border: none;
  border-radius: 5px;
}
.form-list .form-row:hover .form-name-btn { color: var(--gold-dark); }

/* Hide file-type icon and carrier in list view */
.form-list .form-icon { display: none; }
.form-list .form-carrier { display: none; }
/* Clickable form name button */
.form-name-btn {
  flex: 1;
  min-width: 0;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition);
}
.form-name-btn:hover { color: var(--gold-dark); }

/* Application form modal */
.form-modal {
  position: fixed;
  inset: 0;
  background: rgba(15,39,68,.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.form-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.form-modal-inner {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 940px;
  height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
  overflow: hidden;
}
.form-modal.closing .form-modal-inner {
  animation: modalOut .2s ease forwards;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.97) translateY(10px); }
  to   { opacity: 1; transform: scale(1)   translateY(0);    }
}
@keyframes modalOut {
  from { opacity: 1; transform: scale(1)   translateY(0);    }
  to   { opacity: 0; transform: scale(.97) translateY(10px); }
}
.form-modal-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-form-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal-form-icon.pdf { background: rgba(220,38,38,.1); color: #DC2626; }
.modal-form-icon.doc { background: rgba(37,99,235,.1);  color: #2563EB; }
.modal-form-icon.xls { background: rgba(22,163,74,.1);  color: #16A34A; }
.modal-form-icon.rtf { background: rgba(124,58,237,.1); color: #7C3AED; }
.modal-title {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal-actions { display: flex; align-items: center; gap: 0.55rem; flex-shrink: 0; }
.modal-close {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid #e53e3e;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e53e3e;
  transition: all var(--transition);
}
.modal-close:hover { background: #e53e3e; color: #fff; }
.form-modal-body { flex: 1; overflow: hidden; position: relative; }
#modal-frame { width: 100%; height: 100%; border: none; display: block; }
.modal-no-preview {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1.25rem;
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}
.modal-no-preview p { font-size: 0.9rem; line-height: 1.6; }
@media (max-width: 640px) {
  .form-modal { padding: 0; }
  .form-modal-inner { border-radius: 0; height: 100dvh; max-width: 100%; }
}
.form-carrier {
  font-size: 0.73rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 90px;
  text-align: right;
}
.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.7rem;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.73rem;
  font-weight: 600;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  transition: all var(--transition);
  flex-shrink: 0;
}
.btn-dl:hover { border-color: var(--gold); color: var(--gold-dark); background: rgba(240,180,41,.07); }

/* ============================================================
   RESPONSIVE — APPLICATIONS PAGE
============================================================ */
@media (max-width: 768px) {
  .featured-grid { grid-template-columns: 1fr; }
  .form-list { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .filter-toolbar { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .forms-search-wrap { width: 100%; }
  .forms-filter-select { width: 100%; }
}
@media (max-width: 480px) {
  .app-filter-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.35rem; -webkit-overflow-scrolling: touch; }
  .app-filter-btn { flex-shrink: 0; }
  .featured-card { flex-wrap: wrap; }
}

/* ============================================================
   APPLICATIONS PAGE — NEITCLEM ONLINE FLAGSHIP (nca-*)
============================================================ */
.nca-section {
  background: var(--lightgray);
  padding: 3rem 0 5rem;
  text-align: left;
}

.nca-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(240, 180, 41, 0.12);
  border: 1.5px solid rgba(240, 180, 41, 0.35);
  border-radius: 100px;
  padding: 0.32rem 1rem;
  margin-bottom: 1.25rem;
}

.nca-headline {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.nca-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.nca-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.nca-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
}

.nca-feature-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--navy);
}

.nca-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: left;
}

.nca-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.4rem 1.25rem 1.25rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.nca-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(240, 180, 41, 0.18);
  transform: translateY(-3px);
}

.nca-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(15, 39, 68, 0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.nca-card:hover .nca-card-icon {
  background: rgba(240, 180, 41, 0.15);
  color: var(--gold-dark);
}

.nca-card-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  flex: 1;
}

.nca-card-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition);
}
.nca-card:hover .nca-card-link { gap: 0.45rem; }

/* ============================================================
   APPLICATIONS PAGE — PDF DIVIDER SECTION
============================================================ */
.pdf-divider-section {
  background: var(--lightgray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
  text-align: center;
}

.pdf-divider-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.pdf-divider-sub {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ============================================================
   RESPONSIVE — NCA SECTION (card grid, kept for reference)
============================================================ */
@media (max-width: 960px) {
  .nca-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nca-section { padding: 3.5rem 0 3rem; }
  .nca-grid { grid-template-columns: 1fr; }
  .nca-features { gap: 0.5rem; }
}

/* ============================================================
   NCA — CORPORATE DIRECTORY LIST
============================================================ */
.nca-categories {
  margin-top: 1.5rem;
}

.nca-dir-row {
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
}

.nca-dir-name {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}

.form-row:hover .nca-dir-name {
  color: var(--gold-dark);
}

.nca-new-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.48rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  flex-shrink: 0;
  margin-left: 0.65rem;
}

/* NCA toolbar */
.nca-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.nca-toolbar-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.nca-toolbar-count {
  color: var(--navy);
}

/* NCA search bar */
.nca-search-wrap {
  position: relative;
  width: 420px;
  flex-shrink: 0;
}

.nca-search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.nca-search-input {
  width: 100%;
  padding: 0.75rem 1.1rem 0.75rem 2.85rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nca-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.12);
}

.nca-search-input::placeholder { color: var(--muted); }

/* PDF link footer inside NCA section */
.nca-pdf-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.nca-pdf-link-text {
  font-size: 0.88rem;
  color: var(--muted);
}

.nca-pdf-link-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
  transition: color var(--transition);
}

.nca-pdf-link-btn:hover { color: var(--gold-dark); }

@media (max-width: 680px) {
  .nca-cat-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BECOME AN AGENT PAGE
============================================================ */

/* Hero badge chip */
.baa-hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid rgba(240, 180, 41, 0.5);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
}

/* Why Partner section */
.baa-why-section {
  background: var(--white);
  padding: 5rem 0;
}

.baa-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.baa-why-card {
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.baa-why-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(240, 180, 41, 0.15);
  transform: translateY(-3px);
}

.baa-why-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 39, 68, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: background var(--transition), color var(--transition);
}

.baa-why-card:hover .baa-why-icon {
  background: rgba(240, 180, 41, 0.15);
  color: var(--gold-dark);
}

.baa-why-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.baa-why-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Process strip */
.baa-process-section {
  background: var(--lightgray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}

.baa-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  position: relative;
}

.baa-process-grid::before,
.baa-process-grid::after {
  content: '';
  position: absolute;
  top: 1.25rem;
  height: 0;
  border-top: 2px dashed var(--gold);
  opacity: 0.35;
  pointer-events: none;
}

/* Left segment: just after col 1 center → just before col 2 center */
.baa-process-grid::before {
  left: calc(16.67% + 2rem);
  right: calc(50% + 2rem);
}

/* Right segment: just after col 2 center → just before col 3 center */
.baa-process-grid::after {
  left: calc(50% + 2rem);
  right: calc(16.67% + 2rem);
}

.baa-step { text-align: center; padding: 0 1rem; }

.baa-step-num {
  font-family: var(--font-hero);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.baa-step-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.baa-step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Main form section */
.baa-main-section {
  background: var(--offwhite);
  padding: 5rem 0;
}

.baa-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

/* Form cards */
.baa-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.baa-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.baa-card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Light-mode form inputs */
.baa-form .form-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
  display: block;
}

.baa-form .form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.baa-form .form-required { color: var(--gold-dark); }

.baa-form .form-input,
.baa-form .form-select,
.baa-form .form-textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: var(--offwhite);
  color: var(--charcoal);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.baa-form .form-input:focus,
.baa-form .form-select:focus,
.baa-form .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.1);
}

.baa-form .form-textarea { min-height: 90px; resize: vertical; }

.baa-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.baa-form .form-row.single { grid-template-columns: 1fr; }
.baa-form .form-row.triple { grid-template-columns: 2fr 1fr 1fr; }
.baa-form .form-group { display: flex; flex-direction: column; }

/* Checkbox grid */
.baa-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

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

.baa-check-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.baa-check-label:hover { background: var(--offwhite); }

.baa-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-dark);
  flex-shrink: 0;
  cursor: pointer;
}

/* Declarations */
.baa-declarations { display: flex; flex-direction: column; gap: 1rem; }

.baa-declaration {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.55;
  padding: 0.85rem 1rem;
  background: var(--offwhite);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.baa-declaration:hover { border-color: var(--gold); background: rgba(240, 180, 41, 0.04); }

.baa-declaration input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 0.15rem;
  cursor: pointer;
}

/* Notes and helper text */
.baa-form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.65rem;
  font-style: italic;
  line-height: 1.55;
}

/* Submit area */
.baa-submit-area { margin-top: 0.5rem; }

.baa-submit-area .btn {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: 1rem;
}

.baa-submit-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
  text-align: center;
  line-height: 1.6;
}

/* Sidebar */
.baa-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.baa-sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.baa-sidebar-card.navy {
  background: var(--navy);
  border-color: var(--navy);
}

.baa-sidebar-card.accent {
  background: var(--offwhite);
}

.baa-sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.baa-sidebar-card.navy .baa-sidebar-title { color: var(--white); }
.baa-sidebar-card.navy .baa-checklist li { color: rgba(255, 255, 255, 0.85); }

.baa-sidebar-contact {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.75;
}

.baa-sidebar-contact a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

.baa-sidebar-contact a:hover { color: #fff; }

.baa-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.baa-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--charcoal);
}

.baa-checklist li::before {
  content: '✓';
  color: var(--gold-dark);
  font-weight: 800;
  flex-shrink: 0;
}

.baa-promise-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.baa-promise-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.baa-promise-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Responsive — Become an Agent */
@media (max-width: 960px) {
  .baa-layout { grid-template-columns: 1fr; }
  .baa-sidebar { position: static; }
  .baa-why-grid { grid-template-columns: 1fr 1fr; }
  .baa-process-grid { grid-template-columns: 1fr; gap: 2rem; }
  .baa-process-grid::before,
  .baa-process-grid::after { display: none; }
  .baa-checkbox-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .baa-form .form-row,
  .baa-form .form-row.triple { grid-template-columns: 1fr; }
  .baa-why-grid { grid-template-columns: 1fr; }
  .baa-checkbox-grid,
  .baa-checkbox-grid-2col { grid-template-columns: 1fr; }
  .baa-main-section { padding: 3rem 0; }
  .baa-process-section { padding: 3rem 0; }
  .baa-why-section { padding: 3.5rem 0; }
}

/* ============================================================
   LEGAL PAGES — Terms of Service & Privacy Policy
   ============================================================ */

.legal-section-wrapper {
  background: var(--offwhite);
  padding: 5rem 0 6rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 4rem;
  align-items: start;
}

/* Table of Contents */
.legal-toc {
  position: sticky;
  top: 100px;
}

.legal-toc-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.legal-toc nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  border-left: 2px solid var(--border);
}

.legal-toc-link {
  display: block;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color var(--transition), border-color var(--transition);
  line-height: 1.4;
}

.legal-toc-link:hover {
  color: var(--navy);
  border-left-color: var(--gold);
}

.legal-toc-meta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-toc-meta p:first-child {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

/* Main Content */
.legal-content {
  max-width: 760px;
}

.legal-effective {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-block {
  margin-bottom: 2.75rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--border);
}

.legal-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  scroll-margin-top: 110px;
}

.legal-subheading {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: 1.25rem;
  margin-bottom: 0.55rem;
}

.legal-body {
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--charcoal);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-body:last-child { margin-bottom: 0; }

.legal-link {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

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

/* Responsive — Legal Pages */
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 2rem; }
  .legal-toc { position: static; display: none; }
  .legal-content { max-width: 100%; }
  .legal-section-wrapper { padding: 3.5rem 0 4rem; }
}

@media (max-width: 560px) {
  .legal-section-wrapper { padding: 2.5rem 0 3rem; }
  .legal-heading { font-size: 0.97rem; }
  .legal-body { font-size: 0.9rem; }
}

/* ============================================================
   PAYMENT PAGES — payment.html & payment-authorization-form.html
   ============================================================ */

.pay-methods-section {
  background: var(--offwhite);
  padding: 3rem 0 5rem;
}

.pay-method-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border);
}

.pay-method-block:last-child { border-bottom: none; }

/* ePayPolicy featured block */
.pay-featured {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 0;
  color: var(--white);
}

.pay-featured .pay-method-block {
  border-bottom: none;
  padding: 0;
}

.pay-recommended-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(240, 180, 41, 0.2);
  color: var(--gold);
  border: 1px solid rgba(240, 180, 41, 0.4);
  border-radius: 2rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.pay-method-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.pay-featured .pay-method-title { color: var(--white); }

.pay-method-desc {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.8;
}

.pay-featured .pay-method-desc { color: rgba(255, 255, 255, 0.8); }

.pay-method-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 39, 68, 0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.pay-fee-table {
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pay-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.pay-fee-row:last-child { border-bottom: none; }

.pay-fee-label {
  font-family: var(--font-heading);
  font-weight: 600;
}

.pay-fee-value { font-weight: 600; }
.pay-fee-value.free { color: var(--gold); }

.pay-address-block {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.9;
  background: var(--lightgray);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.pay-action-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pay-contact-line {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.85;
}

.pay-contact-line a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.pay-contact-line a:hover { color: var(--gold-dark); }

.pay-method-note {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.pay-featured .pay-method-note { color: rgba(255, 255, 255, 0.45); }

/* Security strip */
.pay-security-strip {
  background: var(--lightgray);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.pay-security-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 680px;
  margin: 0 auto;
}

.pay-security-icon {
  color: var(--navy);
  opacity: 0.55;
  flex-shrink: 0;
}

.pay-security-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Authorization form page */
.pay-auth-section {
  background: var(--offwhite);
  padding: 5rem 0;
}

.pay-auth-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.pay-auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.pay-auth-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* Amount input with $ prefix */
.pay-amount-wrap { position: relative; }

.pay-amount-prefix {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  pointer-events: none;
}

.pay-amount-wrap .form-input { padding-left: 1.65rem; }

/* btn-outline-navy — new button variant */
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 0.65rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--transition), color var(--transition);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* Responsive — Payment Pages */
@media (max-width: 960px) {
  .pay-method-block { grid-template-columns: 1fr; gap: 1.75rem; }
  .pay-featured { padding: 2rem; }
  .pay-auth-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .pay-methods-section { padding: 2rem 0 3.5rem; }
  .pay-method-block { padding: 2.5rem 0; }
  .pay-auth-section { padding: 3rem 0; }
  .pay-security-inner { flex-direction: column; text-align: center; }
  .pay-featured { padding: 1.5rem; }
}

/* ============================================================
   PROMOTIONAL MARKETING & FLYER LIBRARY
   neitclem-flyers.html + flyer-library.html
============================================================ */

/* Section eyebrow pill badge */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(240, 180, 41, 0.1);
  border: 1.5px solid rgba(240, 180, 41, 0.3);
  border-radius: 100px;
  padding: 0.28rem 0.9rem;
  margin-bottom: 0.75rem;
}

/* ============================================================
   POSTER SHOWCASE SECTION
============================================================ */
.poster-showcase {
  padding: 4.5rem 0 5rem;
  background: var(--offwhite);
}

/* Hero poster card */
.poster-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  align-items: stretch;
  margin-bottom: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition), transform var(--transition);
}
.poster-hero:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.poster-hero-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--lightgray);
}
.poster-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.poster-hero:hover .poster-hero-img { transform: scale(1.025); }

/* Overlay (shared by hero + thumbnails) */
.poster-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 48, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.poster-hero-img-wrap:hover .poster-overlay,
.poster-thumb-img-wrap:hover .poster-overlay { opacity: 1; }

.poster-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: var(--white);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.poster-overlay-btn:hover { background: var(--gold); color: var(--navy); }

/* Hero metadata panel */
.poster-hero-meta {
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  border-left: 1px solid var(--border);
}

.poster-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.22rem 0.75rem;
  border-radius: 100px;
  align-self: flex-start;
}

.poster-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.poster-hero-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.poster-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

/* 3-column thumbnail grid */
.poster-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.poster-thumb {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.poster-thumb:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.poster-thumb-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--lightgray);
}
.poster-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.poster-thumb:hover .poster-thumb-img { transform: scale(1.045); }

.poster-thumb-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  gap: 0.65rem;
  border-top: 1px solid var(--border);
}

.poster-thumb-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  flex: 1;
  line-height: 1.3;
}

.poster-dl-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}
.poster-dl-link:hover { color: var(--navy); }

/* ============================================================
   FLYERS TEASER SECTION
============================================================ */
.flyers-teaser {
  padding: 4.5rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.flyers-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.flyers-teaser-text .section-header { text-align: left; }
.flyers-teaser-text .gold-divider { margin: 0.9rem 0; }
.flyers-teaser-text .section-sub { max-width: none; margin: 0 0 1.75rem; }

.flyers-teaser-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.flyer-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.flyer-cat-chip:hover {
  border-color: var(--gold);
  background: rgba(240, 180, 41, 0.06);
  color: var(--navy);
}

.chip-count {
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 100px;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.08rem 0.42rem;
  line-height: 1.5;
  flex-shrink: 0;
}

/* ============================================================
   POSTER LIGHTBOX MODAL — modifier on .form-modal
============================================================ */
.poster-modal-inner {
  max-width: 1100px;
}
.poster-modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: #111827;
}
.poster-modal-body img {
  max-width: 100%;
  max-height: calc(88vh - 64px);
  object-fit: contain;
  display: block;
}

/* ============================================================
   FLYER LIBRARY — category badge modifier
============================================================ */
.flyer-cat-badge {
  background: rgba(15, 39, 68, 0.07);
  color: var(--navy);
  border-radius: 100px;
  padding: 0.14rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-heading);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: auto;
  text-align: center;
}

/* ============================================================
   RESPONSIVE — PROMOTIONAL PAGES
============================================================ */
@media (max-width: 960px) {
  .poster-hero {
    grid-template-columns: 1fr;
  }
  .poster-hero-img-wrap { aspect-ratio: 16 / 9; }
  .poster-hero-meta {
    padding: 1.5rem;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .poster-hero-actions { flex-direction: row; flex-wrap: wrap; }
  .flyers-teaser-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
  .poster-showcase { padding: 3rem 0 3.5rem; }
  .poster-thumbs-grid { grid-template-columns: 1fr; }
  .poster-hero-img-wrap { aspect-ratio: 4 / 3; }
  .flyers-teaser { padding: 3rem 0; }
  .poster-overlay { opacity: 1; background: rgba(10, 28, 48, 0.38); }
}

/* ============================================================
   NEWS & SOCIAL SECTION (index homepage embed)
============================================================ */
.news-social {
  padding: 5.5rem 0;
  background: var(--offwhite);
}
.news-social-inner {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: space-between;
}
.news-social-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
}
.news-social-heading {
  font-family: var(--font-hero);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.news-social-body {
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 40ch;
}
.news-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.news-social-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.news-social-feed {
  width: 482px;
  height: 600px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.fb-feed-clip {
  margin-top: -75px;
}
.news-social-feed .fb-page,
.news-social-feed .fb-page > span,
.news-social-feed iframe {
  display: block !important;
  width: 500px !important;
}
.news-social-feed iframe {
  scrollbar-width: none;
}
.news-social-feed iframe::-webkit-scrollbar {
  display: none;
}
@media (max-width: 900px) {
  .news-social-inner {
    flex-direction: column;
    gap: 2.5rem;
  }
  .news-social-feed { width: 100%; }
  .news-social-body { max-width: 100%; }
}

/* ============================================================
   NEWS PAGE — article cards
============================================================ */
.news-page { padding: 4rem 0 6rem; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); }
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.news-card-tag {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(240,180,41,.15);
  color: var(--gold-dark);
  padding: 0.18rem 0.6rem;
  border-radius: 100px;
}
.news-card-date {
  font-size: 0.75rem;
  color: var(--muted);
}
.news-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.news-card-excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

@media (max-width: 480px) {
  .poster-thumbs-grid { grid-template-columns: repeat(2, 1fr); }
  .poster-thumb-meta { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
}

/* ============================================================
   POSTER CAROUSEL
============================================================ */
.poster-carousel {
  position: relative;
  padding: 0 3.5rem;
  user-select: none;
}

.carousel-stage {
  position: relative;
  height: clamp(480px, 62vw, 720px);
  perspective: 1200px;
  transform-style: preserve-3d;
}

.poster-slide {
  position: absolute;
  left: 50%;
  top: 0;
  width: 60%;
  height: 100%;
  transform: translateX(-50%) scale(0.5) translateZ(-350px);
  opacity: 0;
  transition: transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 500ms ease;
  cursor: pointer;
  pointer-events: none;
  z-index: 1;
}

.poster-slide.active {
  transform: translateX(-50%) scale(1) translateZ(0);
  opacity: 1;
  z-index: 10;
  cursor: default;
  pointer-events: all;
}

.poster-slide.prev {
  transform: translateX(calc(-50% - 74%)) scale(0.80) translateZ(-120px);
  opacity: 0.65;
  z-index: 5;
  pointer-events: all;
}

.poster-slide.next {
  transform: translateX(calc(-50% + 74%)) scale(0.80) translateZ(-120px);
  opacity: 0.68;
  z-index: 5;
  pointer-events: all;
}

.poster-slide-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: box-shadow 700ms ease;
}

.poster-slide.active .poster-slide-img-wrap {
  box-shadow: 0 24px 60px rgba(15, 39, 68, 0.35);
}

.poster-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s ease;
}

.poster-slide.active:hover .poster-slide-img {
  transform: scale(1.03);
}

.carousel-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 20;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  padding: 0;
}

.carousel-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-50%) scale(1.08);
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-meta-strip {
  margin-top: 2.25rem;
  text-align: center;
  min-height: 180px;
}

.carousel-meta-item {
  display: none;
}

.carousel-meta-item.active {
  display: block;
  animation: carouselMetaIn 0.4s ease forwards;
}

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

.carousel-meta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0.5rem 0 0.6rem;
}

/* ============================================================
   HOLIDAY SCHEDULE SECTION
============================================================ */
.holiday-schedule {
  padding: 4.5rem 0;
  background: var(--white);
}
.holiday-schedule-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.holiday-schedule-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}
.holiday-schedule-title {
  font-family: var(--font-hero);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.holiday-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.holiday-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.holiday-table thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.25rem;
  text-align: left;
}
.holiday-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.holiday-table tbody tr:last-child { border-bottom: none; }
.holiday-table tbody tr:nth-child(even) { background: var(--offwhite); }
.holiday-table tbody tr:hover { background: rgba(240,180,41,.08); }
.holiday-table td {
  padding: 0.75rem 1.25rem;
  color: var(--text);
  vertical-align: middle;
}
.holiday-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  width: 150px;
}
.holiday-status-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.65rem;
  border-radius: 100px;
}
.holiday-status-badge.closed {
  background: rgba(15,39,68,.1);
  color: var(--navy);
}
.holiday-status-badge.early {
  background: rgba(240,180,41,.18);
  color: var(--gold-dark);
}
@media (max-width: 600px) {
  .holiday-table td:first-child { width: auto; white-space: normal; }
  .holiday-table thead th,
  .holiday-table td { padding: 0.65rem 0.85rem; }
}

.carousel-meta-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 1.25rem;
}

.carousel-meta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Resources Page ────────────────────────────────────────────── */
.res-quicklinks {
  padding: 4.5rem 0;
  background: var(--offwhite);
}

.res-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3d6e 100%);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ql-search-wrap {
  position: relative;
  max-width: 720px;
  margin: 2rem auto 2.5rem;
}
.ql-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.ql-search-input {
  width: 100%;
  padding: 0.9rem 8rem 0.9rem 3rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(15,39,68,.07);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.ql-ai-tag {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3d6e 100%);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}
.ql-search-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,39,68,.1), 0 2px 8px rgba(15,39,68,.07);
}
.ql-search-input::placeholder { color: var(--muted); font-style: italic; }

.ql-no-results {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* Contact Directory + Office Hours */
.res-directory {
  padding: 4.5rem 0;
  background: var(--white);
}
.res-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.res-section-heading {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.res-subsection-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.res-section-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.contact-dir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-dir-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.contact-dir-role {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  margin-bottom: 0.25rem;
}
.contact-dir-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}
.contact-dir-links { display: flex; flex-direction: column; gap: 0.35rem; }
.contact-dir-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-dir-link svg { width: 13px; height: 13px; flex-shrink: 0; }
.contact-dir-link:hover { color: var(--navy); }

/* Office Hours */
.office-hours-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin-bottom: 0.5rem;
}
.office-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.office-hours-row:last-of-type { border-bottom: none; }
.office-hours-day { color: var(--navy); font-weight: 500; }
.office-hours-time { color: var(--navy); font-weight: 600; }
.office-hours-closed .office-hours-time { color: var(--muted); font-weight: 400; }
.office-hours-tz {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* Latest News strip */
.res-news {
  padding: 4.5rem 0;
  background: var(--offwhite);
}
.res-news-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Download Library */
.res-downloads {
  padding: 4.5rem 0;
  background: var(--white);
}
.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.dl-category {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.dl-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.dl-category-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15,39,68,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}
.dl-category-icon svg { width: 18px; height: 18px; }
.dl-category-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}
.dl-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.dl-item {}
.dl-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--navy);
  text-decoration: none;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.dl-link svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--gold-dark); }
.dl-link:hover { background: rgba(15,39,68,.06); color: var(--navy); }

/* Resources CTA block on homepage */
.res-cta-section {
  padding: 4rem 0;
  background: var(--offwhite);
}
.res-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
}
.res-cta-text {}
.res-cta-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}
.res-cta-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.res-cta-desc {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 480px;
}
.res-cta-actions { flex-shrink: 0; }

/* Get a Quote CTA strip */
.res-cta-strip {
  padding: 4.5rem 0;
  background: var(--navy);
  border-top: 4px solid var(--gold);
}
.res-cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}
.res-cta-strip-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.res-cta-strip-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.res-cta-strip-desc {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  max-width: 420px;
}
.res-cta-strip-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 220px;
}
.res-cta-strip-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

@media (max-width: 768px) {
  .res-two-col { grid-template-columns: 1fr; }
  .contact-dir-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .res-cta-inner { flex-direction: column; align-items: flex-start; }
  .res-cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .res-cta-strip-actions { width: 100%; }
}
@media (max-width: 560px) {
  .dl-grid { grid-template-columns: 1fr; }
}

.carousel-dots {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

.carousel-dot:hover:not(.active) {
  background: rgba(240, 180, 41, 0.35);
}

.carousel-library-nudge {
  text-align: center;
  margin-top: 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-library-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}

.carousel-library-link:hover {
  color: var(--navy);
}

/* Responsive — Carousel */
@media (max-width: 960px) {
  .poster-carousel { padding: 0 2.75rem; }
  .carousel-stage { height: clamp(360px, 62vw, 580px); }
  .poster-slide { width: 72%; }
  .poster-slide.prev { transform: translateX(calc(-50% - 78%)) scale(0.78) translateZ(-80px); }
  .poster-slide.next { transform: translateX(calc(-50% + 78%)) scale(0.78) translateZ(-80px); }
}

@media (max-width: 640px) {
  .poster-carousel { padding: 0 2.25rem; }
  .carousel-stage { height: clamp(320px, 92vw, 520px); }
  .poster-slide { width: 86%; }
  .poster-slide.prev { transform: translateX(calc(-50% - 90%)) scale(0.73) translateZ(-60px); }
  .poster-slide.next { transform: translateX(calc(-50% + 90%)) scale(0.73) translateZ(-60px); }
  /* Keep overlays visible on active slide only; hide on peek cards */
  .poster-slide:not(.active) .poster-overlay { opacity: 0; pointer-events: none; }
  .poster-slide.active .poster-overlay { opacity: 1; background: rgba(10, 28, 48, 0.38); }
  .carousel-meta-strip { min-height: 200px; }
}

@media (max-width: 480px) {
  .poster-carousel { padding: 0 2rem; }
  .carousel-arrow { width: 2.25rem; height: 2.25rem; }
  .poster-slide { width: 92%; }
  .poster-slide.prev { transform: translateX(calc(-50% - 94%)) scale(0.68) translateZ(-40px); }
  .poster-slide.next { transform: translateX(calc(-50% + 94%)) scale(0.68) translateZ(-40px); }
}

/* ============================================================
   COVERAGES PAGE
   ============================================================ */

/* ── Jump Bar ── */
.cov-jump-bar {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.cov-jump-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cov-jump-bar-inner::-webkit-scrollbar { display: none; }
.cov-jump-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  margin-right: 0.25rem;
  flex-shrink: 0;
}
.cov-jump-btn {
  flex-shrink: 0;
  padding: 0.38rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  text-decoration: none;
  display: inline-block;
}
.cov-jump-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(240,180,41,.06);
}
.cov-jump-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* ── Coverage Sections ── */
.cov-section {
  padding: 5rem 0;
}
.cov-section:nth-child(even) {
  background: var(--offwhite);
}
.cov-section-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}
.cov-left {
  position: sticky;
  top: 140px;
}
.cov-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(15,39,68,.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition), color var(--transition);
}
.cov-section:hover .cov-icon-wrap {
  background: rgba(240,180,41,.15);
  color: var(--gold-dark);
}
.cov-category-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}
.cov-title {
  font-family: var(--font-hero);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.cov-gold-rule {
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.cov-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 1.5rem;
}
.cov-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cov-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--charcoal);
  line-height: 1.5;
}
.cov-feature-item svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold-dark);
}

/* ── Right Panel (coverage type chips) ── */
.cov-types-panel {
  padding-top: 0.5rem;
}
.cov-types-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.cov-types-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.cov-type-chip {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(240,180,41,.07);
  border: 1px solid rgba(240,180,41,.28);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 100px;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
}
.cov-type-chip:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}
.cov-section-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}
.cov-section-cta:hover {
  gap: 0.6rem;
  color: var(--navy);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .cov-section-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cov-left {
    position: static;
  }
}
@media (max-width: 640px) {
  .cov-jump-label { display: none; }
  .cov-jump-bar-inner { padding: 0.65rem 1rem; gap: 0.4rem; }
  .cov-jump-btn { font-size: 0.72rem; padding: 0.3rem 0.75rem; }
  .cov-section { padding: 3.5rem 0; }
}

/* ============================================================
   NAV DROPDOWN
============================================================ */
.nav-has-dropdown {
  position: relative;
}
.nav-has-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.nav-caret {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.65;
}
.nav-has-dropdown:hover > .nav-link .nav-caret,
.nav-has-dropdown.is-open > .nav-link .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.11), 0 4px 12px rgba(0,0,0,.06);
  padding: 0.5rem;
  min-width: 190px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 400;
  pointer-events: none;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 9px;
  background: var(--border);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 7px;
  background: #fff;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.nav-has-dropdown:hover > .nav-dropdown,
.nav-has-dropdown.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.nav-dropdown li { list-style: none; }
.nav-dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--charcoal);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-dropdown a:hover {
  color: var(--gold-dark);
  background: none;
}
.nav-dropdown a.active {
  color: var(--gold-dark);
  background: none;
  font-weight: 700;
}
.nav-link.dropdown-active { color: var(--gold-dark) !important; }

/* Drawer accordion */
.drawer-group { list-style: none; }
.drawer-group-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 0.9rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  letter-spacing: 0.01em;
}
.drawer-group-btn .nav-caret { transition: transform 0.25s ease; opacity: 0.65; }
.drawer-group-btn[aria-expanded="true"] .nav-caret { transform: rotate(180deg); opacity: 1; }
.drawer-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(15,39,68,.025);
  transition: max-height 0.3s ease;
}
.drawer-sub.open { max-height: 320px; }
.drawer-sub-link { padding-left: 2.25rem !important; font-size: 0.875rem !important; }
.drawer-sub-link:hover { background: rgba(240,180,41,.08) !important; }

/* ============================================================
   APPETITE PAGE
   ============================================================ */

/* Hero stat chips */
.apt-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}
.apt-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  letter-spacing: 0.01em;
}
.apt-stat-chip svg { opacity: 0.75; flex-shrink: 0; }

/* Category cards grid */
.apt-cat-section { padding: 4rem 0 3rem; background: var(--offwhite); }
.apt-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}
.apt-cat-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.25rem;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  user-select: none;
}
.apt-cat-card:hover,
.apt-cat-card.apt-card-active {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(240,180,41,.13);
}
.apt-cat-card.apt-card-active { background: rgba(240,180,41,.04); }
.apt-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15,39,68,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  color: var(--navy);
  flex-shrink: 0;
}
.apt-cat-name {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1.35;
}
.apt-cat-count {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* Search + filter bar */
.app-search-bar {
  display: none;
  position: sticky;
  top: 70px;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: box-shadow 0.2s;
}
.app-search-bar.visible { display: block; }
.app-search-bar.shadowed { box-shadow: var(--shadow-md); }
.apt-search-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.apt-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.apt-search-wrap svg {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.apt-search-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0.65rem 1.1rem 0.65rem 2.75rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  background: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
}
.apt-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,180,41,.12);
}
.apt-search-input::placeholder { color: var(--muted); font-weight: 400; }

/* Code-type toggle buttons */
.apt-codetype-group {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.apt-codetype-btn {
  background: none;
  border: none;
  padding: 0.65rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
}
.apt-codetype-btn:hover { background: rgba(240,180,41,.08); color: var(--navy); }
.apt-codetype-btn.active { background: var(--gold); color: var(--navy); }

/* Results meta row */
.apt-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}
.apt-count {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.apt-count strong { color: var(--navy); }

/* Category select dropdown */
.apt-cat-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.apt-cat-select-wrap svg {
  position: absolute;
  right: 0.75rem;
  pointer-events: none;
  color: var(--charcoal);
  opacity: 0.55;
}
#apt-cat-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.58rem 2.2rem 0.58rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  background: #fff;
  cursor: pointer;
  min-width: 210px;
  transition: border-color 0.18s;
  outline: none;
}
#apt-cat-select:focus { border-color: var(--gold); }
#apt-cat-select.has-selection {
  border-color: var(--gold);
  background: rgba(240,180,41,.04);
  color: var(--navy);
}

/* Category filter pills */
.apt-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.apt-filter-pill {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.apt-filter-pill:hover { border-color: var(--gold); color: var(--navy); }
.apt-filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.apt-clear-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: color 0.15s;
  display: none;
}
.apt-clear-btn:hover { color: var(--navy); }
.apt-clear-btn.visible { display: inline-flex; align-items: center; gap: 0.3rem; }

/* Results section */
.apt-results-section { padding: 2.5rem 0 5rem; }
.appetite-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.appetite-table thead { position: sticky; top: 0; z-index: 10; }
.appetite-table th {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  padding: 0.65rem 1rem;
  border-bottom: 2px solid var(--border);
  background: #fff;
  text-align: left;
  white-space: nowrap;
}
.appetite-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--charcoal);
  vertical-align: middle;
}
.appetite-table tbody tr { transition: background 0.12s; }
.appetite-table tbody tr:hover td { background: rgba(240,180,41,.04); }
.appetite-table tbody tr.hidden { display: none; }

/* Code badges */
.apt-badge {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 5px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.apt-badge-naics { background: var(--navy); color: #fff; }
.apt-badge-iso { background: var(--gold); color: var(--navy); }

/* Category pill in table */
.apt-cat-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(15,39,68,.07);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* System label */
.apt-sys-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Empty state */
.apt-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
  display: none;
}
.apt-empty.visible { display: block; }
.apt-empty svg { margin-bottom: 1rem; opacity: 0.35; }
.apt-empty p { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.4rem; }
.apt-empty span { font-size: 0.875rem; }

/* Table wrapper for overflow on mobile */
.apt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1100px) {
  .apt-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
}
@media (max-width: 900px) {
  .apt-cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .apt-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .apt-search-row { flex-direction: column; align-items: stretch; }
  .apt-codetype-group { align-self: flex-start; }
  .apt-cat-select-wrap { width: 100%; }
  #apt-cat-select { width: 100%; }
  .apt-cat-section { padding: 2.5rem 0 2rem; }
  .apt-results-section { padding: 1.5rem 0 3rem; }
  /* Stacked card layout for table rows on mobile */
  .appetite-table thead { display: none; }
  .appetite-table tbody tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: #fff;
  }
  .appetite-table tbody tr:hover td { background: transparent; }
  .appetite-table td {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    border: none;
    font-size: 0.82rem;
  }
  .appetite-table td:first-child { margin-bottom: 0.25rem; }
  .appetite-table td[data-label]::before {
    content: attr(data-label);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    min-width: 70px;
    flex-shrink: 0;
  }
}


/* Active-category chip (shown in meta row when a sector is selected) */
.apt-active-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--navy);
  color: #fff;
  border-radius: 100px;
  padding: 0.22rem 0.45rem 0.22rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.apt-active-cat.hidden { display: none; }
.apt-active-cat-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255,255,255,.65);
  cursor: pointer;
  padding: 0.1rem;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
  line-height: 1;
}
.apt-active-cat-x:hover { color: #fff; background: rgba(255,255,255,.15); }

/* ============================================================
   TRUSTED PARTNERS MARQUEE
============================================================ */
.trusted-partners {
  background: var(--offwhite);
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.trusted-partners .section-header {
  padding-inline: 1.5rem;
  margin-bottom: 2rem;
}

.tp-track-outer {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.tp-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: tp-marquee 28s linear infinite;
}

.tp-track-outer:hover .tp-track {
  animation-play-state: paused;
}

.tp-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: opacity 250ms ease, filter 250ms ease, transform 250ms ease;
}

.tp-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.06);
}

.tp-logo-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  outline-offset: 4px;
}

.tp-logo-item img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
  display: block;
}

.tp-logo-item--lg img {
  max-height: 78px;
}

.tp-logo-item--md img {
  max-height: 65px;
}

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

@media (prefers-reduced-motion: reduce) {
  .tp-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    gap: 2.5rem;
  }
  .tp-logo-item[aria-hidden="true"] { display: none; }
  .tp-logo-item { opacity: 0.7; filter: grayscale(40%); }
}

@media (max-width: 960px) {
  .tp-track { gap: 2.5rem; animation-duration: 22s; }
  .tp-logo-item img { max-height: 44px; }
}

@media (max-width: 560px) {
  .tp-track { gap: 2rem; animation-duration: 18s; }
  .tp-logo-item img { max-height: 36px; }
  .trusted-partners { padding: 2rem 0 1.75rem; }
}

/* TP Partners CTA Banner */
.tp-cta-banner {
  background: var(--navy);
  margin-top: 2.5rem;
  padding: 1.75rem 0;
}

.tp-cta-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.tp-cta-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(240,180,41,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.tp-cta-icon svg { width: 26px; height: 26px; }

.tp-cta-text { flex: 1; min-width: 200px; }
.tp-cta-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.tp-cta-sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  margin: 0;
  line-height: 1.55;
}

.tp-cta-banner .btn-gold { flex-shrink: 0; }

@media (max-width: 768px) {
  .tp-cta-inner { flex-direction: column; text-align: center; }
  .tp-cta-banner .btn-gold { width: 100%; justify-content: center; }
}

/* ============================================================
   PARTNERS PAGE
============================================================ */
.partners-page {
  padding: 5rem 0;
  background: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 300ms ease, transform 300ms ease;
}

.partner-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.partner-card-logo {
  background: var(--offwhite);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
}

.partner-card-logo img {
  max-height: 70px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

.partner-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.partner-card-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(240,180,41,.12);
  border-radius: 2rem;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.partner-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.partner-card-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.partner-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 1px;
  width: fit-content;
  transition: color 200ms ease, gap 200ms ease;
}

.partner-card-link:hover {
  color: var(--gold-dark);
  gap: 0.65rem;
}

@media (max-width: 960px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .partners-grid { grid-template-columns: 1fr; }
  .partners-page { padding: 3rem 0; }
}

/* ============================================================
   COOKIE CONSENT BANNER
============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--navy-dark);
  border-top: 3px solid var(--gold);
  padding: 1.1rem 0;
  transform: translateY(100%);
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 32px rgba(0,0,0,.28);
}

.cookie-banner.cb-visible {
  transform: translateY(0);
}

.cookie-banner.cb-hiding {
  transform: translateY(110%);
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cookie-text-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.cookie-icon-wrap {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: rgba(240,180,41,.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.cookie-heading {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.2rem;
}

.cookie-body {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  margin: 0;
}

.cookie-policy-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 180ms ease;
}

.cookie-policy-link:hover {
  color: var(--white);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .cookie-banner { bottom: 68px; }
}

@media (max-width: 680px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

