:root {
    --blue: #0568df;
    --navy: #08265b;
    --ink: #0a1c3d;
    --muted: #62708a;
    --pale: #f2f8ff;
    --green: #0aab72;
    --line: #dbe6f3;
}

/* =====================================================
   GENERAL
===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
}

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

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* =====================================================
   HEADER / NAVEGACIÓN
===================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #edf1f6;
}

.nav {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =====================================================
   LOGO
===================================================== */

.brand {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.brand-logo {
    display: block;

    /* Tamaño máximo del logo */
    width: auto;
    height: 90px;
    max-width: none;
    

    /* Mantiene la proporción */
    object-fit: contain;
}


/* =====================================================
   LINKS DEL MENÚ
===================================================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 25px;
}


/* =====================================================
   BOTONES
===================================================== */

.btn {
    border: 0;
    border-radius: 7px;
    background: var(--blue);
    color: #fff;

    padding: 14px 24px;

    font: 600 14px Inter, Arial, sans-serif;

    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 14px;

    box-shadow: 0 8px 18px rgba(5, 104, 223, 0.14);

    cursor: pointer;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

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

.btn-outline {
    background: white;
    color: var(--blue);
    border: 1px solid #78abe4;
    box-shadow: none;
}

.btn-small {
    padding: 11px 19px;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    background: linear-gradient(
        105deg,
        #ffffff 40%,
        #eef7ff
    );

    overflow: hidden;
}

.hero-grid {
    min-height: 475px;

    display: grid;
    grid-template-columns: 1fr 1.08fr;

    align-items: center;

    gap: 35px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 800;

    color: #1662ad;

    letter-spacing: 0.4px;
}

.hero h1 {
    font-size: 54px;
    line-height: 0.98;

    margin: 15px 0 14px;

    letter-spacing: -2.4px;
}

.hero-copy > p {
    font-size: 18px;
    line-height: 1.55;

    color: #334561;

    max-width: 570px;
}


/* =====================================================
   ACCIONES HERO
===================================================== */

.actions {
    display: flex;

    gap: 15px;

    margin: 24px 0;
}

.checks {
    display: flex;

    gap: 22px;

    flex-wrap: wrap;

    font-size: 13px;
    font-weight: 600;
}

.checks span {
    color: #334561;
}

.checks span::first-letter {
    color: var(--green);
}


/* =====================================================
   MOCKUP LAPTOP
===================================================== */

.mock-wrap {
    perspective: 900px;
}

.laptop {
    transform: rotateY(-5deg);

    filter: drop-shadow(
        0 24px 24px rgba(0, 31, 70, 0.2)
    );
}

.screen {
    height: 330px;

    background: #f7f9fc;

    border: 13px solid #17202d;
    border-radius: 14px 14px 5px 5px;

    display: grid;

    grid-template-columns: 26% 74%;

    overflow: hidden;
}

.dash-sidebar {
    background: #064891;
    color: white;

    padding: 20px 12px;

    display: flex;
    flex-direction: column;

    gap: 19px;

    font-size: 10px;
}

.dash-sidebar b {
    font-size: 20px;
    margin-bottom: 7px;
}

.dash-main {
    padding: 20px;
}

.dash-top {
    display: flex;
    justify-content: space-between;
}

.dash-top button {
    background: #0876ed;

    border: 0;
    border-radius: 5px;

    color: #fff;

    font-size: 8px;

    padding: 8px;
}


/* =====================================================
   ESTADÍSTICAS
===================================================== */

.stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;

    margin: 22px 0;
}

.stats i {
    font-style: normal;

    background: white;

    padding: 12px 8px;

    border-radius: 7px;

    font-size: 8px;

    box-shadow: 0 3px 10px #dce4ef;
}

.stats b {
    font-size: 14px;
}


/* =====================================================
   FACTURAS MOCKUP
===================================================== */

.invoice-row {
    background: white;

    border-bottom: 1px solid #edf1f5;

    padding: 10px 5px;

    display: grid;

    grid-template-columns:
        1fr
        2fr
        1fr;

    font-size: 8px;
}

.invoice-row em {
    color: #0c9b69;
    font-style: normal;
}

.base {
    height: 20px;

    background: linear-gradient(
        #dce2e9,
        #9ca8b5
    );

    clip-path: polygon(
        7% 0,
        93% 0,
        100% 100%,
        0 100%
    );

    border-radius: 0 0 50% 50%;
}


/* =====================================================
   FEATURES
===================================================== */

.features {
    padding: 34px 0;

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 15px;

    text-align: center;
}

.features article {
    padding: 8px;
}

.features h3 {
    font-size: 12px;

    margin: 9px 0 6px;
}

.features p {
    font-size: 10px;

    line-height: 1.4;

    color: var(--muted);
}


/* =====================================================
   ICONOS
===================================================== */

.icon,
.step-icon {
    width: 52px;
    height: 52px;

    margin: auto;

    border-radius: 50%;

    display: grid;
    place-items: center;

    background: #e8f3ff;

    color: #0876ed;

    font-size: 25px;
}

.green {
    background: #e2f8ef;
    color: #0aab72;
}

.purple {
    background: #f0e9ff;
    color: #7c49dc;
}

.orange {
    background: #fff1dc;
    color: #ed9217;
}

.red {
    background: #ffebee;
    color: #ef5362;
}

.dark {
    background: #e9eff8;
    color: #173968;
}


/* =====================================================
   TODO EN UN SOLO LUGAR
===================================================== */

.all-in-one {
    background: linear-gradient(
        110deg,
        #f4f9ff,
        #fff
    );

    padding: 28px 0;
}

.two-col {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    align-items: center;

    gap: 60px;
}

.two-col h2,
.section-title h2,
.included h2,
.cta h2 {
    font-size: 34px;

    margin: 0 0 7px;
}

.lead {
    color: #334561;
}

.benefits {
    list-style: none;

    padding: 0;

    line-height: 1.85;
}

.benefits li::before,
.included li::before {
    content: "✓";

    color: #0aab72;

    font-weight: 800;

    margin-right: 10px;
}


/* =====================================================
   TARJETA IMAGEN
===================================================== */

.photo-card {
    min-height: 285px;

    border-radius: 10px;

    background: linear-gradient(
        130deg,
        #eaf3f7,
        #c8dbe5
    );

    position: relative;

    overflow: hidden;
}

.person-art {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 38% 36%,
            #f1c4a8 0 9%,
            transparent 9.5%
        ),
        radial-gradient(
            circle at 40% 36%,
            #36251f 0 14%,
            transparent 14.5%
        ),
        linear-gradient(
            125deg,
            transparent 0 36%,
            #8cc1dd 36% 63%,
            transparent 63%
        );
}

.desk {
    position: absolute;

    bottom: 30px;
    left: 28%;

    font-size: 85px;

    color: #e9edf1;
}

.photo-card blockquote {
    position: absolute;

    right: 5%;
    top: 16%;

    width: 185px;

    margin: 0;

    background: #074d98;

    color: #fff;

    padding: 28px 20px;

    border-radius: 8px;

    line-height: 1.5;

    font-size: 14px;
}


/* =====================================================
   ¿CÓMO FUNCIONA?
===================================================== */

.how {
    padding: 42px 0;
}

.section-title {
    text-align: center;
}

.section-title p {
    margin-top: 0;

    color: var(--muted);
}

.steps {
    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    align-items: center;

    gap: 16px;

    margin-top: 35px;

    text-align: center;
}

.steps > span {
    font-size: 28px;

    color: #8fc4ed;
}

.steps article {
    position: relative;
}

.steps article > b {
    position: absolute;

    left: 15%;
    top: 0;

    background: #0876ed;

    color: white;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    display: grid;
    place-items: center;
}

.steps h3 {
    font-size: 13px;
}

.steps p {
    font-size: 10px;

    color: var(--muted);

    line-height: 1.5;
}


/* =====================================================
   PRECIOS
===================================================== */

.pricing {
    background: #f1f7ff;

    border-radius: 10px;

    display: grid;

    grid-template-columns:
        1fr
        2.2fr
        1fr;

    gap: 30px;

    align-items: center;

    padding: 28px 35px;

    margin-bottom: 35px;
}

.price span {
    background: #0876ed;

    color: #fff;

    border-radius: 5px;

    padding: 5px 10px;

    font-size: 11px;

    font-weight: 700;
}

.price strong {
    display: block;

    font-size: 54px;

    letter-spacing: -3px;

    margin-top: 8px;
}

.price p {
    margin: 0;

    font-size: 17px;
}

.price p b {
    color: #0876ed;
}

.included h2 {
    font-size: 25px;
}

.included > p {
    margin-top: 0;
}

.included-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;
}

.included ul {
    list-style: none;

    padding: 0;

    margin: 4px 0;

    font-size: 11px;

    line-height: 1.9;
}

.price-actions {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


/* =====================================================
   CONFIANZA
===================================================== */

.trust {
    background: linear-gradient(
        90deg,
        #073a78,
        #075ba9
    );

    color: #fff;

    padding: 22px 0;
}

.trust .container > div {
    display: grid;

    grid-template-columns:
        auto
        auto
        1fr;

    gap: 15px;

    align-items: center;
}

.trust strong {
    font-size: 18px;
}

.trust small {
    font-size: 12px;
}

.shield {
    font-size: 35px;
}

.trust-items {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    padding: 25px 0;
}

.trust-items article {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 12px;

    font-size: 25px;
}

.trust-items span {
    font-size: 10px;

    line-height: 1.5;
}


/* =====================================================
   DEMO / CTA
===================================================== */

.cta {
    background: #f4f9ff;

    padding: 55px 0;
}

.cta .container {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 60px;

    align-items: center;
}

.cta p {
    color: var(--muted);
}

#demoForm {
    background: #fff;

    padding: 25px;

    border-radius: 12px;

    box-shadow:
        0 15px 40px rgba(19, 64, 115, 0.09);

    display: grid;

    gap: 11px;
}

input {
    width: 100%;

    border: 1px solid var(--line);

    padding: 14px;

    border-radius: 7px;

    font: 14px Inter, Arial, sans-serif;

    outline: none;
}

input:focus {
    border-color: #67a7e9;
}

.form-msg {
    margin: 0 !important;

    font-size: 12px;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    background: #071d3f;

    color: #dce8f6;

    padding: 35px 0 20px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr;

    gap: 35px;

    align-items: start;
}

.footer-grid p {
    font-size: 12px;

    line-height: 1.7;
}

.copyright {
    border-top:
        1px solid rgba(255, 255, 255, 0.12);

    margin-top: 25px;

    padding-top: 18px;

    font-size: 10px;
}


/* =====================================================
   ANIMACIONES
===================================================== */

.reveal {
    opacity: 0;

    transform: translateY(16px);

    transition: 0.55s ease;
}

.reveal.visible {
    opacity: 1;

    transform: none;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 850px) {

    .nav {
        height: 78px;
    }

    .brand-logo {
        max-width: 155px;
        max-height: 58px;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 78px;
        left: 0;
        right: 0;

        background: white;

        padding: 20px 4%;

        flex-direction: column;

        box-shadow:
            0 10px 20px #dce5ef;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .hero-grid,
    .two-col,
    .cta .container {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 55px 0;
    }

    .hero h1 {
        font-size: 44px;
    }

    .mock-wrap {
        margin-top: 10px;
    }

    .features {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .pricing {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .included-grid {
        text-align: left;
    }

    .steps {
        grid-template-columns:
            1fr 1fr;
    }

    .steps > span {
        display: none;
    }

    .trust-items {
        grid-template-columns:
            1fr 1fr;

        gap: 25px;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .photo-card {
        min-height: 300px;
    }
}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 520px) {

    .nav {
        height: 70px;
    }

    .brand-logo {
        max-width: 135px;
        max-height: 52px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-copy > p {
        font-size: 15px;
    }

    .actions {
        flex-direction: column;
    }

    .features {
        grid-template-columns:
            1fr 1fr;
    }

    .screen {
        height: 240px;

        border-width: 8px;
    }

    .dash-sidebar {
        padding: 12px 7px;

        gap: 12px;
    }

    .dash-main {
        padding: 10px;
    }

    .stats {
        margin: 12px 0;
    }

    .invoice-row {
        padding: 6px 2px;
    }

    .two-col h2,
    .section-title h2,
    .cta h2 {
        font-size: 28px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .pricing {
        width: 92%;

        padding: 25px 20px;
    }

    .included-grid {
        grid-template-columns: 1fr;
    }

    .trust .container > div {
        grid-template-columns:
            auto
            1fr;
    }

    .trust small {
        grid-column: 1 / -1;
    }

    .trust-items {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .photo-card blockquote {
        right: 4%;

        width: 160px;

        font-size: 12px;
    }

    .checks {
        gap: 10px;
    }

    .features p {
        font-size: 9px;
    }
}