/* ===== Design tokens ===== */
:root {
  --primary: 169 69% 36%;
  --primary-hover: 169 69% 30%;
  --primary-soft: 169 50% 95%;
  --accent: 169 40% 92%;
  --fg: 220 20% 15%;
  --muted: 220 10% 45%;
  --bg: 0 0% 100%;
  --card: 0 0% 100%;
  --border: 210 20% 90%;
  --radius: 1rem;
  --shadow: 0 4px 20px -2px hsl(220 20% 15% / 0.08);
  --shadow-lg: 0 12px 40px -8px hsl(220 20% 15% / 0.14);
  --font: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: hsl(var(--fg));
  background: hsl(var(--bg));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(var(--primary) / 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
  mix-blend-mode: multiply;
}
@media (hover: hover) {
  body:hover .cursor-glow { opacity: 1; }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.85rem 0;
}
.nav-inner {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  z-index: 2;
}
.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(169 60% 45%));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.logo-text em { font-style: normal; font-weight: 500; color: hsl(var(--muted)); }
.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: hsl(var(--muted));
  transition: color 0.25s, background 0.25s;
}
.nav-link:hover,
.nav-link.active {
  color: hsl(var(--primary));
  background: hsl(var(--primary-soft));
}
.nav-cta { margin-left: 0.5rem; }

/* Mobile Navbar Enhancements */
@media (max-width: 900px) {
  .navbar {
    padding: 1.1rem 0;
  }
  
  .navbar.scrolled {
    padding: 0.75rem 0;
  }
  
  .nav-inner {
    gap: 1rem;
  }
  
  .logo {
    font-size: 1.05rem;
  }
  
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    gap: 0.25rem;
    border-radius: 0 0 1rem 1rem;
    border-top: 1px solid hsl(var(--border));
    animation: slideDownMenu 0.3s ease-out;
  }
  
  @keyframes slideDownMenu {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .nav-links.open .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 0.6rem;
    font-size: 0.9rem;
    transition: background 0.25s;
  }
  
  .nav-links.open .nav-link:hover {
    background: hsl(var(--primary-soft));
  }
}

@media (max-width: 560px) {
  .navbar {
    padding: 1rem 0;
  }
  
  .navbar.scrolled {
    padding: 0.7rem 0;
  }
  
  .nav-inner {
    width: min(100% - 1.5rem, 100%);
    gap: 0.8rem;
  }
  
  .logo {
    font-size: 0.95rem;
  }
  
  .logo-img {
    height: 2.2rem;
    width: auto;
  }
  
  .menu-toggle {
    padding: 0.3rem;
  }
  
  .menu-toggle span {
    width: 20px;
    height: 1.8px;
  }
  
  .nav-links.open {
    padding: 0.8rem;
    gap: 0.1rem;
  }
  
  .nav-links.open .nav-link {
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
  }
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 2;
  transition: 0.3s;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: hsl(var(--fg));
  border-radius: 2px;
  transition: 0.3s;
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, opacity 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: hsl(var(--primary));
  color: white;
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.35);
}
.btn-primary:hover {
  background: hsl(var(--primary-hover));
  box-shadow: 0 8px 24px hsl(var(--primary) / 0.4);
}
.btn-outline {
  background: transparent;
  color: hsl(var(--fg));
  border: 1.5px solid hsl(var(--border));
}
.btn-outline:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  background: hsl(var(--primary-soft));
}
.btn-white {
  background: white;
  color: hsl(var(--primary));
  box-shadow: 0 4px 20px rgb(0 0 0 / 0.12);
}
.btn-white:hover { box-shadow: 0 8px 28px rgb(0 0 0 / 0.18); }
.btn-lg { padding: 0.9rem 1.75rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* Mobile Button Optimizations */
@media (max-width: 768px) {
  .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 560px) {
  .btn {
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    min-height: 44px;
    display: flex;
  }
  
  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    min-height: 48px;
  }
  
  .btn-full {
    width: 100%;
    justify-content: center;
  }
}

/* Small utility for map link styled as a button */
.map-link {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: hsl(var(--primary));
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 6px 18px hsl(var(--primary) / 0.18);
}
.map-link:hover { background: hsl(var(--primary-hover)); transform: translateY(-2px); }

/* Embedded map styling */
.map-embed {
  margin-top: 0.6rem;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-embed iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}
@media (min-width: 900px) {
  .map-embed iframe { height: 320px; }
}

/* Boxed map section placed before footer */
.map-box {
  padding: 2rem 0;
  background: transparent;
}
.map-box-inner {
  background: hsl(210 20% 98%);
  border: 1px solid hsl(var(--border));
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.map-box-inner h2 {
  margin: 0 0 0.65rem 0;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 33, 30, 0.92) 0%, rgba(13, 33, 30, 0.6) 45%, rgba(13, 33, 30, 0.25) 75%, transparent 100%);
  z-index: 1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(var(--border) / 0.5) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--border) / 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  opacity: 0.15;
  z-index: 2;
}
.hero-content {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
}
.hero-text {
  max-width: 650px;
}
.badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #13bca9;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: white;
}
.gradient-text {
  background: linear-gradient(135deg, #13bca9, #0fa494);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero-actions .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: #13bca9;
  letter-spacing: -0.02em;
}
.stat-suffix {
  font-size: 1.35rem;
  font-weight: 700;
  color: #13bca9;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.15rem;
}

/* Hero visual cards */
.hero-visual { position: relative; }
.hero-card-stack {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.card-main {
  width: min(290px, 80%);
  padding: 0.75rem;
  position: relative;
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite;
}
.card-secondary {
  position: absolute;
  width: min(240px, 70%);
  padding: 0.6rem;
  left: -12%;
  bottom: 2%;
  z-index: 1;
  transform: rotate(-8deg);
  animation: floatCardSec 6s ease-in-out infinite;
  animation-delay: -3s;
}
@keyframes floatCardSec {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-8px) rotate(-6deg); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-img-wrap {
  aspect-ratio: 4/5;
  border-radius: 1.1rem;
  overflow: hidden;
  background: linear-gradient(160deg, hsl(var(--primary-soft)), hsl(180 30% 95%));
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.hero-img-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: hsl(var(--primary) / 0.4);
}
.hero-img-fallback svg { width: 80px; height: 80px; }
.hero-img-wrap:not(:has(img[src])) .hero-img-fallback,
.no-img .hero-img-fallback { display: grid; }
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: badgePop 0.6s ease-out both;
}
.badge-1 {
  top: 12%;
  left: -12%;
  animation-delay: 0.8s;
}
.badge-2 {
  bottom: 18%;
  right: -10%;
  color: hsl(40 90% 40%);
  animation-delay: 1s;
}
@keyframes badgePop {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: hsl(145 70% 42%);
  box-shadow: 0 0 0 0 hsl(145 70% 42% / 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 hsl(145 70% 42% / 0.5); }
  70% { box-shadow: 0 0 0 8px hsl(145 70% 42% / 0); }
  100% { box-shadow: 0 0 0 0 hsl(145 70% 42% / 0); }
}
.card-side {
  position: absolute;
  padding: 1rem 1.15rem;
  width: 155px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  animation: slideInSide 0.8s ease-out both;
}
.card-left {
  left: -20%;
  top: 15%;
  transform: rotate(-6deg);
  animation-name: slideLeft;
}
.card-right {
  right: -15%;
  bottom: 8%;
  transform: rotate(6deg);
  animation-name: slideRight;
  animation-delay: 0.15s;
}
@keyframes slideLeft {
  from { opacity: 0; left: 20%; transform: rotate(0); }
  to { opacity: 1; left: -20%; transform: rotate(-6deg); }
}
@keyframes slideRight {
  from { opacity: 0; right: 20%; transform: rotate(0); }
  to { opacity: 1; right: -15%; transform: rotate(6deg); }
}
.mini-icon { font-size: 1.4rem; margin-bottom: 0.35rem; }
.card-side strong { display: block; font-size: 0.85rem; }
.card-side span { font-size: 0.75rem; color: hsl(var(--muted)); }

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  z-index: 3;
}

@media (max-width: 560px) {
  .scroll-hint {
    bottom: 1rem;
    font-size: 0.65rem;
    gap: 0.3rem;
  }
}
.scroll-line {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, hsl(var(--primary)), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.3; }
}

/* Sections */
.section {
  padding: 5.5rem 0;
}
.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--primary));
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: hsl(var(--muted));
  font-size: 1.05rem;
}

/* Services */
.services { background: hsl(210 20% 98%); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(169 55% 50%));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  transition: transform 0.35s;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-4deg); }
.service-icon svg { width: 1.35rem; height: 1.35rem; }
.bg-teal { background: hsl(169 50% 94%); color: hsl(var(--primary)); }
.bg-red { background: hsl(0 80% 96%); color: hsl(0 70% 50%); }
.bg-purple { background: hsl(270 60% 96%); color: hsl(270 55% 50%); }
.bg-primary { background: hsl(var(--primary-soft)); color: hsl(var(--primary)); }
.bg-blue { background: hsl(210 80% 95%); color: hsl(210 70% 50%); }
.bg-amber { background: hsl(40 90% 94%); color: hsl(35 90% 42%); }
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.9rem;
  color: hsl(var(--muted));
  margin-bottom: 1rem;
  line-height: 1.55;
}
.service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.25s;
}
.service-link:hover { gap: 0.55rem; }

/* Doctor */
.doctor { background: white; }
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.doctor-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, hsl(var(--primary-soft)), hsl(180 25% 94%));
  box-shadow: var(--shadow-lg);
}
.doctor-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.doctor-frame.no-img::after {
  content: "Dr. Suresh Kumar";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: hsl(var(--primary) / 0.5);
}
.doctor-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: white;
  padding: 0.75rem 1.1rem;
  border-radius: 0.85rem;
  box-shadow: var(--shadow);
  animation: floatCard 5s ease-in-out infinite;
}
.doctor-badge span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted));
}
.doctor-badge strong {
  font-size: 1rem;
  color: hsl(var(--primary));
}
.doctor-role {
  color: hsl(var(--primary));
  font-weight: 600;
  margin: 0.5rem 0 1rem;
}
.doctor-content p { color: hsl(var(--muted)); margin-bottom: 1.25rem; }
.doctor-highlights {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.doctor-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
}
.check {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: hsl(var(--primary-soft));
  color: hsl(var(--primary));
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Why us */
.why-us { background: hsl(210 20% 98%); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.why-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid hsl(var(--border));
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: hsl(var(--primary) / 0.3);
}
.why-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: hsl(var(--primary) / 0.25);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.why-card p {
  font-size: 0.9rem;
  color: hsl(var(--muted));
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin: 0.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.about-content > p {
  color: hsl(var(--muted));
  margin-bottom: 1rem;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.about-feat {
  padding: 1rem 1.15rem;
  background: hsl(var(--primary-soft));
  border-radius: 0.85rem;
  border-left: 3px solid hsl(var(--primary));
  transition: transform 0.25s;
}
.about-feat:hover { transform: translateX(6px); }
.about-feat strong { display: block; margin-bottom: 0.15rem; }
.about-feat span { font-size: 0.875rem; color: hsl(var(--muted)); }
.about-card-stack { position: relative; }
.about-img-card {
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, hsl(var(--primary-soft)), hsl(180 25% 94%));
  box-shadow: var(--shadow-lg);
}
.about-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-img-card.no-img {
  display: grid;
  place-items: center;
  color: hsl(var(--primary) / 0.4);
  font-weight: 600;
}
.about-stat-card {
  position: absolute;
  bottom: -1.25rem;
  right: -0.5rem;
  background: hsl(var(--primary));
  color: white;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 12px 30px hsl(var(--primary) / 0.4);
  text-align: center;
  animation: floatCard 5.5s ease-in-out infinite;
}
.about-stat-card .big {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
}
.about-stat-card span:last-child {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* CTA */
.cta-banner {
  margin: 0 1rem 0;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(169 60% 32%));
  color: white;
  padding: 3.5rem 0;
  max-width: 1120px;
  margin-inline: auto;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
  max-width: 28rem;
}
.cta-inner p { opacity: 0.9; font-size: 0.95rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem;
  background: hsl(210 20% 98%);
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  transition: transform 0.25s, border-color 0.25s;
}
.contact-item:hover {
  transform: translateX(4px);
  border-color: hsl(var(--primary) / 0.3);
}
.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  background: white;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}
.contact-item strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}
.contact-item a,
.contact-item span {
  color: hsl(var(--muted));
  font-size: 0.95rem;
}
.contact-item a:hover { color: hsl(var(--primary)); }

.contact-form {
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.15rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(210 20% 99%);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}
.form-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--primary));
  text-align: center;
  min-height: 1.25rem;
}

/* Footer */
.footer {
  background: hsl(220 25% 10%);
  color: hsl(210 20% 90%);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.footer p {
  color: hsl(210 15% 60%);
  font-size: 0.9rem;
  max-width: 28rem;
  margin-bottom: 2rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(220 15% 20%);
  font-size: 0.85rem;
  color: hsl(210 15% 55%);
}
.footer-links {
  display: flex;
  gap: 1.25rem;
}
.footer-links a:hover { color: white; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content,
  .doctor-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { display: none; }
  .hero-card-stack { display: none; }
  .hero-bg-overlay {
    background: linear-gradient(to top, rgba(13, 33, 30, 0.95) 0%, rgba(13, 33, 30, 0.7) 60%, rgba(13, 33, 30, 0.35) 100%);
  }
  .hero-bg-img {
    object-position: center;
  }
  .card-secondary {
    width: min(200px, 60%);
    left: -8%;
    bottom: -2%;
  }
  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links,
  .nav-cta { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    gap: 0.25rem;
  }
  .nav-links.open .nav-link {
    padding: 0.75rem 1rem;
  }
  .cta-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .card-left, .card-right { display: none; }
}

/* Enhanced Mobile Styling for Tablets - 768px and below */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  
  .hero {
    padding: 7rem 0 3.5rem;
    min-height: auto;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 1rem;
  }
  
  .hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
  }
  
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .hero-actions {
    gap: 0.6rem;
    margin-bottom: 2rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .stat-num {
    font-size: 1.5rem;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .section-header h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 0.6rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.05rem;
  }
  
  .doctor-frame {
    aspect-ratio: 3/4;
    border-radius: 1.25rem;
  }
  
  .doctor-badge {
    padding: 0.65rem 0.95rem;
    bottom: 1rem;
    left: 1rem;
  }
  
  .doctor-badge span {
    font-size: 0.65rem;
  }
  
  .doctor-badge strong {
    font-size: 0.9rem;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .why-card {
    padding: 1.5rem;
  }
  
  .why-num {
    font-size: 1.25rem;
  }
  
  .cta-banner {
    padding: 2.5rem 1.5rem;
  }
  
  .cta-inner {
    gap: 1.5rem;
  }
  
  .cta-inner h2 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 0.3rem;
  }
  
  .cta-inner p {
    font-size: 0.9rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 560px) {
  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats { 
    gap: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero { 
    padding-top: 6rem;
    padding-bottom: 2.5rem;
  }
  
  /* Hero Section Mobile Optimization */
  .badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.75rem;
  }
  
  .hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    line-height: 1.25;
    margin-bottom: 0.9rem;
    word-spacing: 0.05em;
  }
  
  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 100%;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
  }
  
  .btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
  }
  
  .hero-stats {
    width: 100%;
    gap: 1rem;
  }
  
  .stat {
    flex: 1;
    min-width: 0;
  }
  
  .stat-num {
    font-size: 1.25rem;
  }
  
  .stat-suffix {
    font-size: 1rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
    margin-top: 0.1rem;
  }
  
  /* Section Headers Mobile */
  .section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-tag {
    font-size: 0.7rem;
    margin-bottom: 0.6rem;
  }
  
  .section-header h2 {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }
  
  .section-header p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* Services Mobile */
  .services-grid {
    gap: 1rem;
  }
  
  .service-card {
    padding: 1.25rem;
  }
  
  .service-thumb {
    margin-bottom: 1rem;
  }
  
  .service-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.85rem;
  }
  
  .service-icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }
  
  .service-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
  }
  
  .service-card p {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }
  
  .service-link {
    font-size: 0.8rem;
  }
  
  /* Doctor Section Mobile */
  .doctor-visual {
    margin-bottom: 2rem;
  }
  
  .doctor-frame {
    aspect-ratio: 3/4;
    border-radius: 1rem;
  }
  
  .doctor-badge {
    padding: 0.6rem 0.85rem;
    bottom: 0.85rem;
    left: 0.85rem;
    border-radius: 0.7rem;
  }
  
  .doctor-badge span {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
  }
  
  .doctor-badge strong {
    font-size: 0.8rem;
  }
  
  .doctor-content span {
    font-size: 0.7rem;
  }
  
  .doctor-content h2 {
    font-size: 1.5rem;
    margin: 0.4rem 0 0.5rem;
  }
  
  .doctor-role {
    font-size: 0.85rem;
    margin: 0.4rem 0 0.8rem;
  }
  
  .doctor-content > p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }
  
  .doctor-highlights {
    margin-bottom: 1.25rem;
    gap: 0.5rem;
  }
  
  .doctor-highlights li {
    font-size: 0.8rem;
    gap: 0.5rem;
  }
  
  .check {
    width: 1.15rem;
    height: 1.15rem;
    font-size: 0.6rem;
  }
  
  .doctor-content .btn {
    font-size: 0.85rem;
  }
  
  /* Why Us Mobile */
  .why-grid {
    gap: 0.85rem;
  }
  
  .why-card {
    padding: 1.25rem;
  }
  
  .why-num {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }
  
  .why-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }
  
  .why-card p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  
  /* CTA Banner Mobile */
  .cta-banner {
    margin: 0 1rem 0;
    padding: 2rem 1.25rem;
  }
  
  .cta-inner {
    gap: 1.25rem;
  }
  
  .cta-inner h2 {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    margin-bottom: 0.25rem;
    line-height: 1.3;
  }
  
  .cta-inner p {
    font-size: 0.8rem;
  }
  
  .cta-inner .btn {
    width: 100%;
    font-size: 0.85rem;
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 1.25rem;
  }
  
  .form-group label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
  }
  
  /* Footer Mobile */
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}


/* ===== Inner page hero ===== */
.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, hsl(169 50% 97%) 0%, hsl(180 30% 99%) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(var(--border) / 0.4) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--border) / 0.4) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 0%, black, transparent);
  opacity: 0.5;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: hsl(var(--muted));
  max-width: 40rem;
}
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: hsl(var(--muted));
  margin-bottom: 1.25rem;
}
.breadcrumb a:hover { color: hsl(var(--primary)); }
.breadcrumb span { opacity: 0.5; }

/* Content cards */
.content-block {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem 2.25rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow);
  margin-bottom: 1.75rem;
}
.content-block h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-align: center;
}
.content-block .divider {
  width: 3rem;
  height: 3px;
  background: hsl(var(--primary));
  border-radius: 2px;
  margin: 0 auto 1.25rem;
}
.content-block p {
  color: hsl(var(--muted));
  text-align: center;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.check-list {
  max-width: 36rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: hsl(var(--muted));
  font-size: 0.95rem;
}
.check-list .icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: hsl(var(--primary-soft));
  color: hsl(var(--primary));
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.1rem;
}
.treat-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-align: left;
}
.treat-item strong {
  display: block;
  color: hsl(var(--fg));
  margin-bottom: 0.2rem;
}
.treat-item span { color: hsl(var(--muted)); font-size: 0.9rem; }
.recovery-block {
  background: hsl(var(--primary));
  color: white;
  border-radius: 1.25rem;
  padding: 2.5rem;
  margin-bottom: 1.75rem;
}
.recovery-block h2 { color: white; text-align: center; margin-bottom: 0.75rem; }
.recovery-block p { color: rgba(255,255,255,0.9); text-align: center; margin-bottom: 1.25rem; }
.recovery-block .check-list li { color: white; }
.recovery-block .check-list .icon {
  background: rgba(255,255,255,0.2);
  color: white;
}
.consult-block {
  text-align: center;
  padding: 3rem 1.5rem;
}
.consult-block h2 { margin-bottom: 0.5rem; }
.consult-block p {
  color: hsl(var(--muted));
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}
.muted-note {
  font-size: 0.85rem;
  color: hsl(var(--muted));
  text-align: center;
  margin-top: 1rem;
}
.section-alt { background: hsl(210 20% 98%); }

/* About specific */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.about-story-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
}

.about-story-content p {
  color: hsl(var(--muted));
  margin-bottom: 1rem;
}

.about-story-content p:last-child {
  margin-bottom: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .about-story-grid {
    gap: 1.5rem;
  }
  
  .about-story-content h2 {
    font-size: 1.5rem;
    margin: 0.4rem 0 0.85rem;
  }
  
  .about-story-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.85rem;
  }
  
  .about-photos {
    margin-top: 1rem;
  }
}

@media (max-width: 560px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .about-story-content {
    order: -1;
  }
  
  .about-story-content span {
    font-size: 0.7rem;
  }
  
  .about-story-content h2 {
    font-size: 1.4rem;
    margin: 0.35rem 0 0.75rem;
    line-height: 1.25;
  }
  
  .about-story-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }
  
  .about-photos {
    margin-top: 0.5rem;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.value-card {
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: hsl(var(--primary));
}
.value-card p { 
  font-size: 0.9rem; 
  color: hsl(var(--muted)); 
  margin: 0; 
  text-align: left; 
}

/* Mobile Values Grid */
@media (max-width: 768px) {
  .values-grid {
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .value-card {
    padding: 1.25rem;
    border-radius: 0.9rem;
  }
  
  .value-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }
  
  .value-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

@media (max-width: 560px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.25rem;
  }
  
  .value-card {
    padding: 1.15rem;
    border-radius: 0.85rem;
  }
  
  .value-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }
  
  .value-card p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

@media (max-width: 700px) {
  .img-gallery { grid-template-columns: 1fr; }
  .about-photos { grid-template-columns: 1fr; }
  .doctor-photos { grid-template-columns: 1fr; }
  .page-hero.with-image { min-height: 320px; }
}


/* ===== Visual enhancements ===== */
.logo img.logo-img {
  height: 2.9rem;
  width: auto;
  display: block;
}
.logo-mark { display: none; }
.logo.has-img .logo-mark { display: none; }
.logo.has-img .logo-text { display: none; }

.page-hero.with-image {
  padding: 0;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.page-hero.with-image .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero.with-image .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.page-hero.with-image .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(220 25% 8% / 0.85) 0%, hsl(220 25% 8% / 0.45) 50%, hsl(220 25% 8% / 0.25) 100%);
  z-index: 1;
}
.page-hero.with-image .container {
  position: relative;
  z-index: 2;
  padding: 8rem 0 3.5rem;
  color: white;
}
.page-hero.with-image .breadcrumb,
.page-hero.with-image .breadcrumb a { color: rgba(255,255,255,0.75); }
.page-hero.with-image .breadcrumb a:hover { color: white; }
.page-hero.with-image h1 { color: white; }
.page-hero.with-image p { color: rgba(255,255,255,0.88); }

/* Image gallery on service pages */
.img-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2.5rem auto;
  max-width: 900px;
}
.img-gallery-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  background: hsl(var(--primary-soft));
}
.img-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.img-gallery-card:hover img { transform: scale(1.06); }
.img-gallery-card .label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1.15rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Service card with image */
.service-card .service-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1.15rem;
  background: hsl(var(--primary-soft));
}
.service-card .service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-thumb img { transform: scale(1.08); }

/* About visual grid */
.about-photos {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-top: 2rem;
}
.about-photos .big {
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-photos .stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-photos .stack img,
.about-photos .big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}
.about-photos .stack > div {
  flex: 1;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Mobile About Photos */
@media (max-width: 768px) {
  .about-photos {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.5rem;
  }
  
  .about-photos .big {
    aspect-ratio: 4/3;
    border-radius: 1rem;
  }
  
  .about-photos .stack {
    gap: 0.85rem;
  }
  
  .about-photos .stack > div {
    border-radius: 0.85rem;
    aspect-ratio: 16/10;
  }
}

@media (max-width: 560px) {
  .about-photos {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.25rem;
  }
  
  .about-photos .big {
    aspect-ratio: 4/3;
    border-radius: 0.9rem;
  }
  
  .about-photos .stack {
    gap: 0.75rem;
  }
  
  .about-photos .stack > div {
    border-radius: 0.85rem;
    aspect-ratio: 16/10;
  }
}

/* Doctor dual images */
.doctor-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.doctor-photos img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-lg);
}

/* Contact visual */
.contact-side-img {
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
}
.contact-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  .img-gallery { grid-template-columns: 1fr; }
  .about-photos { grid-template-columns: 1fr; }
  .doctor-photos { grid-template-columns: 1fr; }
  .page-hero.with-image { min-height: 320px; }
}

/* Enhanced Mobile Styling for Inner Pages - 560px and below */
@media (max-width: 560px) {
  .page-hero {
    padding: 6rem 0 3rem;
  }
  
  .page-hero h1 {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    margin-bottom: 0.8rem;
    line-height: 1.25;
  }
  
  .page-hero p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .page-hero.with-image {
    min-height: 280px;
  }
  
  .page-hero.with-image .container {
    padding: 6rem 0 2.5rem;
  }
  
  /* Content Blocks Mobile */
  .content-block {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
  }
  
  .content-block h2 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
  }
  
  .content-block .divider {
    width: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .content-block p {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
  }
  
  /* Check List Mobile */
  .check-list {
    gap: 0.5rem;
  }
  
  .check-list li {
    font-size: 0.8rem;
    gap: 0.5rem;
  }
  
  .check-list .icon {
    width: 1.15rem;
    height: 1.15rem;
    font-size: 0.6rem;
  }
  
  /* Treatment Items Mobile */
  .treat-item {
    gap: 0.6rem;
    margin-bottom: 0.85rem;
  }
  
  .treat-item strong {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
  }
  
  .treat-item span {
    font-size: 0.8rem;
  }
  
  /* Recovery Block Mobile */
  .recovery-block {
    padding: 2rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
  }
  
  .recovery-block h2 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
  }
  
  .recovery-block p {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }
  
  /* Consultation Block Mobile */
  .consult-block {
    padding: 2rem 1.25rem;
  }
  
  .consult-block h2 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
  }
  
  .consult-block p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }
  
  .consult-block .btn {
    width: 100%;
  }
  
  .muted-note {
    font-size: 0.8rem;
    margin-top: 0.75rem;
  }
  
  /* Image Gallery Mobile */
  .img-gallery {
    gap: 1rem;
    margin: 2rem auto;
  }
  
  .img-gallery-card {
    border-radius: 1rem;
  }
  
  .img-gallery-card .label {
    padding: 1rem 0.95rem 0.85rem;
    font-size: 0.85rem;
  }
  
  /* About Photos Mobile */
  .about-photos {
    gap: 0.75rem;
  }
  
  .about-photos .big,
  .about-photos .stack > div {
    border-radius: 0.9rem;
  }
  
  .about-photos .stack {
    gap: 0.75rem;
  }
  
  /* Doctor Photos Mobile */
  .doctor-photos {
    gap: 0.75rem;
  }
  
  .doctor-photos img {
    border-radius: 1rem;
    aspect-ratio: 3/4;
  }
  
  /* Contact Visual Mobile */
  .contact-side-img {
    border-radius: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Contact Info Mobile */
  .contact-info {
    gap: 1rem;
  }
  
  .contact-item {
    padding: 1rem;
    border-radius: 0.9rem;
  }
  
  .contact-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.6rem;
    font-size: 1rem;
  }
  
  .contact-item strong {
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
  }
  
  .contact-item a,
  .contact-item span {
    font-size: 0.85rem;
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 1.25rem;
    border-radius: 1rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    border-radius: 0.6rem;
  }
  
  .form-note {
    font-size: 0.8rem;
    margin-top: 0.6rem;
  }
  
  /* About Features Mobile */
  .about-features {
    gap: 0.85rem;
    margin-top: 1.25rem;
  }
  
  .about-feat {
    padding: 0.95rem 1rem;
    border-radius: 0.8rem;
  }
  
  .about-feat strong {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
  }
  
  .about-feat span {
    font-size: 0.8rem;
  }
  
  /* Values Grid Mobile */
  .values-grid {
    gap: 1rem;
  }
  
  .value-card {
    padding: 1.25rem;
    border-radius: 0.9rem;
  }
  
  .value-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }
  
  .value-card p {
    font-size: 0.8rem;
  }
}
