:root {
    --fx-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --fx-shadow-soft: 0 20px 40px -28px rgba(15, 23, 42, 0.45);
    --fx-shadow-hover: 0 34px 56px -30px rgba(76, 29, 149, 0.42), 0 18px 36px -30px rgba(14, 116, 144, 0.35);
}

body.preload-active {
    overflow: hidden;
}

.page-preloader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 35%, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0) 28%),
        radial-gradient(circle at 50% 70%, rgba(56, 189, 248, 0.12) 0%, rgba(56, 189, 248, 0) 34%),
        linear-gradient(180deg, #020203 0%, #05050a 42%, #000000 100%);
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.72s var(--fx-ease-out), visibility 0.72s var(--fx-ease-out);
}

.page-preloader::before,
.page-preloader::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.page-preloader::before {
    width: min(42vw, 420px);
    height: min(42vw, 420px);
    background: radial-gradient(circle, rgba(124, 58, 237, 0.24) 0%, rgba(124, 58, 237, 0) 68%);
    filter: blur(18px);
    animation: preloaderGlowFloat 4.4s ease-in-out infinite;
}

.page-preloader::after {
    width: min(58vw, 580px);
    height: min(58vw, 580px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0.72;
    animation: preloaderHaloPulse 3.6s ease-in-out infinite;
}

.page-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.page-preloader__inner {
    position: relative;
    width: 132px;
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-preloader__orb {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        radial-gradient(circle at 30% 30%, rgba(96, 165, 250, 0.24), rgba(96, 165, 250, 0) 55%);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.04), 0 18px 52px rgba(14, 165, 233, 0.12);
    backdrop-filter: blur(12px);
}

.page-preloader__orb::before,
.page-preloader__orb::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: inherit;
}

.page-preloader__orb::before {
    border: 2px solid transparent;
    border-top-color: rgba(192, 132, 252, 0.9);
    border-right-color: rgba(56, 189, 248, 0.88);
    animation: preloaderSpin 1.35s linear infinite;
}

.page-preloader__orb::after {
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: preloaderPulse 1.9s ease-in-out infinite;
}

.page-preloader__logo {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7c3aed 0%, #4338ca 48%, #0ea5e9 100%);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-indent: 0.28em;
    box-shadow: 0 18px 35px rgba(79, 70, 229, 0.42), 0 0 24px rgba(56, 189, 248, 0.22);
    animation: preloaderLogoFloat 1.8s ease-in-out infinite;
}

@keyframes preloaderSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes preloaderPulse {
    0%,
    100% {
        opacity: 0.38;
        transform: scale(0.94);
    }
    50% {
        opacity: 0.84;
        transform: scale(1);
    }
}

@keyframes preloaderLogoFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes preloaderGlowFloat {
    0%,
    100% {
        transform: scale(0.94);
        opacity: 0.58;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.88;
    }
}

@keyframes preloaderHaloPulse {
    0%,
    100% {
        transform: scale(0.92);
        opacity: 0.26;
    }
    50% {
        transform: scale(1.04);
        opacity: 0.52;
    }
}

/* Utility shims for classes used in templates when Tailwind CDN is disabled */
.text-sky-300 {
    --tw-text-opacity: 1;
    color: rgb(125 211 252 / var(--tw-text-opacity, 1));
}

.text-sky-400 {
    --tw-text-opacity: 1;
    color: rgb(56 189 248 / var(--tw-text-opacity, 1));
}

.text-sky-700 {
    --tw-text-opacity: 1;
    color: rgb(3 105 161 / var(--tw-text-opacity, 1));
}

.text-justify {
    text-align: justify;
}

.bg-sky-700 {
    --tw-bg-opacity: 1;
    background-color: rgb(3 105 161 / var(--tw-bg-opacity, 1));
}

.section > section {
    position: relative;
    overflow: hidden;
}

.section > section::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -12%;
    width: 46%;
    height: 56%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, rgba(59, 130, 246, 0) 74%);
    pointer-events: none;
    z-index: 0;
}

.section > section > * {
    position: relative;
    z-index: 1;
}

.js-enhanced .section > section {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.985);
    filter: blur(8px);
    transition: opacity 0.78s var(--fx-ease-out), transform 0.78s var(--fx-ease-out), filter 0.62s ease;
}

.js-enhanced .section > section.section-mounted {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.985);
    filter: blur(6px);
    transition: opacity 0.72s var(--fx-ease-out), transform 0.72s var(--fx-ease-out), filter 0.56s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.hero-intro {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    animation: heroIntroIn 0.85s var(--fx-ease-out) forwards;
    animation-delay: var(--hero-intro-delay, 0ms);
}

@keyframes heroIntroIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.hero-section {
    isolation: isolate;
    background:
        radial-gradient(120% 90% at 8% 50%, rgba(139, 92, 246, 0.36) 0%, rgba(139, 92, 246, 0) 56%),
        radial-gradient(100% 80% at 92% 48%, rgba(59, 130, 246, 0.42) 0%, rgba(59, 130, 246, 0) 58%),
        linear-gradient(var(--hero-gradient-angle, 100deg), #312e81 0%, #4338ca 22%, #7c3aed 45%, #2563eb 65%, #1d4ed8 84%, #312e81 100%) !important;
    background-size: var(--hero-size-a, 220% 100%), var(--hero-size-b, 220% 100%), var(--hero-size-c, 260% 100%) !important;
    background-position: var(--hero-bg-pos-a, 0% 50%), var(--hero-bg-pos-b, 100% 50%), var(--hero-bg-pos-c, 0% 50%);
    transition: background-position 5.2s cubic-bezier(0.22, 1, 0.36, 1), background-size 5.2s cubic-bezier(0.22, 1, 0.36, 1), background-image 0.8s linear;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: auto -32% -26% -32%;
    height: 55%;
    background:
        radial-gradient(42% 55% at 12% 42%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 70%),
        radial-gradient(46% 60% at 36% 52%, rgba(199, 210, 254, 0.22) 0%, rgba(199, 210, 254, 0) 72%),
        radial-gradient(44% 55% at 62% 42%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 72%),
        radial-gradient(40% 52% at 86% 48%, rgba(167, 139, 250, 0.24) 0%, rgba(167, 139, 250, 0) 72%);
    opacity: 0.52;
    pointer-events: none;
    z-index: 0;
    animation: heroWaveLayerLeft var(--hero-wave-left-duration, 14s) linear infinite;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: auto -26% -38% -26%;
    height: 60%;
    background:
        radial-gradient(46% 60% at 16% 40%, rgba(165, 180, 252, 0.22) 0%, rgba(165, 180, 252, 0) 72%),
        radial-gradient(50% 66% at 48% 50%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 74%),
        radial-gradient(44% 58% at 82% 42%, rgba(129, 140, 248, 0.2) 0%, rgba(129, 140, 248, 0) 72%);
    mix-blend-mode: screen;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    animation: heroWaveLayerRight var(--hero-wave-right-duration, 18s) linear infinite;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

.hero-section .code-rain-container {
    z-index: 1;
}

@keyframes heroWaveLayerLeft {
    0% {
        transform: translate3d(-8%, 0, 0) scale(1.02);
    }
    50% {
        transform: translate3d(8%, -3%, 0) scale(1.08);
    }
    100% {
        transform: translate3d(-8%, 0, 0) scale(1.02);
    }
}

@keyframes heroWaveLayerRight {
    0% {
        transform: translate3d(10%, 0, 0) scale(1.04);
    }
    50% {
        transform: translate3d(-10%, 2%, 0) scale(1.1);
    }
    100% {
        transform: translate3d(10%, 0, 0) scale(1.04);
    }
}

/* Tarjetas de funcionalidades en CSS externo */
#funcionalidades .col-md-4 {
    perspective: 1200px;
}

#funcionalidades .card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 100%;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
    border-radius: 1.2rem !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(129, 140, 248, 0.14) 0%, rgba(129, 140, 248, 0) 34%),
        radial-gradient(circle at 0% 100%, rgba(14, 165, 233, 0.12) 0%, rgba(14, 165, 233, 0) 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    box-shadow: 0 18px 36px -24px rgba(15, 23, 42, 0.38), 0 8px 18px -14px rgba(15, 23, 42, 0.12) !important;
    transform-origin: center bottom;
    transform-style: preserve-3d;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease, background 0.45s ease !important;
    animation: featureCardFloat 7.2s ease-in-out infinite;
}

#funcionalidades .card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(120deg, rgba(139, 92, 246, 0.48), rgba(14, 165, 233, 0.38), rgba(16, 185, 129, 0.35));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.68;
    transition: opacity 0.35s ease, filter 0.35s ease;
    pointer-events: none;
    z-index: 2;
}

#funcionalidades .card::after {
    content: "";
    position: absolute;
    inset: auto -18% -42% -18%;
    height: 220px;
    background:
        radial-gradient(ellipse at center, rgba(139, 92, 246, 0.22) 0%, rgba(14, 165, 233, 0.14) 42%, rgba(255, 255, 255, 0) 74%),
        linear-gradient(120deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.28) 48%, rgba(255, 255, 255, 0) 82%);
    background-size: auto, 220% 100%;
    background-position: center, 140% 0;
    filter: blur(16px);
    opacity: 0.78;
    transform: translateY(22px);
    transition: opacity 0.35s ease, transform 0.35s ease, background-position 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

#funcionalidades .card:hover {
    transform: translateY(-12px) rotateX(5deg) rotateY(-4deg) scale(1.018) !important;
    border-color: rgba(139, 92, 246, 0.42) !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.18) 0%, rgba(139, 92, 246, 0) 34%),
        radial-gradient(circle at 0% 100%, rgba(14, 165, 233, 0.16) 0%, rgba(14, 165, 233, 0) 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(244, 247, 255, 0.99) 100%) !important;
    box-shadow: 0 34px 54px -28px rgba(76, 29, 149, 0.48), 0 18px 36px -24px rgba(14, 165, 233, 0.36) !important;
    animation-play-state: paused;
}

#funcionalidades .card:hover::before {
    opacity: 1;
    filter: saturate(1.15);
}

#funcionalidades .card:hover::after {
    opacity: 1;
    transform: translateY(4px);
    background-position: center, 18% 0;
}

#funcionalidades .card .card-body,
#funcionalidades .card .card-img-top,
#funcionalidades .card .card-title,
#funcionalidades .card .card-text {
    position: relative;
    z-index: 1;
}

#funcionalidades .card .card-img-top {
    padding: 1.15rem 1.15rem 0;
    border-bottom: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0) 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(248, 250, 252, 0.9));
    transform-origin: center;
    transition: transform 0.45s ease, filter 0.45s ease;
}

#funcionalidades .card .card-title {
    color: #1f2937;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

#funcionalidades .card .card-text {
    color: #475569;
    line-height: 1.72;
    transition: color 0.3s ease;
}

#funcionalidades .card .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1.25rem 1.3rem 1.35rem;
}

#funcionalidades .card .card-body::before {
    content: "";
    width: 52px;
    height: 3px;
    border-radius: 999px;
    margin-bottom: 0.95rem;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.96), rgba(56, 189, 248, 0.92));
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.18);
}

#funcionalidades .card:hover .card-img-top {
    transform: translateY(-6px) scale(1.035);
    filter: drop-shadow(0 18px 26px rgba(99, 102, 241, 0.14));
}

#funcionalidades .card:hover .card-title {
    color: #4338ca;
    transform: translateX(2px);
}

#funcionalidades .card:hover .card-text {
    color: #334155;
}

#funcionalidades .col-md-4:nth-child(3n + 1) .card {
    animation-delay: 0s;
}

#funcionalidades .col-md-4:nth-child(3n + 2) .card {
    animation-delay: 1.15s;
}

#funcionalidades .col-md-4:nth-child(3n + 3) .card {
    animation-delay: 2.3s;
}

@keyframes featureCardFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -6px, 0);
    }
}

#capturas {
    position: relative;
}

.capture-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.capture-showcase__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.capture-showcase__pill {
    border: 1px solid rgba(196, 181, 253, 0.48);
    border-radius: 999px;
    padding: 0.72rem 1rem;
    background: rgba(255, 255, 255, 0.72);
    color: #5b21b6;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 25px -20px rgba(76, 29, 149, 0.38);
    backdrop-filter: blur(12px);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.capture-showcase__pill:hover,
.capture-showcase__pill[aria-pressed="true"] {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.62);
    background: linear-gradient(135deg, rgba(237, 233, 254, 0.98), rgba(224, 242, 254, 0.98));
    color: #312e81;
    box-shadow: 0 18px 28px -18px rgba(76, 29, 149, 0.36);
}

.capture-showcase__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.78fr);
    gap: 1.25rem;
    align-items: start;
}

.capture-showcase__stage {
    position: relative;
}

.capture-panel {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.capture-panel:not(:first-child) {
    display: none;
}

.capture-showcase.is-enhanced .capture-showcase__stage {
    min-height: 540px;
}

.capture-showcase.is-enhanced .capture-panel {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 24px, 0) scale(0.985);
    transition: opacity 0.55s var(--fx-ease-out), transform 0.55s var(--fx-ease-out), visibility 0.55s ease;
}

.capture-showcase.is-enhanced .capture-panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
}

.capture-panel__shell {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(circle at top left, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0) 34%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0) 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    box-shadow: 0 28px 60px -34px rgba(15, 23, 42, 0.34), 0 18px 36px -30px rgba(76, 29, 149, 0.26);
    padding: 1rem;
}

.capture-panel__chrome {
    display: flex;
    gap: 0.45rem;
    padding: 0.15rem 0.2rem 0.9rem;
}

.capture-panel__chrome span {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #c4b5fd, #60a5fa);
    opacity: 0.85;
}

.capture-panel__hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.2rem;
    align-items: center;
    min-height: 400px;
}

.capture-panel__copy {
    padding: 1rem 1rem 1rem 0.55rem;
}

.capture-panel__eyebrow,
.capture-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #7c3aed;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.capture-panel__title {
    margin: 0.8rem 0 0.9rem;
    color: #0f172a;
    font-size: clamp(1.7rem, 2vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.capture-panel__description {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.78;
    max-width: 34rem;
}

.capture-panel__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.2rem;
}

.capture-panel__chip {
    padding: 0.62rem 0.84rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.96);
    color: #334155;
    font-size: 0.77rem;
    font-weight: 700;
    box-shadow: 0 12px 24px -22px rgba(15, 23, 42, 0.36);
}

.capture-panel__visual {
    position: relative;
    min-height: 370px;
    border-radius: 1.65rem;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(49, 46, 129, 0.95), rgba(91, 33, 182, 0.88) 42%, rgba(14, 165, 233, 0.82) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem;
    isolation: isolate;
}

.capture-panel__glow {
    position: absolute;
    inset: auto 10% -14% 10%;
    height: 42%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(20px);
    opacity: 0.8;
    animation: captureGlowFloat 4.2s ease-in-out infinite;
}

.capture-panel__image {
    position: relative;
    z-index: 1;
    width: min(100%, 390px);
    filter: drop-shadow(0 26px 44px rgba(15, 23, 42, 0.32));
    transform: translate3d(0, 0, 0);
    animation: captureImageFloat 5.8s ease-in-out infinite;
}

.capture-panel__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.capture-panel__metric {
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.88);
    background: rgba(255, 255, 255, 0.82);
    padding: 0.9rem 1rem;
    color: #1e293b;
    font-size: 0.84rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 12px 24px -24px rgba(15, 23, 42, 0.34);
}

.capture-showcase__rail {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.capture-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    width: 100%;
    text-align: left;
    border-radius: 1.35rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.82);
    padding: 0.9rem;
    box-shadow: 0 18px 32px -28px rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.capture-card:hover,
.capture-card.is-active {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.42);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 255, 0.94));
    box-shadow: 0 24px 36px -26px rgba(76, 29, 149, 0.28);
}

.capture-card__thumb {
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(49, 46, 129, 0.94), rgba(14, 165, 233, 0.86));
    padding: 0.65rem;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.capture-card__thumb img {
    width: 100%;
    max-width: 64px;
    filter: drop-shadow(0 14px 20px rgba(15, 23, 42, 0.22));
}

.capture-card__title {
    margin-top: 0.35rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.capture-card__text {
    margin: 0.35rem 0 0;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.55;
}

.capture-slider-block {
    margin-top: 2rem;
    padding: 1.35rem;
    border-radius: 1.9rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background:
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.14), rgba(139, 92, 246, 0) 30%),
        radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.12), rgba(56, 189, 248, 0) 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
    box-shadow: 0 24px 52px -34px rgba(15, 23, 42, 0.3), 0 14px 24px -26px rgba(76, 29, 149, 0.22);
}

.capture-slider-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.capture-slider-block__eyebrow,
.capture-slide__eyebrow {
    display: inline-block;
    color: #7c3aed;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.capture-slider-block__title {
    margin: 0.45rem 0 0;
    color: #0f172a;
    font-size: clamp(1.1rem, 1.5vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.capture-slider-block__controls {
    display: flex;
    gap: 0.7rem;
}

.capture-slider-block__nav {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(196, 181, 253, 0.52);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #4c1d95;
    font-size: 1rem;
    box-shadow: 0 12px 24px -22px rgba(76, 29, 149, 0.36);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.capture-slider-block__nav:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.72);
    background: linear-gradient(135deg, rgba(237, 233, 254, 0.98), rgba(224, 242, 254, 0.98));
}

.capture-slider__viewport {
    overflow: hidden;
    border-radius: 1.55rem;
}

.capture-slider__track {
    display: flex;
    transition: transform 0.58s var(--fx-ease-out);
    will-change: transform;
}

.capture-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 1.1rem;
    align-items: center;
    min-width: 0;
}

.capture-slide__media {
    min-height: 270px;
    border-radius: 1.55rem;
    padding: 1.25rem;
    background:
        linear-gradient(145deg, rgba(49, 46, 129, 0.96), rgba(91, 33, 182, 0.9) 44%, rgba(14, 165, 233, 0.82) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.capture-slide__media img {
    width: min(100%, 360px);
    filter: drop-shadow(0 24px 34px rgba(15, 23, 42, 0.3));
}

#capturas img[data-image-zoomable] {
    cursor: zoom-in;
}

body.lightbox-open {
    overflow: hidden;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.9rem, 2.2vw, 1.8rem);
    background: rgba(2, 6, 23, 0.82);
    backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.32s ease, visibility 0.32s ease;
    z-index: 10000;
}

.image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.image-lightbox__dialog {
    position: relative;
    width: min(96vw, 1260px);
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-lightbox__img {
    width: auto;
    max-width: 100%;
    max-height: calc(92vh - 3.4rem);
    object-fit: contain;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 30px 64px -30px rgba(15, 23, 42, 0.86);
    background: rgba(15, 23, 42, 0.6);
}

.image-lightbox__caption {
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: -2rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
    text-align: center;
}

.image-lightbox__close {
    position: absolute;
    top: -0.35rem;
    right: -0.15rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 23, 42, 0.66);
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease;
}

.image-lightbox__close:hover {
    transform: scale(1.06);
    background: rgba(30, 41, 59, 0.88);
}

.image-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(15, 23, 42, 0.68);
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
    z-index: 2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    user-select: none;
}

.image-lightbox__nav:hover {
    transform: translateY(-50%) scale(1.1);
    background: rgba(109, 40, 217, 0.82);
    border-color: rgba(167, 139, 250, 0.6);
}

.image-lightbox__nav--prev {
    left: clamp(0.5rem, 2.5vw, 2.2rem);
}

.image-lightbox__nav--next {
    right: clamp(0.5rem, 2.5vw, 2.2rem);
}

.capture-slide__content {
    padding: 0.45rem 0.2rem;
}

.capture-slide__title {
    margin: 0.6rem 0 0.8rem;
    color: #0f172a;
    font-size: clamp(1.35rem, 1.8vw, 1.85rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.capture-slide__message {
    margin: 0;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.8;
    max-width: 32rem;
}

.capture-slider__dots {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 1rem;
}

.capture-slider__dot {
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
    transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.capture-slider__dot.is-active {
    width: 34px;
    background: linear-gradient(90deg, #7c3aed, #38bdf8);
}

@keyframes captureImageFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -8px, 0) scale(1.02);
    }
}

@keyframes captureGlowFloat {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.68;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.98;
    }
}

.revenue-counter {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
    transition: text-shadow 0.28s ease, transform 0.28s ease;
}

.revenue-counter.is-updating {
    text-shadow: 0 0 14px rgba(167, 243, 208, 0.58);
    transform: translateY(-1px);
}

.hero-whatsapp-btn {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: linear-gradient(135deg, #25d366 0%, #1faa57 52%, #128c4f 100%);
    box-shadow: 0 16px 30px -14px rgba(37, 211, 102, 0.7), 0 8px 18px -16px rgba(18, 140, 79, 0.9);
    letter-spacing: 0.01em;
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
    animation: whatsappButtonPulse 2.2s ease-in-out infinite;
}

.hero-whatsapp-btn:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.06);
    box-shadow: 0 20px 34px -14px rgba(37, 211, 102, 0.78), 0 10px 20px -14px rgba(18, 140, 79, 0.95);
}

.hero-whatsapp-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

.hero-whatsapp-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.header-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #25d366 0%, #1faa57 52%, #128c4f 100%);
    border: 1px solid rgba(18, 140, 79, 0.18);
    box-shadow: 0 14px 28px -18px rgba(37, 211, 102, 0.88), 0 10px 18px -18px rgba(18, 140, 79, 0.95);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.header-contact-btn svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.header-contact-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 18px 32px -18px rgba(37, 211, 102, 0.92), 0 12px 20px -18px rgba(18, 140, 79, 0.98);
}

.header-contact-btn:focus-visible {
    outline: 2px solid rgba(37, 211, 102, 0.35);
    outline-offset: 2px;
}

.mobile-menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 0.9rem;
    border: 1px solid rgba(196, 181, 253, 0.68);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 233, 254, 0.92));
    color: #4c1d95;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    box-shadow: 0 12px 26px -22px rgba(76, 29, 149, 0.8);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.mobile-menu-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(124, 58, 237, 0.78);
    box-shadow: 0 16px 30px -22px rgba(76, 29, 149, 0.86);
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid rgba(124, 58, 237, 0.42);
    outline-offset: 2px;
}

.mobile-menu-toggle__line {
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-menu-toggle.is-active .mobile-menu-toggle__line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

.mobile-menu-toggle.is-active .mobile-menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active .mobile-menu-toggle__line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu-panel {
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    background:
        radial-gradient(circle at 10% -10%, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0) 45%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    box-shadow: 0 18px 32px -30px rgba(15, 23, 42, 0.5);
    padding: 0.45rem 1rem 0.9rem;
}

.mobile-menu-panel[hidden] {
    display: none !important;
}

.mobile-menu-panel__nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.mobile-menu-panel__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    border-radius: 0.78rem;
    padding: 0.55rem 0.75rem;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu-panel__nav a:hover,
.mobile-menu-panel__nav a:focus-visible {
    color: #4c1d95;
    background: rgba(237, 233, 254, 0.82);
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (min-width: 768px) {
    .mobile-menu-toggle,
    .mobile-menu-panel {
        display: none !important;
    }
}

@media (max-width: 639px) {
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .header-contact-btn {
        padding: 0.65rem 0.85rem;
        font-size: 0.74rem;
    }
}

@keyframes whatsappButtonPulse {
    0%,
    100% {
        box-shadow: 0 16px 30px -14px rgba(37, 211, 102, 0.7), 0 8px 18px -16px rgba(18, 140, 79, 0.9);
    }
    50% {
        box-shadow: 0 22px 36px -14px rgba(37, 211, 102, 0.82), 0 10px 22px -14px rgba(18, 140, 79, 0.98);
    }
}

.hero-stat-card {
    position: relative;
    overflow: hidden;
    transition: border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease;
}

.hero-stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #332d82;
    opacity: 0;
    transition: opacity 0.65s ease;
    pointer-events: none;
}

.hero-stat-card > * {
    position: relative;
    z-index: 1;
}

.hero-stat-card.is-random-active {
    border-color: rgba(196, 181, 253, 0.75) !important;
    box-shadow: 0 12px 30px -18px rgba(51, 45, 130, 0.95);
    transform: translateY(-1px);
}

.hero-stat-card.is-random-active::before {
    opacity: 0.92;
}

.modern-box {
    position: relative;
    transition: transform 0.45s var(--fx-ease-out), box-shadow 0.45s var(--fx-ease-out), border-color 0.32s ease;
    box-shadow: var(--fx-shadow-soft);
    will-change: transform;
}

.modern-box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(125deg, rgba(139, 92, 246, 0.11), rgba(59, 130, 246, 0.07) 50%, rgba(16, 185, 129, 0.06));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.modern-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--fx-shadow-hover);
    border-color: rgba(139, 92, 246, 0.34) !important;
}

.modern-box:hover::after {
    opacity: 1;
}

#modulos.modules-showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(920px 360px at 8% -8%, rgba(167, 139, 250, 0.34), transparent 62%),
        radial-gradient(780px 300px at 92% 8%, rgba(59, 130, 246, 0.22), transparent 64%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 52%, #f8fafc 100%);
}

#modulos.modules-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.72), transparent 86%);
}

#modulos.modules-showcase .container {
    position: relative;
    z-index: 1;
}

.module-spotlight-wrap {
    height: 100%;
}

.module-spotlight {
    position: relative;
    height: 100%;
    min-height: 360px;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 24px 44px -34px rgba(15, 23, 42, 0.45);
    transition: transform 0.36s ease, box-shadow 0.36s ease, border-color 0.3s ease;
    isolation: isolate;
}

.module-spotlight__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 0.45s ease, transform 0.55s ease;
    z-index: 0;
}

.module-spotlight__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.88), rgba(49, 46, 129, 0.66) 48%, rgba(30, 64, 175, 0.68));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.module-spotlight__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: 100%;
    padding: 1.3rem;
}

.module-spotlight__icon {
    width: 48px;
    height: 48px;
    border-radius: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #6d28d9, #9333ea);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 12px 26px -16px rgba(91, 33, 182, 0.9);
    transition: transform 0.28s ease, background 0.28s ease;
}

.module-spotlight__title {
    margin: 0;
    color: #0f172a;
    font-size: 1.24rem;
    font-weight: 800;
    line-height: 1.2;
}

.module-spotlight__description {
    margin: 0;
    color: #334155;
    font-size: 0.93rem;
    line-height: 1.56;
}

.module-spotlight__list {
    margin: auto 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.module-spotlight__list li {
    position: relative;
    padding-left: 1.15rem;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.45;
}

.module-spotlight__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.16);
}

.module-spotlight:hover {
    transform: translateY(-8px);
    border-color: rgba(167, 139, 250, 0.54);
    box-shadow: 0 30px 52px -34px rgba(30, 41, 59, 0.58);
}

.module-spotlight:hover .module-spotlight__image {
    opacity: 1;
    transform: scale(1.03);
}

.module-spotlight:hover .module-spotlight__veil {
    opacity: 1;
}

.module-spotlight:hover .module-spotlight__icon {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #a855f7, #3b82f6);
}

.module-spotlight:hover .module-spotlight__title,
.module-spotlight:hover .module-spotlight__description,
.module-spotlight:hover .module-spotlight__list li {
    color: rgba(255, 255, 255, 0.95);
}

.module-spotlight:hover .module-spotlight__list li::before {
    background: #f8fafc;
    box-shadow: 0 0 0 4px rgba(248, 250, 252, 0.22);
}

.module-pager__btn {
    min-width: 44px;
    font-weight: 700;
}

.finance-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        /* fade suave desde la sección anterior */
    linear-gradient(to bottom, rgba(248, 250, 252, 0.07) 0%, rgba(248, 250, 252, 0.02) 12%, transparent 22%),
    radial-gradient(900px 360px at 8% -12%, rgba(139, 92, 246, 0.18), transparent 62%),
    radial-gradient(860px 360px at 94% -18%, rgba(6, 182, 212, 0.1), transparent 62%),
    linear-gradient(160deg, #1e293b 0%, #27335f 46%, #1f2a44 100%);
}

.finance-section::before,
.finance-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.finance-section::before {
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.2;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 88%);
}

.finance-section::after {
    width: min(46vw, 620px);
    height: min(46vw, 620px);
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0));
    filter: blur(28px);
    animation: financeAuraShift 12s ease-in-out infinite;
}

@keyframes financeAuraShift {
    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.82;
    }
    50% {
        transform: translateX(-48%) scale(1.08);
        opacity: 1;
    }
}

.finance-section .container {
    position: relative;
    z-index: 1;
}

.finance-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    border: 1px solid rgba(167, 139, 250, 0.62);
    background: rgba(15, 23, 42, 0.78);
    color: #ddd6fe;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.finance-section__header h2 {
    text-shadow: 0 16px 38px rgba(3, 7, 18, 0.75);
}

.finance-section__header p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

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

.finance-card {
    --finance-accent-a: #a78bfa;
    --finance-accent-b: #22d3ee;
    --finance-glow: rgba(34, 211, 238, 0.22);
    position: relative;
    overflow: hidden;
    border-radius: 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background:
        linear-gradient(162deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.84) 52%, rgba(15, 23, 42, 0.9)),
        radial-gradient(circle at top right, var(--finance-glow), transparent 62%);
    box-shadow: 0 24px 46px -30px rgba(2, 6, 23, 0.95);
    padding: 1.05rem 1.05rem 1.08rem;
    transition: transform 0.4s var(--fx-ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
}

.finance-card:nth-child(2n) {
    --finance-accent-a: #60a5fa;
    --finance-accent-b: #22d3ee;
    --finance-glow: rgba(59, 130, 246, 0.2);
}

.finance-card:nth-child(3n) {
    --finance-accent-a: #f472b6;
    --finance-accent-b: #a78bfa;
    --finance-glow: rgba(236, 72, 153, 0.18);
}

.finance-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(118deg, transparent 0%, rgba(255, 255, 255, 0.08) 46%, transparent 62%);
    transform: translateX(-120%);
    transition: transform 0.82s ease;
    pointer-events: none;
}

.finance-card::before {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--finance-accent-a), var(--finance-accent-b));
    opacity: 0.78;
    box-shadow: 0 0 16px -6px var(--finance-glow);
    transition: opacity 0.34s ease, box-shadow 0.34s ease;
    pointer-events: none;
}

.finance-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--finance-accent-a) 44%, #94a3b8);
    box-shadow: 0 36px 64px -30px rgba(2, 6, 23, 0.98), 0 18px 42px -30px var(--finance-glow);
}

.finance-card:hover::before {
    opacity: 1;
    box-shadow: 0 0 20px -6px var(--finance-glow);
}

.finance-card:hover::after {
    transform: translateX(120%);
}

.finance-card__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.72rem;
}

.finance-card__number {
    min-width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #f8fafc;
    background: linear-gradient(145deg, var(--finance-accent-a), var(--finance-accent-b));
    box-shadow: 0 16px 24px -16px var(--finance-glow);
}

.finance-card__art-wrap {
    width: 40px;
    height: 40px;
    border-radius: 0.78rem;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: rgba(15, 23, 42, 0.58);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease;
    animation: financeIconFloat 4.8s ease-in-out infinite;
}

@keyframes financeIconFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

.finance-card:hover .finance-card__art-wrap {
    border-color: color-mix(in srgb, var(--finance-accent-a) 50%, #cbd5e1);
    transform: scale(1.04);
}

.finance-card__art {
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 0.96;
}

.finance-card__title {
    position: relative;
    z-index: 1;
    margin: 0 0 0.48rem;
    color: #f8fafc;
    font-size: clamp(1.02rem, 1.35vw, 1.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.finance-card__lead {
    position: relative;
    z-index: 1;
    margin: 0 0 0.46rem;
    color: color-mix(in srgb, var(--finance-accent-a) 66%, #e2e8f0);
    font-size: 0.86rem;
    line-height: 1.45;
    font-weight: 600;
}

.finance-card__description {
    position: relative;
    z-index: 1;
    margin: 0 0 0.72rem;
    color: #dbe6f4;
    font-size: 0.82rem;
    line-height: 1.55;
}

.finance-card__list {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.42rem;
}

.finance-card__list li {
    position: relative;
    padding-left: 1.05rem;
    color: #e2e8f0;
    font-size: 0.8rem;
    line-height: 1.38;
}

.finance-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
    background: var(--finance-accent-b);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--finance-accent-b) 26%, transparent);
}

.finance-section__header.reveal-on-scroll {
    transform: translate3d(0, 18px, 0) scale(0.99);
    filter: blur(6px);
}

.finance-section__header.reveal-on-scroll.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.finance-card.reveal-on-scroll {
    transform: translate3d(0, 24px, 0) scale(0.985);
    filter: blur(7px);
}

.finance-card.reveal-on-scroll.is-visible {
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

@media (min-width: 768px) {
    .finance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .finance-card {
        min-height: 296px;
    }
}

@media (min-width: 1200px) {
    .finance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .finance-grid .finance-card:last-child {
        grid-column: span 2;
    }

    .finance-card {
        min-height: 282px;
    }
}

.module-card-enter {
    animation: moduleCardIn 0.62s var(--fx-ease-out) both;
    animation-delay: var(--module-enter-delay, 0ms);
}

@keyframes moduleCardIn {
    from {
        opacity: 0;
        transform: translate3d(0, 22px, 0) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

#preguntas #demo {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

#preguntas #demo::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(139, 92, 246, 0.15);
    pointer-events: none;
}

@media (max-width: 767px) {
    .capture-showcase__layout {
        grid-template-columns: 1fr;
    }

    .module-spotlight {
        min-height: 340px;
    }

    .module-spotlight__body {
        padding: 1.15rem;
    }

    .capture-showcase__stage {
        min-height: auto;
    }

    .capture-showcase.is-enhanced .capture-showcase__stage {
        min-height: 680px;
    }

    .capture-panel__hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .capture-panel__copy {
        padding: 0.4rem 0.25rem 0;
    }

    .capture-panel__visual {
        min-height: 280px;
    }

    .capture-panel__metrics {
        grid-template-columns: 1fr;
    }

    .capture-slider-block {
        padding: 1rem;
    }

    .capture-slider-block__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .capture-slide {
        grid-template-columns: 1fr;
    }

    .capture-slide__media {
        min-height: 220px;
    }

    .image-lightbox__caption {
        bottom: -1.7rem;
        font-size: 0.76rem;
    }

    .capture-showcase__rail {
        gap: 0.75rem;
    }

    .capture-card {
        grid-template-columns: 78px minmax(0, 1fr);
    }

    #funcionalidades .card {
        animation-duration: 8.8s;
    }

    .modern-box:hover {
        transform: translateY(-4px);
    }
}

@media (prefers-reduced-motion: reduce) {
    #funcionalidades .card,
    #funcionalidades .card .card-img-top,
    #funcionalidades .card .card-title,
    .capture-panel,
    .capture-panel__image,
    .capture-panel__glow,
    .capture-slider__track,
    .image-lightbox,
    .image-lightbox__close,
    .image-lightbox__nav,
    .finance-card,
    .finance-card::before,
    .finance-card::after,
    .finance-card__art-wrap,
    .finance-section::after,
    .page-preloader,
    .page-preloader::before,
    .page-preloader::after,
    .page-preloader__orb,
    .page-preloader__orb::before,
    .page-preloader__orb::after,
    .page-preloader__logo,
    .js-enhanced .section > section,
    .reveal-on-scroll,
    .hero-intro,
    .hero-section,
    .hero-section::before,
    .hero-section::after,
    .hero-whatsapp-btn,
    .module-card-enter,
    .modern-box {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
    }
}

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

.site-footer {
    position: relative;
    background: #04040c;
    overflow: hidden;
}

/* ── CTA principal ── */
.site-footer__cta {
    position: relative;
    padding: 5.5rem 0 4.5rem;
    background:
        radial-gradient(ellipse 72% 55% at 15% 55%, rgba(99, 102, 241, 0.2) 0%, transparent 62%),
        radial-gradient(ellipse 55% 65% at 82% 45%, rgba(56, 189, 248, 0.13) 0%, transparent 60%),
        radial-gradient(ellipse 85% 45% at 50% 105%, rgba(124, 58, 237, 0.24) 0%, transparent 55%),
        #04040c;
    overflow: hidden;
}

/* Grid sutil de fondo */
.site-footer__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.045) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,0.5) 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,0.5) 75%, transparent 100%);
    pointer-events: none;
}

/* Aura animada inferior */
.site-footer__cta::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 220px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.3) 0%, transparent 68%);
    filter: blur(48px);
    animation: footerAuraFloat 9s ease-in-out infinite;
    pointer-events: none;
}

@keyframes footerAuraFloat {
    0%, 100% { transform: translateX(-50%) scaleX(1);    opacity: 0.65; }
    50%       { transform: translateX(-50%) scaleX(1.18); opacity: 1;    }
}

/* Contenido centrado */
.site-footer__inner {
    position: relative;
    z-index: 1;
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Badge ── */
.site-footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.38rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, 0.45);
    background: rgba(22, 101, 52, 0.35);
    color: #86efac;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.0);
    animation: badgeGreenGlow 2.4s ease-in-out infinite;
}

@keyframes badgeGreenGlow {
    0%   { box-shadow: 0 0 0 0   rgba(74, 222, 128, 0.45); }
    50%  { box-shadow: 0 0 14px 4px rgba(74, 222, 128, 0.22); }
    100% { box-shadow: 0 0 0 0   rgba(74, 222, 128, 0); }
}

/* Punto verde parpadeante con halo */
.site-footer__badge-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    box-shadow: 0 0 6px 2px rgba(74, 222, 128, 0.7);
    animation: dotBlink 1.1s step-start infinite;
}

.site-footer__badge-dot::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.3);
    animation: dotHalo 1.1s ease-out infinite;
}

@keyframes dotBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes dotHalo {
    0%   { transform: scale(1);   opacity: 0.7; }
    100% { transform: scale(2.4); opacity: 0;   }
}

/* ── Headline ── */
.site-footer__headline h2 {
    font-size: clamp(1.65rem, 4.5vw, 2.9rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.022em;
    background: linear-gradient(135deg, #f0e8ff 0%, #c4b5fd 28%, #818cf8 58%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
}

.site-footer__headline p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(203, 213, 225, 0.82);
    margin-bottom: 2rem;
    max-width: 580px;
}

/* ── Bullets ── */
.site-footer__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    text-align: left;
    align-self: stretch;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.site-footer__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.925rem;
    color: rgba(203, 213, 225, 0.78);
    line-height: 1.55;
}

.site-footer__bullets li::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2l2.2 2.2 3.8-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center center / 65% no-repeat,
        linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #0ea5e9 100%);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

/* ── Botones ── */
.site-footer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.site-footer__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.9rem;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
}

.site-footer__btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
}

.site-footer__btn-main {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-footer__btn-sub {
    font-size: 0.68rem;
    font-weight: 500;
    opacity: 0.75;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* Botón Stripe */
.site-footer__btn--stripe {
    background: linear-gradient(135deg, #8b5cf6 0%, #4f46e5 42%, #6366f1 72%, #818cf8 100%);
    color: #ffffff;
    padding: 1.05rem 2.2rem;
    box-shadow:
        0 10px 32px rgba(99, 102, 241, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: stripePulseRing 2.8s ease-out infinite;
}

@keyframes stripePulseRing {
    0%   { box-shadow: 0 0 0 0   rgba(99, 102, 241, 0.55), 0 10px 32px rgba(99, 102, 241, 0.52), inset 0 1px 0 rgba(255,255,255,0.2); }
    65%  { box-shadow: 0 0 0 14px rgba(99, 102, 241, 0),   0 10px 32px rgba(99, 102, 241, 0.52), inset 0 1px 0 rgba(255,255,255,0.2); }
    100% { box-shadow: 0 0 0 0   rgba(99, 102, 241, 0),   0 10px 32px rgba(99, 102, 241, 0.52), inset 0 1px 0 rgba(255,255,255,0.2); }
}

/* Shimmer sweep Stripe */
.site-footer__btn--stripe::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transform: translateX(-110%);
    transition: transform 0.62s ease;
}

.site-footer__btn--stripe:hover::after {
    transform: translateX(110%);
}

.site-footer__btn--stripe:hover {
    transform: translateY(-3px) scale(1.025);
    box-shadow:
        0 0 0 0 rgba(99, 102, 241, 0),
        0 20px 42px rgba(99, 102, 241, 0.68),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #ffffff;
    text-decoration: none;
    animation: none;
}

/* Botón Contactar */
.site-footer__btn--contact {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 45%, #0284c7 100%);
    color: #ffffff;
    padding: 1.05rem 2.2rem;
    border: none;
    box-shadow:
        0 10px 30px rgba(6, 182, 212, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Shimmer sweep Contact */
.site-footer__btn--contact::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
    transform: translateX(-110%);
    transition: transform 0.62s ease;
}

.site-footer__btn--contact:hover::after {
    transform: translateX(110%);
}

.site-footer__btn--contact:hover {
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 45%, #22d3ee 100%);
    color: #ffffff;
    transform: translateY(-3px) scale(1.025);
    box-shadow:
        0 20px 42px rgba(6, 182, 212, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* ── Label de confianza Stripe ── */
.site-footer__trust {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: rgba(148, 163, 184, 0.5);
    margin: 0;
    user-select: none;
}

.site-footer__trust strong {
    color: rgba(148, 163, 184, 0.7);
    font-weight: 600;
}

.site-footer__trust svg {
    opacity: 0.6;
    flex-shrink: 0;
}

/* ── Barra inferior ── */
.site-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.35);
    padding: 1.35rem 0;
}

.site-footer__bar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.72rem;
    color: rgba(148, 163, 184, 0.55);
}

@media (min-width: 768px) {
    .site-footer__bar-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.site-footer__bar-tags {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.site-footer__bar-tags a {
    color: rgba(148, 163, 184, 0.78);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__bar-tags a:hover {
    color: rgba(196, 181, 253, 0.95);
    text-decoration: underline;
}

.floating-contact-cta {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 58px;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366 0%, #1faa57 52%, #128c4f 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 22px 48px -20px rgba(18, 140, 79, 0.75), 0 10px 28px -20px rgba(37, 211, 102, 0.85);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    overflow: hidden;
}

.floating-contact-cta:hover {
    transform: translateY(-3px) scale(1.015);
    color: #ffffff;
    text-decoration: none;
    filter: brightness(1.03);
    box-shadow: 0 28px 56px -20px rgba(18, 140, 79, 0.82), 0 14px 34px -20px rgba(37, 211, 102, 0.92);
}

.floating-contact-cta svg {
    position: relative;
    z-index: 1;
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
}

.floating-contact-cta__text {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.floating-contact-cta__pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.22);
    animation: floatingCtaPulse 2.2s ease-out infinite;
}

@keyframes floatingCtaPulse {
    0% {
        opacity: 0.58;
        transform: scale(1);
    }
    70% {
        opacity: 0;
        transform: scale(1.08);
    }
    100% {
        opacity: 0;
        transform: scale(1.08);
    }
}

@media (max-width: 767px) {
    .floating-contact-cta {
        right: 0.75rem;
        bottom: 0.75rem;
        padding: 0.82rem 0.95rem;
    }

    .floating-contact-cta__text {
        font-size: 0.82rem;
    }
}

/* ── Reduced-motion para el footer ── */
@media (prefers-reduced-motion: reduce) {
    .site-footer__cta::after,
    .site-footer__badge,
    .site-footer__badge-dot,
    .site-footer__badge-dot::before,
    .site-footer__btn--stripe,
    .site-footer__btn--stripe::after,
    .site-footer__btn--contact::after,
    .header-contact-btn,
    .floating-contact-cta,
    .floating-contact-cta__pulse {
        animation: none !important;
        transition: none !important;
    }
}
