/* ================================================================
   TRUENET HOME BUYERS — styles.css
   Single shared stylesheet for all 8 pages.
   Sections: Variables → Reset → Typography → Layout → Buttons →
   Header → Hero → Page Hero → Forms → Steps → Benefits →
   Comparison Table → Situations → Service Areas → Testimonials →
   FAQ → Team → Values → CTA Strip → Footer Form → Footer →
   Contact → Utilities → Responsive
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
  --navy:          #1a3a5c;
  --navy-dark:     #0d2238;
  --orange:        #e85d04;
  --orange-hover:  #c94e02;
  --bg-light:      #f2f6fb;
  --white:         #ffffff;
  --text-dark:     #1a1a1a;
  --text-body:     #4a4a4a;
  --text-muted:    #6b7280;
  --border:        #e2e8f0;
  --input-border:  #cbd5e1;

  --shadow-sm:  0 1px 4px rgba(0, 0, 0, 0.07);
  --shadow-md:  0 4px 18px rgba(0, 0, 0, 0.11);
  --shadow-lg:  0 8px 36px rgba(0, 0, 0, 0.15);

  --radius:    8px;
  --radius-lg: 14px;
  --transition: 0.2s ease;

  --header-height:          80px;
  --header-height-scrolled: 60px;
  --container-max:          1200px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ----------------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title  { margin-bottom: 14px; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-inline: auto; }

/* ----------------------------------------------------------------
   4. LAYOUT & CONTAINERS
   ---------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 28px;
}

section { padding-block: 80px; }

/* ----------------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 93, 4, 0.38);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

.btn-full { width: 100%; }
.btn-lg   { padding: 17px 38px; font-size: 1.05rem; }

/* ----------------------------------------------------------------
   6. HEADER & NAVIGATION
   ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--header-height);
  transition: height var(--transition), box-shadow var(--transition);
}

.site-header.header--scrolled {
  height: var(--header-height-scrolled);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

/* Logo */
.site-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-logo .logo-accent { color: var(--orange); }

/* Desktop Nav */
.nav-menu { flex: 1; }

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 9px;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.nav-link--contact {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 7px 13px;
  border-radius: 6px;
}
.nav-link--contact:hover {
  background: var(--orange-hover) !important;
}

/* Header phone */
.header-phone {
  flex-shrink: 0;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color var(--transition);
}
.header-phone:hover { color: var(--orange); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   7. HERO — Home Page
   ---------------------------------------------------------------- */
.hero {
  padding-block-start: var(--header-height);
  min-height: 100vh;
  background: linear-gradient(140deg, #071929 0%, #112840 35%, #1a3a5c 70%, #0f2d4f 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Decorative glow circles */
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.08) 0%, transparent 70%);
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  padding-block: 88px;
}

/* Hero left — text */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 93, 4, 0.15);
  color: #ff7a2e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 50px;
  margin-bottom: 22px;
  border: 1px solid rgba(232, 93, 4, 0.25);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
}
.hero h1 .highlight { color: var(--orange); }

.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  margin-bottom: 34px;
  line-height: 1.75;
}

/* Hero trust badges */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  font-weight: 500;
}
.trust-item svg { color: var(--orange); flex-shrink: 0; }

/* Hero right — CTAs */
.hero-cta-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Form card */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
}
.hero-form-card .form-header {
  text-align: center;
  margin-bottom: 22px;
}
.hero-form-card .form-header h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.hero-form-card .form-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Divider */
.hero-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-divider::before,
.hero-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

/* Phone CTA box */
.hero-phone-cta {
  text-align: center;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
}
.hero-phone-cta p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  margin-bottom: 6px;
}
.hero-phone-number {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color var(--transition);
}
.hero-phone-number:hover { color: #ff6a0d; }

/* ----------------------------------------------------------------
   8. PAGE HERO — Inner Pages
   ---------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(140deg, #0d2238 0%, #1a3a5c 100%);
  padding-block: 72px;
  padding-block-start: calc(var(--header-height) + 56px);
  text-align: center;
}
.page-hero h1  { color: var(--white); margin-bottom: 14px; }
.page-hero p   {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   9. FORMS
   ---------------------------------------------------------------- */
.lead-form .form-group { margin-bottom: 12px; }

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.lead-form textarea { resize: vertical; min-height: 120px; }

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}
.lead-form input.error,
.lead-form textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error-msg {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}
.form-error-msg.visible { display: block; }

.form-confirmation {
  margin-top: 16px;
  padding: 14px 18px;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  color: #14532d;
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ----------------------------------------------------------------
   10. HOW IT WORKS — Step Cards
   ---------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-block-start: 52px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin-inline: auto;
  margin-bottom: 18px;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: rgba(26, 58, 92, 0.09);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 14px;
  color: var(--navy);
}

.step-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.step-card p  { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* Connector lines between steps (desktop) */
.steps-grid .step-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--border);
  font-weight: 300;
}

/* ----------------------------------------------------------------
   11. BENEFITS / WHY CHOOSE US
   ---------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 22px;
  margin-block-start: 52px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.benefit-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 58, 92, 0.25);
}

.benefit-icon {
  width: 46px;
  height: 46px;
  background: rgba(26, 58, 92, 0.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.benefit-text h4 { margin-bottom: 5px; color: var(--text-dark); }
.benefit-text p  { color: var(--text-muted); font-size: 0.9rem; margin: 0; line-height: 1.55; }

/* ----------------------------------------------------------------
   12. COMPARISON TABLE
   ---------------------------------------------------------------- */
.comparison-wrap {
  overflow-x: auto;
  margin-block-start: 52px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.comparison-table th {
  background: var(--navy);
  color: var(--white);
  padding: 17px 22px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
}
.comparison-table th:first-child { text-align: left; width: 38%; }
.comparison-table th.col-highlight { background: var(--orange); }

.comparison-table td {
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 0.93rem;
  color: var(--text-body);
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-dark);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--bg-light); }

.check  { color: #16a34a; font-size: 1.15rem; font-weight: 700; }
.cross  { color: #dc2626; font-size: 1.15rem; }
.maybe  { color: var(--text-muted); font-size: 0.85rem; }

/* ----------------------------------------------------------------
   13. WHO WE HELP — Situation Cards
   ---------------------------------------------------------------- */
.situations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 22px;
  margin-block-start: 52px;
}

.situation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.situation-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 58, 92, 0.3);
  transform: translateY(-3px);
}

.situation-icon {
  width: 52px;
  height: 52px;
  background: rgba(26, 58, 92, 0.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 16px;
}

.situation-card h4 { margin-bottom: 8px; font-size: 1.05rem; }
.situation-card p  { color: var(--text-muted); font-size: 0.88rem; margin: 0; line-height: 1.6; }

/* ----------------------------------------------------------------
   14. SERVICE AREAS — City Pills
   ---------------------------------------------------------------- */
.county-block { margin-bottom: 48px; }
.county-block:last-child { margin-bottom: 0; }

.county-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.county-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-pill {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--transition);
  cursor: default;
}
.city-pill:hover,
.city-pill.primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.service-note {
  margin-block-start: 40px;
  padding: 20px 24px;
  background: rgba(26, 58, 92, 0.06);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-body);
  font-size: 0.95rem;
}
.service-note strong { color: var(--navy); }

/* ----------------------------------------------------------------
   15. TESTIMONIALS
   ---------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-block-start: 52px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.testimonial-text {
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.72;
  font-size: 0.93rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.author-name     { font-weight: 700; font-size: 0.9rem; color: var(--text-dark); }
.author-location { font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }

/* ----------------------------------------------------------------
   16. FAQ ACCORDION
   ---------------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  margin-block-start: 52px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item.is-open { box-shadow: var(--shadow-sm); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.975rem;
  gap: 16px;
  background: var(--white);
  transition: background var(--transition), color var(--transition);
  text-align: left;
}
.faq-question:hover { background: var(--bg-light); }
.faq-item.is-open .faq-question {
  background: var(--bg-light);
  color: var(--navy);
}

.faq-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  transition: transform 0.3s ease, background var(--transition);
  line-height: 1;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--orange);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s ease;
}
.faq-answer-inner {
  padding: 16px 24px 22px;
  color: var(--text-body);
  line-height: 1.72;
  font-size: 0.93rem;
  border-top: 1px solid var(--border);
}

/* ----------------------------------------------------------------
   17. TEAM CARDS — About Page
   ---------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-block-start: 52px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 24px 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-inline: auto;
  margin-bottom: 16px;
}

.team-card h4       { margin-bottom: 4px; }
.team-card .team-role {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}
.team-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; margin: 0; }

/* ----------------------------------------------------------------
   18. VALUES — About Page
   ---------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-block-start: 52px;
}

.value-card {
  text-align: center;
  padding: 30px 16px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); }

.value-icon {
  width: 58px;
  height: 58px;
  background: rgba(26, 58, 92, 0.09);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-inline: auto;
  margin-bottom: 14px;
}

.value-card h4 { margin-bottom: 8px; color: var(--navy); }
.value-card p  { color: var(--text-muted); font-size: 0.875rem; margin: 0; line-height: 1.6; }

/* ----------------------------------------------------------------
   19. PREVIEW CARDS — Home Page Section Teasers
   ---------------------------------------------------------------- */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-block-start: 44px;
}

.preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.preview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.preview-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(26, 58, 92, 0.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 16px;
}

.preview-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.preview-card p  { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 18px; line-height: 1.65; }

.preview-link {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.preview-link:hover { gap: 10px; }

/* ----------------------------------------------------------------
   20. REASSURANCE BAR
   ---------------------------------------------------------------- */
.reassurance-bar {
  background: var(--navy-dark);
  padding-block: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.reassurance-items {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.9rem;
}
.reassurance-item svg { color: var(--orange); flex-shrink: 0; }

/* ----------------------------------------------------------------
   21. CTA STRIP
   ---------------------------------------------------------------- */
.cta-strip {
  background: var(--navy);
  padding-block: 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta-strip > .container { position: relative; z-index: 1; }

.cta-strip h2   { color: var(--white); margin-bottom: 12px; }
.cta-strip p    { color: rgba(255, 255, 255, 0.72); margin-bottom: 28px; font-size: 1.05rem; }

.cta-phone {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--orange);
  display: block;
  margin-bottom: 26px;
  transition: color var(--transition);
}
.cta-phone:hover { color: #ff6a0d; }

.cta-strip-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------------
   22. FOOTER LEAD FORM SECTION
   ---------------------------------------------------------------- */
.footer-form-section {
  background: var(--bg-light);
  padding-block: 80px;
  border-top: 1px solid var(--border);
}

.footer-form-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.footer-form-text h2 { margin-bottom: 12px; }
.footer-form-text p  { color: var(--text-muted); font-size: 1rem; margin-bottom: 22px; }

.form-trust-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
}
.form-trust-item svg { color: #16a34a; flex-shrink: 0; }

.footer-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ----------------------------------------------------------------
   23. FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--navy-dark);
  padding-block-start: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 64px;
  padding-block-end: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 10px;
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  margin-bottom: 14px;
  line-height: 1.6;
}
.footer-phone {
  color: var(--orange);
  font-weight: 700;
  font-size: 1.05rem;
  display: block;
  transition: color var(--transition);
}
.footer-phone:hover { color: #ff6a0d; }

.footer-nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  padding-block: 20px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 3px;
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   24. CONTACT PAGE
   ---------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  margin-block-start: 52px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-info-item:last-child { margin-bottom: 0; }

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(26, 58, 92, 0.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.contact-info-item .info-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-info-item .info-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.contact-info-item .info-value a {
  color: var(--navy);
  transition: color var(--transition);
}
.contact-info-item .info-value a:hover { color: var(--orange); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h3 { margin-bottom: 22px; }

/* ----------------------------------------------------------------
   25. ABOUT — Story Section
   ---------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-graphic {
  background: linear-gradient(135deg, #0d2238 0%, #1a3a5c 100%);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  color: var(--white);
}
.story-stat {
  margin-bottom: 28px;
}
.story-stat:last-child { margin-bottom: 0; }
.story-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}
.story-stat-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ----------------------------------------------------------------
   26. UTILITY CLASSES
   ---------------------------------------------------------------- */
.bg-white  { background: var(--white); }
.bg-light  { background: var(--bg-light); }
.bg-navy   { background: var(--navy); }
.mt-large  { margin-block-start: 48px; }
.mb-0      { margin-bottom: 0 !important; }

/* ----------------------------------------------------------------
   27. RESPONSIVE — TABLET (≤ 1024px)
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 60px;
  }
  .hero { min-height: auto; }

  .hero-cta-side {
    flex-direction: row;
    gap: 20px;
  }
  .hero-form-card,
  .hero-phone-cta { flex: 1; }

  .steps-grid             { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .steps-grid .step-card::after { display: none; }
  .testimonials-grid      { grid-template-columns: 1fr 1fr; }
  .team-grid              { grid-template-columns: 1fr 1fr; }
  .values-grid            { grid-template-columns: 1fr 1fr; }
  .footer-form-inner      { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner           { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout         { grid-template-columns: 1fr; }
  .preview-grid           { grid-template-columns: 1fr 1fr; }
  .story-grid             { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------
   28. RESPONSIVE — MOBILE (≤ 768px)
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --header-height-scrolled: 56px;
  }
  section { padding-block: 56px; }

  /* Mobile nav overlay */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-dark);
    padding: 20px 24px 40px;
    display: none;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-menu.is-open { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-link {
    font-size: 1.05rem;
    padding: 13px 16px;
    display: block;
  }
  .nav-link--contact { margin-top: 8px; text-align: center; }

  .header-phone { display: none; }
  .hamburger    { display: flex; }

  /* Hero */
  .hero-inner        { padding-block: 44px; }
  .hero-cta-side     { flex-direction: column; }
  .hero-phone-number { font-size: 1.55rem; }

  /* Grids — single column */
  .benefits-grid     { grid-template-columns: 1fr; }
  .situations-grid   { grid-template-columns: 1fr; }
  .team-grid         { grid-template-columns: 1fr; }
  .preview-grid      { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid        { grid-template-columns: 1fr; }

  /* CTA strip */
  .cta-strip-btns { flex-direction: column; align-items: center; }
  .cta-phone      { font-size: 1.3rem; }

  /* Footer form */
  .footer-form-card { padding: 24px 20px; }

  /* Reassurance */
  .reassurance-items { gap: 16px; }

  /* Contact */
  .contact-form-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .container        { padding-inline: 16px; }
  .hero-form-card   { padding: 22px 18px; }
  .values-grid      { grid-template-columns: 1fr 1fr; }
  .comparison-table th,
  .comparison-table td { padding: 11px 13px; font-size: 0.85rem; }
}

/* ----------------------------------------------------------------
   GOOGLE PLACES AUTOCOMPLETE DROPDOWN
   Styles .pac-container (Google's dropdown) to match the site.
   NOTE: Do NOT hide .pac-logo — the "Powered by Google"
   attribution is required by Google's Terms of Service.
   ---------------------------------------------------------------- */
.pac-container {
  font-family: var(--font);
  border: 1.5px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--white);
  margin-top: -2px;
  z-index: 9999;
}

.pac-item {
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
  border-top: 1px solid var(--border);
  line-height: 1.45;
}

.pac-item:first-child { border-top: none; }

.pac-item:hover,
.pac-item-selected {
  background: var(--bg-light);
}

.pac-item-query {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
}

.pac-matched { font-weight: 700; color: var(--navy); }

/* Keep "Powered by Google" logo at natural size (required by ToS) */
.pac-logo::after {
  margin: 6px 10px;
  display: block;
}
