:root {
    --azul-profundo: #09143f;
    --azul-runtria: #1A237E;
    --azul-electrico: #304FFE;
    --naranja-energia: #FF6D00;
    --verde-whatsapp: #25D366;
    --verde-salud: #14B86A;
    --gris-texto: #334155;
    --gris-suave: #64748B;
    --fondo: #F6F8FC;
    --blanco: #FFFFFF;
    --borde: rgba(15, 23, 42, 0.12);
    --sombra: 0 24px 70px rgba(9, 20, 63, 0.16);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gris-texto);
    background: var(--fondo);
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 109, 0, .18), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(48, 79, 254, .18), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f6f8fc 55%, #eef3ff 100%);
}

.container {
    width: min(1120px, calc(100% - 36px));
    margin-inline: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, .brand-text {
    font-family: 'Montserrat', 'Inter', sans-serif;
    color: var(--azul-profundo);
    line-height: 1.08;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--borde);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--naranja-energia), #ff9b3d);
    box-shadow: 0 12px 30px rgba(255, 109, 0, .28);
    font-weight: 900;
}

.brand-text {
    font-size: 1.12rem;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.brand-text strong {
    color: var(--naranja-energia);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-weight: 800;
    font-size: .92rem;
}

.header-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--azul-profundo);
}

.header-nav a:hover,
.header-nav .nav-cta {
    background: var(--azul-profundo);
    color: #fff;
}

.hero-register {
    padding: 78px 0 46px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 34px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: var(--naranja-energia);
    background: rgba(255, 109, 0, .10);
    border: 1px solid rgba(255, 109, 0, .22);
    padding: 8px 13px;
    border-radius: 999px;
    text-transform: uppercase;
    font-size: .76rem;
    letter-spacing: .08em;
    font-weight: 900;
}

.hero-copy h1 {
    font-size: clamp(2.35rem, 6vw, 4.85rem);
    letter-spacing: -.07em;
    margin: 18px 0 18px;
    max-width: 820px;
}

.hero-copy p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--gris-texto);
    max-width: 710px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--naranja-energia), #ff8c26);
    color: #fff;
    box-shadow: 0 16px 34px rgba(255, 109, 0, .30);
}

.btn-secondary {
    background: #fff;
    color: var(--azul-profundo);
    border: 1px solid var(--borde);
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
    max-width: 640px;
}

.trust-row div {
    background: rgba(255, 255, 255, .76);
    border: 1px solid var(--borde);
    border-radius: 18px;
    padding: 16px;
}

.trust-row strong {
    display: block;
    color: var(--azul-profundo);
    font-size: 1.15rem;
    font-weight: 900;
}

.trust-row span {
    color: var(--gris-suave);
    font-size: .9rem;
}

.hero-card,
.register-card,
.process-box,
.benefit-card,
.upgrade-card {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: var(--sombra);
    border-radius: var(--radius-xl);
}

.hero-card {
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 170px;
    height: 170px;
    background: rgba(255, 109, 0, .12);
    border-radius: 50%;
}

.card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    background: var(--azul-runtria);
    font-size: 1.45rem;
    margin-bottom: 18px;
}

.hero-card h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.hero-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
}

.hero-card li {
    display: flex;
    gap: 10px;
    color: var(--gris-texto);
    font-weight: 700;
}

.hero-card li::before {
    content: '✓';
    color: var(--verde-salud);
    font-weight: 900;
}

.benefits-section,
.form-section,
.upgrade-section {
    padding: 52px 0;
}

.section-heading {
    text-align: center;
    max-width: 760px;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    letter-spacing: -.05em;
    margin: 16px 0 12px;
}

.section-heading p {
    color: var(--gris-suave);
    font-size: 1.08rem;
}

.benefits-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.benefit-card {
    padding: 26px;
    box-shadow: 0 18px 48px rgba(9, 20, 63, .10);
}

.benefit-card i {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--naranja-energia);
    background: rgba(255, 109, 0, .10);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.benefit-card p {
    color: var(--gris-suave);
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    gap: 28px;
    align-items: start;
}

.form-intro {
    position: sticky;
    top: 104px;
}

.form-intro h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    letter-spacing: -.05em;
    margin: 16px 0 14px;
}

.form-intro > p {
    color: var(--gris-suave);
    font-size: 1.05rem;
}

.process-box {
    margin-top: 24px;
    padding: 24px;
    box-shadow: 0 16px 42px rgba(9, 20, 63, .10);
}

.process-box h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.process-box ol {
    padding-left: 20px;
    color: var(--gris-texto);
    font-weight: 700;
}

.register-card {
    padding: clamp(22px, 4vw, 34px);
}

.form-topline {
    margin-bottom: 22px;
}

.form-topline h2 {
    font-size: 2rem;
    letter-spacing: -.04em;
}

.form-topline p,
.privacy-note {
    color: var(--gris-suave);
}

.register-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    display: block;
    color: var(--azul-profundo);
    font-weight: 900;
    margin-bottom: 7px;
    font-size: .9rem;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, .16);
    background: #fff;
    border-radius: 16px;
    padding: 14px 15px;
    font: inherit;
    color: var(--gris-texto);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

textarea {
    min-height: 96px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--naranja-energia);
    box-shadow: 0 0 0 4px rgba(255, 109, 0, .12);
}

small {
    display: block;
    color: var(--gris-suave);
    margin-top: 6px;
}

.submit-btn {
    grid-column: 1 / -1;
    border: 0;
    min-height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--naranja-energia), #ff8c26);
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(255, 109, 0, .30);
    transition: transform .2s ease, box-shadow .2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(255, 109, 0, .36);
}

.privacy-note {
    margin-top: 14px;
    text-align: center;
    font-size: .9rem;
}

.upgrade-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: clamp(24px, 4vw, 38px);
    background: linear-gradient(135deg, rgba(9, 20, 63, .96), rgba(26, 35, 126, .94));
    color: #fff;
    overflow: hidden;
    position: relative;
}

.upgrade-card h2,
.upgrade-card p {
    color: #fff;
}

.upgrade-card h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin: 12px 0;
}

.upgrade-card p {
    opacity: .84;
    max-width: 680px;
}

.site-footer {
    margin-top: 36px;
    background: var(--azul-profundo);
    color: rgba(255, 255, 255, .82);
    padding: 34px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 22px;
    align-items: center;
}

.footer-grid strong {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.footer-links a {
    color: #fff;
    font-weight: 800;
}

.footer-grid > div:last-child {
    text-align: right;
}

.float-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 62px;
    height: 62px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--verde-whatsapp);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 16px 34px rgba(37, 211, 102, .35);
    z-index: 60;
    transition: transform .2s ease;
}

.float-whatsapp:hover {
    transform: translateY(-3px) scale(1.04);
}

@media (max-width: 900px) {
    .hero-grid,
    .form-layout,
    .benefits-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-intro {
        position: static;
    }

    .footer-grid,
    .footer-grid > div:last-child {
        text-align: center;
    }

    .upgrade-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 26px, 1120px);
    }

    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .header-nav {
        width: 100%;
    }

    .header-nav a {
        background: rgba(9, 20, 63, .06);
    }

    .hero-register {
        padding-top: 44px;
    }

    .trust-row,
    .register-form {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .register-card,
    .upgrade-card {
        border-radius: 24px;
    }

    .float-whatsapp {
        width: 56px;
        height: 56px;
        right: 16px;
        bottom: 16px;
        font-size: 1.75rem;
    }
}
