:root {
    --ss-teal: #0d6e6e;
    --ss-teal-dark: #094f4f;
    --ss-teal-light: #e6f5f5;
    --ss-mint: #a7e1d4;
    --ss-cream: #fbfaf6;
    --ss-ink: #1f2937;
    --ss-muted: #6b7280;
    --ss-border: #e5e7eb;
}

html, body { height: 100%; }
body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ss-ink);
    background: var(--ss-cream);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
h1, h2, h3, h4, h5, h6, .ss-brand {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: var(--ss-teal-dark);
}
.text-teal { color: var(--ss-teal) !important; }
.bg-teal-soft { background: var(--ss-teal-light); }
.btn-teal {
    background: var(--ss-teal);
    border-color: var(--ss-teal);
    color: #fff;
    font-weight: 500;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
}
.btn-teal:hover, .btn-teal:focus {
    background: var(--ss-teal-dark);
    border-color: var(--ss-teal-dark);
    color: #fff;
}
.btn-outline-teal {
    color: var(--ss-teal);
    border: 1px solid var(--ss-teal);
    background: transparent;
    font-weight: 500;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
}
.btn-outline-teal:hover {
    background: var(--ss-teal);
    color: #fff;
}

.ss-brand { font-size: 1.15rem; }
.ss-header .nav-link { color: var(--ss-ink); font-weight: 500; }
.ss-header .nav-link:hover, .ss-header .nav-link.active { color: var(--ss-teal); }

.ss-main { flex: 1 0 auto; }

.ss-hero {
    background: linear-gradient(135deg, var(--ss-teal-light) 0%, #fff 60%);
    padding: 4rem 0 3rem;
}
.ss-hero h1 { font-weight: 700; line-height: 1.15; }
.ss-hero .lead { color: var(--ss-muted); font-size: 1.15rem; }
.ss-hero-pills .badge { background: #fff; color: var(--ss-teal); border: 1px solid var(--ss-mint); font-weight: 500; padding: .55rem .9rem; border-radius: 999px; }

.ss-card {
    border: 1px solid var(--ss-border);
    border-radius: 18px;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}
.ss-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -22px rgba(13,110,110,.35);
}
.ss-card .ss-icon {
    width: 48px; height: 48px;
    background: var(--ss-teal-light);
    color: var(--ss-teal);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.ss-section { padding: 4rem 0; }
.ss-section-title { font-weight: 700; margin-bottom: .5rem; }
.ss-section-eyebrow { color: var(--ss-teal); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.ss-section-sub { color: var(--ss-muted); max-width: 640px; margin: 0 auto 2.5rem; }

.ss-doctor-photo {
    width: 110px; height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--ss-teal-light);
}

.ss-form-card {
    border: 1px solid var(--ss-border);
    border-radius: 20px;
    background: #fff;
    padding: 2rem 2rem 1.5rem;
}
.ss-form-card .form-label { font-weight: 500; color: var(--ss-ink); }
.ss-form-card .form-control, .ss-form-card .form-select {
    border-radius: 10px;
    padding: .65rem .9rem;
    border-color: var(--ss-border);
}
.ss-form-card .form-control:focus, .ss-form-card .form-select:focus {
    border-color: var(--ss-teal);
    box-shadow: 0 0 0 .2rem rgba(13,110,110,.18);
}
.ss-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.ss-fab-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 10px 30px -10px rgba(37,211,102,.6);
    z-index: 1030;
    text-decoration: none;
    transition: transform .15s ease;
}
.ss-fab-whatsapp:hover { color:#fff; transform: scale(1.07); }

.ss-fab-call {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--ss-teal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(13,110,110,.6);
    z-index: 1030;
    text-decoration: none;
    transition: transform .15s ease;
}
.ss-fab-call:hover, .ss-fab-call:focus { color:#fff; transform: scale(1.07); }

.ss-header-phone { font-weight: 600; white-space: nowrap; }
.ss-header-phone:hover { color: var(--ss-teal); }
.ss-header .nav-link { padding-left: .55rem; padding-right: .55rem; }

.ss-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform .15s ease;
}
.ss-gallery a:hover img { transform: scale(1.02); }

.ss-footer {
    background: var(--ss-teal-dark);
    color: #fff;
    margin-top: 4rem;
}
.ss-footer h5, .ss-footer h6 { color: #fff; }
.ss-footer a { color: #fff; }

.ss-map iframe { width: 100%; min-height: 360px; border: 0; border-radius: 16px; }

.ss-testimonial { background: #fff; border-radius: 16px; padding: 1.5rem; border: 1px solid var(--ss-border); height: 100%; }
.ss-testimonial .ss-stars { color: #f59e0b; }

.ss-divider { height: 1px; background: var(--ss-border); margin: 2.5rem 0; }

/* Accessibility */
.ss-skip-link{position:absolute;left:-9999px;top:0;background:#0d6e6e;color:#fff;padding:.5rem 1rem;z-index:2000;border-radius:0 0 .5rem 0}
.ss-skip-link:focus{left:0}


/* (Removed legacy inline tooth icon — per-service icons now render via Bootstrap Icons through ServiceIconMap.) */

/* ===== Hero carousel ===== */
.ss-hero-with-carousel {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 560px;
  background: #0f3a3a;
}
.ss-hero-with-carousel .ss-hero-carousel,
.ss-hero-with-carousel .ss-hero-carousel .carousel-inner,
.ss-hero-with-carousel .ss-hero-carousel .carousel-item {
  position: absolute;
  inset: 0;
  height: 100%;
}
.ss-hero-with-carousel .ss-hero-carousel { z-index: 0; }
.ss-hero-with-carousel .ss-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}
.ss-hero-with-carousel .carousel-item.active .ss-hero-img {
  animation: ssKenBurns 12s ease-out forwards;
}
@keyframes ssKenBurns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.10); }
}
.ss-hero-with-carousel .ss-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(8, 40, 50, 0.78) 0%, rgba(8, 40, 50, 0.45) 60%, rgba(8, 40, 50, 0.65) 100%);
}
.ss-hero-with-carousel .ss-hero-content {
  position: relative; z-index: 2;
  padding: 6rem 1.5rem 5rem;
}
.ss-hero-with-carousel .text-white-75 { color: rgba(255,255,255,0.85); }
.ss-hero-with-carousel .text-teal-light { color: #6fe1d2; }
.ss-hero-with-carousel .ss-hero-pills .badge {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}
.ss-hero-with-carousel .ss-hero-card {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.ss-hero-with-carousel .ss-hero-caption {
  bottom: 1rem;
  background: rgba(0,0,0,0.35);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  display: inline-block;
  left: 50%; right: auto;
  transform: translateX(-50%);
  width: auto;
  font-size: 0.95rem;
}
.ss-hero-with-carousel .carousel-indicators { z-index: 3; margin-bottom: 0.75rem; }
.ss-hero-with-carousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,0.55); opacity: 1;
}
.ss-hero-with-carousel .carousel-indicators .active { background: #6fe1d2; }
.ss-hero-with-carousel .carousel-control-prev,
.ss-hero-with-carousel .carousel-control-next { z-index: 3; width: 6%; }
@media (max-width: 991.98px) {
  .ss-hero-with-carousel { min-height: 640px; }
  .ss-hero-with-carousel .ss-hero-content { padding: 4rem 1rem 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ss-hero-with-carousel .carousel-item.active .ss-hero-img { animation: none; }
  .ss-hero-with-carousel .ss-hero-carousel { /* JS-side: data-bs-interval="false" not possible from CSS, but Bootstrap honors reduced-motion for slide transitions automatically */ }
}

/* Reviews embed (Trustindex / Elfsight container) */
.ss-reviews-embed { max-width: 1080px; margin-left: auto; margin-right: auto; }
.ss-reviews-embed-frame iframe { width: 100%; max-width: 100%; border: 0; }
