/* =========================================================
   Dant Aarogya Hospital — Brand Design System
   Palette from logo: warm cream + teal + coral-red cross
   ========================================================= */

:root {
  --teal: #1A9598;
  --teal-deep: #0E6E70;
  --teal-darker: #074A4C;
  --teal-soft: #B8DDDE;
  --coral: #E73E5A;
  --coral-deep: #C82A45;
  --coral-soft: #FAD0D7;
  --bg: #FAF7F0;
  --bg-alt: #F0EBE0;
  --bg-warm: #F5EFE3;
  --white: #FFFFFF;
  --ink: #102E2F;
  --ink-soft: #4A5E5F;
  --line: #DCD5C4;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 20px -8px rgba(14, 110, 112, 0.18);
  --shadow: 0 20px 60px -20px rgba(14, 110, 112, 0.28);
  --shadow-lg: 0 30px 80px -25px rgba(14, 110, 112, 0.4);
  --shadow-coral: 0 20px 50px -15px rgba(231, 62, 90, 0.4);
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* PRELOADER */
.preloader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: grid; place-items: center;
  /* Auto-fade out after 1 second */
  animation: preloaderHide 1.2s ease 0.6s forwards;
}
@keyframes preloaderHide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.preloader.hidden {
  display: none !important;
}
.preloader-inner { text-align: center; }
.tooth-loader {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  position: relative;
}
.tooth-loader::before {
  content: '🦷';
  font-size: 64px;
  display: block;
  animation: tooth-bounce 1.2s ease-in-out infinite;
}
.tooth-loader::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 4px;
  background: var(--teal);
  border-radius: 100px;
  animation: tooth-shadow 1.2s ease-in-out infinite;
}
.preloader-text {
  font-family: var(--font-display);
  color: var(--teal-deep);
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
}
.preloader-text .red { color: var(--coral); }
@keyframes tooth-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes tooth-shadow {
  0%, 100% { width: 50px; opacity: 0.4; }
  50% { width: 30px; opacity: 0.15; }
}

/* SCROLL PROGRESS */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  z-index: 9998;
  transition: width .1s linear;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--teal-darker);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--coral); }
.italic-serif { font-style: italic; font-family: var(--font-display); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.btn:hover::before { transform: translateX(100%); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-coral);
}
.btn-outline {
  background: transparent;
  color: var(--teal-darker);
  border: 1.5px solid var(--teal-darker);
}
.btn-outline:hover { background: var(--teal-darker); color: var(--bg); }
.btn-arrow { transition: transform .25s ease; display: inline-block; }
.btn:hover .btn-arrow { transform: translate(4px, -4px); }

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header.scrolled {
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(14, 110, 112, 0.08);
  padding: 8px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img {
  height: 56px; width: auto;
  transition: transform .3s ease;
}
.site-header.scrolled .logo img { height: 46px; }
.logo:hover img { transform: rotate(-3deg) scale(1.05); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong {
  font-family: var(--font-display);
  color: var(--teal-deep);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.logo-text small {
  color: var(--coral);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  transition: color .2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--coral);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: 0.88rem; }
.menu-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--teal-darker);
}

/* HERO */
.hero { position: relative; padding: 170px 0 100px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { margin: 22px 0 24px; }
.hero h1 .accent {
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 8px;
  background: var(--coral-soft);
  z-index: -1;
  border-radius: 100px;
  animation: highlight-grow 1s ease .8s both;
}
@keyframes highlight-grow {
  from { width: 0; }
  to { width: 100%; }
}
.hero p.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-meta div .num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--teal-darker);
  font-weight: 500;
  line-height: 1;
}
.hero-meta div .num .plus { color: var(--coral); }
.hero-meta div .lbl {
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  margin-top: 6px;
}
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-soft) 0%, var(--teal-deep) 100%);
  box-shadow: var(--shadow-lg);
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1606811971618-4486d14f3f99?w=900&q=80') center/cover;
  opacity: 0.85;
}
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14, 110, 112, 0.4), transparent);
}
.hero-badge {
  position: absolute;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: badge-pop .8s cubic-bezier(.34,1.56,.64,1) 1s both;
}
.hero-badge.b1 { top: 30px; right: -30px; }
.hero-badge.b2 { bottom: 30px; left: -40px; animation-delay: 1.2s; }
@keyframes badge-pop {
  from { opacity: 0; transform: scale(.7); }
  to { opacity: 1; transform: scale(1); }
}
.hero-badge .icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--coral-soft);
  display: grid; place-items: center;
  font-size: 1.3rem;
}
.hero-badge .text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  display: block;
  color: var(--teal-darker);
}
.hero-badge .text small { font-size: 0.78rem; color: var(--ink-soft); }
.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}
.shape-1 {
  width: 380px; height: 380px;
  background: var(--coral-soft);
  top: -100px; right: -100px;
  animation: float 12s ease-in-out infinite;
}
.shape-2 {
  width: 280px; height: 280px;
  background: var(--teal-soft);
  bottom: -80px; left: -80px;
  animation: float 10s ease-in-out infinite reverse;
}
.shape-3 {
  width: 200px; height: 200px;
  background: var(--coral-soft);
  top: 50%; left: 30%;
  animation: float 14s ease-in-out infinite;
  opacity: 0.25;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

/* TRUST MARQUEE */
.trust-marquee {
  margin-top: 60px;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 25s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
  white-space: nowrap;
}
.marquee-item span { font-size: 1.2rem; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* SECTIONS */
section { padding: 100px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { margin: 16px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* BOOKING */
.booking {
  background: var(--teal-darker);
  color: var(--bg);
  border-radius: var(--radius-lg);
  margin: 40px auto;
  max-width: 1180px;
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.booking::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 62, 90, 0.35), transparent 70%);
  top: -200px; right: -100px;
  animation: pulse-glow 4s ease-in-out infinite;
}
.booking::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 149, 152, 0.4), transparent 70%);
  bottom: -150px; left: -50px;
  animation: pulse-glow 5s ease-in-out infinite reverse;
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.7; }
}
.booking > * { position: relative; z-index: 2; }
.booking h2, .booking .eyebrow { color: var(--bg); }
.booking .eyebrow { color: var(--coral-soft); }
.booking .eyebrow::before { background: var(--coral-soft); }
.booking h2 { font-size: 2.6rem; margin: 14px 0 18px; }
.booking p { color: rgba(250, 247, 240, 0.75); margin-bottom: 28px; }
.booking-perks { list-style: none; display: grid; gap: 12px; }
.booking-perks li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.96rem;
}
.booking-perks li::before {
  content: '✓';
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  font-weight: 700;
}
.booking-form {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.3);
}
.booking-form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.booking-form p.fp { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(26, 149, 152, 0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease, border-color .4s ease;
  position: relative;
  overflow: hidden;
  display: block;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}
.service-card::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--teal-soft);
  top: -100px; right: -100px;
  opacity: 0;
  transition: opacity .4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 0.3; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  font-size: 2.2rem;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--bg-alt);
  display: grid; place-items: center;
  margin-bottom: 22px;
  transition: transform .4s ease, background .4s ease;
}
.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.1);
  background: var(--coral-soft);
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 18px; }
.service-card .more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease, color .2s ease;
}
.service-card:hover .more { gap: 12px; color: var(--coral); }

/* HOW IT WORKS */
.how-section { background: var(--bg-alt); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-num {
  width: 80px; height: 80px;
  margin: 0 auto 22px;
  background: var(--bg);
  border: 2px solid var(--coral);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--teal-darker);
  font-style: italic;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.step:hover .step-num {
  transform: scale(1.1) rotate(-5deg);
  background: var(--coral);
  color: var(--white);
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: 0.93rem; color: var(--ink-soft); }

/* DOCTOR */
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}
.doctor-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, var(--bg-alt), var(--coral-soft));
  box-shadow: var(--shadow);
}
.doctor-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.doctor-img:hover img { transform: scale(1.05); }
.doctor-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--bg);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.doctor-tag strong {
  display: block;
  font-family: var(--font-display);
  color: var(--teal-darker);
}
.doctor-tag small { font-size: 0.82rem; color: var(--ink-soft); }
.doctor-info h2 { margin: 16px 0 18px; }
.doctor-info p { color: var(--ink-soft); margin-bottom: 14px; }
.doctor-creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}
.cred {
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: 12px;
  transition: transform .3s ease, background .3s ease;
}
.cred:hover { transform: translateY(-4px); background: var(--teal-soft); }
.cred strong {
  display: block;
  font-family: var(--font-display);
  color: var(--teal-darker);
  font-size: 1.4rem;
}
.cred small { font-size: 0.84rem; color: var(--ink-soft); }

/* STATS COUNTER */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-darker) 100%);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(231, 62, 90, 0.18);
  filter: blur(80px);
  top: -100px; right: -100px;
}
.stats-grid-public {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.stat-block { text-align: center; }
.stat-block .counter {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--bg);
}
.stat-block .counter .plus,
.stat-block .counter .star { color: var(--coral); }
.stat-block .lbl {
  margin-top: 10px;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.7);
}

/* TESTIMONIALS */
.testimonials { background: var(--bg-warm); }
.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .4s ease, box-shadow .4s ease;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi-card .quote {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 6px;
  opacity: 0.4;
}
.testi-card .stars {
  color: #F4B400;
  margin-bottom: 14px;
  font-size: 1rem;
  letter-spacing: 0.1em;
}
.testi-card p {
  font-size: 0.96rem;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 22px;
  line-height: 1.7;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testi-author .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal-soft);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--teal-darker);
  font-weight: 600;
}
.testi-author strong {
  display: block;
  font-family: var(--font-display);
  color: var(--teal-darker);
  font-size: 1.05rem;
}
.testi-author small { font-size: 0.82rem; color: var(--ink-soft); }

/* AWARDS */
.awards-section { background: var(--teal-darker); color: var(--bg); }
.awards-section h2 { color: var(--bg); }
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.award {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.award:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
  border-color: var(--coral);
}
.award .trophy {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform .4s ease;
}
.award:hover .trophy { transform: rotate(-15deg) scale(1.2); }
.award strong {
  display: block;
  font-family: var(--font-display);
  color: var(--bg);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.award small { color: rgba(250,247,240,0.65); font-size: 0.85rem; }

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .cap {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 74, 76, 0.92));
  color: var(--bg);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  font-size: 0.92rem;
  opacity: 0;
  transition: opacity .35s ease;
}
.gallery-item:hover .cap { opacity: 1; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--teal-darker);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color .2s ease;
}
.faq-q:hover { color: var(--coral); }
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--teal-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--teal-darker);
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--coral);
  color: var(--white);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 28px 22px; color: var(--ink-soft); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 400px; }

/* CONTACT */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}
.contact-info h2 { margin-bottom: 18px; }
.contact-info p { color: var(--ink-soft); margin-bottom: 30px; }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border: none; }
.contact-item .ci-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid; place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .3s ease, background .3s ease;
}
.contact-item:hover .ci-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--coral-soft);
}
.contact-item strong {
  display: block;
  color: var(--teal-darker);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.contact-item span { font-size: 0.92rem; color: var(--ink-soft); }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  min-height: 400px;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.social-row { display: flex; gap: 14px; margin-top: 20px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid; place-items: center;
  font-size: 1rem;
  color: var(--teal-darker);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.social-row a:hover {
  background: var(--coral);
  color: var(--white);
  transform: translateY(-3px) rotate(-5deg);
}

/* FLOATING ACTION BUTTONS */
.fab-wrap {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .25s ease;
  position: relative;
}
.fab:hover { transform: scale(1.1); }
.fab.whatsapp { background: #25D366; }
.fab.call { background: var(--coral); }
.fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  animation: fab-pulse 2s ease-in-out infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* FOOTER */

/* FLASH */
.flash {
  position: fixed;
  top: 90px; right: 24px;
  z-index: 200;
  max-width: 380px;
  padding: 16px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 0.94rem;
  font-weight: 500;
  animation: slide-in .4s ease, fade-out .4s ease 4.6s forwards;
}
.flash.success { background: var(--teal); color: var(--bg); }
.flash.error { background: var(--coral); color: var(--white); }
@keyframes slide-in { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fade-out { to { opacity: 0; transform: translateY(-10px); } }

/* REVEAL ANIMATIONS */
/* Respect users who prefer reduced motion - everything visible instantly */
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none !important; }
  .fade-up, .fade-left, .fade-right, .zoom-in,
  .stagger-grid > *, .clip-reveal, .text-reveal .word {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ABSOLUTE GUARANTEE — all sections always visible, no matter what */
.fade-up, .fade-left, .fade-right, .zoom-in,
.fade-up.visible, .fade-left.visible, .fade-right.visible, .zoom-in.visible,
.stagger-grid > *, .stagger-grid.visible > *,
.clip-reveal, .clip-reveal.visible,
.text-reveal, .text-reveal .word, .text-reveal.visible .word {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
  visibility: visible !important;
}

/* INNER PAGE */
.inner-hero {
  padding: 160px 0 70px;
  background: var(--bg-alt);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.inner-hero::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: var(--coral-soft);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  top: -100px; right: -100px;
}
.inner-hero h1 { margin: 14px 0; position: relative; }
.inner-hero p { color: var(--ink-soft); max-width: 600px; margin: 0 auto; position: relative; }
.crumb { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; position: relative; }
.crumb a { color: var(--teal); }

/* SERVICE DETAIL */
.svc-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.svc-icon-big {
  font-size: 4rem;
  width: 100px; height: 100px;
  border-radius: 24px;
  background: var(--bg-alt);
  display: grid; place-items: center;
  margin-bottom: 28px;
  animation: icon-bob 3s ease-in-out infinite;
}
@keyframes icon-bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(-3deg); }
}
.svc-detail h1 { font-size: 3rem; margin-bottom: 18px; }
.svc-detail .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  font-style: italic;
  font-family: var(--font-display);
}
.svc-detail .desc { color: var(--ink); line-height: 1.8; }
.svc-side {
  background: var(--bg-alt);
  padding: 36px;
  border-radius: var(--radius);
  position: sticky;
  top: 110px;
}
.svc-side h3 { margin-bottom: 16px; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-grid, .doctor-grid, .booking, .contact-section, .svc-detail {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-visual { aspect-ratio: 3/4; max-width: 500px; margin: 0 auto; }
  .hero-badge.b1, .hero-badge.b2 { right: 16px; left: auto; }
  .hero-badge.b2 { bottom: 16px; left: 16px; right: auto; }
  .booking { padding: 40px 28px; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-track { grid-template-columns: 1fr; }
  .stats-grid-public { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-links {
    position: fixed;
    top: 70px; right: -100%;
    flex-direction: column;
    background: var(--bg);
    padding: 30px;
    width: 280px;
    height: calc(100vh - 70px);
    box-shadow: var(--shadow);
    transition: right .35s ease;
    gap: 20px;
    z-index: 1000;
    pointer-events: auto;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links a { pointer-events: auto !important; opacity: 1 !important; filter: none !important; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .logo-text { display: none; }
  section { padding: 70px 0; }
  .hero { padding: 120px 0 70px; }
  .fab-wrap { right: 16px; bottom: 16px; }
  .fab { width: 52px; height: 52px; font-size: 1.3rem; }
}
@media (max-width: 600px) {
  .how-grid, .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 24px; flex-wrap: wrap; }
  .doctor-creds { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   v2 ADVANCED ANIMATIONS
   ========================================================= */

/* Cursor follower (subtle dot trail) */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity .25s ease, transform .15s cubic-bezier(.2,.9,.4,1.1), width .2s, height .2s;
}
.cursor-dot.active { opacity: 0.7; }
.cursor-dot.hover { width: 28px; height: 28px; opacity: 0.5; }
@media (max-width: 768px), (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* Magnetic button hover (subtle pull-toward-cursor) */
.magnetic { transition: transform .2s cubic-bezier(.2,.9,.4,1.1); }

/* Tilt card on hover (pseudo 3D) */
.tilt {
  transition: transform .3s ease, box-shadow .3s ease;
  transform-style: preserve-3d;
}
.service-card { transform-style: preserve-3d; perspective: 1000px; }

/* Ripple on click */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim .6s linear;
  background: rgba(255,255,255,0.5);
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* Word-by-word text reveal */
.text-reveal { display: inline; }
.text-reveal .word { display: inline-block; }

/* Gradient shimmer text (for big headings) */
.shimmer-text {
  background: linear-gradient(90deg, var(--teal-darker) 0%, var(--coral) 50%, var(--teal-darker) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Floating element with rotation */
.float-rotate {
  animation: float-rotate 8s ease-in-out infinite;
}
@keyframes float-rotate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(2deg); }
  50% { transform: translateY(0) rotate(0deg); }
  75% { transform: translateY(10px) rotate(-2deg); }
}

/* Stagger grid — children visible by default, force visibility above */
.stagger-grid > * { transition: none; }
.stagger-grid.visible > *:nth-child(1) { transition-delay: 0ms; }

/* Clip-reveal — visible by default, force visibility above */
.clip-reveal { transition: none; }

/* Tag chips */
.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 36px;
  justify-content: center;
}
.tag-chip {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
  transition: all .25s ease;
  cursor: pointer;
}
.tag-chip:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
  transform: translateY(-2px);
}
.tag-chip.active {
  background: var(--teal-darker);
  color: var(--bg);
  border-color: var(--teal-darker);
}

/* Awards page hero pattern */
.awards-hero {
  background: linear-gradient(135deg, var(--teal-darker) 0%, var(--teal) 100%);
  color: var(--bg);
  padding: 160px 0 90px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.awards-hero::before, .awards-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.awards-hero::before {
  width: 350px; height: 350px;
  background: rgba(231, 62, 90, 0.4);
  top: -100px; right: -100px;
  animation: awards-blob 8s ease-in-out infinite;
}
.awards-hero::after {
  width: 300px; height: 300px;
  background: rgba(184, 221, 222, 0.3);
  bottom: -100px; left: -50px;
  animation: awards-blob 10s ease-in-out infinite reverse;
}
@keyframes awards-blob {
  0%, 100% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.2) translate(20px, -20px); }
}
.awards-hero > * { position: relative; z-index: 2; }
.awards-hero h1 { color: var(--bg); }
.awards-hero p { color: rgba(250,247,240,0.8); max-width: 600px; margin: 0 auto; }
.awards-hero .eyebrow { color: var(--coral-soft); }
.awards-hero .eyebrow::before { background: var(--coral-soft); }

/* Awards card big version */
.awards-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.award-big {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}
.award-big::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: linear-gradient(to bottom, var(--coral), var(--teal));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s ease;
}
.award-big:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.award-big:hover::before { transform: scaleY(1); }
.award-big .ico-big {
  font-size: 3rem;
  margin-bottom: 18px;
  display: inline-block;
  transition: transform .4s ease;
}
.award-big:hover .ico-big { transform: rotate(-12deg) scale(1.15); }
.award-big h3 { color: var(--teal-darker); margin-bottom: 6px; }
.award-big .source {
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.award-big p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.7; }

/* Custom page content */
.page-hero {
  padding: 160px 0 80px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p.subtitle {
  font-size: 1.2rem;
  color: var(--ink-soft);
  font-style: italic;
  font-family: var(--font-display);
  max-width: 700px;
}
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 28px;
  font-size: 1.05rem;
  line-height: 1.85;
}
.page-content p { margin-bottom: 1.2em; color: var(--ink); }
.page-content h2, .page-content h3 {
  margin: 1.6em 0 0.6em;
  color: var(--teal-darker);
}
.page-content h2 { font-size: 2rem; }
.page-content h3 { font-size: 1.5rem; }
.page-content ul, .page-content ol {
  margin: 1em 0 1.4em 1.6em;
  color: var(--ink);
}
.page-content li { margin-bottom: 0.5em; }
.page-content strong { color: var(--teal-darker); font-weight: 600; }
.page-content a { color: var(--coral); text-decoration: underline; }

/* PAY page */
.pay-wrap {
  min-height: 100vh;
  padding: 120px 28px 60px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.pay-card {
  width: 100%;
  max-width: 520px;
  background: var(--white);
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pay-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
}
.pay-card .pay-logo {
  height: 56px;
  margin: 0 auto 16px;
  display: block;
}
.pay-card h1 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}
.pay-card .pay-summary {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 16px;
  margin: 22px 0;
  text-align: left;
  font-size: 0.92rem;
}
.pay-card .pay-summary div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}
.pay-card .pay-summary .lbl { color: var(--ink-soft); }
.pay-card .pay-summary .val { font-weight: 600; color: var(--teal-darker); }
.pay-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--coral);
  margin: 14px 0;
  line-height: 1;
}
.pay-qr {
  width: 220px;
  height: 220px;
  margin: 18px auto;
  border: 6px solid var(--bg-alt);
  border-radius: 16px;
  background: white;
  padding: 8px;
}
.pay-qr img { width: 100%; height: 100%; }
.pay-instructions {
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: #FFF8E7;
  border: 1px solid #F5E5B0;
  border-radius: 10px;
  padding: 14px;
  text-align: left;
  margin: 16px 0;
}
.pay-instructions strong { color: var(--teal-darker); }
.utr-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 14px;
}
.utr-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(26, 149, 152, 0.15);
}
.upi-deeplink-row {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.upi-app-btn {
  flex: 1;
  min-width: 100px;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1.5px solid var(--line);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--teal-darker);
  text-decoration: none;
  transition: all .2s ease;
  cursor: pointer;
}
.upi-app-btn:hover {
  background: var(--teal-darker);
  color: var(--bg);
  transform: translateY(-2px);
}
.pay-card .small-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 16px;
}

.pay-success {
  text-align: center;
  padding: 60px 30px;
}
.success-circle {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  color: white;
  font-size: 3rem;
  animation: success-pop .7s cubic-bezier(.34,1.56,.64,1);
}
@keyframes success-pop {
  from { transform: scale(0); }
}

/* Booking visual highlight on view-awards button */
.view-all-btn-wrap {
  text-align: center;
  margin-top: 50px;
}

/* =========================================================
   v3 — Live Chat, Plans, Blog, Auth, Account, Dev Credit
   ========================================================= */

/* ---------- LIVE CHAT WIDGET ---------- */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  font-family: var(--font-body);
}
.chat-bubble {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(231, 62, 90, 0.4), 0 4px 10px rgba(0,0,0,0.1);
  display: grid; place-items: center;
  color: white; font-size: 1.7rem;
  position: relative;
  transition: transform .25s cubic-bezier(.2,.9,.4,1.1), box-shadow .25s ease;
  animation: chat-pulse 3s ease-in-out infinite;
}
.chat-bubble:hover { transform: scale(1.08) rotate(-6deg); }
.chat-bubble.open { transform: scale(0.9); }
@keyframes chat-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(231, 62, 90, 0.4), 0 4px 10px rgba(0,0,0,0.1); }
  50% { box-shadow: 0 8px 28px rgba(231, 62, 90, 0.4), 0 4px 10px rgba(0,0,0,0.1), 0 0 0 14px rgba(231, 62, 90, 0.12); }
}
.chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--teal-darker);
  color: white;
  border-radius: 100px;
  padding: 2px 7px;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid white;
  min-width: 20px;
  text-align: center;
}
.chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: min(380px, calc(100vw - 36px));
  height: 540px;
  max-height: calc(100vh - 120px);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.2,.9,.4,1.1), opacity .3s ease;
}
.chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.chat-header {
  background: linear-gradient(135deg, var(--teal-darker) 0%, var(--teal) 100%);
  color: white;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header strong { display: block; font-size: 1rem; font-family: var(--font-display); font-weight: 500; }
.chat-header small { display: block; font-size: 0.8rem; opacity: 0.85; margin-top: 2px; }
.chat-close {
  background: rgba(255,255,255,0.15);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background .2s ease;
}
.chat-close:hover { background: rgba(255,255,255,0.25); }
.chat-start { padding: 24px 20px; overflow-y: auto; }
.chat-greeting {
  background: var(--bg-alt);
  padding: 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  margin-bottom: 18px;
  color: var(--ink);
  line-height: 1.5;
}
.chat-field { margin-bottom: 14px; }
.chat-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.chat-field input, .chat-field select {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.chat-field input:focus, .chat-field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 149, 152, 0.12);
}
.chat-conversation {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}
.chat-msg {
  max-width: 80%;
  padding: 9px 14px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.45;
  word-wrap: break-word;
  animation: msg-in .25s ease-out;
}
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.chat-msg.system {
  background: #FFF8E7;
  color: #6B5B20;
  align-self: center;
  font-size: 0.82rem;
  font-style: italic;
  border-radius: 14px;
  text-align: center;
  max-width: 90%;
}
.chat-msg.user {
  background: var(--coral);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg.admin {
  background: var(--white);
  color: var(--ink);
  align-self: flex-start;
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.chat-msg-time {
  font-size: 0.68rem;
  opacity: 0.7;
  margin-top: 3px;
  display: block;
}
.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.chat-input-row input {
  flex: 1;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.chat-input-row input:focus {
  outline: none;
  border-color: var(--teal);
}
.chat-input-row button {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--coral);
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform .2s ease;
}
.chat-input-row button:hover { transform: scale(1.08); background: var(--coral-deep); }

/* ---------- 3 PLAN CARDS ---------- */
.plan-select-section {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  min-height: 100vh;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 50px auto 0;
}
.plan-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px 26px;
  border: 2.5px solid var(--line);
  cursor: pointer;
  transition: all .3s cubic-bezier(.2,.9,.4,1.1);
  position: relative;
  overflow: hidden;
  display: block;
}
.plan-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.1);
}
.plan-card:has(input:checked),
.plan-card.selected {
  border-color: var(--coral);
  background: linear-gradient(180deg, #FFF9FA 0%, var(--white) 100%);
  box-shadow: 0 14px 38px rgba(231, 62, 90, 0.18);
  transform: translateY(-6px);
}
.plan-card.silver:has(input:checked) { border-color: var(--coral); }
.plan-card .plan-radio-indicator {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  background: white;
  transition: all .25s ease;
}
.plan-card:has(input:checked) .plan-radio-indicator,
.plan-card.selected .plan-radio-indicator {
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: inset 0 0 0 4px white;
}
.plan-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--bg-alt);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.plan-card.silver .plan-tag { background: #FFE9CC; color: #B8651D; }
.plan-card.instant .plan-tag { background: var(--coral); color: white; }
.plan-card.free .plan-tag { background: #D6F0E0; color: #1A6B40; }

.plan-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--teal-darker);
}
.plan-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 10px;
}
.plan-card.free .plan-price { color: var(--teal); }
.plan-eta {
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 14px;
  padding: 8px 12px;
  background: var(--bg-alt);
  border-radius: 8px;
  display: inline-block;
}
.plan-desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 14px;
  line-height: 1.5;
}
.plan-perks {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--ink);
}
.plan-perks li {
  padding: 5px 0;
  color: var(--ink-soft);
}

/* ---------- REFERENCE NUMBER BOARD ---------- */
.ref-board {
  background: linear-gradient(135deg, var(--teal-darker) 0%, var(--teal) 100%);
  color: white;
  padding: 24px;
  border-radius: 16px;
  margin: 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ref-board::before, .ref-board::after {
  content: '';
  position: absolute;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.ref-board::before { top: -40px; left: -40px; }
.ref-board::after { bottom: -40px; right: -40px; }
.ref-board-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.85;
  margin-bottom: 8px;
  position: relative;
}
.ref-board-number {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  position: relative;
  word-break: break-all;
}
.ref-board-note {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 8px;
  position: relative;
}

/* ---------- BLOG ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.blog-cover {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-alt);
}
.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-cover img { transform: scale(1.05); }
.blog-cover-default {
  background: linear-gradient(135deg, var(--teal-darker), var(--teal));
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.6);
}
.blog-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-body h3 {
  margin-bottom: 8px;
  color: var(--teal-darker);
  font-size: 1.25rem;
  line-height: 1.35;
}
.blog-body p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}
.blog-body .more {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.9rem;
}
.blog-meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

/* ---------- AUTH PAGES ---------- */
.auth-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
}
.auth-card .field { margin-bottom: 16px; }
.auth-card label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.auth-card input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.auth-card input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(26, 149, 152, 0.12);
}

/* ---------- USER ACCOUNT - BOOKING CARDS ---------- */
.my-bookings {
  display: grid;
  gap: 16px;
}
.booking-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.booking-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.booking-header {
  padding: 20px 24px;
  background: var(--bg-alt);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.booking-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--teal-darker);
  margin: 0;
}
.booking-ref {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 4px 0 0;
}
.booking-ref strong {
  color: var(--coral);
  font-family: monospace;
  letter-spacing: 0.05em;
}
.booking-body {
  padding: 18px 24px;
}
.booking-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-alt);
  font-size: 0.92rem;
}
.booking-row:last-child { border-bottom: none; }
.booking-row .lbl {
  color: var(--ink-soft);
  font-weight: 500;
}
.booking-row strong { color: var(--teal-darker); }

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge.pending { background: #FFF1D6; color: #B8651D; }
.badge.confirmed { background: #D6F0E0; color: #1A6B40; }
.badge.completed { background: #DDE7FA; color: #2C3E8C; }
.badge.cancelled { background: #FBDDDD; color: #B91C1C; }

/* ---------- ACCOUNT TOGGLE in BOOKING FORM ---------- */
.account-toggle {
  background: linear-gradient(135deg, #F0FAFA 0%, #E8F4F4 100%);
  border: 1.5px solid var(--teal-soft);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}
.account-toggle-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 12px !important;
}
.account-toggle-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}
.account-toggle-label span {
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}

/* ---------- MOBILE RESPONSIVE TUNING ---------- */
@media (max-width: 768px) {
  .chat-widget { bottom: 18px; right: 18px; }
  .chat-bubble { width: 56px; height: 56px; font-size: 1.5rem; }
  .chat-panel {
    bottom: 72px;
    right: 0;
    width: calc(100vw - 28px);
    height: calc(100vh - 100px);
    max-height: 600px;
  }
  .plans-grid { grid-template-columns: 1fr; }
  .ref-board-number { font-size: 1.7rem; }
  .booking-header { flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  .fab-wrap .fab.whatsapp { bottom: 92px; right: 18px; }
  .fab-wrap .fab.call { bottom: 92px; right: 84px; }
}

/* =========================================================
   v4 — Themes, Doctors, Reviews, Account Tabs, Geolocation
   ========================================================= */

/* ===== THEME: ROYAL PURPLE & GOLD ===== */
[data-theme="royal"] {
  --teal: #6B4CA8;
  --teal-deep: #4F3580;
  --teal-darker: #2E1F5A;
  --teal-soft: #DCC9F5;
  --coral: #C9A24F;
  --coral-deep: #A8852F;
  --coral-soft: #F5E5B5;
  --bg: #FBF8F0;
  --bg-alt: #F0E8D5;
}
[data-theme="royal"] .site-header {
  background: rgba(251, 248, 240, 0.92);
}
[data-theme="royal"] .footer {
  background: linear-gradient(135deg, #2E1F5A 0%, #4F3580 100%);
}
[data-theme="royal"] .hero-bg-1, [data-theme="royal"] .hero-bg-2 {
  opacity: 0.5;
}

/* ===== THEME: DARK MODE ===== */
[data-theme="dark"] {
  --teal: #4FCAD0;
  --teal-deep: #2EA8AD;
  --teal-darker: #1A8488;
  --teal-soft: #1F3F40;
  --coral: #FF7088;
  --coral-deep: #E8556E;
  --coral-soft: #3A2024;
  --bg: #0F1416;
  --bg-alt: #1A2125;
  --ink: #E8EEF0;
  --ink-soft: #9AABB0;
  --line: #2A353A;
  --white: #1A2125;
}
[data-theme="dark"] body { color: var(--ink); }
[data-theme="dark"] .site-header {
  background: rgba(15, 20, 22, 0.92);
  border-bottom: 1px solid #2A353A;
}
[data-theme="dark"] .footer {
  background: linear-gradient(135deg, #050708 0%, #0F1416 100%);
}
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: var(--bg-alt);
  color: var(--ink);
  border-color: var(--line);
}
[data-theme="dark"] .auth-card,
[data-theme="dark"] .booking-form,
[data-theme="dark"] .booking-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .doctor-card,
[data-theme="dark"] .review-card,
[data-theme="dark"] .testi-card,
[data-theme="dark"] .pay-card,
[data-theme="dark"] .plan-card,
[data-theme="dark"] .settings-card,
[data-theme="dark"] .panel,
[data-theme="dark"] .service-card,
[data-theme="dark"] .award {
  background: var(--bg-alt);
  border-color: var(--line);
  color: var(--ink);
}
[data-theme="dark"] .chat-msg.admin {
  background: var(--bg-alt);
  color: var(--ink);
  border-color: var(--line);
}
[data-theme="dark"] .chat-input-row {
  background: var(--bg-alt);
  border-top-color: var(--line);
}
[data-theme="dark"] .chat-messages { background: var(--bg); }

/* ===== DOCTORS ===== */
.doctors-section { padding: 70px 0; background: var(--bg); }
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.doctor-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .35s cubic-bezier(.2,.9,.4,1.1), box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}
.doctor-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-soft), var(--bg-alt));
  position: relative;
}
.doctor-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.doctor-card:hover .doctor-photo img { transform: scale(1.04); }
.doctor-photo-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-size: 5rem;
  color: rgba(255,255,255,0.7);
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-darker) 100%);
}
.doctor-photo-placeholder.big { font-size: 8rem; }
.doctor-card-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.doctor-card-body h3 {
  margin-bottom: 4px;
  color: var(--teal-darker);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
}
.doctor-card-title {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.doctor-card-qual {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.doctor-spec-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.spec-pill {
  display: inline-block;
  padding: 3px 10px;
  background: var(--bg-alt);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--teal-darker);
}
.spec-pill.big { padding: 6px 14px; font-size: 0.86rem; }
.doctor-card-body .more {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}

/* Doctor detail page */
.doctor-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.doctor-detail-photo {
  position: relative;
}
.doctor-detail-photo img,
.doctor-detail-photo .doctor-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}
.doctor-social-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.dsi {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-alt);
  text-decoration: none;
  font-size: 1.2rem;
  transition: transform .2s ease, background .2s ease;
}
.dsi:hover { transform: translateY(-3px) scale(1.08); }
.dsi.insta:hover { background: linear-gradient(135deg, #C13584, #FFDC80); color: white; }
.dsi.fb:hover { background: #1877F2; color: white; }
.dsi.li:hover { background: #0A66C2; color: white; }
.dsi.tw:hover { background: #000; color: white; }
.dsi.yt:hover { background: #FF0000; color: white; }

.doctor-detail-body h1 {
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--teal-darker);
}
.doctor-detail-title { color: var(--coral); font-weight: 600; font-size: 1.1rem; margin-bottom: 14px; }
.doctor-detail-qual,
.doctor-detail-exp { color: var(--ink-soft); margin-bottom: 8px; font-size: 0.95rem; }
.doctor-detail-specs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 18px 0;
}
.doctor-about-section {
  margin-top: 40px;
  padding: 32px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.doctor-about-section h2 {
  font-family: var(--font-display);
  margin-bottom: 16px;
  color: var(--teal-darker);
}
.doctor-about-content { color: var(--ink); line-height: 1.7; font-size: 1.02rem; }
.doctor-about-content p { margin-bottom: 14px; }
@media (max-width: 768px) {
  .doctor-detail { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
}

/* ===== REVIEWS ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.review-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.review-stars { font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 0.06em; }
.review-stars .on { color: #F5B400; }
.review-stars .off { color: #DDD; }
.review-card-text {
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.95rem;
  flex: 1;
}
.review-card-foot {
  border-top: 1px solid var(--bg-alt);
  padding-top: 12px;
}

.reviews-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.big-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 8px;
  font-size: 1.05rem;
}
.big-stars { font-size: 1.5rem; letter-spacing: 0.08em; }
.big-stars .on { color: #F5B400; }
.big-stars .off { color: var(--bg-alt); }
.big-rating strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--coral); }

/* ===== STAR RATING (review form) ===== */
.star-rating {
  display: inline-flex;
  gap: 6px;
  font-size: 2.2rem;
  cursor: pointer;
  user-select: none;
  margin-top: 6px;
}
.star-pick {
  color: #DDD;
  transition: color .15s ease, transform .15s ease;
}
.star-pick:hover { transform: scale(1.15); }
.star-rating[data-rating="1"] .star-pick:nth-child(2),
.star-rating[data-rating="2"] .star-pick:nth-child(2),
.star-rating[data-rating="2"] .star-pick:nth-child(3),
.star-rating[data-rating="3"] .star-pick:nth-child(2),
.star-rating[data-rating="3"] .star-pick:nth-child(3),
.star-rating[data-rating="3"] .star-pick:nth-child(4),
.star-rating[data-rating="4"] .star-pick:nth-child(2),
.star-rating[data-rating="4"] .star-pick:nth-child(3),
.star-rating[data-rating="4"] .star-pick:nth-child(4),
.star-rating[data-rating="4"] .star-pick:nth-child(5),
.star-rating[data-rating="5"] .star-pick:nth-child(2),
.star-rating[data-rating="5"] .star-pick:nth-child(3),
.star-rating[data-rating="5"] .star-pick:nth-child(4),
.star-rating[data-rating="5"] .star-pick:nth-child(5),
.star-rating[data-rating="5"] .star-pick:nth-child(6) {
  color: #F5B400;
}

/* ===== ACCOUNT TABS ===== */
.account-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
  background: var(--white);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow-x: auto;
  flex-wrap: nowrap;
}
.account-tab {
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all .2s ease;
  font-family: var(--font-body);
}
.account-tab:hover { background: var(--bg-alt); color: var(--ink); }
.account-tab.active {
  background: var(--teal);
  color: white;
}

/* User settings cards */
.user-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.settings-card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--line);
}
.settings-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--teal-darker);
  margin-bottom: 6px;
}
.settings-card .settings-desc {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-bottom: 18px;
}
.settings-card .field { margin-bottom: 14px; }
.settings-card label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.settings-card input,
.settings-card textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.settings-card input:focus { outline: none; border-color: var(--teal); }
@media (max-width: 768px) {
  .user-settings-grid { grid-template-columns: 1fr; }
  .settings-card[style*="grid-column"] { grid-column: auto !important; }
}

/* User chat history */
.chat-history-list {
  display: grid;
  gap: 12px;
}
.chat-history-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.chat-history-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}
.chat-history-icon { font-size: 1.7rem; }
.chat-history-body { flex: 1; }
.chat-history-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.chat-history-meta { color: var(--ink-soft); font-size: 0.84rem; }
.chat-history-arrow { font-size: 1.4rem; color: var(--ink-soft); }

.user-chat-history {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.user-chat-msgs {
  padding: 24px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
}
.user-chat-msg { max-width: 80%; display: flex; flex-direction: column; }
.user-chat-msg .msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.94rem;
  line-height: 1.5;
}
.user-chat-msg .msg-time { font-size: 0.72rem; color: var(--ink-soft); margin-top: 4px; padding: 0 4px; }
.user-chat-msg.admin { align-self: flex-start; }
.user-chat-msg.admin .msg-bubble {
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.user-chat-msg.user { align-self: flex-end; align-items: flex-end; }
.user-chat-msg.user .msg-bubble {
  background: var(--coral);
  color: white;
  border-bottom-right-radius: 4px;
}
.user-chat-msg.system {
  align-self: center;
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.user-chat-msg.system .msg-bubble {
  background: #FFF8E7;
  color: #6B5B20;
}
.user-chat-foot {
  padding: 16px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

/* ===== THEME PICKER ===== */
.theme-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.theme-card {
  background: var(--white);
  border: 2.5px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
  transition: all .25s cubic-bezier(.2,.9,.4,1.1);
  display: block;
}
.theme-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.theme-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.theme-card.selected,
.theme-card:has(input:checked) {
  border-color: var(--coral);
  box-shadow: 0 12px 30px rgba(231, 62, 90, 0.18);
}
.theme-preview {
  height: 100px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}
.theme-preview-default { background: linear-gradient(135deg, #FAF7F0 0%, #F0EBE0 100%); }
.theme-preview-default .theme-preview-bar { background: #1A9598; }
.theme-preview-default .theme-preview-card { background: white; }
.theme-preview-default .theme-preview-line { background: #1A9598; }
.theme-preview-default .theme-preview-btn { background: #E73E5A; }

.theme-preview-royal { background: linear-gradient(135deg, #FBF8F0 0%, #F0E8D5 100%); }
.theme-preview-royal .theme-preview-bar { background: #6B4CA8; }
.theme-preview-royal .theme-preview-card { background: white; }
.theme-preview-royal .theme-preview-line { background: #6B4CA8; }
.theme-preview-royal .theme-preview-btn { background: #C9A24F; }

.theme-preview-dark { background: #0F1416; }
.theme-preview-dark .theme-preview-bar { background: #4FCAD0; }
.theme-preview-dark .theme-preview-card { background: #1A2125; }
.theme-preview-dark .theme-preview-line { background: #4FCAD0; }
.theme-preview-dark .theme-preview-btn { background: #FF7088; }

.theme-preview-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
}
.theme-preview-card {
  position: absolute;
  top: 24px; left: 12px; right: 12px;
  height: 48px;
  border-radius: 6px;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.theme-preview-line {
  height: 4px;
  border-radius: 2px;
  margin-bottom: 4px;
  opacity: 0.6;
}
.theme-preview-line.w70 { width: 70%; }
.theme-preview-line.w50 { width: 50%; }
.theme-preview-btn {
  position: absolute;
  bottom: 10px; right: 12px;
  width: 32px;
  height: 14px;
  border-radius: 100px;
}
.theme-card-info {
  padding: 0 4px;
}
.theme-card-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.theme-card-desc {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ===== LOCATION PROMPT (booking form) ===== */
.location-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #FFF1D6 0%, #FFE9CC 100%);
  border: 1.5px solid #F0D080;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 14px 0;
  transition: background .3s ease, border-color .3s ease;
}
.location-prompt.shared {
  background: linear-gradient(135deg, #D6F0E0 0%, #C5E8D2 100%);
  border-color: #A0D8B5;
}
.location-prompt .loc-ico {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.location-prompt .loc-content {
  flex: 1;
  min-width: 0;
}
.location-prompt strong {
  display: block;
  font-size: 0.92rem;
  color: var(--teal-darker);
}
.location-prompt small {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 2px;
}
.location-prompt .btn-sm {
  padding: 6px 12px;
  font-size: 0.82rem;
  white-space: nowrap;
}

/* Outline button */
.btn-outline {
  background: transparent;
  color: var(--teal-darker);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: white;
}
.btn-sm {
  padding: 8px 14px;
  font-size: 0.86rem;
}

/* =========================================================
   MOBILE RESPONSIVE — booking form & general forms
   Patch added: better touch targets, 16px input fonts (no
   iOS zoom), tighter padding, scrollable picker on small
   screens.
   ========================================================= */
@media (max-width: 768px) {
  /* Booking section spacing */
  .booking { padding: 32px 20px !important; gap: 32px !important; }
  .booking h2 { font-size: 1.8rem !important; line-height: 1.2; }
  .booking p { font-size: 0.94rem; }

  /* Booking form — most important */
  .booking-form {
    padding: 24px 18px !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 30px -12px rgba(0,0,0,0.2);
  }
  .booking-form h3 { font-size: 1.18rem; }
  .booking-form p.fp { font-size: 0.86rem; margin-bottom: 18px; }

  /* Fields — bigger touch targets, 16px font (prevents iOS zoom) */
  .field { margin-bottom: 14px; }
  .field label { font-size: 0.78rem; }
  .field input,
  .field select,
  .field textarea,
  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 14px 14px !important;
    font-size: 16px !important;       /* 16px stops iOS zoom-on-focus */
    border-radius: 11px !important;
    min-height: 48px;                 /* Touch-friendly */
  }
  .field textarea, .form-field textarea { min-height: 80px; }

  /* Two-column rows stack on mobile */
  .field-row, .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  /* Booking perks tighter */
  .booking-perks { gap: 8px; margin-bottom: 18px; }
  .booking-perks li { font-size: 0.88rem; padding-left: 26px; }

  /* Account toggle — checkbox + label */
  .account-toggle {
    padding: 14px;
    border-radius: 12px;
    margin: 14px 0;
    background: var(--bg-alt);
  }
  .account-toggle-label {
    font-size: 0.86rem;
    line-height: 1.45;
    display: flex;
    gap: 8px;
    align-items: flex-start;
  }
  .account-toggle-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
  }

  /* Location prompt — stack vertically on mobile */
  .location-prompt {
    flex-direction: column !important;
    text-align: left;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 14px !important;
  }
  .location-prompt .btn { width: 100%; justify-content: center; }
  .loc-content { flex: 1; }

  /* Submit button — full width, tappable */
  .booking-form button[type="submit"] {
    padding: 16px 20px !important;
    font-size: 1rem !important;
    min-height: 52px;
  }

  /* Plan select cards — vertical stack */
  .plans-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .plan-card { padding: 22px 18px !important; }
  .plan-name { font-size: 1.3rem !important; }
  .plan-price { font-size: 2rem !important; }

  /* Pay page wrapper */
  .pay-wrap { padding: 16px !important; }
  .pay-card { padding: 24px 18px !important; }
  .pay-amount { font-size: 2.4rem !important; }
  .pay-qr img { max-width: 240px !important; height: auto; }
  .upi-deeplink-row { gap: 8px !important; }
  .upi-app-btn { font-size: 0.82rem !important; padding: 10px 14px !important; }
  .utr-input { font-size: 16px !important; }

  /* Auth cards */
  .auth-card {
    padding: 28px 22px !important;
    border-radius: 18px !important;
  }
  .auth-card h1 { font-size: 1.5rem !important; }

  /* Account dashboard tabs scrollable */
  .account-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    padding-bottom: 8px;
    margin-bottom: 18px;
    scrollbar-width: none;
  }
  .account-tabs::-webkit-scrollbar { display: none; }
  .account-tab {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.86rem;
    padding: 10px 14px;
  }

  /* User settings grid stacks */
  .user-settings-grid {
    grid-template-columns: 1fr !important;
  }
  .settings-card { padding: 22px 18px !important; }

  /* Theme picker mobile-friendly */
  .theme-picker {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Star rating — bigger taps */
  .star-rating .star-pick {
    font-size: 2.2rem !important;
    padding: 4px;
    cursor: pointer;
  }
}

/* Very small phones (≤ 380px) */
@media (max-width: 380px) {
  .booking-form { padding: 20px 14px !important; }
  .booking { padding: 24px 14px !important; }
  .pay-card { padding: 20px 14px !important; }
  .field input, .field select, .field textarea { padding: 12px !important; }
  .pay-amount { font-size: 2rem !important; }
  .pay-qr img { max-width: 200px !important; }
  .plan-card { padding: 18px 14px !important; }
}

/* =========================================================
   GALLERY COUNTER BAR — shows "X of Y" status
   ========================================================= */
.gallery-counter-bar {
  display: flex;
  justify-content: center;
  margin: 0 0 28px;
}
.gc-pill {
  background: linear-gradient(135deg, var(--teal-soft) 0%, var(--bg-alt) 100%);
  color: var(--teal-darker);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid rgba(26, 149, 152, 0.18);
  box-shadow: 0 4px 14px rgba(26, 149, 152, 0.08);
  letter-spacing: 0.01em;
}
.gc-pill strong {
  color: var(--coral);
  font-weight: 700;
  font-size: 1rem;
}
.gc-pill em { font-style: italic; color: var(--coral-deep); }

[data-theme="dark"] .gc-pill {
  background: rgba(255, 255, 255, 0.05);
  color: var(--bg);
  border-color: rgba(255, 255, 255, 0.1);
}
[data-theme="royal"] .gc-pill {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(255, 215, 0, 0.1));
  color: var(--ink);
  border-color: rgba(155, 89, 182, 0.3);
}

@media (max-width: 600px) {
  .gc-pill { font-size: 0.84rem; padding: 8px 16px; }
}

/* =========================================================
   SITE FOOTER — Fresh redesign with wave, hero card,
   trust badges, and modern social pills
   ========================================================= */

.site-footer {
  position: relative;
  margin-top: 80px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
}

/* Wave divider on top */
.footer-wave {
  color: var(--teal-darker);
  display: block;
  line-height: 0;
  margin-bottom: -1px;
}
.footer-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* Main footer area */
.footer-main {
  background:
    radial-gradient(ellipse at top right, rgba(231, 62, 90, 0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(184, 221, 222, 0.12), transparent 50%),
    linear-gradient(180deg, var(--teal-darker) 0%, #042325 100%);
  padding: 0 0 30px;
  position: relative;
}

/* Hero contact card — sits at top, lifted */
.footer-hero-card {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  border-radius: 28px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: center;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  box-shadow: 0 28px 60px -20px rgba(231, 62, 90, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  overflow: hidden;
}
.footer-hero-card::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}
.footer-hero-card::after {
  content: '🦷';
  position: absolute;
  font-size: 14rem;
  bottom: -3rem; right: 2rem;
  opacity: 0.06;
  pointer-events: none;
  transform: rotate(-15deg);
}
.fhc-text { position: relative; z-index: 1; }
.fhc-text h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 8px;
  color: white;
  letter-spacing: -0.02em;
}
.fhc-text h2 em {
  font-style: italic;
  color: #FFD9A8;
  font-weight: 400;
}
.fhc-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}
.fhc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  justify-content: flex-end;
}
.fhc-btn {
  padding: 13px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .25s cubic-bezier(.2,.9,.4,1.1);
  white-space: nowrap;
}
.fhc-btn.primary { background: white; color: var(--coral-deep); }
.fhc-btn.whatsapp { background: #25D366; color: white; }
.fhc-btn.book {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}
.fhc-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.fhc-btn.book:hover { background: rgba(255, 255, 255, 0.25); border-color: white; }

/* Main footer grid — 4 columns */
.footer-grid-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 50px;
  padding: 70px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand column */
.fc-brand { max-width: 360px; }
.fc-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.fc-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: white;
  padding: 6px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.fc-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
  letter-spacing: -0.01em;
  display: block;
  line-height: 1.2;
}
.fc-tag {
  font-size: 0.78rem;
  color: var(--coral-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}
.fc-about {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
.fc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fc-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  white-space: nowrap;
}

/* Link columns */
.fc-col {}
.fc-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: white;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.fc-heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--coral), transparent);
  border-radius: 2px;
}
.fc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}
.fc-list li a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  text-decoration: none;
  transition: all .2s ease;
  position: relative;
  padding-left: 0;
}
.fc-list li a::before {
  content: '→';
  position: absolute;
  left: -16px;
  opacity: 0;
  transition: all .2s ease;
  color: var(--coral);
}
.fc-list li a:hover {
  color: white;
  padding-left: 18px;
}
.fc-list li a:hover::before { opacity: 1; left: 0; }

/* Contact column */
.fc-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
  transition: all .2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.fc-contact-item:last-child { border-bottom: none; }
.fc-contact-item:hover { transform: translateX(2px); }
.fc-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fc-contact-item small {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.fc-contact-item strong {
  color: white;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.4;
}

/* Social block */
.footer-meta {
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
}
.footer-social-block {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-follow-text {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.footer-social-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.fsoc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: white;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all .25s cubic-bezier(.2,.9,.4,1.1);
}
.fsoc:hover {
  transform: translateY(-3px);
  border-color: transparent;
  color: white;
}
.fsoc-ig:hover { background: linear-gradient(135deg, #FE7F1E, #D62976); box-shadow: 0 8px 18px rgba(214, 41, 118, 0.4); }
.fsoc-fb:hover { background: #1877F2; box-shadow: 0 8px 18px rgba(24, 119, 242, 0.4); }
.fsoc-yt:hover { background: #FF0000; box-shadow: 0 8px 18px rgba(255, 0, 0, 0.4); }
.fsoc-tw:hover { background: #000; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4); }
.fsoc-li:hover { background: #0A66C2; box-shadow: 0 8px 18px rgba(10, 102, 194, 0.4); }
.fsoc-wa:hover { background: #25D366; box-shadow: 0 8px 18px rgba(37, 211, 102, 0.4); }

/* Bottom bar */
.footer-bar {
  padding: 22px 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bar-copy strong {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.footer-bar-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-bar-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-bar-links a:hover { color: white; }
.footer-bar-links span { color: rgba(255, 255, 255, 0.2); }

/* Dev credit pill */
.footer-dev-credit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 6px;
  flex-wrap: wrap;
}
.fdc-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.fdc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045);
  background-size: 200% 200%;
  animation: gradShift 4s ease infinite;
  border-radius: 100px;
  text-decoration: none;
  color: white;
  font-size: 0.86rem;
  font-weight: 600;
  transition: all .25s cubic-bezier(.2,.9,.4,1.1);
  box-shadow: 0 6px 18px rgba(253, 29, 29, 0.3);
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.fdc-pill:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 26px rgba(253, 29, 29, 0.5);
}
.fdc-name { font-weight: 700; letter-spacing: -0.01em; }
.fdc-handle {
  font-weight: 400;
  opacity: 0.9;
  font-size: 0.82rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-hero-card { padding: 32px 28px; grid-template-columns: 1fr; gap: 22px; }
  .fhc-actions { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .footer-hero-card {
    margin-top: -40px;
    border-radius: 22px;
    padding: 26px 22px;
    text-align: center;
  }
  .footer-hero-card::after { font-size: 9rem; bottom: -2rem; right: -1rem; }
  .fhc-actions { justify-content: center; }
  .fhc-btn { padding: 11px 18px; font-size: 0.88rem; }
  .footer-grid-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 50px 0 30px;
  }
  .fc-brand { max-width: 100%; text-align: center; }
  .fc-logo-wrap { justify-content: center; }
  .fc-badges { justify-content: center; }
  .fc-col { text-align: center; }
  .fc-heading { display: inline-block; }
  .fc-heading::after { left: 50%; transform: translateX(-50%); width: 40px; }
  .fc-list { justify-items: center; }
  .fc-contact-item {
    text-align: left;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-social-block { flex-direction: column; gap: 14px; }
  .footer-bar { justify-content: center; text-align: center; }
  .footer-dev-credit { flex-direction: column; gap: 8px; padding: 18px 0 6px; }
  .fdc-pill { padding: 10px 18px; }
}

@media (max-width: 420px) {
  .footer-hero-card { margin-top: -30px; }
  .fhc-text h2 { font-size: 1.4rem; }
  .fsoc { padding: 8px 12px; font-size: 0.8rem; }
  .fsoc span { display: none; }
  .fsoc { width: 40px; height: 40px; padding: 0; justify-content: center; }
}


/* ==========================================================
   3D EFFECTS & MODERN POLISH
   Adds depth, parallax, glass morphism, smooth interactions
   ========================================================== */

/* 3D tilt service cards */
.service-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform .4s cubic-bezier(.2,.9,.4,1.1), box-shadow .4s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-12px) rotateX(4deg) rotateY(-4deg) scale(1.02);
  box-shadow:
    0 30px 60px -20px rgba(26, 149, 152, 0.35),
    0 18px 36px -12px rgba(231, 62, 90, 0.2);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent 50%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }

/* 3D doctor cards */
.doctor-card {
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.9,.4,1.1), box-shadow .4s ease;
}
.doctor-card:hover {
  transform: translateY(-10px) rotateY(-3deg);
  box-shadow:
    0 28px 55px -18px rgba(26, 149, 152, 0.4),
    0 0 0 1px rgba(231, 62, 90, 0.1);
}

/* 3D plan cards (Free/Silver/Instant) */
.plan-card {
  transform-style: preserve-3d;
  transition: all .4s cubic-bezier(.2,.9,.4,1.1);
}
.plan-card:hover {
  transform: translateY(-14px) scale(1.03) rotateX(2deg);
  box-shadow:
    0 35px 70px -25px rgba(231, 62, 90, 0.4),
    0 20px 40px -15px rgba(0, 0, 0, 0.2);
}
.plan-card.featured:hover {
  transform: translateY(-18px) scale(1.05) rotateX(3deg);
}

/* 3D stat cards */
.stat-card {
  transform-style: preserve-3d;
  transition: all .4s cubic-bezier(.2,.9,.4,1.1);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(231,62,90,0.08), transparent 50%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.stat-card:hover {
  transform: translateY(-8px) rotateX(5deg);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.18);
}
.stat-card:hover::after { opacity: 1; }

/* 3D gallery items */
.gallery-item {
  transform-style: preserve-3d;
  transition: all .5s cubic-bezier(.2,.9,.4,1.1);
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.gallery-item:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow:
    0 25px 45px -15px rgba(26, 149, 152, 0.4),
    0 0 0 3px rgba(231, 62, 90, 0.2);
  z-index: 2;
}
.gallery-item img {
  transition: transform .6s cubic-bezier(.2,.9,.4,1.1);
}
.gallery-item:hover img { transform: scale(1.12); }

/* Glass morphism — header on scroll */
.site-header.scrolled {
  background: rgba(250, 247, 240, 0.85) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(26, 149, 152, 0.1);
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .site-header.scrolled {
  background: rgba(15, 20, 30, 0.85) !important;
}
[data-theme="royal"] .site-header.scrolled {
  background: rgba(245, 240, 250, 0.85) !important;
}

/* 3D button hover - all primary buttons */
.btn-primary, .btn-coral, .fhc-btn.primary, .fhc-btn.book {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all .3s cubic-bezier(.2,.9,.4,1.1);
}
.btn-primary::before, .btn-coral::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left .6s ease;
}
.btn-primary:hover::before, .btn-coral:hover::before { left: 100%; }
.btn-primary:hover, .btn-coral:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px -8px rgba(231, 62, 90, 0.5);
}
.btn-primary:active, .btn-coral:active {
  transform: translateY(-1px) scale(1.01);
}

/* Floating animation for hero elements */
@keyframes float3D {
  0%, 100% { transform: translateY(0) rotateZ(0deg); }
  50% { transform: translateY(-10px) rotateZ(1deg); }
}

/* Hero badge floats subtly */
.hero-badge {
  animation: float3D 4s ease-in-out infinite;
}

/* Smooth parallax-feel section transitions */
section {
  position: relative;
  z-index: 1;
}
section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* 3D review cards with hover lift */
.testimonial, .review-card {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.2,.9,.4,1.1), box-shadow .4s ease;
}
.testimonial:hover, .review-card:hover {
  transform: translateY(-6px) rotateY(2deg);
  box-shadow:
    0 22px 44px -16px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(231, 62, 90, 0.1);
}

/* Smooth image lazy-load fade-in */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity .4s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"]:not([data-src]) {
  opacity: 1;
}

/* 3D awards cards */
.award-card {
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.9,.4,1.1), box-shadow .4s ease;
}
.award-card:hover {
  transform: translateY(-10px) rotateX(3deg);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.15);
}

/* Footer hero card subtle 3D float */
.footer-hero-card {
  transform-style: preserve-3d;
  transition: transform .5s ease;
}
.footer-hero-card:hover {
  transform: translateY(-4px) rotateX(2deg);
}

/* Subtle pulse glow on chat bubble */
.chat-bubble {
  animation: chatPulse 3s ease-in-out infinite;
}
@keyframes chatPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(231, 62, 90, 0.4); }
  50% { box-shadow: 0 12px 32px rgba(231, 62, 90, 0.6), 0 0 0 6px rgba(231, 62, 90, 0.1); }
}

/* Modern smooth scroll & scrollbar */
html { scroll-behavior: smooth; }
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: var(--bg-alt); }
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--teal), var(--coral));
  border-radius: 100px;
  border: 2px solid var(--bg-alt);
}
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--coral), var(--teal));
}

/* Gradient text utility - for special headings */
.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Mobile - reduce 3D for performance */
@media (max-width: 768px) {
  .service-card:hover, .doctor-card:hover, .plan-card:hover,
  .stat-card:hover, .gallery-item:hover, .testimonial:hover,
  .review-card:hover, .award-card:hover, .footer-hero-card:hover {
    transform: translateY(-4px) !important;
  }
  .btn-primary:hover, .btn-coral:hover {
    transform: translateY(-2px) !important;
  }
}

/* Reduced motion - disable all 3D */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================================
   ADDITIONS: Fixed Menu Bar, Footer Redesign, Copyright, Chat
   ============================================================= */

/* ---- NAV OVERLAY (mobile menu backdrop) ---- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998; /* MUST be below nav-links (1000) and menu-toggle (1100) */
  /* Removed backdrop-filter: it was causing the nav panel to appear blurred */
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.nav-overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* ---- FIXED MOBILE NAV BAR (hamburger fix) ---- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    flex-direction: column;
    background: var(--bg);
    padding: 80px 30px 40px;
    width: 300px;
    height: 100vh;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    transition: right .35s cubic-bezier(.4,0,.2,1);
    gap: 8px;
    z-index: 1000;
    overflow-y: auto;
    pointer-events: none;
    filter: none !important;
    backdrop-filter: none !important;
  }
  .nav-links.open {
    right: 0;
    pointer-events: auto;
  }
  .nav-links li { border-bottom: 1px solid var(--border, #eee); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 600;
    pointer-events: auto !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .menu-toggle {
    display: flex;
    z-index: 1100;
    position: relative;
  }
  /* X animation removed — hamburger stays as 3 lines */
  .menu-toggle span {
    transition: transform .3s ease, opacity .2s ease;
  }
  /* Book Visit button visible in mobile menu */
  .nav-links .nav-mobile-cta {
    display: block !important;
    margin-top: 16px;
    text-align: center;
  }
}

/* ---- IMPROVED FOOTER BAR ---- */
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.footer-bar-copy {
  font-size: .85rem;
  opacity: .75;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-bar-divider { opacity: .4; }
.footer-bar-tagline {
  font-style: italic;
  opacity: .6;
}
.footer-bar-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  flex-wrap: wrap;
}
.footer-bar-links a {
  opacity: .7;
  transition: opacity .2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bar-links a:hover { opacity: 1; }

/* ---- FULL COPYRIGHT ROW ---- */
.footer-copyright-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}
.footer-copyright-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-made-in {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  opacity: .6;
  text-transform: uppercase;
}
.footer-copy-text {
  font-size: .76rem;
  opacity: .5;
  max-width: 520px;
  line-height: 1.6;
}
.footer-dev-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.fdc-label {
  font-size: .8rem;
  opacity: .55;
}
.fdc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  transition: background .2s, border-color .2s;
  color: inherit;
  text-decoration: none;
}
.fdc-pill:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.3);
}
.fdc-name { opacity: .9; }
.fdc-handle { opacity: .55; font-weight: 400; font-size: .78rem; }

/* ---- ENHANCED LIVE CHAT WIDGET ---- */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9900;
  font-family: var(--font-body, 'Manrope', sans-serif);
}
.chat-bubble {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral, #e73e5a), #ff6b6b);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(231,62,90,.45);
  position: relative;
  transition: transform .25s cubic-bezier(.2,.9,.4,1.1), box-shadow .25s ease;
}
.chat-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(231,62,90,.55);
}
.chat-bubble-icon { font-size: 1.6rem; line-height: 1; }
.chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: #22c55e;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  min-width: 20px; height: 20px;
  border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  padding: 0 4px;
}
.chat-panel {
  position: absolute;
  bottom: 76px; right: 0;
  width: 340px;
  background: var(--bg, #fff);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.06);
  overflow: hidden;
  display: none;
  flex-direction: column;
  max-height: 520px;
  transform: translateY(12px) scale(.97);
  opacity: 0;
  transition: transform .3s cubic-bezier(.2,.9,.4,1.1), opacity .25s ease;
}
.chat-panel.open {
  display: flex;
  transform: translateY(0) scale(1);
  opacity: 1;
}
.chat-header {
  background: linear-gradient(135deg, var(--teal-deep, #0d6e6e), var(--teal, #14b8a6));
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.chat-header-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; }
.chat-header-info strong { display: block; font-size: .95rem; }
.chat-header-info small { display: block; opacity: .8; font-size: .78rem; margin-top: 2px; }
.chat-status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 5px;
  animation: statusPulse 2s ease infinite;
}
@keyframes statusPulse {
  0%,100% { opacity:1; } 50% { opacity:.4; }
}
.chat-close {
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.chat-close:hover { background: rgba(255,255,255,.28); }
.chat-start {
  padding: 20px 18px;
  overflow-y: auto;
}
.chat-greeting {
  font-size: .9rem;
  color: var(--text-muted, #666);
  margin-bottom: 16px;
  line-height: 1.5;
}
.chat-field { margin-bottom: 12px; }
.chat-field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text, #222);
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.chat-field input, .chat-field select {
  width: 100%;
  padding: 9px 13px;
  border: 1.5px solid var(--border, #ddd);
  border-radius: 10px;
  font-size: .88rem;
  background: var(--bg-alt, #f8f8f8);
  color: var(--text, #222);
  transition: border-color .2s;
  box-sizing: border-box;
}
.chat-field input:focus, .chat-field select:focus {
  outline: none;
  border-color: var(--teal, #14b8a6);
}
.chat-conversation {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 300px;
}
.chat-msg {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: .86rem;
  line-height: 1.5;
  position: relative;
  word-break: break-word;
}
.chat-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--teal, #14b8a6), var(--teal-deep, #0d6e6e));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg.admin {
  align-self: flex-start;
  background: var(--bg-alt, #f0f0f0);
  color: var(--text, #222);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border, #e5e5e5);
}
.chat-msg.system {
  align-self: center;
  background: rgba(20,184,166,.1);
  color: var(--teal-deep, #0d6e6e);
  font-size: .8rem;
  border-radius: 100px;
  padding: 6px 14px;
  text-align: center;
}
.chat-msg-time {
  display: block;
  font-size: .68rem;
  opacity: .55;
  margin-top: 4px;
}
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border, #eee);
  background: var(--bg, #fff);
}
.chat-input-row input {
  flex: 1;
  padding: 9px 14px;
  border: 1.5px solid var(--border, #ddd);
  border-radius: 100px;
  font-size: .88rem;
  background: var(--bg-alt, #f8f8f8);
  color: var(--text, #222);
  transition: border-color .2s;
}
.chat-input-row input:focus {
  outline: none;
  border-color: var(--teal, #14b8a6);
}
.chat-input-row button {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--coral, #e73e5a), #ff6b6b);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.chat-input-row button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(231,62,90,.4);
}
.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: var(--bg-alt, #f0f0f0);
  border-radius: 16px;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-typing span {
  width: 6px; height: 6px;
  background: var(--teal, #14b8a6);
  border-radius: 50%;
  animation: typingDot .9s ease infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot {
  0%,80%,100% { transform: scale(.7); opacity:.4; }
  40% { transform: scale(1); opacity:1; }
}

/* Mobile chat widget */
@media (max-width: 480px) {
  .chat-panel {
    width: calc(100vw - 24px);
    right: 0;
    bottom: 72px;
    border-radius: 16px;
  }
  .chat-widget { right: 12px; bottom: 20px; }
}

/* ---- FOOTER MOBILE ---- */
@media (max-width: 768px) {
  .footer-copyright-row {
    flex-direction: column;
    gap: 14px;
  }
  .footer-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-bar-links { justify-content: center; }
  .footer-bar-copy { justify-content: center; }
  .footer-bar-tagline { display: none; }
}

/* =============================================================
   BUG FIXES: Header overlap, Chat widget display, Mobile menu
   ============================================================= */

/* Fix 1: Header overlap — ensure body content starts below fixed header */
body { padding-top: 84px; }
@media (max-width: 900px) { body { padding-top: 70px; } }

/* Fix 2: Chat panel — use visibility trick instead of display:none to avoid JS conflict */
.chat-panel {
  /* Override old styles — use pointer-events + opacity for show/hide */
  display: flex !important;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform .3s cubic-bezier(.2,.9,.4,1.1), opacity .3s ease, visibility .3s ease;
}
.chat-panel.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Fix 3: Chat header layout with avatar */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-header-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; min-width: 0; }
.chat-header-info strong { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-header-info small { display: block; font-size: .78rem; opacity: .85; margin-top: 2px; }
.chat-status-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
  animation: statusPulse 2s ease infinite;
}
@keyframes statusPulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* Fix 4: Mobile nav — prevent page scroll when menu open via JS body overflow */
body.menu-open { overflow: hidden; }

/* Fix 5: Doctor placeholder when no photo */
.doctor-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: var(--bg-alt, #f0f0f0);
  min-height: 220px;
}

/* Fix 6: Doctor section visible even if empty — show a fallback */
.doctors-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted, #888);
  font-size: .95rem;
}

/* =============================================================
   FLOATING WIDGETS: Call, WhatsApp, Book Button
   ============================================================= */

/* Call Button */
.fab-call {
  position: fixed;
  bottom: 100px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--call-color, #22c55e);
  color: #fff;
  text-decoration: none;
  padding: 11px 18px 11px 14px;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(34,197,94,.4);
  z-index: 9800;
  transition: transform .25s cubic-bezier(.2,.9,.4,1.1), box-shadow .25s ease;
  animation: fabPulse 3s ease infinite;
}
.fab-call-right { left: auto; right: 100px; }
.fab-call:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 32px rgba(34,197,94,.55);
  color: #fff;
  text-decoration: none;
}
.fab-call svg { flex-shrink: 0; }
@keyframes fabPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(34,197,94,.4); }
  50%      { box-shadow: 0 6px 24px rgba(34,197,94,.4), 0 0 0 10px rgba(34,197,94,.12); }
}

/* WhatsApp Button */
.fab-wa {
  position: fixed;
  bottom: 160px;
  right: 24px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  z-index: 9800;
  transition: transform .25s cubic-bezier(.2,.9,.4,1.1), box-shadow .25s ease;
}
.fab-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,.6);
}

/* Book Appointment FAB */
.fab-book {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal-deep, #0d6e6e), var(--teal, #14b8a6));
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(13,110,110,.4);
  z-index: 9700;
  white-space: nowrap;
  transition: transform .25s cubic-bezier(.2,.9,.4,1.1), box-shadow .25s ease;
}
.fab-book:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 12px 36px rgba(13,110,110,.55);
  color: #fff;
  text-decoration: none;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .fab-call { bottom: 80px; left: 12px; padding: 9px 14px 9px 11px; font-size: .82rem; }
  .fab-wa   { bottom: 140px; right: 12px; width: 48px; height: 48px; }
  .fab-book { bottom: 16px; font-size: .82rem; padding: 10px 20px; }
}

/* File share button inside chat input row */
.chat-file-btn {
  width: 36px; height: 36px;
  background: var(--bg-alt, #f0f0f0);
  border: 1.5px solid var(--border, #ddd);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal, #14b8a6);
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.chat-file-btn:hover { background: var(--teal, #14b8a6); color: #fff; border-color: var(--teal, #14b8a6); }

/* Chat widget position from settings */
.chat-widget.pos-left { right: auto; left: 24px; }
.chat-widget.pos-left .chat-panel { right: auto; left: 0; }
@media (max-width: 480px) {
  .chat-widget.pos-left .chat-panel { left: 0; right: 0; width: calc(100vw - 24px); }
}

/* ============================================================
   NEW FOOTER DESIGN (new-footer)
   ============================================================ */

/* Remove old footer styles interference */
.site-footer { display: none !important; }

.new-footer {
  background: linear-gradient(160deg, #0b3d3d 0%, #0d5050 40%, #0e6060 100%);
  color: rgba(255,255,255,0.88);
  font-size: .9rem;
  line-height: 1.6;
}

/* ── CTA STRIP ── */
.nf-cta-strip {
  background: linear-gradient(90deg, #e73e5a, #ff6b6b);
  padding: 20px 0;
}
.nf-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.nf-cta-text {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.nf-cta-emoji { font-size: 2rem; line-height: 1; }
.nf-cta-text strong { display: block; font-size: 1.05rem; font-weight: 700; }
.nf-cta-text span   { font-size: .88rem; opacity: .9; }
.nf-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.nf-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.nf-btn:hover { transform: translateY(-2px); text-decoration: none; }
.nf-btn-call { background: #fff; color: #e73e5a; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.nf-btn-wa   { background: #25d366; color: #fff; box-shadow: 0 4px 16px rgba(37,211,102,.3); }
.nf-btn-book { background: rgba(255,255,255,.18); color: #fff; border: 2px solid rgba(255,255,255,.5); }
.nf-btn-book:hover { background: rgba(255,255,255,.28); color: #fff; }

/* ── MAIN GRID ── */
.nf-body { padding: 56px 0 40px; }
.nf-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
}
.nf-col-brand {}
.nf-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.nf-logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.2);
}
.nf-brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.nf-brand-sub {
  font-size: .72rem;
  opacity: .6;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 2px;
}
.nf-about {
  font-size: .86rem;
  opacity: .75;
  margin-bottom: 16px;
  line-height: 1.65;
}
.nf-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.nf-trust {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: .76rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.nf-social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.nf-soc {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  transition: background .2s, border-color .2s, transform .2s;
}
.nf-soc:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.35);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}

/* ── COL HEADINGS ── */
.nf-heading {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,.1);
}

/* ── LINKS ── */
.nf-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nf-links a {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: .88rem;
  transition: color .2s, padding-left .2s;
  display: block;
}
.nf-links a:hover {
  color: #fff;
  padding-left: 4px;
  text-decoration: none;
}

/* ── CONTACT LIST ── */
.nf-contact-list {
  list-style: none;
  padding: 0; margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nf-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .86rem;
  color: rgba(255,255,255,.75);
}
.nf-ci { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.nf-contact-list a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  transition: color .2s;
}
.nf-contact-list a:hover { color: #fff; text-decoration: underline; }

.nf-map-link {
  display: inline-block;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  text-decoration: underline;
  transition: color .2s;
}
.nf-map-link:hover { color: #fff; }

/* ── BOTTOM BAR ── */
.nf-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
}
.nf-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.nf-bottom-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
}
.nf-madein {
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .04em;
}
.nf-copy { color: rgba(255,255,255,.5); }
.nf-sep  { opacity: .35; }
.nf-bottom-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  flex-wrap: wrap;
}
.nf-bottom-right a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
}
.nf-bottom-right a:hover { color: #fff; }
.nf-dev { color: rgba(255,255,255,.55) !important; }
.nf-dev:hover { color: #ff6b6b !important; }

/* ── CHAT: fix start button ── */
.chat-start-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #e73e5a, #ff6b6b);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: opacity .2s, transform .2s;
}
.chat-start-btn:hover { opacity: .9; transform: translateY(-1px); }
.chat-start-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.chat-send-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e73e5a, #ff6b6b);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .2s, box-shadow .2s;
}
.chat-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(231,62,90,.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nf-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nf-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .nf-grid { grid-template-columns: 1fr; gap: 28px; }
  .nf-cta-inner { flex-direction: column; align-items: flex-start; }
  .nf-cta-btns { width: 100%; }
  .nf-btn { flex: 1; justify-content: center; }
  .nf-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nf-bottom-right { justify-content: flex-start; }
}

/* ============================================================
   MOBILE MENU DRAWER — Complete Redesign
   ============================================================ */

/* ── Desktop nav stays exactly the same ── */
@media (min-width: 901px) {
  .nav-drawer-header,
  .nav-drawer-cta { display: none !important; }

  .nav-links .nav-item {
    display: flex;
    align-items: center;
    gap: 0;
  }
  .nav-links .nav-icon { display: none; }
  .nav-links .nav-item.nav-active { color: var(--teal-deep, #0d6e6e); }
}

/* ── Mobile drawer ── */
@media (max-width: 900px) {

  /* Slide-in panel */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    bottom: 0 !important;
    width: min(320px, 85vw) !important;
    flex-direction: column !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100vh !important;
    box-shadow: -8px 0 40px rgba(0,0,0,.18) !important;
    transition: right .35s cubic-bezier(.4,0,.2,1) !important;
    gap: 0 !important;
    z-index: 1000 !important;
    overflow-y: auto !important;
    list-style: none !important;
  }
  .nav-links.open { right: 0 !important; }

  /* Drawer top brand strip */
  .nav-drawer-header {
    display: block !important;
    background: linear-gradient(135deg, #0b3d3d, #0e6060);
    padding: 20px 20px 16px;
    border: none !important;
    margin: 0 !important;
  }
  .nav-drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
  }
  .nav-drawer-logo {
    width: 44px; height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.3);
    flex-shrink: 0;
  }
  .nav-drawer-brand strong {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
  }
  .nav-drawer-brand small {
    display: block;
    font-size: .72rem;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 2px;
  }

  /* Nav items */
  .nav-links > li {
    border-bottom: 1px solid #f0f0f0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .nav-links > li:last-child { border-bottom: none !important; }

  .nav-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 22px !important;
    color: #222 !important;
    font-size: .96rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: background .15s, color .15s, padding-left .2s !important;
    width: 100% !important;
  }
  .nav-item:hover {
    background: #f5fafa !important;
    color: #0d6e6e !important;
    padding-left: 28px !important;
    text-decoration: none !important;
  }
  .nav-item.nav-active {
    background: #edf9f8 !important;
    color: #0d6e6e !important;
    font-weight: 700 !important;
    border-left: 3px solid #0d6e6e !important;
  }
  .nav-icon {
    display: inline-flex !important;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    background: #f0f9f8;
    border-radius: 8px;
    font-size: .95rem;
    flex-shrink: 0;
  }
  .nav-item.nav-active .nav-icon {
    background: #d0f0ee;
  }

  /* Bottom CTA buttons */
  .nav-drawer-cta {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 20px !important;
    background: #f9f9f9 !important;
    border-top: 1px solid #eee !important;
    border-bottom: none !important;
    margin-top: auto !important;
  }
  .nav-cta-book {
    display: block;
    text-align: center;
    padding: 13px 20px;
    background: linear-gradient(135deg, #0d6e6e, #14b8a6);
    color: #fff !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none !important;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(13,110,110,.3);
  }
  .nav-cta-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13,110,110,.4);
    color: #fff !important;
    text-decoration: none !important;
  }
  .nav-cta-call {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: #fff;
    color: #0d6e6e !important;
    border: 2px solid #0d6e6e;
    border-radius: 12px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none !important;
    transition: background .2s, color .2s;
  }
  .nav-cta-call:hover {
    background: #0d6e6e;
    color: #fff !important;
  }

  /* Hamburger → X animation */
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1100;
    flex-direction: column;
    gap: 5px;
    width: 36px; height: 36px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background .2s;
  }
  .menu-toggle:hover { background: rgba(0,0,0,.06); }
  .menu-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .3s ease, opacity .2s ease, width .3s ease;
    transform-origin: center;
  }
  /* .menu-toggle.open X animation REMOVED — hamburger stays as 3 lines always */

  /* Dark overlay — z-index must be BELOW nav-links (1000) */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
    /* Removed backdrop-filter/blur — it was causing nav panel to appear blurred */
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
  }
  .nav-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  /* Lock body scroll */
  body.menu-open { overflow: hidden; }
}

/* =============================================================
   PATCH: Menu RIGHT side, Audio call, Image/Video share only
   ============================================================= */

/* --- Menu toggle on RIGHT side (default position) --- */
/* nav-links drawer slides from the RIGHT */
@media (max-width: 900px) {
  .nav-links {
    right: -100% !important;
    left: auto !important;
    transition: right .35s cubic-bezier(.4,0,.2,1) !important;
    border-radius: 16px 0 0 16px !important;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15) !important;
  }
  .nav-links.open {
    right: 0 !important;
    left: auto !important;
  }
}

/* --- Audio Call button in chat header --- */
.chat-audio-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: white;
  text-decoration: none;
  transition: background .2s, transform .15s;
  margin-right: 6px;
  flex-shrink: 0;
}
.chat-audio-call:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.1);
}
.chat-audio-call svg { display: block; }

/* --- File share button — camera icon --- */
.chat-file-btn {
  font-size: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 8px;
  transition: background .2s;
  color: var(--teal-deep, #0d6e6e);
  flex-shrink: 0;
}
.chat-file-btn:hover { background: rgba(13,110,110,0.1); }
/* Override emoji from 📎 to 📷 via CSS attr */
.chat-file-btn::before { content: "📷"; font-style: normal; }

/* =============================================================
   PROFILE MENU BUTTON + 3D DRAWER + CONTACT MODAL + LIVE CHAT
   ============================================================= */

/* ── Nav Right wrapper ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* ── Profile Menu Button ── */
.profile-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border: 2px solid rgba(13,110,110,0.18);
  border-radius: 40px;
  background: #fff;
  cursor: pointer;
  transition: box-shadow .25s, border-color .25s, transform .2s;
  box-shadow: 0 2px 12px rgba(13,110,110,0.08);
  position: relative;
  z-index: 200;
}
.profile-menu-btn:hover {
  border-color: var(--teal-deep, #0d6e6e);
  box-shadow: 0 4px 20px rgba(13,110,110,0.18);
  transform: translateY(-1px);
}
.pmb-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6e6e, #14b8a6);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
  overflow: hidden;
}
.pmb-initial { color: #fff; font-weight: 800; }
.pmb-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 2px;
}
.pmb-lines span {
  display: block;
  width: 16px; height: 2px;
  background: #333;
  border-radius: 2px;
  transition: width .2s;
}
.pmb-lines span:nth-child(2) { width: 12px; }
.profile-menu-btn:hover .pmb-lines span { width: 16px; }

/* ── Overlay ── */
.pmenu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 3000;
  opacity: 0;
  transition: opacity .3s ease;
  backdrop-filter: none;
}
.pmenu-overlay.active { display: block; opacity: 1; }

/* ── 3D Slide Drawer ── */
.pmenu-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  z-index: 3100;
  transform: translateX(100%) perspective(800px) rotateY(8deg);
  transform-origin: right center;
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.pmenu-drawer.open {
  transform: translateX(0) perspective(800px) rotateY(0deg);
}
.pmenu-inner {
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.18), -4px 0 12px rgba(0,0,0,0.08);
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}

/* ── Drawer Head ── */
.pmenu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px 18px;
  background: linear-gradient(135deg, #0b3d3d 0%, #0d6e6e 60%, #14b8a6 100%);
  position: relative;
}
.pmenu-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.pmenu-initial { color: #fff; font-size: 1.4rem; font-weight: 800; }
.pmenu-user-info { flex: 1; min-width: 0; }
.pmenu-user-info strong { display: block; color: #fff; font-size: .95rem; font-weight: 700; }
.pmenu-user-info small { color: rgba(255,255,255,.7); font-size: .78rem; display: block; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pmenu-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.pmenu-close:hover { background: rgba(255,255,255,0.3); }

/* ── Nav Items ── */
.pmenu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.pmenu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s, padding-left .2s;
  position: relative;
}
.pmenu-item:hover {
  background: #f0fafa;
  color: #0d6e6e;
  padding-left: 26px;
}
.pmenu-item.pmenu-active {
  background: #e6f7f7;
  color: #0d6e6e;
  font-weight: 700;
  border-left: 3px solid #0d6e6e;
}
.pmenu-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #f0f9f8;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #0d6e6e;
  transition: background .15s, transform .2s;
}
.pmenu-item:hover .pmenu-icon { background: #d0f0ee; transform: scale(1.08); }
.pmenu-item.pmenu-active .pmenu-icon { background: #d0f0ee; }
.pmenu-icon-chat { background: linear-gradient(135deg, #0d6e6e, #14b8a6) !important; color: #fff !important; }
.pmenu-item:hover .pmenu-icon-chat { filter: brightness(1.1); }
.pmenu-arrow {
  margin-left: auto;
  color: #ccc;
  font-size: 1.1rem;
  transition: transform .2s, color .15s;
}
.pmenu-item:hover .pmenu-arrow { transform: translateX(3px); color: #0d6e6e; }
.pmenu-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: livePulse 1.8s ease infinite;
  margin-left: auto;
  margin-right: 6px;
}
@keyframes livePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.pmenu-divider { height: 1px; background: #f0f0f0; margin: 6px 16px; }
.pmenu-login { color: #0d6e6e !important; font-weight: 600 !important; }
.pmenu-logout { color: #e11d48 !important; }
.pmenu-logout .pmenu-icon { background: #fff0f3 !important; color: #e11d48 !important; }

/* ── Drawer Footer ── */
.pmenu-foot {
  padding: 16px 20px 24px;
  border-top: 1px solid #f0f0f0;
}
.pmenu-book-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  background: linear-gradient(135deg, #e05c3a, #ff7a5a);
  color: #fff;
  border-radius: 14px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(224,92,58,0.3);
  transition: transform .2s, box-shadow .2s;
}
.pmenu-book-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(224,92,58,0.4); color: #fff; }

/* ── Contact Choice Modal ── */
.cmodal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 4000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .3s;
}
.cmodal-overlay.active { display: flex; opacity: 1; }
.cmodal {
  background: #fff;
  border-radius: 24px;
  padding: 36px 28px 28px;
  width: min(420px, 92vw);
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  transform: translateY(20px) scale(0.96);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  animation: cmodalIn .35s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes cmodalIn {
  from { transform: translateY(30px) scale(0.93); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cmodal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  color: #666;
}
.cmodal-close:hover { background: #eee; }
.cmodal-title { font-size: 1.3rem; font-weight: 800; color: #111; margin: 0 0 6px; }
.cmodal-sub { color: #888; font-size: .9rem; margin: 0 0 24px; }
.cmodal-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cmodal-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px 20px;
  border: 2px solid #eee;
  border-radius: 18px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
  position: relative;
}
.cmodal-opt:hover { border-color: #0d6e6e; background: #f0fafa; transform: translateY(-3px); box-shadow: 0 8px 28px rgba(13,110,110,0.12); }
.cmodal-opt-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: #e6f7f7;
  display: flex; align-items: center; justify-content: center;
  color: #0d6e6e;
  transition: background .2s, transform .2s;
}
.cmodal-opt:hover .cmodal-opt-icon { background: #d0f0ee; transform: scale(1.08) rotate(-4deg); }
.cmodal-opt strong { font-size: .92rem; font-weight: 700; color: #111; }
.cmodal-opt small { font-size: .78rem; color: #888; text-align: center; }
.cmodal-opt-chat { border-color: #d0f0ee; }
.cmodal-opt-chat .cmodal-opt-icon { background: linear-gradient(135deg, #0d6e6e, #14b8a6); color: #fff; }
.cmodal-opt-chat:hover { border-color: #0d6e6e; background: #e6f7f7; }
.cmodal-live-badge {
  position: absolute;
  top: -8px; right: -8px;
  background: #22c55e;
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 3px 7px;
  border-radius: 20px;
  animation: livePulse 1.8s ease infinite;
}

/* ── Live Chat Panel ── */
.lchat-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 4500;
  opacity: 0;
  transition: opacity .3s;
}
.lchat-overlay.active { display: block; opacity: 1; }
.lchat-panel {
  position: fixed;
  bottom: 0; right: 0;
  width: min(380px, 100vw);
  height: min(580px, 92vh);
  z-index: 4600;
  background: #fff;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.18);
  transform: translateY(100%) perspective(600px) rotateX(4deg);
  transform-origin: bottom center;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}
.lchat-panel.open {
  transform: translateY(0) perspective(600px) rotateX(0deg);
}
@media (min-width: 500px) {
  .lchat-panel {
    bottom: 24px; right: 24px;
    border-radius: 20px;
    height: min(560px, 88vh);
  }
}
.lchat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 14px;
  background: linear-gradient(135deg, #0b3d3d, #0d6e6e);
  flex-shrink: 0;
}
.lchat-head-info { display: flex; align-items: center; gap: 12px; color: #fff; }
.lchat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.lchat-head-info strong { display: block; font-size: .92rem; font-weight: 700; }
.lchat-head-info small { font-size: .74rem; opacity: .8; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.lchat-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  animation: livePulse 1.8s ease infinite;
}
.lchat-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lchat-close:hover { background: rgba(255,255,255,0.3); }
.lchat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f7fbfb;
}
.lchat-msg {
  display: flex;
  flex-direction: column;
  max-width: 82%;
  animation: msgIn .3s ease;
}
@keyframes msgIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform: translateY(0); } }
.lchat-msg span {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: .88rem;
  line-height: 1.5;
}
.lchat-msg time { font-size: .7rem; color: #aaa; margin-top: 3px; padding: 0 4px; }
.lchat-bot { align-self: flex-start; }
.lchat-bot span { background: #fff; color: #222; border-radius: 4px 18px 18px 18px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.lchat-bot time { text-align: left; }
.lchat-user { align-self: flex-end; }
.lchat-user span { background: linear-gradient(135deg, #0d6e6e, #14b8a6); color: #fff; border-radius: 18px 4px 18px 18px; }
.lchat-user time { text-align: right; }
.lchat-quick {
  display: flex;
  gap: 8px;
  padding: 8px 14px;
  overflow-x: auto;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.lchat-quick::-webkit-scrollbar { display: none; }
.lchat-quick-btn {
  white-space: nowrap;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1.5px solid #d0f0ee;
  background: #f0fafa;
  color: #0d6e6e;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  flex-shrink: 0;
}
.lchat-quick-btn:hover { background: #d0f0ee; border-color: #0d6e6e; transform: translateY(-1px); }
.lchat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #f0f0f0;
  background: #fff;
  flex-shrink: 0;
}
#lchatInput {
  flex: 1;
  border: 1.5px solid #e0e0e0;
  border-radius: 24px;
  padding: 10px 16px;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
  background: #fafafa;
}
#lchatInput:focus { border-color: #0d6e6e; background: #fff; }
.lchat-send {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #0d6e6e, #14b8a6);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.lchat-send:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(13,110,110,.3); }

/* ── Hide old nav-links on mobile (we use drawer now) ── */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
}
