/* =========================================================
   LANDING - ATENCIÓN ONLINE
   Salud Integrativa
   ========================================================= */

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.online-hero {
  padding: 56px 0 64px;

  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.58)),
    url("../img/bg-home-acuarela.png") center / cover no-repeat;
}

.online-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 46px;
  align-items: center;
}

.online-hero-copy {
  max-width: 720px;
}

.online-kicker {
  color: var(--lila);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.84rem;
  margin-bottom: 12px;
}

.online-hero-logo {
  width: 74px;
  height: auto;
  display: block;
  margin-bottom: 8px;
}

.online-hero h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  line-height: 1.02;
  margin: 0 0 18px;
}

.online-hero h1 span {
  display: block;
  color: var(--verde-oscuro);
  font-size: 0.46em;
  line-height: 1.15;
  font-style: italic;
  margin-top: 10px;
}

.online-hero-feature {
  width: min(100%, 430px);
  max-height: 170px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  margin: 18px 0 20px;
  box-shadow: var(--sombra);
}

.online-consult-title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: var(--lila-oscuro);
  margin: 0 0 10px;
}

.online-intro {
  font-size: 1.06rem;
  color: #514c63;
  max-width: 690px;
  margin: 0;
}

/* ---------------------------------------------------------
   INDICADORES DEL HERO
   --------------------------------------------------------- */

.online-facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.online-fact {
  padding: 9px 14px;
  border: 1px solid var(--borde);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--lila-oscuro);
  font-size: 0.9rem;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   FOTO DRA. NANCY
   --------------------------------------------------------- */

.online-photo {
  display: flex;
  justify-content: center;
  align-items: end;
  min-height: 510px;
  position: relative;
}

.online-photo::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  max-width: 90%;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95),
    rgba(168, 202, 100, 0.16) 55%,
    transparent 72%
  );
}

.online-photo img {
  width: min(355px, 82%);
  position: relative;
  z-index: 1;

  filter: drop-shadow(0 22px 28px rgba(78, 72, 110, 0.18));
}

/* ---------------------------------------------------------
   CÓMO FUNCIONA
   --------------------------------------------------------- */

.online-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

/* Tarjeta */

.online-step {
  padding: 24px 18px;

  background: rgba(138, 132, 173, 0.14);
  border: 1px solid rgba(138, 132, 173, 0.32);

  border-radius: 20px;

  text-align: center;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.online-step:hover {
  transform: translateY(-3px);
  background: rgba(138, 132, 173, 0.21);
  box-shadow: 0 12px 28px rgba(97, 91, 134, 0.12);
}

/* Círculo del icono */

.online-step-icon {
  width: 70px;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 14px;

  border-radius: 50%;
  background: var(--verde);
}

/* SVG */

.online-step-icon svg {
  width: 42px;
  height: 42px;

  fill: none;
  stroke: #fff;

  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Título */

.online-step b {
  display: block;

  margin-bottom: 8px;

  color: var(--lila-oscuro);

  font-size: 1rem;
}

/* Descripción */

.online-step p {
  margin: 0;

  color: #5f596d;

  line-height: 1.5;
}

/* ---------------------------------------------------------
   BLOQUE DE PRECIO
   Si finalmente eliminamos este bloque del HTML,
   estas reglas también pueden eliminarse.
   --------------------------------------------------------- */

.online-price {
  background: linear-gradient(
    135deg,
    rgba(138, 132, 173, 0.1),
    rgba(168, 202, 100, 0.14)
  );
}

.online-price-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.online-price-value {
  font-family: Georgia, "Times New Roman", serif;

  font-size: 2.2rem;

  color: var(--lila-oscuro);

  white-space: nowrap;
}

/* ---------------------------------------------------------
   FORMULARIO
   --------------------------------------------------------- */

.online-form-grid {
  display: grid;

  grid-template-columns: 0.85fr 1.15fr;

  gap: 38px;

  align-items: start;
}

.online-note {
  font-size: 0.88rem;

  color: #77728a;

  margin-top: 12px;
}

.online-back {
  font-size: 0.88rem;

  color: var(--lila-oscuro);
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 980px) {
  .online-hero-grid,
  .online-form-grid,
  .online-price-box {
    grid-template-columns: 1fr;
  }

  .online-steps {
    grid-template-columns: 1fr 1fr;
  }

  .online-photo {
    min-height: 380px;
  }

  .online-hero-copy {
    max-width: none;
  }
}

/* ---------------------------------------------------------
   MÓVIL
   --------------------------------------------------------- */

@media (max-width: 620px) {
  .online-hero {
    padding-top: 38px;
  }

  .online-steps {
    grid-template-columns: 1fr;
  }

  .online-photo {
    min-height: 320px;
  }

  .online-hero-feature {
    max-height: none;
  }

  .online-fact {
    font-size: 0.84rem;
  }

  .online-step {
    padding: 22px 18px;
  }

  .online-step-icon {
    width: 64px;
    height: 64px;
  }

  .online-step-icon svg {
    width: 38px;
    height: 38px;
  }

  .topbar .nav > .btn {
    white-space: nowrap;
    padding: 10px 16px;
    font-size: 0.88rem;
    line-height: 1.2;
  }
}

/* ---------------------------------------------------------
   CONSENTIMIENTOS Y FOOTER LEGAL
   --------------------------------------------------------- */

.online-consents {
  display: grid;
  gap: 12px;
  margin: 18px 0 20px;
}

.online-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(138, 132, 173, 0.24);
  border-radius: 14px;
  background: rgba(138, 132, 173, 0.08);
  color: #615c73;
  font-size: 0.88rem;
  line-height: 1.45;
}

.online-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--verde);
}

.online-consent a {
  color: var(--lila-oscuro);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.online-footer {
  padding: 24px 0;
}

.online-footer-inner {
  align-items: center;
}

.online-footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.online-footer-info > strong {
  color: var(--lila-oscuro);
  font-size: 1rem;
}

.online-footer-info > span {
  font-size: 0.88rem;
}

.online-footer-legal {
  margin: 9px 0 5px;
}

.online-footer-legal > span {
  opacity: 0.45;
}

.online-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 0.82rem;
}

.legal-modal-box h4 {
  margin: 22px 0 8px;
  color: var(--lila-oscuro);
  font-size: 1rem;
}

@media (max-width: 700px) {
  .online-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .online-footer-info {
    align-items: center;
  }

  .online-footer-legal,
  .online-footer-bottom {
    justify-content: center;
  }
}

.online-info-image {
  max-width: 480px;
  margin: 22px auto 30px;
}

.online-info-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(97, 91, 134, 0.14);
}

.site-header .btn {
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 0.84rem;
}
