/* ═══════════════════════════════════════════════════════════════
   SITE B — www2.conveyancingprices.com
   Palette: Warm White / Deep Teal / Sage / Warm Coral
   Type:    DM Serif Display (display) / DM Sans (body)
   Signature: pill-shaped tags + split hero layout + step connectors
═══════════════════════════════════════════════════════════════ */

:root {
  --teal:        #0e7c6e;
  --teal-dark:   #085c52;
  --teal-light:  #d4ede9;
  --teal-mid:    #b0ddd7;
  --warm-white:  #faf8f5;
  --warm-white2: #f0ede8;
  --coral:       #e8654a;
  --sage:        #5a7a6e;
  --text:        #1a2420;
  --text-muted:  #536b63;
  --white:       #ffffff;
  --border:      #dedad4;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(14,124,110,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 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(--white);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon.small {
  width: 26px;
  height: 26px;
  font-size: 10px;
}

.logo-text {
  font-size: 16px;
  color: var(--text);
}

.logo-text strong {
  font-weight: 700;
  color: var(--teal);
}

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

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

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

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--teal-dark) !important; }

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

.hero {
  background: var(--warm-white);
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}

.hero-pill {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--teal);
  font-style: italic;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.mini-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-stat strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
}

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

/* Quote card */
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.card-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.field select,
.field input {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field select:focus,
.field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,124,110,0.10);
}

.field input::placeholder { color: #b0aba4; }

.btn-primary {
  width: 100%;
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

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

.btn-large {
  padding: 16px 48px;
  font-size: 17px;
  width: auto;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--teal);
  color: var(--teal);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

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

.card-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* ── TRUST STRIP ──────────────────────────────────────────── */

.trust-strip {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  white-space: nowrap;
}

.trust-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-badge {
  background: var(--warm-white2);
  border: 1px solid var(--border);
  color: var(--sage);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

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

.section { padding: 88px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

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

.section-header h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

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

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

.steps-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step-h {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 0 28px;
}

.step-h:first-child { padding-left: 0; }
.step-h:last-child  { padding-right: 0; }

.step-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-connector {
  flex-shrink: 0;
  width: 48px;
  height: 2px;
  background: var(--teal-mid);
  margin-top: 24px;
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* ── FEATURES ─────────────────────────────────────────────── */

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

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

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

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

.feature-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.feature-tag.teal   { background: var(--teal-light);              color: var(--teal-dark); }
.feature-tag.green  { background: #d4e8d4;                        color: #2d6b2d; }
.feature-tag.orange { background: #fde8df;                        color: #c24022; }
.feature-tag.purple { background: #e8e0f4;                        color: #5c3d9e; }

.feature h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

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

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

.testimonials { background: var(--teal-dark); }

.testimonials .section-header { color: var(--white); }
.testimonials .eyebrow        { color: var(--teal-mid); }
.testimonials .section-header h2 { color: var(--white); }

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

.review-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.review-stars {
  color: var(--teal-mid);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
  margin-bottom: 16px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
}

.reviewer {
  font-size: 13px;
  color: var(--teal-mid);
  font-style: normal;
}

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

.faq { background: var(--warm-white); }

.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-intro h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}

.faq-intro p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.65;
}

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

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s;
}

.faq-item[open] { border-color: var(--teal); }

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  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(--teal);
  transition: transform 0.2s;
  flex-shrink: 0;
}

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

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

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

.cta-strip {
  background: var(--warm-white);
  padding: 72px 0;
  border-top: 1px solid var(--border);
}

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

.cta-text h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.cta-text p {
  font-size: 16px;
  color: var(--text-muted);
}

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

.site-footer {
  background: var(--text);
  padding: 28px 0;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.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: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .main-nav a:not(.nav-cta) { display: none; }
  .steps-horizontal { flex-direction: column; gap: 32px; }
  .step-connector { display: none; }
  .step-h { padding: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .btn-large { width: 100%; text-align: center; }
}

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