/* =========================================================
   Dr. Meghana Reddy — Premium OBG Clinic
   Luxury women's healthcare theme
   ========================================================= */

:root {
  /* Brand palette */
  --rose: #D94C8A;
  --plum: #5B1D62;
  --lavender: #F8F2F8;
  --white: #FFFFFF;
  --blush: #FFF8FA;
  --gold: #E8C89A;

  --plum-deep: #4a1551;
  --rose-soft: #f7d8e6;
  --ink: #3a2740;
  --muted: #7a6b80;

  --grad-brand: linear-gradient(135deg, var(--rose) 0%, var(--plum) 100%);
  --grad-brand-soft: linear-gradient(135deg, #e96aa3 0%, #6f2477 100%);
  --grad-plum: linear-gradient(160deg, #5B1D62 0%, #3a1140 100%);

  --shadow-sm: 0 6px 20px rgba(91, 29, 98, 0.06);
  --shadow-md: 0 16px 40px rgba(91, 29, 98, 0.10);
  --shadow-lg: 0 28px 60px rgba(91, 29, 98, 0.16);
  --shadow-rose: 0 18px 40px rgba(217, 76, 138, 0.28);

  --radius: 24px;
  --radius-lg: 32px;
  --container: 1280px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 170px; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
  padding-top: 160px; /* space for fixed header */
}

h1, h2, h3, h4, h5, .section-title, .hero-title {
  font-family: 'Playfair Display', serif;
  color: var(--plum);
  font-weight: 700;
  line-height: 1.15;
}

a { text-decoration: none; transition: color .3s var(--ease); }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); }

::selection { background: var(--rose); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--lavender); }
::-webkit-scrollbar-thumb { background: var(--grad-brand); border-radius: 10px; }

/* Scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-brand); z-index: 2000; transition: width .1s linear;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 3000;
  background: var(--plum); color: #fff; padding: .5rem 1rem; border-radius: 8px;
}

/* =================== BUTTONS =================== */
.btn-pill { border-radius: 50px; font-weight: 600; padding: .7rem 1.6rem; letter-spacing: .2px; transition: all .35s var(--ease); }
.btn-lg-pill { padding: .9rem 2rem; font-size: 1.02rem; }

.btn-gradient {
  background: var(--grad-brand); color: #fff; border: none;
  box-shadow: var(--shadow-rose);
}
.btn-gradient:hover { color: #fff; transform: translateY(-3px) scale(1.02); box-shadow: 0 24px 50px rgba(217,76,138,.4); }

.btn-outline-plum {
  background: rgba(255,255,255,.6); color: var(--plum); border: 1.5px solid rgba(91,29,98,.25);
  backdrop-filter: blur(6px);
}
.btn-outline-plum:hover { background: var(--plum); color: #fff; border-color: var(--plum); transform: translateY(-3px); }

.btn-light-pill { background: #fff; color: var(--plum); border: none; box-shadow: var(--shadow-md); font-weight: 600; }
.btn-light-pill:hover { color: var(--rose); transform: translateY(-3px) scale(1.02); }

/* =================== HEADER / NAV =================== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1050;
  padding: .7rem 0; transition: all .4s var(--ease);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(91,29,98,.06);
  border-bottom: 1px solid rgba(91,29,98,.06);
}
.site-nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(91,29,98,.12);
  padding: .45rem 0;
}
.brand-logo { height: 134px; width: auto; transition: height .4s var(--ease); }
.site-nav.scrolled .brand-logo { height: 100px; }

.nav-center .nav-link {
  color: var(--plum); font-weight: 500; margin: 0 .25rem; padding: .5rem .9rem !important;
  position: relative; font-size: .98rem;
}
.nav-center .nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: 6px; width: 0; height: 2px;
  background: var(--grad-brand); border-radius: 2px; transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav-center .nav-link:hover::after,
.nav-center .nav-link.active::after { width: 22px; }
.nav-center .nav-link:hover,
.nav-center .nav-link.active { color: var(--rose); }

.nav-cta { font-size: .95rem; }

/* Hamburger */
.navbar-toggler { border: none; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar {
  display: block; width: 26px; height: 2.5px; background: var(--plum);
  margin: 5px 0; border-radius: 3px; transition: all .35s var(--ease);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
    border-radius: var(--radius); padding: 1.2rem; margin-top: 1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-center { text-align: center; }
}

/* =================== HERO =================== */
.hero {
  position: relative; padding: 60px 0 80px; min-height: 70vh;
  display: flex; align-items: center;
  background-color: var(--lavender);
  background-image: url('../assets/hero_bg.png.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg,
    rgba(248,242,248,0.92) 0%,
    rgba(248,242,248,0.78) 28%,
    rgba(248,242,248,0.35) 48%,
    rgba(248,242,248,0.04) 66%,
    rgba(248,242,248,0) 78%);
}
.hero-inner { position: relative; z-index: 3; }

.hero-bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
  animation: float 14s ease-in-out infinite;
}
.blob-1 { width: 340px; height: 340px; background: #f5b8d4; top: 6%; right: 12%; }
.blob-2 { width: 260px; height: 260px; background: #d9b8e8; bottom: 8%; left: 6%; animation-delay: -4s; }
.blob-3 { width: 200px; height: 200px; background: #ffe3c2; top: 40%; left: 45%; opacity: .35; animation-delay: -8s; }

.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(217,76,138,.18); }
.ring-1 { width: 380px; height: 380px; top: 8%; right: 6%; }
.ring-2 { width: 220px; height: 220px; bottom: 16%; left: 12%; border-color: rgba(91,29,98,.12); }

.petal { position: absolute; color: rgba(217,76,138,.30); font-size: 1.6rem; animation: float 10s ease-in-out infinite; }
.petal-1 { top: 22%; left: 8%; }
.petal-2 { bottom: 26%; right: 10%; color: rgba(232,200,154,.6); animation-delay: -3s; }
.petal-3 { top: 60%; right: 30%; color: rgba(217,76,138,.25); animation-delay: -6s; }

@keyframes float {
  0%,100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-26px) translateX(10px); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.7); backdrop-filter: blur(6px);
  color: var(--plum); font-weight: 500; font-size: .9rem;
  padding: .5rem 1.1rem; border-radius: 50px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(217,76,138,.18); margin-bottom: 1.5rem;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(217,76,138,.18); }

.hero-title { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; margin-bottom: 1.4rem; letter-spacing: -.5px; }
.text-accent {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; position: relative;
}
.hero-lead { font-size: 1.08rem; color: var(--muted); max-width: 540px; margin-bottom: 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }

.hero-trust { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: var(--plum); line-height: 1; }
.trust-item span { font-size: .82rem; color: var(--muted); }
.trust-divider { width: 1px; height: 38px; background: rgba(91,29,98,.15); }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-image-card {
  position: relative; border-radius: 40px 40px 40px 120px; overflow: visible;
  max-width: 460px;
}
.hero-image {
  border-radius: 40px 40px 40px 120px; object-fit: cover; width: 100%; height: 540px;
  box-shadow: var(--shadow-lg); border: 8px solid #fff;
}
.floaty { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero-glass-badge {
  position: absolute; left: -24px; bottom: 40px;
  display: flex; align-items: center; gap: .8rem;
  background: rgba(255,255,255,.7); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7);
  padding: .8rem 1.1rem; border-radius: 18px; box-shadow: var(--shadow-md);
  animation: floaty 5s ease-in-out infinite;
}
.hero-glass-badge.badge-top { left: auto; right: -20px; bottom: auto; top: 36px; animation-delay: -2s; }
.badge-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-size: 1.1rem; flex-shrink: 0;
}
.badge-icon.alt { background: linear-gradient(135deg, var(--gold), #d8a86a); }
.hero-glass-badge strong { display: block; font-size: .92rem; color: var(--plum); font-family: 'Poppins'; font-weight: 600; }
.hero-glass-badge small { color: var(--muted); font-size: .76rem; }

/* Wave divider */
.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.wave-divider svg { width: 100%; height: 110px; }

/* =================== SECTIONS / HEADINGS =================== */
.section { padding: 100px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 3.4rem; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: 3px;
  font-size: .78rem; font-weight: 600; color: var(--rose); margin-bottom: .7rem;
}
.kicker.light { color: var(--gold); }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: .5rem; }
.section-sub { color: var(--muted); margin-top: .8rem; }

.title-flourish { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: .6rem 0; }
.title-flourish span { width: 46px; height: 2px; background: linear-gradient(90deg, transparent, var(--rose)); }
.title-flourish span:last-child { background: linear-gradient(90deg, var(--rose), transparent); }
.title-flourish i { color: var(--rose); font-size: .95rem; }
.section-title.text-start + .about-text { margin-top: 1.2rem; }

/* =================== SERVICES =================== */
.services { background: var(--white); }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 2.2rem 1.7rem; height: 100%;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(91,29,98,.05);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); text-align: center;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; background: var(--grad-brand); opacity: 0;
  transition: opacity .4s var(--ease); z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center;
  margin: 0 auto 1.3rem; font-size: 1.7rem; color: var(--rose);
  background: var(--lavender); transition: all .4s var(--ease);
}
.service-card:hover .service-icon { background: #fff; color: var(--rose); transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-size: 1.25rem; margin-bottom: .6rem; transition: color .4s var(--ease); }
.service-card p { color: var(--muted); font-size: .94rem; margin-bottom: 1rem; transition: color .4s var(--ease); }
.card-link { color: var(--rose); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; }
.card-link i { transition: transform .3s var(--ease); }
.service-card:hover h3, .service-card:hover p, .service-card:hover .card-link { color: #fff; }
.card-link:hover i { transform: translateX(5px); }

/* =================== ABOUT =================== */
.about { background: linear-gradient(180deg, #fff 0%, var(--blush) 100%); }
.about-portrait { position: relative; max-width: 420px; margin: 0 auto; }
.portrait-ring {
  position: absolute; inset: -14px; border-radius: 50%;
  background: conic-gradient(from 180deg, var(--rose), var(--plum), var(--gold), var(--rose));
  filter: blur(2px); opacity: .55; animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.portrait-img {
  position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; border-radius: 50%;
  border: 10px solid #fff; box-shadow: var(--shadow-lg);
}
.portrait-badge {
  position: absolute; bottom: 14px; right: -6px; background: #fff; border-radius: 16px;
  padding: .7rem 1rem; display: flex; align-items: center; gap: .7rem; box-shadow: var(--shadow-md);
}
.portrait-badge i { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; }
.portrait-badge strong { display: block; font-family: 'Poppins'; font-size: .9rem; color: var(--plum); }
.portrait-badge small { color: var(--muted); font-size: .76rem; }

.about-text { color: var(--muted); font-size: 1.04rem; margin: 1.2rem 0; }
.about-points { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.about-points li { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; color: var(--ink); font-weight: 500; }
.about-points i {
  width: 26px; height: 26px; border-radius: 50%; background: var(--rose-soft); color: var(--rose);
  display: grid; place-items: center; font-size: .7rem; flex-shrink: 0;
}

/* =================== WHY CHOOSE US =================== */
.why { background: var(--white); }
.why-box {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.4rem; text-align: center; height: 100%;
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  border: 1px solid rgba(91,29,98,.05);
}
.why-box:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.why-icon {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.2rem;
  background: var(--grad-brand); color: #fff; font-size: 1.8rem; box-shadow: var(--shadow-rose);
  transition: transform .5s var(--ease);
}
.why-box:hover .why-icon { transform: scale(1.08) rotate(6deg); }
.why-box h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.why-box p { color: var(--muted); font-size: .9rem; margin: 0; }

/* =================== JOURNEY TIMELINE =================== */
.journey { background: linear-gradient(180deg, var(--blush), var(--lavender)); }
.timeline { position: relative; margin-top: 2rem; }
.timeline-line {
  position: absolute; top: 38px; left: 8%; right: 8%; height: 3px;
  background: rgba(217,76,138,.18); border-radius: 3px; overflow: hidden;
}
.timeline-progress { display: block; height: 100%; width: 0; background: var(--grad-brand); transition: width 1.6s var(--ease); }
.timeline-steps { display: flex; justify-content: space-between; gap: 1rem; position: relative; z-index: 2; }
.t-step { flex: 1; text-align: center; }
.t-dot {
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem;
  background: #fff; color: var(--rose); font-size: 1.5rem; box-shadow: var(--shadow-md);
  border: 3px solid #fff; transition: all .4s var(--ease);
}
.t-step:hover .t-dot { background: var(--grad-brand); color: #fff; transform: translateY(-6px) scale(1.05); }
.t-step h4 { font-size: 1.02rem; margin-bottom: .3rem; font-family: 'Poppins'; font-weight: 600; color: var(--plum); }
.t-step p { color: var(--muted); font-size: .85rem; margin: 0; }

@media (max-width: 767.98px) {
  .timeline-line { left: 50%; top: 0; bottom: 0; right: auto; width: 3px; height: auto; transform: translateX(-50%); }
  .timeline-progress { width: 100% !important; height: 0; transition: height 1.6s var(--ease); }
  .timeline-steps { flex-direction: column; gap: 2rem; }
  .t-step { display: flex; align-items: center; gap: 1rem; text-align: left; }
  .t-dot { margin: 0; width: 64px; height: 64px; flex-shrink: 0; }
}

/* =================== SPECIALTIES =================== */
.specialties { background: var(--white); }
.spec-card {
  background: #fff; border-radius: 20px; padding: 1.6rem; height: 100%; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(91,29,98,.05);
  transition: all .4s var(--ease); position: relative;
}
.spec-card::after {
  content: ''; position: absolute; left: 1.6rem; bottom: 0; height: 3px; width: 0; background: var(--grad-brand);
  border-radius: 3px; transition: width .4s var(--ease);
}
.spec-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.spec-card:hover::after { width: 46px; }
.spec-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--lavender); color: var(--rose); font-size: 1.3rem; transition: all .4s var(--ease);
}
.spec-card:hover .spec-icon { background: var(--grad-brand); color: #fff; transform: rotate(-6deg); }
.spec-card h3 { font-size: 1.08rem; margin-bottom: .35rem; font-family: 'Poppins'; font-weight: 600; }
.spec-card p { color: var(--muted); font-size: .86rem; margin: 0; }

/* =================== STATS =================== */
.stats { background: var(--grad-plum); color: #fff; overflow: hidden; }
.stats .section { padding: 0; }
.stats-bg { position: absolute; inset: 0; overflow: hidden; }
.stats-blob { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(217,76,138,.3); filter: blur(80px); top: -10%; left: -5%; }
.stats-blob.s2 { background: rgba(232,200,154,.18); right: -5%; left: auto; bottom: -20%; top: auto; }
.stats .container { position: relative; z-index: 2; }
.stat-num { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; display: block; color: #fff; line-height: 1; }
.stat p { color: rgba(255,255,255,.82); margin: .5rem 0 0; font-size: .95rem; letter-spacing: .3px; }

/* =================== GALLERY =================== */
.gallery { background: linear-gradient(180deg, var(--blush), #fff); }
.gal { position: relative; border-radius: 20px; overflow: hidden; margin: 0; box-shadow: var(--shadow-sm); }
.gal img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.gal::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(91,29,98,.55)); opacity: 0; transition: opacity .4s var(--ease); }
.gal figcaption { position: absolute; bottom: 14px; right: 14px; z-index: 2; color: #fff; opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); font-size: 1.1rem; }
.gal:hover img { transform: scale(1.1); }
.gal:hover::after { opacity: 1; }
.gal:hover figcaption { opacity: 1; transform: translateY(0); }

/* =================== TESTIMONIALS =================== */
.testimonials { background: var(--white); }
.testi-card {
  background: #fff; border-radius: var(--radius); padding: 2.4rem 2rem 2rem; margin: 1rem .6rem 1.4rem;
  box-shadow: var(--shadow-md); position: relative; border: 1px solid rgba(91,29,98,.05);
}
.quote-mark { position: absolute; top: 1.6rem; right: 1.8rem; font-size: 2.4rem; color: var(--rose-soft); }
.stars { color: var(--gold); margin-bottom: 1rem; font-size: .9rem; letter-spacing: 2px; }
.testi-card p { color: var(--ink); font-style: italic; margin-bottom: 1.6rem; }
.testi-author { display: flex; align-items: center; gap: .9rem; }
.testi-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--lavender); }
.testi-author strong { display: block; color: var(--plum); font-size: .98rem; }
.testi-author small { color: var(--rose); font-size: .82rem; }

.testimonial-slider .owl-dots { margin-top: .6rem; text-align: center; }
.testimonial-slider .owl-dot span { width: 9px; height: 9px; background: var(--rose-soft) !important; margin: 4px; transition: all .3s; }
.testimonial-slider .owl-dot.active span { width: 26px; background: var(--grad-brand) !important; border-radius: 5px; }
.testimonial-slider .owl-nav { display: none; }

/* =================== CTA BANNER =================== */
.cta-banner {
  position: relative; padding: 110px 0; color: #fff; overflow: hidden;
  background: var(--grad-plum);
}
.cta-overlay {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1.5'%3E%3Cpath d='M30 12c6 6 6 14 0 20-6-6-6-14 0-20zM30 48c-6-6-6-14 0-20 6 6 6 14 0 20z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 90px; opacity: .8;
}
.cta-content { max-width: 720px; margin: 0 auto; }
.cta-content h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.cta-content p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.05rem; }

/* =================== CONTACT =================== */
.contact { background: linear-gradient(180deg, #fff, var(--blush)); }
.contact-info-card, .appointment-form {
  background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-md);
  border: 1px solid rgba(91,29,98,.05); height: 100%;
}
.appointment-form { padding: 2.2rem; }
.map-wrap { border-radius: 18px; overflow: hidden; margin-bottom: 1.4rem; }
.map-wrap iframe { display: block; filter: saturate(1.05); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(91,29,98,.07); }
.contact-list li:last-child { border-bottom: none; }
.ci-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--lavender); color: var(--rose); display: grid; place-items: center; flex-shrink: 0; }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--rose); }
.contact-socials { display: flex; gap: .7rem; padding-left: .2rem; }
.contact-socials a, .footer-socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lavender); color: var(--plum); transition: all .35s var(--ease);
}
.contact-socials a:hover, .footer-socials a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-4px); }

.form-title { font-size: 1.4rem; margin-bottom: 1.4rem; }
.appointment-form .form-label { font-size: .85rem; font-weight: 500; color: var(--plum); margin-bottom: .3rem; }
.appointment-form .form-control {
  border-radius: 14px; border: 1.5px solid rgba(91,29,98,.12); padding: .75rem 1rem; font-size: .95rem;
  background: var(--blush); transition: all .3s var(--ease);
}
.appointment-form .form-control:focus {
  border-color: var(--rose); box-shadow: 0 0 0 4px rgba(217,76,138,.12); background: #fff;
}
.form-success {
  display: none; margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: 14px;
  background: #eaf7ee; color: #1f7a44; font-weight: 500; font-size: .92rem;
}
.form-success.show { display: block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* =================== FOOTER =================== */
.footer { background: var(--plum-deep); color: rgba(255,255,255,.75); padding: 70px 0 24px; position: relative; }
.footer-logo { height: 60px; width: auto; background: #fff; padding: 8px 12px; border-radius: 14px; margin-bottom: 1.2rem; }
.footer-about { font-size: .92rem; max-width: 320px; margin-bottom: 1.2rem; }
.footer h4 { color: #fff; font-family: 'Poppins'; font-weight: 600; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a, .footer-links span { color: rgba(255,255,255,.72); font-size: .92rem; }
.footer-links a:hover { color: var(--rose); padding-left: 5px; }
.footer-socials { display: flex; gap: .6rem; }
.footer-socials a { background: rgba(255,255,255,.1); color: #fff; }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-credit i { color: var(--rose); }

/* =================== FLOATING BUTTONS =================== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center; z-index: 1000;
  box-shadow: var(--shadow-rose); opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all .4s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: #fff; transform: translateY(-4px) scale(1.05); }

.float-whatsapp {
  position: fixed; bottom: 88px; right: 28px; width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.5rem; z-index: 1000;
  box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: all .4s var(--ease);
}
.float-whatsapp:hover { color: #fff; transform: scale(1.1); }

/* =================== RESPONSIVE =================== */

/* Tablet & below */
@media (max-width: 991.98px) {
  html { scroll-padding-top: 92px; }
  body { padding-top: 88px; }
  .site-nav { padding: .5rem 0; }
  .brand-logo { height: 66px; }
  .site-nav.scrolled .brand-logo { height: 58px; }
  .navbar-collapse { max-height: 80vh; overflow-y: auto; }
  .nav-center .nav-link { padding: .7rem .9rem !important; font-size: 1.02rem; }
  .nav-center .nav-link::after { display: none; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 2.4rem; }

  /* Hero: image becomes a soft backdrop, text stays front & center */
  .hero {
    padding: 54px 0 64px; min-height: 84vh;
    background-size: cover; background-position: center 28%;
    text-align: center;
  }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(248,242,248,0.98) 0%,
      rgba(248,242,248,0.92) 40%,
      rgba(248,242,248,0.50) 72%,
      rgba(248,242,248,0.08) 100%);
  }
  .hero .row { justify-content: center; }
  .hero .col-lg-7, .hero .col-xl-6 { max-width: 640px; }
  .eyebrow { margin-bottom: 1.1rem; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }

  .section-title.text-start { text-align: center; }
  .about-points { display: inline-block; text-align: left; }
  .about-text { text-align: center; }
  .credential-row { justify-content: center; }

  /* sub-page service blocks */
  .service-block { padding: 50px 0; }
  .service-img-wrap img { height: 300px; }
  .service-block .s-icon { margin-left: auto; margin-right: auto; }
  .service-block { text-align: center; }
  .service-block .info-card { text-align: left; }
  .service-block .row.g-3 { text-align: left; }
  .page-hero { padding: 70px 0 90px; }
}

/* Phones */
@media (max-width: 575.98px) {
  html { scroll-padding-top: 84px; }
  body { padding-top: 80px; }
  .brand-logo { height: 58px; }
  .site-nav.scrolled .brand-logo { height: 52px; }

  .section { padding: 60px 0; }
  .section-title { font-size: 1.7rem; }
  .hero { min-height: 82vh; padding: 40px 0 54px; }
  .hero-title { font-size: 2.15rem; }
  .hero-lead { font-size: 1rem; }

  /* full-width stacked hero buttons for easy tapping */
  .hero-actions { flex-direction: column; align-items: stretch; gap: .8rem; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .hero-trust { gap: .9rem 1.2rem; }
  .trust-item strong { font-size: 1.4rem; }
  .trust-item span { font-size: .74rem; }

  .service-card, .why-box, .spec-card, .value-card, .service-intro-card { padding: 1.5rem 1.2rem; }
  .why-icon { width: 70px; height: 70px; font-size: 1.5rem; }
  .service-img-wrap img { height: 240px; }
  .service-block h2 { font-size: 1.5rem; }

  .testi-card { margin: .8rem .3rem 1.2rem; padding: 2rem 1.4rem 1.6rem; }
  .appointment-form { padding: 1.5rem; }
  .contact-info-card { padding: 1.2rem; }

  .cta-content h2 { font-size: 1.6rem; }
  .page-hero { padding: 60px 0 80px; }
  .page-hero h1 { font-size: 1.85rem; }

  .footer { padding: 56px 0 22px; text-align: center; }
  .footer-about { margin-left: auto; margin-right: auto; }
  .footer-socials, .credential-row { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .back-to-top { bottom: 22px; right: 16px; }
  .float-whatsapp { bottom: 78px; right: 16px; }
  .expertise-chips { justify-content: center; }
}

/* Very small phones */
@media (max-width: 360px) {
  .hero-title { font-size: 1.95rem; }
  .trust-divider { display: none; }
  .hero-trust { flex-direction: column; gap: .6rem; }
}

/* =================== SUB-PAGE: PAGE HERO / BREADCRUMB =================== */
.page-hero {
  position: relative; padding: 90px 0 110px; text-align: center; color: #fff;
  background: var(--grad-plum); overflow: hidden;
}
.page-hero .page-hero-bg {
  position: absolute; inset: 0; opacity: .25;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.12' stroke-width='1.5'%3E%3Cpath d='M30 12c6 6 6 14 0 20-6-6-6-14 0-20zM30 48c-6-6-6-14 0-20 6 6 6 14 0 20z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px;
}
.page-hero.has-photo .page-hero-bg {
  opacity: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero.has-photo .page-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(91,29,98,.82) 0%, rgba(217,76,138,.55) 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); position: relative; z-index: 2; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 600px; margin: .8rem auto 0; position: relative; z-index: 2; }
.breadcrumb-nav { position: relative; z-index: 2; margin-bottom: 1rem; font-size: .9rem; color: rgba(255,255,255,.7); }
.breadcrumb-nav a { color: var(--gold); }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav .sep { margin: 0 .5rem; opacity: .6; }
.page-hero .wave-divider svg path { fill: #fff; }

/* =================== ABOUT DETAIL =================== */
.about-detail .lead-bio { font-size: 1.08rem; color: var(--muted); }
.credential-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }
.credential-pill {
  display: flex; align-items: center; gap: .7rem; background: #fff; border-radius: 16px;
  padding: .8rem 1.1rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(91,29,98,.06);
}
.credential-pill i { width: 40px; height: 40px; border-radius: 10px; background: var(--lavender); color: var(--rose); display: grid; place-items: center; }
.credential-pill strong { display: block; color: var(--plum); font-size: .92rem; font-family: 'Poppins'; }
.credential-pill small { color: var(--muted); font-size: .78rem; }

.edu-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.edu-timeline::before { content: ''; position: absolute; left: 19px; top: 6px; bottom: 6px; width: 2px; background: rgba(217,76,138,.2); }
.edu-timeline li { position: relative; padding: 0 0 1.8rem 3.4rem; }
.edu-timeline li:last-child { padding-bottom: 0; }
.edu-timeline .edu-dot {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-rose);
}
.edu-timeline h4 { font-family: 'Poppins'; font-weight: 600; font-size: 1.05rem; color: var(--plum); margin-bottom: .2rem; }
.edu-timeline span.edu-when { color: var(--rose); font-size: .82rem; font-weight: 600; }
.edu-timeline p { color: var(--muted); font-size: .92rem; margin: .2rem 0 0; }

.value-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 2rem 1.4rem; height: 100%; box-shadow: var(--shadow-sm); border: 1px solid rgba(91,29,98,.05); transition: all .4s var(--ease); }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.value-card .v-icon { width: 70px; height: 70px; border-radius: 20px; margin: 0 auto 1rem; display: grid; place-items: center; background: var(--lavender); color: var(--rose); font-size: 1.5rem; }
.value-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.value-card p { color: var(--muted); font-size: .9rem; margin: 0; }

.expertise-chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.expertise-chips span {
  background: #fff; border: 1px solid rgba(217,76,138,.2); color: var(--plum);
  padding: .55rem 1.1rem; border-radius: 50px; font-size: .9rem; font-weight: 500;
  box-shadow: var(--shadow-sm); transition: all .3s var(--ease);
}
.expertise-chips span:hover { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-3px); }
.expertise-chips span i { color: var(--rose); margin-right: .4rem; }
.expertise-chips span:hover i { color: #fff; }

/* =================== SERVICE DETAIL =================== */
.service-intro-card {
  background: #fff; border-radius: var(--radius); padding: 1.4rem; height: 100%;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(91,29,98,.05); text-align: center;
  transition: all .4s var(--ease);
}
.service-intro-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-intro-card .si-icon { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto .9rem; display: grid; place-items: center; background: var(--lavender); color: var(--rose); font-size: 1.4rem; }
.service-intro-card h3 { font-size: 1.05rem; font-family: 'Poppins'; font-weight: 600; margin-bottom: .4rem; }
.service-intro-card p { color: var(--muted); font-size: .86rem; margin: 0; }

.service-block { padding: 70px 0; border-bottom: 1px solid rgba(91,29,98,.06); scroll-margin-top: 170px; }
.service-block:nth-child(even) { background: var(--blush); }
.service-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.service-img-wrap img { width: 100%; height: 380px; object-fit: cover; transition: transform .6s var(--ease); }
.service-img-wrap:hover img { transform: scale(1.05); }
.service-img-wrap .img-tag {
  position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  color: var(--plum); font-weight: 600; font-size: .82rem; padding: .4rem .9rem; border-radius: 50px;
}
.service-block .s-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-size: 1.4rem; margin-bottom: 1rem; box-shadow: var(--shadow-rose); }
.service-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .6rem; }
.service-block .s-desc { color: var(--muted); margin-bottom: 1.4rem; }

.info-card {
  background: #fff; border-radius: 18px; padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(91,29,98,.06); height: 100%;
}
.info-card .info-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.info-card .info-head i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: .95rem; }
.info-card.symptoms .info-head i { background: #fde9f1; color: var(--rose); }
.info-card.consult .info-head i { background: #efe6f3; color: var(--plum); }
.info-card.precaution .info-head i { background: #fbf1e2; color: #c79a55; }
.info-card .info-head h4 { font-family: 'Poppins'; font-weight: 600; font-size: 1rem; margin: 0; color: var(--plum); }
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; color: var(--ink); font-size: .9rem; }
.info-card li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 1px; font-size: .7rem; color: var(--rose); }
.info-card.consult li::before { content: '\f0a4'; color: var(--plum); }
.info-card.precaution li::before { content: '\f06a'; color: #c79a55; }

.service-toc { position: sticky; top: 180px; background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); border: 1px solid rgba(91,29,98,.06); }
.service-toc h4 { font-family: 'Poppins'; font-weight: 600; font-size: 1rem; color: var(--plum); margin-bottom: .9rem; }
.service-toc ul { list-style: none; padding: 0; margin: 0; }
.service-toc li { margin-bottom: .2rem; }
.service-toc a { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border-radius: 10px; color: var(--muted); font-size: .9rem; transition: all .3s var(--ease); }
.service-toc a:hover { background: var(--lavender); color: var(--rose); }
.service-toc a i { color: var(--rose); width: 18px; text-align: center; }
@media (max-width: 991.98px) { .service-toc { position: static; margin-bottom: 1.5rem; } }

/* =================== SERVICE DETAIL PAGES =================== */
.svc-detail { padding: 70px 0 40px; }
.svc-detail .svc-hero-img {
  width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); display: block;
}
.svc-detail .offer-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.svc-detail .offer-list li {
  position: relative; padding-left: 1.8rem; margin-bottom: .7rem;
  color: var(--ink); font-size: .98rem;
}
.svc-detail .offer-list li::before {
  content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 2px; color: var(--rose); font-size: .95rem;
}
.svc-detail .related-grid a {
  display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.2rem;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(91,29,98,.06); color: var(--plum); font-weight: 600;
  transition: all .35s var(--ease); height: 100%; text-decoration: none;
}
.svc-detail .related-grid a:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--rose);
}
.svc-detail .related-grid a i {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lavender); color: var(--rose); flex-shrink: 0;
}
@media (max-width: 767.98px) {
  .svc-detail .svc-hero-img { height: 260px; object-position: center top; }
  .svc-detail { padding: 50px 0 30px; }
  .svc-detail .related-grid a { padding: .95rem 1rem; font-size: .92rem; }
}

/* Services hub cards */
.hub-card {
  display: block; background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(91,29,98,.05);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); color: inherit; text-decoration: none;
}
.hub-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); color: inherit; }
.hub-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.hub-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hub-card:hover .hub-img img { transform: scale(1.06); }
.hub-body { padding: 1.4rem 1.4rem 1.6rem; }
.hub-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--lavender); color: var(--rose); font-size: 1.15rem; margin-bottom: .8rem;
}
.hub-body h3 { font-size: 1.15rem; margin-bottom: .4rem; font-family: 'Poppins'; font-weight: 600; color: var(--plum); }
.hub-body p { color: var(--muted); font-size: .9rem; margin-bottom: .8rem; }
.hub-link { color: var(--rose); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; }
.hub-card:hover .hub-link i { transform: translateX(4px); }
.hub-link i { transition: transform .3s var(--ease); }

a.spec-card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
a.spec-card-link:hover { color: inherit; }
a.spec-card-link .spec-card { height: 100%; }

@media (max-width: 575.98px) {
  .hub-body { padding: 1.15rem; }
  .hub-body h3 { font-size: 1.02rem; }
  .portrait-img { max-width: 280px; margin: 0 auto; }
  .about-portrait { max-width: 300px; }
  .gal img { object-position: center top; }
  .wave-divider svg { height: 70px; }
  .page-hero .wave-divider svg { height: 60px; }
  .stat-num { font-size: 2.2rem; }
  .navbar-collapse { -webkit-overflow-scrolling: touch; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
