:root {
  --navy: #0a3d62;
  --navy-900: #06253d;
  --cyan: #00b4d8;
  --red: #e63939;
  --green: #10b981;
  --ink: #1e2937;
  --muted: #64748b;
  --line: #d9e7ee;
  --light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(10, 61, 98, 0.14);
  --radius: 8px;
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, 
.hero-title, .stat-number, .brand span {
  font-family: var(--font-heading);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

/* --- Live Doctor Availability Banner --- */
.live-status-banner {
  position: absolute;
  top: 90px;
  left: 5%;
  right: 5%;
  width: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
}

/* Green Status Theme */
.live-status-banner.status-open {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.05) 100%);
  border-bottom-color: rgba(16, 185, 129, 0.25);
}
.live-status-banner.status-open .live-dot {
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
}
.live-status-banner.status-open .live-badge {
  background-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
}
.live-status-banner.status-open .live-message {
  color: #065f46;
}

/* Orange Break Theme */
.live-status-banner.status-break {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.05) 100%);
  border-bottom-color: rgba(245, 158, 11, 0.25);
}
.live-status-banner.status-break .live-dot {
  background-color: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
}
.live-status-banner.status-break .live-badge {
  background-color: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}
.live-status-banner.status-break .live-message {
  color: #92400e;
}

/* Red Closed / Leave Theme */
.live-status-banner.status-closed,
.live-status-banner.status-leave {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.05) 100%);
  border-bottom-color: rgba(239, 68, 68, 0.25);
}
.live-status-banner.status-closed .live-dot,
.live-status-banner.status-leave .live-dot {
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444;
}
.live-status-banner.status-closed .live-badge,
.live-status-banner.status-leave .live-badge {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.live-status-banner.status-closed .live-message,
.live-status-banner.status-leave .live-message {
  color: #991b1b;
}

.live-status-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.8s infinite ease-in-out;
}

.live-message-wrapper {
  flex: 1;
  overflow: hidden;
}

.live-message {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  display: block;
}

/* Pulsing dot animation */
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

@media (max-width: 768px) {
  .live-status-banner {
    padding: 8px 16px;
  }
  .live-message {
    font-size: 12px;
  }
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 18px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 231, 238, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, padding 220ms ease;
}

.site-header.scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 10px 35px rgba(10, 61, 98, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 244px;
}

.brand-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 4px 12px rgba(10, 61, 98, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.brand:hover .brand-avatar {
  transform: scale(1.08);
  border-color: var(--cyan);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--navy);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease;
}

.nav-cta,
.button.primary {
  color: var(--white);
  background: var(--cyan);
  box-shadow: 0 15px 30px rgba(0, 180, 216, 0.28);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(10, 61, 98, 0.14);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 180, 216, 0.36);
}

.nav-cta:active,
.button:active,
.treatment-tab:active,
.mobile-booking-bar a:active,
.trust-item:active,
.service-card:active {
  transform: scale(0.96) !important;
  box-shadow: none !important;
  transition-duration: 0.1s !important;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.mobile-menu {
  position: fixed;
  z-index: 45;
  top: 72px;
  left: 14px;
  right: 14px;
  display: none;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-menu.open {
  display: grid;
}

.mobile-menu a {
  padding: 13px 10px;
  color: var(--navy);
  font-weight: 800;
}

.mobile-menu-cta {
  margin-top: 8px;
  color: var(--white) !important;
  text-align: center;
  border-radius: var(--radius);
  background: var(--cyan);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: 100vh;
  padding: 126px clamp(18px, 6vw, 86px) 78px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(0, 180, 216, 0.15), transparent 28%),
    linear-gradient(118deg, #ffffff 0%, #f8fbfc 48%, #edf8fb 100%);
}

.hero-pattern {
  position: absolute;
  inset: 94px 0 0 auto;
  width: 52vw;
  opacity: 0.18;
  background-image:
    linear-gradient(90deg, rgba(10, 61, 98, 0.22) 1px, transparent 1px),
    linear-gradient(rgba(10, 61, 98, 0.22) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, transparent);
}

.availability,
.section-heading span,
.profile-copy > span,
.why-copy > span,
.appointment-copy > span {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy,
.hero-media {
  min-width: 0;
}

.hero h1 span {
  display: block;
}

.hero-subtitle {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  border: 1px solid rgba(10, 61, 98, 0.1);
  border-radius: 50px;
  color: var(--navy);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #facc15;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-proof span {
  padding: 10px 13px;
  color: var(--navy);
  border: 1px solid rgba(10, 61, 98, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.hero-media {
  position: relative;
  align-self: end;
}

.hero-media img {
  width: min(560px, 100%);
  aspect-ratio: 0.86;
  object-fit: cover;
  object-position: 54% center;
  border-radius: 0 0 48% 48%;
  box-shadow: 0 28px 80px rgba(10, 61, 98, 0.18);
  will-change: transform;
  transition: transform 0.1s linear;
}

.floating-card {
  position: absolute;
  width: min(240px, 58%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  color: var(--navy);
  font-size: 15px;
}

.floating-card span {
  color: var(--muted);
  font-size: 13px;
}

.floating-card.top {
  top: 13%;
  left: -34px;
}

.floating-card.bottom {
  right: -16px;
  bottom: 11%;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: grid;
  width: 30px;
  height: 48px;
  place-items: start center;
  padding-top: 8px;
  border: 1px solid rgba(10, 61, 98, 0.22);
  border-radius: 30px;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 5px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  animation: scrollDot 1.7s ease infinite;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  padding: 30px clamp(18px, 3vw, 42px);
  background: var(--white);
}

.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
}

.trust-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(70px, 9vw, 124px) clamp(18px, 6vw, 86px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 42px;
}

.section-heading h2,
.profile-copy h2,
.contact-card h2 {
  margin: 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 60%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--navy);
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.why-copy h2,
.appointment-copy h2 {
  margin: 0;
  background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.85) 60%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--white);
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.appointment-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.profile-copy p,
.why-copy p,
.appointment-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.why-card,
.testimonial-card,
.blog-card,
.appointment-form,
.contact-card,
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 32px rgba(0, 180, 216, 0.04), 0 4px 10px rgba(10, 61, 98, 0.03);
}

.service-card {
  min-height: 282px;
  padding: 28px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
}

.service-card:hover {
  transform: scale(1.02) translateY(-6px);
  border-color: rgba(0, 180, 216, 0.45);
  box-shadow: 0 28px 60px rgba(10, 61, 98, 0.14);
}

/* Bento Grid: First and Last service cards take 2 columns */
.service-grid .service-card:first-child {
  grid-column: span 2;
  background: linear-gradient(135deg, #f0f9ff 0%, #e8f7fc 100%);
  border-color: rgba(0, 180, 216, 0.2);
}

.service-grid .service-card:last-child {
  grid-column: span 2;
  background: linear-gradient(135deg, #f0f9ff 0%, #e8f7fc 100%);
  border-color: rgba(0, 180, 216, 0.2);
}

/* Staggered reveal delays for service cards */
.service-grid .service-card:nth-child(1) { transition-delay: 0s; }
.service-grid .service-card:nth-child(2) { transition-delay: 0.08s; }
.service-grid .service-card:nth-child(3) { transition-delay: 0.16s; }
.service-grid .service-card:nth-child(4) { transition-delay: 0.24s; }
.service-grid .service-card:nth-child(5) { transition-delay: 0.32s; }
.service-grid .service-card:nth-child(6) { transition-delay: 0.40s; }

.icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--cyan);
  border-radius: var(--radius);
  background: #e9f9fc;
  font-size: 22px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3,
.treatment-detail h3,
.blog-card h3 {
  margin: 22px 0 12px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.service-card p,
.why-card p,
.testimonial-card p,
.blog-card p,
.contact-card p {
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--cyan);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  background: var(--light);
}

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

@keyframes blobPulse {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.05); }
}

.profile-image {
  position: relative;
  animation: floatBreathing 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.profile-image::before {
  content: "";
  position: absolute;
  inset: 10% -10% -5% 10%;
  background: radial-gradient(circle at center, var(--cyan), transparent 60%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(25px);
  animation: blobPulse 7s ease-in-out infinite;
}

.profile-image img {
  position: relative;
  width: 100%;
  aspect-ratio: 0.84;
  object-fit: cover;
  /* Arch shape */
  border-radius: 120px 120px 16px 16px;
  box-shadow: 0 35px 65px rgba(10, 61, 98, 0.18);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-image img:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-4deg) translateY(-5px);
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding-left: 20px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 6px;
  width: 2px;
  background-image: linear-gradient(to bottom, var(--cyan) 50%, transparent 50%);
  background-size: 2px 10px;
  z-index: 0;
  opacity: 0.5;
}

.timeline div {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(10, 61, 98, 0.05);
  /* Initial state for staggered animation */
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline div::before {
  content: "";
  position: absolute;
  top: 26px;
  left: -20px;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
  z-index: 2;
}

/* Trigger staggered animation when parent is revealed */
.profile-copy.visible .timeline div {
  opacity: 1;
  transform: translateX(0);
}

.profile-copy.visible .timeline div:nth-child(1) { transition-delay: 0.2s; }
.profile-copy.visible .timeline div:nth-child(2) { transition-delay: 0.4s; }
.profile-copy.visible .timeline div:nth-child(3) { transition-delay: 0.6s; }

.timeline strong {
  color: var(--navy);
}

.timeline p {
  margin: 0;
}

.treatment-band {
  background: linear-gradient(180deg, #ffffff 0%, #eef9fb 100%);
}

.treatment-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}

.treatment-list {
  display: grid;
  gap: 10px;
  align-self: start;
}

.treatment-tab {
  min-height: 58px;
  padding: 0 18px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.treatment-tab.active {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.treatment-detail {
  display: none;
  grid-template-columns: 0.9fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 410px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: opacity 180ms ease, transform 180ms ease;
}

.treatment-detail.active {
  display: grid;
  animation: fadeIn 0.3s ease forwards;
}

.treatment-detail.is-swapping {
  opacity: 0;
  transform: translateY(8px);
}

.treatment-detail img {
  width: 100%;
  aspect-ratio: 1.16;
  object-fit: cover;
  border-radius: var(--radius);
}

.treatment-detail .crossfade-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1.16;
  border-radius: var(--radius);
  overflow: hidden;
}

.treatment-detail .crossfade-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.treatment-detail .crossfade-container .crossfade-img {
  animation: crossfadeAnim 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes crossfadeAnim {
  0%, 35% { opacity: 0; }
  50%, 85% { opacity: 1; }
  100% { opacity: 0; }
}

.treatment-detail ul {
  padding-left: 20px;
  color: var(--ink);
}

.clinical-section {
  background: var(--white);
}

.clinical-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.clinical-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.clinical-card.large {
  min-height: 460px;
}

.clinical-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96);
}

.clinical-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 37, 61, 0.82));
}

.clinical-card div {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 22px;
  left: 22px;
  color: var(--white);
}

.clinical-card strong,
.clinical-card span {
  display: block;
}

.clinical-card strong {
  font-size: 22px;
  line-height: 1.15;
}

.clinical-card span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.why-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  background: var(--navy);
}

.why-section h2,
.why-section .why-copy p {
  color: var(--white);
}

.why-section .why-copy p {
  opacity: 0.78;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.why-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.why-card strong {
  color: var(--navy);
  font-size: 18px;
}

.reviews-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  margin-inline: calc(clamp(18px, 6vw, 86px) * -1);
  padding-inline: clamp(18px, 6vw, 86px);
  padding-bottom: 24px;
  padding-top: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

.reviews-grid .reveal {
  opacity: 1;
  transform: none;
}

/* ===== GOOGLE REVIEWS SECTION ===== */
.google-rating-box {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  padding: 16px 32px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid #edf2f7;
}

.rating-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.rating-text {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 4px;
}

.review-card {
  width: 380px;
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: center;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.review-stars {
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
  
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #edf2f7;
  padding-top: 16px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.reviewer-badge {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
}

@media (max-width: 768px) {
  .google-rating-box {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    text-align: center;
  }
  .rating-details {
    align-items: center;
  }
  .review-card {
    width: 320px;
    padding: 24px;
  }
}

.video-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 18px 38px rgba(230, 57, 57, 0.28);
  cursor: pointer;
}

.testimonial-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
}

.testimonial-card p {
  color: var(--ink);
  font-size: 19px;
}

.testimonial-card strong {
  color: var(--navy);
}

.testimonial-card span {
  color: var(--muted);
}

.testimonial-card.success {
  border-color: rgba(16, 185, 129, 0.25);
  background: #effdf7;
}

.video-section {
  background: var(--white);
}

.podcast-card {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  box-shadow: 0 16px 32px rgba(10, 61, 98, 0.08);
  border: 1px solid var(--line);
  background: var(--light);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.podcast-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 180, 216, 0.15);
}

.blog-section {
  background: var(--light);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.slider-controls {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #edf2f7;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.slider-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: scale(1.05);
}

.blog-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding-bottom: 32px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.blog-grid::-webkit-scrollbar {
  display: none;
}

.blog-card {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  background: var(--light);
}

.blog-card:hover img,
.blog-card:active img {
  height: 480px;
  object-fit: contain;
  transform: scale(1.02);
}

.blog-card div {
  padding: 22px;
}

.blog-card h3 {
  margin-top: 0;
}

.appointment-section {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  padding: clamp(70px, 9vw, 124px) clamp(18px, 6vw, 86px);
  background:
    linear-gradient(135deg, rgba(10, 61, 98, 0.96), rgba(0, 180, 216, 0.88)),
    url("kidney-anatomy.webp") center/cover;
  color: var(--white);
}

.appointment-copy h2,
.appointment-copy p {
  color: var(--white);
}

.appointment-copy p {
  opacity: 0.82;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-strip a {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  font-weight: 800;
}

.appointment-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--ink);
}

.appointment-form > label,
.form-field {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.appointment-form input,
.custom-select button,
.locked-select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--light);
}

.form-floating {
  position: relative;
}

.form-floating input {
  padding: 24px 14px 8px !important;
  font-weight: 600;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-floating input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-floating label {
  position: absolute;
  left: 15px;
  top: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label {
  top: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan);
}

.valid-tick {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 20px;
  height: 20px;
  color: var(--green);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-floating input:valid:not(:placeholder-shown) ~ .valid-tick {
  transform: translateY(-50%) scale(1);
}

.appointment-form input:focus,
.custom-select button:focus,
.custom-select.open button {
  outline: 3px solid rgba(0, 180, 216, 0.22);
  border-color: var(--cyan);
}

.custom-select {
  position: relative;
}

.custom-select button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.custom-select button::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.custom-select.open button::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.custom-select ul {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: none;
  overflow: hidden;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.custom-select.open ul {
  display: block;
}

.custom-select li {
  padding: 12px;
  color: var(--ink);
  border-radius: 6px;
  cursor: pointer;
}

.custom-select li:hover,
.custom-select li[aria-selected="true"] {
  color: var(--navy);
  background: #e9f9fc;
}

.locked-select {
  display: grid;
  align-content: center;
}

.locked-select strong,
.locked-select small {
  display: block;
}

.locked-select small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note.error {
  color: var(--red);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
  gap: 18px;
  padding: clamp(70px, 8vw, 104px) clamp(18px, 6vw, 86px);
  background: var(--white);
}

.footer-doctor-info {
  margin-bottom: 8px;
}

.footer-icon-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 340px;
  margin: 24px 0;
}

.footer-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.footer-icon svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.footer-icon:hover {
  transform: translateY(-4px);
}

.footer-icon:hover svg {
  transform: scale(1.1);
}

.footer-icon.location {
  background: rgba(0, 180, 216, 0.15);
  color: var(--cyan);
  border-color: rgba(0, 180, 216, 0.3);
}
.footer-icon.location:hover {
  background: var(--cyan);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.4);
}

.footer-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.3);
}
.footer-icon.whatsapp:hover {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.footer-icon.instagram {
  background: rgba(225, 48, 108, 0.15);
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.3);
}
.footer-icon.instagram:hover {
  background: #e1306c;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(225, 48, 108, 0.4);
}

.footer-icon.facebook {
  background: rgba(24, 119, 242, 0.15);
  color: #1877f2;
  border-color: rgba(24, 119, 242, 0.3);
}
.footer-icon.facebook:hover {
  background: #1877f2;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.footer-address {
  margin-bottom: 12px;
}

.footer-address p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(18px, 6vw, 86px) 88px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--navy-900);
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--white);
  font-weight: 800;
}

.footer-note {
  justify-self: end;
  max-width: 360px;
  text-align: right;
}

.dev-credit-btn {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 32px;
  padding: 12px 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dev-credit-btn:hover {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.dev-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.dev-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.dev-modal {
  position: fixed;
  z-index: 99999;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--light);
  border-radius: 24px 24px 0 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.dev-modal.open {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .dev-modal {
    top: 50%;
    left: 50%;
    bottom: auto;
    right: auto;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    transform: translate(-50%, 50%);
    opacity: 0;
    pointer-events: none;
  }
  .dev-modal.open {
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: auto;
  }
}

.dev-modal-header {
  position: relative;
  padding: 32px 24px;
  background: linear-gradient(135deg, #0f766e, #115e59);
  border-radius: 24px 24px 0 0;
  color: var(--white);
  overflow: hidden;
}

@media (min-width: 768px) {
  .dev-modal-header {
    border-radius: 24px 24px 0 0;
  }
}

.dev-modal-header::after {
  content: "</>";
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 140px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  font-family: monospace;
  pointer-events: none;
}

.dev-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.dev-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dev-header-content {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.dev-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.dev-info h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.dev-info p {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

.dev-modal-body {
  padding: 24px;
}

.dev-intro {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.dev-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-bottom: 12px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(10, 61, 98, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.dev-contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 61, 98, 0.08);
}

.dev-contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.dev-contact-icon.call {
  background: #eef2ff;
  color: #4f46e5;
}

.dev-contact-icon.email {
  background: #ecfdf5;
  color: #10b981;
}

.dev-contact-icon.insta {
  background: #fdf2f8;
  color: #db2777;
}

.dev-contact-text {
  display: flex;
  flex-direction: column;
}

.dev-contact-text strong {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}

.dev-contact-text span {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.dev-link-icon {
  position: absolute;
  right: 16px;
  color: #cbd5e1;
}

/* --- FAB Speed Dial Menu (Desktop Only) --- */
/* Secondary Live Badge in Mobile Booking Bar */
.booking-live-badge {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  border-radius: 20px;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.booking-live-badge .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.8s infinite ease-in-out;
}
.booking-live-badge.status-open { color: #065f46; background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.25); }
.booking-live-badge.status-open .live-dot { background-color: #10b981; box-shadow: 0 0 6px #10b981; }

.booking-live-badge.status-break { color: #92400e; background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.25); }
.booking-live-badge.status-break .live-dot { background-color: #f59e0b; box-shadow: 0 0 6px #f59e0b; }

.booking-live-badge.status-closed, .booking-live-badge.status-leave { color: #991b1b; background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.25); }
.booking-live-badge.status-closed .live-dot, .booking-live-badge.status-leave .live-dot { background-color: #ef4444; box-shadow: 0 0 6px #ef4444; }

.fab-container {
  position: fixed;
  z-index: 55;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 4px;
}

.fab-container:hover .fab-actions {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-action {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: transform 0.2s, color 0.2s;
  position: relative;
  text-decoration: none;
  margin-right: 6px; /* Align with center of main fab icon */
}

.fab-action:hover {
  transform: scale(1.1);
  color: var(--primary);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(10, 61, 98, 0.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--primary);
  transform: scale(1.1);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.fab-main {
  display: flex;
  align-items: center;
  background: var(--green);
  color: var(--white);
  border-radius: 30px;
  padding: 0 6px;
  height: 56px;
  box-shadow: 0 18px 34px rgba(16, 185, 129, 0.34);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.fab-icon-wrapper {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.fab-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.fab-text {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease-in-out, padding 0.3s ease;
  padding-right: 0;
}

.fab-container:hover .fab-main {
  padding: 0 20px 0 6px;
}

.fab-container:hover .fab-text {
  max-width: 150px;
  opacity: 1;
  padding-left: 8px;
}

.mobile-booking-bar {
  position: fixed;
  z-index: 54;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: none;
  grid-template-columns: 0.8fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.mobile-booking-bar a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
  border-radius: 50px;
}

.mobile-booking-bar a.btn-whatsapp {
  background: #25d366;
}

.mobile-booking-bar a + a {
  background: var(--cyan);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  /* Spring physics easing — matches reference video's buttery feel */
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for sibling reveal elements */
.why-grid .why-card:nth-child(1) { transition-delay: 0s; }
.why-grid .why-card:nth-child(2) { transition-delay: 0.1s; }
.why-grid .why-card:nth-child(3) { transition-delay: 0.2s; }
.why-grid .why-card:nth-child(4) { transition-delay: 0.3s; }

.blog-grid .blog-card:nth-child(1) { transition-delay: 0s; }
.blog-grid .blog-card:nth-child(2) { transition-delay: 0.12s; }
.blog-grid .blog-card:nth-child(3) { transition-delay: 0.24s; }

.hero .reveal {
  opacity: 1;
  transform: none;
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(18px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

@media (max-width: 1120px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .hero,
  .split-section,
  .why-section,
  .appointment-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    align-self: center;
    max-width: 620px;
  }

  .service-grid,
  .clinical-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    margin-inline: -16px;
  }

  .review-summary,
  .review-card {
    flex-basis: 315px;
  }

  .testimonial-card,
  .review-summary,
  .review-card {
    min-height: 240px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 108px;
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-copy {
    width: 334px;
    max-width: 100%;
    padding-right: 0;
    margin-top: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .desktop-only {
    display: none !important;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .hero-actions,
  .hero-actions .button,
  .hero-actions .review-badge {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .hero-proof {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 12px;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .hero-proof > span {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  
  .hero-proof::-webkit-scrollbar {
    display: none;
  }

  .hero-proof span {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    scroll-snap-align: start;
    border-radius: 50px;
    padding: 10px 20px;
    white-space: nowrap;
  }

  .floating-card {
    position: relative;
    inset: auto !important;
    width: 100%;
    margin-top: 10px;
  }

  .scroll-cue {
    display: none;
  }

  .treatment-layout,
  .treatment-detail {
    grid-template-columns: 1fr;
  }

  .clinical-grid,
  .why-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin-inline: -16px;
    padding-inline: 16px;
    padding-bottom: 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .clinical-grid::-webkit-scrollbar,
  .why-grid::-webkit-scrollbar {
    display: none;
  }

  .clinical-grid .clinical-card,
  .why-grid .why-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .blog-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .slider-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .slider-controls {
    display: none;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: transparent;
    border: none;
    padding: 0;
  }

  .trust-bar .trust-item {
    border-radius: var(--radius);
    background: rgba(0, 180, 216, 0.04);
    border: 1px solid rgba(0, 180, 216, 0.1);
    padding: 20px 16px;
  }
  
  .trust-bar .trust-item strong {
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 6px;
  }

  .service-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin-inline: -16px;
    padding-inline: 16px;
    padding-bottom: 30px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  
  .service-grid::-webkit-scrollbar {
    display: none;
  }
  
  .service-grid .service-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .timeline div {
    grid-template-columns: 1fr;
  }

  .treatment-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -16px;
    padding-bottom: 16px;
    gap: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  
  .treatment-list::-webkit-scrollbar {
    display: none;
  }
  
  .treatment-tab {
    flex: 0 0 auto;
    width: auto;
    scroll-snap-align: start;
    padding: 14px 24px;
    border-radius: 50px;
    white-space: nowrap;
  }

  .section,
  .appointment-section,
  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .video-card {
    min-height: 290px;
  }

  .clinical-card,
  .clinical-card.large {
    min-height: 310px;
  }

  .fab-container {
    display: none;
  }

  .mobile-booking-bar {
    display: grid;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 120px;
  }

  .footer-note {
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reviews-track {
    animation: none;
  }
}

/* ===== NATIVE CAROUSEL INDICATORS ===== */
.native-carousel-indicators {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  flex-wrap: wrap; /* In case of many dots */
}
@media (max-width: 768px) {
  .native-carousel-indicators {
    display: flex;
  }
}
.native-carousel-indicators .indicator {
  width: 12px;
  height: 4px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  transition: all 0.3s ease;
}
.native-carousel-indicators .indicator.active {
  width: 24px;
  background: var(--primary, #0ea5e9);
}

/* Pagination Dots Styles */
.pagination-dots {
  display: none;
}

@media (max-width: 768px) {
  .pagination-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 24px;
    width: 100%;
  }

  .pagination-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1; /* Slightly darker than line for better visibility */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .pagination-dots .dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
  }
}

/* Footer Copyright */
.footer-copyright {
  width: 100%;
  text-align: center;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer-copyright p {
  margin: 0;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  
  .treatment-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .treatment-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin-inline: -16px;
    padding-inline: 16px;
    padding-bottom: 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  
  .treatment-carousel::-webkit-scrollbar {
    display: none;
  }

  .treatment-detail {
    display: flex !important;
    flex-direction: column;
    min-width: 85vw;
    scroll-snap-align: center;
    min-height: auto;
    gap: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .treatment-detail img {
    aspect-ratio: 4/3;
    object-position: top center;
  }
}

@media (max-width: 768px) {
  .treatment-detail .crossfade-container {
    aspect-ratio: 4/3;
  }
}











.rirs-slider img {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.rirs-slider img.active {
  opacity: 1;
}

/* Mobile Category Tag */
.mobile-category-tag {
  display: none; /* Hidden on desktop by default */
}

@media (max-width: 768px) {
  .mobile-category-tag {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--cyan);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    background: rgba(0, 168, 204, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    border-left: 3px solid var(--cyan);
  }
}
