/* =================================================================
   IVP HEALTH — LANDING (campo azul cielo, azul del propio software)
   ================================================================ */

.ivp-health-page { --blue: #0b4bff; --navy: #06173d; color: var(--ink); }
.ivp-health-page h1, .ivp-health-page h2 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: .98; }
.ivp-health-page h2 { font-size: var(--h2); max-width: 900px; }
.ivp-health-page h1 em, .ivp-health-page h2 em { color: var(--blue); }
.ivp-health-page .button { background: var(--blue); border-color: var(--blue); color: #fff; }
.ivp-health-page .button:hover { background: var(--navy); border-color: var(--navy); }
.ivp-health-page .button--ghost { background: transparent; border-color: rgba(6, 23, 61, .35); color: var(--navy); }
.ivp-health-page .button--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.ivp-health-page .button--white { background: #fff; border-color: #fff; color: var(--navy); }

.hl-wrap { max-width: calc(var(--container) - 2 * var(--gutter)); margin: 0 auto; }

/* Hero */
.hl-hero, .hl-hero .hl-wrap { display: flow-root; position: relative; z-index: 1; }
.hl-hero { background: var(--sky); color: var(--navy); padding: clamp(28px, 3.4vw, 56px) var(--gutter) 0; }
.hl-hero__copy > * { animation: hero-in .8s var(--ease) both; }
.hl-hero__copy > :nth-child(2) { animation-delay: .1s; }
.ivp-health-page h1 { font-size: clamp(42px, 6vw, 92px); line-height: .96; }
.hl-hero__copy > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 60px; margin-top: 28px; }
.hl-hero__copy p { margin: 0; max-width: 620px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; }
.hl-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hl-stage { --s: .4; --mx: 0; --my: 0; position: relative; z-index: 2; margin-top: clamp(36px, 4vw, 58px); margin-bottom: -110px; perspective: 1900px; }
.hl-stage .win {
    border-radius: clamp(14px, 1.6vw, 24px);
    transform: rotateX(calc((.62 - var(--s)) * 26deg + var(--my) * -1.5deg)) rotateY(calc(var(--mx) * 2.5deg));
    transform-origin: center bottom;
    transition: transform .5s var(--ease);
}

/* Garantías */
.hl-facts { max-width: var(--container); margin: 0 auto; padding: 156px var(--gutter) 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.hl-facts b { display: block; font: 700 clamp(26px, 2.8vw, 40px)/1.05 var(--display); letter-spacing: -.035em; }
.hl-facts span { display: block; margin-top: 6px; color: var(--muted); }

/* Módulos */
.hl-section { padding: var(--section-y) var(--gutter); }
.hl-section--soft { background: var(--soft); }
.hl-sub { margin: 22px 0 0; max-width: 560px; color: var(--muted); font-size: 17px; }
.hl-features { margin-top: clamp(40px, 5vw, 68px); columns: 2; column-gap: 18px; }
.hl-feature { break-inside: avoid; margin-bottom: 18px; padding: clamp(26px, 3vw, 44px); border-radius: 28px; background: #edf4ff; }
.hl-feature:nth-child(1) { background: var(--blue); color: #fff; }
.hl-feature:nth-child(3) { background: var(--navy); color: #fff; }
.hl-feature h3 { margin: 0 0 18px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.hl-feature ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hl-feature li { position: relative; padding-left: 26px; line-height: 1.5; }
.hl-feature li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--blue); }
.hl-feature:nth-child(1) li::before, .hl-feature:nth-child(3) li::before { color: #a9c6ff; }

/* Planes */
.hl-plans { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; }
.hl-plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.6vw, 52px); border-radius: 32px; background: #fff; }
.hl-plan--featured { background: var(--blue); color: #fff; }
.hl-plan__badge { margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 14px; font-weight: 700; }
.hl-plan h3 { margin: 0 0 12px; font-size: clamp(32px, 3.6vw, 54px); font-weight: 700; letter-spacing: -.04em; line-height: .98; }
.hl-plan p { margin: 0; max-width: 440px; font-size: 17px; }
.hl-plan .checklist { flex: 1; align-content: start; margin-bottom: 34px; font-size: 16px; font-weight: 600; }
.hl-plan--featured .checklist li::before { color: #a9c6ff; }

/* CTA */
.hl-cta { background: var(--sky); color: var(--navy); padding: var(--section-y) var(--gutter); }
.hl-cta h2 { font-size: clamp(40px, 5.6vw, 86px); max-width: 1100px; margin-bottom: 36px; }

@media (max-width: 900px) {
    .hl-features { columns: 1; }
    .hl-plans { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
    .hl-stage { margin-right: calc(var(--gutter) * -1); margin-bottom: -60px; }
    .hl-stage .win { width: 170%; border-radius: 14px; transform: none; }
    .hl-facts { grid-template-columns: minmax(0, 1fr); padding-top: 90px; }
    .hl-actions, .hl-actions .button, .hl-plan .button, .hl-cta .button { width: 100%; }
    .hl-cta .button { white-space: normal; }
}
