/*
Theme Name: Infinity Smiles Dental
Theme URI: https://www.instagram.com/dr.juilees_infinitysmiles/
Author: Dr. Juilee Atul Mestry - Infinity Smiles
Author URI: #
Description: Premium dental clinic WordPress theme for Dr. Juilee Atul Mestry's Infinity Smiles Dental Clinic & Implant Center.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infinitysmiles
Tags: dental, medical, clinic, health, responsive, custom-colors, custom-logo
*/

/* ─── DESIGN TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* Pink brand palette from the image */
  --pink-900: #7a0a3a;
  --pink-800: #a01050;
  --pink-700: #c41e6a;
  --pink-600: #d4256e;
  --pink-500: #e0347a;
  --pink-400: #e8608e;
  --pink-300: #f09db5;
  --pink-200: #f8cdd9;
  --pink-100: #fde8ef;
  --pink-50:  #fff5f8;

  /* Keep these for neutral/dark areas */
  --dark-900: #1a1a2e;
  --dark-800: #2c1a35;

  --neutral-900: #1a1a1a;
  --neutral-800: #2c2c2c;
  --neutral-700: #444444;
  --neutral-600: #5c5c5c;
  --neutral-400: #888888;
  --neutral-300: #b0b0b0;
  --neutral-200: #d8d8d8;
  --neutral-100: #efefef;
  --neutral-50:  #f8f8f8;
  --white: #ffffff;

  --font-display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 4px rgba(196,30,106,.08);
  --shadow-md: 0 4px 20px rgba(196,30,106,.12);
  --shadow-lg: 0 12px 48px rgba(196,30,106,.16);

  --transition: 0.3s ease;
  --max-w: 1180px;
  --section-pad: 90px 0;
}

/* ─── RESET ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--neutral-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--neutral-900);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--neutral-700); }
em { font-style: italic; color: var(--pink-700); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink-600);
  margin-bottom: 0.75rem;
}

/* ─── LAYOUT ─────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-pad); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--neutral-600); font-size: 1.05rem; }

/* ─── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--pink-700) 0%, var(--pink-600) 100%);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(196,30,106,0.3);
  border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,30,106,0.4); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--pink-600);
  color: var(--pink-600);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  background: var(--white);
}
.btn-outline:hover { background: var(--pink-50); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  padding: 13px 28px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn-nav {
  background: linear-gradient(135deg, var(--pink-700), var(--pink-600));
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 3px 12px rgba(196,30,106,0.25);
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,30,106,0.35); }

/* ─── HEADER / NAV ───────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--pink-100);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(196,30,106,0.12); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon { display: flex; align-items: center; }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pink-700);
  line-height: 1.1;
}
.logo-sub {
  font-size: 0.62rem;
  color: var(--neutral-500, #888);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--neutral-700);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--pink-600);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--pink-700); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links .btn-nav::after { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ─── HERO ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fff0f5 0%, #ffe4ef 40%, #fcd0e2 100%);
}
.hero-bg { position: absolute; inset: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(196,30,106,0.88) 0%, rgba(196,30,106,0.55) 50%, rgba(196,30,106,0.08) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  max-width: 660px;
}
.hero-content .eyebrow { color: rgba(255,255,255,0.85); }
.hero-content h1 { color: var(--white); margin: 0.5rem 0 1.25rem; }
.hero-lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.hero-actions .btn-primary { background: var(--white); color: var(--pink-700); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.hero-actions .btn-primary:hover { background: var(--pink-50); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.75); margin-top: 0.3rem; }
.stat-div { width: 1px; height: 48px; background: rgba(255,255,255,0.3); }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem; right: 2.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
}
.hero-scroll span { font-size: 0.7rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); }

/* ─── INFO BAR ───────────────────────────────────────────────────────────────── */
.info-bar {
  background: linear-gradient(135deg, var(--pink-700) 0%, var(--pink-600) 100%);
  padding: 22px 0;
}
.info-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 2.5rem;
  color: var(--white);
}
.info-item svg { opacity: 0.85; flex-shrink: 0; }
.info-item div { display: flex; flex-direction: column; }
.info-label { font-size: 0.68rem; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.1em; }
.info-val { font-size: 0.93rem; font-weight: 600; }
.info-sep { width: 1px; height: 40px; background: rgba(255,255,255,0.25); }

/* ─── ABOUT PREVIEW ──────────────────────────────────────────────────────────── */
.about-preview { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-images { position: relative; }
.about-img-main {
  width: 100%; height: 520px;
  object-fit: cover; object-position: top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-sm {
  position: absolute;
  bottom: -2.5rem; right: -2rem;
  width: 200px; height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  top: 2rem; left: -1.5rem;
  background: linear-gradient(135deg, var(--pink-700), var(--pink-600));
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 8px 32px rgba(196,30,106,0.3);
}
.badge-num { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.badge-txt { font-size: 0.7rem; opacity: 0.9; line-height: 1.4; }

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { margin-bottom: 1rem; color: var(--neutral-600); }
.about-features {
  margin: 1.5rem 0 2rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.about-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: var(--neutral-700);
}
.about-features svg { color: var(--pink-600); flex-shrink: 0; }

/* Doctor badge on about */
.doctor-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--pink-50);
  border: 1px solid var(--pink-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.doctor-badge-info strong { display: block; font-size: 1.1rem; color: var(--pink-700); font-weight: 700; }
.doctor-badge-info span { font-size: 0.82rem; color: var(--neutral-600); }
.doctor-badge-tag {
  display: inline-block;
  background: var(--pink-700);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
}

/* ─── SERVICES / TREATMENTS ──────────────────────────────────────────────────── */
.treatments-preview { background: var(--pink-50); }

/* Icon-based services grid (matches image) */
.services-box {
  background: var(--white);
  border: 2px solid var(--pink-300);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.services-box-title {
  text-align: center;
  background: var(--pink-600);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.75rem;
  display: inline-block;
  width: 100%;
}
.services-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}
.service-icon-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--pink-100);
}
.service-icon-item:last-child, .service-icon-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.service-icon-wrap {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--pink-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--pink-600);
  font-size: 1rem;
}
.service-icon-item span { font-size: 0.9rem; font-weight: 500; color: var(--neutral-800); }
.services-box-tagline {
  text-align: center;
  color: var(--pink-600);
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pink-100);
  font-style: italic;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.treatment-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--pink-100);
}
.treatment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.treatment-img-wrap {
  position: relative; overflow: hidden; height: 200px;
}
.treatment-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.treatment-card:hover .treatment-img { transform: scale(1.05); }

.img-change-btn {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 5;
}
.treatment-img-wrap:hover .img-change-btn { opacity: 1; }

.treatment-body { padding: 1.5rem; }
.treatment-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--neutral-900); }
.treatment-body p { font-size: 0.87rem; color: var(--neutral-600); line-height: 1.6; margin-bottom: 1rem; }
.treatment-link { font-size: 0.82rem; font-weight: 600; color: var(--pink-600); }

.section-cta { text-align: center; margin-top: 3rem; }

/* ─── TRUST BADGES (bottom of hero / standalone) ─────────────────────────────── */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--pink-100);
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 1.5rem 2.5rem;
  border-right: 1px solid var(--pink-100);
  flex: 1;
  min-width: 160px;
}
.trust-badge:last-child { border-right: none; }
.trust-badge-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pink-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--pink-600);
}
.trust-badge span { font-size: 0.8rem; font-weight: 500; color: var(--neutral-700); text-align: center; }

/* ─── GALLERY STRIP ──────────────────────────────────────────────────────────── */
.gallery-strip { background: var(--white); }
.gallery-strip .section-header { margin-bottom: 2rem; }
.gallery-scroll { overflow-x: auto; padding-bottom: 1rem; }
.gallery-scroll::-webkit-scrollbar { height: 4px; }
.gallery-scroll::-webkit-scrollbar-track { background: var(--pink-100); }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--pink-400); border-radius: 2px; }
.gallery-track {
  display: flex; gap: 1rem; padding: 0 24px; width: max-content;
}
.gallery-item {
  position: relative; width: 260px; height: 260px;
  border-radius: var(--radius-lg); overflow: hidden; flex-shrink: 0; cursor: pointer;
}
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover .gallery-img { transform: scale(1.06); }
.gallery-change {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,0.55); color: var(--white);
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer; opacity: 0; transition: opacity var(--transition); z-index: 5;
}
.gallery-item:hover .gallery-change { opacity: 1; }

/* ─── TESTIMONIALS ───────────────────────────────────────────────────────────── */
.testimonials { background: var(--pink-50); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--pink-100);
}
.testimonial-card.featured {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 1px var(--pink-400), var(--shadow-md);
}
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial-card p { font-size: 0.92rem; color: var(--neutral-700); line-height: 1.7; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pink-100); color: var(--pink-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700;
}
.testimonial-author strong { display: block; font-size: 0.88rem; color: var(--neutral-900); }
.testimonial-author span { font-size: 0.78rem; color: var(--neutral-500, #777); }

/* ─── CTA BAND ───────────────────────────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--pink-700) 0%, var(--pink-600) 100%); padding: 72px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.8); }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--white); color: var(--pink-700); }
.cta-band .btn-primary:hover { background: var(--pink-50); }

/* Phone CTA */
.phone-cta {
  display: flex; align-items: center; gap: 12px;
  margin-top: 1.25rem;
}
.phone-cta-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--pink-700);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.phone-cta-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--neutral-500, #888); }
.phone-cta-number { font-size: 1.4rem; font-weight: 700; color: var(--pink-700); font-family: var(--font-display); }

/* ─── PAGE HERO ──────────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--pink-700) 0%, var(--pink-800) 100%);
  padding: 56px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); position: relative; }
.page-hero .eyebrow { color: rgba(255,255,255,0.8); }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 520px; margin-top: 1rem; position: relative; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; position: relative; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.4; }

/* ─── TREATMENTS PAGE ────────────────────────────────────────────────────────── */
.treatments-full { background: var(--white); }
.treatments-list { display: flex; flex-direction: column; gap: 5rem; }
.treatment-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  padding-bottom: 5rem; border-bottom: 1px solid var(--pink-100); scroll-margin-top: 100px;
}
.treatment-detail:last-child { border-bottom: none; }
.treatment-detail.reverse { direction: rtl; }
.treatment-detail.reverse > * { direction: ltr; }
.treatment-detail-img-wrap { position: relative; height: 420px; border-radius: var(--radius-lg); overflow: hidden; }
.treatment-detail-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.treatment-detail-img-wrap:hover .treatment-detail-img { transform: scale(1.04); }
.change-img-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background var(--transition); display: flex; align-items: flex-end; justify-content: flex-end; padding: 1rem; }
.treatment-detail-img-wrap:hover .change-img-overlay { background: rgba(0,0,0,0.2); }
.change-img-btn { background: var(--white); color: var(--pink-700); padding: 8px 16px; border-radius: var(--radius-md); font-size: 0.78rem; font-weight: 600; cursor: pointer; border: none; font-family: inherit; opacity: 0; transform: translateY(8px); transition: all var(--transition); }
.treatment-detail-img-wrap:hover .change-img-btn { opacity: 1; transform: translateY(0); }
.treatment-detail-text .eyebrow { color: var(--pink-600); }
.treatment-detail-text h2 { margin: 0.5rem 0 1.25rem; font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.treatment-detail-text p { color: var(--neutral-600); margin-bottom: 1rem; }
.treatment-features { display: flex; flex-direction: column; gap: 0.5rem; margin: 1.5rem 0 2rem; }
.treatment-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--neutral-700); }
.treatment-features .check { width: 18px; height: 18px; border-radius: 50%; background: var(--pink-100); color: var(--pink-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 3px; font-size: 0.65rem; font-weight: 700; }

/* ─── GALLERY PAGE ───────────────────────────────────────────────────────────── */
.gallery-page { background: var(--white); }
.gallery-filter { display: flex; gap: 0.75rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn { padding: 8px 20px; border-radius: var(--radius-pill); border: 1.5px solid var(--neutral-200); font-size: 0.82rem; font-weight: 500; color: var(--neutral-700); cursor: pointer; transition: all var(--transition); background: var(--white); font-family: inherit; }
.filter-btn:hover, .filter-btn.active { background: var(--pink-700); border-color: var(--pink-700); color: var(--white); }
.gallery-masonry { columns: 3; column-gap: 1.25rem; }
.gallery-masonry-item { break-inside: avoid; margin-bottom: 1.25rem; border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; }
.gallery-masonry-item img { width: 100%; display: block; transition: transform 0.4s; }
.gallery-masonry-item:hover img { transform: scale(1.04); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(196,30,106,0); transition: background var(--transition); display: flex; align-items: center; justify-content: center; }
.gallery-masonry-item:hover .gallery-overlay { background: rgba(196,30,106,0.35); }
.gallery-overlay-icon { color: var(--white); opacity: 0; transition: opacity var(--transition); font-size: 2rem; }
.gallery-masonry-item:hover .gallery-overlay-icon { opacity: 1; }

/* ─── ABOUT PAGE ─────────────────────────────────────────────────────────────── */
.about-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-full-img { border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 100px; }
.about-full-img img { width: 100%; object-fit: cover; }
.about-full-text h2 { margin-bottom: 1.25rem; }
.about-full-text p { color: var(--neutral-600); margin-bottom: 1.25rem; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.value-card { background: var(--pink-50); border-radius: var(--radius-md); padding: 1.25rem; border: 1px solid var(--pink-100); }
.value-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--pink-100); display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; }
.value-icon svg { color: var(--pink-700); }
.value-card h4 { color: var(--neutral-900); margin-bottom: 0.4rem; }
.value-card p { font-size: 0.85rem; color: var(--neutral-600); }
.team-section { background: var(--pink-50); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--pink-100); }
.team-img-wrap { height: 280px; overflow: hidden; position: relative; }
.team-img-wrap img { width:100%; height:100%; object-fit: cover; object-position: top; }
.team-info { padding: 1.25rem; }
.team-info h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.team-info .role { font-size: 0.82rem; color: var(--pink-700); font-weight: 600; }
.team-info .qual { font-size: 0.78rem; color: var(--neutral-500, #888); margin-top: 2px; }

/* ─── CONTACT PAGE ───────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 4rem; align-items: start; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--neutral-700); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--pink-200); border-radius: var(--radius-md); font-family: var(--font-body); font-size: 0.9rem; color: var(--neutral-800); background: var(--white); transition: border-color var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--pink-500); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info-wrap { position: sticky; top: 100px; }
.contact-info-card { background: linear-gradient(135deg, var(--pink-700) 0%, var(--pink-800) 100%); border-radius: var(--radius-lg); padding: 2.5rem; color: var(--white); margin-bottom: 1.5rem; }
.contact-info-card h3 { color: var(--white); margin-bottom: 2rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.75rem; align-items: flex-start; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { color: rgba(255,255,255,0.9); }
.contact-info-label { font-size: 0.72rem; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.contact-info-val { font-size: 0.92rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--pink-100); }
.map-embed iframe { width: 100%; height: 280px; border: none; display: block; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.footer { background: var(--dark-900); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer .logo-main { color: var(--pink-300); }
.footer .logo-sub { color: rgba(255,255,255,0.35); }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-link { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all var(--transition); }
.social-link:hover { border-color: var(--pink-400); color: var(--pink-400); }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--pink-300); }
.footer-col p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer-col strong { color: rgba(255,255,255,0.7); }
.footer-bottom { padding: 1.5rem 24px; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.25); }

/* ─── MODALS & LIGHTBOX ──────────────────────────────────────────────────────── */
.img-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 9999; align-items: center; justify-content: center; }
.img-modal.open { display: flex; }
.img-modal-box { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; max-width: 480px; width: 90%; }
.img-modal-box h3 { margin-bottom: 0.5rem; }
.img-modal-box p { color: var(--neutral-600); font-size: 0.9rem; margin-bottom: 1.25rem; }
.img-modal-box input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--pink-200); border-radius: var(--radius-md); font-family: var(--font-body); font-size: 0.9rem; outline: none; margin-bottom: 1rem; }
.img-modal-box input:focus { border-color: var(--pink-500); }
.img-modal-actions { display: flex; gap: 0.75rem; }

.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 10000; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ─── WHATSAPP FLOAT ─────────────────────────────────────────────────────────── */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; background: #25D366; color: var(--white); width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform var(--transition); text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); }

/* ─── WP SPECIFICS ───────────────────────────────────────────────────────────── */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.entry-content p { margin-bottom: 1rem; }
.entry-content h2, .entry-content h3 { margin: 2rem 0 1rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 2rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 2rem; margin-bottom: 1rem; }
.wp-block-image { margin: 2rem 0; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid, .about-page-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-sm { display: none; }
  .about-badge { left: 1rem; }
  .about-full-img { position: static; }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { columns: 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .services-icon-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; top: 74px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 1.5rem; gap: 1.25rem; border-bottom: 1px solid var(--pink-100); box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform var(--transition); z-index: 999; }
  .nav-links.open { transform: translateY(0); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 1rem; }
  .stat-div { display: none; }
  .info-bar-inner { flex-direction: column; gap: 0; }
  .info-sep { width: 80%; height: 1px; }
  .info-item { padding: 12px 1rem; }
  .treatments-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .treatment-detail, .treatment-detail.reverse { grid-template-columns: 1fr; direction: ltr; }
  .gallery-masonry { columns: 1; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-badges { flex-direction: column; }
  .trust-badge { border-right: none; border-bottom: 1px solid var(--pink-100); }
  .services-icon-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-stats .stat { display: none; }
  .hero-stats .stat:first-child { display: flex; }
  .values-grid { grid-template-columns: 1fr; }
  .about-badge { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   INFINITY SMILES v3 — ENHANCED SECTIONS
   Hero Split · Doctor About · Image Services · Instagram Gallery
═══════════════════════════════════════════════════════════════ */

/* ── HEADER REAL LOGO ──────────────────────────────────────── */
.header-logo-img {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* ── HERO SPLIT LAYOUT ─────────────────────────────────────── */
.hero-split {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: none;
  padding-top: 74px;
}

.hero-gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    #fff0f5 0%,
    #fce4ef 30%,
    #f9cfe3 60%,
    #f5b8d3 100%);
  z-index: 0;
}

/* Decorative circles */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.hero-circle-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,30,106,.12) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-circle-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196,30,106,.08) 0%, transparent 70%);
  bottom: -80px; left: 10%;
}
.hero-circle-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(196,30,106,.15) 0%, transparent 70%);
  top: 30%; left: 5%;
}

.hero-split-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 24px;
}

/* LEFT */
.hero-left { display: flex; flex-direction: column; }

.hero-brand-logo {
  height: 64px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 8px rgba(196,30,106,.15));
}

.hero-left h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--neutral-900);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.hero-heading-pink { color: var(--pink-700); display: block; }

.hero-lead {
  font-size: 1.05rem;
  color: var(--neutral-700);
  max-width: 480px;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

/* Service pills on hero */
.hero-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.hero-service-pill {
  background: var(--white);
  border: 1.5px solid var(--pink-200);
  color: var(--pink-800);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(196,30,106,.08);
  transition: all var(--transition);
}
.hero-service-pill:hover {
  background: var(--pink-50);
  border-color: var(--pink-400);
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(196,30,106,.1);
  border: 1px solid var(--pink-100);
  width: fit-content;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pink-700);
  line-height: 1;
}
.stat-label { font-size: 0.72rem; color: var(--neutral-500,#888); margin-top: 0.3rem; }
.stat-div { width: 1px; height: 40px; background: var(--pink-200); }

/* RIGHT — Doctor photo frame */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-doctor-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.hero-doctor-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50% 50% 40% 40% / 30% 30% 50% 50%;
  box-shadow: 0 20px 60px rgba(196,30,106,.25);
  border: 6px solid var(--white);
  display: block;
}

/* Doctor name badge at bottom of photo */
.hero-doctor-badge {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--pink-700), var(--pink-600));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(196,30,106,.35);
  white-space: nowrap;
  min-width: 260px;
}
.hero-doctor-badge strong { display: block; font-size: 1.05rem; font-weight: 700; }
.hero-doctor-badge span  { font-size: 0.78rem; opacity: .85; }
.hero-doctor-badge em    { display: block; font-style: normal; font-size: 0.72rem; margin-top: 4px; background: rgba(255,255,255,.2); border-radius: var(--radius-pill); padding: 2px 12px; }

/* Floating pills */
.hero-float-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 10px 16px;
  box-shadow: 0 8px 32px rgba(196,30,106,.15);
  border: 1px solid var(--pink-100);
  animation: floatBob 3s ease-in-out infinite;
}
.hero-float-pill-1 { top: 15%; left: -2rem; animation-delay: 0s; }
.hero-float-pill-2 { top: 40%; right: -1.5rem; animation-delay: 1.5s; }
.hero-float-icon { font-size: 1.2rem; }
.hero-float-pill strong { display: block; font-size: .88rem; font-weight: 700; color: var(--neutral-900); line-height: 1; }
.hero-float-pill small  { font-size: .7rem; color: var(--neutral-500,#888); }

@keyframes floatBob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ── ABOUT SECTION — Doctor Photo ──────────────────────────── */
.about-photo-wrap {
  position: relative;
  padding-bottom: 2rem;
}

.about-photo-bg-circle {
  position: absolute;
  width: 85%;
  height: 85%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pink-100) 0%, var(--pink-50) 60%, transparent 100%);
  bottom: 0;
  right: 0;
  z-index: 0;
}

.about-img-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: 40% 40% 50% 50% / 30% 30% 40% 40%;
  box-shadow: 0 20px 60px rgba(196,30,106,.2);
  border: 6px solid var(--white);
}

.about-change-btn {
  position: absolute;
  bottom: 3rem;
  right: 1rem;
  z-index: 5;
  background: var(--white);
  color: var(--pink-700);
  border: 1.5px solid var(--pink-300);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition);
  box-shadow: var(--shadow-md);
}
.about-photo-wrap:hover .about-change-btn { opacity: 1; }

.about-badge {
  position: absolute;
  top: 2rem;
  left: -1rem;
  z-index: 5;
  background: linear-gradient(135deg, var(--pink-700), var(--pink-600));
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 8px 32px rgba(196,30,106,.3);
}
.badge-num { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.badge-txt { font-size: 0.68rem; opacity: .9; line-height: 1.4; }

/* Qualification tag */
.about-qual-tag {
  position: absolute;
  bottom: 4rem;
  left: -1rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 10px 16px;
  box-shadow: 0 8px 32px rgba(196,30,106,.15);
  border: 1px solid var(--pink-100);
}
.about-qual-icon { font-size: 1.4rem; }
.about-qual-tag strong { display: block; font-size: .85rem; color: var(--neutral-900); line-height: 1; }
.about-qual-tag small  { font-size: .72rem; color: var(--neutral-500,#888); }

/* Doctor credentials row */
.doctor-credential-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.credential-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
}
.credential-pill-pink {
  background: linear-gradient(135deg, var(--pink-700), var(--pink-600));
  color: var(--white);
}
.credential-pill-outline {
  border: 1.5px solid var(--pink-500);
  color: var(--pink-700);
  background: var(--pink-50);
}

/* ── SERVICE CARDS — Image + hover overlay ─────────────────── */
.treatment-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(196,30,106,.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.treatment-img-wrap:hover .treatment-card-overlay { opacity: 1; }
.treatment-overlay-link {
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
}
.treatment-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--pink-100), var(--pink-50));
  display: flex;
  align-items: center;
  justify-content: center;
}
.treatment-placeholder-icon { font-size: 3rem; }

/* ── INSTAGRAM GALLERY GRID ────────────────────────────────── */
.instagram-gallery-section { background: var(--pink-50); }
.instagram-gallery-section .section-header { margin-bottom: 2.5rem; }

.insta-grid-wrapper {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(196,30,106,.15);
}

.insta-post {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--pink-100);
  cursor: pointer;
}
.insta-post img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.insta-post:hover img { transform: scale(1.08); }

/* Instagram hover overlay */
.insta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,30,106,.75), rgba(100,0,50,.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.insta-post:hover .insta-overlay { opacity: 1; }

.insta-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
}
.insta-overlay-inner span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; }

/* Change button on each insta post */
.insta-change-btn {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(0,0,0,.5);
  color: var(--white);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.insta-post:hover .insta-change-btn { opacity: 1; }

/* Instagram follow bar */
.insta-follow-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 1rem 1.5rem;
  border: 1px solid var(--pink-100);
  border-top: none;
  margin-top: -3px;
}
.insta-follow-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pink-700);
  transition: color var(--transition);
}
.insta-follow-link:hover { color: var(--pink-800); }
.insta-follow-link svg { flex-shrink: 0; }

/* Large feature post (first post spans 2 rows) */
.insta-post:first-child {
  grid-row: span 2;
}
.insta-post:first-child img {
  height: 100%;
  object-position: center;
}

/* ── FOOTER LOGO ───────────────────────────────────────────── */
.footer .header-logo-img {
  filter: brightness(0) invert(1);
  opacity: .85;
}

/* ── RESPONSIVE UPDATES ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-split-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-left { align-items: center; }
  .hero-services-list { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-right { order: -1; }
  .hero-doctor-img { height: 380px; }
  .hero-float-pill-1 { display: none; }
  .hero-float-pill-2 { display: none; }
  .insta-grid { grid-template-columns: repeat(3,1fr); }
  .insta-post:first-child { grid-row: span 1; }
}

@media (max-width: 640px) {
  .hero-left h1 { font-size: 1.8rem; }
  .hero-doctor-img { height: 300px; }
  .hero-doctor-badge { min-width: 200px; padding: .75rem 1.25rem; }
  .insta-grid { grid-template-columns: repeat(2,1fr); }
  .insta-post:nth-child(n+7) { display: none; }
  .about-qual-tag { display: none; }
}


/* ══════════════════════════════════════════════════════════════════════════
   REDESIGN v3 — Glass Header, Hero Carousel, Floating Appointment Section
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --teal-900: #0a2e42;
  --teal-800: #0e4a5f;
  --teal-700: #12607a;
  --teal-600: #1b7f96;
  --teal-500: #2aa0ac;
  --teal-400: #4fc0bd;
  --teal-100: #e6f7f6;
  --gold-500: #b5933a;
  --header-topbar-h: 40px;
  --header-nav-h: 78px;
}

/* ─── SITE HEADER WRAP (fixed) ────────────────────────────────────────────── */
.site-header-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

.topbar {
  height: var(--header-topbar-h);
  background: linear-gradient(90deg, var(--teal-800), var(--teal-600));
  color: rgba(255,255,255,0.95);
  overflow: hidden;
}
.topbar-inner {
  height: var(--header-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.topbar-left { display: flex; align-items: center; gap: 1.75rem; min-width: 0; }
.topbar-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  transition: color .2s ease;
}
.topbar-item svg { flex-shrink: 0; opacity: .9; }
a.topbar-item:hover { color: #fff; text-decoration: underline; }
.topbar-item-address span { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.topbar-right { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }
.topbar-socials { display: flex; align-items: center; gap: 10px; }
.topbar-social {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  transition: all .25s ease;
}
.topbar-social:hover { background: #fff; color: var(--teal-700); transform: translateY(-2px); }
.topbar-appt-btn {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: var(--radius-pill);
  letter-spacing: .02em;
  transition: all .25s ease;
}
.topbar-appt-btn:hover { background: #fff; color: var(--teal-700); }

/* Main nav — always solid white, matching reference */
.header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--neutral-100);
  box-shadow: 0 2px 16px rgba(10,46,66,.06);
}
.site-header-wrap.scrolled .header { box-shadow: 0 4px 24px rgba(10,46,66,.12); }
.nav { height: var(--header-nav-h); }
.header .logo-main { color: var(--teal-700); }

.nav-cta-desktop { display: inline-flex; }
.nav-links-mobile-only { display: none; }

/* nudge page content below the fixed header */
body { padding-top: calc(var(--header-topbar-h) + var(--header-nav-h)); }

@media (max-width: 900px) {
  .topbar-item-address, .topbar-item-email { display: none; }
  .nav-cta-desktop { display: none; }
  .nav-links-mobile-only { display: block; }
}
@media (max-width: 640px) {
  .topbar-left { gap: 1rem; }
}

/* ─── HERO CAROUSEL (Mediax-style: teal gradient, borderless doctor cutout) ── */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, var(--teal-900) 0%, var(--teal-700) 48%, var(--teal-500) 100%);
  margin-top: calc(-1 * (var(--header-topbar-h) + var(--header-nav-h)));
  padding-top: calc(var(--header-topbar-h) + var(--header-nav-h));
}
.hero-carousel-track { position: relative; min-height: 88vh; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transform: translateX(40px);
  transition: opacity .8s ease, transform .8s ease, visibility 0s linear .8s;
  pointer-events: none;
}
.hero-slide.is-active {
  position: relative;
  opacity: 1; visibility: visible;
  transform: translateX(0);
  transition: opacity .8s ease, transform .8s ease;
  pointer-events: auto;
}
.hero-slide-bg-shape { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-diagonal-wedge {
  position: absolute; top: 0; right: -10%;
  width: 65%; height: 140%;
  background: rgba(255,255,255,0.05);
  transform: skewX(-12deg);
}
.hero-dot-grid {
  position: absolute; top: 12%; left: 3%;
  width: 160px; height: 160px;
  background-image: radial-gradient(rgba(255,255,255,.28) 1.6px, transparent 1.6px);
  background-size: 18px 18px;
  opacity: .55;
}
.hero-dot-grid-2 { top: auto; left: auto; bottom: 8%; right: 4%; width: 120px; height: 120px; opacity: .35; }
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
}
.hero-ring-1 { width: 420px; height: 420px; top: -120px; right: 8%; }
.hero-ring-2 { width: 260px; height: 260px; bottom: -80px; right: 22%; border-color: rgba(255,255,255,0.1); }

.hero-slide-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: end;
  gap: 2rem;
  width: 100%;
}
.hero-slide-content { padding-bottom: 3rem; }
.hero-slide-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.1rem;
  opacity: 0; transform: translateY(14px);
}
.hero-slide-heading {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  margin-bottom: 1.2rem;
  opacity: 0; transform: translateY(18px);
}
.hero-slide-heading em { font-style: normal; color: var(--teal-400); text-shadow: 0 0 24px rgba(79,192,189,.4); }
.hero-slide-desc {
  color: rgba(255,255,255,.82);
  font-size: 1.02rem;
  max-width: 460px;
  margin-bottom: 2.1rem;
  opacity: 0; transform: translateY(18px);
}
.hero-slide-actions { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; transform: translateY(18px); }
.hero-slide.is-active .hero-slide-eyebrow,
.hero-slide.is-active .hero-slide-heading,
.hero-slide.is-active .hero-slide-desc,
.hero-slide.is-active .hero-slide-actions {
  opacity: 1; transform: translateY(0);
  transition: opacity .7s ease .25s, transform .7s ease .25s;
}
.hero-slide.is-active .hero-slide-heading { transition-delay: .35s; }
.hero-slide.is-active .hero-slide-desc { transition-delay: .45s; }
.hero-slide.is-active .hero-slide-actions { transition-delay: .55s; }

/* Hero buttons — solid rounded-rect + outline, matching reference */
.btn-hero-solid {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pink-600);
  color: #fff;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: .88rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  transition: all .25s ease;
}
.btn-hero-solid:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.3); background: var(--pink-700); }
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,.7);
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: .88rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
  transition: all .25s ease;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Doctor cutout — no frame, no border, bleeds against the gradient */
.hero-slide-media { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 100%; min-height: 480px; }
.hero-cutout-img {
  max-width: 100%;
  height: 92%;
  max-height: 640px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  display: block;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.35));
}
.hero-slide-emoji-cutout {
  font-size: 11rem;
  line-height: 1;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.35));
  animation: illoBob 4s ease-in-out infinite;
}
@keyframes illoBob { 0%,100%{transform: translateY(0);} 50%{transform: translateY(-16px);} }

/* Slider controls */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all .25s ease;
  backdrop-filter: blur(6px);
}
.hero-arrow:hover { background: var(--pink-600); border-color: var(--pink-600); transform: translateY(-50%) scale(1.06); }
.hero-arrow-prev { left: 1.5rem; }
.hero-arrow-next { right: 1.5rem; }

.hero-dots {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none; cursor: pointer;
  transition: all .3s ease;
}
.hero-dot.is-active { background: var(--pink-400); width: 28px; border-radius: var(--radius-pill); }

@media (max-width: 900px) {
  .hero-carousel-track { min-height: auto; }
  .hero-slide { position: relative; }
  .hero-slide-inner { grid-template-columns: 1fr; text-align: center; padding: 5rem 0 2rem; gap: 1.5rem; align-items: center; }
  .hero-slide-content { padding-bottom: 0; }
  .hero-slide-desc { margin-left: auto; margin-right: auto; }
  .hero-slide-actions { justify-content: center; }
  .hero-slide-media { min-height: 300px; }
  .hero-cutout-img { height: 300px; }
  .hero-slide-emoji-cutout { font-size: 6rem; }
  .hero-arrow { display: none; }
}

/* ─── APPOINTMENT BOOKING BAR (Mediax-style single row, overlapping hero) ─── */
.appt-section { position: relative; padding: 0 0 5rem; margin-top: -2.75rem; z-index: 20; }
.appt-bar {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(10,46,66,.18);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.appt-bar-title { flex-shrink: 0; padding-right: 1.5rem; border-right: 1px solid var(--neutral-100); }
.appt-bar-eyebrow { display: block; font-size: .8rem; font-weight: 600; color: var(--teal-600); text-transform: uppercase; letter-spacing: .06em; }
.appt-bar-title h2 { font-size: 1.4rem; margin: 0; color: var(--teal-900); white-space: nowrap; }

.appt-bar-form { flex: 1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; row-gap: 1.1rem; }
.appt-bar-field { display: flex; flex-direction: column; gap: 4px; min-width: 118px; flex: 1; }
.appt-bar-field label { font-size: .7rem; font-weight: 600; color: var(--neutral-500,#888); text-transform: uppercase; letter-spacing: .04em; }
.appt-bar-field input,
.appt-bar-field select {
  border: none;
  border-bottom: 1.5px solid var(--neutral-200);
  border-radius: 0;
  padding: 4px 2px 6px;
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--neutral-800);
  background: transparent;
  transition: border-color .2s ease;
  width: 100%;
}
.appt-bar-field input::placeholder { color: var(--neutral-400,#a8a8a8); }
.appt-bar-field input:focus,
.appt-bar-field select:focus { outline: none; border-color: var(--teal-500); }
.appt-bar-divider { width: 1px; align-self: stretch; background: var(--neutral-100); flex-shrink: 0; }
.appt-bar-divider-wide { display: none; }
.appt-bar-field-more { display: none; }

.appt-bar-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-700));
  color: #fff;
  padding: 15px 28px;
  border-radius: 9px;
  font-weight: 700; font-size: .86rem;
  text-transform: uppercase; letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(18,96,122,.3);
  transition: transform .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.appt-bar-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(18,96,122,.38); }
.appt-form-status { font-size: .85rem; margin-top: .75rem; padding: 0 2rem; }
.appt-form-status.success { color: #187a4c; }
.appt-form-status.error { color: #c4271e; }

@media (max-width: 1180px) {
  .appt-bar-field-more { display: flex; }
  .appt-bar-divider-wide { display: block; }
}
@media (max-width: 980px) {
  .appt-bar { flex-direction: column; align-items: stretch; padding: 1.75rem; }
  .appt-bar-title { border-right: none; border-bottom: 1px solid var(--neutral-100); padding: 0 0 1rem; }
  .appt-bar-form { flex-direction: column; align-items: stretch; }
  .appt-bar-divider, .appt-bar-divider-wide { display: none; }
  .appt-bar-field { min-width: 100%; }
  .appt-bar-btn { width: 100%; justify-content: center; }
}

/* ─── TRUST INDICATOR ROW (icon + text, no cards — matches reference) ────── */
.appt-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.25rem;
}
.appt-trust-item {
  display: flex; align-items: flex-start; gap: 14px;
  opacity: 0; transform: translateY(20px);
}
.appt-trust-item.is-visible { opacity: 1; transform: translateY(0); }
.appt-trust-icon {
  width: 48px; height: 48px; border-radius: 12px;
  flex-shrink: 0;
  background: var(--teal-100);
  color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.appt-trust-item:hover .appt-trust-icon { background: var(--teal-600); color: #fff; transform: translateY(-3px); }
.appt-trust-item h4 { font-size: .96rem; margin-bottom: .3rem; color: var(--teal-900); }
.appt-trust-item p { font-size: .82rem; color: var(--neutral-500,#888); margin: 0; }

@media (max-width: 900px) { .appt-trust-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .appt-trust-row { grid-template-columns: 1fr; } }

/* Generic scroll-reveal helper used by main.js */
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
