/* ═══════════════════════════════════════════════
   Dental Surgery Associates — Shared Stylesheet
   ═══════════════════════════════════════════════ */

:root {
  --navy:    #1a2f6e;
  --navy-dk: #111f4d;
  --navy-lt: #2a45a0;
  --cream:   #f5f6fb;
  --gold:    #d4a017;
  --gold-lt: #f0c040;
  --text:    #1e1e1e;
  --muted:   #6b7280;
  --white:   #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Cormorant Garamond', serif; }

/* ── TOP BAR ── */
.topbar {
  background: var(--navy-dk);
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.7);
}
.topbar a { color: rgba(255,255,255,.7); text-decoration: none; }
.topbar a:hover { color: var(--gold-lt); }
.topbar .social-icons a { margin-left: .6rem; font-size: 1rem; }

/* ── NAVBAR ── */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  padding: 0;
}
.navbar-nav .nav-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy) !important;
  padding: 1.4rem .85rem !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--gold);
  transition: left .25s, right .25s;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { left: .85rem; right: .85rem; }
.btn-appt {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: 2px !important;
  padding: .5rem 1.2rem !important;
  margin-left: .8rem;
  transition: background .2s !important;
}
.btn-appt:hover { background: var(--gold) !important; }
.btn-appt::after { display: none !important; }

/* ── PAGE HERO BANNER ── */
.page-hero {
  background: linear-gradient(100deg, var(--navy-dk) 0%, var(--navy) 60%, rgba(212,160,23,.25) 100%);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(212,160,23,.08);
}
.page-hero::after {
  content: '';
  position: absolute;
  right: 80px; bottom: -120px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.page-hero .breadcrumb { background: none; padding: 0; margin: 0; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a {
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.page-hero .breadcrumb-item.active { color: var(--gold-lt); }
.page-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.3); }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-top: .8rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold-lt); }
.page-hero .title-bar {
  width: 52px; height: 3px;
  background: var(--gold);
  margin-top: 1.2rem;
}

/* ── SECTION HELPERS ── */
.section-tag {
  display: inline-block;
  color: var(--navy);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .5rem;
}
.section-tag.light { color: var(--gold-lt); }
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title.light { color: var(--white); }
.title-rule {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
}
.title-rule.centered { margin: 1rem auto 1.5rem; }

/* ── BUTTONS ── */
.btn-primary-dsa {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: .8rem 2rem;
  font-size: .83rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, transform .2s;
}
.btn-primary-dsa:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.btn-outline-dsa {
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: .75rem 1.8rem;
  font-size: .83rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
}
.btn-outline-dsa:hover { background: var(--navy); color: var(--white); }

/* ── CHECK LIST ── */
.check-list { list-style: none; padding: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  margin-bottom: .7rem; font-size: .9rem; color: var(--muted);
  line-height: 1.6;
}
.check-list li i { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: .15rem; }

/* ── CONTACT INFO ── */
.contact-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.1rem;
}
.contact-form .form-control,
.contact-form textarea,
.contact-form select {
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: .8rem 1rem;
  font-size: .88rem;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form .form-control:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,47,110,.1);
  outline: none;
}
.btn-send {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: .85rem 2.4rem;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background .2s;
  cursor: pointer;
}
.btn-send:hover { background: var(--gold); }

/* ── ACCORDION (FAQ) ── */
.accordion-button {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: var(--navy) !important;
  background: var(--white) !important;
  font-size: .92rem;
}
.accordion-button:not(.collapsed) { color: var(--gold) !important; box-shadow: none !important; }
.accordion-item { border: none; border-bottom: 1px solid #e5e5e5; border-radius: 0 !important; }
.accordion-body { font-size: .88rem; color: var(--muted); line-height: 1.8; }

/* ── TESTIMONIAL CARD ── */
.testi-card {
  background: var(--cream);
  border-radius: 4px;
  padding: 2.2rem 2rem;
  position: relative;
  height: 100%;
  border-bottom: 3px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.testi-card:hover { border-color: var(--gold); box-shadow: 0 8px 30px rgba(26,47,110,.1); }
.testi-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--navy);
  opacity: .08;
  position: absolute;
  top: -.6rem; left: 1.2rem;
  line-height: 1;
}
.testi-stars { color: var(--gold); font-size: .85rem; margin-bottom: .8rem; }
.testi-card p { font-size: .9rem; color: var(--muted); line-height: 1.8; font-style: italic; position: relative; }
.testi-card .testi-name { font-weight: 600; color: var(--navy); font-size: .85rem; letter-spacing: .05em; }

/* ── TEAM CARD ── */
.team-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26,47,110,.08);
  transition: box-shadow .25s, transform .25s;
}
.team-card:hover { box-shadow: 0 12px 40px rgba(26,47,110,.15); transform: translateY(-4px); }
.team-card .card-img {
  width: 100%; height: 280px;
  object-fit: cover;
  object-position: top;
}
.team-card .card-body { padding: 1.6rem; }
.team-card .card-name { font-size: 1.3rem; color: var(--navy); margin-bottom: .2rem; }
.team-card .card-role {
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: .8rem;
}
.team-card .card-bio { font-size: .87rem; color: var(--muted); line-height: 1.75; }
.team-card-placeholder {
  background: linear-gradient(135deg, var(--cream), #e8eaf6);
  width: 100%; height: 280px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(26,47,110,.2); font-size: 4rem;
}

/* ── SERVICE DETAIL ── */
.service-detail-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26,47,110,.07);
  margin-bottom: 3rem;
}
.service-detail-card .svc-img {
  width: 100%; height: 300px;
  object-fit: cover;
}
.service-detail-card .svc-body { padding: 2.5rem; }
.service-detail-card h3 {
  font-size: 1.8rem; color: var(--navy);
  margin-bottom: 1rem;
}
.service-detail-card p { font-size: .9rem; color: var(--muted); line-height: 1.85; margin-bottom: 1rem; }
.service-detail-card h5 { font-size: 1.1rem; color: var(--navy); margin: 1.4rem 0 .8rem; }
.service-detail-card ul { padding-left: 1.2rem; }
.service-detail-card ul li { font-size: .88rem; color: var(--muted); line-height: 1.8; margin-bottom: .3rem; }
.svc-num-badge {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-weight: 600;
  color: var(--white);
  background: var(--gold);
  padding: .25rem .7rem;
  border-radius: 2px;
  letter-spacing: .1em;
  margin-bottom: .8rem;
}

/* ── GALLERY ── */
.gallery-masonry {
  columns: 3;
  column-gap: 12px;
}
.gallery-masonry .gal-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: 3px;
  overflow: hidden;
  display: block;
}
.gallery-masonry .gal-item img {
  width: 100%; display: block;
  transition: transform .4s ease, filter .3s;
  filter: brightness(.97);
}
.gallery-masonry .gal-item:hover img { transform: scale(1.04); filter: brightness(1.05); }
@media (max-width: 768px) {
  .gallery-masonry { columns: 2; }
}
@media (max-width: 480px) {
  .gallery-masonry { columns: 1; }
}

/* ── FOOTER ── */
footer {
  background: #07121f;
  color: rgba(255,255,255,.55);
  padding: 4rem 0 2rem;
  font-size: .85rem;
}
footer h6 {
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.2rem;
}
footer a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--gold-lt); }
footer .footer-links li { margin-bottom: .5rem; }
.footer-social a {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  font-size: 1rem;
  margin-right: .4rem;
  transition: background .2s, border-color .2s;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 2.5rem 0 1.5rem; }
.footer-bottom { font-size: .78rem; color: rgba(255,255,255,.3); }

/* ── SCROLL TOP ── */
#scrollTop {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--navy);
  border: none; border-radius: 50%;
  color: var(--white); font-size: 1.1rem;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; z-index: 999;
  box-shadow: 0 4px 20px rgba(26,47,110,.35);
  transition: background .2s;
}
#scrollTop:hover { background: var(--gold); }
#scrollTop.show { display: flex; }

/* ── FADE UP ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ── MISC ── */
.bg-cream { background: var(--cream); }
.bg-navy  { background: var(--navy-dk); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }


/* ═══════════════════════════════════════════════
   HOMEPAGE — styles (from index.html)
   ═══════════════════════════════════════════════ */
/* ── Index-page only styles ── */
    :root {
      --teal:    #1a2f6e;
      --teal-lt: #2a45a0;
    }

    /* HERO */
    #hero {
      min-height: 92vh;
      background:
        linear-gradient(135deg, rgba(17,31,77,.92) 0%, rgba(26,47,110,.75) 60%, rgba(212,160,23,.35) 100%),
        url('https://images.unsplash.com/photo-1609840114035-3c981b782dfe?w=1600&auto=format&fit=crop') center/cover no-repeat;
      display: flex;
      align-items: center;
    }
    #hero .subtitle {
      display: inline-block;
      border-top: 1px solid var(--gold);
      border-bottom: 1px solid var(--gold);
      padding: .3rem 1.2rem;
      letter-spacing: .25em;
      font-size: .75rem;
      font-weight: 500;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 1.5rem;
    }
    #hero h1 {
      font-size: clamp(2.8rem, 6vw, 5.5rem);
      font-weight: 300;
      color: #fff;
      line-height: 1.1;
    }
    #hero h1 em { font-style: italic; color: var(--teal-lt); }
    #hero p {
      color: rgba(255,255,255,.8);
      font-size: 1.05rem;
      max-width: 520px;
      line-height: 1.8;
    }
    .hero-cta .btn-primary-custom {
      background: var(--teal);
      color: #fff;
      border: none;
      padding: .85rem 2.2rem;
      font-size: .85rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      border-radius: 2px;
      text-decoration: none;
      display: inline-block;
      transition: background .25s, transform .2s;
    }
    .hero-cta .btn-primary-custom:hover { background: var(--gold); transform: translateY(-2px); }
    .hero-cta .btn-outline-custom {
      border: 1px solid rgba(255,255,255,.5);
      color: #fff;
      padding: .85rem 2.2rem;
      font-size: .85rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      border-radius: 2px;
      text-decoration: none;
      display: inline-block;
      margin-left: 1rem;
      transition: background .25s;
    }
    .hero-cta .btn-outline-custom:hover { background: rgba(255,255,255,.12); }
    .hero-stats {
      border-top: 1px solid rgba(255,255,255,.2);
      margin-top: 3.5rem;
      padding-top: 2rem;
      display: flex;
      gap: 3rem;
    }
    .hero-stats .stat-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.8rem;
      color: #fff;
      line-height: 1;
    }
    .hero-stats .stat-lbl { font-size: .75rem; color: rgba(255,255,255,.6); letter-spacing: .1em; text-transform: uppercase; }

    /* FEATURES */
    #features { background: var(--cream); padding: 5rem 0; }
    .feature-card {
      background: #fff;
      border-radius: 4px;
      padding: 2.5rem 2rem;
      height: 100%;
      border-bottom: 3px solid transparent;
      transition: border-color .25s, box-shadow .25s, transform .25s;
    }
    .feature-card:hover { border-color: var(--teal); box-shadow: 0 12px 40px rgba(26,47,110,.12); transform: translateY(-4px); }
    .feature-icon {
      width: 56px; height: 56px;
      background: linear-gradient(135deg, var(--navy), var(--teal-lt));
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 1.4rem;
      font-size: 1.5rem; color: #fff;
    }
    .feature-card h5 { font-size: 1.2rem; color: var(--navy); margin-bottom: .6rem; }
    .feature-card p { font-size: .88rem; color: var(--muted); line-height: 1.75; }

    /* ABOUT */
    #about { padding: 6rem 0; }
    .about-img-wrap { position: relative; }
    .about-img-wrap img { width: 100%; border-radius: 4px; object-fit: cover; height: 480px; }
    .about-badge {
      position: absolute;
      bottom: -24px; right: -24px;
      background: var(--gold);
      color: #fff;
      padding: 1.8rem 2rem;
      border-radius: 4px;
      text-align: center;
    }
    .about-badge .big { font-family: 'Cormorant Garamond', serif; font-size: 3rem; line-height: 1; }
    .about-badge .lbl { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }

    /* SERVICES */
    #services { background: var(--navy-dk); padding: 6rem 0; }
    #services .section-title { color: #fff; }
    #services .section-tag { color: var(--gold-lt); }
    .service-card {
      background: rgba(255,255,255,.04);
      border: 1px solid rgba(255,255,255,.1);
      border-radius: 4px;
      padding: 2rem 1.6rem;
      height: 100%;
      transition: background .25s, border-color .25s, transform .25s;
      cursor: default;
    }
    .service-card:hover { background: rgba(212,160,23,.12); border-color: var(--gold); transform: translateY(-4px); }
    .service-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 3rem;
      color: rgba(255,255,255,.1);
      line-height: 1;
      margin-bottom: .4rem;
      transition: color .25s;
    }
    .service-card:hover .service-num { color: var(--gold); }
    .service-card h5 { color: #fff; font-size: 1.05rem; margin-bottom: .6rem; }
    .service-card p { color: rgba(255,255,255,.55); font-size: .84rem; line-height: 1.75; }

    /* FAQ */
    #faq { padding: 6rem 0; background: var(--cream); }

    /* TESTIMONIALS */
    #testimonials { padding: 6rem 0; }

    /* TEAM */
    #team { background: var(--navy-dk); padding: 6rem 0; }
    #team .section-title { color: #fff; }
    #team .section-tag { color: var(--gold-lt); }
    .team-text { color: rgba(255,255,255,.65); line-height: 1.9; font-size: .92rem; }

    /* GALLERY */
    #gallery { padding: 6rem 0; }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }
    .gallery-item { overflow: hidden; border-radius: 3px; aspect-ratio: 1; background: var(--cream); }
    .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
    .gallery-item:hover img { transform: scale(1.06); }

    /* CONTACT */
    #contact { background: var(--cream); padding: 6rem 0; }
    .contact-info-item { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 2rem; }
    .contact-info-item h6 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
    .contact-info-item p { color: var(--navy); font-weight: 500; font-size: .92rem; margin: 0; }

    @media (max-width: 768px) {
      .about-badge { right: 0; bottom: 0; }
      .gallery-grid { grid-template-columns: repeat(2, 1fr); }
      .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
      .hero-cta .btn-outline-custom { margin-left: 0; margin-top: .75rem; }
    }

/* ═══════════════════════════════════════════════
   SERVICES PAGE — styles (from services.html)
   ═══════════════════════════════════════════════ */
.services-sidebar {
      position: sticky;
      top: 90px;
    }
    .services-sidebar .svc-link {
      display: flex;
      align-items: center;
      gap: .7rem;
      padding: .7rem 1rem;
      font-size: .87rem;
      color: var(--muted);
      text-decoration: none;
      border-left: 2px solid #eee;
      transition: color .2s, border-color .2s, padding-left .2s;
    }
    .services-sidebar .svc-link:hover,
    .services-sidebar .svc-link.active {
      color: var(--navy);
      border-color: var(--gold);
      padding-left: 1.5rem;
      font-weight: 500;
    }
    .services-sidebar .svc-link i { color: var(--gold); flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   FAQ PAGE — styles (from faq.html)
   ═══════════════════════════════════════════════ */
.faq-search input {
      border: 2px solid #e5e5e5;
      border-radius: 2px;
      padding: .85rem 1.2rem .85rem 3rem;
      font-size: .9rem;
      width: 100%;
      transition: border-color .2s;
      outline: none;
    }
    .faq-search input:focus { border-color: var(--navy); }
    .faq-search { position: relative; }
    .faq-search i {
      position: absolute;
      left: 1rem; top: 50%;
      transform: translateY(-50%);
      color: var(--muted);
    }
    .faq-category-label {
      font-size: .7rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      font-weight: 700;
      color: var(--gold);
      padding: .4rem 0;
      margin-top: 2rem;
      border-bottom: 1px solid #eee;
      margin-bottom: .5rem;
    }

/* ═══════════════════════════════════════════════
   TESTIMONIALS PAGE — styles (from testimonials.html)
   ═══════════════════════════════════════════════ */
.testi-featured {
      background: var(--navy-dk);
      border-radius: 6px;
      padding: 3.5rem 3rem;
      position: relative;
      overflow: hidden;
      margin-bottom: 3rem;
    }
    .testi-featured::before {
      content: '\201C';
      font-family: 'Cormorant Garamond', serif;
      font-size: 14rem;
      color: rgba(255,255,255,.05);
      position: absolute;
      top: -2rem; left: 1.5rem;
      line-height: 1;
      pointer-events: none;
    }
    .testi-featured blockquote {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.3rem, 2.5vw, 1.8rem);
      font-style: italic;
      color: rgba(255,255,255,.85);
      line-height: 1.7;
      position: relative;
      z-index: 1;
      margin: 0 0 1.5rem;
    }
    .testi-featured .attr { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-lt); font-weight: 600; }
    .testi-featured .stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }

    .testi-grid-card {
      background: #fff;
      border-radius: 4px;
      padding: 2.2rem 2rem;
      height: 100%;
      border: 1px solid #eee;
      border-bottom: 3px solid transparent;
      transition: border-color .25s, box-shadow .25s, transform .2s;
      position: relative;
    }
    .testi-grid-card:hover { border-color: var(--gold); box-shadow: 0 10px 36px rgba(26,47,110,.1); transform: translateY(-4px); }
    .testi-grid-card::before {
      content: '\201C';
      font-family: 'Cormorant Garamond', serif;
      font-size: 5rem;
      color: var(--navy);
      opacity: .07;
      position: absolute;
      top: -.4rem; left: 1.2rem;
      line-height: 1;
    }
    .testi-grid-card .stars { color: var(--gold); font-size: .82rem; margin-bottom: .8rem; }
    .testi-grid-card p { font-size: .9rem; color: var(--muted); line-height: 1.82; font-style: italic; position: relative; z-index: 1; }
    .testi-grid-card .divider { border-color: #eee; margin: 1.2rem 0; }
    .testi-grid-card .name { font-weight: 600; color: var(--navy); font-size: .85rem; letter-spacing: .05em; }
    .testi-grid-card .avatar {
      width: 38px; height: 38px;
      border-radius: 50%;
      background: var(--navy);
      display: flex; align-items: center; justify-content: center;
      color: #fff;
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem;
      flex-shrink: 0;
    }
    .rate-box { background: var(--cream); border-radius: 4px; padding: 2.5rem; text-align: center; }
    .rate-big { font-family: 'Cormorant Garamond', serif; font-size: 5rem; color: var(--navy); line-height: 1; }

/* ═══════════════════════════════════════════════
   TEAM PAGE — styles (from team.html)
   ═══════════════════════════════════════════════ */
.doctor-card {
      background: #fff;
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 4px 28px rgba(26,47,110,.08);
      transition: box-shadow .3s, transform .3s;
      height: 100%;
    }
    .doctor-card:hover { box-shadow: 0 16px 50px rgba(26,47,110,.15); transform: translateY(-6px); }
    .doctor-card .doc-img-wrap { position: relative; overflow: hidden; }
    .doctor-card .doc-img-wrap img {
      width: 100%; height: 320px;
      object-fit: cover; object-position: top center;
      display: block;
      transition: transform .45s ease;
    }
    .doctor-card:hover .doc-img-wrap img { transform: scale(1.05); }
    .doc-img-placeholder {
      width: 100%; height: 320px;
      background: linear-gradient(135deg, var(--cream) 0%, #dde1f5 100%);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      color: rgba(26,47,110,.3); gap: .5rem;
    }
    .doc-img-placeholder i { font-size: 4rem; }
    .doc-img-placeholder span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
    .doctor-card .doc-badge {
      position: absolute; bottom: 0; left: 0; right: 0;
      background: linear-gradient(to top, rgba(17,31,77,.85) 0%, transparent 100%);
      padding: 2rem 1.4rem .8rem;
    }
    .doctor-card .doc-badge .spec-tag {
      display: inline-block;
      background: var(--gold); color: #fff;
      font-size: .68rem; letter-spacing: .12em;
      text-transform: uppercase; padding: .22rem .7rem;
      border-radius: 2px; font-weight: 600;
    }
    .doctor-card .doc-body { padding: 1.6rem 1.8rem 2rem; }
    .doctor-card .doc-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.55rem; font-weight: 400;
      color: var(--navy); margin-bottom: .15rem; line-height: 1.2;
    }
    .doctor-card .doc-quals {
      font-size: .75rem; letter-spacing: .08em;
      color: var(--gold); font-weight: 600;
      margin-bottom: .9rem; text-transform: uppercase;
    }
    .doctor-card .doc-bio { font-size: .88rem; color: var(--muted); line-height: 1.8; }
    .doctor-card .doc-divider { border-color: #eee; margin: 1.2rem 0; }
    .doctor-card .doc-meta { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); }
    .doctor-card .doc-meta i { color: var(--navy); }

    .doctor-lead { background: var(--navy-dk); border-radius: 6px; overflow: hidden; margin-bottom: 3rem; }
    .doctor-lead .lead-img { width: 100%; height: 420px; object-fit: cover; object-position: top center; }
    .doctor-lead .lead-body { padding: 3rem; color: rgba(255,255,255,.75); }
    .doctor-lead .lead-tag { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-lt); font-weight: 600; margin-bottom: .6rem; }
    .doctor-lead .lead-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; color: #fff; line-height: 1.15; margin-bottom: .2rem; }
    .doctor-lead .lead-quals { font-size: .78rem; letter-spacing: .1em; color: var(--gold); font-weight: 600; text-transform: uppercase; margin-bottom: 1.4rem; }
    .doctor-lead .lead-bio { font-size: .92rem; line-height: 1.9; color: rgba(255,255,255,.65); margin-bottom: 1.5rem; }
    .doctor-lead .lead-facts { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
    .lead-fact-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; color: #fff; line-height: 1; }
    .lead-fact-lbl { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }

/* ═══════════════════════════════════════════════
   GALLERY PAGE — styles (from gallery.html)
   ═══════════════════════════════════════════════ */
.filter-tabs { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:2.5rem; }
    .filter-btn {
      border: 1px solid #ddd;
      background: #fff;
      color: var(--muted);
      font-size: .78rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      padding: .45rem 1.2rem;
      border-radius: 2px;
      cursor: pointer;
      transition: all .2s;
    }
    .filter-btn:hover, .filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

    .gal-masonry { columns: 3; column-gap: 14px; }
    @media(max-width:768px){ .gal-masonry{ columns:2; } }
    @media(max-width:480px){ .gal-masonry{ columns:1; } }

    .gal-item {
      break-inside: avoid;
      margin-bottom: 14px;
      border-radius: 4px;
      overflow: hidden;
      position: relative;
      cursor: pointer;
      display: block;
    }
    .gal-item img { width: 100%; display: block; transition: transform .45s ease; }
    .gal-item:hover img { transform: scale(1.06); }
    .gal-overlay {
      position: absolute; inset: 0;
      background: rgba(17,31,77,.55);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; transition: opacity .3s;
    }
    .gal-item:hover .gal-overlay { opacity: 1; }
    .gal-overlay i { color: #fff; font-size: 2rem; }

    #lightbox {
      display: none;
      position: fixed; inset: 0;
      background: rgba(7,18,31,.93);
      z-index: 9999;
      align-items: center; justify-content: center;
    }
    #lightbox.open { display: flex; }
    #lightbox img {
      max-width: 90vw; max-height: 88vh;
      border-radius: 3px; object-fit: contain;
      box-shadow: 0 24px 80px rgba(0,0,0,.6);
    }
    #lb-close {
      position: absolute; top: 1.5rem; right: 1.8rem;
      background: none; border: none;
      color: rgba(255,255,255,.7); font-size: 2rem;
      cursor: pointer; transition: color .2s;
    }
    #lb-close:hover { color: var(--gold-lt); }
    #lb-prev, #lb-next {
      position: absolute; top: 50%; transform: translateY(-50%);
      background: rgba(255,255,255,.1);
      border: 1px solid rgba(255,255,255,.2);
      color: #fff; width: 46px; height: 46px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem; cursor: pointer; transition: background .2s;
    }
    #lb-prev { left: 1.5rem; }
    #lb-next { right: 1.5rem; }
    #lb-prev:hover, #lb-next:hover { background: var(--gold); border-color: var(--gold); }
    #lb-caption {
      position: absolute; bottom: 1.5rem;
      left: 50%; transform: translateX(-50%);
      color: rgba(255,255,255,.55); font-size: .8rem;
      letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
    }

/* ═══════════════════════════════════════════════
   CONTACT PAGE — styles (from contact.html)
   ═══════════════════════════════════════════════ */
.info-card {
      background: #fff; border-radius: 4px; padding: 2rem 1.8rem; height: 100%;
      border-left: 3px solid var(--gold); box-shadow: 0 4px 24px rgba(26,47,110,.07);
      display: flex; gap: 1.2rem; align-items: flex-start;
      transition: box-shadow .25s, transform .2s;
    }
    .info-card:hover { box-shadow: 0 10px 36px rgba(26,47,110,.13); transform: translateY(-3px); }
    .info-card .ic-icon {
      width: 50px; height: 50px; flex-shrink: 0;
      background: var(--navy); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 1.25rem;
    }
    .info-card .ic-label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .3rem; }
    .info-card .ic-value { font-size: .92rem; color: var(--navy); font-weight: 500; line-height: 1.7; }
    .info-card .ic-value a { color: var(--navy); text-decoration: none; }
    .info-card .ic-value a:hover { color: var(--gold); }

    .hours-table { width: 100%; font-size: .88rem; }
    .hours-table tr td { padding: .4rem 0; color: var(--muted); }
    .hours-table tr td:last-child { text-align: right; font-weight: 500; color: var(--navy); }
    .hours-table tr.today td { color: var(--navy); font-weight: 600; }
    .hours-table tr.today td:last-child { color: var(--gold); }
    .open-badge { display: inline-block; background: #e6f9f4; color: #0a7a5c; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 2px; }
    .closed-badge { display: inline-block; background: #fef2f2; color: #b91c1c; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 2px; }

    .form-wrap { background: #fff; border-radius: 6px; padding: 3rem; box-shadow: 0 6px 40px rgba(26,47,110,.1); }
    .form-wrap .form-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .4rem; }
    .form-wrap .form-control,
    .form-wrap select,
    .form-wrap textarea { border: 1px solid #e0e0e0; border-radius: 2px; padding: .75rem 1rem; font-size: .9rem; color: var(--text); transition: border-color .2s, box-shadow .2s; }
    .form-wrap .form-control:focus,
    .form-wrap select:focus,
    .form-wrap textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,47,110,.1); outline: none; }
    .form-wrap textarea { resize: vertical; min-height: 130px; }
    .btn-submit { background: var(--navy); color: #fff; border: none; padding: .9rem 2.8rem; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; border-radius: 2px; cursor: pointer; transition: background .2s, transform .2s; width: 100%; }
    .btn-submit:hover { background: var(--gold); transform: translateY(-2px); }

    .map-frame { border-radius: 4px; overflow: hidden; box-shadow: 0 4px 28px rgba(26,47,110,.1); }
    .map-frame iframe { width: 100%; height: 400px; border: none; display: block; }

    #successMsg { display: none; background: #e6f9f0; border: 1px solid #a7f3d0; border-radius: 4px; padding: 1.2rem 1.5rem; color: #065f46; font-size: .92rem; margin-top: 1rem; }

    .social-strip a {
      display: inline-flex; align-items: center; gap: .5rem;
      padding: .6rem 1.2rem; border: 1px solid #e5e5e5; border-radius: 2px;
      font-size: .82rem; color: var(--navy); text-decoration: none;
      transition: all .2s; margin: .3rem;
    }
    .social-strip a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
    .social-strip a i { font-size: 1rem; }
