/* ═══════════════════════════════════════════════════════════════
   SITE A — ConveyancingPrices.com
   Palette: Deep Navy / Warm Gold / Cream / Slate
   Type:    Playfair Display (display) / Inter (body)
═══════════════════════════════════════════════════════════════ */

:root {
  --navy:       #1a2744;
  --navy-mid:   #243258;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --cream:      #f8f5ee;
  --slate:      #64748b;
  --text:       #1e293b;
  --text-muted: #64748b;
  --white:      #ffffff;
  --border:     #e2e0d8;
  --radius:     4px;
  --shadow:     0 2px 16px rgba(26,39,68,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── HEADER ───────────────────────────────────────────────── */

.site-header {
  background: var(--navy);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--gold);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.logo-mark {
  font-size: 20px;
  color: var(--gold);
}

.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo-tld { color: var(--gold); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.15s;
}

.main-nav a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }

/* ── HERO ─────────────────────────────────────────────────── */

.hero {
  background: var(--navy);
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(201,168,76,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(40px, 5.5vw, 70px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 640px;
}

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

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Quote form */
.quote-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 680px;
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}

.form-group select,
.form-group input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.form-group select option { background: var(--navy); }

.form-group select:focus,
.form-group input:focus {
  border-color: var(--gold);
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-large {
  padding: 16px 40px;
  font-size: 17px;
}

.hero-reassurance {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

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

/* ── STATS BAR ────────────────────────────────────────────── */

.stats-bar {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
  gap: 4px;
}

.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ── SECTIONS ─────────────────────────────────────────────── */

.section { padding: 88px 0; }

.section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 52px;
}

/* ── HOW IT WORKS ─────────────────────────────────────────── */

.how-it-works { background: var(--white); }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  padding: 32px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.step h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 24px;
  color: var(--gold);
  padding-top: 56px;
  flex-shrink: 0;
  align-self: flex-start;
}

/* ── WHY US ───────────────────────────────────────────────── */

.why-us { background: var(--cream); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.15s;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */

.testimonials { background: var(--white); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.testimonial {
  border-left: 3px solid var(--gold);
  padding: 24px 24px 24px 28px;
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.testimonial p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 14px;
}

.testimonial footer {
  font-size: 13px;
  color: var(--text-muted);
  font-style: normal;
}

/* ── FAQ ──────────────────────────────────────────────────── */

.faq { background: var(--cream); }

.faq-container { max-width: 760px; }

.faq-list { display: flex; flex-direction: column; gap: 2px; }

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

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA STRIP ────────────────────────────────────────────── */

.cta-strip {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(201,168,76,0.12) 0%, transparent 70%);
}

.cta-inner { position: relative; }

.cta-strip h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-strip p {
  color: rgba(255,255,255,0.65);
  font-size: 17px;
  margin-bottom: 36px;
}

/* ── FOOTER ───────────────────────────────────────────────── */

.site-footer {
  background: #111827;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}

.footer-nav a:hover { color: rgba(255,255,255,0.75); }

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 768px) {
  .main-nav a:not(.nav-cta) { display: none; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .stats-grid { gap: 24px; }
  .stat-divider { display: none; }
  .stat { padding: 0 16px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .form-row { flex-direction: column; }
  .btn-primary { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
