/* ==========================================================
   Landing Dra. Katherine Borja — versión desktop (1440 base)
   Medidas tomadas del Figma (frame Homepage 1:597)
   ========================================================== */

:root {
  --plum: #4a2b45;
  --cream: #f7f5f1;
  --blush: #fbefef;
  --pink: #ffe2e2;
  --lilac: #c5b3d3;
  --line: #eed9d7;
  --slate: #5b6b82;
  --ink: #232323;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--plum);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
strong { font-weight: 500; }

.frame { width: 1440px; margin: 0 auto; position: relative; }

/* ---------- Botón ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 40px; border-radius: 100px;
  background: var(--plum); color: #fff;
  font-size: 18px; line-height: 24px; font-weight: 600; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(74, 43, 69, .28); background: #5a3654; }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .menu a:focus-visible, .acc__q:focus-visible, .carousel__next:focus-visible {
  outline: 3px solid var(--lilac); outline-offset: 3px;
}

/* ---------- Etiquetas (tags) ---------- */
.tag {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px; min-width: 187px; border-radius: 200px;
  font-size: 20px; line-height: 36px; font-weight: 600; color: var(--plum); white-space: nowrap;
}
.tag--pink { background: var(--pink); }
.tag--outline { background: var(--cream); border: 1px solid var(--plum); }

/* ---------- Aparición al hacer scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.done { transition-delay: 0s; transition-duration: .3s; }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blush); height: 106px;
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 8px 28px rgba(74, 43, 69, .09); }
.header__inner {
  width: 1440px; height: 100%; margin: 0 auto; padding: 0 91px;
  display: grid; grid-template-columns: 331px 1fr 233px; align-items: center; column-gap: 63px;
}
.header__logo img { width: 331px; height: 47px; }
.menu { display: flex; justify-content: center; gap: 25px; }
.menu a {
  position: relative; font-size: 18px; line-height: 24px; font-weight: 500; padding: 4px 0;
}
.menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.menu a:hover::after, .menu a.active::after { transform: scaleX(1); }
.header__cta { display: flex; justify-content: flex-end; }

/* ==========================================================
   HERO
   ========================================================== */
.hero { background: var(--blush); padding: 23px 0 45px; }
.hero__inner { position: relative; width: 1240px; height: 695px; margin: 0 auto; }
.hero__card {
  position: absolute; left: 0; top: 0; width: 610px; height: 695px;
  background: url('../assets/images/hero/hero-fondo.svg') no-repeat 0 0 / 100% 100%;
  filter: drop-shadow(0 18px 40px rgba(74, 43, 69, .05));
}
.hero__content {
  position: absolute; left: 60px; top: 77px; width: 489px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
}
.hero__tag {
  display: flex; align-items: center; justify-content: center; width: 489px; margin-bottom: 10px;
  font-size: 18px; line-height: 24px; font-weight: 500; white-space: nowrap;
}
.hero__tag img { margin: 0 14px 0 6px; flex: none; }
.hero__tag img + span { margin: 0; }
.hero__tag span:not(.hero__line) + img { margin: 0 6px 0 4px; }
.hero__line { width: 110px; height: 3px; border-radius: 4px; flex: none; }
.hero__line--l { background: linear-gradient(90deg, #fbf9f7, var(--plum) 86%); transform-origin: right; }
.hero__line--r { background: linear-gradient(90deg, var(--plum) 14%, #fbf9f7); transform-origin: left; }
.hero__title {
  font-size: 63px; line-height: 1.05; font-weight: 300; letter-spacing: -1.89px; width: 489px;
}
.hero__text { font-size: 20px; line-height: 1.5; color: var(--slate); width: 463px; }
.hero__media { position: absolute; left: 620px; top: 0; width: 619px; height: 634px; }
.hero__media img { width: 100%; height: 100%; }

/* Etiquetas de vidrio (glassmorphism) */
.pill { position: absolute; display: flex; align-items: center; gap: 8px; animation: floaty 5s ease-in-out var(--f, 0s) infinite alternate; }
.pill__ico, .pill__label {
  display: flex; align-items: center; justify-content: center;
  height: 50px; background: rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .4);
  -webkit-backdrop-filter: blur(12.5px); backdrop-filter: blur(12.5px);
}
.pill__ico { width: 50px; border-radius: 50%; }
.pill__ico img { width: 24px; height: 24px; }
.pill__label {
  padding: 0 18px; border-radius: 25px; color: #fff; white-space: nowrap;
  font-size: 16px; line-height: 1.05; font-weight: 600; letter-spacing: -.48px;
}
.pill--solo { gap: 0; }
@keyframes floaty { from { transform: translateY(-5px); } to { transform: translateY(5px); } }

/* Indicador de scroll */
.mouse {
  position: absolute; left: 604px; top: 664px; width: 21px; height: 31px;
  border: 2px solid var(--plum); border-radius: 12px;
}
.mouse span {
  position: absolute; left: 50%; top: 7px; width: 4px; height: 6px; margin-left: -2px;
  border-radius: 2px; background: var(--plum); animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* Animación de entrada del hero */
.hero__card { animation: heroCard .9s var(--ease) both; }
.hero__media { animation: heroMedia 1.1s var(--ease) .15s both; }
.hero .pill { animation: pillIn .8s var(--ease) both, floaty 5s ease-in-out var(--f, 0s) infinite alternate; animation-delay: .9s, .9s; }
@keyframes heroCard { from { opacity: 0; transform: translateX(-30px); } }
@keyframes heroMedia { from { opacity: 0; transform: scale(.96) translateY(18px); } }
@keyframes pillIn { from { opacity: 0; } }

/* ==========================================================
   SOBRE MÍ + GINECOLOGÍA
   ========================================================== */
.about { background: var(--cream); padding-bottom: 93px; }
.about__top { padding: 67px 0 0 160px; display: flex; gap: 105px; align-items: flex-start; }
.about__lead { width: 854px; font-size: 30px; line-height: 1.76; font-weight: 700; letter-spacing: -.6px; }
.about__cards { margin-top: 73px; padding-left: 160px; display: flex; gap: 49px; align-items: center; }
.acard {
  width: 255px; border-radius: 23px; background: #fff; padding: 0 12px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 113px;
}
.acard__text { width: 100%; display: flex; flex-direction: column; gap: 13px; }
.acard h3 { font-size: 30px; line-height: 1.25; font-weight: 600; letter-spacing: -.6px; }
.acard p { font-size: 16px; line-height: 1.25; letter-spacing: -.32px; }
.acard, .gcard, .bcard { transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .9s var(--ease) var(--d, 0s); }
.acard.done:hover, .bcard.done:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(74, 43, 69, .1); }

.gine { margin-top: 98px; padding-left: 160px; display: flex; gap: 48px; align-items: flex-start; }
.gine__media { position: relative; width: 536px; height: 544px; border-radius: 24px; overflow: hidden; flex: none; background: var(--pink); }
.gine__media video { width: 100%; height: 100%; object-fit: cover; }
.gine__content { width: 597px; display: flex; flex-direction: column; align-items: flex-start; }
.gine__title { width: 489px; font-size: 50px; line-height: 1.05; font-weight: 300; letter-spacing: -1.5px; }
.gine__text { width: 489px; margin-top: 28px; font-size: 20px; line-height: 1.5; }
.gine__content > .btn { margin-top: 28px; }
.gine__cards { margin-top: 52px; display: flex; gap: 15px; align-items: flex-start; }
.gcard { width: 189px; background: #fff; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 14px; }
.gcard__ico { width: 48px; height: 48px; padding: 10px; border-radius: 24px; background: var(--plum); display: flex; flex: none; }
.gcard__ico img { width: 28px; height: 28px; }
.gcard h3 { font-size: 17px; line-height: 1.5; font-weight: 600; margin-bottom: -10px; }
.gcard p { font-size: 14px; line-height: 1.25; letter-spacing: -.28px; }

/* ==========================================================
   SERVICIOS — cards que suben y se apilan
   ========================================================== */
.services { background: var(--blush); padding: 47px 0 70px; position: relative; }
.services__grid {
  width: 1440px; margin: 0 auto; padding: 0 99px 0 160px;
  display: grid; grid-template-columns: 572px 501px; justify-content: space-between; align-items: start;
}
.services__intro { position: sticky; top: 140px; display: flex; flex-direction: column; align-items: flex-start; gap: 29px; }
.services__title { width: 572px; font-size: 50px; line-height: 1.05; font-weight: 300; letter-spacing: -1.5px; }
.services__list { margin-top: 29px; }
.svc-wrap { height: 330px; }
.svc-wrap--last { height: auto; }
.svc {
  position: sticky; top: 130px; width: 501px; min-height: 202px;
  background: var(--cream); border-radius: 12px; padding: 20px;
  display: flex; align-items: center; gap: 45px;
  box-shadow: 0 -6px 26px rgba(74, 43, 69, .06);
  transform-origin: 50% 0; will-change: transform;
  transform: scale(calc(1 - .06 * var(--p, 0)));
  filter: brightness(calc(1 - .05 * var(--p, 0)));
}
.svc-wrap:nth-child(2) .svc { top: 150px; }
.svc-wrap:nth-child(3) .svc { top: 170px; }
.svc-wrap:nth-child(4) .svc { top: 190px; }
.svc-wrap:nth-child(5) .svc { top: 210px; }
.svc__text { width: 229px; flex: none; display: flex; flex-direction: column; gap: 13px; }
.svc__ico { width: 32px; height: 32px; object-fit: contain; }
.svc h3 { font-size: 20px; line-height: 1.5; font-weight: 600; margin-bottom: -9px; }
.svc p { font-size: 14px; line-height: 1.25; letter-spacing: -.28px; }
.svc__img { width: 187px; height: 162px; border-radius: 10px; object-fit: cover; flex: none; }

/* ==========================================================
   CABECERAS DE SECCIÓN (Beneficios, Proceso, FAQ)
   ========================================================== */
.sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; }
.sec-head h2 { font-size: 40px; line-height: 1.76; font-weight: 700; letter-spacing: -.8px; margin-bottom: -24px; }
.sec-head p { width: 514px; font-size: 20px; line-height: 1.5; margin-top: -24px; }

/* ==========================================================
   BENEFICIOS + PROCESO
   ========================================================== */
.benefits { background: var(--cream); padding: 72px 0 119px; }
.bcards { width: 863px; margin: 53px auto 0; display: flex; gap: 49px; }
.bcard {
  position: relative; width: 255px; height: 363px; background: #fff; border-radius: 23px; text-align: center;
}
.bcard__dot { position: absolute; top: 39px; right: 12px; }
.bcard__ico { position: absolute; left: 76px; top: 72px; width: 104px; height: 91px; object-fit: contain; }
.bcard h3, .bcard p { position: absolute; left: 12px; right: 12px; }
.bcard h3 { top: 175px; font-size: 30px; line-height: 1.25; font-weight: 600; letter-spacing: -.6px; }
.bcard p { top: 263px; font-size: 16px; line-height: 1.25; letter-spacing: -.32px; }
.bcard h3 { height: 75px; }
.sec-head--process { margin-top: 88px; }

/* Línea de tiempo */
.timeline { position: relative; width: 853px; margin: 54px auto 0; }
.timeline__track {
  position: absolute; left: 50%; top: 31px; bottom: 124px; width: 6px; margin-left: -3px;
  border-radius: 3px; background: #d6cbd3;
}
.timeline__fill { position: absolute; inset: 0; border-radius: 3px; background: var(--plum); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step {
  position: relative; height: 369px; display: grid; grid-template-columns: 1fr 63px 1fr; align-items: start;
}
.step:last-child { height: 155px; }
.step__node {
  grid-column: 2; grid-row: 1; width: 63px; height: 63px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; z-index: 2;
  background: #c4b8c1; transform: scale(.64);
  transition: transform .55s var(--ease), background-color .4s, box-shadow .5s;
}
.step__node b { color: #fff; font-size: 24px; font-weight: 600; opacity: 0; transition: opacity .3s; }
.step.on .step__node { background: var(--plum); transform: scale(1); box-shadow: 0 0 26px rgba(74, 43, 69, .45); }
.step.on .step__node b { opacity: 1; }
.step.passed .step__node { box-shadow: none; }
.step__card {
  grid-row: 1; width: 301px; margin-top: 8px; background: #fff; border-radius: 12px; padding: 16px;
  display: flex; flex-direction: column; gap: 12px; min-height: 147px;
  opacity: .3; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.step.on .step__card { opacity: 1; transform: none; }
.step--right .step__card { grid-column: 3; justify-self: start; margin-left: 94px; }
.step--left .step__card { grid-column: 1; justify-self: end; margin-right: 94px; }
.step__card h3 { font-size: 20px; line-height: 1.5; font-weight: 700; }
.step__card p { font-size: 16px; line-height: 1.25; letter-spacing: -.32px; }

/* ==========================================================
   TESTIMONIOS
   ========================================================== */
.testi { background: var(--blush); padding: 82px 0 99px; display: flex; flex-direction: column; align-items: center; }
.testi__title { margin-top: 25px; width: 572px; text-align: center; font-size: 50px; line-height: 1.05; font-weight: 300; letter-spacing: -1.5px; }
.carousel { width: 927px; margin-top: 26px; display: flex; align-items: center; gap: 22px; }
.carousel__viewport {
  width: 848px; flex: none; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 6px 0 24px; margin: -6px 0 -24px;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.tcard {
  position: relative; flex: 0 0 272px; scroll-snap-align: start; min-height: 302px;
  background: #fff; border-radius: 20px; padding: 36px 24px 22px; text-align: center;
  display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(74, 43, 69, .05);
}
.tcard::before {
  content: ''; position: absolute; top: 18px; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lilac), transparent);
}
.tcard__stars { color: #f5b820; font-size: 21px; letter-spacing: 7px; margin-right: -7px; line-height: 1; }
.tcard h3 { margin-top: 18px; font-size: 18px; line-height: 1.3; font-weight: 500; }
.tcard p { margin-top: 14px; font-size: 13px; line-height: 1.5; color: #6b5668; }
.tcard footer {
  margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: center; gap: 10px;
  border-top: 1px solid #f1e6ea;
}
.tcard__who { display: flex; flex-direction: column; text-align: left; order: 2; }
.tcard__who b { font-size: 14px; font-weight: 600; line-height: 1.2; }
.tcard__who small { font-size: 12px; color: #6b5668; }
.tcard__av {
  order: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--lilac); color: var(--plum);
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.carousel__next {
  flex: none; width: 57px; height: 57px; border-radius: 50%; border: 0; background: #fff; color: var(--plum);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(74, 43, 69, .14);
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.carousel__next:hover { transform: scale(1.08); background: var(--plum); color: #fff; }

/* ==========================================================
   PREGUNTAS FRECUENTES + CTA
   ========================================================== */
.faq { background: var(--cream); padding: 109px 0 86px; }
.acc { width: 761px; margin: 30px auto 0; }
.acc__item { background: #fff; border-radius: 18px; margin-bottom: 32px; overflow: hidden; }
.acc__q {
  width: 100%; min-height: 74px; padding: 0 24px; border: 0; background: none; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 20px; line-height: 1.3; font-weight: 500; color: #1d1620;
}
.acc__q i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--plum); transition: transform .4s var(--ease); }
.acc__q i::before, .acc__q i::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: #fff;
  transition: transform .4s var(--ease);
}
.acc__q i::after { transform: rotate(90deg); }
.is-open .acc__q i { transform: rotate(180deg); }
.is-open .acc__q i::after { transform: rotate(0deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 24px 26px; font-size: 20px; line-height: 1.5; color: var(--ink); opacity: 0; transform: translateY(-6px); transition: opacity .4s .05s, transform .4s .05s; }
.is-open .acc__a p { opacity: 1; transform: none; }

.cta { margin-top: 90px; }
.cta__card {
  --p: 0;
  position: relative; width: 1069px; height: 609px; margin: 0 auto; border-radius: 10px; background: #fff;
  box-shadow: 0 7px 29px rgba(100, 100, 111, .2); overflow: hidden;
}
.cta__pic { position: absolute; width: 190px; height: 179px; border-radius: 20px; object-fit: cover; will-change: transform; }
.cta__pic--a { left: 24px; top: 24px; transform: translate(calc(415px * (1 - var(--p))), calc(135px * (1 - var(--p)))) scale(calc(.6 + .4 * var(--p))) rotate(calc(-4deg * (1 - var(--p)))); }
.cta__pic--b { right: 24px; bottom: 24px; transform: translate(calc(-340px * (1 - var(--p))), calc(-46px * (1 - var(--p)))) scale(calc(.6 + .4 * var(--p))) rotate(calc(5deg * (1 - var(--p)))); }
.cta__body { opacity: calc((var(--p) - .5) * 2.2); transform: translateY(calc(26px * (1 - var(--p)))); }
.cta__body .tag { position: absolute; left: 50%; top: 40px; margin-left: -93.5px; }
.cta__body h2 {
  position: absolute; left: 50%; top: 203px; width: 489px; margin-left: -244.5px; text-align: center;
  font-size: 50px; line-height: 1.05; font-weight: 300; letter-spacing: -1.5px;
}
.cta__body h2 strong { font-weight: 600; }
.cta__body .btn { position: absolute; left: 50%; top: 326px; transform: translateX(-50%); }
.cta__body .btn:hover { transform: translateX(-50%) translateY(-2px); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: linear-gradient(180deg, var(--blush), var(--cream)); }
.footer__inner { position: relative; width: 1440px; height: 557px; margin: 0 auto; }
.footer__logo { position: absolute; top: 60px; left: 50%; margin-left: -204.5px; width: 409px; height: 58px; }
.footer__line { position: absolute; left: 50%; width: 972px; margin: 0 0 0 -486px; height: 4px; border: 0; border-radius: 3px; background: var(--line); }
.footer__line:nth-of-type(1) { top: 154px; }
.footer__line:nth-of-type(2) { top: 436px; }
.footer__cols {
  position: absolute; top: 207px; left: 50%; width: 972px; margin-left: -486px; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 367px 1fr; align-items: start; column-gap: 24px;
}
.footer__col h4 { font-size: 20px; line-height: 16px; font-weight: 700; margin-bottom: 8px; padding-top: 2px; }
.footer__col li { font-size: 18px; line-height: 28px; color: var(--ink); }
.footer__col a { transition: color .25s; }
.footer__col a:hover { color: var(--plum); text-decoration: underline; }
.footer__col:last-child { justify-self: end; }
.footer__mid { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.footer__mid p { font-size: 20px; line-height: 1.5; font-weight: 700; }
.footer__copy { position: absolute; top: 476px; left: 0; right: 0; text-align: center; font-size: 20px; line-height: 1.5; }

/* ==========================================================
   ANIMACIONES EXTRA (tomadas del video de Medivra)
   ========================================================== */

/* Texto que se llena de color con el scroll (palabra por palabra) */
.w { opacity: calc(.2 + .8 * var(--t, 1)); }

/* Cards que se llenan con un círculo que crece desde el punto de la esquina */
.acard, .bcard { position: relative; isolation: isolate; overflow: hidden; --dy: 37px; }
.bcard { --dy: 50px; }
.acard::before, .bcard::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--plum);
  clip-path: circle(11px at calc(100% - 23px) var(--dy));
  transition: clip-path .75s var(--ease);
}
.acard:hover::before, .bcard:hover::before { clip-path: circle(165% at calc(100% - 23px) var(--dy)); }
.acard__dot, .bcard__dot { opacity: 0; }
.acard h3, .acard p, .bcard h3, .bcard p { transition: color .45s .05s; }
.acard:hover h3, .acard:hover p, .bcard:hover h3, .bcard:hover p { color: #fff; }
.bcard__ico { transition: filter .45s .05s; }
.bcard:hover .bcard__ico { filter: brightness(0) invert(1); }

/* Pulso en los círculos de las etiquetas de vidrio */
.pill__ico { position: relative; }
.pill__ico::after {
  content: ''; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7); animation: ring 2.6s ease-out infinite; pointer-events: none;
}
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* Líneas del footer que se dibujan */
.draw { transform: scaleX(0); transition: transform 1.3s var(--ease) var(--d, 0s); }
.draw.in { transform: none; }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 32px; bottom: 32px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float__label {
  max-width: 220px; overflow: hidden; white-space: nowrap; padding: 14px 20px; border-radius: 100px;
  background: #fff; color: var(--plum); font-size: 16px; line-height: 1.2; font-weight: 600;
  box-shadow: 0 10px 30px rgba(74, 43, 69, .18);
  transition: max-width .5s var(--ease), padding .5s var(--ease), opacity .4s;
}
.wa-float.compact:not(:hover) .wa-float__label { max-width: 0; padding-left: 0; padding-right: 0; opacity: 0; }
.wa-float__ico {
  position: relative; width: 64px; height: 64px; border-radius: 50%; flex: none;
  background: var(--plum); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(74, 43, 69, .35); transition: transform .3s var(--ease), background-color .3s;
}
.wa-float:hover .wa-float__ico { transform: scale(1.08); background: #5a3654; }
.wa-float__ico::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--plum);
  animation: waPulse 2.4s ease-out infinite; pointer-events: none;
}
@keyframes waPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.55); opacity: 0; } }
.wa-float:focus-visible { outline: 3px solid var(--lilac); outline-offset: 4px; border-radius: 100px; }

/* ==========================================================
   FONDO DE MARCA — líneas del Figma, sutiles, con parallax suave
   ========================================================== */
.hero, .about, .benefits, .testi, .faq { position: relative; }
.hero, .about, .services, .benefits, .testi, .faq { isolation: isolate; }
.bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.bg:not(.bg--still) {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 140px, #000 calc(100% - 140px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 140px, #000 calc(100% - 140px), transparent);
}
.bg--still { position: sticky; inset: 0 auto auto 0; width: 100%; height: 0; overflow: visible; overflow-x: clip; }
.bg__l {
  /* degradado largo y suave (curva, no lineal) para que las puntas se confundan con el fondo */
  --fade: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.04) 8%, rgba(0,0,0,.15) 14%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.65) 26%, rgba(0,0,0,.9) 32%, #000 38%,
    #000 62%, rgba(0,0,0,.9) 68%, rgba(0,0,0,.65) 74%, rgba(0,0,0,.35) 80%, rgba(0,0,0,.15) 86%, rgba(0,0,0,.04) 92%, transparent 100%);
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  transform: translate3d(var(--mx, 0px), var(--sy, 0px), 0) scaleX(var(--fx, 1));
  will-change: transform; transform-origin: 0 0; scale: var(--sc, 1);
  /* el borde de cada mitad se desvanece en vez de cortarse en seco */
  /* y las puntas planas arriba y abajo del dibujo terminan en degradado */
  -webkit-mask-image: var(--clip, none), var(--fade);
  mask-image: var(--clip, none), var(--fade);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.bg__l i {
  display: block; width: 100%; height: 100%;
  background: var(--c, var(--lilac)); opacity: 0;
  -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat;
  transition: opacity 1.6s var(--ease);
}
.bg__l.in i { opacity: var(--o, .45); }
.bg__l--r { left: auto; right: var(--x); transform-origin: 100% 0; }
.bg--light .bg__l { --c: #fff; --o: .75; }

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; }
  .reveal { opacity: 1; transform: none; }
  .svc { transform: none !important; filter: none !important; }
  .cta__pic { transform: none !important; }
  .cta__body { opacity: 1 !important; transform: none !important; }
  .step__card { opacity: 1; transform: none; }
  .w { opacity: 1; }
  .draw { transform: none; }
  .bg__l { transform: none !important; }
}

/* ==========================================================
   MÓVIL Y TABLET (hasta 1023 px) — una sola columna
   ========================================================== */
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  html { scroll-padding-top: 84px; }
  .frame { width: 100%; max-width: 760px; padding: 0 20px; }
  .btn { height: 52px; padding: 0 30px; font-size: 16px; }
  .tag { min-width: 0; padding: 4px 22px; font-size: 16px; line-height: 28px; }

  /* ---------- Header + menú desplegable ---------- */
  .header { height: 68px; }
  .header__inner { width: 100%; padding: 0 16px; display: flex; align-items: center; gap: 10px; }
  .header__logo img { width: 172px; height: auto; }
  .header__cta { margin-left: auto; }
  .header__cta .btn { height: 40px; padding: 0 18px; font-size: 14px; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center; flex: none;
    width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #fff;
    box-shadow: 0 4px 14px rgba(74, 43, 69, .12);
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--plum);
    transition: transform .3s var(--ease), background-color .3s;
  }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .menu-open .nav-toggle span { background: transparent; }
  .menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 6px 20px 16px; background: var(--blush); box-shadow: 0 18px 30px rgba(74, 43, 69, .1);
  }
  .menu-open .menu { display: flex; }
  .menu a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .menu a:last-child { border-bottom: 0; }
  .menu a::after { display: none; }
  .menu a.active { font-weight: 700; }

  /* ---------- Hero ---------- */
  .hero { padding: 12px 0 28px; }
  .hero__inner { width: 100%; max-width: 760px; height: auto; padding: 0 16px; display: flex; flex-direction: column; gap: 14px; }
  .hero__card, .mouse { display: none; }
  .hero__content {
    position: static; width: auto; padding: 30px 22px 32px; gap: 18px; border-radius: 28px; background: #fff;
    box-shadow: 0 18px 40px rgba(74, 43, 69, .06); animation: heroCard .9s var(--ease) both;
  }
  .hero__tag { width: 100%; margin-bottom: 0; font-size: 14px; }
  .hero__tag img { margin: 0 8px 0 4px; }
  .hero__tag span:not(.hero__line) + img { margin: 0 4px 0 6px; }
  .hero__line { width: 44px; }
  .hero__title { width: 100%; font-size: 38px; line-height: 1.08; letter-spacing: -1.1px; }
  .hero__text { width: 100%; font-size: 16px; }
  .hero__content .btn { width: 100%; }
  .hero__media { position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 619 / 634; }
  .hero__media img { border-radius: 28px; object-fit: cover; }
  .pill { --pe: 34px; gap: 6px; }
  .pill__ico, .pill__label { height: var(--pe); }
  .pill__ico { width: var(--pe); }
  .pill__ico img { width: 17px; height: 17px; }
  .pill__label { padding: 0 12px; font-size: 12px; letter-spacing: -.2px; }
  .pill--h1 { left: 36% !important; top: 46% !important; }
  .pill--h2 { left: 12% !important; top: 60% !important; }
  .pill--h3 { left: 32% !important; top: 74% !important; }

  /* ---------- Sobre mí + ginecología ---------- */
  .about { padding-bottom: 56px; }
  .about__top { padding: 44px 0 0; flex-direction: column; gap: 22px; }
  .about__lead { width: 100%; font-size: 22px; line-height: 1.5; letter-spacing: -.4px; }
  .about__cards { margin-top: 30px; padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
  .acard { width: auto; height: auto !important; min-height: 210px; padding: 16px 14px 18px; gap: 0; justify-content: flex-end; border-radius: 20px; --dy: 28px !important; }
  .acard h3 { font-size: 20px; letter-spacing: -.4px; }
  .acard p { font-size: 13px; }
  .acard__text { gap: 8px; }

  .gine { margin-top: 56px; padding-left: 0; flex-direction: column; gap: 28px; }
  .gine__media { width: 100%; height: auto; aspect-ratio: 536 / 544; border-radius: 22px; }
  .gine__content { width: 100%; }
  .gine__title { width: 100%; font-size: 32px; letter-spacing: -1px; }
  .gine__text { width: 100%; margin-top: 18px; font-size: 16px; }
  .gine__content > .btn { margin-top: 22px; width: 100%; }
  .gine__cards { margin-top: 32px; width: 100%; flex-direction: column; gap: 10px; }
  .gcard { width: 100%; height: auto !important; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 4px; align-items: center; padding: 14px; }
  .gcard__ico { grid-row: 1 / 3; }
  .gcard h3 { margin-bottom: 0; align-self: end; }
  .gcard p { align-self: start; font-size: 14px; }
  .gine__media .pill--solo { left: auto !important; right: 12px; top: auto !important; }
  .gine__media .pill--solo:nth-of-type(1) { bottom: 62px; }
  .gine__media .pill--solo:nth-of-type(2) { bottom: 16px; right: 44px; }

  /* ---------- Servicios ---------- */
  .services { padding: 52px 0 56px; }
  .bg--still { position: absolute; inset: 0; width: auto; height: auto; overflow: hidden; }
  .bg:not(.bg--light) .bg__l { --o: .32; }
  .services__grid { width: 100%; max-width: 760px; padding: 0 20px; display: block; }
  .services__intro { position: static; gap: 20px; }
  .services__title { width: 100%; font-size: 32px; letter-spacing: -1px; }
  .services__intro .btn { width: 100%; }
  .services__list { margin-top: 28px; }
  .svc-wrap, .svc-wrap--last { height: auto; margin-bottom: 14px; }
  .svc, .svc-wrap:nth-child(n) .svc {
    position: static; width: 100%; min-height: 0; padding: 14px 14px 20px; flex-direction: column; align-items: stretch; gap: 16px;
    transform: none !important; filter: none !important; box-shadow: 0 8px 26px rgba(74, 43, 69, .06);
  }
  .svc__img { order: -1; width: 100%; height: 200px; border-radius: 10px; }
  .svc__text { width: 100%; padding: 0 6px; }
  .svc h3 { font-size: 20px; }
  .svc p { font-size: 15px; }

  /* ---------- Cabeceras de sección ---------- */
  .sec-head { gap: 18px; padding: 0 20px; }
  .sec-head h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.6px; margin-bottom: 0; }
  .sec-head p { width: 100%; max-width: 520px; margin-top: 0; font-size: 16px; }

  /* ---------- Beneficios + proceso ---------- */
  .benefits { padding: 56px 0 72px; }
  .bcards { width: 100%; max-width: 760px; margin-top: 32px; padding: 0 20px; flex-direction: column; gap: 14px; }
  .bcard {
    width: 100%; height: auto; min-height: 270px; padding: 26px 20px 24px; border-radius: 22px; --dy: 35px !important;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  }
  .bcard__ico, .bcard h3, .bcard p { position: static; }
  .bcard__ico { width: 96px; height: 84px; }
  .bcard h3 { height: auto; font-size: 24px; }
  .bcard p { font-size: 15px; }
  .bcard__dot { top: 24px; }
  .sec-head--process { margin-top: 64px; }

  .timeline { width: 100%; max-width: 760px; margin-top: 32px; padding: 0 20px; }
  .timeline__track { left: 40px; margin-left: -3px; top: 20px; bottom: 130px; }
  .step, .step:last-child { height: auto; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding-bottom: 26px; }
  .step:last-child { padding-bottom: 0; }
  .step__node { grid-column: 1; width: 40px; height: 40px; }
  .step__node b { font-size: 17px; }
  .step--right .step__card, .step--left .step__card { grid-column: 2; justify-self: stretch; width: auto; margin: 0; min-height: 0; padding: 16px; }
  .step__card h3 { font-size: 18px; }
  .step__card p { font-size: 15px; }

  /* ---------- Testimonios ---------- */
  .testi { padding: 56px 0 64px; }
  .testi__title { width: 100%; padding: 0 20px; font-size: 32px; letter-spacing: -1px; }
  .carousel { width: 100%; margin-top: 24px; gap: 0; }
  .carousel__viewport { width: 100%; padding: 6px 20px 24px; scroll-padding: 0 20px; gap: 12px; }
  .tcard { flex: 0 0 82%; max-width: 340px; min-height: 290px; }
  .tcard p { font-size: 14px; }
  .carousel__next { display: none; }

  /* ---------- Preguntas frecuentes + CTA ---------- */
  .faq { padding: 64px 0 56px; }
  .acc { width: 100%; max-width: 760px; margin-top: 28px; padding: 0 20px; }
  .acc__item { margin-bottom: 12px; border-radius: 16px; }
  .acc__q { min-height: 64px; padding: 10px 18px; font-size: 17px; }
  .acc__q i { width: 30px; height: 30px; }
  .acc__a p { padding: 0 18px 20px; font-size: 16px; }

  .cta { margin-top: 52px; padding: 0 16px; }
  .cta__card { width: 100%; max-width: 760px; height: 560px; border-radius: 22px; }
  .cta__pic { width: 124px; height: 116px; border-radius: 16px; transform: none !important; }
  .cta__pic--a { left: 14px; top: 14px; }
  .cta__pic--b { right: 14px; bottom: 14px; }
  .cta__body {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 0 22px;
  }
  .cta__body .tag, .cta__body h2, .cta__body .btn { position: static; margin: 0; }
  .cta__body h2 { width: 100%; font-size: 34px; letter-spacing: -1px; }
  .cta__body .btn, .cta__body .btn:hover { transform: none; }

  /* ---------- Footer ---------- */
  .footer__inner { width: 100%; max-width: 760px; height: auto; padding: 52px 20px 32px; }
  .footer__logo { position: static; display: block; width: 260px; height: auto; margin: 0 auto 28px; }
  .footer__line { position: static; width: 100%; margin: 0; }
  .footer__cols { position: static; width: 100%; margin: 28px 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
  .footer__mid { order: -1; }
  .footer__mid p { font-size: 17px; }
  .footer__col:last-child { justify-self: center; }
  .footer__col h4 { font-size: 18px; margin-bottom: 12px; }
  .footer__col li { font-size: 16px; }
  .footer__copy { position: static; margin-top: 22px; font-size: 14px; opacity: 1; transform: none; }

  /* ---------- WhatsApp flotante ---------- */
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float__ico { width: 56px; height: 56px; }
}
