/* PreMonet landing — diseño 1A "Institucional claro" (docs/design: PreMonet Landing.dc.html).
   Paleta: navy #10243E, verde #0BA47E/#0A7E5E, fondo #F7F9FB, texto #4A5A6A/#5D6A7A,
   ámbar #F5B133, azul #3C7DD9, rosa #E5758A. Tipos ya cargados en base.html.twig. */

.pm-landing {
    background: #F7F9FB;
    color: #10243E;
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.pm-landing a { color: inherit; text-decoration: none; }
.pm-landing a:hover { opacity: .85; }

.pm-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 48px;
}

@keyframes pmFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---------- NAV ---------- */
.pm-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(247, 249, 251, .92);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid #EAEFF4;
}

.pm-nav__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pm-nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 15px;
    color: #42556A;
    font-weight: 500;
}

.pm-nav__cta {
    background: #10243E;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 9px;
    font-weight: 600;
}

.pm-nav__cta:hover { opacity: .92; }

/* ---------- BUTTONS ---------- */
.pm-btn {
    display: inline-block;
    border-radius: 11px;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 28px;
    cursor: pointer;
    border: none;
    transition: opacity .15s ease, transform .15s ease;
}

.pm-btn:hover { opacity: .92; }

.pm-btn--green {
    background: #0BA47E;
    color: #fff;
    box-shadow: 0 12px 28px -10px rgba(11, 164, 126, .6);
}

.pm-btn--navy { background: #10243E; color: #fff; }

.pm-btn--outline {
    color: #10243E;
    border: 1.5px solid #CBD6E0;
    padding: 15px 22px;
    background: transparent;
}

/* ---------- HERO ---------- */
.pm-hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    padding: 64px 0 56px;
    align-items: center;
}

.pm-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E7F6F0;
    color: #0A7E5E;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.pm-hero__badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0BA47E;
}

.pm-hero__title {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 4vw, 56px);
    line-height: 1.05;
    color: #10243E;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.pm-hero__lead {
    font-size: 18px;
    line-height: 1.6;
    color: #4A5A6A;
    max-width: 520px;
    margin-bottom: 32px;
}

.pm-hero__cta-row {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.pm-hero__stats {
    display: flex;
    gap: 28px;
    margin-top: 38px;
    align-items: center;
}

.pm-stat__num {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #10243E;
}

.pm-stat__label { font-size: 13px; color: #5D6A7A; }
.pm-stat__sep { width: 1px; align-self: stretch; background: #DDE5EC; }

/* hero dashboard card */
.pm-herocard {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px -24px rgba(16, 36, 62, .3);
    border: 1px solid #EAEFF4;
    padding: 22px;
    animation: pmFloat 6s ease-in-out infinite;
}

.pm-herocard__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 13px;
    color: #5D6A7A;
}

.pm-herocard__chip {
    font-size: 12px;
    color: #0A7E5E;
    background: #E7F6F0;
    padding: 4px 9px;
    border-radius: 6px;
    font-weight: 600;
}

.pm-herocard__total {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 34px;
    color: #10243E;
    letter-spacing: -1px;
}

.pm-herocard__total small { font-size: 18px; color: #5F7182; }

.pm-herocard__bar {
    height: 8px;
    background: #EEF2F6;
    border-radius: 6px;
    overflow: hidden;
    margin: 18px 0 6px;
    display: flex;
}

.pm-herocard__bar i { display: block; height: 100%; }
.pm-herocard__legend {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #5D6A7A;
    margin-bottom: 20px;
}

.pm-herocard__rows { display: flex; flex-direction: column; gap: 10px; }

.pm-herorow {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F7F9FB;
    border-radius: 11px;
}

.pm-herorow__dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.pm-herorow__mid { flex: 1; min-width: 0; }
.pm-herorow__title { font-size: 14px; font-weight: 600; color: #10243E; }
.pm-herorow__sub { font-size: 12px; color: #5D6A7A; }
.pm-herorow__amt { text-align: right; }
.pm-herorow__amt b { display: block; font-size: 14px; font-weight: 600; color: #10243E; }
.pm-herorow__amt span { font-size: 11px; }

/* ---------- INSURERS ---------- */
.pm-insurers { padding: 0 0 48px; }
.pm-insurers__label {
    text-align: center;
    font-size: 13px;
    color: #8A97A6;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.pm-insurers__logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: .75;
}
.pm-insurers__logos span {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #5A6A7A;
}

/* ---------- PAIN / SOLUTION (navy band) ---------- */
.pm-pain { background: #10243E; color: #fff; padding: 64px 0; }
.pm-pain__h2 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    letter-spacing: -.8px;
    margin-bottom: 12px;
}
.pm-pain__sub {
    text-align: center;
    color: #9DB2C9;
    font-size: 17px;
    max-width: 620px;
    margin: 0 auto 44px;
}
.pm-pain__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.pm-feature {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 26px;
}
.pm-feature__icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(11, 164, 126, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.pm-feature h3 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}
.pm-feature p { color: #9DB2C9; font-size: 15px; line-height: 1.55; }

/* ---------- HOW IT WORKS ---------- */
.pm-steps { padding: 64px 0; }
.pm-steps__h2 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    color: #10243E;
    letter-spacing: -.8px;
    margin-bottom: 44px;
}
.pm-steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pm-step__num {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #0BA47E;
    margin-bottom: 12px;
}
.pm-step h3 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: #10243E;
    margin-bottom: 8px;
}
.pm-step p { font-size: 14px; color: #5A6A7A; line-height: 1.55; }

/* ---------- PRICING ---------- */
.pm-pricing { padding: 0 0 64px; }
.pm-pricing__card {
    background: linear-gradient(135deg, #0BA47E, #0A7E5E);
    border-radius: 18px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}
.pm-pricing__eyebrow {
    font-size: 14px;
    color: #C6F0E2;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.pm-pricing__h2 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 34px;
    color: #fff;
    letter-spacing: -.8px;
    margin-bottom: 12px;
}
.pm-pricing__copy { color: #DFF5EE; font-size: 16px; max-width: 440px; line-height: 1.55; }
.pm-pricing__box {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 14px;
    padding: 28px 40px;
    text-align: center;
}
.pm-pricing__pct {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 64px;
    color: #fff;
    line-height: 1;
}
.pm-pricing__pct span { font-size: 32px; }
.pm-pricing__box small { display: block; color: #DFF5EE; font-size: 14px; margin-top: 6px; }
.pm-pricing__box del { display: block; color: #B8ECDC; font-size: 13px; margin-top: 4px; }

/* ---------- FINAL CTA ---------- */
.pm-ctafinal { padding: 0 0 64px; text-align: center; }
.pm-ctafinal h2 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 34px;
    color: #10243E;
    letter-spacing: -.8px;
    margin-bottom: 14px;
}
.pm-ctafinal p { font-size: 17px; color: #5A6A7A; margin-bottom: 28px; }

/* ---------- FOOTER ---------- */
.pm-footer { background: #0C1D31; color: #7E90A4; font-size: 14px; }
.pm-footer__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 32px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.pm-footer a { color: #B7C4D4; }
.pm-footer a:hover { color: #fff; }

/* ---------- LEGAL PAGES (términos / privacidad) ---------- */
.pm-legal { max-width: 820px; margin: 0 auto; padding: 56px 48px 80px; }
.pm-legal h1 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 34px;
    color: #10243E;
    letter-spacing: -1px;
    margin-bottom: 8px;
}
.pm-legal__updated { color: #5D6A7A; font-size: 14px; margin-bottom: 32px; }
.pm-legal h2 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #10243E;
    margin: 32px 0 10px;
}
.pm-legal p, .pm-legal li { font-size: 15px; line-height: 1.7; color: #42556A; }
.pm-legal ul { margin: 10px 0 10px 22px; }
.pm-legal li { margin-bottom: 6px; }
.pm-legal__note {
    background: #FDF0DA;
    border: 1px solid #F5D8A0;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 14px;
    color: #7A5A1B;
    margin-bottom: 28px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .pm-container { padding: 0 22px; }
    .pm-nav__inner, .pm-footer__inner { padding-left: 22px; padding-right: 22px; }
    .pm-hero { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 40px; }
    .pm-pain__grid, .pm-steps__grid { grid-template-columns: 1fr 1fr; }
    .pm-pricing__card { grid-template-columns: 1fr; }
    .pm-nav__links { gap: 18px; font-size: 14px; }
    .pm-nav__links a:not(.pm-nav__cta):nth-child(-n+3) { display: none; }
}

@media (max-width: 560px) {
    .pm-pain__grid, .pm-steps__grid { grid-template-columns: 1fr; }
    .pm-hero__stats { flex-wrap: wrap; gap: 18px; }
    .pm-legal { padding: 40px 22px 64px; }
}

/* ---------- REDUCED MOTION ----------
   pmFloat bobs the hero card forever with no informational value, so it is the
   clearest thing to drop; .pm-btn's hover transition goes with it. Both are pure
   decoration — nothing here conveys state. */
@media (prefers-reduced-motion: reduce) {
    .pm-herocard {
        animation: none;
    }

    .pm-btn {
        transition: none;
    }
}
