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

:root {
  --navy: #0e2340;
  --blue: #2358a8;
  --blue-dark: #1a4586;
  --green: #1fa952;
  --green-dark: #178a43;
  --green-soft: #e9f9ef;
  --grad: linear-gradient(120deg, #22c55e 0%, #2358a8 100%);
  --ink: #16233b;
  --text: #4d5866;
  --text-light: #78828f;
  --bg-soft: #f4f6f9;
  --border: #e3e7ee;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 30, 60, 0.06), 0 1px 2px rgba(15, 30, 60, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 30, 60, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 30, 60, 0.12);
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.22;
  font-weight: 700;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow.center { display: block; text-align: center; }

.accent { color: var(--blue); }

.section-head {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 12px; }
.section-sub { color: var(--text-light); font-size: 16px; }

section { padding: 96px 0; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
}
.btn-primary:hover { filter: brightness(0.94); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--navy);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,0.18); }
.btn-lg { padding: 14px 30px; font-size: 15.5px; }

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo { display: flex; align-items: center; }
.logo-img { height: 34px; width: auto; display: block; }

.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.25s ease; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: 76px 0 96px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.rotator-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 30px;
  min-height: 28px;
}
.rotator-prefix { color: var(--text-light); font-weight: 500; }
.rotator {
  color: var(--green-dark);
  border-right: 2px solid var(--green);
  padding-right: 6px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--ink);
}
.hero-stats span { font-size: 12.5px; color: var(--text-light); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-photo {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 13px 16px;
  min-width: 195px;
}
.hero-card strong { display: block; font-size: 13.5px; color: var(--ink); }
.hero-card span { font-size: 11.5px; color: var(--text-light); }
.hero-card-1 { top: 8%; left: -4%; }
.hero-card-2 { bottom: 10%; right: -6%; }
.icon-badge {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg { width: 18px; height: 18px; }

/* ===================== About ===================== */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-visual { position: relative; }
.about-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 16px 22px;
}
.about-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--ink);
}
.about-badge span { font-size: 12.5px; color: var(--text-light); }

.about-copy h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 18px; }
.about-copy p { margin-bottom: 24px; font-size: 15.5px; }
.check-list { margin-bottom: 32px; display: flex; flex-direction: column; gap: 13px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
  font-size: 14.5px;
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 3px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ===================== Services ===================== */
.services { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; color: var(--text-light); }

.services-cta { text-align: center; margin-top: 44px; }

/* ===================== CTA Banner ===================== */
.cta-banner {
  background: var(--navy);
  background-image: radial-gradient(circle at 15% 30%, rgba(34,197,94,0.16), transparent 45%);
  padding: 56px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; font-size: clamp(22px, 2.8vw, 28px); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.65); font-size: 15px; }

/* ===================== Why Partner ===================== */
.why { background: var(--bg-soft); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
}
.why-card-featured {
  background: var(--navy);
  border-color: var(--navy);
}
.why-card-featured h3, .why-card-featured .why-number { color: #fff; }
.why-card-featured li { color: rgba(255,255,255,0.7); }
.why-number {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.why-card h3 { font-size: 20px; margin-bottom: 16px; }
.why-card ul { display: flex; flex-direction: column; gap: 11px; }
.why-card li { font-size: 14px; color: var(--text-light); line-height: 1.6; padding-left: 16px; position: relative; }
.why-card li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.why-card-featured li::before { background: #fff; }

/* ===================== Testimonials ===================== */
.testimonials { background: #fff; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--border);
}
.testi-card p { font-size: 14px; color: var(--text); margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 13.5px; color: var(--ink); }
.testi-author span { font-size: 12px; color: var(--text-light); }

/* ===================== Insurances ===================== */
.insurances { background: var(--bg-soft); }
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.insurance-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-light);
  transition: all 0.2s ease;
}
.insurance-logo:hover { color: var(--blue); border-color: var(--blue); }

/* ===================== Contact ===================== */
.contact { background: #fff; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.contact h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.social-links { display: flex; gap: 10px; margin-top: 26px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: all 0.2s ease;
}
.social-links a svg { width: 16px; height: 16px; }
.social-links a:hover { background: var(--blue); color: #fff; border-color: transparent; }

.contact-form {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); }
.contact-form button { align-self: flex-start; }

/* ===================== Footer ===================== */
.site-footer { background: var(--navy); padding: 36px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}
.footer-logo .logo-img { height: 26px; }
.footer-inner p { color: rgba(255,255,255,0.5); font-size: 13.5px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 13.5px; transition: color 0.2s ease; }
.footer-links a:hover { color: #fff; }

/* ===================== Scroll to top ===================== */
.scroll-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 90;
}
.scroll-top svg { width: 18px; height: 18px; }
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .services-grid, .why-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .insurance-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-visual { margin-top: 60px; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 68px 0; }
}

@media (max-width: 640px) {
  .header-actions .btn-primary { display: none; }
  .services-grid, .why-grid, .testi-grid { grid-template-columns: 1fr; }
  .insurance-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner-inner { text-align: center; justify-content: center; }
  .hero-card { position: static; margin-top: 14px; width: 100%; }
  .hero-visual { flex-direction: column; margin-top: 40px; }
  .hero-stats { flex-wrap: wrap; gap: 22px; }
  .about-badge { position: static; margin-top: -20px; margin-left: 16px; display: inline-block; }
}

/* Mobile nav open state */
.main-nav.open {
  display: block;
  position: absolute;
  top: 78px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 20px 24px;
}
.main-nav.open ul { flex-direction: column; gap: 18px; }

/* ============ CONTACT INFO BAR RESPONSIVE ============ */
@media (max-width: 768px) {
  .contact-info-bar {
    padding: 20px 15px;
  }

  .contact-info-bar .info-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 25px !important;
  }

  .contact-info-bar .divider {
    display: none !important;
  }

  .contact-info-bar .info-item {
    width: 100% !important;
    justify-content: flex-start !important;
    min-width: unset !important;
  }
}