:root {
  --primary-color: #0284c7; /* Sky blue */
  --primary-hover: #0369a1;
  --secondary-color: #0f172a; /* Slate 900 */
  --text-dark: #1e293b; /* Slate 800 */
  --text-light: #f8fafc; /* Slate 50 */
  --text-muted: #64748b; /* Slate 500 */
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --success-color: #16a34a;
  --emergency-color: #dc2626; /* Crimson red */
  
  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utilities */
.section {
  padding: 5rem 0;
}
.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 0.75rem auto 0 auto;
  border-radius: 2px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
}

/* Header & Navigation */
header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-span {
  color: var(--primary-color);
}
.nav-cta {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-light);
}
.btn-secondary:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.08) 0%, rgba(255, 255, 255, 0) 90%), var(--bg-white);
  padding: 6rem 0 5rem 0;
  border-bottom: 1px solid var(--border-color);
}
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}
.hero-content h1 {
  font-size: 3.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}
.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-visual {
  background: var(--bg-light);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.emergency-badge {
  position: absolute;
  top: -15px;
  left: 2.5rem;
  background-color: var(--emergency-color);
  color: var(--text-light);
  padding: 0.25rem 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}
.hero-visual-title {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}
.hero-bullets {
  list-style: none;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.hero-bullets li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: rgba(22, 163, 74, 0.1);
  color: var(--success-color);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

/* Emergency Banner */
.emergency-banner {
  background-color: var(--emergency-color);
  color: var(--text-light);
  padding: 2.5rem 0;
  text-align: center;
}
.emergency-banner-content {
  max-width: 800px;
  margin: 0 auto;
}
.emergency-banner h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.emergency-banner p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Services Grid */
.services {
  background-color: var(--bg-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.service-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}
.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  font-size: 1.35rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--text-muted);
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}
.step-card {
  background-color: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}
.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.step-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Why Matters Section */
.why-matters {
  background-color: var(--secondary-color);
  color: var(--text-light);
}
.why-matters .section-title {
  color: var(--text-light);
}
.why-matters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.matters-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.25rem;
  border-radius: 12px;
}
.matters-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #38bdf8; /* Light Sky */
}
.matters-card p {
  color: #cbd5e1; /* Slate 300 */
}

/* Insurance Info */
.insurance-section {
  background-color: var(--bg-white);
}
.insurance-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.info-box {
  background-color: #f0f9ff;
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 2rem;
}
.info-box h3 {
  color: #0369a1;
  margin-bottom: 0.5rem;
}

/* FAQs */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 400;
  transition: var(--transition);
}
.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
}
.faq-item.active .faq-answer {
  padding-bottom: 1.25rem;
  max-height: 500px;
}

/* Lead Form Section */
.form-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}
.form-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}
.form-header {
  text-align: center;
  margin-bottom: 2rem;
}
.form-header h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}
.form-header p {
  color: var(--text-muted);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-family);
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition);
  background-color: var(--bg-light);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.submit-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1.1rem;
}

/* Thank You Page */
.thank-you-wrapper {
  max-width: 600px;
  margin: 8rem auto;
  padding: 3rem;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.success-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(22, 163, 74, 0.1);
  color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.5rem auto;
}
.thank-you-wrapper h1 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}
.thank-you-wrapper p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: #cbd5e1;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-brand h4 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.95rem;
  max-width: 350px;
}
.footer-contact h4 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.footer-contact a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}
.footer-contact a:hover {
  color: var(--text-light);
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.875rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.75rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    max-width: 550px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .nav-cta {
    display: none; /* Keep simpler on small viewports, or make button smaller */
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-wrapper {
    padding: 2rem;
  }
}
