/* =============================================
   HB RECRUITMENT LTD — STYLESHEET
   Brand: Gold #C49A2A · Navy #1C2B4A
   Font: Space Grotesk (headings) · Inter (body)
   Mobile-first, BEM-ish class naming
   ============================================= */

/* ── 1. CUSTOM PROPERTIES ───────────────────── */
:root {
  /* Brand palette — matched to HB Recruitment logo */
  --gold:         #C4922A;
  --gold-light:   #D4A84A;
  --gold-pale:    #F6EDD3;
  --navy:         #1B2D50;
  --navy-mid:     #22397F;
  --navy-light:   #2C4A8A;

  /* Neutrals */
  --white:        #FFFFFF;
  --off-white:    #F8F9FB;
  --grey-100:     #F1F3F7;
  --grey-200:     #E2E6EE;
  --grey-400:     #9AA3B5;
  --grey-600:     #5A6479;
  --grey-800:     #2D3548;

  /* Semantic */
  --text-primary:   var(--grey-800);
  --text-secondary: var(--grey-600);
  --bg-light:       var(--off-white);
  --bg-alt:         var(--grey-100);
  --border:         var(--grey-200);

  /* Typography */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(28,43,74,.08), 0 1px 2px rgba(28,43,74,.06);
  --shadow-md:  0 4px 16px rgba(28,43,74,.10), 0 2px 6px rgba(28,43,74,.06);
  --shadow-lg:  0 12px 40px rgba(28,43,74,.14), 0 4px 12px rgba(28,43,74,.08);

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.45s ease;

  /* Nav */
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* ── 3. TYPOGRAPHY ──────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { color: var(--text-secondary); }

em { font-style: normal; color: var(--gold); }

/* ── 4. LAYOUT UTILITIES ────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container { padding-inline: 2rem; }
}

@media (min-width: 1200px) {
  .container { padding-inline: 2.5rem; }
}

.section-padded {
  padding-block: var(--space-xl);
}

@media (min-width: 1024px) {
  .section-padded { padding-block: var(--space-2xl); }
}

/* section-alt is superseded by section-navy / section-gold */
.section-alt { background: var(--bg-alt); }

/* ── ALTERNATING SECTION COLOURS ───────────── */

/* Navy section — deep brand blue */
.section-navy {
  background: linear-gradient(160deg, var(--navy) 0%, #0F1D38 100%);
}

.section-navy h2,
.section-navy h3,
.section-navy h4 { color: var(--white); }

.section-navy p { color: rgba(255,255,255,.72); }

.section-navy .section-eyebrow {
  background: rgba(196,146,42,.2);
  color: var(--gold-light);
}

.section-navy .section-sub { color: rgba(255,255,255,.65); }

.section-navy .benefit-list li { color: rgba(255,255,255,.78); }

.section-navy .benefit-icon {
  background: rgba(196,146,42,.2);
  color: var(--gold-light);
}

.section-navy .split-content > p { color: rgba(255,255,255,.72); }

.section-navy strong { color: var(--gold-light); }

/* Process steps inside navy section */
.section-navy .step-number { color: var(--gold-light); }

.section-navy .step-icon {
  background: rgba(255,255,255,.06);
  border-color: var(--gold);
  color: var(--gold);
}

.section-navy .process-connector { opacity: 0.6; }

.section-navy .process-step:hover .step-icon {
  background: var(--gold);
  color: var(--white);
}

/* FAQ inside navy section */
.section-navy .faq-item {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.section-navy .faq-question {
  color: var(--white);
}

.section-navy .faq-question:hover { background: rgba(255,255,255,.05); }

.section-navy .faq-answer p { color: rgba(255,255,255,.7); }

/* Gold section — warm brand amber */
.section-gold {
  background: linear-gradient(160deg, #F6EDD3 0%, #F0E4C4 100%);
}

.section-gold h2,
.section-gold h3,
.section-gold h4 { color: var(--navy); }

.section-gold p { color: var(--text-secondary); }

.section-gold .section-eyebrow {
  background: rgba(196,146,42,.2);
  color: var(--gold);
}

/* Primary button on gold bg: use navy so it contrasts */
.section-gold .btn-primary {
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(27,45,80,.25);
}

.section-gold .btn-primary:hover {
  background: var(--navy-mid);
  box-shadow: 0 4px 20px rgba(27,45,80,.35);
}

/* Candidate cards on gold bg */
.section-gold .cv-card {
  box-shadow: var(--shadow-md);
}

/* FAQ on gold bg */
.section-gold .faq-item {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.section-gold .faq-question { color: var(--navy); }
.section-gold .faq-answer p { color: var(--text-secondary); }

/* benefit list on gold bg */
.section-gold .benefit-list li { color: var(--text-secondary); }
.section-gold .benefit-icon { background: rgba(196,146,42,.2); color: var(--gold); }

/* Section headers (centered intro block) */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 0.3em 0.9em;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-sub {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ── 5. BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7em 1.5em;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(196,154,42,.35);
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 20px rgba(196,154,42,.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

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

.btn-lg { padding: 0.85em 2em; font-size: 1rem; }

/* ── 6. NAVIGATION ──────────────────────────── */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

/* Scrolled state added via JS */
.nav-wrapper.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: var(--space-md);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Logo image */
.logo-img {
  display: block;
  height: 64px;
  width: auto;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 6px 14px;
  object-fit: contain;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}

/* Transparent nav sits over dark hero — links and hamburger are white */
.nav-wrapper:not(.scrolled) .nav-links a { color: var(--white); }
.nav-wrapper:not(.scrolled) .nav-hamburger span { background: var(--white); }
.nav-wrapper.scrolled .nav-hamburger span { background: var(--navy); }

/* Nav links */
.nav-links {
  display: none;
  flex: 1;
  justify-content: center;
  gap: var(--space-md);
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.25em 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.nav-links a:hover { border-color: var(--gold); }

.nav-links a:focus-visible { outline: 2px solid var(--gold); border-radius: 2px; }

/* CTA always gold */
.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.875rem;
  padding: 0.6em 1.4em;
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 6px;
  border-radius: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile open state */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.5rem 1.25rem;
  gap: 0.25rem;
  box-shadow: var(--shadow-lg);
}

.nav-links.open a { color: var(--navy) !important; font-size: 1.05rem; padding: 0.6em 0; }

@media (min-width: 768px) {
  .nav-hamburger { display: none; }
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0; }
}

/* ── 7. HERO ────────────────────────────────── */
.section-hero {
  position: relative;
  background: linear-gradient(140deg, var(--navy) 0%, #0F1D38 55%, #1a2d52 100%);
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: 0;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 85% 15%, rgba(196,146,42,.22) 0%, transparent 65%),
    radial-gradient(ellipse 45% 70% at -5% 85%, rgba(196,146,42,.10) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 420px;
    align-items: center;
  }
}

.hero-logo-img {
  display: block;
  width: clamp(120px, 20vw, 180px);
  height: auto;
  margin: 0 auto 2rem;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.35));
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(196,146,42,.18);
  padding: 0.35em 1em;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-ctas .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}

.hero-ctas .btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  color: var(--white);
}

/* Floating card */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 0.35em 0.9em;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
}

/* Badge inside dark-bg card */
.hero-card-badge {
  color: var(--gold);
  background: var(--gold-pale);
}

.hero-card-list svg { color: var(--gold); flex-shrink: 0; }

/* Credibility strip */
.credibility-strip {
  background: rgba(0,0,0,.18);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  position: relative;
  z-index: 1;
}

.credibility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.credibility-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.credibility-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.credibility-logos li {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  white-space: nowrap;
}

/* ── 9. SERVICES ────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-pale);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.2rem;
}

.service-card p { font-size: 0.95rem; flex: 1; }

.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold);
  transition: gap var(--transition), color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

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

/* ── 10. SPLIT LAYOUTS (Employers / Candidates) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .split-layout { grid-template-columns: 1fr 1fr; }
  .split-reverse .split-content { order: 2; }
  .split-reverse .split-visual { order: 1; }
}

.split-content { max-width: 560px; }

.split-content h2 { margin-block: 0.75rem; }

.split-content > p {
  margin-bottom: 1.5rem;
  font-size: 1.025rem;
}

/* Benefit list */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.benefit-icon {
  width: 28px;
  height: 28px;
  background: var(--gold-pale);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* Candidate visual block */
.candidate-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 380px;
  margin-inline: auto;
}

.cv-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.cv-card.accent {
  background: var(--gold-pale);
  border-color: rgba(196,154,42,.3);
}

.cv-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.cv-card.accent .cv-icon { background: rgba(255,255,255,.6); }

/* ── 11. PROCESS TIMELINE ───────────────────── */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

@media (min-width: 768px) {
  .process-timeline {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}

.process-step {
  flex: 1;
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  position: relative;
  z-index: 1;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-inline: auto;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  transition: background var(--transition), color var(--transition);
}

.process-step:hover .step-icon {
  background: var(--gold);
  color: var(--white);
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step p { font-size: 0.9rem; }

/* Horizontal connector between steps */
.process-connector {
  display: none;
}

@media (min-width: 768px) {
  .process-connector {
    display: block;
    flex-shrink: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--gold) 0%, var(--gold-light) 100%);
    margin-top: calc(32px + 1rem + 0.75rem + 0.75rem + 10px); /* align with center of icon */
    opacity: 0.5;
  }
}

/* ── 12. TESTIMONIALS ───────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.testimonial-card > p {
  font-size: 0.93rem;
  font-style: italic;
  flex: 1;
  color: var(--grey-600);
  line-height: 1.7;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

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

.testimonial-avatar.accent { background: var(--gold); }

.testimonial-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  font-style: normal;
}

.testimonial-role {
  display: block;
  font-size: 0.78rem;
  color: var(--grey-400);
}

/* ── 13. FAQ ─────────────────────────────────── */
.faq-inner { max-width: 760px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  box-shadow: var(--shadow-md);
  border-color: rgba(196,154,42,.3);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
}

.faq-question:hover { background: var(--bg-alt); }
.faq-question:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: var(--radius-sm); }

.faq-icon {
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition-slow);
}

.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--grey-600);
}

/* ── 14. CONTACT ────────────────────────────── */
.contact { background: var(--navy); position: relative; overflow: hidden; }

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(196,154,42,.12) 0%, transparent 60%);
  pointer-events: none;
}

.contact-inner {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.contact-intro { margin-bottom: var(--space-lg); }
.contact-intro .section-eyebrow { background: rgba(196,154,42,.18); }
.contact-intro h2 { color: var(--white); }
.contact-intro p { color: rgba(255,255,255,.65); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

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

.form-group label,
.form-label-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
}

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

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  padding: 0.75em 1em;
  color: var(--white);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.35); }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.12);
}

.form-group input.invalid,
.form-group textarea.invalid { border-color: #f87171; }

.form-error {
  font-size: 0.78rem;
  color: #fca5a5;
  min-height: 1em;
}

textarea { resize: vertical; min-height: 110px; }

/* Toggle (radio buttons styled as pill toggle) */
.toggle-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.toggle-option {
  cursor: pointer;
}

.toggle-option input { position: absolute; opacity: 0; width: 0; height: 0; }

.toggle-option span {
  display: inline-block;
  padding: 0.55em 1.3em;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.65);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.toggle-option input:checked + span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(196,154,42,.4);
}

.toggle-option span:hover { border-color: var(--gold-light); color: var(--white); }

.toggle-option input:focus-visible + span {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

/* Submit button */
.btn-submit {
  width: 100%;
  position: relative;
  overflow: hidden;
}

@media (min-width: 480px) { .btn-submit { width: auto; align-self: flex-start; } }

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-submit.loading .btn-text { opacity: 0; }
.btn-submit.loading .btn-spinner { display: block; position: absolute; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.form-success {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(196,154,42,.3);
  border-radius: var(--radius-lg);
}

.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(196,154,42,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.form-success h3 { color: var(--white); margin-bottom: 0.5rem; }
.form-success p { color: rgba(255,255,255,.65); margin-bottom: 1.5rem; }
.form-success .btn-outline { color: var(--white); border-color: rgba(255,255,255,.4); }
.form-success .btn-outline:hover { background: rgba(255,255,255,.12); }

/* ── 15. FOOTER ─────────────────────────────── */
.site-footer {
  background: #111827;
  color: rgba(255,255,255,.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-block: var(--space-xl);
}

@media (min-width: 600px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1.5fr; }
}

.footer-logo {
  margin-bottom: 1rem;
}

/* Footer logo */
.footer-logo .logo-img {
  height: 80px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 8px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
}

.footer-links-heading {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--gold-light); }
.footer-links a:focus-visible,
.footer-contact a:focus-visible { outline: 2px solid var(--gold); border-radius: 2px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
}

.footer-contact svg { margin-top: 0.15em; flex-shrink: 0; color: var(--gold); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  transition: background var(--transition), color var(--transition);
}

.social-link:hover { background: var(--gold); color: var(--white); }
.social-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.25rem;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,.4); }

/* ── 16. SCROLL ANIMATIONS ──────────────────── */

/*
 * DEFAULT: elements are fully visible.
 * This makes the page readable with JS disabled or before JS runs.
 * The JS adds .js-animate to <html>, which then hides elements for animation.
 */
.animate-on-scroll {
  opacity: 1;
  transform: none;
}

/* JS-driven animation: hide pending reveal */
.js-animate .animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* Revealed state */
.js-animate .animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay helpers — only active when JS animates */
.js-animate .animate-delay-1 { transition-delay: 0.1s; }
.js-animate .animate-delay-2 { transition-delay: 0.2s; }
.js-animate .animate-delay-3 { transition-delay: 0.3s; }

/* ── 17. FOCUS & ACCESSIBILITY ──────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Skip-to-main link (screen reader / keyboard focus) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.6em 1.2em;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 200;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

/* ── 18. UTILITY ────────────────────────────── */
[hidden] { display: none !important; }

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

  /* Force-visible regardless of JS state */
  .animate-on-scroll,
  .js-animate .animate-on-scroll,
  .js-animate .animate-on-scroll.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
