:root {
  --navy: #102E3B;
  --navy-2: #1B4653;
  --teal: #4FA9A2;
  --teal-light: #DCEEEC;
  --gold: #C9A25D;
  --gold-dark: #B78D45;
  --cream: #FBF7EF;
  --ink: #1E2B2E;
  --slate: #5B6B6E;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  padding-top: 76px;
}

h1, h2, h3, .brand-text {
  font-family: var(--font-head);
}

a { color: var(--teal); }
a:hover { color: var(--gold-dark); }

.section-eyebrow {
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

/* Navbar */
#mainNav {
  background: var(--navy);
  padding: 0.6rem 0;
  transition: box-shadow 0.2s ease;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.brand-logo {
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}

.brand-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.02em;
}

.navbar .nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem;
}

.navbar .nav-link:hover { color: #fff; }

.btn-cta {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: 6px;
}

.btn-cta:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}

.btn-outline-light {
  border-radius: 6px;
  font-weight: 600;
}

.btn-outline-primary-custom {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  border-radius: 6px;
  background: transparent;
}

.btn-outline-primary-custom:hover {
  background: var(--navy);
  color: #fff;
}

/* Hero split panel */
.hero-split {
  display: flex;
  flex-direction: column;
  min-height: 88vh;
  margin-top: -76px;
}

@media (min-width: 992px) {
  .hero-split { flex-direction: row; min-height: 90vh; }
}

.hero-panel { width: 100%; }

.hero-panel-text {
  order: 1;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  display: flex;
  align-items: center;
  padding: 7.5rem 1.5rem 3rem;
}

@media (min-width: 992px) {
  .hero-panel-text { width: 52%; padding: 3rem 4rem; }
  .hero-panel-photo { width: 48%; order: 2; }
}

.hero-panel-photo {
  order: 2;
  min-height: 42vh;
  background: url('img/hero.webp') center/cover no-repeat;
}

@media (min-width: 992px) {
  .hero-panel-photo { min-height: auto; }
}

.hero-content { max-width: 560px; margin: 0 auto; }

@media (min-width: 992px) {
  .hero-content { margin: 0; }
}

.hero-eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--teal-light);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.hero-tagline {
  color: rgba(255,255,255,0.85);
  font-size: 1.02rem;
  margin-bottom: 2rem;
}

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

/* Stats strip */
.stats-strip {
  background: #fff;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(16,46,59,0.08);
}

.stat-icon { font-size: 1.8rem; color: var(--teal); margin-bottom: 0.6rem; display: block; }
.stat-num { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.25rem; }
.stat-label { color: var(--slate); font-size: 0.85rem; margin-top: 0.2rem; }

/* About */
.about-section { padding: 5.5rem 0; }

.about-photo { width: 100%; height: 260px; object-fit: cover; box-shadow: 0 12px 28px rgba(16,46,59,0.15); }
.about-photo-offset { margin-top: 2.5rem; }

.credential-list { margin-top: 1.5rem; }
.credential-list li { padding: 0.35rem 0; color: var(--navy); font-weight: 600; }
.credential-list i { color: var(--gold); margin-right: 0.5rem; }

/* Services */
.services-section { padding: 5.5rem 0; background: #fff; }

.service-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid rgba(16,46,59,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16,46,59,0.1); }

.service-icon { font-size: 1.9rem; color: var(--teal); margin-bottom: 0.9rem; display: block; }
.service-card h3 { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); margin-bottom: 0.6rem; }

/* Tech section */
.tech-section { padding: 5.5rem 0; }
.tech-photo { width: 100%; height: 380px; object-fit: cover; box-shadow: 0 12px 28px rgba(16,46,59,0.15); }
.tech-list li { padding: 0.4rem 0; font-weight: 500; }
.tech-list i { color: var(--gold); margin-right: 0.6rem; }

/* Gallery */
.gallery-section { padding: 5.5rem 0; background: var(--navy); }
.gallery-section .section-title, .gallery-section .section-eyebrow { color: #fff; }
.gallery-section .section-eyebrow { color: var(--gold); }
.gallery-img { width: 100%; height: 260px; object-fit: cover; box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
.gallery-caption { color: rgba(255,255,255,0.75); font-style: italic; max-width: 640px; margin-left: auto; margin-right: auto; }

/* Testimonials */
.testimonials-section { padding: 5.5rem 0; background: #fff; }
.testimonial-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 1.75rem;
  height: 100%;
  border: 1px solid rgba(16,46,59,0.06);
}
.testimonial-card i { color: var(--gold); font-size: 0.85rem; }
.testimonial-card p:not(.testimonial-name) { margin: 0.9rem 0; color: var(--ink); font-size: 0.95rem; }
.testimonial-name { font-weight: 700; color: var(--navy); margin: 0; }

/* Patient Info */
.patient-info-section { padding: 5.5rem 0; }
.info-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  height: 100%;
  text-align: center;
  border: 1px solid rgba(16,46,59,0.06);
  box-shadow: 0 8px 20px rgba(16,46,59,0.06);
}
.info-icon { font-size: 1.9rem; color: var(--teal); margin-bottom: 0.8rem; display: block; }
.info-card h3 { font-family: var(--font-head); font-size: 1.2rem; color: var(--navy); margin-bottom: 0.5rem; }

/* FAQ */
.faq-section { padding: 5.5rem 0; background: #fff; }
.accordion-button { font-weight: 600; color: var(--navy); }
.accordion-button:not(.collapsed) { background: var(--teal-light); color: var(--navy); }
.accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(79,169,162,0.25); }

/* Contact */
.contact-section { padding: 5.5rem 0; }
.location-title { font-family: var(--font-head); color: var(--navy); font-size: 1.4rem; margin-bottom: 1rem; }
.contact-section p i { color: var(--teal); width: 1.4rem; }
.map-embed { border-radius: 14px; overflow: hidden; box-shadow: 0 12px 28px rgba(16,46,59,0.15); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 4rem 0 2rem; }
.site-footer h5 { color: #fff; font-weight: 700; margin-bottom: 1rem; }

.footer-logo-chip {
  background: #FBF7EF;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.footer-brand-text { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.05rem; margin-bottom: 0.8rem; }

.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

.social-icons { display: flex; gap: 0.75rem; }
.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease;
}
.social-icons a:hover { background: var(--gold); color: var(--navy); }

.footer-divider { border-color: rgba(255,255,255,0.15); margin: 2rem 0 1.5rem; }
.powered-by a { color: var(--gold); }
.powered-by p { color: rgba(255,255,255,0.6); }
