:root {
            --background: #071321;
            --surface: #0d1d30;
            --surface-soft: #10243a;
            --border: #243a51;
            --border-light: #314860;
            --text: #edf4fb;
            --muted: #91a7bc;
            --muted-dark: #71889e;
            --green: #20ce67;
            --green-hover: #2be174;
            --danger: #ff7b7b;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            min-height: 100vh;
            background:
                radial-gradient(
                    circle at top right,
                    rgba(32, 206, 103, 0.08),
                    transparent 34%
                ),
                var(--background);
            color: var(--text);
            font-family:
                Inter,
                Arial,
                Helvetica,
                sans-serif;
        }

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

        button,
        input,
        select {
            font: inherit;
        }

        .page-wrapper {
            width: min(1180px, calc(100% - 32px));
            margin: 0 auto;
            padding: 26px 0 58px;
        }

        .topbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            margin-bottom: 46px;
        }

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

        .brand-mark {
            display: grid;
            place-items: center;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: var(--green);
            color: #071321;
            font-size: 20px;
            font-weight: 900;
        }

        .brand-text strong,
        .brand-text span {
            display: block;
        }

        .brand-text strong {
            font-size: 15px;
            letter-spacing: 1px;
        }

        .brand-text span {
            margin-top: 3px;
            color: var(--muted);
            font-size: 12px;
        }

        .client-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #a9bbcc;
            font-size: 14px;
            transition: color 0.2s ease;
        }

        .client-link:hover {
            color: var(--green);
        }

        .hero {
            max-width: 770px;
            margin-bottom: 32px;
        }

        .eyebrow {
            display: block;
            margin-bottom: 12px;
            color: var(--green);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .hero h1 {
            font-size: clamp(34px, 5vw, 50px);
            line-height: 1.08;
            letter-spacing: -1.2px;
        }

        .hero p {
            margin-top: 16px;
            color: var(--muted);
            font-size: 16px;
            line-height: 1.75;
        }

        .purchase-grid {
            display: grid;
            grid-template-columns: 0.88fr 1.12fr;
            gap: 24px;
            align-items: start;
        }

        .card {
            border: 1px solid var(--border);
            border-radius: 18px;
            background: var(--surface);
            box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
        }

        .plans-card {
            padding: 28px;
        }

        .section-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 7px 11px;
            border-radius: 999px;
            background: rgba(32, 206, 103, 0.11);
            color: #44e584;
            font-size: 12px;
            font-weight: 800;
        }

        .plans-card h2,
        .form-card h2 {
            margin-top: 20px;
            font-size: 26px;
        }

        .section-description {
            margin-top: 10px;
            color: var(--muted);
            line-height: 1.65;
        }

        .plan-options {
            display: grid;
            gap: 13px;
            margin-top: 22px;
        }

        .plan-option {
            position: relative;
            cursor: pointer;
        }

        .plan-option input {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        .plan-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            min-height: 92px;
            padding: 17px;
            border: 1px solid var(--border-light);
            border-radius: 13px;
            background: var(--surface-soft);
            transition:
                border-color 0.2s ease,
                transform 0.2s ease,
                box-shadow 0.2s ease;
        }

        .plan-option:hover .plan-box {
            transform: translateY(-1px);
            border-color: #42617f;
        }

        .plan-option input:checked + .plan-box {
            border-color: var(--green);
            box-shadow: 0 0 0 3px rgba(32, 206, 103, 0.11);
        }

        .plan-info {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .radio-icon {
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            width: 22px;
            height: 22px;
            margin-top: 1px;
            border: 2px solid #5e7690;
            border-radius: 50%;
        }

        .plan-option input:checked + .plan-box .radio-icon {
            border-color: var(--green);
        }

        .plan-option input:checked + .plan-box .radio-icon::after {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--green);
            content: "";
        }

        .plan-name strong,
        .plan-name span {
            display: block;
        }

        .plan-name strong {
            font-size: 15px;
        }

        .plan-name span {
            margin-top: 5px;
            color: var(--muted);
            font-size: 12px;
            line-height: 1.4;
        }

        .plan-price {
            text-align: right;
        }

        .plan-price strong,
        .plan-price span {
            display: block;
        }

        .plan-price strong {
            font-size: 18px;
        }

        .plan-price span {
            margin-top: 4px;
            color: var(--muted-dark);
            font-size: 11px;
        }

        .plan-features {
            display: grid;
            gap: 12px;
            margin-top: 24px;
            list-style: none;
        }

        .plan-features li {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #c9d7e4;
            font-size: 14px;
        }

        .plan-features i {
            color: var(--green);
        }

        .form-card {
            padding: 28px;
        }

        .form-card h2 {
            margin-top: 0;
        }

        .purchase-form {
            display: grid;
            gap: 18px;
            margin-top: 24px;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #dbe7f1;
            font-size: 13px;
            font-weight: 700;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper i {
            position: absolute;
            top: 50%;
            left: 15px;
            z-index: 2;
            color: #8298ad;
            font-size: 15px;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .form-group input {
            width: 100%;
            height: 50px;
            padding: 0 14px 0 43px;
            border: 1px solid var(--border-light);
            border-radius: 10px;
            outline: none;
            background: var(--surface-soft);
            color: var(--text);
        }

        .form-group input::placeholder {
            color: #647a90;
        }

        .form-group input:focus {
            border-color: var(--green);
            box-shadow: 0 0 0 3px rgba(32, 206, 103, 0.11);
        }

        .purchase-summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            padding: 16px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: #0b1a2b;
        }

        .summary-title,
        .summary-value {
            display: block;
        }

        .summary-title {
            color: var(--muted-dark);
            font-size: 12px;
        }

        .summary-value {
            margin-top: 4px;
            font-size: 15px;
            font-weight: 800;
        }

        .summary-price {
            color: var(--green);
            font-size: 18px;
            font-weight: 900;
            white-space: nowrap;
        }

        .submit-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 53px;
            border: 0;
            border-radius: 11px;
            cursor: pointer;
            background: var(--green);
            color: #06111e;
            font-weight: 900;
            transition:
                background 0.2s ease,
                transform 0.2s ease;
        }

        .submit-button:hover {
            background: var(--green-hover);
            transform: translateY(-1px);
        }

        .form-note {
            color: var(--muted-dark);
            font-size: 12px;
            line-height: 1.55;
            text-align: center;
        }

        .secure-note {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 2px;
            color: #7890a7;
            font-size: 12px;
        }

        @media (max-width: 860px) {
            .purchase-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 620px) {
            .page-wrapper {
                width: min(100% - 22px, 1180px);
                padding-top: 18px;
            }

            .topbar {
                align-items: flex-start;
                gap: 18px;
                margin-bottom: 34px;
            }

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

            .plans-card,
            .form-card {
                padding: 22px;
            }

            .plan-box {
                align-items: flex-start;
            }

            .purchase-summary {
                align-items: flex-start;
                flex-direction: column;
            }
        }

/* =========================================================
   AJUSTE VISUAL — PLANES EN CUADRÍCULA Y MEJOR EQUILIBRIO
   ========================================================= */

.page-wrapper {
    width: min(1240px, calc(100% - 32px));
}

.purchase-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.plans-card,
.form-card {
    height: 100%;
}

.plan-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.plan-box {
    align-items: flex-start;
    min-height: 132px;
    padding: 18px;
}

.plan-info {
    min-width: 0;
}

.plan-name strong {
    font-size: 16px;
}

.plan-name span {
    max-width: 170px;
}

.plan-price {
    flex: 0 0 auto;
}

.plan-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.form-card {
    display: flex;
    flex-direction: column;
}

.purchase-form {
    flex: 1;
}

@media (max-width: 1050px) {
    .purchase-grid {
        grid-template-columns: 1fr;
    }

    .plans-card,
    .form-card {
        height: auto;
    }
}

@media (max-width: 700px) {
    .plan-options,
    .plan-features {
        grid-template-columns: 1fr;
    }

    .plan-box {
        min-height: 96px;
    }
}

