/* ==========================================================================
   Maximum Rebate — Premium Design System
   Palette: Deep navy + warm gold + cream
   Typography: Cormorant Garamond (display) + Inter (body)
   ========================================================================== */

:root {
  /* Colour system */
  --navy-900: #051124;
  --navy-800: #0A1F3D;
  --navy-700: #142D52;
  --navy-600: #1F3F6B;
  --navy-500: #2C5285;
  --navy-100: #E6ECF5;

  --gold-700: #9C7A3F;
  --gold-600: #B89456;
  --gold-500: #C9A063;
  --gold-400: #D9B670;
  --gold-300: #E8C766;
  --gold-100: #F4E4B8;

  --cream-50: #FBF9F4;
  --cream-100: #F9F7F2;
  --cream-200: #F1ECE0;
  --cream-300: #E5DEC9;

  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --ink-200: #CBD5E1;

  --white: #FFFFFF;

  /* Semantic */
  --bg: var(--cream-100);
  --bg-alt: var(--white);
  --bg-dark: var(--navy-800);
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --accent: var(--gold-500);
  --accent-hover: var(--gold-700);
  --border: rgba(10, 31, 61, 0.08);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius: 4px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(10, 31, 61, 0.06), 0 1px 3px rgba(10, 31, 61, 0.04);
  --shadow-md: 0 4px 6px rgba(10, 31, 61, 0.05), 0 10px 20px rgba(10, 31, 61, 0.08);
  --shadow-lg: 0 12px 24px rgba(10, 31, 61, 0.08), 0 24px 48px rgba(10, 31, 61, 0.12);
  --shadow-gold: 0 8px 24px rgba(201, 160, 99, 0.25);

  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.375rem; }

p { color: var(--ink-700); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-700);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold-500);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-700);
  max-width: 60ch;
}

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

section { padding: var(--space-9) 0; }
.section-tight { padding: var(--space-7) 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 160, 99, 0.4);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
}

.btn-secondary {
  background: var(--navy-800);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  padding: 12px 0;
}

.btn-ghost::after {
  content: '→';
  margin-left: var(--space-2);
  transition: transform var(--transition);
}

.btn-ghost:hover { color: var(--gold-700); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(249, 247, 242, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  max-width: var(--container);
  margin: 0 auto;
  gap: var(--space-6);
}

.nav-logo img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-800);
  transition: color var(--transition);
  position: relative;
  padding: var(--space-2) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-500);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--gold-700); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; gap: var(--space-3); align-items: center; }
.nav-phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-phone svg { width: 14px; height: 14px; }

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  transition: all var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--space-9) + 80px) 0 var(--space-9);
  background: var(--navy-800);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(201, 160, 99, 0.15), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(20, 45, 82, 0.6), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 160, 99, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 160, 99, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-inner { grid-template-columns: 1.2fr 1fr; gap: var(--space-9); }
}

.hero .eyebrow { color: var(--gold-400); }
.hero .eyebrow::before { background: var(--gold-400); }

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-5);
}

.hero h1 .accent {
  display: block;
  font-style: italic;
  color: var(--gold-400);
  font-weight: 400;
}

.hero-lead {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-6);
  max-width: 50ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.trust-item-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-400);
  font-weight: 600;
  line-height: 1;
}

.trust-item-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero card / refund calculator preview */
.hero-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(232, 199, 102, 0.4), transparent 50%, rgba(232, 199, 102, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-400);
  margin-bottom: var(--space-3);
}

.hero-card-title {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: var(--space-5);
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.calc-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.calc-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 500;
}

.calc-total {
  margin-top: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(135deg, rgba(201, 160, 99, 0.15), rgba(201, 160, 99, 0.05));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 160, 99, 0.25);
}

.calc-total .calc-value {
  color: var(--gold-300);
  font-size: 2rem;
}

/* Sections */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-8);
}

.section-header .eyebrow { justify-content: center; }
.section-header .eyebrow::before,
.section-header .eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold-500);
}

.section-header h2 { margin-bottom: var(--space-4); }
.section-header .lead { margin: 0 auto; }

/* Industries Grid */
.industries {
  background: var(--white);
  position: relative;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.industry-card {
  background: var(--cream-50);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

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

.industry-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--gold-400);
}

.industry-icon svg { width: 28px; height: 28px; }

.industry-card h4 {
  color: var(--navy-800);
  margin-bottom: var(--space-3);
}

.industry-card p {
  font-size: 0.9375rem;
  color: var(--ink-500);
  line-height: 1.6;
}

/* Services list (alt layout) */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-5);
}

.service-card {
  background: var(--white);
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

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

.service-card .service-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold-300);
  line-height: 1;
  font-weight: 400;
  margin-bottom: var(--space-5);
  font-style: italic;
}

.service-card h3 {
  color: var(--navy-800);
  margin-bottom: var(--space-4);
  font-size: 1.5rem;
}

.service-card p {
  flex: 1;
  margin-bottom: var(--space-5);
  color: var(--ink-700);
}

/* Process steps */
.process {
  background: var(--navy-800);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 160, 99, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(20, 45, 82, 0.4), transparent 50%);
}

.process .section-header h2 { color: var(--white); }
.process .section-header .lead { color: rgba(255,255,255,0.7); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
  position: relative;
  z-index: 2;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  counter-increment: step;
}

.process-step-num {
  position: absolute;
  top: -20px; left: var(--space-6);
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.process-step h4 {
  color: var(--white);
  margin: var(--space-5) 0 var(--space-3);
}

.process-step p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
}

/* Stats band */
.stats {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-7) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 0 var(--space-4);
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 60%;
  background: var(--border);
}

@media (max-width: 640px) {
  .stat-item::after { display: none !important; }
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--navy-800);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-number .symbol { color: var(--gold-500); }

.stat-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-500);
}

/* Testimonials */
.testimonials {
  background: var(--cream-100);
  position: relative;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-5);
}

.testimonial {
  background: var(--white);
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold-300);
  line-height: 1;
  opacity: 0.3;
}

.testimonial-stars {
  color: var(--gold-500);
  margin-bottom: var(--space-4);
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--navy-800);
  margin-bottom: var(--space-5);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.9375rem;
}

.testimonial-meta {
  font-size: 0.8125rem;
  color: var(--ink-500);
  margin-top: 2px;
}

/* Referral CTA band */
.referral {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.referral::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(201, 160, 99, 0.15), transparent 60%);
}

.referral-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .referral-inner { grid-template-columns: 1fr auto; }
}

.referral h2 { color: var(--white); margin-bottom: var(--space-4); }
.referral p { color: rgba(255, 255, 255, 0.75); margin-bottom: var(--space-4); max-width: 60ch; }

.referral-amount {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  color: var(--gold-400);
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.referral-amount span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Page header (inner pages) */
.page-header {
  padding: calc(var(--space-9) + 80px) 0 var(--space-7);
  background: var(--navy-800);
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center top, rgba(201, 160, 99, 0.15), transparent 60%);
}

.page-header-inner { position: relative; z-index: 2; }

.page-header .eyebrow { color: var(--gold-400); justify-content: center; }
.page-header .eyebrow::before,
.page-header .eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold-400);
}

.page-header h1 { color: var(--white); margin-bottom: var(--space-4); }
.page-header p { color: rgba(255, 255, 255, 0.75); max-width: 700px; margin: 0 auto; }

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.breadcrumbs a { color: rgba(255, 255, 255, 0.7); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--gold-400); }
.breadcrumbs .sep { color: var(--gold-500); }

/* Content prose */
.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.prose h3 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--navy-700);
}

.prose p { margin-bottom: var(--space-4); font-size: 1.0625rem; line-height: 1.75; }

.prose ul, .prose ol {
  margin: var(--space-4) 0 var(--space-5) var(--space-5);
  color: var(--ink-700);
}

.prose li {
  margin-bottom: var(--space-2);
  line-height: 1.7;
}

.prose strong { color: var(--navy-800); font-weight: 600; }

.prose-cta {
  background: linear-gradient(135deg, var(--cream-100), var(--cream-200));
  border-left: 3px solid var(--gold-500);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  margin: var(--space-7) 0;
}

.prose-cta h3 { margin-top: 0; color: var(--navy-800); }
.prose-cta p { margin-bottom: var(--space-4); }

/* FAQ Accordion */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy-800);
  transition: color var(--transition);
}

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

.faq-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-700);
  transition: all var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--gold-500);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition);
}

.faq-item.open .faq-answer {
  max-height: 800px;
  padding: 0 0 var(--space-5);
}

.faq-answer p {
  color: var(--ink-700);
  line-height: 1.75;
  font-size: 1rem;
}

.faq-answer ul {
  margin: var(--space-3) 0 var(--space-3) var(--space-5);
  color: var(--ink-700);
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}

@media (min-width: 992px) {
  .contact-grid { grid-template-columns: 1fr 1.3fr; gap: var(--space-8); }
}

.contact-info {
  background: var(--navy-800);
  color: var(--white);
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 80%; height: 100%;
  background: radial-gradient(circle, rgba(201, 160, 99, 0.1), transparent 70%);
}

.contact-info h3 { color: var(--white); margin-bottom: var(--space-3); position: relative; }
.contact-info > p { color: rgba(255, 255, 255, 0.75); margin-bottom: var(--space-6); position: relative; }

.contact-detail {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(201, 160, 99, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
}

.contact-detail-icon svg { width: 20px; height: 20px; }

.contact-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.contact-detail-value {
  font-size: 1rem;
  color: var(--white);
}

.contact-detail-value a { transition: color var(--transition); }
.contact-detail-value a:hover { color: var(--gold-400); }

/* Form */
.form {
  background: var(--white);
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

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

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

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: all var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 160, 99, 0.1);
}

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

.form-checkbox {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-5);
  font-size: 0.875rem;
  color: var(--ink-500);
}

.form-checkbox input { margin-top: 4px; accent-color: var(--gold-500); }

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-9) 0 var(--space-5);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand img { height: 56px; margin-bottom: var(--space-5); }
.footer-brand p { color: rgba(255, 255, 255, 0.6); margin-bottom: var(--space-4); max-width: 320px; font-size: 0.9375rem; }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-400);
  font-size: 1rem;
  margin-top: var(--space-3);
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-400);
  margin-bottom: var(--space-4);
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: var(--space-2); }

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold-400); }

.footer-contact-item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}

.footer-contact-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--gold-400);
  margin-top: 2px;
}

.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a { color: rgba(255, 255, 255, 0.5); }
.footer-bottom a:hover { color: var(--gold-400); }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }

/* Responsive nav */
@media (max-width: 992px) {
  .nav-links,
  .nav-phone { display: none; }
  .menu-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    top: 80px; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    gap: var(--space-4);
    align-items: flex-start;
  }

  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 640px) {
  section { padding: var(--space-8) 0; }
  .hero { padding: calc(var(--space-8) + 80px) 0 var(--space-7); min-height: auto; }
  h1 { font-size: 2.5rem; }
}

/* Form success state */
.form-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: var(--space-5);
  border-radius: var(--radius);
  margin-bottom: var(--space-5);
  display: none;
}

.form-success.show { display: block; animation: fadeUp 0.5s ease; }

/* Print */
@media print {
  .site-header, .site-footer, .hero-cta, .referral { display: none; }
  body { background: white; color: black; }
}
