/* Variables y base */
:root {
    --navy: #1E293B;
    --navy-900: #0F172A;
    --navy-700: #334155;
    --lime: #BACA00;
    --lime-hover: #CBDC0A;
    --lime-ink: #5F6800;
    --ink: #0F172A;
    --text: #334155;
    --muted: #64748B;
    --line: #E2E8F0;
    --soft: #F4F6F9;
    --white: #FFFFFF;

    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, .07), 0 16px 40px rgba(15, 23, 42, .09);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, .38);

    --nav-h: 72px;
    --gutter: clamp(20px, 5vw, 40px);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
}

:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--lime);
    color: var(--navy-900);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

/* Utilidades */
.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section {
    padding-block: clamp(56px, 7vw, 92px);
}

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(36px, 5vw, 60px);
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
    font-weight: 800;
}

.section-head p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 1.075rem;
    color: var(--muted);
}

.section-head-left {
    margin-inline: 0;
    text-align: left;
}

.section-head-row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    text-align: left;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lime-ink);
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: var(--lime);
}

.eyebrow-light {
    color: var(--lime);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

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

.btn-sm {
    padding: 10px 18px;
    font-size: .92rem;
}

.btn-primary {
    background: var(--lime);
    color: var(--navy-900);
    box-shadow: 0 6px 18px rgba(186, 202, 0, .28);
}

.btn-primary:hover {
    background: var(--lime-hover);
    box-shadow: 0 10px 24px rgba(186, 202, 0, .36);
}

.btn-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, .32);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .08);
}

.btn-outline {
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.link-flecha {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--lime-ink);
    text-decoration: none;
}

.link-flecha svg {
    width: 18px;
    height: 18px;
    transition: transform .2s ease;
}

.link-flecha:hover svg,
a:hover > .link-flecha svg {
    transform: translateX(4px);
}

.checks {
    list-style: none;
    display: grid;
    gap: 12px;
}

.checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 600;
    color: var(--ink);
}

.checks svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    padding: 3px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--navy-900);
}

.por-completar {
    position: relative;
    outline: 2px dashed #F59E0B;
    outline-offset: -2px;
}

.por-completar em {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: #F59E0B;
    color: #1F1300;
    font-size: .7rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Navegación */
.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(255, 255, 255, .9);
    border-bottom: 1px solid transparent;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.navbar.is-open {
    background: var(--white);
}

.navbar.is-scrolled {
    background: rgba(255, 255, 255, .97);
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .07);
}

.navbar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar-logo img {
    height: 36px;
    width: auto;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
}

.navbar-links a:not(.btn) {
    position: relative;
    padding: 6px 0;
    color: var(--text);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}

.navbar-links a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.navbar-links a:not(.btn):hover,
.navbar-links a.is-current {
    color: var(--ink);
}

.navbar-links a:not(.btn):hover::after,
.navbar-links a.is-current::after {
    transform: scaleX(1);
}

.idioma {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
}

.navbar-links .idioma a {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
    color: var(--muted);
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.navbar-links .idioma a::after {
    display: none;
}

.navbar-links .idioma a:hover {
    color: var(--ink);
}

.navbar-links .idioma a[aria-current] {
    background: var(--navy);
    color: var(--white);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px 9px;
    background: none;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle span {
    display: block;
    height: 2.5px;
    border-radius: 2px;
    background: var(--navy);
    transition: transform .25s ease, opacity .2s ease;
}

.navbar.is-open .menu-toggle span:nth-child(1) {
    transform: translateY(9.75px) rotate(45deg);
}

.navbar.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.navbar.is-open .menu-toggle span:nth-child(3) {
    transform: translateY(-9.75px) rotate(-45deg);
}

@media (max-width: 1080px) {
    .menu-toggle {
        display: flex;
    }

    .navbar-links {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--gutter) 24px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(15, 23, 42, .12);
        display: none;
    }

    .navbar.is-open .navbar-links {
        display: flex;
    }

    .navbar-links a:not(.btn) {
        padding: 14px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--line);
    }

    .navbar-links a:not(.btn)::after {
        display: none;
    }

    .navbar-links .idioma {
        align-self: flex-start;
        margin-top: 20px;
    }

    .navbar-links .idioma a {
        padding: 8px 16px;
        border-bottom: 0;
        font-size: .9rem;
    }

    .navbar-cta {
        margin-top: 20px;
        padding: 14px 18px;
    }
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 8vw, 104px);
    background:
        radial-gradient(760px 460px at 92% 8%, rgba(186, 202, 0, .2), transparent 62%),
        linear-gradient(180deg, var(--soft) 0%, var(--white) 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(36px, 5vw, 76px);
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.55rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.hero h1 span {
    box-shadow: inset 0 -.34em 0 rgba(186, 202, 0, .6);
}

.hero-sub {
    max-width: 580px;
    margin-top: 22px;
    font-size: clamp(1.02rem, 1.3vw, 1.15rem);
    line-height: 1.65;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    font-size: .95rem;
    font-weight: 600;
    color: var(--ink);
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-points svg {
    width: 18px;
    height: 18px;
    color: var(--lime-ink);
}

.hero-media {
    position: relative;
}

.hero-media::before {
    content: '';
    position: absolute;
    inset: 9% -5% -6% 14%;
    border-radius: 32px;
    background: var(--lime);
}

.hero-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}

.hero-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 270px;
    padding: 12px 16px 12px 12px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .18);
}

.hero-chip-a {
    top: 9%;
    left: -7%;
}

.hero-chip-b {
    right: -4%;
    bottom: 10%;
}

.chip-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--navy);
    color: var(--lime);
}

.chip-icon svg {
    width: 22px;
    height: 22px;
}

.hero-chip p {
    font-size: .8rem;
    line-height: 1.35;
    color: var(--muted);
}

.hero-chip strong {
    display: block;
    font-size: .9rem;
    color: var(--ink);
}

@media (max-width: 1320px) {
    .hero-chip-a {
        left: -3%;
    }

    .hero-chip-b {
        right: -2%;
    }
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-media {
        max-width: 620px;
        margin-inline: 2% 4%;
    }
}

@media (max-width: 520px) {
    .hero-photo {
        aspect-ratio: 4 / 3;
    }

    .hero-chip {
        position: static;
        max-width: none;
        margin-top: 12px;
        border: 1px solid var(--line);
        box-shadow: var(--shadow-sm);
    }

    .hero-media {
        margin-inline: 0;
    }

    .hero-media::before {
        display: none;
    }
}

/* Clientes */
.clientes {
    padding-block: clamp(40px, 5vw, 60px);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.clientes-title {
    margin-bottom: 28px;
    text-align: center;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.logos-row {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logos-row + .logos-row {
    margin-top: 22px;
}

.logos-track {
    display: flex;
    align-items: center;
    gap: clamp(36px, 5vw, 64px);
    width: max-content;
    padding-inline: clamp(18px, 2.5vw, 32px);
    animation: logos-left 60s linear infinite;
}

.logos-row.reverse .logos-track {
    animation-name: logos-right;
}

.logos-row:hover .logos-track {
    animation-play-state: paused;
}

.logos-track img {
    flex: 0 0 auto;
    height: 56px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .72;
    transition: filter .25s ease, opacity .25s ease;
}

.logos-track img:hover {
    filter: none;
    opacity: 1;
}

@keyframes logos-left {
    to {
        transform: translateX(-50%);
    }
}

@keyframes logos-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

@media (max-width: 700px) {
    .logos-track img {
        height: 42px;
        max-width: 130px;
    }
}

/* Beneficios */
.pilares {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.pilar {
    padding: 30px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pilar:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.pilar-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: var(--navy);
    color: var(--lime);
}

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

.pilar h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.pilar p {
    margin-top: 10px;
    font-size: .97rem;
    color: var(--muted);
}

@media (max-width: 1000px) {
    .pilares {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .pilares {
        grid-template-columns: 1fr;
    }
}

/* Mensaje central */
.manifiesto {
    padding-block: clamp(56px, 8vw, 96px);
    color: #CBD5E1;
    text-align: center;
    background:
        radial-gradient(700px 320px at 50% 0%, rgba(186, 202, 0, .14), transparent 65%),
        var(--navy);
}

.manifiesto-inner {
    max-width: 940px;
}

.manifiesto h2 {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
}

.manifiesto h2 span {
    color: var(--lime);
}

.manifiesto-inner > p:not(.eyebrow) {
    max-width: 680px;
    margin: 22px auto 0;
    font-size: 1.075rem;
}

.formula {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
}

.formula li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    font-size: .93rem;
    font-weight: 600;
    color: var(--white);
}

.formula li + li::before {
    content: '+';
    margin-left: -6px;
    font-weight: 800;
    color: var(--lime);
}

.offline,
.inteligencia,
.legal,
.consultores {
    background: var(--soft);
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(32px, 6vw, 84px);
}

.split-media {
    position: relative;
}

.split-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.media-nota {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 36px);
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .2);
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink);
}

.media-nota svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    color: var(--lime-ink);
}

.phones {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(14px, 2.6vw, 30px);
    padding-block: 8px 40px;
}

.phones::before {
    content: '';
    position: absolute;
    inset: 12% 5% 9%;
    border-radius: 32px;
    background: var(--lime);
}

.phone {
    position: relative;
    flex: 0 1 236px;
    min-width: 0;
}

.phone:nth-of-type(2) {
    margin-top: clamp(28px, 5vw, 60px);
}

.phone-frame {
    padding: 7px;
    border-radius: 30px;
    background: var(--navy-900);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 24px 50px rgba(15, 23, 42, .32);
}

.phone-video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 392 / 810;
    object-fit: cover;
    border-radius: 23px;
    background: var(--navy);
}

.phone figcaption {
    position: absolute;
    left: 50%;
    bottom: -16px;
    transform: translateX(-50%);
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .18);
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--ink);
}

@media (max-width: 520px) {
    .phone-frame {
        padding: 5px;
        border-radius: 22px;
    }

    .phone-video {
        border-radius: 17px;
    }

    .phone figcaption {
        padding: 6px 12px;
        font-size: .72rem;
    }
}

.split-text h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 800;
}

.split-lead {
    margin: 16px 0 28px;
    font-size: 1.075rem;
    color: var(--muted);
}

.split-text .link-flecha {
    margin-top: 28px;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 22px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--navy);
    color: var(--lime);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-list h3 {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.feature-list p {
    margin-top: 4px;
    font-size: .97rem;
    color: var(--muted);
}

.feature-list-compact {
    gap: 16px;
}

.feature-list-compact .feature-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
}

.normas-lista {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.normas-lista li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
}

.normas-lista li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
}

.ciclo {
    list-style: none;
    counter-reset: paso;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.ciclo li {
    counter-increment: paso;
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .93rem;
    font-weight: 600;
    color: var(--ink);
}

.ciclo li::before {
    content: counter(paso);
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--lime);
    font-size: .8rem;
    font-weight: 800;
}

.ciclo li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -19px;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: #C7CED8;
}

@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
    }

    .split > .split-media:first-child {
        order: 2;
    }
}

/* Plataforma */
.modulos-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.modulo-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    font: inherit;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.modulo-tab svg {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    color: var(--lime-ink);
}

.modulo-tab:hover {
    border-color: var(--navy-700);
    color: var(--ink);
}

.modulo-tab.is-active {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.modulo-tab.is-active svg {
    color: var(--lime);
}

.modulo-panel {
    padding: clamp(22px, 3.2vw, 40px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.js .modulo-panel:not(.is-active) {
    display: none;
}

.modulo-panel + .modulo-panel {
    margin-top: 20px;
}

.js .modulo-panel + .modulo-panel {
    margin-top: 0;
}

.modulo-panel.is-active {
    animation: panel-in .35s ease both;
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

.panel-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 4vw, 52px);
    margin-bottom: clamp(22px, 3vw, 34px);
}

.panel-head h3 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 800;
}

.panel-head h3 span {
    box-shadow: inset 0 -.38em 0 rgba(186, 202, 0, .55);
}

.panel-head p {
    margin-top: 14px;
    font-size: 1.04rem;
    color: var(--muted);
}

.panel-head img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: 16px;
}

.mod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mod-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--soft);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.mod-card:hover {
    border-color: var(--line);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.mod-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 11px;
    background: var(--navy);
    color: var(--lime);
}

.mod-icon svg {
    width: 23px;
    height: 23px;
}

.mod-tag {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lime-ink);
}

.mod-card h3,
.mod-card h4 {
    margin-top: 6px;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--ink);
}

.mod-card p {
    margin-top: 8px;
    font-size: .94rem;
    color: var(--muted);
}

@media (max-width: 1000px) {
    .modulos-tabs {
        display: flex;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }

    .modulo-tab {
        flex: 0 0 auto;
        max-width: 250px;
        scroll-snap-align: start;
    }

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

@media (max-width: 700px) {
    .panel-head {
        grid-template-columns: 1fr;
    }

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

/* Casos de uso */
.casos-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    max-width: 980px;
    margin-inline: auto;
}

.casos-grid li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-weight: 600;
    color: var(--ink);
}

.casos-grid svg {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--navy-900);
}

@media (max-width: 700px) {
    .casos-grid {
        grid-template-columns: 1fr;
    }
}

/* Impacto y cifras */
.cifras {
    padding-block: clamp(56px, 8vw, 96px);
    color: #CBD5E1;
    background:
        radial-gradient(700px 320px at 100% 0%, rgba(186, 202, 0, .14), transparent 60%),
        var(--navy);
}

.cifras-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 84px);
}

.cifras h2 {
    margin-bottom: 26px;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--white);
}

.checks-light li {
    font-weight: 500;
    color: #E2E8F0;
}

.cifras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cifra {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 22px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .05);
}

.cifra dd {
    font-size: clamp(2.4rem, 4.4vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--white);
    font-variant-numeric: tabular-nums;
}

.cifra dd small {
    font-size: .6em;
    color: var(--lime);
}

.cifra dt {
    order: 2;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .cifras-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .cifra {
        padding: 18px 16px;
    }
}

.compara {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    margin-top: clamp(40px, 5vw, 64px);
    padding: clamp(24px, 3.5vw, 44px);
    border-radius: 20px;
    background: var(--navy);
    color: #CBD5E1;
}

.compara-texto h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    font-weight: 800;
    color: var(--white);
}

.compara-texto p {
    margin-top: 14px;
    font-size: 1.04rem;
}

.compara-tabla {
    overflow-x: auto;
    border-radius: var(--radius);
    background: var(--white);
}

.compara-tabla table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: .93rem;
    color: var(--text);
}

.compara-tabla th,
.compara-tabla td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.compara-tabla tbody tr:last-child th,
.compara-tabla tbody tr:last-child td {
    border-bottom: 0;
}

.compara-tabla thead th {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--soft);
}

.compara-tabla tbody th {
    font-weight: 600;
    color: var(--ink);
}

.compara-tabla td {
    color: var(--muted);
}

.compara-tabla td.si {
    font-weight: 700;
    color: var(--ink);
    background: rgba(186, 202, 0, .12);
}

.compara-tabla thead th:nth-child(2) {
    color: var(--lime-ink);
    background: rgba(186, 202, 0, .2);
}

.compara-tabla td.si svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    padding: 3px;
    border-radius: 50%;
    vertical-align: -5px;
    background: var(--lime);
    color: var(--navy-900);
}

@media (max-width: 900px) {
    .compara {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .compara-tabla table {
        min-width: 0;
        table-layout: fixed;
        font-size: .82rem;
    }

    .compara-tabla thead th {
        font-size: .66rem;
        letter-spacing: .02em;
    }

    .compara-tabla th,
    .compara-tabla td {
        padding: 10px;
    }

    .compara-tabla td.si svg {
        display: none;
    }
}

.flujos {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
}

.flujo-card {
    padding: clamp(22px, 2.6vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.flujo-principal {
    grid-row: span 2;
    background: var(--soft);
    border-color: transparent;
}

.flujo-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.flujo-principal h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 800;
}

.flujo-card > p {
    margin-top: 10px;
    color: var(--muted);
}

.flujo {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.flujo-label {
    margin-bottom: 14px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lime-ink);
}

.flujo-pasos {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 34px;
}

.flujo-pasos > li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flujo-pasos > li:not(.flujo-par),
.flujo-par span {
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--navy);
    font-size: .88rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--white);
}

.flujo-par span {
    background: var(--lime);
    color: var(--navy-900);
}

.flujo-pasos > li + li::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 50%;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #94A3B8;
}

@media (max-width: 900px) {
    .flujos {
        grid-template-columns: 1fr;
    }
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.legal-card {
    display: flex;
    flex-direction: column;
    padding: clamp(22px, 2.6vw, 30px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.legal-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
}

.legal-card > p:not(.legal-ref) {
    margin: 10px 0 18px;
    color: var(--muted);
}

.checks-sm {
    gap: 10px;
    margin-bottom: 22px;
}

.checks-sm li {
    font-size: .95rem;
    font-weight: 500;
}

.legal-ref {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: .84rem;
    line-height: 1.5;
    color: var(--muted);
}

.legal-ref strong {
    color: var(--ink);
}

.terminos {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr);
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
    margin-top: 20px;
    padding: clamp(20px, 2.6vw, 30px);
    border-radius: var(--radius);
    background: var(--navy);
}

.terminos-titulo {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--white);
}

.terminos-titulo span {
    display: block;
    margin-top: 6px;
    font-size: .88rem;
    font-weight: 500;
    color: #94A3B8;
}

.terminos-lista {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.terminos-lista div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.terminos-lista dd {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 800;
    line-height: 1;
    color: var(--lime);
}

.terminos-lista dt {
    order: 2;
    font-size: .88rem;
    line-height: 1.4;
    color: #CBD5E1;
}

@media (max-width: 900px) {
    .legal-grid,
    .terminos {
        grid-template-columns: 1fr;
    }
}

.seguridad {
    color: #CBD5E1;
    background:
        radial-gradient(760px 340px at 0% 0%, rgba(186, 202, 0, .13), transparent 62%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
}

.section-head-light h2 {
    color: var(--white);
}

.section-head-light p:not(.eyebrow) {
    color: #CBD5E1;
}

.seg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.seg-card {
    padding: clamp(22px, 2.6vw, 30px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .05);
}

.seg-card h3 {
    margin-bottom: 22px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lime);
}

.seg-lista {
    list-style: none;
    display: grid;
    gap: 20px;
}

.seg-lista li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.seg-lista .feature-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    background: rgba(186, 202, 0, .14);
}

.seg-lista h4 {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
}

.seg-lista p {
    margin-top: 4px;
    font-size: .93rem;
    line-height: 1.55;
}

.seg-nota {
    max-width: 760px;
    margin: 28px auto 0;
    font-size: .84rem;
    text-align: center;
    color: #94A3B8;
}

@media (max-width: 900px) {
    .seg-grid {
        grid-template-columns: 1fr;
    }
}

.consultores-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(28px, 5vw, 64px);
    border-radius: 28px;
    color: #CBD5E1;
    background:
        radial-gradient(520px 320px at 100% 0%, rgba(186, 202, 0, .2), transparent 62%),
        var(--navy);
}

.consultores-card h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: var(--white);
}

.consultores-card h2 + p {
    margin: 16px 0 28px;
    font-size: 1.075rem;
}

@media (max-width: 900px) {
    .consultores-card {
        grid-template-columns: 1fr;
    }
}

.inteligencia {
    background: var(--white);
}

.plataforma {
    background:
        radial-gradient(900px 520px at 50% 46%, rgba(186, 202, 0, .14), transparent 66%),
        var(--white);
}

.hub {
    --tramo: 38px;
    --alto-nodo: 80px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

.hub-col {
    position: relative;
    display: grid;
    gap: 18px;
}

.hub-col-izq {
    justify-items: end;
    padding-right: calc(var(--tramo) * 2);
}

.hub-col-der {
    justify-items: start;
    padding-left: calc(var(--tramo) * 2);
}

.hub-col::after {
    content: '';
    position: absolute;
    top: calc(var(--alto-nodo) / 2);
    bottom: calc(var(--alto-nodo) / 2);
    width: 2px;
    background: #C7CED8;
}

.hub-col-izq::after {
    right: calc(var(--tramo) - 1px);
}

.hub-col-der::after {
    left: calc(var(--tramo) - 1px);
}

.hub-nodo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 360px;
    height: var(--alto-nodo);
    padding: 10px 16px 10px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    font: inherit;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.hub-nodo::after {
    content: '';
    position: absolute;
    top: 50%;
    width: var(--tramo);
    height: 2px;
    margin-top: -1px;
    background: #C7CED8;
    transition: background .2s ease;
}

.hub-col-izq .hub-nodo::after {
    left: 100%;
}

.hub-col-der .hub-nodo::after {
    right: 100%;
}

.hub-nodo:hover {
    border-color: var(--lime);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.hub-nodo.is-active {
    border-color: var(--navy);
    background: var(--navy);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.hub-nodo.is-active::after {
    background: var(--lime);
}

.hub-icono {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: var(--lime);
    transition: background .2s ease, color .2s ease;
}

.hub-icono svg {
    width: 27px;
    height: 27px;
}

.hub-nodo.is-active .hub-icono {
    background: var(--lime);
    color: var(--navy-900);
}

.hub-texto {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.25;
}

.hub-texto strong {
    font-size: 1.06rem;
    font-weight: 700;
}

.hub-texto small {
    font-size: .84rem;
    font-weight: 500;
    color: var(--muted);
}

.hub-nodo.is-active .hub-texto small {
    color: #CBD5E1;
}

.hub-mas {
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--lime);
    transition: transform .25s ease;
}

.hub-mas::before,
.hub-mas::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2.5px;
    margin: -1.25px 0 0 -6px;
    border-radius: 2px;
    background: var(--navy-900);
}

.hub-mas::after {
    transform: rotate(90deg);
}

.hub-nodo.is-active .hub-mas {
    transform: rotate(45deg);
}

.plataforma:not(.hay-seleccion) .hub-mas {
    animation: hub-latido 2.4s ease-out infinite;
}

.plataforma:not(.hay-seleccion) .hub-nodo:nth-child(2) .hub-mas { animation-delay: .3s; }
.plataforma:not(.hay-seleccion) .hub-nodo:nth-child(3) .hub-mas { animation-delay: .6s; }
.plataforma:not(.hay-seleccion) .hub-nodo:nth-child(4) .hub-mas { animation-delay: .9s; }

@keyframes hub-latido {
    0% {
        box-shadow: 0 0 0 0 rgba(186, 202, 0, .7);
    }

    60%,
    100% {
        box-shadow: 0 0 0 14px rgba(186, 202, 0, 0);
    }
}

.hub-centro {
    position: relative;
    width: 240px;
    height: 240px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 10px;
    border: 2px solid var(--lime);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 14px rgba(186, 202, 0, .16), 0 0 0 36px rgba(186, 202, 0, .07), var(--shadow-md);
}

.hub-centro img {
    width: 164px;
    height: auto;
}

.hub-lema {
    max-width: 150px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    color: var(--muted);
}

.hub-orbita {
    position: absolute;
    inset: -27px;
    border: 2px dashed rgba(149, 162, 0, .55);
    border-radius: 50%;
    animation: hub-giro 50s linear infinite;
}

@keyframes hub-giro {
    to {
        transform: rotate(360deg);
    }
}

.hub-centro::before,
.hub-centro::after {
    content: '';
    position: absolute;
    top: 50%;
    width: var(--tramo);
    height: 2px;
    margin-top: -1px;
    background: #C7CED8;
}

.hub-centro::before {
    right: 100%;
}

.hub-centro::after {
    left: 100%;
}

.hub-invita {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 34px auto 0;
    padding: 12px 24px 12px 18px;
    border-radius: 999px;
    background: var(--navy);
    box-shadow: var(--shadow-md);
    font-size: .98rem;
    font-weight: 700;
    color: var(--white);
    animation: hub-rebote 1.8s ease-in-out infinite;
}

.hub-invita svg {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--lime);
}

@keyframes hub-rebote {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -6px;
    }
}

.plataforma.hay-seleccion .hub-invita {
    display: none;
}

.plataforma.hay-seleccion .hub-panels {
    margin-top: 34px;
}

@media (max-width: 1100px) {
    .hub {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .hub-col {
        display: contents;
    }

    .hub-centro,
    .hub-col::after,
    .hub-nodo::after {
        display: none;
    }

    .hub-nodo {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .hub {
        gap: 10px;
    }

    .hub-nodo {
        height: auto;
        min-height: 60px;
        gap: 10px;
        padding: 6px 12px 6px 6px;
    }

    .hub-icono {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .hub-icono svg {
        width: 20px;
        height: 20px;
    }

    .hub-texto strong {
        font-size: .88rem;
    }

    .hub-texto small,
    .hub-mas {
        display: none;
    }

    .hub-invita {
        font-size: .9rem;
    }
}

.panel-cuerpo {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
}

.panel-cuerpo h3 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 800;
}

.panel-cuerpo h3 span {
    box-shadow: inset 0 -.38em 0 rgba(186, 202, 0, .55);
}

.panel-cuerpo h3 + p {
    margin: 14px 0 22px;
    font-size: 1.04rem;
    color: var(--muted);
}

.panel-cuerpo > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
}

.flujos-demo .flujo {
    background: var(--soft);
    border-color: transparent;
}

.flujos-demo .flujo:first-child {
    margin-top: 0;
}

.mas-detalle {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.mas-detalle summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.mas-detalle summary::-webkit-details-marker {
    display: none;
}

.mas-detalle summary span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--lime-ink);
}

.mas-detalle summary span::after {
    content: '';
    width: 9px;
    height: 9px;
    border-right: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .25s ease;
}

.mas-detalle[open] summary span::after {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.mas-detalle .compara-tabla {
    margin-top: 20px;
    border: 1px solid var(--line);
}

@media (max-width: 820px) {
    .panel-cuerpo {
        grid-template-columns: 1fr;
    }
}

.ia-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ia-item {
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.ia-item h3 {
    margin-top: 18px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.ia-item p {
    margin-top: 6px;
    font-size: .95rem;
    color: var(--muted);
}

@media (max-width: 1000px) {
    .ia-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .ia-grid {
        grid-template-columns: 1fr;
    }
}

.seg-tiles {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.seg-tiles li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .05);
}

.seg-tiles .feature-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    background: rgba(186, 202, 0, .14);
}

.seg-tiles h3 {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--white);
}

.seg-tiles p {
    margin-top: 2px;
    font-size: .88rem;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .seg-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .seg-tiles {
        grid-template-columns: 1fr;
    }
}

.sectores-fotos {
    --cols: 5;
    --gap: 16px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap);
}

.sectores-fotos li {
    flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: transform .25s ease, box-shadow .25s ease;
}

.sectores-fotos li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.sectores-fotos img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.sectores-fotos span {
    display: block;
    padding: 12px 14px 14px;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: var(--ink);
}

@media (max-width: 1000px) {
    .sectores-fotos {
        --cols: 4;
    }
}

@media (max-width: 760px) {
    .sectores-fotos {
        --cols: 3;
        --gap: 12px;
    }
}

@media (max-width: 520px) {
    .sectores-fotos {
        --cols: 2;
    }

    .sectores-fotos span {
        padding: 10px 8px 12px;
        font-size: .86rem;
    }
}

/* Sectores */
.sectores {
    background: var(--soft);
}

.sectores-grid {
    --cols: 5;
    --gap: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}

.sector-card {
    flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
    padding: 24px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.sector-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.sector-card img {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
}

.sector-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.sector-card p {
    margin-top: 8px;
    font-size: .92rem;
    line-height: 1.55;
    color: var(--muted);
}

.sector-cta {
    flex: 1 1 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-color: transparent;
    background: linear-gradient(150deg, var(--navy), var(--navy-900));
}

.sector-cta h3 {
    color: var(--white);
    font-size: 1.2rem;
}

.sector-cta p {
    color: #CBD5E1;
}

.sector-cta .link-flecha {
    margin-top: 16px;
    color: var(--lime);
}

@media (max-width: 1100px) {
    .sectores-grid {
        --cols: 3;
    }
}

@media (max-width: 700px) {
    .sectores-grid {
        --cols: 2;
        --gap: 14px;
    }

    .sector-card {
        padding: 20px 16px;
    }
}

@media (max-width: 560px) {
    .sectores-grid {
        --cols: 1;
        --gap: 12px;
    }

    .sector-card:not(.sector-cta) {
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 16px;
        align-items: start;
    }

    .sector-card img {
        grid-row: span 2;
        width: 40px;
        height: 40px;
        margin: 2px 0 0;
    }

    .sector-card p {
        margin-top: 4px;
    }
}

/* Testimonios */
.testimonios {
    background: var(--soft);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonio {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: clamp(26px, 3vw, 38px);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.testimonio em {
    align-self: flex-start;
}

.testimonio blockquote {
    position: relative;
    padding-left: 22px;
    border-left: 4px solid var(--lime);
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--ink);
}

.testimonio figcaption {
    display: flex;
    flex-direction: column;
    font-size: .95rem;
}

.testimonio figcaption strong {
    color: var(--ink);
}

.testimonio figcaption span {
    color: var(--muted);
}

@media (max-width: 800px) {
    .testimonios-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card-img {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    background: var(--soft);
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 22px;
}

.blog-card-cat {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--lime-ink);
}

.blog-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.blog-card p {
    font-size: .94rem;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card .link-flecha {
    margin-top: auto;
    padding-top: 8px;
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Preguntas frecuentes */
.faq-inner {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.faq .section-head {
    margin-bottom: 0;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.faq .section-head .btn {
    margin-top: 26px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
    border-top: 1px solid var(--line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '';
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border-right: 2.5px solid var(--lime-ink);
    border-bottom: 2.5px solid var(--lime-ink);
    transform: rotate(45deg) translate(-3px, -3px);
    transition: transform .25s ease;
}

.faq-item[open] summary::after {
    transform: rotate(-135deg) translate(-3px, -3px);
}

.faq-item p {
    padding: 0 40px 24px 4px;
    color: var(--text);
}

@media (max-width: 900px) {
    .faq-inner {
        grid-template-columns: 1fr;
    }

    .faq .section-head {
        position: static;
    }
}

/* Demo */
.demo {
    padding-block: clamp(56px, 7vw, 92px);
    color: #CBD5E1;
    background:
        radial-gradient(800px 500px at 0% 0%, rgba(186, 202, 0, .14), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
}

.demo-inner {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.demo-text {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.demo h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
}

.demo h2 span {
    color: var(--lime);
}

.demo-text > p:not(.eyebrow) {
    max-width: 440px;
    margin-top: 18px;
    font-size: 1.1rem;
}

.demo-contacto {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.demo-contacto li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.demo-contacto svg {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: var(--lime);
}

.demo-contacto a {
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.demo-contacto a:hover {
    color: var(--lime);
}

.demo-card {
    padding: clamp(26px, 3.4vw, 42px);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}

.demo-card h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    font-weight: 800;
}

.demo-pasos {
    list-style: none;
    counter-reset: paso;
    display: grid;
    gap: 18px;
    margin: 26px 0 30px;
}

.demo-pasos li {
    counter-increment: paso;
    position: relative;
    min-height: 40px;
    padding-left: 56px;
    font-size: .97rem;
    color: var(--muted);
}

.demo-pasos li::before {
    content: counter(paso);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    font-weight: 800;
    color: var(--lime);
}

.demo-pasos strong {
    display: block;
    font-size: 1.04rem;
    color: var(--ink);
}

.demo-abrir {
    width: 100%;
    padding-block: 16px;
    font-size: 1.05rem;
}

.demo-modal {
    width: min(760px, calc(100% - 24px));
    height: min(880px, calc(100dvh - 32px));
    max-width: none;
    max-height: none;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: var(--navy);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.demo-modal[open] {
    display: flex;
    flex-direction: column;
    animation: panel-in .25s ease both;
}

.demo-modal::backdrop {
    background: rgba(15, 23, 42, .72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

html:has(.demo-modal[open]) {
    overflow: hidden;
}

.demo-modal-barra {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 12px 12px 22px;
    background: var(--navy-900);
}

.demo-modal-barra h2 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--white);
}

.demo-modal-cerrar {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    cursor: pointer;
    transition: background .2s ease;
}

.demo-modal-cerrar:hover {
    background: rgba(255, 255, 255, .2);
}

.demo-modal-cerrar::before,
.demo-modal-cerrar::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 2.5px;
    margin: -1.25px 0 0 -8px;
    border-radius: 2px;
    background: var(--white);
    transform: rotate(45deg);
}

.demo-modal-cerrar::after {
    transform: rotate(-45deg);
}

.demo-modal iframe {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    border: 0;
    background: var(--navy);
}

.terms-notice {
    margin-top: 14px;
    font-size: .8rem;
    text-align: center;
    color: #94A3B8;
}

.terms-notice a {
    color: var(--lime);
    font-weight: 600;
}

@media (max-width: 900px) {
    .demo-inner {
        grid-template-columns: 1fr;
    }

    .demo-text {
        position: static;
    }

}

/* Footer y whatsapp */
.footer {
    color: #94A3B8;
    background: var(--navy-900);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .9fr .9fr 1.3fr;
    gap: clamp(28px, 4vw, 56px);
    padding-block: clamp(48px, 6vw, 72px);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 340px;
    font-size: .95rem;
}

.footer-cert {
    display: inline-block;
    margin-top: 24px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--white);
}

.footer-cert img {
    height: 54px;
    width: auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 11px;
    font-size: .95rem;
}

.footer-col h3 {
    margin-bottom: 8px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--white);
}

.footer-col a {
    color: #94A3B8;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.footer-col a:hover,
.footer-bottom a:hover {
    color: var(--lime);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .85rem;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    padding-block: 20px;
}

.footer-bottom a {
    margin-left: 20px;
    color: inherit;
    text-decoration: none;
}

.footer-bottom a:first-child {
    margin-left: 0;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        padding-right: 76px;
    }
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
    transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .36);
}

@media (max-width: 700px) {
    .whatsapp-float {
        right: 16px;
        bottom: 18px;
        width: 54px;
        height: 54px;
    }
}

/* Animaciones */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.js .reveal.is-in {
    opacity: 1;
    transform: none;
}

.pilares .reveal:nth-child(2) { transition-delay: .08s; }
.pilares .reveal:nth-child(3) { transition-delay: .16s; }
.pilares .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }

    .logos-row {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .logos-track {
        width: auto;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logos-track [aria-hidden="true"] {
        display: none;
    }
}
