:root {
    --bg-main: #050608;
    --bg-alt: #0b0d11;
    --bg-card: #11141b;
    --accent: #f5c84c;
    --accent-soft: rgba(245, 200, 76, 0.15);
    --text-main: #f5f5f5;
    --text-muted: #a0a4af;
    --border-soft: #222633;
    --error: #ff5c5c;
}

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

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #151827, #050608 55%);
    color: var(--text-main);
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

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

/* Layout */

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

header.main {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom,
            rgba(5, 6, 8, 0.95),
            rgba(5, 6, 8, 0.75),
            transparent);
    border-bottom: 1px solid rgba(42, 46, 61, 0.7);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 0, #ffffff1f, #11141b 45%, #000);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(245, 200, 76, 0.35),
        0 16px 30px rgba(0, 0, 0, 0.7);
}

.logo-icon svg {
    width: 26px;
    height: 26px;
}

.logo-text-main {
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1.1rem;
}

.logo-text-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.155em;
}

/* Nav */

nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.9rem;
}

.nav-link {
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.btn {
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
        background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #f5c84c, #ffde7a);
    color: #111111;
    box-shadow: 0 8px 20px rgba(245, 200, 76, 0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(245, 200, 76, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid rgba(245, 200, 76, 0.7);
}

.btn-outline:hover {
    background: var(--accent-soft);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.45rem 1.1rem;
    font-size: 0.8rem;
}

/* Hero */

#hero {
    padding: 3.5rem 0 3.75rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3.25rem;
    align-items: center;
}

.hero-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent);
    margin-bottom: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-kicker::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.hero-title {
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.9rem;
}

.hero-title span.highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 0.96rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 1.7rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.6rem;
}

.hero-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-note-badge {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #32d16d;
    box-shadow: 0 0 0 4px rgba(50, 209, 109, 0.18);
}

/* Hero mock */

.hero-card {
    background: radial-gradient(circle at 20% 0, #ffffff0f, #11141b 40%, #050608);
    border-radius: 22px;
    padding: 1.6rem 1.5rem 1.4rem;
    border: 1px solid rgba(245, 200, 76, 0.3);
    box-shadow: 0 32px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.hero-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.3rem;
}

.hero-card-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-card-pill {
    font-size: 0.72rem;
    padding: 0.27rem 0.7rem;
    border-radius: 999px;
    background: rgba(245, 200, 76, 0.16);
    color: var(--accent);
    border: 1px solid rgba(245, 200, 76, 0.6);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.35rem;
}

.hero-stat {
    background: rgba(7, 9, 16, 0.9);
    border-radius: 12px;
    padding: 0.6rem 0.7rem;
    border: 1px solid rgba(37, 41, 56, 0.9);
}

.hero-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.hero-stat-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-stat-value span {
    font-size: 0.7rem;
    color: var(--accent);
    margin-left: 0.2rem;
}

.hero-list {
    list-style: none;
    display: grid;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-list li::before {
    content: "●";
    font-size: 0.6rem;
    color: var(--accent);
}

.hero-glow {
    position: absolute;
    inset: auto auto -70px 55%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(245, 200, 76, 0.28), transparent);
    filter: blur(1px);
    pointer-events: none;
}

/* Section base */

section {
    padding: 3.25rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.2rem;
}

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0.25rem auto 0;
}

/* Features section */

#detalle {
    background: radial-gradient(circle at top right, #191d2b, #050608 60%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 1.25rem 1.15rem 1.3rem;
    border: 1px solid rgba(34, 38, 51, 0.9);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    font-size: 1rem;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.feature-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.feature-pill {
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(245, 200, 76, 0.12);
    color: var(--accent);
    border: 1px solid rgba(245, 200, 76, 0.4);
}

/* Benefits / tables section */

#beneficios {
    background: var(--bg-alt);
    border-top: 1px solid rgba(34, 38, 51, 0.9);
    border-bottom: 1px solid rgba(34, 38, 51, 0.9);
}

.benefits-layout {
    display: grid;
    grid-template-columns: minmax(0, .6fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.benefits-copy {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: grid;
    gap: 0.9rem;
}

.benefits-copy strong {
    color: var(--accent);
}

.table-block {
    background: #070910;
    border-radius: 18px;
    padding: 1.2rem 1.1rem;
    border: 1px solid rgba(34, 38, 51, 0.9);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.55);
}

.table-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.table-subtitle {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    min-width: 480px;
}

th,
td {
    padding: 0.55rem 0.55rem;
    text-align: left;
    border-bottom: 1px solid rgba(34, 38, 51, 0.9);
}

th {
    font-weight: 500;
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

tr:last-child td {
    border-bottom: none;
}

.tag-bad {
    font-size: 0.7rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 92, 92, 0.12);
    color: #ff9f9f;
}

.tag-good {
    font-size: 0.7rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(50, 209, 109, 0.12);
    color: #8af7b8;
}

/* Contact */

#contacto {
    background: radial-gradient(circle at bottom, #191d2b, #050608 60%);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.3rem;
    align-items: flex-start;
}

.contact-copy {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: grid;
    gap: 0.8rem;
}

.contact-highlight {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent);
}

.contact-points {
    list-style: none;
    font-size: 0.86rem;
    color: var(--text-muted);
    display: grid;
    gap: 0.5rem;
}

.contact-points li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.contact-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    margin-top: 0.1rem;
    border: 1px solid rgba(245, 200, 76, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--accent);
}

.form-card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 1.5rem 1.3rem 1.4rem;
    border: 1px solid rgba(34, 38, 51, 0.95);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.form-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.form-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.form-group {
    margin-bottom: 0.9rem;
}

label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

input,
textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    padding: 0.55rem 0.7rem;
    background: #05070c;
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
    transition: border 0.18s ease, box-shadow 0.18s ease,
        background 0.18s ease;
}

input::placeholder,
textarea::placeholder {
    color: #5b6170;
}

input:focus,
textarea:focus {
    border-color: rgba(245, 200, 76, 0.8);
    box-shadow: 0 0 0 1px rgba(245, 200, 76, 0.9);
    background: #070910;
}

textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 260px;
}

.form-footnote {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.7rem;
}

footer {
    border-top: 1px solid rgba(34, 38, 51, 0.9);
    padding: 1.15rem 0 1.3rem;
    font-size: 0.76rem;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent);
}

/* Responsive */

.mobile-nav-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--text-main);
    font-size: 1.3rem;
    cursor: pointer;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .benefits-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    header {
        background: rgba(5, 6, 8, 0.96);
    }
}

@media (max-width: 780px) {
    nav {
        position: absolute;
        inset: 56px 0 auto;
        padding: 0.8rem 1.5rem 0.9rem;
        background: rgba(5, 6, 8, 0.98);
        border-bottom: 1px solid rgba(34, 38, 51, 0.9);
        display: none;
        flex-direction: column;
        gap: 0.75rem;
    }

    nav.open {
        display: flex;
    }

    .mobile-nav-toggle {
        display: inline-flex;
    }

    .header-inner {
        padding: 0.65rem 1rem;
    }

    #hero {
        padding-top: 3rem;
    }

    .features-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}