/* =========================================================
   VARIABLES
========================================================= */

:root {
    /* Colores base */
    --color-white: #ffffff;

    --color-background: #f7f7f8;
    --color-background-light: #fbfbfc;
    --color-background-alt: #f5f5f7;

    --color-text: #0f2342;
    --color-text-secondary: #5d687b;
    --color-text-nav: #28354c;
    --color-text-login: #39475e;
    --color-text-brand: #4b5565;
    --color-text-muted: #667085;
    --color-text-light: #8b94a5;

    /* Marca */
    --color-primary: #ff641a;
    --color-primary-light: #ff8a1f;
    --color-omnis: #ff641a;

    /* Superficies */
    --color-surface: #ffffff;
    --color-soft-orange: #fff3eb;
    --color-soft-teal: #edf9f8;
    --color-soft-lilac: #faf0ea;
    --color-soft-green: #f3f7ed;

    --color-hermes-bg: #fff5ef;
    --color-fluit-bg: #fff5ef;
    --color-dex-bg: #fff5ef;
    --color-omnis-bg: #fff5ef;

    /* Bordes */
    --color-border: #ececef;
    --color-border-soft: #e7e8ec;
    --color-timeline: #c8ccdb;

    /* Transparencias */
    --white-82: rgba(255, 255, 255, .82);
    --white-90: rgba(255, 255, 255, .90);
    --white-92: rgba(255, 255, 255, .92);
    --white-98: rgba(255, 255, 255, .98);

    --primary-03: rgba(255, 100, 26, .03);
    --primary-04: rgba(255, 100, 26, .04);
    --primary-05: rgba(255, 100, 26, .05);
    --primary-06: rgba(255, 100, 26, .06);
    --primary-08: rgba(255, 100, 26, .08);
    --primary-12: rgba(255, 100, 26, .12);
    --primary-22: rgba(255, 100, 26, .22);
    --primary-24: rgba(255, 100, 26, .24);
    --primary-28: rgba(255, 100, 26, .28);

    --overlay: rgba(15, 35, 66, .48);

    /* Sombras */
    --shadow-soft:
        0 18px 50px rgba(13, 27, 62, .06),
        0 4px 16px rgba(13, 27, 62, .04);

    --shadow-card:
        0 10px 30px rgba(13, 27, 62, .08),
        0 3px 10px rgba(13, 27, 62, .05);

    --shadow-modal:
        0 30px 80px rgba(13, 27, 62, .18),
        0 10px 30px rgba(13, 27, 62, .10);

    /* Radios */
    --radius-xl: 34px;
    --radius-lg: 28px;
    --radius-md: 22px;
    --radius-sm: 18px;

    /* Layout */
    --container: 1500px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--color-text);

    background:
        radial-gradient(
            circle at 0% 14%,
            var(--primary-06),
            transparent 22%
        ),
        radial-gradient(
            circle at 100% 18%,
            var(--primary-05),
            transparent 18%
        ),
        linear-gradient(
            180deg,
            var(--color-background-light) 0%,
            var(--color-background-alt) 100%
        );
}

body.modal-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(
        var(--container),
        calc(100% - 48px)
    );

    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;

    backdrop-filter: blur(14px);

    background: rgba(247, 247, 248, .78);

    border-bottom:
        1px solid rgba(236, 236, 239, .8);
}

.nav {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;

    gap: 14px;

    font-size: 18px;
    font-weight: 700;
}

.brand img {
    width: 38px;
    height: 38px;
}

.brand span small {
    font-weight: 400;
    color: var(--color-text-brand);
}

.nav-links {
    display: flex;
    gap: 34px;
    align-items: center;

    color: var(--color-text-nav);

    font-size: 15px;
}

.nav-links a {
    opacity: .95;
}

.nav-right {
    display: flex;
    gap: 18px;
    align-items: center;
}

.login {
    font-size: 15px;
    color: var(--color-text-login);
}


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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 24px;

    border-radius: 999px;

    font-weight: 700;
    font-size: 16px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;

    border: 1px solid transparent;

    cursor: pointer;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--color-white);

    background:
        linear-gradient(
            135deg,
            var(--color-primary),
            var(--color-primary-light)
        );

    box-shadow:
        0 10px 24px var(--primary-22);
}

.btn-secondary {
    background: var(--color-white);

    color: var(--color-primary);

    border-color: var(--primary-28);

    box-shadow:
        0 4px 20px rgba(13, 27, 62, .03);
}


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

.hero {
    padding: 68px 0 46px;

    position: relative;

    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    border:
        1px solid var(--primary-12);

    pointer-events: none;
}

.hero::before {
    left: -290px;
    top: 20px;

    box-shadow:
        60px 0 0 var(--primary-06),
        120px 0 0 var(--primary-04);
}

.hero::after {
    right: -280px;
    top: 40px;

    box-shadow:
        -60px 0 0 var(--primary-06),
        -120px 0 0 var(--primary-04);
}

.eyebrow {
    color: var(--color-primary);

    text-transform: uppercase;

    letter-spacing: .08em;

    font-weight: 800;
    font-size: 17px;

    text-align: center;

    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(2.9rem, 7vw, 5rem);

    line-height: 1.03;

    letter-spacing: -.04em;

    margin: 0 auto 20px;

    max-width: 950px;

    text-align: center;
}

.hero h1 .accent {
    color: var(--color-primary);
}

.hero p.lead {
    max-width: 700px;

    margin: 0 auto;

    text-align: center;

    color: var(--color-text-secondary);

    font-size:
        clamp(1.05rem, 2vw, 1.45rem);

    line-height: 1.5;
}

.hero-actions {
    display: flex;

    justify-content: center;

    gap: 16px;

    margin-top: 30px;

    flex-wrap: wrap;
}


/* =========================================================
   ÓRBITA
========================================================= */

.orbit-wrap {
    padding: 18px 0 28px;
}

.orbit-card {
    position: relative;

    margin: 0 auto;

    max-width: 1500px;

    min-height: 650px;

    border-radius: 40px;

    background:
        linear-gradient(
            180deg,
            var(--white-92),
            var(--white-82)
        );

    box-shadow: var(--shadow-soft);

    overflow: hidden;
}

.ring-center {
    position: absolute;

    inset:
        50% auto auto 50%;

    transform:
        translate(-50%, -50%);

    width: 240px;
    height: 240px;

    border-radius: 50%;

    background:
        var(--color-white);

    box-shadow:
        var(--shadow-card);

    display: grid;

    place-items: center;
}

.ring-center::before,
.ring-center::after {
    content: "";

    position: absolute;

    inset: -55px;

    border-radius: 50%;

    border:
        1px dashed var(--primary-22);
}

.ring-center::after {
    inset: -115px;

    opacity: .7;
}

.ring-center .logo-core {
    width: 125px;
}

.orbit-item {
    position: absolute;

    display: flex;

    gap: 14px;

    align-items: center;

    width: 250px;

    padding: 18px;

    background:
        var(--white-98);

    border-radius: 28px;

    box-shadow:
        var(--shadow-card);

    border:
        1px solid rgba(236, 236, 239, .95);
}

.orbit-item .icon {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    background:
        var(--color-white);

    flex: 0 0 auto;

    display: grid;

    place-items: center;

    box-shadow:
        inset 0 0 0 1px rgba(15, 35, 66, .04);
}

.orbit-item .icon img {
    width: 34px;
    height: 34px;

    object-fit: contain;
}

.orbit-item h3 {
    margin: 0 0 4px;

    font-size: 24px;

    letter-spacing: -.03em;
}

.orbit-item p {
    margin: 0;

    color:
        var(--color-text-secondary);

    font-size: 14px;

    line-height: 1.45;
}

.orbit-fluit {
    top: 58px;
    left: 50%;

    transform:
        translateX(-50%);
}

.orbit-dex {
    left: 58px;
    top: 220px;
}

.orbit-hermes {
    right: 58px;
    top: 220px;
}

.orbit-atria {
    left: 130px;
    bottom: 88px;
}

.orbit-omnis {
    right: 130px;
    bottom: 88px;
}


/* =========================================================
   BENEFICIOS
========================================================= */

.benefits {
    padding: 34px 0;
}

.section-tag {
    text-align: center;

    color:
        var(--color-primary);

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .08em;

    font-size: 16px;

    margin-bottom: 28px;
}

.benefit-grid {
    display: grid;

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

    gap: 20px;
}

.benefit {
    padding: 12px 14px;

    text-align: center;

    position: relative;
}

.benefit:not(:last-child)::after {
    content: "";

    position: absolute;

    right: -10px;

    top: 20px;
    bottom: 20px;

    width: 1px;

    background:
        var(--color-border-soft);
}

.benefit .b-icon {
    width: 82px;
    height: 82px;

    margin: 0 auto 18px;

    border-radius: 50%;

    background:
        var(--color-soft-orange);

    display: grid;

    place-items: center;

    box-shadow:
        0 8px 20px rgba(13, 27, 62, .04);

    color:
        var(--color-primary);

    font-size: 34px;

    border:
        1px solid var(--primary-08);
}

.benefit h4 {
    margin: 0 0 10px;

    font-size: 24px;

    letter-spacing: -.03em;
}

.benefit p {
    margin: 0;

    color:
        var(--color-text-secondary);

    line-height: 1.55;

    font-size: 15px;
}


/* =========================================================
   CONTACTO
========================================================= */

.contact-banner {
    margin: 28px auto 34px;

    padding: 24px 28px;

    border-radius: 30px;

    background:
        var(--white-90);

    box-shadow:
        var(--shadow-soft);

    display: grid;

    grid-template-columns:
        88px 1.2fr auto 1fr;

    align-items: center;

    gap: 22px;

    border:
        1px solid rgba(236, 236, 239, .95);
}

.contact-banner .support {
    width: 88px;
    height: 88px;

    border-radius: 50%;

    background:
        var(--color-soft-orange);

    display: grid;

    place-items: center;

    color:
        var(--color-primary);

    font-size: 42px;
}

.contact-banner h3 {
    margin: 0;

    font-size: 40px;

    letter-spacing: -.04em;

    line-height: 1.05;
}

.contact-banner h3 .accent {
    color:
        var(--color-primary);
}

.contact-banner p {
    margin: 8px 0 0;

    color:
        var(--color-text-secondary);

    font-size: 16px;
}

.contact-banner .talk {
    padding-left: 20px;

    border-left:
        1px solid var(--color-border);
}

.contact-banner .talk strong {
    display: block;

    font-size: 28px;

    margin-bottom: 10px;
}

.contact-banner .talk a,
.contact-banner .talk span {
    display: block;

    color:
        var(--color-text-secondary);

    line-height: 1.8;
}


/* =========================================================
   SERVICIOS
========================================================= */

.services {
    padding: 56px 0 30px;
}

.service-intro {
    max-width: 820px;

    margin: 0 auto 26px;

    text-align: center;
}

.service-intro h2 {
    margin: 0;

    font-size:
        clamp(2rem, 4vw, 3.25rem);

    line-height: 1.1;

    letter-spacing: -.04em;
}

.service-intro p {
    margin: 12px 0 0;

    color:
        var(--color-text-secondary);

    font-size: 18px;

    line-height: 1.6;
}

/* =========================================================
   TIMELINE SERVICIOS
========================================================= */

.timeline {
    position: relative;

    width:
        min(1180px, 100%);

    margin: 50px auto 0;

    padding: 50px 0 40px;
}


/* =========================================================
   LÍNEA CENTRAL
========================================================= */

.timeline::before {
    content: "";

    position: absolute;

    left: 50%;

    top: 20px;
    bottom: 120px;

    width: 2px;

    background:
        linear-gradient(
            180deg,
            rgba(177, 184, 203, .65),
            rgba(177, 184, 203, .4)
        );

    transform:
        translateX(-50%);

    border-radius: 999px;
}


/* =========================================================
   CURVAS
========================================================= */

.wave-segment {
    position: absolute;

    left: 50%;

    width: 110px;
    height: 135px;

    border:
        2px solid var(--color-timeline);

    border-left: none;

    border-radius:
        0 80px 80px 0;

    opacity: .65;
}

.wave-left {
    left:
        calc(50% - 110px);

    border-left:
        2px solid var(--color-timeline);

    border-right: none;

    border-radius:
        80px 0 0 80px;
}


/* =========================================================
   FILAS
========================================================= */

.service-row {
    position: relative;

    min-height: 330px;

    display: grid;

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

    align-items: center;
}


/* =========================================================
   TARJETAS IZQUIERDA / DERECHA
========================================================= */

.service-row:nth-child(odd) .service-card {
    grid-column: 1 / 2;

    justify-self: end;

    margin-right: 35px;
}

.service-row:nth-child(even) .service-card {
    grid-column: 3 / 4;

    justify-self: start;

    margin-left: 35px;
}


/* =========================================================
   PUNTOS
========================================================= */

.service-row .dot {
    grid-column: 2 / 3;

    width: 16px;
    height: 16px;

    border-radius: 50%;

    background:
        var(--color-primary);

    justify-self: center;

    box-shadow:
        0 0 0 8px var(--primary-08);

    position: relative;

    z-index: 3;
}


/* =========================================================
   TARJETAS
========================================================= */

.service-card {
    display: flex;

    align-items: center;

    gap: 28px;

    width: 100%;
    max-width: 470px;

    min-height: 255px;

    padding: 30px 32px;

    border-radius: 32px;

    background:
        var(--white-90);

    box-shadow:
        var(--shadow-soft);

    border:
        1px solid rgba(236, 236, 239, .98);
}


/* =========================================================
   FORMAS LATERALES
========================================================= */

.service-card.left {
    border-top-left-radius: 46px;

    border-bottom-left-radius: 46px;
}

.service-card.right {
    border-top-right-radius: 46px;

    border-bottom-right-radius: 46px;
}


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

.service-icon {
    width: 118px;
    height: 118px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background:
        var(--color-white);

    box-shadow:
        var(--shadow-card);

    flex: 0 0 auto;
}

.service-icon img {
    width: 76px;
    height: 76px;

    object-fit: contain;
}


/* =========================================================
   TEXTO
========================================================= */

.service-copy {
    flex: 1;

    min-width: 0;
}

.service-copy h3 {
    margin: 0 0 8px;

    font-size: 32px;

    letter-spacing: -.04em;

    color:
        var(--color-primary);
}

.service-card.omnis .service-copy h3 {
    color:
        var(--color-omnis);
}

.service-copy h4 {
    margin: 0;

    font-size: 27px;

    line-height: 1.08;

    letter-spacing: -.04em;
}

.service-copy p {
    margin: 14px 0 0;

    font-size: 15px;

    color:
        var(--color-text-secondary);

    line-height: 1.55;

    max-width: 360px;
}


/* =========================================================
   FONDOS
========================================================= */

.service-card.hermes {
    background:
        linear-gradient(
            90deg,
            var(--color-hermes-bg),
            var(--color-white)
        );
}

.service-card.dex {
    background:
        linear-gradient(
            90deg,
            var(--color-dex-bg),
            var(--color-white)
        );
}

.service-card.omnis {
    background:
        linear-gradient(
            90deg,
            var(--color-omnis-bg),
            var(--color-white)
        );
}

.service-card.fluit,
.service-card.atria {
    background:
        linear-gradient(
            270deg,
            var(--color-fluit-bg),
            var(--color-white)
        );
}


/* =========================================================
   ICONOS A LA DERECHA
========================================================= */

.service-card.fluit .service-icon,
.service-card.atria .service-icon {
    order: 2;
}



/* =========================================================
   CIERRE
========================================================= */

.closing {
    padding: 30px 0 90px;
}

.closing-card {
    display: grid;

    grid-template-columns:
        1.05fr 1fr;

    gap: 28px;

    align-items: center;

    background:
        var(--white-92);

    border-radius: 34px;

    box-shadow:
        var(--shadow-soft);

    padding: 28px 34px;

    border:
        1px solid rgba(236, 236, 239, .98);
}

.mini-orbit {
    position: relative;

    min-height: 320px;

    display: grid;

    place-items: center;
}

.mini-center {
    width: 150px;
    height: 150px;

    border-radius: 50%;

    background:
        var(--color-white);

    display: grid;

    place-items: center;

    box-shadow:
        var(--shadow-card);

    position: relative;

    z-index: 2;
}

.mini-center img {
    width: 95px;
}

.mini-orbit::before,
.mini-orbit::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    border:
        1px dashed var(--primary-24);
}

.mini-orbit::before {
    width: 220px;
    height: 220px;
}

.mini-orbit::after {
    width: 300px;
    height: 300px;
}

.mini-chip {
    position: absolute;

    width: 74px;
    height: 74px;

    border-radius: 50%;

    background:
        var(--color-white);

    display: grid;

    place-items: center;

    box-shadow:
        var(--shadow-card);
}

.mini-chip img {
    width: 42px;
    height: 42px;

    object-fit: contain;
}

.m1 {
    top: 25px;
    left: 100px;
}

.m2 {
    top: 34px;
    right: 100px;
}

.m3 {
    bottom: 48px;
    left: 86px;
}

.m4 {
    bottom: -15px;
    left: 50%;

    transform:
        translateX(-50%);
}

.m5 {
    bottom: 52px;
    right: 90px;
}

.closing-copy h2 {
    margin: 0;

    font-size:
        clamp(2.4rem, 4.4vw, 4rem);

    letter-spacing: -.05em;

    line-height: 1.02;
}

.closing-copy h2 .accent {
    color:
        var(--color-primary);
}

.closing-copy p {
    margin: 18px 0 0;

    font-size: 18px;

    line-height: 1.65;

    color:
        var(--color-text-secondary);

    max-width: 540px;
}

.closing-copy .btn {
    margin-top: 22px;
}


/* =========================================================
   ARCOS
========================================================= */

.soft-arcs {
    position: relative;
}

.soft-arcs::before,
.soft-arcs::after {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    border-radius: 50%;

    border:
        1px solid var(--primary-12);

    pointer-events: none;
}

.soft-arcs::before {
    left: -130px;

    bottom: 40px;

    box-shadow:
        36px 0 0 var(--primary-05),
        72px 0 0 var(--primary-03);
}

.soft-arcs::after {
    right: -130px;

    bottom: 60px;

    box-shadow:
        -36px 0 0 var(--primary-05),
        -72px 0 0 var(--primary-03);
}


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

footer {
    padding: 0 0 44px;
}

.footer-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;

    padding-top: 10px;

    border-top:
        1px solid rgba(236, 236, 239, .9);
}

.footer-left {
    display: flex;

    align-items: center;

    gap: 14px;

    font-weight: 700;
}

.footer-left img {
    width: 38px;
    height: 38px;
}

.footer-links {
    display: flex;

    gap: 26px;

    color:
        var(--color-text-secondary);
}

.copyright {
    color:
        var(--color-text-light);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

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

    .contact-banner {
        grid-template-columns:
            88px 1fr;
    }

    .contact-banner .action {
        justify-self: start;
    }

    .contact-banner .talk {
        grid-column: 1 / -1;

        border-left: none;

        padding-left: 0;

        border-top:
            1px solid var(--color-border);

        padding-top: 18px;
    }

    .orbit-card {
        min-height: 780px;
    }

    .orbit-item {
        width: 220px;
    }

    .orbit-dex {
        left: 30px;
    }

    .orbit-hermes {
        right: 30px;
    }

    .orbit-atria {
        left: 75px;
    }

    .orbit-omnis {
        right: 75px;
    }
}


@media (max-width: 920px) {

    .nav {
        flex-wrap: wrap;

        justify-content: center;

        padding: 16px 0;
    }

    .nav-links {
        order: 3;

        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 18px;
    }

    .orbit-card {
        min-height: 1050px;
    }

    .ring-center {
        top: 46%;
    }

    .orbit-fluit {
        top: 28px;
    }

    .orbit-dex {
        left: 50%;

        top: 180px;

        transform:
            translateX(-50%);
    }

    .orbit-hermes {
        left: 50%;

        top: 320px;

        right: auto;

        transform:
            translateX(-50%);
    }

    .orbit-atria {
        left: 50%;

        bottom: 230px;

        transform:
            translateX(-50%);
    }

    .orbit-omnis {
        left: 50%;

        bottom: 90px;

        right: auto;

        transform:
            translateX(-50%);
    }

    .benefit-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .benefit:nth-child(2)::after,
    .benefit:nth-child(4)::after,
    .benefit:nth-child(5)::after {
        display: none;
    }

    .service-row {
        grid-template-columns: 1fr;

        gap: 12px;

        min-height: auto;

        margin-bottom: 22px;
    }

    .timeline::before,
    .service-row .dot,
    .wave-segment {
        display: none;
    }

    .service-row .service-card {
        grid-column:
            1 / -1 !important;
    }

    .service-card,
    .service-card.left,
    .service-card.right {
        border-radius: 28px;
    }

    .service-card.fluit .service-icon,
    .service-card.atria .service-icon {
        order: 0;
    }

    .closing-card {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;

        text-align: center;
    }
}


@media (max-width: 640px) {

    .container {
        width:
            min(
                var(--container),
                calc(100% - 28px)
            );
    }

    .hero {
        padding-top: 36px;
    }

    .orbit-card {
        min-height: 1070px;

        border-radius: 28px;
    }

    .orbit-item {
        width:
            calc(100% - 28px);

        padding: 16px;
    }

    .orbit-item h3 {
        font-size: 22px;
    }

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

    .benefit::after {
        display: none !important;
    }

    .contact-banner {
        padding: 20px;

        grid-template-columns: 1fr;

        text-align: left;
    }

    .contact-banner .support {
        width: 72px;
        height: 72px;

        font-size: 34px;
    }

    .contact-banner h3 {
        font-size: 32px;
    }

    .service-card {
        flex-direction: column;

        align-items: flex-start;

        text-align: left;
    }

    .service-icon {
        width: 118px;
        height: 118px;
    }

    .service-copy h3 {
        font-size: 36px;
    }

    .service-copy h4 {
        font-size: 28px;
    }

    .footer-links {
        flex-wrap: wrap;

        justify-content: center;
    }


}


/* =========================================================
   MODAL SOLICITAR DEMO
========================================================= */

body.modal-open {
    overflow: hidden;
}

.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;

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

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.demo-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   OVERLAY
========================================================= */

.demo-modal__overlay {
    position: absolute;
    inset: 0;

    background: var(--overlay);

    backdrop-filter: blur(7px);
}


/* =========================================================
   CONTENEDOR
========================================================= */

.demo-modal__dialog {
    position: relative;
    z-index: 1;

    width: min(760px, 100%);

    max-height: calc(100vh - 48px);

    overflow-y: auto;

    padding: 42px;

    border-radius: var(--radius-xl);

    background: var(--color-surface);

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

    box-shadow: var(--shadow-modal);
}


/* =========================================================
   BOTÓN CERRAR
========================================================= */

.demo-modal__close {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: var(--color-background-alt);

    color: var(--color-text);

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.demo-modal__close:hover {
    background: var(--color-soft-orange);

    color: var(--color-primary);

    transform: rotate(4deg);
}


/* =========================================================
   PASOS
========================================================= */

.demo-step {
    display: none;
}

.demo-step.is-active {
    display: block;
}


/* =========================================================
   HEADER MODAL
========================================================= */

.demo-modal__header {
    padding-right: 50px;

    margin-bottom: 28px;
}

.demo-modal__header--form {
    margin-top: 24px;
}

.demo-modal__eyebrow {
    display: block;

    margin-bottom: 10px;

    color: var(--color-primary);

    text-transform: uppercase;

    letter-spacing: .08em;

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

.demo-modal__header h2 {
    margin: 0;

    font-size: clamp(2rem, 5vw, 3rem);

    line-height: 1.08;

    letter-spacing: -.04em;
}

.demo-modal__header p {
    margin: 12px 0 0;

    max-width: 580px;

    color: var(--color-text-secondary);

    font-size: 16px;

    line-height: 1.6;
}


/* =========================================================
   OPCIONES
========================================================= */

.demo-options {
    display: grid;

    gap: 14px;
}

.demo-options__grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   BOTÓN PRODUCTO
========================================================= */

.demo-option {
    width: 100%;

    min-height: 104px;

    padding: 18px;

    display: flex;
    align-items: center;

    gap: 16px;

    text-align: left;

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

    border-radius: var(--radius-sm);

    background: var(--color-white);

    color: var(--color-text);

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.demo-option:hover {
    border-color: var(--primary-28);

    background: var(--color-soft-orange);

    box-shadow:
        0 8px 22px rgba(13, 27, 62, .06);

    transform: translateY(-2px);
}

.demo-option img {
    width: 52px;
    height: 52px;

    flex: 0 0 auto;

    object-fit: contain;
}


/* =========================================================
   TEXTO PRODUCTO
========================================================= */

.demo-option__copy {
    flex: 1;

    min-width: 0;
}

.demo-option__copy strong {
    display: block;

    margin-bottom: 5px;

    font-size: 18px;
}

.demo-option__copy small {
    display: block;

    color: var(--color-text-secondary);

    font-size: 14px;

    line-height: 1.4;
}

.demo-option__arrow {
    flex: 0 0 auto;

    color: var(--color-primary);

    font-size: 22px;

    transition: transform .2s ease;
}

.demo-option:hover .demo-option__arrow {
    transform: translateX(4px);
}


/* =========================================================
   SUITE COMPLETA
========================================================= */

.demo-option--suite {
    min-height: 118px;

    padding: 22px;

    border-color: var(--primary-28);

    background:
        linear-gradient(
            135deg,
            var(--color-soft-orange),
            var(--color-white)
        );
}

.demo-option--suite img {
    width: 66px;
    height: 66px;
}

.demo-option--suite .demo-option__copy strong {
    color: var(--color-primary);

    font-size: 22px;
}

.demo-option--suite .demo-option__copy small {
    font-size: 15px;
}


/* =========================================================
   OMNIS
========================================================= */

.demo-option--omnis:hover {
    background: var(--color-soft-green);
}


/* =========================================================
   BOTÓN VOLVER
========================================================= */

.demo-back {
    min-height: 44px;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--color-text-secondary);

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: color .2s ease;
}

.demo-back:hover {
    color: var(--color-primary);
}


/* =========================================================
   FORMULARIO
========================================================= */

.demo-form {
    display: grid;

    gap: 18px;
}

.demo-form__grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   CAMPOS
========================================================= */

.form-field {
    display: grid;

    gap: 8px;
}

.form-field label {
    color: var(--color-text);

    font-size: 14px;
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;

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

    border-radius: var(--radius-sm);

    background: var(--color-white);

    color: var(--color-text);

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-field input {
    min-height: 52px;

    padding: 0 16px;
}

.form-field textarea {
    min-height: 120px;

    padding: 14px 16px;

    resize: vertical;

    line-height: 1.5;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--color-primary);

    box-shadow:
        0 0 0 4px var(--primary-08);
}

.form-field textarea::placeholder {
    color: var(--color-text-light);
}


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

.demo-form__footer {
    display: flex;

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

    gap: 20px;

    margin-top: 4px;
}

.demo-form__footer p {
    margin: 0;

    max-width: 390px;

    color: var(--color-text-secondary);

    font-size: 13px;

    line-height: 1.5;
}

.demo-form__footer .btn {
    flex: 0 0 auto;
}


/* =========================================================
   RESPONSIVE MODAL
========================================================= */

@media (max-width: 640px) {

    .demo-modal {
        padding: 14px;
    }

    .demo-modal__dialog {
        max-height: calc(100vh - 28px);

        padding: 34px 20px 24px;

        border-radius: var(--radius-lg);
    }

    .demo-modal__close {
        top: 14px;
        right: 14px;
    }

    .demo-modal__header {
        padding-right: 38px;

        margin-bottom: 22px;
    }

    .demo-options__grid {
        grid-template-columns: 1fr;
    }

    .demo-option {
        min-height: 92px;

        padding: 15px;
    }

    .demo-option--suite {
        min-height: 105px;
    }

    .demo-form__grid {
        grid-template-columns: 1fr;
    }

    .demo-form__footer {
        flex-direction: column;

        align-items: stretch;
    }

    .demo-form__footer .btn {
        width: 100%;
    }
}


/* =========================================================
   INTERACCIÓN TARJETAS DE LA ÓRBITA
========================================================= */

.orbit-item[data-product-detail] {
    cursor: pointer;
    outline: none;

    transition:
        box-shadow .22s ease,
        border-color .22s ease,
        background .22s ease;
}

.orbit-item[data-product-detail]:hover,
.orbit-item[data-product-detail]:focus-visible {
    border-color: var(--primary-28);
    background: var(--color-white);

    box-shadow:
        0 18px 42px rgba(13, 27, 62, .12),
        0 5px 14px rgba(13, 27, 62, .06);
}

.orbit-item[data-product-detail]:focus-visible {
    box-shadow:
        0 0 0 4px var(--primary-08),
        0 18px 42px rgba(13, 27, 62, .12);
}


/* =========================================================
   MODAL DETALLE DE PRODUCTO
========================================================= */

.product-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;

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

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.product-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================================================
   OVERLAY PRODUCTO
========================================================= */

.product-modal__overlay {
    position: absolute;
    inset: 0;

    background: var(--overlay);

    backdrop-filter: blur(7px);
}


/* =========================================================
   CONTENEDOR PRODUCTO
========================================================= */

.product-modal__dialog {
    position: relative;
    z-index: 1;

    width: min(860px, 100%);
    max-height: calc(100vh - 48px);

    overflow-y: auto;

    padding: 38px;

    border-radius: var(--radius-xl);

    background: var(--color-surface);

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

    box-shadow: var(--shadow-modal);
}


/* =========================================================
   CERRAR PRODUCTO
========================================================= */

.product-modal__close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: var(--color-background-alt);

    color: var(--color-text);

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.product-modal__close:hover {
    background: var(--color-soft-orange);

    color: var(--color-primary);

    transform: rotate(4deg);
}


/* =========================================================
   CONTENIDO PRODUCTO
========================================================= */

.product-modal__content {
    display: grid;

    grid-template-columns:
        minmax(240px, .8fr)
        minmax(0, 1.2fr);

    gap: 42px;

    align-items: center;
}


/* =========================================================
   ÁREA VISUAL PRODUCTO
========================================================= */

.product-modal__visual {
    min-height: 320px;

    display: grid;
    place-items: center;

    border-radius: var(--radius-lg);

    background:
        radial-gradient(
            circle at center,
            var(--color-soft-orange) 0%,
            var(--color-white) 68%
        );

    border: 1px solid var(--color-border);
}

.product-modal__logo-wrap {
    width: 220px;
    height: 220px;

    display: grid;
    place-items: center;

    padding: 34px;

    border-radius: 50%;

    background: var(--color-white);

    box-shadow: var(--shadow-card);
}

.product-modal__logo-wrap img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   TEXTO PRODUCTO
========================================================= */

.product-modal__copy {
    min-width: 0;

    padding-right: 22px;
}

.product-modal__eyebrow {
    display: block;

    margin-bottom: 8px;

    color: var(--color-primary);

    text-transform: uppercase;

    letter-spacing: .08em;

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

.product-modal__copy h2 {
    margin: 0 0 8px;

    font-size: clamp(2.4rem, 5vw, 4rem);

    line-height: 1;

    letter-spacing: -.05em;
}

.product-modal__copy h3 {
    margin: 0 0 16px;

    color: var(--color-text);

    font-size: 22px;

    line-height: 1.3;

    letter-spacing: -.02em;
}

.product-modal__copy > p {
    margin: 0 0 20px;

    color: var(--color-text-secondary);

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   CARACTERÍSTICAS PRODUCTO
========================================================= */

.product-modal__features {
    margin: 0 0 26px;

    padding: 0;

    display: grid;

    gap: 10px;

    list-style: none;
}

.product-modal__features li {
    position: relative;

    padding-left: 28px;

    color: var(--color-text-secondary);

    line-height: 1.5;
}

.product-modal__features li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    color: var(--color-primary);

    font-weight: 800;
}

.product-modal__copy .btn {
    margin-top: 2px;
}


/* =========================================================
   RESPONSIVE MODAL PRODUCTO
========================================================= */

@media (max-width: 760px) {

    .product-modal {
        padding: 14px;
    }

    .product-modal__dialog {
        max-height: calc(100vh - 28px);

        padding: 56px 20px 24px;

        border-radius: var(--radius-lg);
    }

    .product-modal__close {
        top: 12px;
        right: 12px;
    }

    .product-modal__content {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .product-modal__visual {
        min-height: 220px;
    }

    .product-modal__logo-wrap {
        width: 155px;
        height: 155px;

        padding: 24px;
    }

    .product-modal__copy {
        padding-right: 0;
    }

    .product-modal__copy .btn {
        width: 100%;
    }
}

/* =========================================================
   AJUSTE TIMELINE - CENTRADO Y CONEXIONES
========================================================= */

.service-row {
    position: relative;

    min-height: 330px;

    display: grid;

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

    align-items: center;
}


/* =========================================================
   TARJETAS IZQUIERDA
========================================================= */

.service-row:nth-child(odd) .service-card {
    grid-column: 1 / 2;

    justify-self: end;
    align-self: center;

    margin-right: 35px;
}


/* =========================================================
   TARJETAS DERECHA
========================================================= */

.service-row:nth-child(even) .service-card {
    grid-column: 3 / 4;

    justify-self: start;
    align-self: center;

    margin-left: 35px;
}


/* =========================================================
   PUNTO CENTRAL
========================================================= */

.service-row .dot {
    grid-column: 2 / 3;

    width: 16px;
    height: 16px;

    border-radius: 50%;

    background:
        var(--color-primary);

    justify-self: center;
    align-self: center;

    box-shadow:
        0 0 0 8px var(--primary-08);

    position: relative;

    z-index: 5;
}


/* =========================================================
   LÍNEA HORIZONTAL HACIA LAS TARJETAS
========================================================= */

.service-row::after {
    content: "";

    position: absolute;

    top: 50%;

    height: 2px;

    background:
        var(--color-timeline);

    transform:
        translateY(-50%);

    opacity: .75;

    z-index: 1;
}


/*
 * Hermes / Dex / Omnis
 * La línea sale desde el punto hacia la izquierda.
 */
.service-row:nth-child(odd)::after {
    right: 50%;

    width: 95px;
}


/*
 * Fluit / Atria
 * La línea sale desde el punto hacia la derecha.
 */
.service-row:nth-child(even)::after {
    left: 50%;

    width: 95px;
}


/* =========================================================
   TARJETAS SOBRE LAS LÍNEAS
========================================================= */

.service-card {
    position: relative;

    z-index: 2;
}


/* =========================================================
   CURVAS
========================================================= */

.wave-segment {
    z-index: 0;
}

.timeline::before {
    z-index: 0;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 920px) {

    .service-row::after {
        display: none;
    }

}

.support {
    display: flex;
    align-items: center;
    justify-content: center;
}

.support img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}