:root {
    --finx-primary: #00aeef;
    --finx-secondary: #00335b;
    --finx-accent: #5b2a83;
    --finx-ink: #0a0e17;
    --finx-white: #ffffff;

    --color-background: #0a0e17;
    --color-surface: #101728;
    --color-surface-muted: rgba(255, 255, 255, 0.04);
    --color-text: #e7ecf3;
    --color-text-muted: #b8c0cc;
    --color-border: rgba(255, 255, 255, 0.08);
    --grad-hero: linear-gradient(135deg, #0a0e17 0%, #4b0082 40%, #00aeef 100%);
     --color-card-index: #0a0e17;

    --shadow-soft: 0 24px 60px rgba(2, 8, 20, 0.55);
    --shadow-hover: 0 28px 70px rgba(0, 0, 0, 0.45);

    --radius-xl: 40px;
    --radius-lg: 20px;
    --radius-md: 16px;

    --transition-base: 0.3s ease;

    color-scheme: dark;
}


[data-theme="light"] {
    color-scheme: light;

    /* Base clara en sintonía con :root */
   /* --color-background: #e3e8ee; /*              /* suave, con leve tinte azul */
    --color-background: #006eff0e;
    --color-surface: #ffffff;                  /* contenido sobre blanco puro */
    --color-surface-muted: rgba(10, 14, 23, 0.05); /* eco de --finx-ink en baja opacidad */

    /* Tipografía (equivalentes perceptuales del dark) */
    --color-text: #0b1220;                     /* oscuro azulado, alto contraste sin ser negro puro */
    --color-text-muted: #5a6b80;               /* gris azulado legible en fondos claros */
     --color-card-index: #ffffff;

    /* Bordes y separación */
    --color-border: rgba(10, 14, 23, 0.14);    /* deriva de --finx-ink para coherencia */

    /* Mantén EXACTO el gradiente que ya tienes (no se cambia) */
    --grad-hero: linear-gradient(135deg, #0a0e17 0%, #4b0082 40%, #00aeef 100%);

    /* Sombras con sesgo al azul corporativo, más sutiles en light */
    --shadow-soft: 0 18px 40px rgba(0, 51, 91, 0.10);
    --shadow-hover: 0 22px 50px rgba(0, 51, 91, 0.14);

    /* Mismos radios y transición para total paridad */
    --radius-xl: 40px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --transition-base: 0.3s ease;

    /* Colores de marca (reafirmados, sin cambios) */
    --finx-primary: #00aeef;
    --finx-secondary: #00335b;
    --finx-accent: #5b2a83;
    --finx-ink: #0a0e17;
    --finx-white: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    transition: background var(--transition-base), color var(--transition-base);
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--finx-primary);
    outline-offset: 3px;
}

.skip-to-content {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    background: var(--finx-primary);
    color: var(--finx-ink);
    transform: translateY(-200%);
    transition: transform var(--transition-base);
    z-index: 1000;
}

.skip-to-content:focus {
    transform: translateY(0);
}

.container {
    width: min(1120px, 100% - 3rem);
    margin-inline: auto;
}

.section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-anchor {
    display: block;
    position: relative;
    top: -100px;
    height: 0;
    visibility: hidden;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(0, 174, 239, 0.25);
}

.btn--primary {
    background: var(--finx-primary);
    color: var(--finx-ink);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(0, 174, 239, 0.6);
    color: var(--finx-primary);
}

.btn--light {
    background: var(--color-surface);
    border-color: var(--color-border);
    color: var(--finx-primary);
}

.btn--white {
    background: var(--finx-white);
    color: var(--finx-ink);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(0, 174, 239, 0.18);
    color: var(--finx-primary);
}

.badge--success {
    background: rgba(40, 167, 69, 0.18);
    color: #45d483;
}
[data-theme="light"] .badge--success {
    background: rgba(40, 167, 70, 0.9);
    color: #ffffff;
}

.img-skeleton {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-size: 200% 200%;
    animation: skeleton-shimmer 2s infinite;
}

[data-theme="light"] .img-skeleton {
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.02));
    border-color: rgba(0, 0, 0, 0.08);
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(10, 14, 23, 0.72);
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition-base), border-color var(--transition-base);
}

[data-theme="light"] .site-header {
    background: rgba(246, 248, 250, 0.85);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 0;
}

.nav-drawer {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    position: relative;
}

  .nav-drawer__close,
  .nav-overlay {
      display: none;
  }
  .nav-toggle{ display: none; }

    @media (max-width: 768px){
    

    .nav-drawer.is-open{
    transform: translateX(0);
    }


    html, body{ overflow-x: hidden; }


    .nav-overlay {
        position: fixed;
        inset: 0;
        display: block;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition-base);
        z-index: 998;
        width: 100vw;
    height: 100vh;
        }

        .nav-overlay[hidden] {
            display: none;
        }

        .nav-overlay.is-active {
            opacity: 1;
            pointer-events: auto;
        }

        body.nav-is-open {
            overflow: hidden;
        }

        .nav-drawer__close {
            display: block;
            position: absolute;
            top: 1.2rem;
            right: 1.2rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--color-text);
            cursor: pointer;
            line-height: 1;
        }

        .nav-toggle {
            display: none;
            background: none !important;
            border: none !important;
            box-shadow: none !important;
            font-size: 1.8rem;
            color: var(--color-text);
            cursor: pointer;
            line-height: 1;
            
        }

    }




.brand__logo {
    font-size: 1.6rem;
    font-weight: 700;

    letter-spacing: 0.14em;
}

.site-nav__list {
    display: flex;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__link {
    position: relative;
    padding: 0.35rem 0;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: color var(--transition-base);
}

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--finx-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
    color: var(--finx-primary);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link.is-active::after {
    transform: scaleX(1);
}

.header__actions {
    display: flex;
    align-items: center;
}

/* .theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: clamp(0.55rem, 1.2vw, 0.8rem);
    padding: clamp(0.6rem, 1.8vw, 0.75rem) clamp(1rem, 3vw, 1.4rem);
    border-radius: 999px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 600;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.theme-toggle__icon {
    width: clamp(20px, 4vw, 24px);
    height: clamp(20px, 4vw, 24px);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,  #244581 0%, #123254 65%, #0b1f3a 100% );
    transition: transform var(--transition-base), background var(--transition-base);
}

[data-theme="light"] .theme-toggle__icon {
    background: radial-gradient(circle at 30% 30%, #66a8ff 0%, #00b7ff 0%, #00b7ff 100%);
    transform: rotate(-25deg);
} */

 /* .theme-toggle {
  --size: 2rem;
  background: none;
  border: none;
  padding: 0;
  inline-size: var(--size);
  block-size: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  outline-offset: 5px;
  color: currentColor;
}

.theme-toggle > svg {
  inline-size: 100%;
  block-size: 100%;
  stroke-linecap: round;
}


@media (hover: none) {
  .theme-toggle { --size: 48px; }
}


.sun-and-moon > .sun,
.sun-and-moon > .moon,
.sun-and-moon > .sun-beams {
  transform-origin: center center;
}

.sun-and-moon > .sun,
.sun-and-moon > .moon {
  fill: currentColor;
}

.sun-and-moon > .sun-beams {
  stroke: currentColor;
  stroke-width: 2px;
}


[data-theme="dark"] .sun-and-moon > .sun {
  transform: scale(1.75);
}

[data-theme="dark"] .sun-and-moon > .sun-beams {
  opacity: 0;
  transform: rotateZ(-25deg);
}

[data-theme="dark"] .sun-and-moon .moon > circle {
  transform: translateX(-7px);
}

@supports (cx: 1px) {
  .sun-and-moon .moon > circle {
    transform: translateX(0);
    cx: 17px;
  }
}

.theme-toggle .icon { display: none; }
.theme-toggle .icon-sun { display: block; }           
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }  */


.theme-toggle {
--size: clamp(15px, 1.6vw, 20px);
  background: none;
  border: none;
  padding: 0;
  inline-size: var(--size);
  block-size: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  outline-offset: 5px;

  --sun-color: var(--finx-primary);  
  --beam-color: var(--sun-color);


}

.theme-toggle > svg {
  inline-size: 100%;
  block-size: 100%;
  stroke-linecap: round;
}


.sun-and-moon > .sun {
  fill: var(--sun-color);
}

.sun-and-moon > .sun-beams {
  stroke: var(--beam-color);
  stroke-width: 2px;
}


.sun-and-moon > .moon {
  fill: var(--moon-color);
}


.sun-and-moon > .sun,
.sun-and-moon > .moon,
.sun-and-moon > .sun-beams {
  transform-origin: center center;
  transition: all 0.4s ease;
}

[data-theme="dark"] .sun-and-moon > .sun {
  transform: scale(1.75);
  opacity: 1;
}

[data-theme="dark"] .sun-and-moon > .sun-beams {
  opacity: 0;
}

[data-theme="dark"] .sun-and-moon > .moon {
  opacity: 1;
  fill: var(--moon-color);
}

[data-theme="dark"] .sun-and-moon > .moon > circle {
  transform: translateX(-7px);
}

@supports (cx: 1px) {
  [data-theme="dark"] .sun-and-moon > .moon > circle {
    transform: translateX(0);
    cx: 17px;
  }
}


.theme-toggle__label {
  display: none;
 
}


@media (max-width: 768px) {
  .theme-toggle {
    --size: 5rem; 

    position: fixed;        
    bottom: 1rem;           
    left: 0;
    right: 0;               
    z-index: 1000;        

    display: flex;          
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    gap: 0.4rem;           

    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.75rem 0;     
    background: transparent; 
    border: none;
  }

  .theme-toggle__label {
    display: block;       
    font-size: 0.9rem;
    font-weight: 500;
    color: inherit;
    text-align: center;
  }
}




.hero {
    position: relative;
    background: var(--grad-hero);
    color: var(--finx-white);
    padding: clamp(4.5rem, 8vw, 6.5rem) 0;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__particles {
    position: absolute;
    inset: 0;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
    align-items: center;
}

.hero__copy h1 {
    margin: 0 0 1rem 0;
    font-size: clamp(2.75rem, 6vw, 4rem);
    line-height: 1.1;
}

.eyebrow {
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.hero__lead {
    margin: 0 0 1rem 0;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: rgba(255, 255, 255, 0.85);
}

.hero__text {
    margin: 0 0 2.25rem 0;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.78);
}

.hero__text2 {
    margin: 0 0 2.25rem 0;
    max-width: 60ch;
    color: rgba(255, 255, 255, 0.78);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero__media-wrapper {
    display: flex;
    justify-content: center;
}

.hero__media {
    width: min(100%, 420px);
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.40);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b121cc9;
    padding: 0;
    overflow: hidden;
}

.hero__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cards {
    display: grid;
    gap: 1.6rem;
}

.cards--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card__bullets {
    margin: 0;
    padding-left: 1.25rem;
    list-style: disc;
    color: var(--color-text-muted);
}

.card__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
}

.benefits {
    background: var(--color-surface);
}

.solutions {
    background: var(--color-surface-muted);
}

.section--band {
    background: var(--finx-secondary);
    color: var(--finx-white);
}

.band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.band__media {
    display: flex;
    justify-content: center;
}

.band__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
    margin: 2rem 0;
}

.band__metrics dt {
    font-size: 1.8rem;
    font-weight: 700;
}

.band__metrics dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.band__text-justify {
    text-align: justify;
}

.tech-lead--justify {
    text-align: justify;
}

.trust-text--justify {
    text-align: justify;
}

.band__figure {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
}

.band__figure2 {
    height: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.technology {
    background: var(--color-surface);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tech-card {
    background: var(--color-background);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.technology__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: center;
}

.trust__logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin-inline: auto;
}

.cta-final {
    background: linear-gradient(135deg, var(--finx-accent) 0%, var(--finx-secondary) 100%);
    color: var(--finx-white);
    
    text-align: center;
}

.cta-final__content {
    display: grid;
    gap: 1.5rem;
    justify-items: center;
}

.cta-final__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.site-footer {
    background: var(--color-background);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0 1.5rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.site-footer__heading {
    margin: 0 0 0.85rem 0;
    font-size: 1.1rem;
}

.site-footer__grid p {
    margin: 0.8rem 0 0 0;
    color: var(--color-text-muted);
}

.footer-nav,
.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.footer-nav a,
.footer-contact a {
    color: var(--color-text-muted);
    transition: color var(--transition-base);
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--finx-primary);
}

.site-footer__base {
    margin-top: 2rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.site-footer__legal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 174, 239, 0.25);
    background: rgba(0, 174, 239, 0.12);
    color: var(--finx-white);
    letter-spacing: 0.02em;
}

[data-theme="light"] .site-footer__legal {
    background: rgba(0, 174, 239, 0.08);
    color: var(--color-text);
}

.hero__particles span {
    position: absolute;
    width: var(--size, 12px);
    height: var(--size, 12px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transform: translate3d(var(--start-x), var(--start-y), 0) scale(var(--start-scale, 0.4));
    animation:
        particle-move var(--duration, 8s) linear var(--delay, 0s) infinite,
        particle-fade var(--duration, 8s) ease-in-out var(--delay, 0s) infinite,
        particle-pulse var(--pulse-duration, 2.4s) ease-in-out var(--delay, 0s) infinite;
    mix-blend-mode: screen;
    filter: blur(0.2px);
}



@keyframes particle-move {
    0% {
        transform: translate3d(var(--start-x), var(--start-y), 0) scale(var(--start-scale, 0.4));
    }
    100% {
        transform: translate3d(var(--end-x), var(--end-y), 0) scale(var(--end-scale, 1.2));
    }
}

@keyframes particle-fade {
    0%,
    100% {
        opacity: 0;
    }
    30% {
        opacity: var(--opacity-max, 0.55);
    }
    65% {
        opacity: var(--opacity-min, 0.3);
    }
}

@keyframes particle-pulse {
    0%,
    100% {
        box-shadow: 0 0 12px rgba(0, 174, 239, 0.18);
    }
    50% {
        box-shadow: 0 0 18px rgba(0, 174, 239, 0.28);
    }
}

.page-transition {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.page-transition.page-transition--init {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.page-transition.is-page-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-transition.is-page-leaving {
    opacity: 0;
    transform: translateY(-18px);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .page-transition,
    .page-transition.page-transition--init,
    .page-transition.is-page-visible,
    .page-transition.is-page-leaving {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .hero__particles {
        display: none !important;
    }
}

@media (max-width: 1100px) {
    .header__content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-nav__list {
        flex-wrap: wrap;
        justify-content: center;
    }
}



@media (max-width: 980px) {
    .hero__grid,
    .cards--four,
    .cards--three,
    .band,
    .tech-grid,
    .trust__grid {
        grid-template-columns: 1fr;
    }

    .hero__media-wrapper {
        order: -1;
    }

    .hero__actions,
    .technology__actions,
    .cta-final__actions {
        justify-content: center;
    }

    .band__metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.nav-drawer {
    transition: transform var(--transition-base);
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 2rem, 100%);
    }

    .card {
        padding: 1.6rem;
    }

    .hero {
        border-radius: 0;
    }

    .band__metrics {
        grid-template-columns: 1fr;
    }

    .theme-toggle {
        width: auto;
    }
}

@media (max-width: 768px) {
    .header__content {
        justify-content: space-between;
        align-items: center;
    }

    .nav-drawer {
        position: fixed;
        top: 0;
        right: 0;
        height: 100dvh;
        width: min(80vw, 320px);
        padding: 2.5rem 2rem;
        background: var(--color-surface);
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        transform: translateX(100%);
        z-index: 999;
    }

    .nav-drawer .site-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.4rem;
    }

    .nav-drawer .header__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-drawer__close {
        display: block;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        background: var(--color-surface);
        border: 1px solid var(--color-border);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    .site-nav__list {
        gap: 1.4rem;
    }

    .theme-toggle {
        padding: 0.55rem 1rem;
    }
}



/* Nosotros */

/* Secciones posteriores al hero */
.section--surface {
    background: var(--color-surface);
}

.section__header {
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.section__header h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3rem);
}

.section__header p {
    margin: 0.75rem 0 0 0;
    color: var(--color-text-muted);
}

.section__header--wide-text {
    max-width: none;
}

.section__header--wide-text p {
    text-align: justify;
}

.layout-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 6vw, 4rem);
    align-items: center;
}

.contact-section {
    display: grid;
    gap: clamp(2.5rem, 6vw, 4.5rem);
}

.contact-intro {
    display: grid;
    gap: 1rem;
    max-width: 640px;
}

.contact-intro p {
    margin: 0;
    color: var(--color-text-muted);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 174, 239, 0.12);
    color: var(--finx-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

[data-theme="light"] .section-tag {
    background: rgba(0, 174, 239, 0.18);
    color: #006d94;
}

.contact-layout {
    align-items: flex-start;
    gap: clamp(2rem, 6vw, 5rem);
    padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.contact-layout .layout-split__copy,
.contact-layout .layout-split__media {
    display: grid;
}

.contact-info-panel {
    display: grid;
    gap: 2rem;
}

.contact-directory {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-channel {
    display: grid;
    gap: 0.85rem;
    padding: clamp(1.6rem, 4vw, 2rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: none;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.contact-channel:hover,
.contact-channel:focus-within {
    transform: translateY(-2px);
    border-color: rgba(0, 174, 239, 0.5);
    box-shadow: var(--shadow-soft);
}

.contact-channel__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-channel__icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--color-surface-muted);
    color: var(--finx-primary);
}

.contact-channel--phone .contact-channel__icon {
    color: var(--finx-primary);
}

.contact-channel--office .contact-channel__icon {
    color: var(--finx-primary);
}

.contact-channel svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-channel__titles {
    display: grid;
    gap: 0.25rem;
}

.contact-channel__titles h3 {
    margin: 0;
    font-size: 1.1rem;
}

.contact-channel__subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-text-muted);
}

.contact-channel__description {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contact-channel__address {
    font-style: normal;
    color: inherit;
}

.contact-channel__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--finx-primary);
}

.contact-channel__link::after {
    content: "→";
    font-size: 0.9rem;
    transition: transform var(--transition-base);
}

.contact-channel__link:hover::after,
.contact-channel__link:focus-visible::after {
    transform: translateX(4px);
}


.contact-highlights {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contact-highlights li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.contact-highlights li::before {
    content: "•";
    color: var(--finx-primary);
    font-weight: 700;
    transform: translateY(-2px);
}

.contact-highlights strong {
    color: var(--color-text);
    font-weight: 600;
}

.contact-form-panel {
    display: grid;
    gap: 1.5rem;
}

.contact-form__header {
    display: grid;
    gap: 0.55rem;
}

.contact-form__header h2 {
    margin: 0;
}

.contact-form__subtitle {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    padding: clamp(2rem, 5vw, 2.75rem);
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

[data-theme="light"] .contact-form {
    background: var(--color-surface);
}

.form-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-footer {
 width: 100%;
  display: flex !important;
  justify-content: center !important;  
  align-items: center !important;       
  text-align: center !important;
}

@media (min-width: 640px) {
    .form-footer {
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        align-items: center;
        justify-content: flex-start;
    }
}

.contact-form__note {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.form-field {
    display: grid;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--finx-primary);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 160px;
}

.form-alert {
    display: none;
    margin-bottom: 0.5rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.form-alert--visible {
    display: block;
}

.form-alert--success {
    background: rgba(0, 174, 239, 0.16);
    border: 1px solid rgba(0, 174, 239, 0.45);
    color: #9de6ff;
}

[data-theme="light"] .form-alert--success {
    color: #006d94;
}

.form-alert--error {
    background: rgba(255, 92, 92, 0.18);
    border: 1px solid rgba(255, 92, 92, 0.36);
    color: #ff9da3;
}

[data-theme="light"] .form-alert--error {
    color: #b5242e;
}

.form-error {
    font-size: 0.85rem;
    min-height: 1rem;
    color: #ff9da3;
}

[data-theme="light"] .form-error {
    color: #b5242e;
}

.contact-form .form-submit {
    justify-self: flex-start;
}

.location-section {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4rem);
}

.location-header {
    display: grid;
    gap: 1rem;
    max-width: 620px;
}

.location-header p {
    margin: 0;
    color: var(--color-text-muted);
}

.location-layout {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

@media (min-width: 960px) {
    .location-layout {
        grid-template-columns: minmax(0, 360px) 1fr;
    }
}

.location-card {
    display: grid;
    gap: 1.2rem;
    padding: clamp(1.8rem, 3vw, 2.4rem);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.location-card h3 {
    margin: 0;
    font-size: 1.25rem;
}

.location-list {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--color-text-muted);
}

.location-list__item strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--color-text);
}

.location-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.3rem;
    font-weight: 600;
    color: var(--finx-primary);
}

.location-card__link::after {
    content: "↗";
    font-size: 0.85rem;
    transition: transform var(--transition-base);
}

.location-card__link:hover::after,
.location-card__link:focus-visible::after {
    transform: translate(2px, -2px);
}

.map-embed {
    margin: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border);
}

.map-embed iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
}

.layout-split__placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: var(--radius-lg);
}

.layout-split__placeholder2 {

    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
}


.grid {
    display: grid;
    gap: 1.75rem;
}

.grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card--value,
.card--module {
    justify-items: center;  
    text-align: center; 
    gap: 1rem;
    padding: 2rem;
    border-radius: 10%;
}

[data-theme="light"] .card--module {
    border: 1px solid rgb(216, 216, 216);
    background-color: var(--color-card-index) !important;
    box-shadow: var(--shadow-soft);


}

.card--module .card__media {
    border-radius: var(--radius-md);
    aspect-ratio: 4 / 3;
}

.card--module a {
    justify-self: flex-start;
}

.card--value-feature {
    justify-items: center;
    text-align: center;
}

.card--value-feature .card__icon--feature {
    display: grid;
    place-items: center;
    gap: 0.75rem;
    color: var(--finx-primary);
}

.card--value-feature .card__icon--feature svg {
    width: 48px;
    height: 48px;
}

.card--value-feature h3 {
    margin: 0;
    display: inline-block;
    text-align: center;
    position: relative;
}

.card--value-feature h3::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    opacity: 0.35;
    margin-bottom: 0.75rem;
}

.card--value-feature p {
    margin: 0;
}

.tech-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.tech-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    box-shadow: var(--shadow-soft);
}

.tech-item h3 {
    margin: 0 0 1rem 0;
}

.tech-item ul {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.5rem;
    color: var(--color-text-muted);
}

.trust__grid {
    gap: 2rem;
}

.section--surface .card {
    background: var(--color-background);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .layout-split,
    .grid--four,
    .tech-columns,
    .band {
        grid-template-columns: 1fr;
    }

    .technology__actions,
    .cta-final__actions {
        justify-content: center;
    }
}

/* Nosotros */
.page-hero {
    background: var(--grad-hero);
    color: var(--finx-white);
    padding: clamp(4rem, 7vw, 5.5rem) 0;
    text-align: center;
}

.page-hero__content {
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.page-hero__content h1 {
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
}

.page-hero__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.layout-split--reverse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.layout-split--reverse .layout-split__media {
    order: -1;
}

.list {
    margin: 1.5rem 0;
    padding-left: 1.25rem;
    color: var(--color-text-muted);
    display: grid;
    gap: 0.5rem;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.timeline-step {
    position: relative;
    padding: 1.75rem;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    display: grid;
    gap: 0.75rem;
    text-align: left;
}

[data-theme="light"] .timeline-step{
    box-shadow: var(--shadow-soft);
}

.timeline-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 174, 239, 0.2);
    color: var(--finx-white);
    font-weight: 700;
    font-size: 1.1rem;
}

[data-theme="light"] .timeline-step__number{
    color: var(--finx-primary);
}

.timeline__note {
    margin: 0 0 1.5rem 0;
    color: var(--color-text-muted);
}

.card--sla {
    text-align: center;
    padding: 2rem;
}

[data-theme="light"] .card--sla {
    background-color: var(--finx-secondary);
   color: white; 
}

.card--sla h3 {
    margin: 0 0 0.65rem 0;
    font-size: 1.2rem;
}

.card--sla p {
    margin: 0;
    color: var(--color-text-muted);
}

[data-theme="light"] .card--sla p {

    color: var(--finx-white)!important;
}

.sla-note {
    margin-top: 1.5rem;
    color: var(--color-text-muted);
}

@media (max-width: 1100px) {
    .layout-split--reverse {
        grid-template-columns: 1fr;
    }

    .layout-split--reverse .layout-split__media {
        order: inherit;
    }
}

@media (max-width: 980px) {
    .timeline {
        grid-template-columns: 1fr;
    }
}

/* Nosotros extras */
.subhero {
    background: var(--grad-hero);
    color: var(--finx-white);
    padding: clamp(4.5rem, 7vw, 6rem) 0;
    position: relative;
    overflow: hidden;
}

.subhero__content {
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
}

.principles__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    display: grid;
    gap: 0.75rem;
}

.principles__lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.principles__divider {
    width: 72px;
    height: 3px;
    margin: 0.6rem auto 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.8), rgba(0, 174, 239, 0.2));
}

.principles-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.principles-card {
    background: rgba(9, 17, 32, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.25rem);
    box-shadow: 0 24px 45px rgba(10, 18, 32, 0.35);
    display: grid;
    gap: 1.35rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    height: 100%;
    text-align: left;
}

[data-theme="light"] .principles-card {

    background: rgba(255, 255, 255, 0.808);
    box-shadow: 0 24px 45px rgba(10, 18, 32, 0.137);
    
    
}


.principles-card:focus-within,
.principles-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 55px rgba(0, 174, 239, 0.28);
    border-color: rgba(0, 174, 239, 0.35);
}

.principles-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--finx-white);
    background: rgba(0, 174, 239, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.principles-card__icon svg {
    width: 32px;
    height: 32px;
}

.principles-card__content h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
}

[data-theme="light"] .principles-card__content h3 {
    color: var(--finx-primary);
}

[data-theme="light"] .principles-card__content p {

   color :var(--color-text-muted);
    
    
}

.principles-card__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.principles-card--vision .principles-card__icon {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.25), rgba(0, 174, 239, 0.55));
    color: var(--finx-white);
}

[data-theme="light"] .principles-card--vision .principles-card__icon {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.25), rgb(0, 175, 239));
    color: var(--finx-white);
}

.principles-card--mision .principles-card__icon {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.25), rgba(0, 174, 239, 0.55));
    color: var(--finx-white);
}
[data-theme="light"] .principles-card--mision .principles-card__icon {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.25), rgb(0, 175, 239));
    color: var(--finx-white);
}

.principles-card--objetivo .principles-card__icon {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.25), rgba(0, 174, 239, 0.55));
    color: var(--finx-white);
}
[data-theme="light"] .principles-card--objetivo .principles-card__icon {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.25), rgb(0, 175, 239));
    color: var(--finx-white);
}

.principles-card--mision .principles-card__icon,
.principles-card--objetivo .principles-card__icon {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.048);
}

@media (max-width: 768px) {
    .principles__header {
        margin-bottom: 2rem;
    }

    .principles-card {
        text-align: center;
        justify-items: center;
    }

    .principles-card__content {
        display: grid;
        gap: 0.75rem;

    }

    .principles-card__content p {
        text-align: justify;
    }

    .principles-card__content li {
        text-align: start;
    }
}

.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb ol {
    display: inline-flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 0.5rem;
    opacity: 0.6;
}

.breadcrumb a {
    color: inherit;
}

.subnav {
    position: sticky;
    top: 72px;
    z-index: 90;
    backdrop-filter: blur(14px);
    background: rgba(10, 14, 23, 0.9);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .subnav {
    background: rgba(246, 248, 250, 0.92);
}

.subnav__container {
    padding: 0.75rem 0;
}

.subnav__list {
    display: flex;
    gap: 1.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.subnav__list::-webkit-scrollbar {
    display: none;
}

.subnav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0;
    color: var(--color-text-muted);
    font-weight: 500;
    white-space: nowrap;
    transition: color var(--transition-base);
}

.subnav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--finx-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
}

.subnav__link:hover,
.subnav__link:focus-visible,
.subnav__link.is-current {
    color: var(--finx-primary);
}

.subnav__link.is-current::after {
    transform: scaleX(1);
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(0, 174, 239, 0.18);
    color: var(--finx-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 1.75rem 0;
}

.stat-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.stat-card__value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.stat-card__label {
    display: block;
    margin-top: 0.4rem;
    color: var(--color-text-muted);
}

.accordion {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-surface);

    overflow: hidden;
}

.accordion__item {
    position: relative;
}

.accordion__item h3 {
    margin: 0;
}

.accordion__item + .accordion__item {
    border-top: 1px solid var(--color-border);
}

.accordion__button {
    width: 100%;
    padding: clamp(1.2rem, 2vw, 1.45rem) clamp(1.5rem, 3vw, 2.25rem);
    background: transparent;
    border: 0;
    color: inherit;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 2vw, 1.4rem);
    cursor: pointer;
    transition: color var(--transition-base);
}

.accordion__button:focus-visible {
    outline: 2px solid var(--finx-primary);
    outline-offset: 3px;
}

.accordion__title {
    display: grid;
    gap: 0.4rem;
    align-content: start;
    flex: 1;
}

.accordion__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-text-muted);
}

.accordion__question {
    font-size: 1.05rem;
    line-height: 1.4;
}

.accordion__chevron {
    width: 1rem;
    height: 1rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--transition-base);
}

.accordion__button[aria-expanded="true"] {
    color: var(--finx-primary);
}

.accordion__button[aria-expanded="true"] .accordion__chevron {
    transform: rotate(-135deg);
}

.accordion__panel {
    padding: 0 clamp(1.5rem, 3vw, 2.25rem) 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, padding-top 0.35s ease, padding-bottom 0.35s ease, opacity 0.25s ease;
}

.accordion__panel[aria-hidden="false"] {
    padding-top: 0.15rem;
    padding-bottom: 1.4rem;
    max-height: 240px;
    opacity: 1;
    visibility: visible;
}

.accordion__panel p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Tecnología */
.architecture-layout {
    display: grid;
    gap: clamp(2rem, 5vw, 3rem);
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    align-items: stretch;
}

.architecture-highlight {
    display: grid;
    gap: 1.1rem;
    padding: clamp(1.8rem, 3vw, 2.2rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, rgba(0, 174, 239, 0.16), rgba(0, 174, 239, 0.05));
    border: 1px solid rgba(0, 174, 239, 0.25);
    box-shadow: var(--shadow-soft);
}

.architecture-highlight__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    justify-content: center;
    background: rgba(0, 174, 239, 0.18);
    color: var(--finx-primary);
}

.architecture-highlight p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.architecture-highlight__list {
    margin: 0;
    padding-left: 0;
    display: grid;
    gap: 0.35rem;
    color: var(--color-text-muted);
    font-weight: 600;
    list-style: none;
    justify-items: center;
}

.architecture-highlight__list li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.architecture-highlight__list li::before {
    content: '\2022';
    margin-right: 0.35rem;
    color: var(--finx-primary);
}



.architecture-highlight__note {
    font-size: 0.9rem;
    color: rgba(0, 174, 239, 0.9);
}

.architecture-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(1.2rem, 3vw, 1.8rem);
}

.architecture-card {
    position: relative;
    display: grid;
    gap: 0.75rem;
    padding: clamp(1.8rem, 3vw, 2.1rem);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.architecture-card::before {
    content: attr(data-step);
    position: absolute;
    top: 1.35rem;
    right: 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0, 174, 239, 0.55);
}

.architecture-card h4 {
    margin: 0;
    font-size: 1.08rem;
}

.architecture-card p {
    margin: 0;
    color: var(--color-text-muted);
}

.architecture-card:hover,
.architecture-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(0, 174, 239, 0.35);
    box-shadow: 0 24px 45px rgba(0, 174, 239, 0.14);
}

.observability-layout {
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.5rem);
}

.observability-grid {
    display: grid;
    gap: clamp(1.25rem, 3vw, 1.8rem);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.observability-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    padding: clamp(1.45rem, 3vw, 1.9rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(9, 17, 32, 0.88), rgba(9, 17, 32, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

[data-theme="light"] .observability-card{
     background: var(--finx-secondary);
}

.observability-card__icon {
    inline-size: 46px;
    block-size: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(0, 174, 239, 0.32);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.observability-card__icon::before {
    content: '';
    inline-size: 16px;
    block-size: 16px;
    border-radius: 50%;
    background: var(--finx-white);
    opacity: 0.9;
}

.observability-card[data-icon="monitoring"] .observability-card__icon {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.45), rgba(0, 174, 239, 0.2));
}

.observability-card[data-icon="logging"] .observability-card__icon {
    background: linear-gradient(135deg, rgba(111, 255, 233, 0.45), rgba(0, 174, 239, 0.22));
}

.observability-card[data-icon="health"] .observability-card__icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(0, 174, 239, 0.25));
}

.observability-card[data-icon="tracing"] .observability-card__icon {
    background: linear-gradient(135deg, rgba(255, 173, 255, 0.4), rgba(0, 174, 239, 0.23));
}

.observability-card[data-icon="dashboards"] .observability-card__icon {
    background: linear-gradient(135deg, rgba(255, 242, 128, 0.36), rgba(0, 174, 239, 0.22));
}

.observability-card[data-icon="resilience"] .observability-card__icon {
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.3), rgba(9, 17, 32, 0.92));
}

.observability-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
}

.observability-card:hover,
.observability-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(0, 174, 239, 0.38);
    box-shadow: 0 22px 42px rgba(0, 174, 239, 0.14);
}

[data-theme="light"] .observability-card:hover,
.observability-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(0, 174, 239, 0.38);
    box-shadow: 0 20px 40px rgba(0, 175, 239, 0.315);
}

.observability-note {
    margin: 0;
    color: var(--color-text-muted);
    text-align: center;
}

.integration-layout {
    display: grid;
    gap: clamp(2rem, 5vw, 3rem);
     grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.integration-layout__content {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2rem);
}

.integration-layout__content p {
    color: white;
}

.integration-layout__content li {
    color: white;
}

.integration-layout__media {
    margin: 0;
}

.integration-layout__placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
}

.section__header--center {
    text-align: center;
    margin-inline: auto;
}

.section__header--center p {
    margin-inline: auto;
}

.architecture-highlight {
    text-align: center;
}

.architecture-highlight__list {
    justify-items: center;
    padding-left: 0;
    list-style: none;
}



.observability-grid {
    justify-items: stretch;
}

.observability-card--row2 {
    justify-self: center;
    width: min(100%, 380px);
}

@media (min-width: 1024px) {
    .observability-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .observability-card[data-icon="dashboards"] {
        grid-column: 2;
    }

    .observability-card[data-icon="resilience"] {
        grid-column: 3;
    }
}






@media (max-width: 640px) {
    .accordion__button {
        align-items: flex-start;
        gap: 0.8rem;
    }

    .accordion__question {
        font-size: 1rem;
    }
}

.reveal.reveal--in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .accordion__panel {
        transition: none !important;
    }
}

@media (max-width: 1100px) {
    .subnav {
        top: 68px;
    }
}

@media (max-width: 980px) {
    .layout-split,
    .grid--two,
    .grid--three,
    .grid--four,
    .tech-columns,
    .band,
    .stats-grid,
    .timeline {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        padding-inline: 0;
    }
}

@media (max-width: 860px) {
    .architecture-layout,
    .integration-layout {
        grid-template-columns: 1fr;
    }

    .architecture-highlight__list {
        justify-items: flex-start;
        text-align: left;
    }

    .observability-card--row2 {
        width: 100%;
    }

.integration-layout__media {
        order: -1;
    }
}
@media (max-width: 720px) {
    .subnav {
        top: 64px;
    }
}

/* Soluciones SPEI */
.soluciones-spei__wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 174, 239, 0.08);
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.06), rgba(91, 42, 131, 0.08));
    padding: clamp(2rem, 4vw, 3rem);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(5, 12, 30, 0.24);
}

[data-theme="light"] .soluciones-spei__wrapper {
    border: 1px solid rgba(0, 174, 239, 0.08);
    background: linear-gradient(135deg, rgba(0, 174, 239, 0.04), rgba(91, 42, 131, 0.05));
    box-shadow: 0 16px 36px rgba(21, 42, 72, 0.08);
}

.soluciones-spei__items {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.4rem);
}

.soluciones-spei__item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    background: rgba(16, 23, 40, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.soluciones-spei__item::before {
    content: "";
    position: absolute;
    inset: -40% 45% 45% -35%;
    background: linear-gradient(135deg, rgb(0, 187, 255), rgb(140, 0, 255));
    opacity: 0.24;
    transform: rotate(8deg);
    transition: opacity 0.35s ease;
    z-index: -1;
}

.soluciones-spei__item:nth-of-type(even)::before {
    inset: -35% -35% 45% 45%;
    transform: rotate(-8deg);
    background: linear-gradient(135deg,  rgb(140, 0, 255),rgb(0, 187, 255));
}

.soluciones-spei__item:nth-of-type(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
}

.soluciones-spei__item:nth-of-type(even) .soluciones-spei__card {
    order: 2;
}

.soluciones-spei__item:nth-of-type(even) .soluciones-spei__body {
    order: 1;
    text-align: right;
    justify-items: end;
}



[data-theme="light"] .soluciones-spei__item {
    background: rgba(2, 6, 255, 0.062);

    box-shadow: var(--shadow-soft);
}



.soluciones-spei__card {
    position: relative;
    display: grid;
    gap: 0.65rem;
    justify-items: center;
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    border-radius: var(--radius-md);
    background: rgba(5, 12, 30, 0.48);
    border: 1px solid rgba(0, 174, 239, 0.22);
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    color: var(--finx-primary);
}

[data-theme="light"] .soluciones-spei__card {
    background: rgba(10, 17, 82, 0.88);
    border: 1px solid rgba(0, 174, 239, 0.2);
    
}

.soluciones-spei__card:hover,
.soluciones-spei__card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 174, 239, 0.2);
    border-color: rgba(0, 174, 239, 0.4);
}

.soluciones-spei__badge {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: clamp(0.95rem, 1.9vw, 1.05rem);
    color: var(--finx-primary);
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.22);
    box-shadow: inset 0 0 10px rgba(0, 174, 239, 0.14);
}

[data-theme="light"] .soluciones-spei__badge {
    background: rgba(255, 255, 255, 0.06);
}

.soluciones-spei__card h3 {
    margin: 0;
    font-size: clamp(1.32rem, 3.1vw, 1.8rem);
    font-weight: 700;
    color: var(--finx-primary);
}

.soluciones-spei__subtitle {
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 600;
    color: var(--finx-primary);
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.soluciones-spei__body {
    display: grid;
    gap: 0.8rem;
    align-content: center;
}

.soluciones-spei__body p {
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.12rem);
    color: rgba(231, 236, 243, 0.82);
}

[data-theme="light"] .soluciones-spei__card h3{
    color: white;
}

[data-theme="light"] .soluciones-spei__body p {
    color: rgba(27, 36, 48, 0.7);
}

@media (max-width: 900px) {
  .soluciones-spei__item {
    grid-template-columns: 1fr;          /* 1 columna */
    gap: 1rem;
  }

  /* Quitar inversiones de pares */
  .soluciones-spei__item:nth-of-type(even) {
    grid-template-columns: 1fr;
  }

    .soluciones-spei__body p {
    text-align: justify;
  }
 
}




[data-theme="light"] .soluciones-spei__item:nth-of-type(even) .soluciones-spei__card {
    background: rgba(10, 17, 82, 0.88);
    border: 1px solid rgba(0, 174, 239, 0.2);
}

.section--compact-bottom {
    padding-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.section--compact-top {
    padding-top: clamp(2.2rem, 4vw, 3.2rem);
}

.motor-heading {
    display: grid;
    justify-items: center;
    text-align: center;
    padding: clamp(2.3rem, 5vw, 3.4rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(59, 169, 215, 0.1), rgba(91, 42, 131, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}



.motor-heading::before,
.motor-heading::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: 0.55;
}

.motor-heading::before {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(59, 169, 215, 0.18), transparent 65%);
    top: -90px;
    left: -70px;
}

.motor-heading::after {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(91, 42, 131, 0.2), transparent 70%);
    bottom: -110px;
    right: -80px;
}

.motor-heading h2 {
    margin: 0;
    font-size: clamp(2.2rem, 4.8vw, 3.1rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}

[data-theme="light"] .motor-heading {
    background: linear-gradient(135deg, rgba(59, 168, 215, 0.767), rgba(91, 42, 131, 0.815));
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: white;
}

[data-theme="light"] .motor-heading::before {
    background: radial-gradient(circle, rgba(59, 169, 215, 0.16), transparent 65%);
}

[data-theme="light"] .motor-heading::after {
    background: radial-gradient(circle, rgba(91, 42, 131, 0.16), transparent 70%);
}

@media (max-width: 1080px) {
    .soluciones-spei__wrapper {
        border-radius: var(--radius-lg);
        padding: clamp(1.75rem, 5vw, 2.4rem);
    }

    .soluciones-spei__item {
        grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .soluciones-spei__item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .soluciones-spei__body {
        justify-items: center;
    }

    .soluciones-spei__item:nth-of-type(even) .soluciones-spei__body {
        justify-items: center;
        text-align: center;
    }

    .soluciones-spei__item:nth-of-type(even) .soluciones-spei__card {
        order: 0;
    }

    .soluciones-spei__item::before,
    .soluciones-spei__item:nth-of-type(even)::before {
        inset: -35% -30% 55% -30%;
    }
}

@media (max-width: 640px) {
    .soluciones-spei__card {
        width: 100%;
    }

    .soluciones-spei__body {
        text-align: left;
        justify-items: stretch;
    }

    .soluciones-spei__item {
        padding: clamp(1.3rem, 6vw, 1.7rem);
    }
}


