/* Connecticut Caring Companions - Main Stylesheet */

/* ========================================
   CSS VARIABLES & RESET
   ======================================== */
:root {
  --primary: #1a5490;
  --secondary: #4a90e2;
  --accent: #FFD700;
  --error: #d93025;
  --text: #333333;
  --text-light: #64748b;
  --border: #d0d0d0;
  --bg-gray: #f8fafc;
  --bg-slate: #0f172a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #0d3a6f;
  transform: translateY(-2px);
}

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

.btn-accent:hover {
  transform: scale(1.05);
}

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

.btn-white:hover {
  background: #f8fafc;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.top-bar {
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 0;
  font-size: 0.75rem;
}

.top-bar-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  transition: color 0.2s;
}

.top-bar-phone:hover {
  color: var(--secondary);
}

.main-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* Override inline logo size — keep desktop large, scale on smaller screens */
.logo img {
  height: 200px !important;
  width: auto !important;
  max-width: 100%;
  display: block;
}

@media (max-width: 1280px) {
  .logo img { height: 160px !important; }
}

@media (max-width: 1024px) {
  .logo img { height: 130px !important; }
}

@media (max-width: 768px) {
  .logo img { height: 96px !important; }
}

@media (max-width: 480px) {
  .logo img { height: 72px !important; }
}

.logo-icon {
  background: var(--primary);
  padding: 0.5rem;
  border-radius: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  font-family: serif;
}

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

.logo-title {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}

.logo-subtitle {
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-light);
  font-weight: 600;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  padding: 1.5rem;
}

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

.mobile-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-link {
  display: block;
  padding: 0.75rem;
  font-weight: 700;
  color: var(--text);
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.mobile-menu-link:hover {
  background: var(--bg-gray);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  min-width: 20rem;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  color: var(--text-light);
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: var(--bg-gray);
  color: var(--primary);
}

.dropdown-icon {
  background: var(--bg-gray);
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.dropdown-item:hover .dropdown-icon {
  background: var(--primary);
  color: #fff;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--bg-slate);
  color: #94a3b8;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #94a3b8;
  transition: color 0.2s;
  font-size: 0.875rem;
}

.footer-link:hover {
  color: var(--secondary);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

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

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
}

.disclaimer {
  max-width: 48rem;
  margin: 1rem auto 0;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

/* ========================================
   FORM STYLES
   ======================================== */
.form-container {
  max-width: 650px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 0.75rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.required {
  color: var(--error);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  font-family: inherit;
  transition: all 0.2s;
  background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a5490'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.125rem;
  padding-right: 3rem;
}

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

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-gray);
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.checkbox-item:hover {
  background: #fff;
  border-color: var(--primary);
}

.checkbox-item input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--primary);
}

.file-input-wrapper {
  position: relative;
  width: 100%;
}

.file-input-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px dashed var(--border);
  border-radius: 0.5rem;
  background: var(--bg-gray);
  cursor: pointer;
  transition: all 0.2s;
}

.file-input-label:hover {
  border-color: var(--primary);
  background: #fff;
}

.file-input-label.has-file {
  border-style: solid;
  border-color: var(--primary);
  background: #fff;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.form-submit {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.form-submit:hover:not(:disabled) {
  background: #0d3a6f;
  transform: translateY(-1px);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-success {
  text-align: center;
  padding: 3rem 1rem;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff;
  font-size: 2rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  background: var(--primary);
  color: #fff;
  padding: 5rem 0 8rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  max-width: 40rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: var(--bg-gray);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-card:hover .service-icon {
  background: rgba(26, 84, 144, 0.1);
}

.service-card h3 {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--secondary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-link:hover {
  text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 3rem 0 5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CITY/COUNTY PAGE UTILITIES
   ======================================== */
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.section-intro {
  background: var(--bg-gray);
  padding: 3rem;
  border-radius: 1.5rem;
  margin-bottom: 3rem;
}

.section-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  margin-bottom: 3rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.city-link {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  margin: 0.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.city-link:hover {
  transform: translateY(-2px);
  background: var(--primary);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.city-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1.25rem;
  border-radius: 0.75rem;
  text-align: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
}

.city-card:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-4px);
}

.testimonial-box {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3a6f 100%);
  color: #fff;
  padding: 3rem;
  border-radius: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.testimonial-quote {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 4rem;
  opacity: 0.1;
}

@media (max-width: 768px) {
  .section-intro,
  .section-card,
  .testimonial-box {
    padding: 2rem;
  }

  .city-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

/* ========================================
   INNER PAGE COMPONENTS
   ======================================== */

/* Utilities */
.hidden { display: none !important; }

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Mobile menu toggle alias */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
@media (max-width: 1024px) {
  .mobile-menu-toggle { display: block; }
}

/* ========================================
   BREADCRUMBS
   ======================================== */
.breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-light);
  padding: 0.75rem 0;
  margin-bottom: 1rem;
}
.breadcrumbs a {
  color: var(--secondary);
  text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }

/* ========================================
   PAGE HERO VARIANTS
   ======================================== */
.cost-hero,
.guide-hero,
.comparison-hero,
.vetting-hero {
  background: var(--primary);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.cost-hero h1,
.guide-hero h1,
.comparison-hero h1,
.vetting-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.cost-hero p,
.guide-hero p,
.comparison-hero p,
.vetting-hero p {
  font-size: 1.125rem;
  color: #e2e8f0;
  max-width: 42rem;
  margin: 0 auto;
}

/* Trust strip below hero */
.hero-trust-strip {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
}
.hero-trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   TYPOGRAPHY HELPERS
   ======================================== */
.subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tagline {
  font-style: italic;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.updated-badge {
  display: inline-block;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

/* ========================================
   CALLOUT BOXES
   ======================================== */
.highlight-box {
  background: #eff6ff;
  border: 1px solid var(--secondary);
  border-left: 4px solid var(--primary);
  padding: 1.75rem 2rem;
  border-radius: 0.75rem;
  margin: 2rem 0;
}
.highlight-box h3,
.highlight-box h4 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.warning-box {
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-left: 4px solid #d97706;
  padding: 1.75rem 2rem;
  border-radius: 0.75rem;
  margin: 2rem 0;
}
.warning-box h3,
.warning-box h4 {
  color: #92400e;
  margin-bottom: 0.75rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3a6f 100%);
  color: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  text-align: center;
  margin: 3rem 0;
}
.cta-box h2,
.cta-box h3 { color: #fff; margin-bottom: 1rem; }
.cta-box p { color: #e2e8f0; margin-bottom: 1.5rem; }

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}
.pros-box,
.cons-box {
  padding: 2rem;
  border-radius: 0.75rem;
}
.pros-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-left: 4px solid #16a34a;
}
.pros-box h3,
.pros-box h4 { color: #15803d; margin-bottom: 1rem; }
.cons-box {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-left: 4px solid #dc2626;
}
.cons-box h3,
.cons-box h4 { color: #b91c1c; margin-bottom: 1rem; }

@media (max-width: 768px) {
  .pros-cons { grid-template-columns: 1fr; }
}

/* ========================================
   TABLE OF CONTENTS
   ======================================== */
.table-of-contents {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem 2rem;
  margin: 2rem 0;
}
.table-of-contents h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}
.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  gap: 1rem;
}
.table-of-contents li {
  margin-bottom: 0.5rem;
}
.table-of-contents a {
  color: var(--secondary);
  font-size: 0.9rem;
  text-decoration: none;
}
.table-of-contents a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .table-of-contents ul { columns: 1; }
}

/* ========================================
   SUBSECTION
   ======================================== */
.subsection {
  margin: 3rem 0;
  padding: 2.5rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.subsection h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.subsection h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.5rem 0 0.75rem;
}

/* ========================================
   STATS
   ======================================== */
.stats-section {
  background: var(--primary);
  color: #fff;
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-card {
  padding: 1.5rem;
}
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
}

/* ========================================
   BENEFITS GRID
   ======================================== */
.benefits-section {
  padding: 4rem 0;
  background: var(--bg-gray);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.benefit-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.benefit-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   STEPS / VETTING PROCESS
   ======================================== */
.steps-section {
  padding: 4rem 0;
  background: var(--bg-gray);
}
.steps-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3rem;
}
.step-card {
  display: flex;
  gap: 2rem;
  background: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content {
  flex: 1;
}
.step-content h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.step-content p { margin-bottom: 0.75rem; line-height: 1.7; }
.step-content ul {
  margin: 0.75rem 0 0.75rem 1.5rem;
  line-height: 1.8;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.step-item:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .step-card { flex-direction: column; gap: 1rem; padding: 1.75rem; }
}

/* ========================================
   DATA TABLES
   ======================================== */
.cost-table,
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.cost-table th,
.comparison-table th {
  background: var(--primary);
  color: #fff;
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cost-table td,
.comparison-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
  line-height: 1.5;
}
.cost-table tr:last-child td,
.comparison-table tr:last-child td { border-bottom: none; }
.cost-table tr:nth-child(even) td,
.comparison-table tr:nth-child(even) td { background: var(--bg-gray); }

/* Scrollable tables on mobile */
@media (max-width: 768px) {
  .cost-table,
  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ========================================
   COST BREAKDOWN SECTION
   ======================================== */
.cost-breakdown {
  background: var(--bg-gray);
  padding: 3rem;
  border-radius: 1.5rem;
  margin: 3rem 0;
  text-align: center;
}
.cost-breakdown h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.cost-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}
.cost-example {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
}
.cost-example h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.price {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0.5rem 0;
  line-height: 1;
}
.price-detail {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .cost-breakdown { padding: 2rem 1.5rem; }
}

/* ========================================
   SIDE-BY-SIDE COMPARISON
   ======================================== */
.side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}
.option-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.option-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.comparison-section { margin: 3rem 0; }
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.comparison-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.comparison-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .side-by-side { grid-template-columns: 1fr; }
}

/* ========================================
   DECISION TOOLS
   ======================================== */
.decision-tool {
  background: var(--bg-gray);
  padding: 3rem;
  border-radius: 1.5rem;
  margin: 3rem 0;
}
.decision-tool h2,
.decision-tool h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}
.decision-matrix {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.decision-matrix th {
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
}
.decision-matrix td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}
.decision-matrix tr:last-child td { border-bottom: none; }
.decision-matrix tr:nth-child(even) td { background: #fff; }

/* ========================================
   SCENARIOS
   ======================================== */
.scenarios {
  margin: 3rem 0;
}
.scenario-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.scenario-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.recommendation {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3a6f 100%);
  color: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  margin: 2rem 0;
}
.recommendation h3 { color: var(--accent); margin-bottom: 0.75rem; }
.recommendation p { color: #e2e8f0; line-height: 1.7; }

/* ========================================
   TRUST BADGES
   ======================================== */
.trust-section {
  background: var(--bg-gray);
  padding: 3rem 0;
  border-top: 1px solid #e2e8f0;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========================================
   CAREERS — APPLICATION FORM
   ======================================== */
.application-section {
  background: var(--bg-gray);
  padding: 5rem 0;
}
.application-form {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.application-form h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--bg-gray);
}
.form-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.form-section:last-of-type { border-bottom: none; }
.form-section h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-left: 0.75rem;
  border-left: 4px solid var(--primary);
}
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
}
.checkbox-group input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .application-form { padding: 2rem 1.5rem; }
}

/* ========================================
   FORM BUTTONS
   ======================================== */
.submit-button,
.submit-btn {
  display: inline-block;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.submit-button:hover,
.submit-btn:hover {
  background: #0d3a6f;
  transform: translateY(-1px);
}
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
}
.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */
.download-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--primary);
  color: #fff;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
}
.download-button:hover {
  background: #0d3a6f;
  transform: translateY(-2px);
}
.download-form {
  background: var(--bg-gray);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  margin: 2rem 0;
}
.download-form h3 {
  color: var(--primary);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.file-upload-info {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}
.privacy-note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 1rem;
}

/* ========================================
   CONTACT BOX
   ======================================== */
.contact-box {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  text-align: center;
}
.contact-box h3 { color: #fff; margin-bottom: 0.75rem; }
.contact-box p { color: #e2e8f0; margin-bottom: 1.5rem; }

/* ========================================
   CALCULATOR BOX
   ======================================== */
.calculator-box {
  background: #fff;
  border: 2px solid var(--secondary);
  padding: 2.5rem;
  border-radius: 1rem;
  margin: 2rem 0;
}
.calculator-box h3 {
  color: var(--primary);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ========================================
   CHECKMARKS / X-MARKS
   ======================================== */
.check-mark,
.checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}
.x-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: #dc2626;
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ========================================
   NEXT STEPS / ONGOING CARE
   ======================================== */
.next-steps {
  background: var(--bg-gray);
  padding: 3rem;
  border-radius: 1.5rem;
  margin: 3rem 0;
}
.next-steps h2, .next-steps h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.ongoing-section {
  padding: 4rem 0;
}
.ongoing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.ongoing-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ongoing-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* ========================================
   THANK YOU PAGE
   ======================================== */
.thank-you-container {
  max-width: 600px;
  margin: 6rem auto;
  padding: 3rem;
  text-align: center;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
}
.thank-you-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}
.thank-you-container p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ========================================
   TESTIMONIAL COMPONENTS
   ======================================== */
.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   RESPONSIVE — INNER PAGES
   ======================================== */
@media (max-width: 768px) {
  .cost-hero h1,
  .guide-hero h1,
  .comparison-hero h1,
  .vetting-hero h1 {
    font-size: 2rem;
  }
  .application-form { padding: 1.75rem 1.25rem; }
  .step-card { gap: 1rem; padding: 1.5rem; }
  .cost-breakdown { padding: 2rem 1.25rem; }
  .decision-tool { padding: 2rem 1.25rem; }
  .thank-you-container { padding: 2rem 1.5rem; margin: 3rem 1rem; }
  .next-steps { padding: 2rem 1.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-badges { gap: 0.75rem; }
  .trust-badge { font-size: 0.7rem; padding: 0.5rem 0.875rem; }
}
