/* =========================================================
   Dr. Kusum Gupta Nursing Home — Home redesign
   Scoped to body.home-modern
   ========================================================= */

:root {
  /* Brand palette from existing site (#98649a + peach #fde6d7) */
  --ink: #233645;
  --ink-soft: #3d4f5c;
  --muted: #666666;
  --line: rgba(152, 100, 154, 0.14);
  --surface: #fff8f4;
  --surface-2: #fde6d7;
  --white: #ffffff;
  --brand: #98649a;
  --brand-deep: #7a4a7d;
  --brand-soft: #f3e8f3;
  --brand-mid: #ad799f;
  --brand-light: #e3b9ca;
  --accent: #c47a9b;
  --accent-soft: #fde6d7;
  --gradient: linear-gradient(90deg, #98649a 0%, #c47a9b 55%, #e3b9ca 100%);
  --gradient-rich: linear-gradient(135deg, #7a4a7d 0%, #98649a 42%, #c47a9b 100%);
  --shadow-sm: 0 8px 24px rgba(122, 74, 125, 0.08);
  --shadow-md: 0 18px 50px rgba(122, 74, 125, 0.14);
  --radius: 1.25rem;
  --radius-sm: 0.85rem;
  --container: 1180px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.home-modern {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.home-modern .se-pre-con {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.home-modern .se-pre-con::after {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--brand-soft);
  border-top-color: var(--brand);
  animation: hmSpin 0.7s linear infinite;
}

@keyframes hmSpin {
  to { transform: rotate(360deg); }
}

body.home-modern h1,
body.home-modern h2,
body.home-modern h3,
body.home-modern h4,
body.home-modern h5,
body.home-modern h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

body.home-modern p {
  color: var(--muted);
  margin: 0 0 1rem;
}

body.home-modern a {
  color: inherit;
  text-decoration: none;
}

body.home-modern img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Shared ---------- */
.hm-container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.hm-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}

.hm-eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.hm-title {
  font-size: clamp(1.85rem, 3.5vw, 2.85rem);
  max-width: 16ch;
  margin-bottom: 1rem;
}

.hm-lead {
  font-size: 1.05rem;
  max-width: 48ch;
  color: var(--muted);
}

.hm-section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.hm-section-head .hm-title {
  max-width: none;
  margin-inline: auto;
}

.hm-section-head .hm-lead {
  margin-inline: auto;
}

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.hm-btn:hover {
  transform: translateY(-2px);
}

.hm-btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(152, 100, 154, 0.35);
  border: 0;
}

.hm-btn-primary:hover {
  background: var(--gradient-rich);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(152, 100, 154, 0.42);
}

.hm-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.hm-btn-secondary:hover {
  background: var(--white);
  color: var(--ink);
}

.hm-btn-outline {
  background: transparent;
  color: var(--brand-deep);
  border-color: rgba(152, 100, 154, 0.4);
}

.hm-btn-outline:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: transparent;
}

.hm-btn-soft {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.hm-btn-soft:hover {
  background: var(--gradient);
  color: var(--white);
}

/* reveal motion */
.hm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.hm-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hm-delay-1 { transition-delay: 0.08s; }
.hm-delay-2 { transition-delay: 0.16s; }
.hm-delay-3 { transition-delay: 0.24s; }
.hm-delay-4 { transition-delay: 0.32s; }

/* ========== TOP BAR ========== */
.hm-topbar {
  background: var(--gradient-rich);
  color: #ffffff;
  font-size: 0.86rem;
  padding: 0.55rem 0;
}

.hm-topbar .hm-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

body.home-modern .hm-topbar p {
  margin: 0;
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hm-topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hm-topbar-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.home-modern .hm-topbar-links a {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600;
}

body.home-modern .hm-topbar-links a:hover {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hm-topbar-social {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.home-modern .hm-topbar-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  font-size: 0.8rem;
}

body.home-modern .hm-topbar-social a:hover {
  background: rgba(255, 255, 255, 0.32);
  color: #ffffff !important;
}

body.home-modern .hm-topbar-social a i {
  color: #ffffff !important;
}

/* ========== HEADER / NAV ========== */
.hm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}

.hm-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(152, 100, 154, 0.1);
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.hm-nav {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hm-brand img {
  height: 58px;
  width: auto;
}

.hm-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hm-menu > li {
  position: relative;
}

.hm-menu > li > a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  border-radius: 999px;
}

.hm-menu > li > a:hover,
.hm-menu > li:hover > a {
  color: var(--brand);
  background: var(--surface);
}

.hm-menu .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.55rem;
  list-style: none;
  margin: 0;
  z-index: 50;
}

.hm-menu > li:hover > .dropdown-menu,
.hm-menu > li:focus-within > .dropdown-menu {
  display: block;
  animation: hmDropdown 0.28s var(--ease);
}

@keyframes hmDropdown {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hm-menu .dropdown-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.35;
}

.hm-menu .dropdown-menu a:hover {
  background: var(--surface);
  color: var(--brand-deep);
}

.hm-nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.55rem 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f3e8f3 0%, #fde6d7 100%);
  border: 1px solid rgba(152, 100, 154, 0.18);
  white-space: nowrap;
}

.hm-nav-cta i {
  color: var(--brand);
  font-size: 1.1rem;
}

.hm-nav-cta span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.2;
}

.hm-nav-cta strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 800;
}

.hm-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ========== HERO ========== */
.hm-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hm-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hm-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s var(--ease), transform 8s linear;
}

.hm-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hm-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(105deg, rgba(55, 28, 58, 0.88) 0%, rgba(122, 74, 125, 0.55) 48%, rgba(152, 100, 154, 0.22) 100%),
    linear-gradient(0deg, rgba(45, 22, 50, 0.55) 0%, transparent 48%);
}

/* Left-aligned hero content (same container width as page) */
body.home-modern .hm-hero-content {
  position: relative;
  z-index: 3;
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  padding: clamp(2rem, 4vh, 3rem) 0;
  max-width: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.home-modern .hm-hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500;
  line-height: 1.05;
  color: #ffffff !important;
  margin: 0 0 1.15rem;
  letter-spacing: -0.03em;
  max-width: 14ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  animation: hmHeroIn 0.9s var(--ease) both;
}

body.home-modern .hm-hero-line {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95) !important;
  margin: 0 0 1.75rem;
  max-width: 36ch;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
  animation: hmHeroIn 0.9s 0.1s var(--ease) both;
}

.hm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: hmHeroIn 0.9s 0.2s var(--ease) both;
  justify-content: flex-start;
}

@keyframes hmHeroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hm-hero-dots {
  position: absolute;
  z-index: 4;
  left: clamp(1.25rem, 4vw, 3rem);
  bottom: 2rem;
  display: flex;
  gap: 0.5rem;
}

.hm-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.hm-hero-dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

/* ========== WHY FEATURES — highlighted ========== */
.hm-why {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, #5c2d5f 0%, #98649a 42%, #c47a9b 78%, #e3b9ca 100%);
  padding-top: clamp(3.5rem, 7vw, 2.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.hm-why-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.18), transparent 38%),
    radial-gradient(circle at 88% 75%, rgba(253, 230, 215, 0.28), transparent 40%),
    radial-gradient(circle at 50% 110%, rgba(122, 74, 125, 0.35), transparent 45%);
  z-index: 0;
}

.hm-why-decor::before,
.hm-why-decor::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hm-why-decor::before {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -40px;
}

.hm-why-decor::after {
  width: 180px;
  height: 180px;
  bottom: -50px;
  left: 8%;
}

.hm-why > .hm-container {
  position: relative;
  z-index: 1;
}

body.home-modern .hm-why .hm-section-head {
  margin-bottom: 2.5rem;
}

body.home-modern .hm-why .hm-eyebrow {
  color: #f8e4ee;
  justify-content: center;
}

body.home-modern .hm-why .hm-eyebrow::before {
  background: #f8e4ee;
}

body.home-modern .hm-why .hm-title {
  color: #ffffff !important;
  max-width: 18ch;
}

body.home-modern .hm-why .hm-lead {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-inline: auto;
}

.hm-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.hm-why-item {
  position: relative;
  text-align: center;
  padding: 2rem 1.25rem 1.65rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 40px rgba(45, 22, 50, 0.18);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.hm-why-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--gradient);
}

.hm-why-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 50px rgba(45, 22, 50, 0.28);
}

.hm-why-num {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: rgba(152, 100, 154, 0.18);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hm-why-item .icon {
  width: 5rem;
  height: 5rem;
  margin: 0.35rem auto 1.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff 0%, #f8eef8 55%, #f3e8f3 100%);
  box-shadow:
    0 0 0 8px rgba(152, 100, 154, 0.08),
    0 12px 28px rgba(152, 100, 154, 0.16);
  border: 1px solid rgba(152, 100, 154, 0.12);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.hm-why-item:hover .icon {
  transform: scale(1.08);
  box-shadow:
    0 0 0 10px rgba(152, 100, 154, 0.12),
    0 16px 36px rgba(152, 100, 154, 0.28);
}

.hm-why-item .icon img {
  width: 2.65rem;
  height: 2.65rem;
  object-fit: contain;
}

body.home-modern .hm-why-item h4 {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--ink) !important;
}

body.home-modern .hm-why-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted) !important;
}

/* ========== INTRO STRIP ========== */
.hm-intro {
  background: var(--white);
}

.hm-intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.hm-intro-copy {
  padding: 0.5rem;
}

.hm-intro-copy h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin-bottom: 0.85rem;
}

.hm-intro-copy p {
  font-size: 0.98rem;
}

.hm-intro-meta {
  margin-top: 1.25rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--brand);
  background: var(--surface);
  border-radius: 0 0.75rem 0.75rem 0;
}

.hm-intro-meta span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.hm-intro-meta strong {
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 800;
}

.hm-intro-portrait {
  position: relative;
  display: flex;
  justify-content: center;
}

.hm-intro-portrait img {
  width: min(100%, 340px);
  margin: 0 auto;
  filter: drop-shadow(0 28px 40px rgba(152, 100, 154, 0.22));
  animation: hmFloat 5.5s ease-in-out infinite;
}

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

.hm-intro-copy .baby-thumb {
  width: 4.5rem;
  margin-bottom: 1rem;
}

/* ========== ABOUT ========== */
.hm-about {
  background:
    linear-gradient(180deg, #fff8f4 0%, #ffffff 55%, #fdf4fb 100%);
}

.hm-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hm-about-media {
  position: relative;
  border-radius: calc(var(--radius) + 0.4rem);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5/4;
}

.hm-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.hm-about-media:hover img {
  transform: scale(1.04);
}

.hm-about-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(122, 74, 125, 0.35));
  pointer-events: none;
}

.hm-about-body .hm-title {
  max-width: 18ch;
}

.hm-about-body p {
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
}

/* ========== DOCTORS — Ferlix Our Team style ========== */
.hm-doctors {
  background:
    radial-gradient(circle at 8% 20%, rgba(253, 230, 215, 0.85), transparent 42%),
    radial-gradient(circle at 92% 80%, rgba(243, 232, 243, 0.9), transparent 44%),
    linear-gradient(180deg, #fffaf8 0%, #faf4f8 100%);
}

/* Header: title left, copy + CTA right (Ferlix section-row) */
.hm-team-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3rem);
}

body.home-modern .hm-team-heading .hm-title {
  max-width: 14ch;
  margin-bottom: 0;
}

body.home-modern .hm-team-heading .hm-title em {
  font-style: normal;
  color: var(--brand);
}

body.home-modern .hm-team-intro p {
  margin: 0 0 1.15rem;
  color: var(--muted) !important;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 46ch;
}

.hm-doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

/* Soft card — name on top, photo below, icons always visible */
.hm-doc {
  position: relative;
  text-align: center;
  background: #f3e8f3;
  border-radius: 1.25rem;
  padding: 1.65rem 1.1rem 1.15rem;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    background 0.4s ease;
}

.hm-doc:hover {
  transform: translateY(-8px);
  background: #efe0ef;
  box-shadow: 0 22px 48px rgba(122, 74, 125, 0.14);
}

.hm-doc-content {
  flex: 0 0 auto;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

body.home-modern .hm-doc-content h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink) !important;
  margin: 0 0 0.4rem;
  text-transform: capitalize;
  line-height: 1.3;
}

body.home-modern .hm-doc-role {
  display: block;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted) !important;
  line-height: 1.45;
  text-transform: capitalize;
}

.hm-doc .show-more-btn {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
}

.hm-doc .show-more-btn:hover {
  color: var(--brand-deep);
}

.hm-doc-photo {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 200px;
  flex: 1 1 auto;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

body.home-modern .hm-doc-photo img {
  width: 100%;
  max-width: 195px;
  height: auto;
  max-height: none;
  aspect-ratio: 1 / 1.39;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin: 0 auto;
  transition: transform 0.65s var(--ease);
}

.hm-doc:hover .hm-doc-photo img {
  transform: scale(1.04) translateY(-4px);
}

/* Contact icons — always visible under photo */
.hm-doc-social {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding: 0.55rem 0.25rem 0;
  opacity: 1;
  visibility: visible;
  transform: none;
}

body.home-modern .hm-doc-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--brand-deep) !important;
  font-size: 0.92rem;
  border: 1px solid rgba(152, 100, 154, 0.18);
  box-shadow: 0 6px 14px rgba(122, 74, 125, 0.12);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

body.home-modern .hm-doc-social a i {
  color: inherit;
  line-height: 1;
}

body.home-modern .hm-doc-social a:hover {
  background: var(--brand);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(152, 100, 154, 0.32);
}

@media (max-width: 1199px) {
  .hm-team-top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body.home-modern .hm-team-heading .hm-title {
    max-width: 18ch;
  }
}

/* ========== FAQ ========== */
.hm-faq {
  background:
    radial-gradient(circle at 80% 10%, rgba(243, 232, 243, 0.95), transparent 42%),
    linear-gradient(180deg, #fde6d7 0%, #f9ebe3 55%, #f6e8f4 100%);
}

.hm-faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.hm-acc {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 36, 43, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  padding-right: 3rem;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hm-acc::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
}

.hm-acc.active {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.hm-acc.active::after {
  content: "–";
}

.hm-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.35s var(--ease);
  padding: 0 1.1rem;
}

.hm-panel.open {
  max-height: 320px;
  padding: 0 1.1rem 1rem;
}

.hm-panel p {
  margin: 0;
  font-size: 0.98rem;
}

.hm-faq-more {
  text-align: center;
  margin-top: 2rem;
}

/* ========== TREATMENTS ========== */
.hm-treatments {
  background:
    radial-gradient(circle at 0% 50%, rgba(243, 232, 243, 0.8), transparent 40%),
    radial-gradient(circle at 100% 50%, rgba(253, 230, 215, 0.75), transparent 40%),
    #fffaf8;
  overflow: hidden;
}

.hm-treat-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-soft) transparent;
}

.hm-treat-card {
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(152, 100, 154, 0.12);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.hm-treat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(152, 100, 154, 0.18);
  border-color: rgba(152, 100, 154, 0.28);
}

.hm-treat-card .thumb {
  aspect-ratio: 16/11;
  overflow: hidden;
}

.hm-treat-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.hm-treat-card:hover .thumb img {
  transform: scale(1.06);
}

.hm-treat-card .info {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hm-treat-card h4 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.hm-treat-card h4 a:hover {
  color: var(--brand);
}

.hm-treat-card p {
  font-size: 0.94rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hm-treat-card .bottom {
  margin-top: 1rem;
}

.hm-treat-card .bottom a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.hm-treat-card .bottom a:hover {
  background: var(--gradient);
  color: #fff;
}

/* ========== CONSULTATION ========== */
.hm-consult {
  background: var(--gradient-rich);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hm-consult::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 185, 202, 0.35), transparent 70%);
  top: -140px;
  right: -100px;
  pointer-events: none;
}

.hm-consult::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 230, 215, 0.2), transparent 70%);
  bottom: -100px;
  left: -60px;
  pointer-events: none;
}

.hm-consult-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hm-consult .hm-eyebrow {
  color: #f8e4ee;
}

.hm-consult .hm-eyebrow::before {
  background: #f8e4ee;
}

body.home-modern .hm-consult .hm-title,
body.home-modern .hm-consult h2 {
  color: #ffffff !important;
  max-width: 16ch;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

body.home-modern .hm-consult p {
  color: rgba(255, 255, 255, 0.92) !important;
  max-width: 46ch;
  font-size: 1.02rem;
}

.hm-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hm-step {
  flex: 1 1 150px;
  padding: 1.15rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
}

.hm-step i {
  font-size: 1.8rem;
  color: #f8e4ee;
  display: block;
  margin-bottom: 0.65rem;
}

body.home-modern .hm-step h5 {
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.hm-form-card {
  background: #fff;
  border-radius: calc(var(--radius) + 0.25rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}

.hm-form-card h4 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.35rem;
  color: var(--ink);
}

.hm-form-card .form-group {
  margin-bottom: 0.85rem;
}

.hm-form-card .form-control,
.hm-form-card select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  appearance: none;
}

.hm-form-card .form-control:focus,
.hm-form-card select:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(152, 100, 154, 0.15);
}

.hm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.hm-form-card button[type="submit"] {
  width: 100%;
  min-height: 3.15rem;
  border: 0;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 0.35rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 24px rgba(152, 100, 154, 0.3);
}

.hm-form-card button[type="submit"]:hover {
  background: var(--gradient-rich);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(152, 100, 154, 0.4);
}

/* ========== CHOOSE US ========== */
.hm-choose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.hm-choose-media {
  background-size: cover;
  background-position: center;
  min-height: 360px;
  position: relative;
}

.hm-choose-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 40%, rgba(20, 36, 43, 0.08));
}

.hm-choose-body {
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 90% 10%, rgba(243, 232, 243, 0.9), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(253, 230, 215, 0.85), transparent 40%),
    var(--surface);
  padding: clamp(2.5rem, 6vw, 4.5rem);
}

.hm-choose-body .hm-title {
  max-width: 14ch;
}

.hm-checklist {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.hm-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.45;
}

.hm-checklist img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========== GALLERY ========== */
.hm-gallery {
  background: #fff;
}

.hm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hm-gal-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-2);
}

.hm-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.hm-gal-item:hover img {
  transform: scale(1.06);
}

.hm-gal-item .info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(160deg, rgba(122, 74, 125, 0.72), rgba(152, 100, 154, 0.75));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  text-align: center;
  padding: 1rem;
}

.hm-gal-item:hover .info {
  opacity: 1;
}

.hm-gal-item .info h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.hm-gal-item .info a.item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand-deep);
}

/* ========== TESTIMONIALS — dark panel + solid pink hover (ref) ========== */
.hm-testimonials {
  --hm-t-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hm-t-hot: #f04a8d;
  --hm-t-card: #2a2d5a;
  --hm-t-deep: #15183a;
  background: linear-gradient(180deg, #f8f2f7 0%, #f3ebf1 100%);
  color: #fff;
  overflow: visible;
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hm-testimonials .hm-container {
  position: relative;
  z-index: 1;
}

/* Rounded dark shell with map dots */
.hm-t-panel {
  position: relative;
  overflow: hidden;
  border-radius: clamp(1.5rem, 3vw, 2.25rem);
  padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1.25rem, 3.5vw, 2.75rem)
    clamp(1.75rem, 3.5vw, 2.75rem);
  background:
    radial-gradient(ellipse 80% 60% at 15% 25%, rgba(240, 74, 141, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 55% at 90% 80%, rgba(152, 100, 154, 0.18), transparent 50%),
    linear-gradient(160deg, #1a1d45 0%, #15183a 48%, #1c1540 100%);
  box-shadow: 0 28px 60px rgba(30, 20, 50, 0.18);
}

.hm-t-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 20%, transparent 78%);
}

.hm-t-panel > * {
  position: relative;
  z-index: 1;
}

.hm-t-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

body.home-modern .hm-t-heading .hm-eyebrow {
  color: var(--hm-t-hot);
}

body.home-modern .hm-t-heading .hm-eyebrow::before {
  background: var(--hm-t-hot);
}

body.home-modern .hm-t-heading .hm-title {
  color: #ffffff !important;
  max-width: 14ch;
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.15;
}

body.home-modern .hm-t-heading .hm-title em {
  font-style: normal;
  color: var(--hm-t-hot);
}

/* Google rating pill */
.hm-t-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem 0.65rem 0.75rem;
  background: rgba(20, 24, 55, 0.55);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--hm-t-ease), box-shadow 0.4s var(--hm-t-ease);
}

.hm-t-rating:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.hm-t-glogo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hm-t-rating-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

body.home-modern .hm-t-rating-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95) !important;
  white-space: nowrap;
  line-height: 1.2;
}

body.home-modern .hm-t-rating-label strong {
  font-weight: 800;
  color: #fff !important;
  margin-left: 0.15rem;
}

.hm-t-stars {
  display: flex;
  gap: 0.12rem;
  color: #fff;
  font-size: 0.62rem;
  line-height: 1;
}

.hm-t-faces {
  display: flex;
  align-items: center;
  padding-left: 0.35rem;
}

.hm-t-face {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  overflow: hidden;
  background: #fff;
  margin-left: -10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hm-t-faces .hm-t-face:first-child {
  margin-left: 0;
}

.hm-t-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hm-t-face:first-child img {
  object-fit: contain;
  padding: 4px;
}

.hm-t-face-more {
  display: grid;
  place-items: center;
  background: var(--hm-t-hot);
  border-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Cards — dark default, solid hot pink hover */
.hm-t-card {
  position: relative;
  background: var(--hm-t-card);
  border-radius: 1.35rem;
  padding: 1.35rem 1.35rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(0);
  transition:
    transform 0.5s var(--hm-t-ease),
    background 0.45s var(--hm-t-ease),
    box-shadow 0.5s var(--hm-t-ease),
    border-color 0.35s ease;
}

.hm-t-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.55s var(--hm-t-ease);
  pointer-events: none;
}

.hm-t-card:hover,
.hm-t-card:focus-within {
  transform: translateY(-10px);
  background: var(--hm-t-hot);
  border-color: transparent;
  box-shadow: 0 26px 48px rgba(240, 74, 141, 0.4);
}

.hm-t-card:hover::after,
.hm-t-card:focus-within::after {
  opacity: 1;
  transform: scale(1.25);
}

.hm-t-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.35s ease;
}

.hm-t-card:hover .hm-t-card-head {
  border-bottom-color: rgba(255, 255, 255, 0.28);
}

.hm-t-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.hm-t-author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  transition: transform 0.45s var(--hm-t-ease), border-color 0.35s ease;
}

.hm-t-card:hover .hm-t-author-img {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.85);
}

body.home-modern .hm-t-author-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  display: block;
  max-height: none;
}

body.home-modern .hm-t-author-info h5 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 0.12rem;
  line-height: 1.25;
}

body.home-modern .hm-t-author-info span {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72) !important;
}

.hm-t-quote-icon {
  flex-shrink: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.55rem;
  line-height: 1;
  margin: 0;
  opacity: 0.95;
  transition: transform 0.5s var(--hm-t-ease), opacity 0.35s ease;
}

.hm-t-card:hover .hm-t-quote-icon {
  transform: scale(1.12) rotate(-6deg);
  opacity: 1;
}

.hm-t-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

body.home-modern .hm-t-card-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.4;
  transition: transform 0.45s var(--hm-t-ease);
}

.hm-t-card:hover .hm-t-card-title {
  transform: translateY(-2px);
}

body.home-modern .hm-t-card-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82) !important;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.35s ease;
}

.hm-t-card:hover .hm-t-card-text {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Dots — ring active (reference) */
body.home-modern .hm-testimonials .owl-carousel .owl-nav {
  display: none !important;
}

body.home-modern .hm-testimonials .owl-carousel .owl-dots {
  margin-top: 1.5rem;
  text-align: center;
}

body.home-modern .hm-testimonials .owl-carousel .owl-dot {
  outline: none;
}

body.home-modern .hm-testimonials .owl-carousel .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: inline-block;
  box-shadow: none;
  border: 0;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

body.home-modern .hm-testimonials .owl-carousel .owl-dot.active span {
  width: 8px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .hm-t-top {
    flex-direction: column;
    align-items: flex-start;
  }

  body.home-modern .hm-t-heading .hm-title {
    max-width: 18ch;
  }
}

@media (max-width: 640px) {
  .hm-t-rating {
    width: 100%;
    border-radius: 1.15rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hm-t-faces {
    width: 100%;
    padding-left: 0;
    padding-top: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-t-card,
  .hm-t-quote-icon,
  .hm-t-card-title,
  .hm-t-author-img,
  .hm-t-rating {
    transition-duration: 0.01ms !important;
  }
}

/* ========== FOOTER ========== */
.hm-footer {
  --footer-ease: cubic-bezier(0.22, 1, 0.36, 1);
  color: rgba(255, 255, 255, 0.88);
  background: #1a1320;
  position: relative;
  overflow: hidden;
}

/* ---- Top visual CTA band ---- */
.hm-footer-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
}

.hm-footer-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hm-footer-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  filter: saturate(0.95);
}

.hm-footer-cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(28, 16, 35, 0.94) 0%, rgba(74, 42, 88, 0.82) 48%, rgba(240, 74, 141, 0.45) 100%),
    linear-gradient(180deg, rgba(20, 12, 28, 0.2) 0%, rgba(20, 12, 28, 0.55) 100%);
}

.hm-footer-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

body.home-modern .hm-footer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f8c8db !important;
}

body.home-modern .hm-footer-eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  border-radius: 999px;
  background: #f04a8d;
}

body.home-modern .hm-footer-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fff !important;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

body.home-modern .hm-footer-cta-copy p {
  color: rgba(255, 255, 255, 0.86) !important;
  margin: 0 0 1.35rem;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.65;
}

.hm-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hm-btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.hm-btn-ghost-light:hover {
  background: #fff;
  color: var(--brand-deep);
  border-color: #fff;
}

/* Overlapping related photos — images must fill frames edge-to-edge */
.hm-footer-cta-photos {
  position: relative;
  min-height: 300px;
  max-width: 420px;
  width: 100%;
  margin-left: auto;
}

.hm-footer-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 3px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 48px rgba(12, 6, 18, 0.4);
  background: #1e1428;
  display: block;
}

/* Beat body.home-modern img { height: auto } so frames fill fully */
body.home-modern .hm-footer-cta-photos .hm-footer-photo img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.7s var(--footer-ease);
}

body.home-modern .hm-footer-cta-photos .hm-footer-photo:hover img {
  transform: scale(1.05);
}

/* Tall main frame (right) */
.hm-footer-photo--main {
  width: 72%;
  margin-left: auto;
  aspect-ratio: 3 / 4;
  min-height: 260px;
}

/* Side square frame (left) */
.hm-footer-photo--side {
  position: absolute;
  left: 0;
  bottom: 10%;
  width: 48%;
  aspect-ratio: 1 / 1;
  min-height: 150px;
  z-index: 2;
}

/* Small circular frame */
.hm-footer-photo--tiny {
  position: absolute;
  left: 36%;
  bottom: -8%;
  width: 92px;
  height: 92px;
  min-height: 92px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  z-index: 3;
  background: #fff;
  border: 3px solid #fff;
  padding: 0;
}

body.home-modern .hm-footer-cta-photos .hm-footer-photo--tiny img {
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 50%;
}

@media (max-width: 640px) {
  .hm-footer-cta-photos {
    min-height: 240px;
    max-width: 320px;
  }

  .hm-footer-photo--main {
    min-height: 210px;
  }

  .hm-footer-photo--tiny {
    width: 72px;
    height: 72px;
    min-height: 72px;
  }
}

/* ---- Main columns ---- */
.hm-footer-body {
  position: relative;
  background:
    radial-gradient(circle at 12% 0%, rgba(152, 100, 154, 0.22), transparent 42%),
    radial-gradient(circle at 92% 100%, rgba(240, 74, 141, 0.12), transparent 40%),
    linear-gradient(180deg, #24182b 0%, #18101c 100%);
  padding: clamp(3rem, 6vw, 4.25rem) 0 2rem;
}

.hm-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.95fr 1.25fr;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.hm-footer-logo {
  display: inline-flex;
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.45rem 0.7rem;
  margin-bottom: 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s var(--footer-ease);
}

.hm-footer-logo:hover {
  transform: translateY(-3px);
}

.hm-footer-logo img {
  height: 56px;
  width: auto;
  display: block;
}

body.home-modern .hm-footer-tagline {
  color: #f3c5d8 !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

body.home-modern .hm-footer-brand > p:not(.hm-footer-tagline) {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.94rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  max-width: 36ch;
}

.hm-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hm-footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  transition:
    transform 0.35s var(--footer-ease),
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.hm-footer-social a:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #f04a8d 0%, #98649a 100%);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(240, 74, 141, 0.35);
  color: #fff;
}

body.home-modern .hm-footer-col h4 {
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 800;
  margin: 0 0 1.15rem;
  position: relative;
  padding-bottom: 0.7rem;
}

body.home-modern .hm-footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f04a8d, #98649a);
}

.hm-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hm-footer-links li {
  margin-bottom: 0.5rem;
}

.hm-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.hm-footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(243, 197, 216, 0.45);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hm-footer-links a:hover {
  color: #ffe0ee;
  transform: translateX(3px);
}

.hm-footer-links a:hover::before {
  background: #f04a8d;
  transform: scale(1.2);
}

/* Contact place card */
.hm-footer-place {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  transition: background 0.35s ease, transform 0.35s var(--footer-ease);
}

.hm-footer-place:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hm-footer-place-img {
  width: 92px;
  height: 92px;
  border-radius: 0.85rem;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #2a1a30;
}

body.home-modern .hm-footer-place-img img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

body.home-modern .hm-footer-place strong {
  display: block;
  color: #fff !important;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

body.home-modern .hm-footer-place p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75) !important;
}

.hm-footer-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.hm-footer-meta li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.hm-footer-meta-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(240, 74, 141, 0.35), rgba(152, 100, 154, 0.35));
  color: #ffd6e7;
  font-size: 0.9rem;
}

body.home-modern .hm-footer-meta-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55) !important;
  margin-bottom: 0.1rem;
}

body.home-modern .hm-footer-meta a {
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
}

body.home-modern .hm-footer-meta a:hover {
  color: #ffd0e4 !important;
}

/* Image mosaic strip — keep subjects/signage fully in frame */
.hm-footer-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.hm-footer-mosaic a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  background: #24182c;
}

/* Need higher specificity than body.home-modern img { height: auto } */
body.home-modern .hm-footer-mosaic img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.55s var(--footer-ease);
  transform-origin: center center;
}

/* Tall portrait (about1) — lock crop to top so signboard stays visible */
body.home-modern .hm-footer-mosaic a.hm-footer-mosaic-top img {
  object-position: top center;
}

.hm-footer-mosaic a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(152, 100, 154, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hm-footer-mosaic a:hover img {
  transform: scale(1.04);
}

.hm-footer-mosaic a:hover::after {
  opacity: 1;
}

/* Bottom bar */
.hm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
  padding: 1.1rem 0;
}

.hm-footer-bottom .hm-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

body.home-modern .hm-footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68) !important;
}

body.home-modern .hm-footer-bottom-note {
  color: rgba(243, 197, 216, 0.9) !important;
  font-weight: 700;
}

/* WhatsApp float polish */
body.home-modern .hm-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease);
  padding: 0;
  /* WhatsApp green kept for recognition */
}

body.home-modern .hm-wa:hover {
  transform: scale(1.08);
}

body.home-modern .hm-wa img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ========== SPECIALIZED SERVICES (icon cards + hover image) ========== */
.hm-services {
  background:
    radial-gradient(circle at 50% 0%, rgba(243, 232, 243, 0.7), transparent 50%),
    linear-gradient(180deg, #faf8fc 0%, #ffffff 55%, #f7f4fb 100%);
}

.hm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.hm-service-card {
  --hm-svc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 270px;
  padding: 1.85rem 1.55rem 1.55rem;
  background: #ffffff;
  border-radius: 1.35rem;
  border: 1px solid rgba(152, 100, 154, 0.08);
  box-shadow: 0 14px 34px rgba(35, 54, 69, 0.06);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transform: translateY(0) scale(1);
  transition:
    transform 0.55s var(--hm-svc-ease),
    box-shadow 0.55s var(--hm-svc-ease),
    border-color 0.4s ease,
    background-color 0.4s ease;
}

/* Soft inner highlight line */
.hm-service-card > .hm-svc-shine {
  display: none;
}

/* Image layer — clip + scale reveal */
.hm-svc-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(100% 0 0 0 round 1.35rem);
  transform: scale(1.1);
  transition:
    opacity 0.4s ease,
    clip-path 0.75s var(--hm-svc-ease),
    transform 0.85s var(--hm-svc-ease);
}

body.home-modern .hm-svc-bg img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.18);
  transition: transform 1.15s var(--hm-svc-ease);
}

.hm-svc-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(35, 18, 40, 0.55) 0%,
    rgba(90, 45, 95, 0.65) 45%,
    rgba(152, 100, 154, 0.8) 100%
  );
}

/* Shine sweep strip */
.hm-svc-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  z-index: 2;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: skewX(-18deg) translateX(-30%);
  opacity: 0;
  pointer-events: none;
}

.hm-service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 30px 55px rgba(90, 45, 95, 0.24),
    0 0 0 1px rgba(227, 122, 154, 0.18);
  border-color: transparent;
  color: inherit;
  text-decoration: none;
  background: #2d1632;
}

.hm-service-card:hover .hm-svc-bg {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 1.35rem);
  transform: scale(1);
}

.hm-service-card:hover .hm-svc-bg img {
  transform: scale(1.08);
}

.hm-service-card:hover .hm-svc-bg::before {
  opacity: 1;
  animation: hmSvcShine 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hm-svc-icon,
body.home-modern .hm-service-card h4,
body.home-modern .hm-service-card p,
.hm-svc-go {
  position: relative;
  z-index: 2;
}

.hm-svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 0.95rem;
  font-size: 1.35rem;
  color: #e37a9a;
  margin-bottom: 1.1rem;
  line-height: 1;
  background: rgba(227, 122, 154, 0.1);
  transition:
    color 0.4s var(--hm-svc-ease),
    background 0.4s var(--hm-svc-ease),
    transform 0.55s var(--hm-svc-ease),
    box-shadow 0.5s var(--hm-svc-ease);
}

body.home-modern .hm-service-card h4 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 800;
  color: #233645 !important;
  margin: 0 0 0.65rem;
  line-height: 1.3;
  transition:
    color 0.4s var(--hm-svc-ease),
    transform 0.55s var(--hm-svc-ease);
}

body.home-modern .hm-service-card p {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #6b7c88 !important;
  flex: 1;
  transition:
    color 0.45s var(--hm-svc-ease) 0.03s,
    transform 0.55s var(--hm-svc-ease) 0.03s;
}

.hm-svc-go {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: auto;
  background: #e37a9a;
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(20px) scale(0.65);
  transition:
    opacity 0.45s var(--hm-svc-ease) 0.1s,
    transform 0.6s var(--hm-svc-ease) 0.1s,
    background 0.35s ease,
    box-shadow 0.45s ease;
  box-shadow: 0 8px 18px rgba(227, 122, 154, 0.35);
}

.hm-svc-go i {
  transform: rotate(-45deg);
  transition: transform 0.45s var(--hm-svc-ease);
}

.hm-service-card:hover .hm-svc-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

body.home-modern .hm-service-card:hover h4 {
  color: #ffffff !important;
  transform: translateY(-4px);
}

body.home-modern .hm-service-card:hover p {
  color: rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-2px);
}

.hm-service-card:hover .hm-svc-go {
  opacity: 1;
  transform: translateY(0) scale(1);
  background: linear-gradient(135deg, #f0a0b5 0%, #e37a9a 55%, #c45c82 100%);
  box-shadow: 0 14px 28px rgba(227, 122, 154, 0.48);
}

.hm-service-card:hover .hm-svc-go i {
  transform: rotate(-45deg) translate(1px, -1px);
}

@keyframes hmSvcShine {
  0% {
    opacity: 0;
    transform: skewX(-18deg) translateX(-160%);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: skewX(-18deg) translateX(380%);
  }
}

/* ========== IVF JOURNEY ========== */
.hm-journey {
  background: var(--white);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hm-journey-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
}

.hm-journey-media {
  position: relative;
  line-height: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

/* Collage layout like reference: L-cut main + inset + badge */
.hm-journey-collage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1.08;
}

.hm-journey-main {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 1.85rem;
  background: #f3ebe8;
  box-shadow: 0 22px 50px rgba(122, 74, 125, 0.14);
  /* L-shaped cutout bottom-right for inset */
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 58%,
    54% 58%,
    54% 100%,
    0% 100%
  );
}

body.home-modern .hm-journey-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  max-height: none;
  transition: transform 0.9s var(--ease);
}

.hm-journey-collage:hover .hm-journey-main img {
  transform: scale(1.04);
}

/* Soft diagonal light on top-right (reference) */
.hm-journey-shine {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 42%;
  background: linear-gradient(
    215deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  pointer-events: none;
  z-index: 1;
}

/* Decorative accent circle */
.hm-journey-accent-dot {
  position: absolute;
  top: 28%;
  right: 18%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e37a9a 0%, #c45c82 100%);
  box-shadow: 0 4px 12px rgba(196, 92, 130, 0.4);
  z-index: 2;
  pointer-events: none;
}

/* Experience badge — top left */
.hm-journey-exp {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  width: min(42%, 148px);
  padding: 0.95rem 0.9rem 1rem;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, #e37a9a 0%, #c45c82 55%, #b14d74 100%);
  box-shadow: 0 12px 28px rgba(177, 77, 116, 0.35);
  line-height: 1.25;
}

.hm-journey-exp-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.9rem;
}

body.home-modern .hm-journey-exp p {
  margin: 0;
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

body.home-modern .hm-journey-exp strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  margin-bottom: 0.1rem;
}

/* Inset image in cutout */
.hm-journey-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 42%;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #f7ecef;
  box-shadow: 0 16px 36px rgba(122, 74, 125, 0.16);
  border: 6px solid #fff;
  z-index: 2;
}

body.home-modern .hm-journey-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  max-height: none;
  transition: transform 0.9s var(--ease);
}

.hm-journey-collage:hover .hm-journey-inset img {
  transform: scale(1.05);
}

.hm-journey-steps {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.hm-journey-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid rgba(152, 100, 154, 0.1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hm-journey-steps li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.hm-journey-steps .num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand);
  min-width: 2rem;
  line-height: 1.2;
}

body.home-modern .hm-journey-steps h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink) !important;
  margin: 0 0 0.25rem;
}

body.home-modern .hm-journey-steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted) !important;
  line-height: 1.5;
}

/* ========== STATS ========== */
.hm-stats {
  background: var(--gradient-rich);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  position: relative;
  overflow: hidden;
}

.hm-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(227, 185, 202, 0.3), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(253, 230, 215, 0.18), transparent 35%);
  pointer-events: none;
}

.hm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

body.home-modern .hm-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: #ffffff !important;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

body.home-modern .hm-stat span {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88) !important;
}

body.home-modern .hm-stats-note {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 1.5rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65) !important;
}

/* ========== VIDEOS — full-bleed cinema ========== */
.hm-videos {
  background: #ffffff;
  padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}

.hm-videos-head {
  text-align: center;
  padding: clamp(2.75rem, 5vw, 4rem) 0 1.75rem;
}

body.home-modern .hm-videos-head .hm-eyebrow {
  color: var(--brand);
  justify-content: center;
}

body.home-modern .hm-videos-head .hm-eyebrow::before {
  background: var(--brand);
}

body.home-modern .hm-videos-head .hm-title {
  color: var(--ink) !important;
  max-width: none;
  margin: 0 auto;
}

/* Ultra-wide full-bleed stage */
.hm-video-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 280px;
  max-height: min(72vh, 720px);
  background: #f3eef4;
}

.hm-video-stage-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

.hm-video-stage-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.2s var(--ease);
}

.hm-video-stage-link:hover img {
  transform: scale(1.04);
}

.hm-video-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 40%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Centered minimal play — reference style */
.hm-cinema-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.92);
  color: #1a1208;
  font-size: 1.15rem;
  box-shadow:
    0 0 0 10px rgba(212, 175, 55, 0.18),
    0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease), background 0.35s var(--ease), box-shadow 0.4s var(--ease);
}

.hm-cinema-play i {
  margin-left: 3px;
}

.hm-video-stage-link:hover .hm-cinema-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #e8c547;
  box-shadow:
    0 0 0 14px rgba(212, 175, 55, 0.22),
    0 16px 48px rgba(0, 0, 0, 0.4);
}

/* Filmstrip — modern full-image tiles */
.hm-video-filmstrip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  padding: 1.5rem 0 0.35rem;
}

.hm-film-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  cursor: pointer;
  background: #2a1a2d;
  font-family: var(--font-body);
  box-shadow: 0 12px 28px rgba(35, 54, 69, 0.1);
  transform: translateY(0) scale(1);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

body.home-modern .hm-film-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
  filter: brightness(0.92);
}

.hm-film-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.65rem;
  padding: 0.9rem 0.85rem;
  background: linear-gradient(
    180deg,
    rgba(20, 12, 24, 0.05) 0%,
    rgba(20, 12, 24, 0.25) 40%,
    rgba(35, 18, 42, 0.88) 100%
  );
  transition: background 0.4s ease;
}

.hm-film-overlay > i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.7rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease, opacity 0.35s ease;
}

.hm-film-overlay > i::before {
  margin-left: 2px;
}

body.home-modern .hm-film-label {
  flex: 1;
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff !important;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  padding-bottom: 0.15rem;
}

.hm-film-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 40px rgba(90, 45, 95, 0.22);
}

.hm-film-item:hover img {
  transform: scale(1.12);
  filter: brightness(1);
}

.hm-film-item:hover .hm-film-overlay > i {
  opacity: 1;
  transform: scale(1.08);
  background: linear-gradient(135deg, #f0a0b5 0%, #e37a9a 100%);
}

.hm-film-item.is-active {
  box-shadow:
    0 0 0 3px rgba(152, 100, 154, 0.35),
    0 20px 40px rgba(152, 100, 154, 0.2);
  transform: translateY(-4px);
}

.hm-film-item.is-active img {
  transform: scale(1.05);
  filter: brightness(1.02);
}

.hm-film-item.is-active .hm-film-overlay {
  background: linear-gradient(
    180deg,
    rgba(90, 45, 95, 0.1) 0%,
    rgba(90, 45, 95, 0.35) 45%,
    rgba(90, 45, 95, 0.92) 100%
  );
}

.hm-film-item.is-active .hm-film-overlay > i {
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(135deg, #f0a0b5 0%, #c45c82 100%);
  box-shadow: 0 8px 20px rgba(196, 92, 130, 0.45);
}

@media (max-width: 991px) {
  .hm-video-filmstrip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .hm-video-filmstrip {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
  }

  .hm-film-item {
    flex: 0 0 min(70vw, 220px);
    scroll-snap-align: start;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .hm-menu > li > a {
    padding: 0.55rem 0.55rem;
    font-size: 0.86rem;
  }

  .hm-nav-cta span {
    display: none;
  }

  .hm-why-grid,
  .hm-doctors-grid,
  .hm-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hm-footer-cta-inner {
    grid-template-columns: 1fr;
  }

  .hm-footer-cta-photos {
    margin: 0 auto;
    max-width: 360px;
    min-height: 230px;
  }

  .hm-footer-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }

  .hm-journey-grid {
    grid-template-columns: 1fr;
  }

  .hm-journey-collage {
    max-width: 440px;
  }

  .hm-journey-media {
    max-width: 100%;
  }

  .hm-video-stage {
    aspect-ratio: 16 / 9;
    max-height: none;
  }

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

  .hm-intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hm-intro-portrait {
    order: -1;
  }

  .hm-intro-meta {
    text-align: left;
  }
}

@media (max-width: 991px) {
  .hm-nav-toggle {
    display: grid;
    place-items: center;
  }

  .hm-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    max-height: min(70vh, 520px);
    overflow: auto;
  }

  .hm-header.is-open .hm-menu {
    display: flex;
  }

  .hm-menu > li > a {
    border-radius: 0.65rem;
  }

  .hm-menu .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    min-width: 0;
    padding: 0 0 0.35rem 0.85rem;
    background: var(--surface);
    border-radius: 0.65rem;
    margin-top: 0.25rem;
  }

  .hm-menu > li.open > .dropdown-menu,
  .hm-menu > li:hover > .dropdown-menu {
    display: block;
  }

  .hm-nav-cta {
    display: none;
  }

  .hm-about-grid,
  .hm-consult-grid,
  .hm-choose {
    grid-template-columns: 1fr;
  }

  .hm-choose-media {
    min-height: 280px;
  }

  .hm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  body.home-modern .hm-footer-cta-title {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hm-topbar-links {
    display: none;
  }

  .hm-topbar .hm-container {
    justify-content: center;
    text-align: center;
  }

  .hm-brand img {
    height: 48px;
  }

  .hm-why-grid,
  .hm-doctors-grid,
  .hm-services-grid,
  .hm-gallery-grid,
  .hm-footer-grid,
  .hm-form-row,
  .hm-stats-grid {
    grid-template-columns: 1fr;
  }

  .hm-footer-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-footer-photo--tiny {
    width: 72px;
    height: 72px;
  }

  .hm-footer-cta-photos {
    max-width: 300px;
    min-height: 200px;
  }

  .hm-video-stage {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }

  .hm-cinema-play {
    width: 56px;
    height: 56px;
    font-size: 1rem;
  }

  .hm-hero {
    min-height: min(88vh, 700px);
  }

  body.home-modern .hm-hero-content {
    max-width: none;
    align-items: flex-start;
    text-align: left;
  }

  .hm-section-head .hm-title,
  .hm-title {
    max-width: none;
  }
}

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