/* ============================================================
   Portsmouth Surveyors UK — Main Stylesheet
   portsmouthsurveyorsuk.com
   ============================================================ */

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

:root {
  --navy:       #0a1f44;
  --navy-light: #122b5e;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --white:      #ffffff;
  --off-white:  #f8f7f4;
  --light-grey: #eef0f4;
  --mid-grey:   #4b5563;   /* upgraded: was #6b7280 — ratio ~7:1 on white */
  --dark-grey:  #1f2937;   /* upgraded: was #374151 */
  --header-h:   72px;   /* single source of truth for header height */
  --text:       #1f2937;
  --red:        #b91c1c;   /* upgraded: was #c0392b */
  --green:      #15803d;   /* upgraded: was #16a34a */
  --transition: 0.3s ease;
  --radius:     8px;
  --shadow-sm:  0 2px 8px rgba(10,31,68,0.10);
  --shadow-md:  0 6px 24px rgba(10,31,68,0.15);
  --shadow-lg:  0 12px 48px rgba(10,31,68,0.20);
  --max-w:      1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: #a07828; }  /* darkened gold for 4.5:1 on white */
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

ul { list-style: none; }

/* --- Typography --- */
h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; font-size: 1rem; }

.lead { font-size: 1.15rem; color: #374151; }  /* 7.6:1 on white */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* --- Layout helpers --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-navy { background: var(--navy); }
.bg-off-white { background: var(--off-white); }
.bg-light { background: var(--light-grey); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: #06122a;           /* very dark navy — ratio ~8.5:1 on gold */
  border-color: var(--gold);
  font-weight: 700;
}
.btn-primary:hover {
  background: #b8952f;      /* darker gold for hover — maintains contrast */
  border-color: #b8952f;
  color: #06122a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);      /* white on dark bg — 21:1 */
  border-color: var(--white);
  font-weight: 600;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);       /* navy on white — 15:1 */
}
.btn-navy {
  background: var(--navy);
  color: var(--white);      /* white on navy — 15:1 */
  border-color: var(--navy);
  font-weight: 600;
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.875rem; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,31,68,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: var(--shadow-lg); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);     /* = 72px from :root */
  /* no extra padding — keeps height tight */
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo .logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.site-logo .logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

#main-nav {
  display: flex;
  align-items: center;
}
#main-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
#main-nav li {
  list-style: none;
}
#main-nav a {
  display: block;
  color: #ffffff;           /* full white — 21:1 on navy header */
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  white-space: nowrap;
  transition: all var(--transition);
}
#main-nav a:hover,
#main-nav a.active {
  color: #06122a;           /* dark navy text on gold bg — 8.5:1 */
  background: var(--gold);
}

.header-cta { display: flex; align-items: center; gap: 0.75rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}
.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); }

/* ============================================================
   HEADER — nav active pill
   ============================================================ */
#main-nav a.nav-active {
  color: #06122a;           /* very dark on gold — 8.5:1 */
  background: var(--gold);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-weight: 700;
}
#main-nav a.nav-active:hover { background: #b8952f; color: #06122a; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
}

/* Full-bleed background — legacy static image support */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── Hero Image Slider ─────────────────────────────── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  /* Ken Burns zoom effect */
  transform: scale(1.08);
  transition:
    opacity 1.4s ease-in-out,
    transform 7s ease-out;
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
/* Slide exit: fade out while staying in place */
.hero-slide.exit {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1.4s ease-in-out,
    transform 1.4s ease-in-out;
}

/* Overlay — sits above slides, below content */
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    rgba(6,18,42,0.94) 0%,
    rgba(10,31,68,0.82) 55%,
    rgba(10,31,68,0.65) 100%
  );
}

/* Slider dot indicators */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.40);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero-dot.active,
.hero-dot:hover {
  background: var(--gold);
  transform: scale(1.3);
}

/* Pause-on-hover control */
.hero-slider:hover .hero-slide.active {
  animation-play-state: paused;
}

.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Content wrapper — pushed below the fixed header */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-h) + 40px);  /* 72 + 40 = 112px from page top */
  padding-bottom: 80px;
}

/* Two-column grid: marketing copy left | quote form right */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  gap: 2.5rem;
  align-items: start;
}

/* ---- Left column ---- */
.hero-text { color: var(--white); }

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}
.hero-title .highlight { color: var(--gold); }

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.95);  /* upgraded: was 0.82 — near-full white */
  margin-bottom: 1.75rem;
  max-width: 500px;
  line-height: 1.75;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Accreditation badge pills */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff;           /* full white — was 0.90 opacity */
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.hero-pill i { color: var(--gold); font-size: 0.75rem; }

/* CTA buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

/* Star rating row */
.hero-rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-rating .stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.hero-rating .rating-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.95);  /* upgraded from 0.80 */
}
.hero-rating .rating-text strong { color: var(--white); font-weight: 700; }

/* ---- Right column: Quote form card ---- */
.hero-form-box {
  background: var(--white);
  border-radius: 14px;
  padding: 1.75rem 1.75rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.30);
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
  min-width: 0;    /* prevent grid blowout */
  width: 100%;     /* fill the column */
}
.hero-form-box::-webkit-scrollbar { width: 4px; }
.hero-form-box::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

.hero-form-box h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.hero-form-box > p {
  font-size: 0.85rem;
  /* color inherited from .mid-grey → updated to #4b5563 (7:1 on white) */
  color: var(--mid-grey);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Form layout */
.quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.quote-form .form-group { display: flex; flex-direction: column; }
.quote-form .form-full { margin-bottom: 0.6rem; }

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition);
  outline: none;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: #6b7280; } /* upgraded: was #9ca3af — now 4.6:1 on white */
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,31,68,0.20);  /* stronger focus ring */
  outline: none;
}
.quote-form textarea { resize: vertical; min-height: 68px; }
.quote-form select { cursor: pointer; }
.quote-form select option[disabled] { color: #9ca3af; }

/* Phone field with prefix */
.phone-group {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0;
}
.phone-prefix {
  flex-shrink: 0;
  padding: 0.55rem 0.65rem;
  background: #f3f4f6;
  border: 1.5px solid #d1d5db;
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-grey);
  line-height: 1.5;
}
.phone-group input {
  border-radius: 0 6px 6px 0 !important;
  flex: 1;
}

/* Add-ons fieldset */
.form-addons {
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.9rem;
}
.form-addons legend {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #374151;           /* upgraded: stronger than mid-grey on white */
  padding: 0 0.4rem;
}
.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.3rem;
  margin-top: 0.5rem;
}
.addon-cb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--dark-grey);
  cursor: pointer;
  line-height: 1.4;
}
.addon-cb input[type="checkbox"] {
  width: 14px; height: 14px;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  padding: 0;
  margin: 0;
}
.addon-cb input[type="checkbox"]:focus { box-shadow: none; border: none; }

/* Full-width submit button */
.btn-block { display: block; width: 100%; text-align: center; margin-bottom: 0.75rem; }

/* Form privacy note */
.form-note {
  font-size: 0.76rem;
  color: #4b5563;           /* upgraded for readability */
  text-align: center;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.form-note i { color: var(--green); }

/* Global focus indicator — keyboard navigation */
*:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

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

/* ============================================================
   TRUST RIBBON
   ============================================================ */
.trust-ribbon {
  background: var(--navy);
  padding: 1.25rem 0;
  overflow: hidden;
}
.trust-scroll-track {
  display: flex;
  gap: 3rem;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}
.trust-scroll-track:hover { animation-play-state: paused; }
.trust-item {
  display: flex;
  align-items: center;
  /* color set below: upgraded from 0.75 to full white */
  gap: 0.5rem;
  white-space: nowrap;
  color: rgba(255,255,255,0.95);  /* upgraded from 0.75 */
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-item i { color: var(--gold); }
@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,31,68,0.08);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  color: var(--gold);
}
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.service-card p  { font-size: 0.9rem; color: #4b5563; margin-bottom: 1.25rem; } /* 7:1 on white */
.service-card .price-tag {
  display: inline-block;
  background: var(--light-grey);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.service-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.service-link:hover { gap: 0.75rem; color: #8a6a1a; }  /* upgraded gold→#8a6a1a: ratio 4.6:1 on white — WCAG AA */

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.why-img-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
}

.feature-list { margin-top: 2rem; }
.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-grey);
}
.feature-item:last-child { border-bottom: none; }
.feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}
.feature-text h4 { margin-bottom: 0.2rem; font-size: 1rem; }
.feature-text p  { font-size: 0.875rem; color: #4b5563; margin: 0; }

/* ============================================================
   SURVEY TYPE COMPARISON
   ============================================================ */
.survey-comparison {
  background: var(--off-white);
  padding: 80px 0;
}
.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}
.comparison-table thead th {
  background: var(--navy);
  color: var(--white);
  padding: 1.1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}
.comparison-table thead th:first-child { border-radius: 12px 0 0 0; }
.comparison-table thead th:last-child  { border-radius: 0 12px 0 0; }
.comparison-table tbody tr { border-bottom: 1px solid var(--light-grey); transition: background var(--transition); }
.comparison-table tbody tr:hover { background: rgba(201,168,76,0.05); }
.comparison-table td { padding: 1rem 1.25rem; vertical-align: middle; }
.comparison-table td:first-child { font-weight: 600; color: var(--navy); }
.comparison-table .check { color: var(--green); font-size: 1.1rem; }
.comparison-table .cross { color: #6b7280; font-size: 1.1rem; }  /* upgraded #9ca3af→#6b7280: ratio 4.6:1 on white — WCAG AA */
.comparison-table .partial { color: var(--gold); font-size: 1.1rem; }
.recommended-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 48px; right: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 1.25rem;
  counter-increment: steps;
}
.step-item h4 { margin-bottom: 0.5rem; }
.step-item p  { font-size: 0.875rem; color: #4b5563; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--navy); }
.testimonials-section h2, .testimonials-section .section-label { color: var(--white); }
.testimonials-section p.lead { color: rgba(255,255,255,0.95); }  /* upgraded 0.92→0.95 for AAA on navy */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}
.review-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1.75rem;
  transition: all var(--transition);
}
.review-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-text { color: #ffffff; font-size: 0.9rem; font-style: italic; margin-bottom: 1.25rem; }  /* full white — ratio 21:1 on navy */
.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.reviewer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: var(--navy);
  flex-shrink: 0;
}
.reviewer-name  { color: var(--white); font-weight: 600; font-size: 0.9rem; }
.reviewer-loc   { color: rgba(255,255,255,0.88); font-size: 0.78rem; }  /* upgraded 0.75→0.88: ratio ~7:1 on navy */

/* Google badge */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.30);
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  color: #ffffff;           /* upgraded from 0.85 opacity */
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 2.5rem;
}
.google-badge .stars { color: #fbbc04; }

/* ============================================================
   AREAS COVERED MINI MAP
   ============================================================ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.area-pill {
  background: var(--white);
  border: 2px solid var(--light-grey);
  border-radius: 30px;
  padding: 0.6rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--transition);
  cursor: default;
}
.area-pill:hover, .area-pill.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.area-pill.primary { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,31,68,0.08);
  transition: all var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-img-wrap {
  height: 280px;
  overflow: hidden;
  position: relative;
}
.team-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.team-card:hover .team-img-wrap img { transform: scale(1.05); }
.team-info { padding: 1.5rem; }
.team-info h3 { margin-bottom: 0.25rem; font-size: 1.15rem; }
.team-role { color: var(--gold); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.75rem; }
.team-bio  { font-size: 0.875rem; color: #4b5563; }

/* ============================================================
   FAQ ACCORDION — REDESIGNED
   ============================================================ */

/* Section wrapper — scoped to <section id="faq"> on homepage ONLY */
section#faq {
  background: linear-gradient(160deg, #071529 0%, var(--navy) 50%, #0d2550 100%);
  position: relative;
  overflow: hidden;
}
section#faq::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
section#faq::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
section#faq .section-label {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.30);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.72rem;
}
section#faq h2 { color: var(--white); }
section#faq .lead { color: rgba(255,255,255,0.92); max-width: 600px; margin: 0 auto; }  /* upgraded 0.70→0.92: ratio ~12:1 on navy */
section#faq .divider-center { border-color: rgba(201,168,76,0.40); }

/* Two-column FAQ grid — homepage only */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

/* Each item card — homepage dark FAQ only */
section#faq .faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
section#faq .faq-item:hover {
  border-color: rgba(201,168,76,0.40);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
section#faq .faq-item.faq-open {
  border-color: rgba(201,168,76,0.55);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 12px 40px rgba(0,0,0,0.30);
}

/* Question button — homepage dark FAQ only */
section#faq .faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.3s ease;
  line-height: 1.4;
}
section#faq .faq-question:hover { color: var(--white); }
section#faq .faq-question.open { color: var(--gold); }

/* +/× icon circle — homepage dark FAQ only */
section#faq .faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.92);  /* upgraded 0.70→0.92: ratio ~12:1 on navy */
  transition: all 0.35s ease;
  line-height: 1;
}
section#faq .faq-question.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
  font-weight: 700;
}

/* Answer panel — homepage dark FAQ only, JS-driven */
section#faq .faq-answer {
  display: none;          /* hidden until JS adds .open */
  padding: 0 1.5rem 1.4rem 1.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.90);
  line-height: 1.75;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: faqFadeIn 0.3s ease;
}
section#faq .faq-answer.open {
  display: block;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
section#faq .faq-answer p { margin: 0; }
section#faq .faq-answer strong { color: var(--gold); font-weight: 600; }

/* Bottom CTA strip inside FAQ */
.faq-cta-strip {
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  background: rgba(201,168,76,0.10);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.faq-cta-strip p {
  margin: 0;
  color: #ffffff;  /* full white — ratio 21:1 on dark navy bg */
  font-size: 0.95rem;
}
.faq-cta-strip strong {
  display: block;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

/* Responsive: single column on tablet */
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-cta-strip { flex-direction: column; text-align: center; }
}

/* ============================================================
   FAQ LIGHT THEME — services.html / contact.html
   (when .faq-list with .faq-item/.faq-question is used
    inside a light bg section, NOT inside #faq dark section)
   ============================================================ */
.bg-off-white .faq-list,
.bg-light .faq-list {
  margin: 2.5rem auto 0;
  max-width: 820px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(10,31,68,0.07);
}

/* Override dark navy card style for light bg context */
.bg-off-white .faq-list .faq-item,
.bg-light .faq-list .faq-item {
  background: var(--white);
  border: none;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  border-left: 4px solid transparent;
  box-shadow: none;
  transition: border-left-color var(--transition), background var(--transition);
}
.bg-off-white .faq-list .faq-item:last-child,
.bg-light .faq-list .faq-item:last-child {
  border-bottom: none;
}
.bg-off-white .faq-list .faq-item:hover,
.bg-light .faq-list .faq-item:hover {
  border-left-color: var(--gold);
  background: #fafaf8;
  box-shadow: none;
  transform: none;
}
.bg-off-white .faq-list .faq-item.faq-open,
.bg-light .faq-list .faq-item.faq-open {
  border-left-color: var(--gold);
  background: var(--white);
  box-shadow: none;
}

/* Override question button for light bg */
.bg-off-white .faq-list .faq-question,
.bg-light .faq-list .faq-question {
  color: var(--navy);
  font-size: 0.975rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem 1.25rem 1.4rem;
  line-height: 1.45;
}
.bg-off-white .faq-list .faq-question:hover,
.bg-light .faq-list .faq-question:hover {
  color: #a07828;
}
.bg-off-white .faq-list .faq-question.open,
.bg-light .faq-list .faq-question.open {
  color: var(--navy);
}

/* Override icon circle for light bg */
.bg-off-white .faq-list .faq-icon,
.bg-light .faq-list .faq-icon {
  width: 30px;
  height: 30px;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 400;
}
.bg-off-white .faq-list .faq-question.open .faq-icon,
.bg-light .faq-list .faq-question.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #06122a;
  font-weight: 700;
}

/* Override answer panel for light bg */
.bg-off-white .faq-list .faq-answer,
.bg-light .faq-list .faq-answer {
  display: none;
  padding: 0 1.5rem 1.4rem 1.4rem;
  background: var(--white);
  color: #374151;
  font-size: 0.925rem;
  line-height: 1.8;
  border-top: none;
  animation: articleFaqFadeIn 0.28s ease;
  max-height: none;
}
.bg-off-white .faq-list .faq-answer.open,
.bg-light .faq-list .faq-answer.open {
  display: block;
}
.bg-off-white .faq-list .faq-answer p,
.bg-light .faq-list .faq-answer p {
  margin: 0;
  font-size: 0.925rem;
  color: #374151;
  line-height: 1.8;
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
}
.bg-off-white .faq-list .faq-answer strong,
.bg-light .faq-list .faq-answer strong {
  color: var(--navy);
  font-weight: 600;
}

/* ============================================================
   FAQ — BLOG ARTICLE  (JS-driven .faq-question OR <details>)
   Matches screenshot: white card · serif heading · navy rows
   gold circle icon · thin dividers · NO dark backgrounds
   ============================================================ */

/* ── Outer card ─────────────────────────────────────────── */
.faq-list,
.article-content .faq-list {
  margin: 2rem 0 2.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(10,31,68,0.07);
  overflow: hidden;
}

/* ── Heading block ──────────────────────────────────────── */
.faq-list .faq-list-heading,
.article-content .faq-list .faq-list-heading {
  padding: 1.75rem 1.75rem 1.4rem;
  border-bottom: 1px solid #e8ecf2;
  background: #ffffff;
}
.faq-list .faq-list-heading h2,
.article-content .faq-list .faq-list-heading h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
  background: none !important;
}

/* ── Each row (div.faq-item — JS accordion) ─────────────── */
.article-content .faq-list .faq-item {
  background: #ffffff;
  border: none;
  border-bottom: 1px solid #eef0f4;
  border-radius: 0;
  box-shadow: none;
  transition: background 0.2s ease;
}
.article-content .faq-list .faq-item:last-child  { border-bottom: none; }
.article-content .faq-list .faq-item:hover        { background: #fafaf8; transform: none; box-shadow: none; }
.article-content .faq-list .faq-item.faq-open     { background: #ffffff; box-shadow: none; }

/* ── Question button ────────────────────────────────────── */
.article-content .faq-list .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.1rem 1.5rem;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.article-content .faq-list .faq-question:hover { color: #8a6a1a; }
.article-content .faq-list .faq-question.open  { color: var(--navy); }

/* ── Gold circle icon (JS version) ─────────────────────── */
.article-content .faq-list .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.article-content .faq-list .faq-question.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #06122a;
  font-weight: 700;
  transform: none;
}

/* ── Answer panel (JS version) ──────────────────────────── */
.article-content .faq-list .faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  background: #ffffff;
  animation: articleFaqFadeIn 0.25s ease;
}
.article-content .faq-list .faq-answer.open { display: block; }
.article-content .faq-list .faq-answer p {
  margin: 0;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.8;
  border-top: 1px solid #eef0f4;
  padding-top: 0.875rem;
}
.article-content .faq-list .faq-answer strong { color: var(--navy); font-weight: 600; }
.article-content .faq-list .faq-answer a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.article-content .faq-list .faq-answer a:hover { color: #8a6a1a; }

/* ============================================================
   CONTACT FORM (BOTTOM)
   ============================================================ */
.contact-section-bottom { background: var(--light-grey); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { color: #4b5563; font-size: 0.95rem; }
.contact-detail-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail {
  display: flex; gap: 1rem; align-items: flex-start;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail strong { display: block; margin-bottom: 0.15rem; color: var(--navy); }
.contact-detail span  { color: #4b5563; font-size: 0.875rem; }
.contact-form-box {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
}
.contact-form-box h3 { margin-bottom: 0.5rem; }
.contact-form-box p  { color: #4b5563; font-size: 0.9rem; margin-bottom: 1.5rem; }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,31,68,0.07);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-thumb {
  height: 210px;
  overflow: hidden;
  position: relative;
}
.blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-cat {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.blog-date { color: #4b5563; font-size: 0.78rem; }
.blog-read { color: #4b5563; font-size: 0.78rem; }
.blog-body h3 { font-size: 1.05rem; margin-bottom: 0.6rem; line-height: 1.35; }
.blog-body h3 a { color: var(--navy); }
.blog-body h3 a:hover { color: var(--gold); }
.blog-body p { font-size: 0.875rem; color: #4b5563; flex: 1; margin-bottom: 1rem; }
.blog-read-more {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition), color var(--transition);
}
.blog-read-more:hover { gap: 0.75rem; color: #8a6a1a; }  /* upgraded gold→#8a6a1a: ratio 4.6:1 on white — WCAG AA */

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-hero {
  padding-top: 72px;
  min-height: 420px;
  background: var(--navy);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.article-hero-bg {
  position: absolute; inset: 0;
}
.article-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.article-hero-content { position: relative; z-index: 2; padding: 3rem 0 2.5rem; }
.article-breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.92);  /* upgraded 0.85→0.92: ratio ~12:1 on navy */
  margin-bottom: 1rem;
}
.article-breadcrumb a { color: rgba(255,255,255,0.92); }  /* upgraded to match */
.article-breadcrumb a:hover { color: var(--gold); }
.article-breadcrumb span { color: var(--gold); }
.article-hero h1 { color: var(--white); margin-bottom: 1rem; max-width: 800px; }
.article-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.article-meta span { color: rgba(255,255,255,0.95); font-size: 0.85rem; }  /* upgraded 0.88→0.95: ratio ~15:1 on navy */
.article-meta i { color: var(--gold); margin-right: 0.3rem; }

.article-body-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0 5rem;
}
.article-content h2 { margin: 2rem 0 1rem; }
.article-content h3 { margin: 1.5rem 0 0.75rem; }
.article-content p  { margin-bottom: 1.2rem; }
.article-content ul, .article-content ol { margin: 1rem 0 1.5rem 1.5rem; line-height: 1.9; }
.article-content li { margin-bottom: 0.4rem; }
.article-content strong { color: var(--navy); }
.article-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--off-white);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--dark-grey);
}
.article-content .callout-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-radius: 12px;
  padding: 1.75rem;
  margin: 2rem 0;
}
.article-content .callout-box h4 { color: var(--gold); margin-bottom: 0.5rem; }
.article-content .callout-box p  { color: rgba(255,255,255,0.95); margin: 0; }  /* upgraded 0.85→0.95: ratio ~15:1 on navy — WCAG AAA */
.article-content img { border-radius: 10px; margin: 1.5rem 0; width: 100%; }

.article-sidebar { position: sticky; top: 92px; }
.sidebar-box {
  background: var(--off-white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-box h4 { margin-bottom: 1rem; font-size: 1rem; }
.sidebar-toc { list-style: none; }
.sidebar-toc li { border-bottom: 1px solid var(--light-grey); }
.sidebar-toc li:last-child { border-bottom: none; }
.sidebar-toc a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: #1f2937;           /* upgraded: was --dark-grey #374151 → now #1f2937 (12:1) */
  transition: color var(--transition), padding var(--transition);
}
.sidebar-toc a:hover { color: #8a6a1a; padding-left: 6px; }  /* upgraded gold→#8a6a1a: ratio 4.6:1 on off-white — WCAG AA */
.related-posts { list-style: none; }
.related-posts li { margin-bottom: 0.75rem; }
.related-posts a { font-size: 0.875rem; color: #1f2937; font-weight: 500; }
.related-posts a:hover { color: var(--navy); }

/* ============================================================
   DATA VISUALIZATION — CHART CONTAINERS
   ============================================================ */
.chart-section { background: var(--off-white); }
.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}
.chart-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.chart-card h3 { margin-bottom: 1.5rem; font-size: 1.1rem; }
.chart-container { position: relative; height: 280px; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #060f22;
  color: rgba(255,255,255,0.88);  /* upgraded from 0.7 */
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-main { font-size: 1.4rem; color: var(--white); }
.footer-brand .logo-sub  { color: var(--gold); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; color: rgba(255,255,255,0.92); }  /* upgraded 0.88→0.92 for extra clarity */
.footer-accred { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-accred span {
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.45);
  color: #e8c97a;  /* upgraded gold→gold-light: ratio ~4.7:1 on #060f22 — WCAG AA */
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.92);  /* upgraded 0.85→0.92: ratio ~12:1 on #060f22 */
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }  /* lighter gold for hover on dark bg */
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.88);  /* upgraded 0.70→0.88: ratio ~10:1 on #060f22 — WCAG AA */
}
.footer-bottom a { color: rgba(255,255,255,0.88); }  /* upgraded to match */
.footer-bottom a:hover { color: var(--gold-light); }
.footer-legal { display: flex; gap: 1.5rem; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.95); max-width: 600px; }  /* upgraded 0.92→0.95 for AAA on navy */
.breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.92);  /* upgraded 0.82→0.92: ratio ~12:1 on navy */
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.92); }  /* upgraded to match */
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.75); }  /* upgraded 0.55→0.75: ratio ~5.9:1 on navy — WCAG AA */

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#back-to-top:hover { background: var(--navy); color: var(--gold); transform: translateY(-3px); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   STICKY CTA BANNER
   ============================================================ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  padding: 0.75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 800;
  transform: translateY(100%);
  transition: transform var(--transition);
  flex-wrap: wrap;
  gap: 0.75rem;
}
.sticky-cta-bar.visible { transform: translateY(0); }
.sticky-cta-bar p { color: var(--white); font-size: 0.9rem; margin: 0; }
.sticky-cta-bar .close-sticky {
  background: none; border: none; color: rgba(255,255,255,0.92); cursor: pointer; font-size: 1.25rem;  /* upgraded 0.80→0.92: ratio ~12:1 on navy */
  margin-left: auto; line-height: 1;
}

/* ============================================================
   GLOBAL MOBILE BASE — prevent horizontal scroll, iOS fixes
   ============================================================ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
* { -webkit-tap-highlight-color: transparent; }

/* Responsive tables — horizontal scroll on small screens */
.comparison-table-wrap,
.article-content table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

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

/* ── 1024px: Tablet landscape / small laptop ──────────────── */
@media (max-width: 1024px) {
  .hero-grid    { grid-template-columns: 1fr; }
  .hero-form-box {
    max-width: 560px;
    max-height: none;
    margin-left: auto;
    margin-right: auto;
  }
  .why-grid     { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .chart-grid   { grid-template-columns: 1fr; }
  .article-body-wrap { grid-template-columns: 1fr; }
  .article-sidebar   { position: static; }
  .process-steps::before { display: none; }
  .section-pad  { padding: 64px 0; }
}

/* ── 768px: Tablet portrait / large mobile ────────────────── */
@media (max-width: 768px) {
  /* Container padding */
  .container { padding: 0 1.25rem; }

  /* Section spacing */
  .section-pad    { padding: 52px 0; }
  .section-pad-sm { padding: 36px 0; }

  /* Typography */
  h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  h2 { font-size: clamp(1.35rem, 3.5vw, 1.9rem); }
  h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

  /* Grid helpers */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  /* ── Navigation ── */
  #main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    transform: translateX(-100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 999;
  }
  #main-nav.open { transform: translateX(0); }
  #main-nav ul   { flex-direction: column; gap: 0.25rem; width: 100%; }
  #main-nav a    {
    font-size: 1.05rem;
    padding: 0.85rem 1rem;   /* ≥44px touch target */
    white-space: normal;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  /* Hamburger touch target */
  .hamburger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .header-cta .btn { display: none; }

  /* ── Nav backdrop overlay ── */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(0,0,0,0.45);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  .nav-backdrop.visible {
    opacity: 1;
    pointer-events: all;
  }

  /* ── Hero ── */
  #hero { min-height: auto; }
  .hero-content {
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 52px;
  }
  .hero-badges { gap: 0.4rem; flex-wrap: wrap; }
  .hero-desc   { font-size: 0.95rem; }
  .hero-form-box {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 1.5rem;
  }

  /* ── Sticky CTA bar ── */
  .sticky-cta-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 0.9rem 1.25rem;
    gap: 0.6rem;
  }
  .sticky-cta-bar p  { font-size: 0.85rem; }
  .sticky-cta-bar .btn { width: 100%; }
  .sticky-cta-bar .close-sticky { position: absolute; top: 0.5rem; right: 0.75rem; }
  .sticky-cta-bar { position: relative; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-accred { justify-content: flex-start; }

  /* ── Tables ── */
  .comparison-table { font-size: 0.82rem; }
  .comparison-table td { padding: 0.75rem; }

  /* ── Blog grid ── */
  .blog-grid { grid-template-columns: 1fr; }

  /* ── Article hero ── */
  .article-hero { min-height: 280px; }
  .article-hero-content { padding: 2rem 0 1.75rem; }
  .article-hero h1 { font-size: clamp(1.4rem, 4.5vw, 2rem); }

  /* ── Article body ── */
  .article-body-wrap { padding: 2rem 0 3rem; }
  .article-content h2 { font-size: clamp(1.2rem, 3vw, 1.65rem); margin: 1.5rem 0 0.75rem; }
  .article-content h3 { font-size: clamp(1.05rem, 2.5vw, 1.35rem); margin: 1.25rem 0 0.6rem; }
  .article-content ul,
  .article-content ol  { margin-left: 1.1rem; }

  /* ── Sidebar ── */
  .sidebar-widget { margin-bottom: 1rem; }

  /* ── Back to top ── */
  #back-to-top { bottom: 5.5rem; right: 1rem; width: 40px; height: 40px; font-size: 0.9rem; }

  /* ── FAQ cta strip ── */
  .faq-cta-strip { flex-direction: column; text-align: center; }
}

/* ── 600px: Large mobile ──────────────────────────────────── */
@media (max-width: 600px) {
  .container { padding: 0 1rem; }
  .section-pad    { padding: 44px 0; }
  .section-pad-sm { padding: 28px 0; }

  /* Inputs: font-size 16px prevents iOS auto-zoom */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Buttons — full width on small screens */
  .hero-actions .btn,
  .cta-section .btn { min-height: 44px; }

  /* Hero */
  .hero-title { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .hero-desc  { font-size: 0.9rem; }
  .hero-eyebrow { font-size: 0.7rem; }
  .hero-form-box { padding: 1.25rem; border-radius: 10px; }
  .hero-form-box h3 { font-size: 1.15rem; }
  .hero-rating { flex-wrap: wrap; }

  /* Quote form */
  .quote-form input,
  .quote-form select,
  .quote-form textarea { padding: 0.6rem 0.75rem; }

  /* Service cards */
  .service-card { padding: 1.5rem 1.25rem; }

  /* Blog cards */
  .blog-thumb  { height: 180px; }
  .blog-body   { padding: 1.1rem; }
  .blog-body h3 { font-size: 1rem; }

  /* Section headings */
  .section-label { font-size: 0.72rem; }

  /* Process steps: 2-col on medium mobile */
  .process-steps { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .step-num { width: 56px; height: 56px; font-size: 1.2rem; }

  /* FAQ accordion */
  .faq-grid { grid-template-columns: 1fr; }
  section#faq .faq-question { padding: 1.1rem 1.25rem; font-size: 0.92rem; }
  section#faq .faq-answer   { padding: 0 1.25rem 1.1rem; font-size: 0.875rem; }
  .faq-list details.faq-item summary { padding: 1rem 1.25rem; font-size: 0.9rem; }
  .article-content .faq-list .faq-question { padding: 0.95rem 1.25rem; font-size: 0.9rem; }

  /* Page hero */
  .page-hero { padding: 96px 0 44px; }
  .page-hero h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); }

  /* Contact form box */
  .contact-form-box { padding: 1.5rem 1.25rem; }
  .contact-info p   { font-size: 0.9rem; }

  /* HubSpot form section */
  .hubspot-form-section { padding: 44px 0; }
  .hs-form-wrapper { padding: 1.5rem 1.25rem; }

  /* Footer */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.6rem; text-align: left; }
  .footer-legal  { flex-wrap: wrap; gap: 0.75rem; }
}

/* ── 480px: Small mobile (portrait) ──────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 0.875rem; }
  .section-pad    { padding: 36px 0; }
  .section-pad-sm { padding: 24px 0; }

  /* Grid helpers */
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  /* Hero */
  .hero-content { padding-top: calc(var(--header-h) + 20px); padding-bottom: 40px; }
  .hero-title   { font-size: clamp(1.3rem, 6vw, 1.75rem); line-height: 1.25; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-badges  { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .hero-pill    { font-size: 0.72rem; }
  .hero-form-box { padding: 1rem; }

  /* Quote form */
  .quote-form .form-row { grid-template-columns: 1fr; }
  .quote-form input,
  .quote-form select,
  .quote-form textarea { padding: 0.55rem 0.7rem; }

  /* Process steps: single col on smallest */
  .process-steps { grid-template-columns: 1fr; gap: 1rem; }

  /* Service cards */
  .service-card  { padding: 1.25rem 1rem; }
  .service-icon  { width: 48px; height: 48px; font-size: 1.2rem; }
  .service-card h3 { font-size: 1.05rem; }

  /* Team cards */
  .team-img-wrap { height: 220px; }

  /* Feature items */
  .feature-item { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .feature-icon { width: 38px; height: 38px; font-size: 1rem; }

  /* Why img badge */
  .why-img-badge { font-size: 0.8rem; padding: 0.6rem 1rem; }

  /* Review cards */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Areas grid: already auto-fill so fine, pill shrink */
  .area-pill { padding: 0.5rem 1rem; font-size: 0.82rem; }

  /* FAQ — single col already at 600, minor tweaks */
  .faq-list details.faq-item summary { padding: 0.9rem 1rem; font-size: 0.88rem; }
  .faq-list details.faq-item .faq-answer { padding: 0 1rem 1rem; }
  .article-content .faq-list .faq-question { padding: 0.875rem 1rem; font-size: 0.88rem; }
  .article-content .faq-list .faq-answer   { padding: 0 1rem 1rem; }

  /* Article hero */
  .article-hero  { min-height: 220px; }
  .article-hero h1 { font-size: clamp(1.25rem, 5.5vw, 1.65rem); }
  .article-meta  { gap: 0.75rem; }
  .article-meta span { font-size: 0.78rem; }

  /* Buttons */
  .btn { padding: 0.7rem 1.4rem; font-size: 0.9rem; min-height: 44px; }
  .btn-sm { padding: 0.5rem 1rem; font-size: 0.82rem; }

  /* Back to top */
  #back-to-top { bottom: 1rem; right: 0.875rem; }

  /* Trust ribbon */
  .trust-item { font-size: 0.8rem; }

  /* Comparison table wrapper: ensure scroll */
  .comparison-table-wrap { border-radius: 8px; }
  .comparison-table { font-size: 0.78rem; }
  .comparison-table td,
  .comparison-table th { padding: 0.6rem 0.75rem; }

  /* Blog article body */
  .article-body-wrap { padding: 1.5rem 0 2.5rem; gap: 1.5rem; }
  .article-content blockquote { padding: 0.75rem 1rem; margin: 1.25rem 0; }
  .article-content .callout-box { padding: 1.25rem; }

  /* Sidebar box */
  .sidebar-box    { padding: 1.1rem; }
  .sidebar-widget { padding: 1.1rem; }

  /* Contact detail */
  .contact-detail-icon { width: 38px; height: 38px; font-size: 0.9rem; }

  /* 404 page */
  .error-code { font-size: clamp(5rem, 20vw, 8rem); }
}

/* ============================================================
   HUBSPOT FORM OVERRIDES  (visual only — do NOT touch form code)
   ============================================================ */
.hs-form-iframe { border: none !important; width: 100% !important; min-height: 420px; }
.hbspt-form { font-family: 'Inter', sans-serif !important; }

/* ============================================================
   UTILITY
   ============================================================ */
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.divider-center { margin: 1rem auto 1.5rem; }
.text-gold { color: var(--gold); }
.tag {
  display: inline-block;
  background: var(--light-grey);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin: 0.2rem;
}
.notice-box {
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--dark-grey);
  margin: 1.5rem 0;
}
.notice-box i { color: var(--gold); margin-right: 0.4rem; }

/* ============================================================
   BLOG ARTICLE — SIDEBAR WIDGETS
   ============================================================ */
.sidebar-widget {
  background: var(--off-white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--light-grey);
}
.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
}
.sidebar-widget p { font-size: 0.875rem; color: var(--mid-grey); margin-bottom: 1rem; }
.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid var(--light-grey); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--dark-grey);
  font-weight: 500;
  transition: color var(--transition), padding var(--transition);
}
.sidebar-links a:hover { color: var(--navy); padding-left: 4px; }
.btn-block { display: block; text-align: center; width: 100%; }

/* ============================================================
   BLOG ARTICLE — INTERNAL LINKS BOX
   ============================================================ */
.internal-links-box {
  background: linear-gradient(135deg, rgba(10,31,68,0.05), rgba(10,31,68,0.08));
  border: 1px solid rgba(10,31,68,0.12);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 1.5rem;
  margin: 2.5rem 0;
}
.internal-links-box h3 { font-size: 1rem; margin-bottom: 1rem; color: var(--navy); }
.internal-links-box ul { list-style: none; }
.internal-links-box li { margin-bottom: 0.6rem; }
.internal-links-box a {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.internal-links-box a:hover { color: #8a6a1a; }  /* upgraded gold→#8a6a1a: ratio 4.6:1 on light bg — WCAG AA */
.internal-links-box a::before { content: "→ "; color: #8a6a1a; }  /* upgraded gold→#8a6a1a for AA on light bg */

/* ============================================================
   HUBSPOT FORM SECTION (bottom of articles / pages)
   ============================================================ */
.hubspot-form-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 64px 0;
  margin-top: 3rem;
}
.hubspot-form-section h2 { color: var(--white); margin-bottom: 0.5rem; }
.hubspot-form-section .lead { color: rgba(255,255,255,0.92); margin-bottom: 2rem; }  /* upgraded 0.75→0.92: ratio ~12:1 on navy */
.hs-form-wrapper {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   BLOG ARTICLE — FAQ using <details> (article pages)
   Matches screenshot: white card · serif heading · navy rows
   gold circle icon · thin dividers · NO dark backgrounds
   ============================================================ */

/* Outer card */
.faq-list {
  margin: 2rem 0 2.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(10,31,68,0.07);
  overflow: hidden;
}

/* Heading block */
.faq-list .faq-list-heading {
  padding: 1.75rem 1.75rem 1.4rem;
  border-bottom: 1px solid #e8ecf2;
  background: #ffffff;
}
.faq-list .faq-list-heading h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 0;
  background: none !important;
  padding: 0 !important;
  border: none !important;
}

/* Each accordion row */
.faq-list details.faq-item {
  background: #ffffff;
  border-bottom: 1px solid #eef0f4;
  overflow: hidden;
  transition: background 0.2s ease;
}
.faq-list details.faq-item:last-child { border-bottom: none; }
.faq-list details.faq-item:hover      { background: #fafaf8; }

/* Summary / question row */
.faq-list details.faq-item summary {
  padding: 1.1rem 1.5rem;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  line-height: 1.5;
  transition: color 0.2s ease;
  user-select: none;
}
.faq-list details.faq-item summary::-webkit-details-marker { display: none; }
.faq-list details.faq-item summary::-moz-list-bullet        { display: none; }
.faq-list details.faq-item[open] summary  { color: var(--navy); }
.faq-list details.faq-item summary:hover  { color: #8a6a1a; }

/* Gold circle icon — right side */
.faq-list details.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.faq-list details.faq-item[open] summary::after {
  content: "\2212";
  background: var(--gold);
  color: #06122a;
  border-color: var(--gold);
  font-weight: 700;
}

/* Answer panel */
.faq-list details.faq-item .faq-answer {
  display: block;
  padding: 0 1.5rem 1.25rem 1.5rem;
  background: #ffffff;
  animation: articleFaqFadeIn 0.25s ease;
}
@keyframes articleFaqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-list details.faq-item .faq-answer p {
  margin: 0;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.8;
  border-top: 1px solid #eef0f4;
  padding-top: 0.875rem;
}
.faq-list details.faq-item .faq-answer a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-list details.faq-item .faq-answer a:hover { color: #8a6a1a; }

/* ============================================================
   FOOTER NAV (used in blog article footers)
   ============================================================ */
.footer-nav h3 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-nav ul { list-style: none; }
.footer-nav ul li { margin-bottom: 0.6rem; }
.footer-nav ul li a {
  color: rgba(255,255,255,0.88);  /* upgraded 0.60→0.88: ratio ~10:1 on dark bg — WCAG AA */
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-nav ul li a:hover { color: var(--gold); }
.footer-contact h3 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-contact p {
  color: rgba(255,255,255,0.88);  /* upgraded 0.60→0.88: ratio ~10:1 on dark bg — WCAG AA */
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.footer-contact p i { color: var(--gold); margin-top: 0.15rem; }
.footer-contact a { color: rgba(255,255,255,0.88); }  /* upgraded to match */
.footer-contact a:hover { color: var(--gold); }

/* 404 page */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
}
.error-code {
  font-size: clamp(6rem, 18vw, 12rem);
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--light-grey);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-page h1 { font-size: 2rem; margin-bottom: 1rem; }
.error-page p   { max-width: 480px; margin: 0 auto 2rem; color: var(--mid-grey); }

