@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --background: #ffffff;
  --foreground: #1d2930;
  --card: #ffffff;
  --card-foreground: #012d28;
  --primary: #076EA1;
  --primary-foreground: #ffffff;
  --secondary: #FBF6ED;
  --secondary-foreground: #012d28;
  --accent: #FFA51F;
  --accent-foreground: #ffffff;
  --muted: #f1f5f4;
  --muted-foreground: #414242;
  --border: #e2e8e6;
  --input: #e2e8e6;
  --ring: #076EA1;
  --footer-bg: #076EA1;
  --cta-overlay: rgba(29, 41, 48, 0.85);
  --hero-gradient: linear-gradient(135deg, rgba(29, 41, 48, 1) 20%, rgba(29, 41, 48, 0.35) 100%);
}

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

body {
  font-family: Raleway, system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, .font-display { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; }
h2 { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; }
h3 { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; }
h4 { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; }

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

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section-padding { padding: 5rem 0; }
.section-alt { background: var(--secondary); }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
  padding-top: 5px;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.header-logo {
  max-width: 220px;
  position: relative;
  display: inline-block;
}
.header-logo svg,
.header-logo img {
  height: auto;
  max-height: 70px;
  width: 100%;
  padding-bottom: 5px;
}
.logo-img { display: block; transition: opacity 0.25s ease; }
.logo-dark { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
#site-header.scrolled #logo-dark { opacity: 1; }
#site-header.scrolled #logo-light { opacity: 0; }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 8px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
  color: var(--primary-foreground);
}
.site-header.scrolled .header-phone { color: var(--foreground); }
.header-phone svg { width: 1rem; height: 1rem; }
.site-header:not(.scrolled) .header-phone svg { color: var(--primary-foreground); }
.site-header.scrolled .header-phone svg { color: var(--primary); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  height: 2.75rem;
  padding: 0 1.75rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 14px rgba(7, 110, 161, 0.3);
}
.btn-primary:hover {
  background: rgba(7, 110, 161, 0.9);
  box-shadow: 0 8px 20px rgba(7, 110, 161, 0.35);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: 0 4px 14px rgba(7, 110, 161, 0.3);
}
.btn-secondary:hover {
  background: rgba(7, 110, 161, 0.9);
  box-shadow: 0 8px 20px rgba(7, 110, 161, 0.35);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 4px 14px rgba(255, 165, 31, 0.3);
}
.btn-accent:hover {
  background: rgba(255, 165, 31, 0.9);
  box-shadow: 0 8px 20px rgba(255, 165, 31, 0.35);
}

.btn-sm { height: 2.5rem; padding: 0 1.5rem; border-radius: 0.5rem; }
.btn-lg { height: 3rem; padding: 0 2rem; }
.btn-xl { height: 3.25rem; padding: 0 2.5rem; font-size: 1.25rem; }

.btn-hero-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--primary-foreground);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.2); }

.btn-submit {
  background: var(--primary);
  color: var(--primary-foreground);
  width: 100%;
  height: 3.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(7, 110, 161, 0.3);
}
.btn-submit:hover { background: rgba(7, 110, 161, 0.9); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: var(--hero-gradient); }

.hero-content { position: relative; z-index: 10; max-width: 42rem; }

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(7, 110, 161, 0.2);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-foreground);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.hero-title span { color: var(--accent); }

.hero-description {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons { display: flex; flex-direction: column; gap: 1rem; }

/* ===== SERVICES ===== */
.cp3-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.cp3-card {
  width: 100%;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  transition: all 0.3s ease;
}
.cp3-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(7, 110, 161, 0.2);
}

.cp3-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s;
}
.cp3-icon.svg { border-radius: 0.75rem; background: var(--secondary); }
.cp3-card:hover .cp3-icon.svg { background: var(--primary); }
.cp3-icon svg, .cp3-icon img { width: 1.75rem; height: 1.75rem; }
.cp3-icon svg { color: var(--primary); transition: color 0.3s; }
.cp3-card:hover .cp3-icon svg { color: var(--primary-foreground); }
.cp3-card h3 { font-size: 1.25rem; font-weight: 600; color: var(--foreground); margin-bottom: 0.75rem; }
.cp3-card p { color: var(--muted-foreground); line-height: 1.7; }

/* ===== SECTION HEADERS ===== */
.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.5rem;
}

.section-subtitle {
  color: var(--muted-foreground);
  margin-top: 1rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===== WHY CHOOSE US ===== */
.cp1-grid { display: grid; gap: 3rem; align-items: center; }
.cp1-image-wrap { position: relative; }
.cp1-image { border-radius: 1rem; overflow: hidden; max-height: 600px; }
.cp1-image.includes-stats { aspect-ratio: 4/5; }
.cp1-image img { width: 100%; height: 100%; object-fit: cover; }

.stats-overlay {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--secondary);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  display: flex;
  gap: 2rem;
}

.stat-item { text-align: center; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.75rem; color: var(--secondary-foreground); margin-top: 0.25rem; }

.cp1-content .section-title { margin-bottom: 1.5rem; }
.cp1-description,
.cp1-description p { color: var(--muted-foreground); margin-bottom: 2rem; line-height: 1.7; }
.cp1-description p:last-child { margin-bottom: 0; }

.features-list { display: flex; flex-direction: column; gap: 1rem; }
.feature-item { display: flex; align-items: center; gap: 0.75rem; }
.feature-icon {
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: rgba(7, 110, 161, 0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 1rem; height: 1rem; color: var(--primary); }
.feature-item span { color: var(--foreground); font-weight: 500; }

/* ===== TEAM ===== */
.team-carousel-wrap { position: relative; }
.team-carousel { overflow: hidden; }
.team-track { display: flex; gap: 1.5rem; transition: transform 0.4s ease; }
.team-slide { flex: 0 0 100%; min-width: 0; }
.team-card {
  border-radius: 1rem; overflow: hidden;
  background: var(--card); border: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.team-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.team-card-image { aspect-ratio: 3/4; overflow: hidden; }
.team-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-card-image img { transform: scale(1.05); }
.team-card-info { padding: 1.5rem; text-align: center; }
.team-card-info h3 { font-size: 1.125rem; font-weight: 600; color: var(--foreground); }
.team-card-info p { font-size: 0.875rem; color: var(--primary); font-weight: 500; margin-top: 0.25rem; }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--background); box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  z-index: 10; transition: background 0.2s;
}
.carousel-btn:hover { background: var(--muted); }
.carousel-btn svg { width: 1.25rem; height: 1.25rem; color: var(--foreground); }
.carousel-btn-prev { left: -1rem; }
.carousel-btn-next { right: -1rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-inner { max-width: 48rem; margin: 0 auto; }
.testimonial-stage {
  position: relative; min-height: 250px;
  display: flex; align-items: center; justify-content: center;
}
.testimonial-slide {
  text-align: center; opacity: 0; position: absolute;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(20px); width: 100%; padding: 0 1rem;
}
.testimonial-slide.active { opacity: 1; position: relative; transform: translateY(0); }
.testimonial-quote-icon { width: 2.5rem; height: 2.5rem; color: rgba(7, 110, 161, 0.2); margin: 0 auto 1.5rem; }
.testimonial-text { font-size: 1.125rem; color: var(--foreground); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-stars { display: flex; justify-content: center; gap: 0.25rem; margin-bottom: 0.75rem; }
.testimonial-stars svg { width: 1.25rem; height: 1.25rem; fill: var(--primary); color: var(--primary); }
.testimonial-name { font-weight: 600; color: var(--foreground); }
.testimonial-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.testimonial-dot { width: 0.625rem; height: 0.625rem; border-radius: 9999px; background: var(--border); transition: all 0.3s ease; padding: 0; }
.testimonial-dot.active { background: var(--primary); width: 2rem; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 48rem; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 0.75rem; overflow: hidden; transition: box-shadow 0.3s; }
.faq-item.open { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; background: transparent; text-align: left;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-weight: 600; font-size: 1rem; color: var(--foreground); transition: color 0.2s;
}
.faq-trigger:hover { color: var(--primary); }
.faq-trigger svg { width: 1.25rem; height: 1.25rem; color: var(--muted-foreground); transition: transform 0.3s ease; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-trigger svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; color: var(--muted-foreground); line-height: 1.7; }
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* ===== INSURANCE ===== */
.insurance-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.insurance-badge {
  display: flex; align-items: center; justify-content: center;
  padding: 1rem 1.5rem; border-radius: 0.75rem;
  background: var(--card); border: 1px solid var(--border);
  min-width: 160px; transition: box-shadow 0.2s;
}
.insurance-badge:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.insurance-badge span { font-size: 0.875rem; font-weight: 600; color: var(--muted-foreground); white-space: nowrap; }

/* ===== CTA / CONTACT FORM ===== */
.cta-section { position: relative; padding: 5rem 0 7rem; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg-overlay { position: absolute; inset: 0; background: var(--cta-overlay); }
.cta-content { position: relative; z-index: 10; max-width: 36rem; margin: 0 auto; text-align: center; }
.cta-title { font-size: 1.875rem; font-weight: 700; color: var(--primary-foreground); margin-bottom: 1rem; }
.cta-subtitle { color: var(--primary-foreground); margin-bottom: 2rem; }
.contact-form { background: rgba(255,255,255,0.5); backdrop-filter: blur(4px); border-radius: 1rem; padding: 2rem; }
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
.form-input, .form-textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.3);
  color: var(--foreground); font-family: inherit; font-size: 0.9375rem;
  outline: none; transition: border-color 0.2s;
}
.form-input { height: 3rem; }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(29, 41, 48, 0.75); }
.form-input:focus, .form-textarea:focus { border-color: var(--primary); }
.form-textarea { min-height: 80px; resize: none; margin-bottom: 1rem; }

/* ===== FOOTER ===== */
.site-footer { background: var(--footer-bg); color: var(--primary-foreground); }
.footer-inner { padding: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.footer-grid, .footer-about { justify-items: center; }
.footer-about .logo { max-width: 350px; }
.footer-about .logo img { height: auto; max-width: 100%; max-height: 80px; width: 100%; padding-bottom: 10px; }
.footer-about p { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; }
.footer-about svg { height: 2rem; max-width: 140px; max-height: 2rem; margin-bottom: 1rem; }
.footer-heading { font-weight: 600; font-size: 1.125rem; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links span { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.footer-contact-item svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; margin-top: 0.125rem; }
.footer-contact-item span { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 2rem; text-align: center; }
.footer-bottom p { font-size: 0.875rem; color: rgba(255,255,255,0.4); }

/* ===== RESPONSIVE ===== */
@media (min-width: 480px) { .header-right { margin-left: 0; } }

@media (min-width: 640px) {
  .header-inner { height: 5rem; }
  .header-phone { display: flex; }
  .hero-buttons { flex-direction: row; }
  .form-row-2col { grid-template-columns: 1fr 1fr; }
  .team-slide { flex: 0 0 calc(50% - 0.75rem); }
}

@media (min-width: 768px) {
  .section-padding { padding: 6rem 0; }
  .hero-title { font-size: 3rem; }
  .hero-description { font-size: 1.25rem; }
  .section-title { font-size: 2.25rem; }
  .cp3-card { width: calc(50% - 0.75rem); }
  .cta-title { font-size: 2.25rem; }
  .stat-value { font-size: 1.875rem; }
}

@media (min-width: 991px) {
  .btn { height: 3rem; padding: 0 2rem; }
  .btn-sm { height: 2.75rem; padding: 0 1.75rem; }
  .btn-lg { height: 3.5rem; padding: 0 2.5rem; }
  .btn-xl { height: 3.5rem; padding: 0 2.75rem; font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .header-logo { max-width: 300px; }
  .hero-title { font-size: 3.75rem; }
  .cp3-card { width: calc(33.333% - 1rem); }
  .cp1-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .team-slide { flex: 0 0 calc(33.333% - 1rem); }
}

@media (max-height: 700px) {
  .hero { min-height: auto; padding-top: 7rem; padding-bottom: 4rem; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }