/* ============================================
   Wanner Family Insurance - Main Stylesheet
   Mobile-first, conversion-focused design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors - GEICO blue-inspired */
  --primary: #0057A8;
  --primary-dark: #003F7A;
  --primary-light: #E8F2FC;
  --accent: #00A651;
  --accent-dark: #008C45;
  --accent-light: #E6F9EF;
  --cta-orange: #F57C00;
  --cta-orange-dark: #E06500;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8FAFB;
  --gray-100: #F1F4F7;
  --gray-200: #E2E7ED;
  --gray-300: #C8D0DA;
  --gray-400: #9BA5B3;
  --gray-500: #6B7685;
  --gray-600: #4A5464;
  --gray-700: #343E4E;
  --gray-800: #1E2838;
  --gray-900: #0F1722;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 3rem 1.25rem;
  --container-max: 1200px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.5rem; }
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-white p { color: rgba(255,255,255,0.85); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.section-header p {
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  :root { --section-padding: 4.5rem 2rem; }
}

@media (min-width: 1024px) {
  :root { --section-padding: 5rem 2rem; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-cta {
  background: var(--cta-orange);
  color: var(--white);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

.btn-cta:hover {
  background: var(--cta-orange-dark);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.125rem 2.75rem;
  font-size: 1.15rem;
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --- Sticky Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.header-logo span {
  color: var(--gray-700);
  font-weight: 400;
  font-size: 0.7rem;
  display: block;
  line-height: 1.2;
}

.header-logo-text {
  display: flex;
  flex-direction: column;
}

.header-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Desktop Nav */
.header-nav {
  display: none;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
}

.header-nav .has-dropdown {
  position: relative;
}

.header-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -1rem;
  padding-top: 0.75rem;
  min-width: 200px;
}

.header-nav .has-dropdown:hover .dropdown {
  display: block;
}

.dropdown-inner {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  border: 1px solid var(--gray-200);
}

.dropdown-inner a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.dropdown-inner a:hover {
  background: var(--gray-50);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.header-phone svg {
  width: 18px;
  height: 18px;
}

.header-quote-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 1.25rem;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu nav a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu nav a:hover {
  color: var(--primary);
}

.mobile-menu .mobile-menu-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .header-phone { display: flex; }
}

@media (min-width: 1024px) {
  .header-nav { display: block; }
  .mobile-menu-toggle { display: none; }
}

/* --- Mobile Click-to-Call Bar --- */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--primary);
  display: flex;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

.mobile-cta-bar a:first-child {
  background: var(--primary);
}

.mobile-cta-bar a:last-child {
  background: var(--accent);
}

.mobile-cta-bar svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .mobile-cta-bar { display: none; }
}

/* Body padding for mobile CTA bar */
@media (max-width: 767px) {
  body { padding-bottom: 56px; }
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 1.25rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1.15;
}

.hero .hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.hero .btn-group {
  margin-bottom: 1.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.hero-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  margin-top: 2rem;
}

.hero-form h3 {
  color: var(--gray-900);
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 4rem 2rem 4.5rem;
  }
  .hero h1 {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 2rem;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
  .hero-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: center;
  }
  .hero-form {
    margin-top: 0;
  }
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 1.25rem;
}

.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
}

.trust-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.3;
}

@media (min-width: 768px) {
  .trust-bar .container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.card .card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card .card-link:hover {
  gap: 0.5rem;
}

/* --- Why Choose Us --- */
.why-us {
  background: var(--gray-50);
}

.why-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.why-item h4 {
  margin-bottom: 0.25rem;
}

.why-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* --- Steps Section --- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: step;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}

.step-card h3 {
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
}

.testimonial-stars {
  color: #F5A623;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.testimonial-meta {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* --- FAQ --- */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--gray-400);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 1.25rem;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 550px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.cta-banner .btn-group {
  justify-content: center;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition);
  font-family: var(--font-main);
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 168, 0.1);
}

.form-input::placeholder {
  color: var(--gray-400);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239BA5B3' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.form-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Quote Form Card */
.quote-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.quote-form-card h3 {
  margin-bottom: 0.5rem;
}

.quote-form-card .form-subtitle {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

/* --- Footer --- */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.25rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .footer-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: rgba(255,255,255,0.7);
}

.footer-legal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* --- Page Hero (interior pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 1.25rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 4rem 2rem;
  }
}

/* --- Inline CTA Block --- */
.inline-cta {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.inline-cta h3 {
  margin-bottom: 0.5rem;
}

.inline-cta p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.inline-cta .btn-group {
  justify-content: center;
}

/* --- Benefits List --- */
.benefits-list {
  display: grid;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.benefit-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-check svg {
  width: 14px;
  height: 14px;
}

.benefit-item h4 {
  margin-bottom: 0.15rem;
  font-size: 1rem;
}

.benefit-item p {
  font-size: 0.875rem;
  margin: 0;
}

/* --- Contact Info --- */
.contact-info-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-info-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-info-item a {
  font-weight: 600;
}

/* --- Map Placeholder --- */
.map-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  border: 1px solid var(--gray-200);
}

/* --- Landing Page Styles --- */
.landing-header {
  background: var(--white);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
}

.landing-header .header-logo {
  font-size: 1rem;
}

.landing-page .hero {
  min-height: auto;
}

.landing-page .site-footer {
  padding: 1.5rem 1.25rem;
}

/* --- Thank You Page --- */
.thank-you-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.thank-you-icon svg {
  width: 40px;
  height: 40px;
}

.thank-you-content h1 {
  margin-bottom: 1rem;
}

.thank-you-content p {
  font-size: 1.05rem;
}

/* --- Review Stars --- */
.review-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.review-summary .stars {
  color: #F5A623;
  font-size: 1.25rem;
}

.review-summary .rating-text {
  font-weight: 600;
  color: var(--gray-800);
}

.review-summary .review-count {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* --- Utility --- */
.bg-light { background: var(--gray-50); }
.bg-white { background: var(--white); }
.bg-primary { background: var(--primary); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* --- Community Banner --- */
.community-banner {
  position: relative;
  overflow: hidden;
  max-height: 340px;
}

.community-banner img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.community-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 30, 70, 0.8) 0%, rgba(0, 30, 70, 0.3) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
}

.community-banner-overlay h2 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.community-banner-overlay p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .community-banner, .community-banner img {
    max-height: 220px;
    height: 220px;
  }
  .community-banner-overlay {
    padding-bottom: 1.5rem;
  }
  .community-banner-overlay h2 {
    font-size: 1.25rem;
  }
  .community-banner-overlay p {
    font-size: 0.875rem;
  }
}

/* --- Quote Popup Modal --- */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-card {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-400);
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s;
}

.popup-close:hover {
  color: var(--gray-700);
}

.popup-close svg {
  width: 22px;
  height: 22px;
}

.popup-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
  color: var(--gray-900);
}

.popup-card .popup-subtext {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.popup-form .form-group {
  margin-bottom: 0.85rem;
}

.popup-form input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: border-color 0.2s;
}

.popup-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 168, 0.1);
}

.popup-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

.popup-dismiss {
  display: block;
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--gray-400);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-main);
  transition: color 0.2s;
}

.popup-dismiss:hover {
  color: var(--gray-600);
}

@media (max-width: 480px) {
  .popup-card {
    padding: 2rem 1.25rem 1.5rem;
  }
  .popup-card h2 {
    font-size: 1.3rem;
  }
}
