/* Bharathi Women & Pregnancy Clinic */
:root {
  --rose: #b072d4;
  --rose-dark: #7b2d9c;
  --rose-soft: #ede0f5;
  --blush: #faf6fb;
  --teal: #4a1d6a;
  --teal-dark: #2d1142;
  --gold: #d4a24c;
  --ink: #2b2b2b;
  --muted: #6e6e6e;
  --line: #e5d4ec;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(90, 31, 120, 0.10);
  --shadow-lg: 0 20px 50px rgba(74, 29, 106, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--teal-dark);
  font-weight: 600;
  line-height: 1.25;
}

a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rose-dark); }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--teal-dark);
  color: #e8d8f0;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar a { color: #f0d8f5; }
.topbar a:hover { color: var(--white); }
.topbar .icon { margin-right: 6px; }

/* ===== HEADER / NAV ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 88px;
  width: auto;
  display: block;
}
.footer .brand-logo {
  height: 100px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 12px;
}

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--rose);
  transition: width .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  color: white;
  box-shadow: 0 8px 18px rgba(123, 45, 156, 0.34);
}
.btn-primary:hover { transform: translateY(-2px); color: white; box-shadow: 0 12px 24px rgba(123, 45, 156, 0.45); }
.btn-outline {
  border: 2px solid var(--teal);
  color: var(--teal);
  background: transparent;
}
.btn-outline:hover { background: var(--teal); color: white; }

.menu-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--teal-dark); cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--blush) 0%, #fff 60%);
  overflow: hidden;
  padding: 70px 0 90px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--rose-soft) 0%, transparent 70%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow {
  display: inline-block;
  background: var(--rose-soft);
  color: var(--rose-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--rose-dark); font-style: italic; }
.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item .num { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--teal-dark); font-weight: 700; }
.trust-item .lbl { font-size: 13px; color: var(--muted); }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(237, 224, 245, 0.12), rgba(74, 29, 106, 0.06)),
    url('https://images.unsplash.com/photo-1607454230973-e19abb3fa2bc?auto=format&fit=crop&w=900&q=85') center/cover;
  box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: white;
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 14px;
  align-items: center;
}
.hero-badge .b-icon {
  width: 44px; height: 44px;
  background: var(--rose-soft);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px;
}
.hero-badge .b-title { font-weight: 700; font-size: 14px; color: var(--teal-dark); }
.hero-badge .b-sub { font-size: 12px; color: var(--muted); }

/* ===== USP STRIP ===== */
.usp {
  background: var(--teal-dark);
  color: #ece0f5;
  padding: 36px 0;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.usp-item { display: flex; gap: 14px; align-items: flex-start; }
.usp-icon {
  font-size: 28px;
  background: rgba(155, 95, 195, .22);
  color: var(--rose);
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.usp-title { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: white; margin-bottom: 4px; }
.usp-desc { font-size: 13px; color: #c8b8d8; line-height: 1.5; }

/* ===== SECTION ===== */
section.block { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  color: var(--rose-dark);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ===== ABOUT DOCTOR ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.doctor-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(74, 29, 106, 0.32) 0%, rgba(45, 17, 66, 0.18) 45%, rgba(45, 17, 66, 0.78) 100%),
    url('https://images.unsplash.com/photo-1659353888906-adb3e0041693?auto=format&fit=crop&w=800&q=80') center/cover;
  background-blend-mode: normal, multiply;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.doctor-photo .ribbon {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  color: white;
}
.doctor-photo .ribbon .name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; }
.doctor-photo .ribbon .qual { font-size: 13px; opacity: .9; }

.about-text h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 18px; }
.about-text > p { color: var(--muted); margin-bottom: 20px; font-size: 16px; }
.credentials { list-style: none; display: grid; gap: 12px; margin: 24px 0; }
.credentials li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--blush);
  border-left: 3px solid var(--rose);
  border-radius: 8px;
  font-size: 15px;
}
.credentials .tick { color: var(--rose-dark); font-weight: 700; flex-shrink: 0; }

/* ===== SERVICES ===== */
.services { background: var(--blush); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: white;
  padding: 32px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  border-top: 4px solid transparent;
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--rose);
}
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--rose-soft), var(--blush));
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: var(--teal-dark);
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.service-card .more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rose-dark);
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(155, 95, 195, .22), transparent 70%);
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-band h2 { color: white; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-band p { color: #d4c4e0; font-size: 16px; }
.cta-band .btn-primary { background: white; color: var(--rose-dark); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.cta-band .btn-primary:hover { background: var(--rose); color: white; }

/* ===== TESTIMONIAL ===== */
.testimonials { background: white; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.t-card {
  background: var(--blush);
  padding: 28px;
  border-radius: var(--radius);
  position: relative;
}
.t-card::before {
  content: '"';
  position: absolute; top: 10px; right: 22px;
  font-family: 'Playfair Display', serif;
  font-size: 70px; color: var(--rose); opacity: .25;
  line-height: 1;
}
.t-card p { font-size: 15px; color: #444; font-style: italic; margin-bottom: 18px; }
.t-author { display: flex; gap: 12px; align-items: center; }
.t-avatar { width: 42px; height: 42px; background: var(--rose); color: white; border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.t-name { font-weight: 700; font-size: 14px; color: var(--teal-dark); }
.t-where { font-size: 12px; color: var(--muted); }

/* ===== CONTACT / FOOTER ===== */
.footer {
  background: var(--teal-dark);
  color: #d4c4e0;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer h4 { color: white; font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 18px; letter-spacing: 1px; text-transform: uppercase; }
.footer p { font-size: 14px; line-height: 1.7; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer a { color: #d4c4e0; }
.footer a:hover { color: var(--rose); }
.footer .icon-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 14px; }
.footer .icon-row .i { color: var(--rose); flex-shrink: 0; margin-top: 3px; }
.copyright { padding: 22px 0; text-align: center; font-size: 13px; color: #9787a8; }

/* ===== FLOATING CTAS ===== */
.float-actions {
  position: fixed;
  right: 22px; bottom: 22px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 90;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
  transition: transform .2s;
}
.float-btn:hover { transform: scale(1.08); color: white; }
.float-whatsapp { background: #25d366; }
.float-call { background: var(--rose-dark); }

/* ===== INNER PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(120deg, var(--blush), var(--rose-soft));
  padding: 60px 0;
  text-align: center;
}
.page-banner h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 10px; }
.page-banner .crumbs { color: var(--muted); font-size: 14px; }
.page-banner .crumbs a { color: var(--rose-dark); }

/* ===== SERVICES DETAIL ===== */
.svc-list { display: grid; gap: 28px; }
.svc-detail {
  background: white;
  padding: 32px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 26px;
  align-items: flex-start;
}
.svc-detail .ico {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--rose-soft), var(--blush));
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 32px;
}
.svc-detail h3 { font-size: 22px; margin-bottom: 10px; color: var(--teal-dark); }
.svc-detail p.intro { color: var(--muted); margin-bottom: 14px; }
.svc-detail ul { padding-left: 18px; }
.svc-detail ul li { margin-bottom: 8px; font-size: 15px; color: #444; }
.svc-detail ul li::marker { color: var(--rose); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info .info-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
  background: var(--blush);
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.info-card .ico {
  width: 44px; height: 44px;
  background: var(--rose); color: white;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.info-card h4 { font-family: 'Inter', sans-serif; font-size: 15px; color: var(--teal-dark); font-weight: 700; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 14px; color: var(--muted); }

.contact-form {
  background: white;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 24px; margin-bottom: 6px; }
.contact-form p.sub { color: var(--muted); margin-bottom: 22px; font-size: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--teal-dark); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--blush);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--rose);
  background: white;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .btn { width: 100%; justify-content: center; padding: 14px; }

.map-wrap {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .doctor-photo { max-width: 380px; margin: 0 auto; }
  .services-grid, .t-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section.block { padding: 60px 0; }
  .hero { padding: 50px 0 70px; }
  .brand-logo { height: 64px; }
  .footer .brand-logo { height: 80px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; justify-content: center; }
  .menu-toggle { display: block; }
  .services-grid, .t-grid, .usp-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .svc-detail { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .hero-badge { left: 10px; bottom: -18px; padding: 14px 16px; }
}
