:root {
      --navy: #12324a;
      --navy-dark: #0c2638;
      --blue: #176b87;
      --blue-light: #eaf5f7;
      --cream: #f8f7f3;
      --green: #52796f;
      --text: #183040;
      --muted: #647681;
      --white: #fff;
      --border: #e2e8ea;
      --red: #c94b4b;
      --max: 1180px;
      --radius: 18px;
      --shadow: 0 14px 40px rgba(18,50,74,.10);
    }
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--text);
      background: var(--white);
      font-family: "DM Sans", Arial, sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
    }
    body.menu-open { overflow: hidden; }
    img { max-width: 100%; display: block; }
    a { color: inherit; }
    a:focus-visible, button:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
    .container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
    section { scroll-margin-top: 100px; }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(255,255,255,.96);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(226,232,234,.9);
    }
    .header-inner {
      min-height: 92px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
    }
    .logo { display: block; flex: 0 0 auto; }
    .logo img { width: 205px; height: auto; }
    .main-nav { display: flex; align-items: center; gap: 24px; }
    .main-nav a { text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; }
    .main-nav a:hover { color: var(--blue); }
    .header-actions { display: flex; align-items: center; gap: 10px; }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 22px;
      border-radius: 999px;
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      border: 1px solid transparent;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { color: #fff; background: var(--navy); box-shadow: 0 8px 22px rgba(18,50,74,.16); }
    .btn-primary:hover { background: var(--navy-dark); }
    .btn-outline { color: var(--navy); background: #fff; border-color: #b9c8ce; }
    .btn-outline:hover { border-color: var(--navy); }
    .btn-red { background: var(--red); color: #fff; }
    .btn-light { background: #fff; color: var(--navy); }

    .menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
    .menu-button span { display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--navy); transition: .2s ease; }
    .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero { background: var(--cream); padding: 42px 0 70px; }
    .hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 590px; align-items: center; gap: 70px; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--blue);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .11em;
      text-transform: uppercase;
      margin-bottom: 18px;
    }
    .eyebrow:before { content: ""; width: 28px; height: 2px; background: var(--blue); }
    .hero h1 { margin: 0; max-width: 650px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: clamp(48px, 5.5vw, 76px); line-height: 1.03; letter-spacing: -.035em; }
    .hero h1 span { color: var(--blue); }
    .hero-copy { max-width: 530px; margin: 25px 0 30px; color: var(--muted); font-size: 18px; line-height: 1.75; }
    .hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
    .hero-details { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; color: var(--muted); font-size: 13px; font-weight: 600; }
    .hero-details span { display: flex; align-items: center; gap: 7px; }
    .hero-details span:before {
      content: "✓";
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 19px;
      height: 19px;
      border-radius: 50%;
      color: #fff;
      background: var(--green);
      font-size: 11px;
      font-weight: 700;
    }
.hero-image-wrap {
    position: relative;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  background: transparent;
border-radius: 0;
box-shadow: none;
padding: 0;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
    border-radius: 28px;
}

    .trust-bar { border-bottom: 1px solid var(--border); background: #fff; }
    .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
    .trust-item { padding: 25px 20px; text-align: center; border-right: 1px solid var(--border); }
    .trust-item:last-child { border-right: 0; }
    .trust-item strong { display: block; color: var(--navy); font-size: 15px; }
    .trust-item span { color: var(--muted); font-size: 12px; }

    .section { padding: 105px 0; }
    .section-cream { background: var(--cream); }
    .section-blue { background: var(--blue-light); }
    .section-heading { max-width: 720px; margin: 0 auto 55px; text-align: center; }
    .section-heading .eyebrow { justify-content: center; }
    .section-heading h2 { margin: 0 0 15px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; letter-spacing: -.025em; }
    .section-heading p { margin: 0; color: var(--muted); font-size: 16px; }

    .services-grid, .why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .service-card, .why-card { padding: 32px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
    .service-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
    .service-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow); }
    .service-number { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
    .service-card h3 { margin: 12px 0 8px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: 26px; line-height: 1.2; }
    .service-card p, .why-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
    .service-note { margin-top: 30px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: #fff; color: var(--muted); font-size: 14px; text-align: center; }

    .doctor-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 85px; }
    .doctor-photo-wrap { position: relative; }
    .doctor-photo { width: 100%; max-width: 500px; aspect-ratio: 1/1; object-fit: cover; border-radius: 25px; box-shadow: var(--shadow); }
    .doctor-accent { position: absolute; right: -25px; bottom: -25px; width: 150px; height: 150px; border-radius: 50%; background: var(--blue-light); z-index: -1; }
    .doctor-copy h2 { margin: 0 0 20px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: clamp(38px, 4vw, 55px); line-height: 1.08; }
    .doctor-copy p { color: var(--muted); font-size: 16px; line-height: 1.8; }
    .doctor-name { margin: 28px 0 4px; color: var(--navy); font-size: 20px; font-weight: 700; }
    .doctor-title { color: var(--blue); font-size: 13px; font-weight: 700; }

    .why-card { border: 0; }
    .why-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 15px; font-weight: 700; }
    .why-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }

    .community { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
    .community h2 { margin: 0 0 20px; color: var(--navy); font-family: "Playfair Display", Georgia, serif; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; }
    .community p { color: var(--muted); line-height: 1.8; }
    .community-points { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 28px; }
    .community-point { padding: 17px; background: #fff; border: 1px solid var(--border); border-radius: 12px; color: var(--navy); font-size: 13px; font-weight: 700; }
    .community-visual { min-height: 420px; border-radius: 25px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; padding: 35px; box-shadow: var(--shadow); }
    .community-visual img { width: min(100%, 250px); height: auto; }

    .location-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 25px; }
    .location-card { padding: 40px; background: var(--navy); color: #fff; border-radius: var(--radius); }
    .location-card .eyebrow { color: #9ed1dc; }
    .location-card .eyebrow:before { background: #9ed1dc; }
    .location-card h2 { margin: 0 0 20px; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 40px; line-height: 1.1; }
    .location-card p { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.7; }
    .location-info { margin: 30px 0; }
    .location-info div { margin-bottom: 18px; }
    .location-info strong { display: block; margin-bottom: 2px; font-size: 13px; }
    .location-info span { color: rgba(255,255,255,.7); font-size: 14px; }
    .location-card .btn { margin-right: 8px; margin-top: 5px; }
    .map { min-height: 500px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); background: #edf1f2; }
    .map iframe { width: 100%; height: 100%; min-height: 500px; border: 0; }

    .final-cta { padding: 90px 20px; text-align: center; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
    .final-cta h2 { margin: 0 auto 14px; max-width: 750px; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: clamp(40px, 5vw, 62px); line-height: 1.05; }
    .final-cta p { max-width: 580px; margin: 0 auto 30px; color: rgba(255,255,255,.78); }
    .final-cta .btn { margin: 5px; }
    .final-cta .btn-outline { color: #fff; background: transparent; border-color: rgba(255,255,255,.5); }

    footer { padding: 35px 0; background: #091d2a; color: rgba(255,255,255,.65); }
    .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
    .footer-copy { margin: 0; font-size: 13px; }
    .footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
    .footer-links a { color: #fff; text-decoration: none; font-size: 13px; }
    .footer-languages { margin: 8px 0 0; font-size: 12px; color: rgba(255,255,255,.5); }

    .mobile-call-bar { display: none; }

    @media (max-width: 1050px) {
      .main-nav { gap: 15px; }
      .main-nav a { font-size: 13px; }
      .hero-grid { gap: 40px; }
    }
    @media (max-width: 850px) {
      .header-inner { min-height: 75px; }
      .logo img { width: 175px; }
      .main-nav, .header-actions { display: none; }
      .menu-button { display: block; }
      .main-nav.mobile-open {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        top: 75px;
        left: 0;
        right: 0;
        padding: 20px;
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(0,0,0,.08);
      }
      .main-nav.mobile-open a { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
      .main-nav.mobile-open a:last-child { border-bottom: 0; }
      .hero { padding: 30px 0 50px; }
      .hero-grid { grid-template-columns: 1fr; min-height: 0; }
      .hero-copy { font-size: 16px; }
      .trust-grid { grid-template-columns: 1fr 1fr; }
      .trust-item:nth-child(2) { border-right: 0; }
      .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
      .services-grid, .why-grid { grid-template-columns: 1fr 1fr; }
      .doctor-grid, .community, .location-grid { grid-template-columns: 1fr; gap: 45px; }
      .doctor-photo { max-width: 500px; }
      .map { min-height: 400px; }
      .map iframe { min-height: 400px; }
    }
    @media (max-width: 600px) {
      .container { width: min(100% - 30px, var(--max)); }
      .hero h1 { font-size: 46px; }
      .hero-details { flex-direction: column; gap: 10px; }
      .section { padding: 75px 0; }
      .services-grid, .why-grid { grid-template-columns: 1fr; }
      .service-card, .why-card { padding: 26px; }
      .community-points { grid-template-columns: 1fr; }
      .location-card { padding: 30px; }
      .location-card h2 { font-size: 36px; }
      .footer-inner { flex-direction: column; text-align: center; }
      .footer-links { justify-content: center; }
      .mobile-call-bar {
        position: fixed;
        display: grid;
        grid-template-columns: 1fr 1fr;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 -8px 25px rgba(0,0,0,.12);
      }
      .mobile-call-bar a {
        padding: 14px 8px;
        text-align: center;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
      }
      .mobile-call-bar a:first-child { color: var(--navy); border-right: 1px solid var(--border); }
      .mobile-call-bar a:last-child { color: #fff; background: var(--red); }
      body { padding-bottom: 56px; }
    }

    /* Reviews Carousel Styles */
    .review-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 14px; font-size: 1.35rem; line-height: 1; color: #f5b301; }
    .review-stars span { display: inline-block; }
    .reviews-panel { text-align: center; }
    .reviews-panel h3 { margin-bottom: 10px; }
    .reviews-panel p { max-width: 600px; margin: 0 auto 24px; }
    .stars { color: #f5b301; font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 12px; }

    .reviews-carousel { max-width: 1000px; margin: 0 auto; }
    .reviews-viewport { overflow: hidden; touch-action: pan-y; outline-offset: 6px; }
    .reviews-track { display: flex; align-items: stretch; gap: 20px; transition: transform .65s cubic-bezier(.22,.61,.36,1); will-change: transform; }
    .review { flex: 0 0 calc((100% - 20px)/2); min-width: 0; min-height: 230px; padding: 30px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(18,50,74,.06); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
    .review p { margin: 0 auto 22px; color: var(--text); font-size: 16px; line-height: 1.75; }
    .review strong { margin-top: auto; color: var(--muted); font-size: 13px; font-weight: 700; }
    .review .stars { color: #f5b301; font-size: 1.35rem; letter-spacing: 3px; margin-bottom: 16px; }
    .reviews-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 24px; }
    .reviews-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #c8d5da; border-radius: 50%; background: #fff; color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
    .reviews-arrow:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
    .reviews-dots { display: flex; align-items: center; justify-content: center; gap: 9px; }
    .reviews-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #c8d5da; cursor: pointer; transition: background .2s ease, transform .2s ease; }
    .reviews-dot[aria-current="true"] { background: var(--blue); transform: scale(1.25); }
    .reviews-google-link { text-align: center; margin-top: 35px; }
    @media(max-width: 650px) {
      .review { flex-basis: 100%; min-height: 250px; padding: 28px 24px; }
      .reviews-track { gap: 0; }
      .reviews-controls { gap: 18px; }
    }
    @media(prefers-reduced-motion: reduce) {
      .reviews-track, .reviews-arrow, .reviews-dot { transition: none; }
    }
    
    .insurance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 950px;
  margin: 0 auto;
}

.insurance-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(18,50,74,.05);
}

.insurance-card h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
}

.insurance-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.insurance-list li {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 12px;
  background: var(--blue-light);
  border-radius: 9px;
}

.insurance-list li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 700;
  margin-right: 8px;
}

.insurance-note {
  max-width: 950px;
  margin: 25px auto 0;
  padding: 22px 25px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.insurance-cta {
  margin-top: 25px;
  text-align: center;
}

.insurance-cta p {
  color: var(--muted);
  margin-bottom: 18px;
}

@media (max-width: 650px) {
  .insurance-grid {
    grid-template-columns: 1fr;
  }

  .insurance-list {
    grid-template-columns: 1fr 1fr;
  }

  .insurance-card {
    padding: 25px;
  }
}


/* YOURMD BOOKING CALENDAR */

.booking-card {
  max-width: 850px;
  margin: 0 auto;
  padding: 35px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(18,50,74,.07);
}

.booking-progress {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 25px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.booking-progress span.active {
  color: var(--blue);
}

.booking-card h3 {
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  margin: 0 0 18px;
}

.booking-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  color: var(--navy);
}

.calendar-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: white;
  color: var(--navy);
  font-size: 25px;
  cursor: pointer;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #f6f8fa;
  color: var(--navy);
  cursor: pointer;
  font-size: 14px;
}

.calendar-day:hover:not(:disabled) {
  border-color: var(--blue);
}

.calendar-day.selected {
  background: var(--navy);
  color: white;
}

.calendar-day:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.calendar-heading {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
}

.booking-divider {
  height: 1px;
  background: var(--border);
  margin: 30px 0;
}

.booking-muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.time-slot {
  padding: 12px 8px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: white;
  color: var(--navy);
  cursor: pointer;
  font-size: 14px;
}

.time-slot:hover {
  border-color: var(--blue);
}

.time-slot.selected {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.booking-next {
  margin-top: 25px;
  width: 100%;
}

.booking-card button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.booking-card label {
  display: block;
  margin: 18px 0 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.booking-card input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font: inherit;
}

.booking-card input:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}

.booking-selected {
  margin: 20px 0;
  padding: 18px;
  background: var(--blue-light);
  border-radius: 10px;
  color: var(--navy);
  line-height: 1.8;
}

.booking-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.booking-actions button {
  flex: 1;
}

.booking-success {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 32px;
  margin-bottom: 20px;
}

@media (max-width: 650px) {
  .booking-card {
    padding: 22px 16px;
  }

  .booking-progress {
    font-size: 11px;
  }

  .time-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    min-height: 38px;
    font-size: 12px;
  }
}
 /* Booking page spacing */
.booking-page .section-heading h2 {
    margin-bottom: 25px;
}

.booking-page .section-heading > p:first-of-type {
    margin-bottom: 35px;
}

.booking-page .section-heading .btn {
    margin-bottom: 35px;
}

.booking-page .booking-muted {
    margin-top: 25px;
}