/* Alta Órbita - Landing comercial (orientado a PDF, 1–2 hojas) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #003366;
    --navy-light: #004080;
    --red: #c41e3a;
    --cyan: #00a8cc;
    --white: #ffffff;
    --gray: #444;
    --gray-light: #666;
    --bg: #f5f6f8;
    --border: #ccc;
    /* Fondo espacial (como en-construccion.html) */
    --dark-bg: #000000;
    --darker-bg: #0a0a0a;
    /* Estrellas neón */
    --neon-cyan: #00ffff;
    --neon-magenta: #ff00ff;
    --neon-yellow: #ffff00;
    --neon-green: #00ff00;
    /* RRSS */
    --whatsapp: #25D366;
    --instagram: #E4405F;
    --facebook: #1877F2;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #0f0f0f 100%);
    color: var(--navy);
    line-height: 1.4;
    max-width: 960px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 20px;
    position: relative;
}

/* Fondo de estrellas (como en-construccion.html) */
.landing-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.landing-stars .star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-cyan);
    border-radius: 50%;
    animation: landing-twinkle 3s infinite;
    box-shadow: 0 0 6px var(--neon-cyan), 0 0 12px var(--neon-cyan);
}

.landing-stars .star:nth-child(3n) {
    animation-delay: 0.5s;
    background: var(--neon-magenta);
    box-shadow: 0 0 6px var(--neon-magenta), 0 0 12px var(--neon-magenta);
}

.landing-stars .star:nth-child(5n) {
    animation-delay: 1s;
    background: var(--neon-yellow);
    width: 3px;
    height: 3px;
    box-shadow: 0 0 8px var(--neon-yellow), 0 0 16px var(--neon-yellow);
}

.landing-stars .star:nth-child(7n) {
    animation-delay: 1.5s;
    background: var(--neon-green);
    box-shadow: 0 0 6px var(--neon-green), 0 0 12px var(--neon-green);
}

@keyframes landing-twinkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* ========== Banners ========== */
.banner-top,
.banner-bottom {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    text-align: center;
}

.banner-inner {
    max-width: 960px;
    margin: 0 auto;
}

.banner-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ========== Main (lámina sobre el fondo espacial) ========== */
.landing-main {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 1.5rem 1.75rem 1.75rem;
    background: var(--white);
    box-shadow: 0 0 24px rgba(0, 51, 102, 0.08);
}

/* ========== 1. Hero: título + CTA WhatsApp ========== */
.section-hero-block {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 3px solid var(--border);
}

.hero-content {
    max-width: 560px;
    margin: 0 auto;
}

.landing-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0.35rem;
}

.hero-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gray);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.85rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 1.5rem;
}

.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--whatsapp);
    color: var(--white);
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.cta-whatsapp:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
}

.cta-icon {
    display: inline-flex;
}

.cta-icon svg {
    width: 24px;
    height: 24px;
}

/* ========== Secciones ========== */
.section {
    margin-bottom: 1.75rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    border-bottom: 3px solid var(--cyan);
    padding-bottom: 0.35rem;
    display: inline-block;
}

/* ========== 2. Problema / Solución ========== */
.problema-solucion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.problema-texto,
.solucion-texto {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.6;
}

.solucion-texto strong {
    color: var(--navy);
}

/* ========== 3. Planes: tabla comparativa ========== */
.section-planes {
    margin-bottom: 1.5rem;
}

.tabla-planes-wrap {
    overflow-x: auto;
    margin-top: 0.75rem;
}

.tabla-planes {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.05rem;
}

.tabla-planes th,
.tabla-planes td {
    border: 2px solid var(--border);
    padding: 0.9rem 1rem;
    text-align: center;
    vertical-align: middle;
}

.tabla-planes thead th {
    background: var(--navy);
    color: var(--white);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
}

.tabla-planes thead th:first-child {
    background: var(--navy-light);
}

.tabla-planes tbody tr:nth-child(even) {
    background: var(--bg);
}

.tabla-planes .tabla-label {
    text-align: left;
    font-weight: 600;
    color: var(--navy);
    width: 22%;
}

.plan-th-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.25rem;
}

.tabla-planes tbody td {
    color: var(--gray);
}

/* ========== 4. Proceso: 3 pasos ========== */
.proceso-pasos {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.paso {
    flex: 1;
    min-width: 160px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.paso-num {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 34px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.paso-titulo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.paso-texto {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.45;
}

.paso-flecha {
    flex: 0 0 auto;
    align-self: center;
    font-size: 1.5rem;
    color: var(--cyan);
    font-weight: 700;
}

/* ========== 5. Contacto: WhatsApp + formulario ========== */
.section-contacto {
    margin-bottom: 0;
}

.contacto-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    align-items: start;
}

.contacto-intro {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cta-whatsapp--sec {
    margin-bottom: 1.25rem;
}

.contacto-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.contacto-link {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
}

.contacto-link:hover {
    text-decoration: underline;
}

.contacto-form-wrap {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.form-titulo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.form-contacto {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-label {
    font-weight: 600;
    color: var(--navy);
    font-size: 1rem;
}

.form-optional {
    font-weight: 400;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.form-input {
    padding: 0.65rem 0.9rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.05rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--cyan);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-btn {
    margin-top: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.form-btn:hover {
    background: var(--navy-light);
}

.form-whatsapp-check {
    margin: 0.75rem 0;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(37, 211, 102, 0.08) 100%);
    border: 2px solid var(--whatsapp);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.form-whatsapp-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--navy);
    font-size: 1.05rem;
}

.form-whatsapp-input {
    width: 1.35rem;
    height: 1.35rem;
    accent-color: var(--whatsapp);
    flex-shrink: 0;
}

.form-whatsapp-text {
    flex: 1;
}

.form-captcha-wrap {
    margin: 1rem 0 0.5rem;
}

.form-captcha-wrap .g-recaptcha {
    display: inline-block;
}

.form-feedback {
    margin-top: 0.5rem;
    font-size: 1rem;
    min-height: 1.4em;
}

.form-feedback--sending {
    color: var(--gray);
}

.form-feedback--ok {
    color: #0a6b0a;
    font-weight: 600;
}

.form-feedback--error {
    color: var(--red);
    font-weight: 600;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--gray-light);
}

.form-note a {
    color: var(--cyan);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    body {
        font-size: 18px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .proceso-pasos {
        flex-direction: column;
    }

    .paso-flecha {
        transform: rotate(90deg);
    }

    .contacto-layout {
        grid-template-columns: 1fr;
    }

    .landing-main {
        padding: 1.5rem 1.25rem;
    }

    .tabla-planes {
        font-size: 0.95rem;
    }

    .tabla-planes th,
    .tabla-planes td {
        padding: 0.6rem 0.5rem;
    }

    .tabla-planes .tabla-label {
        width: 28%;
    }
}

@media (max-width: 480px) {
    .banner-text {
        font-size: 1rem;
    }

    .landing-logo {
        max-width: 240px;
    }

    .hero-tagline {
        letter-spacing: 0.1em;
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .cta-whatsapp {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
}

/* ========== Impresión / PDF ========== */
@media print {
    body {
        background: white;
        max-width: 100%;
        font-size: 11pt;
    }

    .landing-stars {
        display: none;
    }

    .banner-top,
    .banner-bottom {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        padding: 0.35rem 0.8rem;
    }

    .banner-text {
        font-size: 10pt;
    }

    .landing-main {
        box-shadow: none;
        padding: 0.5rem 1rem 0.75rem;
    }

    .section-hero-block {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .landing-logo {
        max-width: 200px;
    }

    .hero-tagline {
        font-size: 9pt;
    }

    .hero-title {
        font-size: 14pt;
    }

    .hero-subtitle {
        font-size: 10pt;
    }

    .cta-whatsapp {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .section-title {
        font-size: 12pt;
        margin-bottom: 0.5rem;
    }

    .problema-texto,
    .solucion-texto {
        font-size: 10pt;
    }

    .section-planes {
        page-break-inside: avoid;
    }

    .tabla-planes {
        font-size: 9pt;
    }

    .tabla-planes th,
    .tabla-planes td {
        padding: 0.4rem 0.5rem;
    }

    .section-proceso {
        page-break-inside: avoid;
    }

    .paso {
        min-width: 0;
    }

    .paso-titulo {
        font-size: 10pt;
    }

    .paso-texto {
        font-size: 9pt;
    }

    .section-contacto {
        page-break-inside: avoid;
    }

    .contacto-layout {
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .contacto-intro {
        font-size: 10pt;
    }

    .form-titulo {
        font-size: 10pt;
    }

    .form-input,
    .form-btn {
        font-size: 10pt;
    }

    @page {
        margin: 1cm;
        size: A4;
    }
}
