﻿:root {
    --bg: #0b1220;
    --panel: #131f32;
    --panel2: #19283d;
    --border: #29384d;
    --text: #f1f5f9;
    --muted: #a8b5c8;
    --accent: #22d3c5;
    --accent-dark: #123b42;
    --purple: #a78bfa;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: radial-gradient(ellipse at 80% 0%, #15303b 0%, transparent 35%), var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11,18,32,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

nav {
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.7px;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    border-radius: 13px;
    color: #07151b;
    background: linear-gradient(135deg, var(--accent), #a5f3fc);
    font-size: 24px;
    font-weight: 900;
}

.logo small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 23px;
    align-items: center;
    font-size: 13px;
    color: #cbd5e1;
}

    .nav-links a:hover {
        color: var(--accent);
    }

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 19px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    transition: .2s;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    color: #07151b;
    background: var(--accent);
}

    .btn-primary:hover {
        background: #7cebe2;
    }

.btn-outline {
    border-color: var(--border);
    color: var(--text);
    background: transparent;
}

    .btn-outline:hover {
        border-color: var(--accent);
    }

.menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 9px;
    color: white;
    padding: 8px 11px;
}

/* HERO */

.hero {
    padding: 90px 0 75px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.badge {
    display: inline-block;
    color: #7cebe2;
    background: #123038;
    border: 1px solid #24545a;
    border-radius: 30px;
    padding: 7px 13px;
    font-size: 12px;
    font-weight: 700;
}

h1 {
    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.06;
    letter-spacing: -2.5px;
    margin: 24px 0;
}

.gradient {
    color: var(--accent);
}

.hero p {
    color: var(--muted);
    font-size: 17px;
    max-width: 540px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.trust {
    margin-top: 20px;
    font-size: 12px;
    color: var(--muted);
}

    .trust span {
        color: var(--accent);
    }

/* PANEL ILUSTRATIVO */

.dashboard {
    padding: 22px;
    background: linear-gradient(145deg, #192a40, #101b2c);
    border: 1px solid #304158;
    border-radius: 22px;
    box-shadow: 0 25px 70px #0005;
}

.dash-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

    .dash-head strong {
        font-size: 14px;
    }

    .dash-head small {
        display: block;
        color: var(--muted);
        font-size: 11px;
    }

.status {
    color: var(--accent);
    font-size: 10px;
    border: 1px solid #28565b;
    padding: 5px 8px;
    border-radius: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 17px 0;
}

.stat {
    background: #ffffff08;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
}

    .stat small {
        display: block;
        color: var(--muted);
        font-size: 10px;
    }

    .stat strong {
        display: block;
        font-size: 25px;
    }

    .stat span {
        color: var(--accent);
        font-size: 10px;
    }

.dash-title {
    font-size: 12px;
    font-weight: 700;
    margin: 21px 0 10px;
}

.person {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #ffffff0c;
}

.avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: #29425a;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
}

.person-name {
    font-size: 11px;
    font-weight: 700;
}

.person-role {
    font-size: 10px;
    color: var(--muted);
}

.bar {
    height: 5px;
    background: #334155;
    border-radius: 20px;
    margin-top: 7px;
    overflow: hidden;
}

    .bar span {
        display: block;
        height: 100%;
        background: linear-gradient(90deg, var(--accent), #7c9cff);
        border-radius: inherit;
    }

.person-count {
    font-size: 11px;
    white-space: nowrap;
}

/* SECCIONES */

section {
    padding: 75px 0;
}

.section-head {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.kicker {
    color: var(--accent);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

h2 {
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.15;
    letter-spacing: -1.3px;
    margin: 13px 0;
}

.section-head p {
    color: var(--muted);
    margin: 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, var(--panel), #101a2a);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: #14353a;
    color: var(--accent);
    font-size: 23px;
    margin-bottom: 17px;
}

.card h3 {
    margin: 0 0 9px;
    font-size: 17px;
}

.card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

.alt-section {
    background: #101a2a;
    border-top: 1px solid #ffffff08;
    border-bottom: 1px solid #ffffff08;
}

/* PROCESO */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.step {
    padding: 22px;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 15px;
}

.step-number {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.step h3 {
    font-size: 15px;
}

.step p {
    color: var(--muted);
    font-size: 13px;
}

/* PLANES */

.pricing {
    background: radial-gradient(ellipse at 50% 10%, #153039 0%, transparent 55%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    padding: 27px 24px;
    background: #121e30;
    border: 1px solid var(--border);
    border-radius: 21px;
}

    .price-card.featured {
        background: linear-gradient(160deg, #15333c, #121e30);
        border: 2px solid var(--accent);
        position: relative;
    }

.recommended {
    position: absolute;
    right: 17px;
    top: -14px;
    padding: 5px 11px;
    border-radius: 30px;
    background: var(--accent);
    color: #07151b;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.plan-name {
    font-size: 21px;
    font-weight: 800;
}

.plan-desc {
    color: var(--muted);
    font-size: 13px;
    min-height: 60px;
    margin: 7px 0 14px;
}

.price {
    font-size: 46px;
    font-weight: 800;
}

.price-note {
    color: var(--muted);
    font-size: 11px;
    margin: 2px 0 14px;
}

.limits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin: 10px 0 18px;
}

.limit {
    background: #ffffff08;
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 11px;
}

    .limit strong {
        display: block;
        font-size: 23px;
    }

    .limit span {
        color: var(--muted);
        font-size: 10px;
    }

.plan-divider {
    border-top: 1px solid var(--border);
    margin-bottom: 16px;
}

.included-title {
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

    .features li {
        display: flex;
        gap: 9px;
        font-size: 12px;
        color: #d0dae7;
        margin-bottom: 11px;
        line-height: 1.45;
    }

        .features li::before {
            content: "✓";
            color: var(--accent);
            font-weight: 900;
        }

.price-card .btn {
    width: 100%;
    margin-top: auto;
}

.pricing-note {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    margin-top: 24px;
}

/* TABLA */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 15px;
}

table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    background: #111c2c;
}

th, td {
    text-align: left;
    padding: 14px 17px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

th {
    background: #19283d;
    color: #e2e8f0;
}

td {
    color: #cbd5e1;
}

    td:first-child {
        color: var(--text);
        font-weight: 600;
    }

    th:not(:first-child), td:not(:first-child) {
        text-align: center;
    }

tr:last-child td {
    border-bottom: none;
}

.yes {
    color: var(--accent);
    font-weight: 900;
}

.no {
    color: #64748b;
}

.note {
    color: var(--muted);
    font-size: 11px;
    margin-top: 14px;
}

/* ROLES Y FAQ */

.role-label {
    color: var(--accent);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.faq {
    max-width: 820px;
    margin: auto;
}

details {
    border: 1px solid var(--border);
    background: var(--panel);
    border-radius: 13px;
    padding: 17px 20px;
    margin-bottom: 11px;
}

summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

details p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 0;
}
/* CTA FINAL */

.final-cta {
    padding: 85px 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(129,112,255,.18), transparent 55%), #0b0d17;
}

.final-box {
    padding: 55px 35px;
    text-align: center;
    border: 1px solid #39345f;
    border-radius: 24px;
    background: linear-gradient(135deg, #191a32, #171b2e);
}

    .final-box h2 {
        max-width: 780px;
        margin: 0 auto 18px;
    }

    .final-box p {
        max-width: 680px;
        margin: 0 auto 27px;
        font-size: 1.04rem;
    }

.final-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
}

/* CONTACTO */

.contact-section {
    background: #111426;
    border-top: 1px solid var(--border);
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 55px;
    align-items: start;
}

.contact-form {
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.form-group {
    margin-bottom: 17px;
}

    .form-group label {
        display: block;
        margin-bottom: 7px;
        color: #e0e4f4;
        font-size: .88rem;
        font-weight: 650;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 13px;
        border: 1px solid #373e5a;
        border-radius: 9px;
        outline: none;
        color: white;
        background: #101426;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(129,112,255,.12);
        }

    .form-group textarea {
        resize: vertical;
        min-height: 100px;
    }

    .form-group select option {
        background: #101426;
    }

.form-privacy {
    font-size: .78rem;
    margin: 12px 0 0;
}



/* LLAMADO FINAL Y PIE */

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 38px;
    border: 1px solid #28565b;
    border-radius: 22px;
    background: linear-gradient(120deg, #14283a, #123239);
}

    .cta-box h2 {
        margin-top: 0;
    }

    .cta-box p {
        color: var(--muted);
        margin-bottom: 0;
    }

footer {
    border-top: 1px solid var(--border);
    padding: 35px 0 20px;
    background: #080e18;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
    color: var(--muted);
}

    .footer-links a:hover {
        color: var(--accent);
    }

.footer-copy {
    max-width: 360px;
    color: var(--muted);
    font-size: 12px;
}

.copyright {
    border-top: 1px solid var(--border);
    margin-top: 25px;
    padding-top: 17px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #8290a5;
    font-size: 11px;
}


/* Contenedor del icono de ayuda */
.ayuda-plan {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    vertical-align: middle;
}

/* Icono informativo */
.ayuda-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border: 1px solid #7892b5;
    border-radius: 50%;
    color: #9db7dc;
    font-size: 11px;
    font-weight: 600;
    cursor: help;
    transition: all .2s ease;
}

.ayuda-plan:hover .ayuda-icono,
.ayuda-plan:focus-within .ayuda-icono {
    color: #ffffff;
    border-color: #60a5fa;
    background: #243d5c;
}

/* Ventana flotante */
.ayuda-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translate(-50%, 5px);
    width: 250px;
    padding: 13px 15px;
    background: #19283d;
    border: 1px solid #36577f;
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .30);
    color: #dbe5f2;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1000;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

    /* Título de la ayuda */
    .ayuda-tooltip strong {
        display: block;
        margin-bottom: 5px;
        color: #93c5fd;
        font-size: 13px;
        font-weight: 600;
    }

/* Mostrar al pasar el cursor */
.ayuda-plan:hover .ayuda-tooltip,
.ayuda-plan:focus-within .ayuda-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Adaptación a pantallas pequeñas */
@media (max-width: 480px) {
    .ayuda-tooltip {
        left: auto;
        right: -10px;
        transform: translateY(5px);
        width: min(250px, 75vw);
    }

    .ayuda-plan:hover .ayuda-tooltip,
    .ayuda-plan:focus-within .ayuda-tooltip {
        transform: translateY(0);
    }
}


/* RESPONSIVE */

@media(max-width: 900px) {
    .nav-links {
        gap: 12px;
        font-size: 12px;
    }

    .hero-grid {
        gap: 28px;
    }

    .pricing-grid {
        gap: 12px;
    }

    .price-card {
        padding: 22px 16px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 700px) {
    .container {
        width: calc(100% - 30px);
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        padding: 15px 22px;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links a {
            padding: 10px 0;
        }

    nav {
        flex-wrap: wrap;
    }

    .hero {
        padding: 55px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    h1 {
        font-size: 43px;
    }

    section {
        padding: 55px 0;
    }

    .cards, .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        padding: 26px;
    }

    .plan-desc {
        min-height: 0;
    }

    .cta-box {
        display: block;
        padding: 27px;
    }

        .cta-box .btn {
            width: 100%;
            margin-top: 20px;
        }

    .footer-top {
        display: block;
    }

    .footer-links {
        margin-top: 20px;
    }

    .copyright {
        display: block;
    }

        .copyright span {
            display: block;
            margin-top: 8px;
        }
}

@media(max-width: 420px) {
    .stats {
        gap: 5px;
    }

    .stat {
        padding: 8px;
    }

        .stat strong {
            font-size: 20px;
        }

    .steps {
        grid-template-columns: 1fr;
    }

    .actions .btn {
        width: 100%;
    }
}
