/**
 * Homepage hero — women-centered care visual
 *
 * @package Pink_Medical_Doctor
 */

@keyframes pmdHeroGradientShift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-1.5%, 1.5%) scale(1.02);
    opacity: 0.96;
  }
}

@keyframes pmdHeroBlob1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18px, -14px) scale(1.04);
  }
}

@keyframes pmdHeroBlob2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-14px, 12px) scale(0.97);
  }
}

@keyframes pmdHeroCtaGlowOpacity {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.65;
  }
}

@keyframes pmdHeroFrameGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.85;
  }
}

@keyframes pmdHeroEyebrowPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* —— Section shell —— */
.pmd-hero--v2 {
  position: relative;
  isolation: isolate;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4.5rem, 8vw, 6rem);
  overflow: hidden;
  background: var(--pmd-bg);
}

.pmd-hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint size style;
}

.pmd-hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 82% 38%, rgba(247, 183, 205, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 45% 40% at 12% 72%, rgba(242, 214, 225, 0.35) 0%, transparent 55%),
    linear-gradient(155deg, var(--pmd-bg) 0%, var(--pmd-bg-secondary) 50%, var(--pmd-ivory) 100%);
  transform: none;
  animation: none;
  will-change: auto;
}

.pmd-hero__blob {
  position: absolute;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  pointer-events: none;
  display: none;
}

.pmd-hero__blob--1 {
  width: clamp(180px, 24vw, 320px);
  height: clamp(180px, 24vw, 320px);
  top: 4%;
  inset-inline-end: -4%;
  background: linear-gradient(135deg, rgba(247, 183, 205, 0.35), rgba(253, 240, 245, 0.5));
  opacity: 0.5;
  animation: none;
  transform: none;
}

.pmd-hero__blob--2 {
  width: clamp(140px, 18vw, 220px);
  height: clamp(140px, 18vw, 220px);
  bottom: 18%;
  inset-inline-start: -6%;
  background: linear-gradient(160deg, rgba(216, 185, 138, 0.2), rgba(242, 214, 225, 0.4));
  opacity: 0.4;
  animation: none;
  transform: none;
}

.pmd-hero__container {
  position: relative;
  z-index: 2;
}

.pmd-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

/* —— Content —— */
.pmd-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.9rem 0.35rem 0.65rem;
  font-size: var(--pmd-text-sm);
  font-weight: 700;
  color: var(--pmd-primary);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--pmd-border);
  border-radius: 999px;
}

.pmd-hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pmd-primary);
  flex-shrink: 0;
  animation: pmdHeroEyebrowPulse 3s ease-in-out infinite;
}

.pmd-hero__title {
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 0.75rem;
  color: var(--pmd-text);
  letter-spacing: -0.02em;
}

.pmd-hero__subtitle {
  display: block;
  margin-top: 0.4rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--pmd-mauve);
  line-height: 1.4;
}

.pmd-hero__lead {
  margin: 0 0 0.85rem;
  max-width: 34rem;
  font-size: var(--pmd-text-base);
  line-height: 1.85;
  color: var(--pmd-mauve);
}

.pmd-hero__values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pmd-dusty);
  line-height: 1.5;
}

.pmd-hero__values span + span::before {
  content: "·";
  margin-inline-end: 0.5rem;
  opacity: 0.45;
  font-weight: 400;
}

.pmd-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
}

.pmd-hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pmd-mauve);
  background: none;
  border: none;
  padding: 0;
}

.pmd-hero__trust-item svg {
  flex-shrink: 0;
  color: var(--pmd-primary);
  opacity: 0.9;
}

.pmd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.pmd-hero__cta-wrap {
  position: relative;
  display: inline-block;
}

.pmd-hero__cta-glow {
  display: none;
}

.pmd-hero__cta-primary {
  position: relative;
  z-index: 1;
}

.pmd-hero__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 2;
}

.pmd-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.pmd-hero__curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}

.pmd-hero__curve svg {
  display: block;
  width: 100%;
  height: clamp(48px, 6vw, 80px);
}

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

  .pmd-hero__blob,
  .pmd-hero__gradient {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
