/* ============================================================
   FertiliCare – Blush Professional UI
   Soft rose pink · Refined · Compact type
   ============================================================ */

:root {
  --pink: #d63b7a;
  --pink-hot: #c2185b;
  --pink-deep: #9e1450;
  --blush: #e86b9a;
  --candy: #f5b8d0;
  --frost: #fdf6f9;
  --cream-pink: #fceef4;
  --berry: #4a1530;
  --ink: #2a1520;
  --muted: #7a5a68;
  --surface: #ffffff;
  --border: rgba(214, 59, 122, 0.12);
  --shadow-sm: 0 4px 18px rgba(158, 20, 80, 0.07);
  --shadow-md: 0 14px 40px rgba(158, 20, 80, 0.12);
  --shadow-lg: 0 22px 60px rgba(42, 21, 32, 0.16);
  --glow: rgba(214, 59, 122, 0.28);
  --radius: 0.9rem;
  --radius-lg: 1.25rem;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --header-offset: 5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Legacy aliases */
  --teal: var(--pink);
  --teal-dark: var(--pink-deep);
  --teal-mid: var(--blush);
  --teal-soft: var(--cream-pink);
  --teal-glow: var(--glow);
  --accent: #e86b9a;
  --accent-dark: var(--pink);
  --accent-soft: var(--frost);
  --accent-glow: rgba(232, 107, 154, 0.35);
  --navy: var(--ink);
  --navy-muted: var(--muted);
  --mist: var(--frost);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 87.5%; /* 14px base — compact & professional */
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  background-color: var(--frost);
  background-image:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(214, 59, 122, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 5%, rgba(245, 184, 208, 0.22), transparent 50%),
    linear-gradient(180deg, #fffafc 0%, var(--frost) 50%, #faf0f5 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); text-decoration: none; transition: color 0.2s var(--ease-out); }
a:hover { color: var(--pink-deep); }

h1, h2, h3, h4, .display-heading {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.section-pad { padding: clamp(3.25rem, 6vw, 5rem) 0; position: relative; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.65rem;
}
.section-eyebrow::before {
  content: "";
  width: 1.1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--candy));
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin-bottom: 0.65rem;
  font-weight: 650;
  color: var(--ink);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.section-lead {
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.65;
}

/* ---- Top bar ---- */
.top-bar {
  background: linear-gradient(90deg, var(--berry) 0%, #6b2040 60%, var(--pink-deep) 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0;
}
.top-bar a { color: rgba(255, 255, 255, 0.88); }
.top-bar a:hover { color: #fff; }
.top-bar-social a {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  transition: background 0.2s, transform 0.2s;
}
.top-bar-social a:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

/* ---- Header ---- */
.main-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(214, 59, 122, 0.08);
  box-shadow: 0 4px 20px rgba(158, 20, 80, 0.04);
  z-index: 1030;
  transition: box-shadow 0.3s var(--ease-out), background 0.3s;
}
.main-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(158, 20, 80, 0.08);
}
.navbar { padding: 0.5rem 0; }
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink) !important;
}
.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, var(--blush) 0%, var(--pink) 55%, var(--pink-deep) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px var(--glow);
  position: relative;
  transform: none;
}
.navbar-brand:hover .brand-mark { transform: none; opacity: 0.95; }
.brand-mark::after { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-text small {
  font-size: 0.58rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-link {
  color: var(--muted) !important;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.4rem 0.7rem !important;
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active { color: var(--pink) !important; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.1rem;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
}

.btn-accent {
  background: linear-gradient(135deg, var(--blush), var(--pink) 50%, var(--pink-deep));
  color: #fff !important;
  border: none;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px var(--glow);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.btn-accent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.5s var(--ease-out);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--glow);
  color: #fff !important;
}
.btn-accent:hover::after { transform: translateX(120%); }

.btn-teal {
  background: linear-gradient(135deg, var(--blush), var(--pink) 55%, var(--pink-deep));
  color: #fff !important;
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px var(--glow);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--glow);
  color: #fff !important;
}

.btn-outline-teal {
  border: 1.5px solid var(--pink);
  color: var(--pink);
  background: transparent;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.52rem 1.15rem;
  border-radius: 999px;
  transition: all 0.25s var(--ease-out);
}
.btn-outline-teal:hover { background: var(--pink); color: #fff; }

.btn-ghost-light {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  font-weight: 650;
  font-size: 0.8rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  transition: all 0.25s var(--ease-out);
}
.btn-ghost-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--pink) !important;
}

.navbar-toggler {
  border: 1.5px solid rgba(214, 59, 122, 0.25);
  border-radius: 0.55rem;
  padding: 0.45rem 0.55rem;
  background: var(--frost);
  box-shadow: none;
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(214, 59, 122, 0.15);
  outline: none;
}
.navbar-toggler-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 1.25rem;
  height: 1rem;
}
.navbar-toggler-bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--pink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: calc(92vh - var(--header-offset));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 8s linear;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(74, 21, 48, 0.92) 0%, rgba(158, 20, 80, 0.78) 45%, rgba(214, 59, 122, 0.55) 100%);
}

.hero-orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.35;
  animation: floatOrb 14s ease-in-out infinite;
}
.hero-orb--1 {
  width: 260px; height: 260px;
  background: var(--pink);
  top: 8%; left: -6%;
}
.hero-orb--2 {
  width: 200px; height: 200px;
  background: var(--candy);
  bottom: 5%; right: 8%;
  animation-delay: -4s;
}
.hero-orb--3 {
  width: 140px; height: 140px;
  background: var(--blush);
  top: 45%; right: 38%;
  opacity: 0.22;
  animation-delay: -7s;
}

.hero-petals { display: none; }

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, -22px) scale(1.05); }
}

.hero-content { position: relative; z-index: 2; padding: clamp(2.75rem, 5vw, 4.25rem) 0; }

/* Staggered hero entrance */
.hero-anim {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.65s var(--ease-out) forwards;
}
.hero-anim-1 { animation-delay: 0.05s; }
.hero-anim-2 { animation-delay: 0.12s; }
.hero-anim-3 { animation-delay: 0.2s; }
.hero-anim-4 { animation-delay: 0.28s; }
.hero-anim-5 { animation-delay: 0.36s; }
.hero-anim-6 { animation-delay: 0.44s; animation-name: fadeInScale; }

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.hero-brand span {
  display: inline;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.7rem;
  max-width: 28ch;
  line-height: 1.35;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.72);
  max-width: 26rem;
  margin-bottom: 1.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.6;
}
.hero-cta { gap: 0.6rem !important; }

/* Stats ribbon */
.stat-ribbon {
  position: relative;
  z-index: 3;
  margin-top: -1.75rem;
  margin-bottom: 0;
}
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.stat-item {
  min-width: 7.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(214, 59, 122, 0.1);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.25s var(--ease-out);
}
.stat-item:hover { transform: translateY(-3px); }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* Lead form */
.lead-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transform: none;
  border: 1px solid rgba(214, 59, 122, 0.1);
}
.lead-form-card:hover { transform: none; }
.lead-form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink-deep), var(--pink), var(--candy));
}
.lead-form-card::after { display: none; }
.lead-form-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
  font-weight: 650;
}
.lead-form-card .form-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.lead-form-card .form-control,
.lead-form-card .form-select {
  border: 1px solid rgba(214, 59, 122, 0.14);
  border-radius: 0.55rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
  background: var(--frost);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.lead-form-card .form-control:focus,
.lead-form-card .form-select:focus {
  border-color: var(--pink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(214, 59, 122, 0.12);
}
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-feedback { display: none; margin-top: 0.6rem; font-size: 0.8rem; font-weight: 650; }
.form-feedback.show { display: block; }

/* Trust strip */
.trust-strip {
  background: linear-gradient(90deg, var(--pink-deep), var(--pink));
  color: #fff;
  padding: 0.7rem 0;
  overflow: hidden;
  transform: none;
  margin: 1.75rem 0 0;
  box-shadow: none;
}
.trust-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.trust-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.trust-track i { color: rgba(255, 255, 255, 0.9); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- About Doctor ---- */
.about-section {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(214, 59, 122, 0.04), transparent 50%),
    var(--surface);
}
.doctor-panel {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  align-items: center;
}
@media (max-width: 991px) {
  .doctor-panel { grid-template-columns: 1fr; }
}
.doctor-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-md);
  transform: none;
}
.doctor-visual:hover { transform: none; }
.doctor-visual--photo {
  min-height: 460px;
  background: var(--berry);
}
.doctor-photo {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  display: block;
}
.doctor-photo-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(74, 21, 48, 0.82));
  display: flex;
  justify-content: center;
}
.doctor-exp-pill {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(6px);
}
.doctor-exp-pill strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
}
.doctor-exp-pill span { font-size: 0.72rem; color: rgba(255, 255, 255, 0.88); }
.doctor-copy .section-lead { max-width: 36rem; }
.about-label {
  margin: 1.1rem 0 0.5rem;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.badge-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; }
.edu-badge {
  background: var(--frost);
  color: var(--pink-deep);
  font-size: 0.7rem;
  font-weight: 650;
  padding: 0.35rem 0.7rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(214, 59, 122, 0.14);
  box-shadow: none;
  transition: transform 0.2s;
}
.edu-badge:hover { transform: translateY(-1px); }
.cred-tag {
  background: var(--cream-pink);
  color: var(--pink-deep);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 59, 122, 0.18);
  box-shadow: none;
}
.highlight-list { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
}
.highlight-list i {
  color: var(--pink);
  margin-top: 0.12rem;
  font-size: 0.95rem;
}

/* ---- Image frames ---- */
.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: none;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame--lg { min-height: 360px; }
.img-frame--lg img { min-height: 360px; }
.img-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.65rem 0.9rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(214, 59, 122, 0.1);
  transform: none;
}
.img-badge strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--pink);
  line-height: 1;
}
.img-badge span { font-size: 0.68rem; color: var(--muted); font-weight: 650; }

/* ---- Team ---- */
.team-section { background: var(--surface); }
.team-card { text-align: center; }
.team-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: none;
  outline: none;
  transition: transform 0.3s var(--ease-out);
}
.team-card:hover .team-photo { transform: translateY(-4px); }
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-card h3 { font-size: 0.95rem; margin-bottom: 0.15rem; font-weight: 650; }
.team-card p { color: var(--pink); font-size: 0.75rem; margin: 0; font-weight: 650; }

/* ---- Services ---- */
#services {
  background: linear-gradient(180deg, transparent, rgba(214, 59, 122, 0.025)), var(--frost);
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  height: 100%;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  cursor: default;
  background-image: none;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--candy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.7rem;
  background: var(--cream-pink);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  transition: all 0.3s var(--ease-out);
  box-shadow: none;
}
.service-card:hover .service-icon {
  background: linear-gradient(145deg, var(--pink), var(--blush));
  color: #fff;
  transform: none;
  box-shadow: 0 6px 16px var(--glow);
}
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  font-weight: 650;
}
.service-card p {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.55;
}
.service-card--img { padding: 0; background: #fff; }
.service-media {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
  filter: none;
}
.service-card--img:hover .service-media img { transform: scale(1.05); }
.service-body { padding: 1.05rem 1.15rem 1.25rem; }
.service-card--img .service-icon { margin-top: -1.7rem; position: relative; z-index: 1; }

.text-teal { color: var(--pink) !important; font-weight: 650; }

/* ---- Journey ---- */
.journey-section {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(245, 184, 208, 0.2), transparent 45%),
    var(--surface);
}
.journey-card h3 { font-size: 1rem; margin: 0.75rem 0 0.25rem; font-weight: 650; }
.journey-card p { color: var(--muted); font-size: 0.8rem; margin: 0; }
.journey-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: var(--shadow-sm);
  border: none;
  outline: none;
}
.journey-img img { width: 100%; height: 100%; object-fit: cover; }
.journey-num {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--glow);
}

/* ---- Lab ---- */
.lab-section { background: var(--frost); }
.lab-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1rem;
}
.lab-features div {
  background: #fff;
  border-radius: 0.65rem;
  padding: 0.7rem 0.85rem;
  font-weight: 650;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(214, 59, 122, 0.1);
  transition: border-color 0.2s, transform 0.2s;
}
.lab-features div:hover {
  transform: none;
  border-color: var(--pink);
}
.lab-features i { color: var(--pink); font-size: 1rem; }
.lab-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
  min-height: 360px;
}
.lab-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: none;
}
.lab-mosaic img:first-child {
  grid-row: 1 / span 2;
  min-height: 360px;
  border-radius: var(--radius);
}

/* ---- Packages ---- */
.packages-section { background: var(--surface); }
.package-card {
  background: var(--surface);
  border: 1px solid rgba(214, 59, 122, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem;
  height: 100%;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  overflow: hidden;
}
.package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.package-card.is-featured {
  border-color: var(--pink);
  background: linear-gradient(180deg, #fff, var(--frost));
  box-shadow: var(--shadow-md);
  transform: none;
}
.pkg-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: var(--pink);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  box-shadow: none;
}
.package-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; font-weight: 650; }
.pkg-price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.package-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
}
.package-card li {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}
.package-card li i { color: var(--pink); }

/* ---- Finance ---- */
.finance-banner {
  background:
    linear-gradient(120deg, rgba(74, 21, 48, 0.94), rgba(214, 59, 122, 0.82)),
    url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=1600&q=70') center/cover;
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  color: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.finance-banner::before { display: none; }
.finance-banner .section-title {
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.finance-img {
  width: min(100%, 240px);
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: inline-block;
}

/* ---- Videos ---- */
.video-section { background: var(--frost); }
.video-thumb,
.video-thumb--img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  background-size: cover;
  background-position: center;
}
.video-thumb--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74, 21, 48, 0.2), rgba(158, 20, 80, 0.78));
}
.video-thumb:hover,
.video-thumb--img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.video-thumb i,
.video-thumb--img i {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  color: #fff;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.3));
  transition: transform 0.25s var(--ease-out);
}
.video-thumb:hover i,
.video-thumb--img:hover i { transform: scale(1.08); }
.video-thumb span,
.video-thumb--img span {
  position: absolute;
  bottom: 0.7rem;
  left: 0.7rem;
  z-index: 1;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---- Gallery ---- */
.gallery-section { background: var(--surface); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  border: none;
}
.gallery-item:nth-child(even) { border-radius: var(--radius); transform: none; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.6rem 0.85rem;
  background: linear-gradient(transparent, rgba(74, 21, 48, 0.8));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---- Awards ---- */
.awards-section {
  background: linear-gradient(180deg, var(--cream-pink), var(--surface));
}
.award-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.35rem 0.85rem;
  border: 1px solid rgba(214, 59, 122, 0.1);
  height: 100%;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.award-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(214, 59, 122, 0.2);
}
.award-card i {
  font-size: 1.55rem;
  color: var(--pink);
  margin-bottom: 0.55rem;
  display: block;
}
.award-card h4 { font-size: 0.92rem; margin-bottom: 0.25rem; font-weight: 650; }
.award-card p { margin: 0; color: var(--muted); font-size: 0.75rem; }

/* ---- Blog ---- */
#blogs { background: var(--frost); }
.blog-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(214, 59, 122, 0.1);
  height: 100%;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.blog-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--cream-pink), var(--candy));
  overflow: hidden;
}
.blog-thumb--img { padding: 0; }
.blog-thumb--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}
.blog-card:hover .blog-thumb--img img { transform: scale(1.04); }
.blog-body { padding: 1.1rem; }
.blog-cat {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
}
.blog-body h3 { font-size: 1rem; margin: 0.35rem 0; font-weight: 650; }
.blog-body p { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.65rem; }
.blog-link {
  font-weight: 700;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--pink);
  transition: gap 0.25s;
}
.blog-card:hover .blog-link { gap: 0.55rem; }

/* ---- Resources ---- */
.resources-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(214, 59, 122, 0.1);
  box-shadow: var(--shadow-sm);
}
.resources-panel img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.resources-panel .col-lg-6:last-child { padding: clamp(1.25rem, 2.5vw, 2rem); }

/* ---- Contact ---- */
.contact-section {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(214, 59, 122, 0.06), transparent 50%),
    var(--frost);
}
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  border: 1px solid rgba(214, 59, 122, 0.1);
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.contact-list li {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
}
.contact-list i {
  color: var(--pink);
  margin-top: 0.12rem;
}
.contact-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  box-shadow: var(--shadow-md);
  border: none;
}
.contact-map img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.map-overlay {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: #fff;
  border-radius: 0.7rem;
  padding: 0.7rem 0.95rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(214, 59, 122, 0.1);
}
.map-overlay strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 650;
}
.map-overlay span { font-size: 0.72rem; color: var(--muted); }

@media (max-width: 991px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-mosaic { grid-template-columns: 1fr 1fr; min-height: auto; }
  .lab-mosaic img:first-child { grid-row: auto; min-height: 200px; }
}
@media (max-width: 575px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .lab-features { grid-template-columns: 1fr; }
}

/* ---- Why Choose Us ---- */
.why-section {
  background: linear-gradient(165deg, var(--cream-pink) 0%, #fff 45%, var(--frost) 100%);
  overflow: hidden;
}
.why-item {
  text-align: center;
  padding: 1.35rem 0.9rem;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease-out), background 0.25s;
  border: 1px solid transparent;
}
.why-item:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(214, 59, 122, 0.1);
  box-shadow: var(--shadow-sm);
}
.why-icon {
  width: 3.4rem;
  height: 3.4rem;
  margin: 0 auto 0.85rem;
  border-radius: 0.85rem;
  background: #fff;
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), color 0.25s, background 0.25s;
  border: 1px solid rgba(214, 59, 122, 0.1);
}
.why-item:hover .why-icon {
  background: linear-gradient(145deg, var(--pink), var(--pink-deep));
  color: #fff;
  transform: none;
  border-color: transparent;
}
.why-item h4 { font-size: 0.92rem; margin-bottom: 0.3rem; font-weight: 650; }
.why-item p { font-size: 0.75rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---- Success Rates ---- */
.success-section { background: var(--surface); position: relative; }
.success-panel {
  background: linear-gradient(160deg, #fff, var(--frost));
  border: 1px solid rgba(214, 59, 122, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.success-tabs .nav-link {
  color: var(--muted) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.45rem 1.05rem !important;
  font-weight: 700;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 1px rgba(214, 59, 122, 0.12);
}
.success-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--pink), var(--blush)) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px var(--glow);
}
.success-tabs .nav-link.active::after { display: none; }
.rate-bar-wrap { margin-bottom: 1.1rem; }
.rate-bar-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-weight: 700;
  font-size: 0.8rem;
}
.rate-bar {
  height: 0.7rem;
  background: rgba(214, 59, 122, 0.1);
  border-radius: 999px;
  overflow: hidden;
}
.rate-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink-deep), var(--pink), var(--candy));
  transition: width 1.2s var(--ease-out);
  position: relative;
}
.rate-bar-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: shimmer 2.5s ease infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.rate-note { font-size: 0.75rem; color: var(--muted); }

/* ---- Testimonials ---- */
#stories {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(214, 59, 122, 0.05), transparent 55%),
    var(--frost);
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.5rem;
  border: 1px solid rgba(214, 59, 122, 0.1);
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 0.35rem;
  left: 1.1rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(214, 59, 122, 0.12);
  pointer-events: none;
  font-weight: 700;
}
.testimonial-stars {
  color: var(--pink);
  margin-bottom: 0.65rem;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}
.testimonial-card blockquote {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--ink);
  margin: 0 0 1.15rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.testimonial-meta { display: flex; align-items: center; gap: 0.7rem; }
.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--candy));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  width: 2.35rem;
  height: 2.35rem;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 50%;
  opacity: 1;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(214, 59, 122, 0.12);
}
#testimonialCarousel .carousel-control-prev { left: -0.25rem; }
#testimonialCarousel .carousel-control-next { right: -0.25rem; }
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  filter: invert(28%) sepia(70%) saturate(1800%) hue-rotate(310deg);
  width: 0.85rem;
  height: 0.85rem;
}

/* ---- FAQ ---- */
.faq-section {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(214, 59, 122, 0.04), transparent 50%),
    var(--surface);
}
.accordion-item {
  border: 1px solid rgba(214, 59, 122, 0.1) !important;
  border-radius: 0.75rem !important;
  margin-bottom: 0.65rem;
  overflow: hidden;
  background: #fff !important;
  box-shadow: none;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.accordion-item:has(.accordion-button:not(.collapsed)) {
  box-shadow: var(--shadow-sm);
  border-color: rgba(214, 59, 122, 0.25) !important;
}
.accordion-button {
  font-weight: 650;
  font-family: var(--font-sans);
  color: var(--ink);
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.88rem;
  padding: 0.9rem 1rem;
}
.accordion-button:not(.collapsed) {
  color: var(--pink);
  background: var(--frost) !important;
}
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d63b7a'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-body {
  color: var(--muted);
  padding: 0 1rem 1rem;
  font-size: 0.85rem;
}

/* ---- Footer ---- */
.site-footer {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(214, 59, 122, 0.28), transparent 45%),
    linear-gradient(180deg, var(--berry) 0%, #1f0c16 100%);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink-deep), var(--pink), var(--candy));
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; color: #fff; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.footer-lead { font-size: 0.82rem; max-width: 22rem; line-height: 1.55; }
.footer-heading {
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  font-weight: 800;
}
.footer-links a, .footer-contact a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover, .footer-contact a:hover {
  color: var(--candy);
  padding-left: 0.2rem;
}
.footer-links li, .footer-contact li { margin-bottom: 0.4rem; }
.footer-contact i { margin-right: 0.4rem; color: var(--candy); }
.footer-contact li { font-size: 0.8rem; }
.footer-social a {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
  transition: background 0.25s, transform 0.25s;
}
.footer-social a:hover {
  background: var(--pink);
  color: #fff;
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.25rem;
  padding: 1.1rem 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
}

/* Floating WhatsApp */
.fab-whatsapp {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1040;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease-out);
  animation: fabPulse 2.8s ease-in-out infinite;
}
.fab-whatsapp:hover { transform: scale(1.08); color: #fff !important; }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.12); }
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes btnPulseSoft {
  0%, 100% { box-shadow: 0 6px 18px var(--glow); }
  50% { box-shadow: 0 6px 18px var(--glow), 0 0 0 8px rgba(214, 59, 122, 0.1); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }

/* Image reveal */
.img-reveal {
  overflow: hidden;
}
.img-reveal img,
.service-media img,
.team-photo img,
.journey-img img,
.gallery-item img,
.blog-thumb img,
.doctor-photo,
.img-frame img {
  transition: transform 0.7s var(--ease-out), opacity 0.6s var(--ease-out);
}
.reveal:not(.visible) .service-media img,
.reveal:not(.visible) .team-photo img,
.reveal:not(.visible) .journey-img img,
.reveal:not(.visible) .gallery-item img,
.reveal:not(.visible) .blog-thumb img,
.reveal:not(.visible) .doctor-photo,
.reveal:not(.visible) .img-frame img {
  transform: scale(1.12);
  opacity: 0.65;
}
.reveal.visible .service-media img,
.reveal.visible .team-photo img,
.reveal.visible .journey-img img,
.reveal.visible .gallery-item img,
.reveal.visible .blog-thumb img,
.reveal.visible .doctor-photo,
.reveal.visible .img-frame img {
  transform: scale(1);
  opacity: 1;
}

/* Button press feedback */
.btn-accent:active,
.btn-teal:active,
.btn-outline-teal:active,
.btn-ghost-light:active,
.btn-book:active {
  transform: scale(0.96) !important;
}

.nav-backdrop {
  display: none;
}

/* Mobile panel base — hidden until opened on small screens */
.mobile-nav-panel {
  display: none;
}

/* ---- Mobile / tablet ---- */
@media (max-width: 991.98px) {
  :root { --header-offset: 4.25rem; }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .top-bar {
    padding: 0.35rem 0;
    font-size: 0.68rem;
  }
  .top-bar-contacts a:last-child { display: none; }
  .top-bar-social { display: none !important; }

  .main-header {
    z-index: 1050;
  }
  .main-header .navbar {
    padding: 0.45rem 0;
  }
  .main-header .navbar > .container,
  .nav-bar-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    position: relative;
  }

  .navbar-brand {
    max-width: calc(100% - 3.6rem);
    min-width: 0;
  }
  .brand-mark {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 0.72rem;
    border-radius: 0.55rem;
  }
  .brand-text {
    min-width: 0;
    overflow: hidden;
  }
  .brand-text strong {
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .brand-text small {
    font-size: 0.52rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .navbar-toggler {
    margin-left: auto;
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1060;
    transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
  }
  .navbar-toggler:active {
    transform: scale(0.92);
  }
  .navbar-toggler[aria-expanded="true"] {
    background: var(--pink);
    border-color: var(--pink);
  }
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-bars span {
    background: #fff;
  }

  /* Mobile full-screen panel (outside header) */
  .mobile-nav-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    background: linear-gradient(165deg, #fff 0%, var(--frost) 55%, var(--cream-pink) 100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
  }
  .mobile-nav-panel.is-open {
    display: flex;
    animation: mobileNavIn 0.32s var(--ease-out) both;
  }
  .mobile-nav-panel[hidden] {
    display: none !important;
  }

  @keyframes mobileNavIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid rgba(214, 59, 122, 0.1);
    background: #fff;
    flex-shrink: 0;
  }
  .mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
  }
  .mobile-nav-brand .brand-mark {
    width: 2rem;
    height: 2rem;
    font-size: 0.65rem;
  }
  .mobile-nav-brand strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
  }
  .mobile-nav-close {
    width: 2.45rem;
    height: 2.45rem;
    border: 1.5px solid rgba(214, 59, 122, 0.2);
    border-radius: 0.55rem;
    background: var(--frost);
    color: var(--pink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
  .mobile-nav-close:active {
    transform: scale(0.92);
    background: var(--pink);
    color: #fff;
  }

  .mobile-nav-links {
    margin: 0.5rem 0 0;
    padding: 0.25rem 0.85rem;
    width: 100%;
  }
  .mobile-nav-links li {
    opacity: 0;
    transform: translateX(16px);
  }
  .mobile-nav-panel.is-open .mobile-nav-links li {
    animation: slideInRight 0.38s var(--ease-out) both;
  }
  .mobile-nav-panel.is-open .mobile-nav-links li:nth-child(1) { animation-delay: 0.04s; }
  .mobile-nav-panel.is-open .mobile-nav-links li:nth-child(2) { animation-delay: 0.08s; }
  .mobile-nav-panel.is-open .mobile-nav-links li:nth-child(3) { animation-delay: 0.12s; }
  .mobile-nav-panel.is-open .mobile-nav-links li:nth-child(4) { animation-delay: 0.16s; }
  .mobile-nav-panel.is-open .mobile-nav-links li:nth-child(5) { animation-delay: 0.2s; }
  .mobile-nav-panel.is-open .mobile-nav-links li:nth-child(6) { animation-delay: 0.24s; }
  .mobile-nav-panel.is-open .mobile-nav-links li:nth-child(7) { animation-delay: 0.28s; }
  .mobile-nav-panel.is-open .mobile-nav-links li:nth-child(8) { animation-delay: 0.32s; }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 0.85rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--ink);
    border-radius: 0.65rem;
    min-height: 2.75rem;
  }
  .mobile-nav-link:active {
    background: var(--cream-pink);
    color: var(--pink);
  }
  .mobile-nav-link.active {
    color: var(--pink);
    background: linear-gradient(90deg, rgba(214, 59, 122, 0.12), transparent);
    border-left: 3px solid var(--pink);
  }

  .mobile-nav-cta {
    display: block;
    margin: 0.75rem 1rem 0.4rem;
    width: calc(100% - 2rem);
    text-align: center;
    padding: 0.85rem 1.2rem;
    font-size: 0.9rem;
    opacity: 0;
  }
  .mobile-nav-panel.is-open .mobile-nav-cta {
    animation: fadeUp 0.4s var(--ease-out) 0.38s both;
  }

  .mobile-nav-foot {
    padding: 0.85rem 1.1rem 1.5rem;
    text-align: center;
    margin-top: auto;
    opacity: 0;
  }
  .mobile-nav-panel.is-open .mobile-nav-foot {
    animation: fadeUp 0.4s var(--ease-out) 0.45s both;
  }
  .mobile-nav-foot a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pink);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(214, 59, 122, 0.15);
    box-shadow: var(--shadow-sm);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(42, 21, 32, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .navbar-toggler {
    display: inline-flex !important;
  }
  #mainNavDesktop {
    display: none !important;
  }

  /* Hero mobile — compact + animated */
  .hero {
    min-height: auto;
    align-items: flex-start;
  }
  .hero-content {
    padding: 1.35rem 0 1.5rem;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .section-eyebrow {
    margin-bottom: 0.45rem;
    font-size: 0.6rem;
    padding: 0.28rem 0.7rem 0.28rem 0.45rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-brand {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
    margin-bottom: 0.3rem;
    line-height: 1.08;
    text-align: center;
  }
  .hero-headline {
    font-size: 0.92rem;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.45rem;
    line-height: 1.35;
    text-align: center;
  }
  .hero-sub {
    font-size: 0.8rem;
    margin-bottom: 0.9rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 24rem;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem !important;
    margin-bottom: 0.25rem;
  }
  .hero-cta .btn {
    flex: 1 1 auto;
    min-width: calc(50% - 0.3rem);
    text-align: center;
    padding: 0.65rem 0.85rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .hero-cta .btn-accent {
    animation: btnPulseSoft 2.5s ease-in-out 1.2s infinite;
  }

  .lead-form-card {
    margin-top: 0.35rem;
    padding: 1rem 0.95rem 1.05rem;
    border-radius: 1rem;
  }
  .lead-form-card h3 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
    text-align: center;
  }
  .lead-form-card .form-hint {
    font-size: 0.72rem;
    margin-bottom: 0.75rem;
    text-align: center;
  }
  .lead-form-card .form-control,
  .lead-form-card .form-select {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
    border-radius: 0.5rem;
    min-height: 2.45rem;
  }
  .lead-form-card .btn-teal {
    padding: 0.7rem;
    font-size: 0.85rem;
    min-height: 2.65rem;
  }
  .form-message-wrap {
    display: none;
  }

  .stat-ribbon {
    margin-top: -0.35rem;
    margin-bottom: 0.25rem;
    padding: 0 0.5rem;
  }
  .stat-row { gap: 0.4rem; }
  .stat-item {
    min-width: calc(33.333% - 0.35rem);
    flex: 1;
    padding: 0.6rem 0.35rem;
    border-radius: 0.75rem;
    animation: fadeUp 0.55s var(--ease-out) both;
  }
  .stat-item:nth-child(1) { animation-delay: 0.55s; }
  .stat-item:nth-child(2) { animation-delay: 0.62s; }
  .stat-item:nth-child(3) { animation-delay: 0.69s; }
  .stat-num { font-size: 1.2rem; }
  .stat-label { font-size: 0.5rem; letter-spacing: 0.04em; }

  .section-pad { padding: 2.75rem 0; }
  .section-title { font-size: clamp(1.4rem, 6vw, 1.75rem); }
  .section-lead { font-size: 0.85rem; }

  .trust-strip { margin-top: 1.1rem; padding: 0.55rem 0; }
  .trust-track { font-size: 0.65rem; gap: 1.75rem; }

  .doctor-visual,
  .doctor-visual--photo,
  .doctor-photo {
    min-height: 300px;
  }
  .img-frame--lg,
  .img-frame--lg img { min-height: 240px; }

  .service-card:hover,
  .package-card:hover,
  .blog-card:hover,
  .award-card:hover {
    transform: none;
  }
  .service-card:active,
  .package-card:active,
  .blog-card:active {
    transform: scale(0.98);
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
  .lab-mosaic { grid-template-columns: 1fr 1fr; min-height: auto; gap: 0.5rem; }
  .lab-mosaic img:first-child { grid-row: auto; min-height: 180px; }

  #testimonialCarousel .carousel-control-prev { left: 0; }
  #testimonialCarousel .carousel-control-next { right: 0; }

  .fab-whatsapp {
    width: 3.15rem;
    height: 3.15rem;
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .reveal.visible .section-eyebrow {
    animation: fadeUp 0.5s var(--ease-out) both;
  }
  .reveal.visible .section-title {
    animation: fadeUp 0.55s var(--ease-out) 0.06s both;
  }
  .reveal.visible .section-lead {
    animation: fadeUp 0.55s var(--ease-out) 0.12s both;
  }
}

@media (max-width: 575.98px) {
  .section-pad { padding: 2.35rem 0; }
  .hero-content { padding: 1.15rem 0 1.25rem; }
  .hero-brand { font-size: 1.7rem; }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
    min-width: 100%;
  }
  .stat-item { min-width: calc(33.33% - 0.3rem); }
  .stat-item:nth-child(3) { min-width: calc(33.33% - 0.3rem); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .lab-features { grid-template-columns: 1fr; }
  .package-card.is-featured { transform: none; }
  .contact-map,
  .contact-map img { min-height: 220px; }
  .col-6.col-lg-3 .team-card h3 { font-size: 0.82rem; }
  .col-6.col-lg-3 .team-card p { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .trust-track { animation: none; }
  .hero-anim {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  #mainNav.is-open,
  #mainNav.is-open .nav-item,
  #mainNav.is-open .btn-book,
  #mainNav.is-open .mobile-nav-foot,
  .mobile-nav-panel.is-open,
  .mobile-nav-panel.is-open .mobile-nav-links li,
  .mobile-nav-panel.is-open .mobile-nav-cta,
  .mobile-nav-panel.is-open .mobile-nav-foot {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 992px) {
  .mobile-nav-panel,
  .nav-backdrop {
    display: none !important;
  }
  .navbar-toggler {
    display: none !important;
  }
  #mainNavDesktop {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
    align-items: center;
  }
  #mainNavDesktop .btn-book {
    margin: 0;
    width: auto;
    opacity: 1;
  }
}
