/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:      #0d7a6e;
  --teal-dark: #085e55;
  --teal-light:#e6f7f5;
  --accent:    #f0a500;
  --text:      #1a2332;
  --text-muted:#5a6a7a;
  --bg:        #ffffff;
  --bg-light:  #f7fafa;
  --radius:    14px;
  --shadow:    0 4px 24px rgba(13,122,110,.10);
  --shadow-lg: 0 12px 48px rgba(13,122,110,.16);
  --transition:0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.bg-light { background: var(--bg-light); }

/* ─── SECTION HEADER ─── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header h2 { font-size: clamp(1.8rem,3.5vw,2.6rem); font-family:'Playfair Display',serif; margin: 8px 0 16px; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; }
.section-label {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}

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

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px;
  border-radius: 8px; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--teal); color: #fff; border-color: var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.7);
}
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-nav {
  background: var(--teal); color: #fff;
  padding: 7px 14px; border-radius: 7px; font-size: 0.8rem;
  white-space: nowrap; flex-shrink: 0;
}
.nav-call-link {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.nav-call-link:hover { color: var(--teal); }
.nav-call-link span { letter-spacing: 0.01em; }
.btn-white {
  background: #fff; color: var(--teal); border-color: #fff;
}
.btn-white:hover { background: var(--teal-light); }
.btn-nav-register {
  background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal); border-radius: 7px;
  padding: 6px 12px; font-size: 0.8rem; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
}
.btn-nav-register:hover { background: var(--teal); color: #fff; }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.7); border-radius: 10px;
  text-align: center; padding: 14px 24px; font-size: 1rem; font-weight: 600;
  transition: background .2s, border-color .2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.form-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: rgba(255,255,255,0.5); font-size: 0.85rem;
}
.form-divider::before, .form-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.2);
}
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ─── NAVBAR ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13,122,110,.08);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.08); }
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; flex-shrink: 0; }
.logo-img { width: 42px; height: 42px; object-fit: cover; object-position: center 40%; border-radius: 8px; background: #fff; }
.logo-icon { font-size: 1.8rem; }
.logo-name { display: block; font-size: 0.95rem; color: var(--teal); line-height: 1.2; white-space: nowrap; }
.logo-sub  { display: block; font-size: .68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.nav-links { display: flex; gap: 20px; flex: 1; justify-content: center; }
.nav-links a { font-size: .85rem; font-weight: 500; color: var(--text-muted); transition: color var(--transition); white-space: nowrap; }
.nav-links a:hover { color: var(--teal); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 24px 20px; background: #fff;
  border-top: 1px solid var(--teal-light);
}
.mobile-menu a { padding: 10px 0; font-weight: 500; color: var(--text-muted); border-bottom: 1px solid var(--teal-light); }
.mobile-menu a:last-child { border-bottom: none; margin-top: 8px; }
.mobile-menu.open { display: flex; }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('photos/clinic.jpeg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,60,55,.88) 0%, rgba(13,100,90,.75) 60%, rgba(5,30,40,.65) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: 100px; padding-bottom: 80px;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15); color: #cdf0ea;
  border: 1px solid rgba(255,255,255,.25);
  font-size: .8rem; letter-spacing: .12em;
  padding: 6px 18px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: #fff; line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content h1 .accent { color: #7ee8d8; }
.hero-sub { font-size: clamp(1rem,2vw,1.2rem); color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px; padding: 20px 28px;
  flex-wrap: wrap;
}
.stat { text-align: center; padding: 0 24px; }
.stat strong { display: block; font-size: 1.6rem; color: #fff; font-weight: 800; }
.stat span   { font-size: .78rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .06em; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center; color: rgba(255,255,255,.6); font-size: .8rem;
  animation: bounce 2s infinite;
}
.scroll-arrow { font-size: 1.2rem; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ─── STRIP ─── */
.strip { background: var(--teal); color: #cdf0ea; padding: 14px 0; font-size: .88rem; font-weight: 500; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; text-align: center; }
.strip-sep { opacity: .4; }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; }
.about-img-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; object-position: 60% 15%; }
.about-badge-card {
  position: absolute; bottom: -24px; right: -24px;
  background: #fff; border-radius: 14px; padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg); min-width: 200px;
}
.badge-icon { font-size: 2rem; }
.about-badge-card strong { display: block; color: var(--text); font-weight: 700; }
.about-badge-card small  { color: var(--text-muted); font-size: .8rem; }
.about-img-wrap2 {
  position: absolute; top: -24px; right: -24px; left: auto;
  width: 160px; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid #fff;
}
.about-img-wrap2 img { width: 100%; height: 160px; object-fit: cover; }
.about-text h2 { font-family:'Playfair Display',serif; font-size: clamp(1.8rem,3vw,2.4rem); margin: 8px 0 20px; }
.about-text p  { color: var(--text-muted); margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.feature { display: flex; align-items: flex-start; gap: 14px; }
.feature-icon { font-size: 1.6rem; flex-shrink: 0; }
.feature strong { display: block; font-weight: 600; margin-bottom: 4px; }
.feature p { font-size: .85rem; color: var(--text-muted); }

/* ─── SERVICES ─── */
/* ─── FACILITIES ─── */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.facility-card {
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow); border: 1.5px solid #e8f4f2;
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.facility-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.facility-img-wrap {
  position: relative; height: 200px; overflow: hidden;
}
.facility-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .45s ease;
}
.facility-card:hover .facility-img-wrap img { transform: scale(1.06); }
.facility-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--teal); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 999px;
}
.facility-body {
  padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px;
}
.facility-icon { font-size: 1.6rem; }
.facility-body h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--text-dark);
  font-family: 'Playfair Display', serif;
}
.facility-body p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 28px; border: 1px solid rgba(13,122,110,.08);
  transition: all var(--transition); position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal-light); }
.service-card.featured { border-color: var(--teal); background: linear-gradient(135deg,#f0fdf9,#e6f7f5); }
.service-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--teal); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  padding: 4px 12px; border-radius: 999px;
}
.service-icon { font-size: 2.2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-card > p { color: var(--text-muted); font-size: .9rem; margin-bottom: 16px; }
.service-card ul { color: var(--text-muted); font-size: .85rem; display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.service-card ul li::before { content: '✓  '; color: var(--teal); font-weight: 700; }
.service-link { color: var(--teal); font-weight: 600; font-size: .88rem; }
.service-link:hover { text-decoration: underline; }

/* ─── DOCTOR ─── */
.doctor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.doctor-text h2 { font-family:'Playfair Display',serif; font-size: clamp(1.8rem,3vw,2.6rem); margin-bottom: 4px; }
.doctor-title  { color: var(--teal); font-weight: 600; margin-bottom: 20px; }
.doctor-text p { color: var(--text-muted); margin-bottom: 14px; }
.doctor-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.dh { background: var(--bg-light); border-radius: 10px; padding: 14px 16px; }
.dh strong { display: block; color: var(--teal); font-size: 1rem; font-weight: 700; }
.dh span   { font-size: .82rem; color: var(--text-muted); }
.doctor-visual { position: relative; }
.doctor-img-wrap { border-radius: 20px; box-shadow: var(--shadow-lg); }
.doctor-img-wrap img { width: 100%; height: auto; object-fit: contain; display: block; }
.expertise-card {
  position: absolute; bottom: -20px; left: -20px;
  background: #fff; border-radius: 14px; padding: 20px;
  box-shadow: var(--shadow-lg); min-width: 240px;
}
.expertise-card h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 12px; }
.expertise-list { display: flex; flex-wrap: wrap; gap: 8px; }
.expertise-list span {
  background: var(--teal-light); color: var(--teal);
  font-size: .78rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}

/* ─── WHY CHOOSE US ─── */
.bg-teal { background: linear-gradient(135deg, #0d7a6e 0%, #085e55 100%); }
.section-header.light h2 { color: #fff; }
.section-header.light p  { color: #cdf0ea; }
.light-label { background: rgba(255,255,255,.15); color: #cdf0ea; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 24px; }
.why-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 32px 28px;
  transition: background var(--transition);
}
.why-card:hover { background: rgba(255,255,255,.14); }
.why-num { font-size: 2.5rem; font-weight: 800; color: rgba(255,255,255,.15); line-height: 1; margin-bottom: 12px; }
.why-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.why-card p  { color: #cdf0ea; font-size: .9rem; }

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px 260px;
  gap: 14px;
}
.gallery-item {
  border-radius: 14px; overflow: hidden;
  position: relative; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  transition: transform .45s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }

/* Explicit grid placements */
.gallery-item:nth-child(1) { grid-column: 1;     grid-row: 1 / 3; } /* tall left */
.gallery-item:nth-child(2) { grid-column: 2;     grid-row: 1;     }
.gallery-item:nth-child(3) { grid-column: 3;     grid-row: 1;     }
.gallery-item:nth-child(4) { grid-column: 2 / 4; grid-row: 2;     } /* wide centre+right */
.gallery-item:nth-child(5) { grid-column: 1;     grid-row: 3;     }
.gallery-item:nth-child(6) { grid-column: 2;     grid-row: 3;     }
.gallery-item:nth-child(7) { grid-column: 3;     grid-row: 3;     }

/* Fine-tune crop position per photo */
.gallery-item:nth-child(1) img { object-position: center 20%; }  /* cosmetic: show top (before) prominently */
.gallery-item:nth-child(2) img { object-position: center 40%; }  /* reception: show counter area */
.gallery-item:nth-child(3) img { object-position: center 30%; }  /* doc treating: show faces */
.gallery-item:nth-child(4) img { object-position: center top; }  /* clinic: show doctor + patient faces */
.gallery-item:nth-child(5) img { object-position: center 30%; }  /* community: show child + doctor */
.gallery-item:nth-child(6) img { object-position: center 25%; }  /* treatment: show action */
.gallery-item:nth-child(7) img { object-position: center center; } /* implant collage */

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 600; font-size: .88rem; }

/* ─── REVIEWS ─── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 24px; }
.review-card {
  background: var(--bg-light); border-radius: var(--radius);
  padding: 28px; border: 1px solid rgba(13,122,110,.08);
  transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: var(--shadow); }
.review-stars { color: #f0a500; font-size: 1.1rem; margin-bottom: 12px; }
.review-card > p { color: var(--text-muted); font-size: .92rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.review-author strong { display: block; font-size: .9rem; }
.review-author small  { color: var(--text-muted); font-size: .78rem; }

/* ─── APPOINTMENT ─── */
.appt-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.appt-info h2 { font-family:'Playfair Display',serif; font-size: clamp(1.8rem,3vw,2.4rem); color: #fff; margin: 8px 0 16px; }
.appt-info > p { color: #cdf0ea; margin-bottom: 36px; }
.appt-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.appt-detail { display: flex; align-items: flex-start; gap: 16px; }
.detail-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.appt-detail strong { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }
.appt-detail p { color: #cdf0ea; font-size: .9rem; }
.social-row { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  padding: 8px 18px; border-radius: 8px;
  font-size: .85rem; font-weight: 600;
  transition: background var(--transition);
}
.social-btn:hover { background: rgba(255,255,255,.22); }
.appt-form-wrap {
  background: #fff; border-radius: 20px;
  padding: 40px 36px; box-shadow: 0 20px 64px rgba(0,0,0,.15);
}
.appt-form h3 { font-size: 1.3rem; margin-bottom: 28px; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #dde5e8; border-radius: 8px;
  font-size: .95rem; font-family: inherit; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #f9fafb;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,122,110,.1);
  background: #fff;
}
.form-note { text-align: center; font-size: .8rem; color: var(--text-muted); margin-top: 10px; }

/* ─── CONTACT / MAP ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; box-shadow: 0 2px 12px rgba(0,0,0,.05); border: 1px solid rgba(13,122,110,.07); }
.cc-icon { font-size: 1.6rem; flex-shrink: 0; }
.contact-card h4 { font-weight: 700; margin-bottom: 8px; }
.contact-card p  { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }
.hours-table { font-size: .85rem; width: 100%; }
.hours-table td { padding: 3px 8px 3px 0; color: var(--text-muted); }
.hours-table td:first-child { font-weight: 600; color: var(--text); min-width: 90px; }
.hours-table tr.closed td { color: #e05050; }
.connect-links { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.connect-links a { color: var(--teal); font-weight: 600; font-size: .88rem; }
.connect-links a:hover { text-decoration: underline; }
.map-wrap { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.map-cta { text-align: center; margin-top: 16px; }

/* ─── FOOTER ─── */
footer { background: #0d1f1c; color: rgba(255,255,255,.7); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo .logo-name { color: #7ee8d8; }
.footer-brand .logo .logo-sub  { color: rgba(255,255,255,.5); }
.footer-brand > p { font-size: .88rem; margin: 16px 0 20px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-weight: 700; font-size: .85rem;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--teal); color: #fff; }
.footer-col h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: #7ee8d8; }
.footer-contact li { font-size: .88rem; line-height: 1.6; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0; text-align: center; font-size: .82rem; color: rgba(255,255,255,.35);
}
.footer-bottom p + p { margin-top: 4px; }

/* ─── FLOATING CTA ─── */
.floating-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  background: var(--teal); color: #fff;
  padding: 14px 24px; border-radius: 50px;
  font-weight: 700; font-size: .95rem;
  box-shadow: 0 8px 32px rgba(13,122,110,.4);
  display: flex; align-items: center; gap: 8px;
  transition: all var(--transition);
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
}
.floating-cta.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.floating-cta:hover { background: var(--teal-dark); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(13,122,110,.5); }

/* ─── BRANCHES ─── */
.branches-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.branch-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.07); border: 2px solid transparent; transition: all var(--transition); }
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.branch-card.featured-branch { border-color: var(--teal); }
.branch-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--bg-light); }
.branch-badge { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.branch-badge.highlight { color: var(--teal); }
.branch-rating { font-size: .9rem; font-weight: 700; color: var(--text); }
.branch-rating span { font-size: .8rem; font-weight: 400; color: var(--text-muted); }
.branch-img img { width: 100%; height: 200px; object-fit: cover; }
.branch-body { padding: 24px; }
.branch-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.branch-tagline { font-size: .85rem; color: var(--teal); font-weight: 600; margin-bottom: 16px; }
.branch-details { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.branch-details li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text-muted); }
.bd-icon { flex-shrink: 0; font-size: 1rem; }
.branch-phone { color: var(--teal); font-weight: 700; font-size: 1rem; }
.branch-services { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.branch-services span { background: var(--teal-light); color: var(--teal); font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.branch-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-teal { border: 2px solid var(--teal); color: var(--teal); background: transparent; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: .9rem; transition: all var(--transition); display: inline-flex; align-items: center; }
.btn-outline-teal:hover { background: var(--teal); color: #fff; }
.compare-bar { display: flex; align-items: center; background: #fff; border-radius: 16px; padding: 20px 28px; box-shadow: 0 2px 16px rgba(0,0,0,.06); border: 1px solid var(--teal-light); gap: 20px; }
.compare-item { flex: 1; }
.compare-item strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.compare-item span { font-size: .83rem; color: var(--text-muted); }
.compare-vs { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 800; flex-shrink: 0; }

/* ─── SERVICE AVAILABILITY TAGS ─── */
.service-img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.service-avail { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.highlight-avail { color: var(--teal); }
.services-note { text-align: center; margin-top: 28px; font-size: .85rem; color: var(--text-muted); }
.services-note a { color: var(--teal); font-weight: 600; }

/* ─── RATINGS SUMMARY ─── */
.ratings-summary { display: flex; align-items: center; background: #fff; border-radius: 16px; box-shadow: 0 2px 16px rgba(0,0,0,.06); margin-bottom: 40px; overflow: hidden; border: 1px solid var(--teal-light); }
.rs-card { flex: 1; padding: 28px 32px; text-align: center; }
.rs-card.featured-rs { background: var(--teal-light); }
.rs-branch { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 8px; }
.rs-score { font-size: 2.4rem; font-weight: 800; color: var(--text); line-height: 1; }
.rs-score span { font-size: 1.2rem; color: #f0a500; }
.rs-count { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }
.rs-sources { font-size: .75rem; color: var(--text-muted); margin-top: 6px; opacity: .7; }
.rs-divider { width: 1px; background: var(--teal-light); align-self: stretch; }

/* ─── REVIEW TABS ─── */
.reviews-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.tab-btn { padding: 8px 20px; border-radius: 999px; border: 2px solid var(--teal-light); background: #fff; color: var(--text-muted); font-weight: 600; font-size: .85rem; cursor: pointer; transition: all var(--transition); }
.tab-btn.active, .tab-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.review-branch-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--teal); background: var(--teal-light); display: inline-block; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.review-branch-tag.b1-tag { color: #085e55; background: #d1f5ef; }
.review-card.hidden { display: none; }

/* ─── APPOINTMENT BRANCH BLOCKS ─── */
.appt-branch-block { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 16px 18px; }
.appt-branch-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.appt-branch-label.highlight-label { color: #a8eddf; }
.appt-cal-btn {
  display: block; width: 100%; margin-top: 14px;
  background: rgba(255,255,255,0.15); color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 8px; padding: 10px 16px;
  font-size: 0.88rem; font-weight: 600; text-align: center;
  transition: background .2s, border-color .2s;
}
.appt-cal-btn:hover { background: rgba(255,255,255,0.25); border-color: #fff; }
.appt-cal-btn--highlight {
  background: rgba(168,237,223,0.2); border-color: #a8eddf; color: #a8eddf;
}
.appt-cal-btn--highlight:hover { background: rgba(168,237,223,0.35); }

/* ─── MAPS GRID ─── */
.maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.map-panel { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.07); }
.map-panel-label { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: .9rem; border-bottom: 1px solid var(--teal-light); }
.mp-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.b1-dot { background: #085e55; }
.b2-dot { background: var(--teal); }
.map-wrap { padding: 0; }
.map-wrap iframe { display: block; }
.map-info { padding: 14px 18px; font-size: .85rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 4px; }
.map-btn { margin-top: 10px; align-self: flex-start; font-size: .85rem; padding: 9px 18px; }

/* ─── CONTACT CARDS ROW ─── */
.contact-cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tel-link { color: var(--teal); font-weight: 700; }
.tel-link:hover { text-decoration: underline; }
.big-tel { font-size: 1.1rem; display: block; margin-top: 4px; }
.closed-text { color: #c0392b; font-weight: 700; font-size: 1.05em; }
.closed { color: #c0392b; font-weight: 700; font-size: 1.05em; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about-grid, .doctor-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1024px) {
  .contact-cards-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .btn-nav, .btn-nav-register, .nav-call-link { display: none; }
  .hamburger { display: flex; }
  .about-grid, .doctor-grid, .appt-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .branches-grid { grid-template-columns: 1fr; }
  .maps-grid { grid-template-columns: 1fr; }
  .contact-cards-row { grid-template-columns: 1fr; }
  .ratings-summary { flex-direction: column; }
  .rs-divider { width: 100%; height: 1px; }
  .compare-bar { flex-direction: column; text-align: center; gap: 12px; }
  .about-img-wrap2 { display: none; }
  .about-badge-card { right: 0; }
  .expertise-card { position: static; margin-top: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 0; justify-content: center; }
  .stat { padding: 12px 16px; }
  .stat-divider { display: none; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px 200px;
  }
  .gallery-item:nth-child(1) { grid-column: 1;     grid-row: 1 / 3; }
  .gallery-item:nth-child(2) { grid-column: 2;     grid-row: 1; }
  .gallery-item:nth-child(3) { grid-column: 2;     grid-row: 2; }
  .gallery-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3; }
  .gallery-item:nth-child(5) { grid-column: 1;     grid-row: 4; }
  .gallery-item:nth-child(6) { grid-column: 2;     grid-row: 4; }
  .gallery-item:nth-child(7) { grid-column: 1 / 3; grid-row: 5; }
  .doctor-img-wrap img { height: auto; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn-lg { width: 100%; text-align: center; }
  .strip-inner { flex-direction: column; gap: 8px; }
  .strip-sep { display: none; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(7, 220px);
  }
  .gallery-item:nth-child(n) { grid-column: 1 !important; grid-row: auto !important; }
  .appt-form-wrap { padding: 24px 20px; }
  .about-features { grid-template-columns: 1fr; }
  .doctor-highlights { grid-template-columns: 1fr; }
}
