/* Landing pages: página enfocada en un solo botón de conversión, sin menú.
   Reusa los tokens de marca de global.css (colores, tipografías, --radius). */

.lp-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.lp-body > main {
  flex: 1;
}

.lp-hero {
  padding: clamp(28px, 6vw, 56px) 0 clamp(32px, 6vw, 64px);
}

.lp-wrap {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lp-brand {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(24px, 5vw, 40px);
}
.lp-brand img {
  height: 40px;
  width: auto;
}

.lp-image {
  overflow: hidden;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: var(--tint-strong);
  aspect-ratio: 16 / 10;
}
.lp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-eyebrow {
  display: block;
  margin-bottom: 10px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.lp-title {
  text-align: center;
  font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem);
  line-height: 1.08;
}

.lp-subtitle {
  max-width: 44rem;
  margin: 16px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
}

.lp-price {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.lp-price span {
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--primary);
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 500;
}

.lp-benefits {
  display: grid;
  gap: 14px;
  max-width: 34rem;
  margin: 32px auto 0;
}
.lp-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.0625rem;
}
.lp-benefits .icon {
  flex: none;
  margin-top: 3px;
  color: var(--primary);
}

.lp-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.lp-cta .btn {
  font-size: 1.125rem;
  padding-inline: 2.25rem;
  min-height: 58px;
}
/* Dos botones en la portada (una doctora por sede). */
.lp-cta--dual {
  flex-wrap: wrap;
  gap: 14px;
}
.lp-cta--dual .btn {
  flex: 1 1 280px;
  max-width: 380px;
  padding-inline: 1.25rem;
  font-size: 1.0625rem;
}
/* Fotos de habitaciones y similares: siempre horizontales (recorte centrado), aunque la foto original sea vertical. */
.lp-block__image:not(.lp-block__image--portrait) img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
/* Fotos verticales (doctoras y fotos de bebés/equipo): tamaño contenido, no a todo el ancho. */
.lp-block__image--portrait {
  max-width: 380px;
}

/* Bloques de contenido reordenables (video, texto, beneficios, testimonio, botón). */
.lp-block {
  padding: clamp(36px, 7vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.lp-block--tint {
  background: var(--tint);
}

.lp-block__title {
  max-width: 44rem;
  margin: 0 auto 16px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  line-height: 1.15;
}

.lp-block__text {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-align: center;
}

.lp-video {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 0 auto 20px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
  box-shadow: 0 18px 40px -20px rgba(44, 49, 39, 0.45);
}
.lp-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lp-block__image {
  max-width: 780px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: var(--radius);
}
.lp-block__image img {
  display: block;
  width: 100%;
  height: auto;
}

.lp-benefits--block {
  margin-top: 28px;
}

.lp-testimonio {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 32px -22px rgba(44, 49, 39, 0.35);
  text-align: center;
}
.lp-testimonio__text {
  font-family: var(--serif);
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink);
}
.lp-testimonio__autor {
  display: block;
  margin-top: 16px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9375rem;
}

.lp-testimonio--video {
  max-width: 780px;
  padding: clamp(20px, 3vw, 28px);
}
.lp-testimonio--video .lp-video {
  margin-bottom: 16px;
}
.lp-testimonio--video .lp-testimonio__text {
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: var(--muted);
}

.lp-block__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.lp-block__cta .btn {
  font-size: 1.0625rem;
  padding-inline: 2rem;
  min-height: 54px;
}

.lp-footer {
  padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.8125rem;
}
.lp-footer a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 560px) {
  .lp-image {
    aspect-ratio: 4 / 3;
  }
}

/* Botón flotante de WhatsApp: siempre a un toque mientras la paciente lee la página. */
.lp-wa-flotante {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.lp-wa-flotante:hover,
.lp-wa-flotante:focus-visible {
  transform: scale(1.06);
}
.lp-body:has(.lp-wa-flotante) .lp-footer {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}