/* Spider Software — brand overrides (Manual de marca 2026) */

:root {
    --primary: #0B0F0E;
    --text-color: #FAFAFA;
    --text-color-2: #B3B8C4;
    --accent-color: #97d700;
    --accent-color-2: #2f425c;
    --accent-color-3: #12181f;
    --accent-color-4: #2f425c;
    --accent-color-5: #323232;
    --accent-color-6: linear-gradient(90deg, rgba(151, 215, 0, 1) 0%, rgba(47, 66, 92, 0.85) 100%);
    --accent-color-7: radial-gradient(50% 50% at 50% 50%, #c6f04a 0%, #97d700 100%);
    --font-1: "Montserrat", sans-serif;
    --font-2: "Montserrat", sans-serif;
    --font-3: "Abnes", var(--font-1);
}

body {
    font-family: var(--font-1);
}

.logo-container .navbar-brand img,
.navbar-brand img {
    max-height: 72px;
    width: auto !important;
    max-width: 220px;
    object-fit: contain;
    transition: max-height 0.3s ease, max-width 0.3s ease, opacity 0.25s ease;
}

.navbar-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.navbar-brand .logo-on-light {
    display: none;
}

#header.is-light .navbar-brand .logo-on-dark {
    display: none;
}

#header.is-light .navbar-brand .logo-on-light {
    display: block;
}

/* Al hacer scroll: vuelve al tamaño compacto actual */
#header.is-scrolled .logo-container .navbar-brand img,
#header.is-scrolled .navbar-brand img {
    max-height: 56px;
    max-width: 180px;
}

/*
 * Header liquid glass — blur en ::before (no en el contenedor).
 * Así el submenú puede aplicar su propio backdrop-filter sobre el hero.
 * is-scrolled / is-light: mismos tints.
 */
#header .navbar .container-fluid {
    position: relative;
    isolation: isolate;
    background: transparent;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 32px rgba(0, 0, 0, 0.12);
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

#header .navbar .container-fluid::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(45px) saturate(160%);
    -webkit-backdrop-filter: blur(45px) saturate(160%);
    transition: background 0.35s ease;
}

#header .navbar .container-fluid > * {
    position: relative;
    z-index: 1;
}

#header.is-scrolled .navbar .container-fluid {
    border-color: rgba(151, 215, 0, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 12px 40px rgba(0, 0, 0, 0.22);
}

#header.is-scrolled .navbar .container-fluid::before {
    background: rgba(11, 15, 14, 0.28);
}

#header.is-light .navbar .container-fluid {
    border-color: rgba(47, 66, 92, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 12px 40px rgba(15, 23, 42, 0.1);
}

#header.is-light .navbar .container-fluid::before {
    background: rgba(255, 255, 255, 0.38);
}

#header.is-light .nav-link {
    color: #0B0F0E;
}

#header.is-light .nav-link:hover,
#header.is-light .nav-link.active,
#header.is-light .navbar-nav .nav-link:focus,
#header.is-light .navbar-nav .nav-link.show {
    color: #2f425c !important;
}

#header.is-light .navbar-toggler,
#header.is-light .navbar-toggler .accent-color,
#header.is-light .navbar-toggler i {
    color: #2f425c !important;
}

/* Submenú Servicios — mismo liquid glass que la barra */
.spider-nav-services .dropdown-toggle::after {
    margin-left: 0.4rem;
    vertical-align: 0.15em;
    border-top-color: currentColor;
}

.spider-nav-services__menu.dropdown-menu {
    --spider-menu-bg: rgba(11, 15, 14, 0.52);
    min-width: 15.5rem;
    padding: 0.45rem 0;
    margin-top: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 14px !important;
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 18px 48px rgba(0, 0, 0, 0.38) !important;
    overflow: hidden;
    isolation: isolate;
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.spider-nav-services__menu.dropdown-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background: var(--spider-menu-bg);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    transition: background 0.35s ease;
}

#header.is-scrolled .spider-nav-services__menu.dropdown-menu {
    --spider-menu-bg: rgba(11, 15, 14, 0.6);
    border-color: rgba(151, 215, 0, 0.22) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 18px 48px rgba(0, 0, 0, 0.42) !important;
}

.spider-nav-services__menu .dropdown-item {
    position: relative;
    z-index: 1;
    padding: 0.65rem 1.15rem;
    font-size: 0.92rem;
    background: transparent !important;
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.9);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.spider-nav-services__menu > li {
    position: relative;
    z-index: 1;
}

.spider-nav-services__menu .dropdown-item:hover,
.spider-nav-services__menu .dropdown-item:focus,
.spider-nav-services__menu .dropdown-item.active {
    background: rgba(151, 215, 0, 0.88) !important;
    background-color: rgba(151, 215, 0, 0.88) !important;
    color: #0B0F0E !important;
}

.spider-nav-services__menu .dropdown-divider {
    position: relative;
    z-index: 1;
    margin: 0.35rem 0.85rem;
    border-top-color: rgba(255, 255, 255, 0.14);
    opacity: 1;
}

#header.is-light .spider-nav-services__menu.dropdown-menu {
    --spider-menu-bg: rgba(255, 255, 255, 0.62);
    border-color: rgba(47, 66, 92, 0.16) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 18px 48px rgba(15, 23, 42, 0.14) !important;
}

#header.is-light .spider-nav-services__menu .dropdown-item {
    color: #2f425c;
}

#header.is-light .spider-nav-services__menu .dropdown-item:hover,
#header.is-light .spider-nav-services__menu .dropdown-item:focus,
#header.is-light .spider-nav-services__menu .dropdown-item.active {
    background: rgba(151, 215, 0, 0.92) !important;
    background-color: rgba(151, 215, 0, 0.92) !important;
    color: #0B0F0E !important;
}

#header.is-light .spider-nav-services__menu .dropdown-divider {
    border-top-color: rgba(47, 66, 92, 0.12);
}

@media (min-width: 1200px) {
    .spider-nav-services:hover > .dropdown-menu,
    .spider-nav-services.show > .dropdown-menu {
        display: block;
    }
}

@media (max-width: 1199.98px) {
    .spider-nav-services__menu.dropdown-menu {
        width: 100%;
        margin-top: 0.25rem;
        margin-bottom: 0.35rem;
        border-radius: 12px !important;
        --spider-menu-bg: rgba(11, 15, 14, 0.55);
    }

    #header.is-light .spider-nav-services__menu.dropdown-menu {
        --spider-menu-bg: rgba(255, 255, 255, 0.7);
    }

    .spider-nav-services__menu .dropdown-item {
        text-align: start;
        padding-inline: 1rem;
    }
}

.header-cta--mobile {
    width: 100%;
    padding: 0.5rem 0.25rem 0.35rem;
}

/* Nav compacta en tablet/móvil: solo logo + menú (sin CTA externo) */
@media (max-width: 1199.98px) {
    #header .navbar {
        padding-block: 0.4rem;
    }

    #header .navbar .container-fluid {
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem 0.75rem;
        padding-inline: 12px;
        padding-block: 6px;
    }

    #header .logo-container {
        max-width: 120px;
        margin-right: auto;
    }

    #header .logo-container .navbar-brand img,
    #header .navbar-brand img {
        max-height: 32px;
        max-width: 118px;
    }

    #header.is-scrolled .logo-container .navbar-brand img,
    #header.is-scrolled .navbar-brand img {
        max-height: 28px;
        max-width: 104px;
    }

    #header .navbar-collapse {
        width: 100%;
        margin-top: 0.65rem;
        padding-top: 0.35rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    #header.is-light .navbar-collapse {
        border-top-color: rgba(47, 66, 92, 0.12);
    }
}

@media (max-width: 575.98px) {
    #header .logo-container {
        max-width: 108px;
    }

    #header .logo-container .navbar-brand img,
    #header .navbar-brand img {
        max-height: 60px;
        max-width: 120px;
    }

    #header.is-scrolled .logo-container .navbar-brand img,
    #header.is-scrolled .navbar-brand img {
        max-height: 50px;
        max-width: 100px;
    }
}

/* ---------- Superficies de sección (variedad + sombras animadas) ---------- */
.spider-surface {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

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

.spider-surface::before,
.spider-surface::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(72px);
    will-change: transform, opacity;
}

/* Glow verde: base más clara con blanco + orbes animados */
.spider-surface--glow {
    background:
        radial-gradient(ellipse 85% 65% at 8% 0%, rgba(151, 215, 0, 0.28) 0%, transparent 58%),
        radial-gradient(ellipse 75% 55% at 100% 100%, rgba(47, 66, 92, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(151, 215, 0, 0.08) 0%, transparent 70%),
        linear-gradient(165deg, #243a28 0%, #1a2c1f 40%, #15241a 100%);
    box-shadow: inset 0 0 120px rgba(151, 215, 0, 0.16);
}

.spider-surface--glow::before {
    width: min(68vw, 560px);
    height: min(68vw, 560px);
    top: -18%;
    right: -8%;
    background: rgba(220, 255, 170, 0.55);
    opacity: 0.7;
    animation: spiderSurfaceDriftA 14s ease-in-out infinite alternate;
}

.spider-surface--glow::after {
    width: min(58vw, 480px);
    height: min(58vw, 480px);
    bottom: -22%;
    left: -10%;
    background: rgba(255, 255, 255, 0.35);
    opacity: 0.58;
    animation: spiderSurfaceDriftB 18s ease-in-out infinite alternate;
}

/* Variante más profunda: útil para contrastar entre secciones oscuras */
.spider-surface--ink {
    background:
        radial-gradient(ellipse 55% 40% at 90% 20%, rgba(151, 215, 0, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, #0e1210 0%, #0b0f0e 100%);
    box-shadow: inset 0 0 80px rgba(151, 215, 0, 0.06);
}

.spider-surface--ink::before {
    width: min(48vw, 400px);
    height: min(48vw, 400px);
    top: 10%;
    left: 5%;
    background: rgba(151, 215, 0, 0.28);
    opacity: 0.35;
    animation: spiderSurfaceDriftA 16s ease-in-out infinite alternate;
}

.spider-surface--ink::after {
    width: min(42vw, 360px);
    height: min(42vw, 360px);
    bottom: 5%;
    right: 8%;
    background: rgba(47, 66, 92, 0.45);
    opacity: 0.4;
    animation: spiderSurfaceDriftB 20s ease-in-out infinite alternate;
}

/* Fondo claro gris reutilizable */
.spider-surface--mist,
.spider-section-light {
    background:
        radial-gradient(ellipse 70% 50% at 0% 0%, rgba(151, 215, 0, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 100% 100%, rgba(47, 66, 92, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, #f2f3f5 0%, #e6e8ec 55%, #dde0e5 100%);
    color: #2f425c;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.spider-surface--mist::before,
.spider-section-light.spider-surface::before {
    width: min(50vw, 420px);
    height: min(50vw, 420px);
    top: -20%;
    right: 5%;
    background: rgba(47, 66, 92, 0.14);
    opacity: 0.5;
    animation: spiderSurfaceDriftA 16s ease-in-out infinite alternate;
}

.spider-surface--mist::after,
.spider-section-light.spider-surface::after {
    width: min(46vw, 380px);
    height: min(46vw, 380px);
    bottom: -18%;
    left: -5%;
    background: rgba(151, 215, 0, 0.14);
    opacity: 0.4;
    animation: spiderSurfaceDriftB 19s ease-in-out infinite alternate;
}

.spider-surface--mist h1,
.spider-surface--mist h2,
.spider-surface--mist h3,
.spider-surface--mist h4,
.spider-surface--mist h5,
.spider-surface--mist h6,
.spider-surface--mist p,
.spider-section-light h1,
.spider-section-light h2,
.spider-section-light h3,
.spider-section-light h4,
.spider-section-light h5,
.spider-section-light h6,
.spider-section-light p {
    color: #2f425c;
}

.spider-surface--mist .text-color-2,
.spider-section-light .text-color-2 {
    color: #5a6578 !important;
}

@keyframes spiderSurfaceDriftA {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.55;
    }
    50% {
        opacity: 0.85;
    }
    100% {
        transform: translate3d(-8%, 12%, 0) scale(1.12);
        opacity: 0.7;
    }
}

@keyframes spiderSurfaceDriftB {
    0% {
        transform: translate3d(0, 0, 0) scale(1.05);
        opacity: 0.5;
    }
    50% {
        opacity: 0.75;
    }
    100% {
        transform: translate3d(10%, -10%, 0) scale(1);
        opacity: 0.62;
    }
}

@media (prefers-reduced-motion: reduce) {
    .spider-surface::before,
    .spider-surface::after {
        animation: none !important;
    }
}

footer .logo-container img,
footer img[src*="logo"] {
    max-height: 72px;
    width: auto !important;
    max-width: 160px;
    object-fit: contain;
}

/*
 * Texto accent: rÃ©plica del efecto Luminex (gradient clip + moveGradienttext).
 * Gradiente con alto contraste para que el brillo se note como en el referente.
 */
.text-accent,
h1.text-accent,
h2.text-accent,
h3.text-accent,
h3 span.text-accent,
span.text-accent {
    display: inline-block;
    background-image: linear-gradient(
        50deg,
        #97d700 0%,
        #e7fc9a 35%,
        #f0ffb8 50%,
        #e7fc9a 65%,
        #97d700 100%
    ) !important;
    background-color: transparent !important;
    background-size: 200% auto !important;
    background-position: 0% center;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: moveGradienttext 5s ease-in-out infinite alternate !important;
}

/*
 * Accent animado para fondos claros (mist / FAQ).
 * Misma mecánica que .text-accent, paleta azul oscuro.
 */
.text-accent--ink,
h1.text-accent--ink,
h2.text-accent--ink,
h3.text-accent--ink,
h3 span.text-accent--ink,
span.text-accent--ink,
.spider-surface--mist .text-accent--ink,
.spider-faq-light .text-accent--ink,
.spider-about-light .text-accent--ink {
    background-image: linear-gradient(
        50deg,
        #243852 0%,
        #2f425c 28%,
        #7997be 50%,
        #2f425c 72%,
        #243852 100%
    ) !important;
}

/* BotÃ³n accent: misma mecÃ¡nica Luminex (brillo + moveGradient), colores Spider */
.btn-accent {
    background-color: #97d700 !important;
    color: #0B0F0E !important;
    border: 4px solid rgba(255, 255, 255, 0.08);
}

.btn-accent:hover {
    color: #0B0F0E !important;
    border: 4px solid transparent;
    box-shadow: 0 4px 20px rgba(151, 215, 0, 0.55);
}

/*
 * RÃ©plica exacta del efecto "shine" de Luminex:
 * radial highlights + animation moveGradient
 */
.btn.btn-accent.animated-gradient,
a.btn.btn-accent.animated-gradient,
.btn-accent.animated-gradient {
    background-color: #97d700 !important;
    background-image:
        radial-gradient(at 82% 16%, rgba(232, 255, 160, 1) 0px, transparent 50%),
        radial-gradient(at 16% 86%, rgba(151, 215, 0, 1) 0px, transparent 50%);
    background-size: 200% 200%;
    animation: moveGradient 3s ease-in-out infinite alternate;
    color: #0B0F0E !important;
    font-weight: 600;
}

.btn.btn-accent.animated-gradient span,
a.btn.btn-accent.animated-gradient span,
.btn-accent.animated-gradient span,
.btn-accent span {
    color: #0B0F0E !important;
    -webkit-text-fill-color: #0B0F0E;
}

.btn-accent.line {
    background: transparent !important;
    background-image: none !important;
    animation: none !important;
    border: 1px solid var(--accent-color);
    color: var(--accent-color) !important;
}

.btn-accent.line span {
    color: inherit !important;
    -webkit-text-fill-color: currentColor;
}

.btn-accent.line:hover {
    background: var(--accent-color) !important;
    color: #0B0F0E !important;
    box-shadow: 0 4px 20px rgba(151, 215, 0, 0.45);
}

.btn-accent.line:hover span {
    color: #0B0F0E !important;
    -webkit-text-fill-color: #0B0F0E;
}

/* Icon paths: usan currentColor según el contenedor */
.icon-box svg,
.icon-box svg path,
.icon-box svg path[fill=""] {
    fill: currentColor;
}

/* Phosphor Duotone */
.icon-box .ph-duotone {
    font-size: 1.35rem;
    line-height: 1;
    color: currentColor;
    display: inline-block;
}

.icon-box.cta .ph-duotone { font-size: 2.5rem; }

.icon-box.cta.active .ph-duotone {
    color: #0B0F0E !important;
}

.icon-box.circle-gradient .ph-duotone,
.icon-box.circle-glass .ph-duotone,
.icon-box.circle-white .ph-duotone {
    font-size: 1.4rem;
    color: #0B0F0E !important;
}

.card-about .ph-duotone {
    font-size: 1.65rem;
    color: var(--accent-color, #97d700);
    line-height: 1;
    flex-shrink: 0;
}

/* Sobre fondos oscuros / gradiente de marca: icono lima */
.icon-box:not(.circle-gradient):not(.circle-glass):not(.circle-white):not(.cta) {
    color: var(--accent-color);
}

/* Sobre círculo lima / glass: icono oscuro (legible) */
.icon-box.circle-gradient,
.icon-box.circle-glass {
    color: #0B0F0E !important;
    background: var(--accent-color-7);
    box-shadow:
        0 4px 16px rgba(151, 215, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.icon-box.circle-gradient svg,
.icon-box.circle-gradient svg path,
.icon-box.circle-gradient svg path[fill=""],
.icon-box.circle-glass svg,
.icon-box.circle-glass svg path,
.icon-box.circle-glass svg path[fill=""] {
    fill: #0B0F0E !important;
}

.icon-box.circle-gradient img,
.icon-box.circle-glass img {
    filter: brightness(0) saturate(100%);
    opacity: 0.92;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.circle-white {
    background: var(--accent-color) !important;
    color: #0B0F0E !important;
}

.tags .circle-white svg path,
.icon-box.circle-white svg,
.icon-box.circle-white svg path,
.icon-box.circle-white svg path[fill=""] {
    fill: #0B0F0E !important;
}

/* Accent backgrounds */
.bg-accent,
.background-accent {
    background-color: var(--accent-color) !important;
}

/* Selection */
::selection {
    background: var(--accent-color);
    color: #0B0F0E;
}

/* ---------- Features coverflow (Bitelo) ---------- */
.bg-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-color-3);
    max-width: max-content;
    border-radius: 30px;
    padding: 8px 16px;
    color: var(--accent-color);
}

.bg-title.second h6 {
    color: var(--accent-color);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.features-swiper-shell {
    width: 100%;
    overflow: hidden;
    /* Soft fade at sides so peek slides don't "jump" off-screen */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.swiperImage.features-swiper {
    padding: 0.75rem 0 4rem !important;
    overflow: hidden;
    z-index: 1;
}

.swiperImage.features-swiper .swiper-wrapper {
    align-items: stretch;
}

.swiperImage.features-swiper .swiper-slide {
    height: auto;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.swiperImage.features-swiper .card-swiper {
    background-color: var(--accent-color-3);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 20px;
    padding: 20px;
    /* No CSS transform — coverflow owns 3D/scale (avoids jump fights) */
    transform: none;
    transition: background-color 0.45s ease, color 0.45s ease, box-shadow 0.45s ease;
    height: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.swiperImage.features-swiper .card-swiper img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 16px;
    width: 100%;
}

.swiperImage.features-swiper .card-swiper h4 {
    color: var(--text-color);
    max-width: 70%;
    margin: 0;
}

.swiperImage.features-swiper .card-swiper p,
.swiperImage.features-swiper .card-swiper a {
    display: none;
}

.swiperImage.features-swiper .swiper-slide-active .card-swiper {
    background-color: var(--accent-color);
    color: #0B0F0E;
    box-shadow: 0 16px 36px rgba(151, 215, 0, 0.28);
}

.swiperImage.features-swiper .swiper-slide-active .card-swiper h4 {
    color: #0B0F0E;
    max-width: 100%;
}

.swiperImage.features-swiper .swiper-slide-active .card-swiper p {
    display: block;
    color: #0B0F0E;
    margin: 0;
    opacity: 0.9;
}

.swiperImage.features-swiper .swiper-slide-active .card-swiper a {
    display: flex;
}

.swiperImage.features-swiper .swiper-3d .swiper-slide-shadow,
.swiperImage.features-swiper .swiper-3d .swiper-slide-shadow-left,
.swiperImage.features-swiper .swiper-3d .swiper-slide-shadow-right,
.swiperImage.features-swiper .swiper-3d .swiper-slide-shadow-top,
.swiperImage.features-swiper .swiper-3d .swiper-slide-shadow-bottom {
    display: none;
}

.features-pagination.swiper-pagination {
    margin-block: 1.5rem 0;
    position: relative;
}

.features-pagination .swiper-pagination-bullet {
    background: #555;
    opacity: 1;
}

.features-pagination .swiper-pagination-bullet-active {
    background: var(--accent-color);
}

.btn-accent-4 {
    position: relative;
    border: 1px solid #0B0F0E;
    border-radius: 45px;
    cursor: pointer;
    color: #0B0F0E;
    background: transparent;
    overflow: hidden;
    transition: all 0.4s;
    z-index: 9;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    width: max-content;
    padding: 0.35rem 0.35rem 0.35rem 1.1rem;
    text-decoration: none;
    font-weight: 600;
}

.btn-accent-4 span {
    position: relative;
    z-index: 2;
    color: #0B0F0E !important;
    -webkit-text-fill-color: #0B0F0E;
}

.btn-accent-4 .icon-box.blue {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0B0F0E;
    color: var(--accent-color);
    flex-shrink: 0;
}

.btn-accent-4:hover {
    background-color: #0B0F0E;
    color: var(--accent-color);
}

.btn-accent-4:hover span {
    color: var(--accent-color) !important;
    -webkit-text-fill-color: var(--accent-color);
}

.btn-accent-4:hover .icon-box.blue {
    background-color: var(--accent-color);
    color: #0B0F0E;
}

@media (max-width: 767.98px) {
    .features-swiper-shell {
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
    }

    .swiperImage.features-swiper {
        padding-bottom: 2.5rem !important;
    }
}

/* ---------- Hero banner layout ---------- */
.spider-hero.section {
    min-height: min(78vh, 820px);
    height: auto !important;
    padding-top: 5rem;
    /* Zona inferior libre: la marquesina solo invade este padding, no el copy */
    padding-bottom: 3.75rem;
    overflow: visible;
    display: flex;
    align-items: center;
}

.spider-hero__container {
    width: 100%;
}

.spider-hero__grid {
    width: 100%;
    margin: 0;
}

.spider-hero__copy {
    position: relative;
    z-index: 2;
}

.spider-hero__copy > .d-flex {
    gap: 1.25rem !important;
}

/* Una sola composición fluida (estilo Luminex) */
.spider-hero__headline {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
    max-width: 100%;
}

.spider-hero__line {
    display: contents; /* las dos “líneas” vuelven al mismo wrap */
}

.spider-hero__headline h1,
.spider-hero__line h1 {
    margin: 0;
    font-size: clamp(1.7rem, 2.6vw, 2.55rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.spider-hero__deco {
    flex: 0 0 auto;
    padding: 10px;
    width: 48px;
    height: 48px;
}

.spider-hero__deco svg {
    width: 26px;
    height: 26px;
}

.spider-hero__tag {
    flex: 0 0 auto;
    padding: 4px 18px 4px 4px;
    white-space: nowrap;
}

.spider-hero__tag h6 {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
}

.spider-hero__lead {
    max-width: 32rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
}

.spider-hero__actions {
    position: relative;
    z-index: 2;
}

.spider-hero__visual {
    overflow: visible;
}

.spider-hero__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(240px, 34vh, 440px);
    overflow: visible;
}

.spider-hero__sphere {
    width: min(100%, 580px);
    max-width: 100%;
    aspect-ratio: 1;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    pointer-events: auto;
    cursor: grab;
    touch-action: none;
    overflow: visible;
    margin-inline: auto;
}

.spider-hero__sphere:active {
    cursor: grabbing;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1200px) {
    .spider-hero__sphere {
        width: min(108%, 600px);
        max-width: none;
    }
}

@media (pointer: coarse) {
    .spider-hero__sphere {
        cursor: default;
    }

    .spider-hero__sphere:active {
        cursor: default;
    }
}

.spider-hero .th-circle-txt-wrap {
    top: 4%;
    right: 2%;
    bottom: auto;
    left: auto;
    width: 150px;
    height: 150px;
    padding: 18px;
    z-index: 3;
}

.spider-hero .th-circle-txt-wrap .th-icontext img {
    width: 36px;
    max-width: 40px;
}

/* Brand gradient — shared with global .animated-gradient.heroheader */
.animated-gradient.heroheader.spider-hero {
    background-color: #0B0F0E !important;
    background-image:
        radial-gradient(ellipse 42% 55% at 100% 8%, rgba(151, 215, 0, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 50% 45% at 0% 20%, rgba(47, 66, 92, 0.55) 0%, transparent 70%),
        radial-gradient(ellipse 55% 50% at 85% 100%, rgba(47, 66, 92, 0.35) 0%, transparent 70%) !important;
    background-size: 130% 130%;
}

/* ---------- Site-wide animated light language (green + brand blue) ---------- */
.animated-gradient.cta,
.animated-gradient.middle {
    background-color: #0B0F0E !important;
    background-image:
        radial-gradient(ellipse 50% 40% at 100% 50%, rgba(151, 215, 0, 0.28) 0%, transparent 70%),
        radial-gradient(ellipse 50% 45% at 0% 46%, rgba(47, 66, 92, 0.55) 0%, transparent 70%) !important;
}

.animated-gradient.team {
    background-color: #0B0F0E !important;
    background-image:
        radial-gradient(ellipse 60% 40% at 0% 46%, rgba(151, 215, 0, 0.16) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 100% 50%, rgba(47, 66, 92, 0.4) 0%, transparent 70%) !important;
}

.animated-gradient.footer {
    background-color: #0B0F0E !important;
    background-image:
        radial-gradient(ellipse 60% 40% at 10% 0%, rgba(151, 215, 0, 0.22) 0%, transparent 70%),
        radial-gradient(ellipse 45% 35% at 90% 100%, rgba(47, 66, 92, 0.45) 0%, transparent 70%) !important;
}

.animated-gradient.card-service {
    background-color: #0B0F0E !important;
    background-image:
        radial-gradient(ellipse 100% 70% at 100% 100%, rgba(151, 215, 0, 0.45) 0%, transparent 70%),
        radial-gradient(ellipse 80% 50% at 0% 100%, rgba(47, 66, 92, 0.85) 0%, transparent 70%) !important;
    box-shadow: inset 0 0 45px rgba(151, 215, 0, 0.12);
}

.card-feature:hover.animated-gradient,
.card-feature.active.animated-gradient,
.card-pricing:hover.animated-gradient,
.card-pricing.active.animated-gradient {
    background-color: #0B0F0E !important;
    background-image:
        radial-gradient(at 100% 53%, rgba(151, 215, 0, 0.32) 0px, transparent 50%),
        radial-gradient(at 87% 99%, rgba(47, 66, 92, 0.5) 0px, transparent 50%) !important;
    box-shadow: inset 0 0 45px rgba(151, 215, 0, 0.12);
}

/* Feature cards — modo claro */
.card-feature.card-feature--light,
.card-feature.card-feature--light.animated-gradient {
    background-color: #f4f5f7 !important;
    background-image: none !important;
    color: #2f425c;
    border: 1px solid rgba(47, 66, 92, 0.1);
    box-shadow:
        0 8px 28px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation: none;
    transition: background-color 0.45s ease, background-image 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.card-feature.card-feature--light h4,
.card-feature.card-feature--light h5,
.card-feature.card-feature--light p {
    color: #2f425c;
}

.card-feature.card-feature--light p {
    color: #5a6578;
}

.card-feature.card-feature--light .tags.accent {
    border-color: rgba(47, 66, 92, 0.28);
    color: #2f425c;
    background: rgba(255, 255, 255, 0.7);
}

.card-feature.card-feature--light:hover.animated-gradient,
.card-feature.card-feature--light.active.animated-gradient {
    background-color: #eef6e0 !important;
    background-image:
        radial-gradient(at 100% 40%, rgba(151, 215, 0, 0.28) 0px, transparent 55%),
        radial-gradient(at 0% 100%, rgba(255, 255, 255, 0.9) 0px, transparent 55%) !important;
    background-size: 140% 140%;
    animation: moveGradient 5s ease-in-out infinite alternate;
    border-color: rgba(151, 215, 0, 0.35);
    box-shadow:
        0 12px 32px rgba(151, 215, 0, 0.12),
        inset 0 0 40px rgba(151, 215, 0, 0.1);
}

.card-feature.card-feature--light:hover .tags.accent,
.card-feature.card-feature--light.active .tags.accent {
    border-color: var(--accent-color);
    background: rgba(151, 215, 0, 0.15);
    color: #1a2c1f;
}

.card-feature.card-feature--light:hover h4,
.card-feature.card-feature--light.active h4,
.card-feature.card-feature--light:hover p,
.card-feature.card-feature--light.active p {
    color: #1f2f24;
}

/* About Us — sección clara + cards claras con hover verde */
.spider-about-light {
    padding-block: clamp(3.25rem, 6vh, 5rem);
}

.spider-about-light .r-container {
    position: relative;
    z-index: 1;
}

.spider-about-light h6 {
    color: #2f425c;
}

.spider-about-light .icon-box.circle-gradient p {
    color: #0B0F0E;
    font-weight: 700;
}

.card-about.card-about--light {
    height: 100%;
    min-height: 220px;
    background: #ffffff;
    color: #2f425c;
    border: 1px solid rgba(47, 66, 92, 0.1);
    box-shadow:
        0 8px 28px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    background-image: none;
    transition:
        background-color 0.45s ease,
        background-image 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease,
        transform 0.35s ease;
}

.spider-about-light .row.row-cols-xl-3 > .col {
    display: flex;
}

.spider-about-light .row.row-cols-xl-3 > .col > .card-about {
    width: 100%;
}

.card-about.card-about--light h5,
.card-about.card-about--light p {
    color: #2f425c;
}

.card-about.card-about--light p {
    color: #5a6578;
    max-width: none;
    flex: 1 1 auto;
}

.card-about.card-about--light svg,
.card-about.card-about--light svg path,
.card-about.card-about--light svg path[fill=""] {
    fill: #2f425c !important;
    transition: fill 0.35s ease;
}

.card-about.card-about--light:hover {
    background-color: #eef6e0;
    background-image:
        radial-gradient(at 100% 20%, rgba(151, 215, 0, 0.32) 0px, transparent 55%),
        radial-gradient(at 0% 100%, rgba(255, 255, 255, 0.95) 0px, transparent 55%);
    background-size: 140% 140%;
    animation: moveGradient 5s ease-in-out infinite alternate;
    border-color: rgba(151, 215, 0, 0.4);
    box-shadow:
        0 14px 36px rgba(151, 215, 0, 0.14),
        inset 0 0 40px rgba(151, 215, 0, 0.1);
    transform: translateY(-4px);
}

.card-about.card-about--light:hover h5 {
    color: #1a2c1f;
}

.card-about.card-about--light:hover p {
    color: #2f425c;
}

.card-about.card-about--light:hover svg,
.card-about.card-about--light:hover svg path,
.card-about.card-about--light:hover svg path[fill=""] {
    fill: #0B0F0E !important;
}

@media (prefers-reduced-motion: reduce) {
    .card-about.card-about--light,
    .card-about.card-about--light:hover {
        animation: none;
        transform: none;
    }
}

/* FAQ — sección clara + acordeón claro */
.spider-faq-light {
    padding-block: clamp(3.25rem, 6vh, 5rem);
    overflow: visible;
}

.spider-faq-light .r-container {
    position: relative;
    z-index: 1;
}

/* FAQ: imagen derecha completa y centrada verticalmente */
.spider-faq-light > .r-container > .row,
.faqcontent > .r-container > .row,
.faqcontent .doubleContain > .row {
    align-items: center;
}

.spider-faq-visual,
.spider-pricing-faq-visual,
.spider-faq-light .col:last-child > .position-relative,
.faqcontent .col:last-child > .position-relative {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 0;
    overflow: visible;
}

.spider-faq-visual > img,
.spider-pricing-faq-visual > img,
.spider-faq-light .col:last-child > .position-relative > img,
.faqcontent .col:last-child > .position-relative > img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    object-position: center;
    display: block;
}

.spider-faq-light .accordion .accordion-item {
    background: #ffffff;
    border: 1px solid rgba(47, 66, 92, 0.1);
    color: #5a6578;
    box-shadow:
        0 8px 28px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

.spider-faq-light .accordion .accordion-button {
    color: #2f425c;
    font-weight: 600;
}

.spider-faq-light .accordion-button::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%232f425c" class="bi bi-plus" viewBox="0 0 16 16"><path d="M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4"/></svg>');
}

.spider-faq-light .accordion-button:not(.collapsed)::after {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%230B0F0E" class="bi bi-dash" viewBox="0 0 16 16"><path d="M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8"/></svg>');
}

.spider-faq-light .accordion .accordion-button:not(.collapsed) {
    color: #0B0F0E;
    background:
        radial-gradient(at 100% 0%, rgba(151, 215, 0, 0.35) 0px, transparent 55%),
        linear-gradient(90deg, rgba(151, 215, 0, 0.9) 0%, rgba(198, 240, 74, 0.75) 100%);
    border-radius: 14px 14px 0 0 !important;
}

.spider-faq-light .accordion .accordion-body {
    color: #5a6578;
}

.spider-faq-light .accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: rgba(151, 215, 0, 0.4);
    box-shadow:
        0 12px 32px rgba(151, 215, 0, 0.12),
        inset 0 0 36px rgba(151, 215, 0, 0.08);
    background-color: #f7fbee;
}

.spider-faq-light .accordion .accordion-item:hover {
    border-color: rgba(151, 215, 0, 0.28);
}

/* ---------- Hero rotating phrases ---------- */
.hero-rotator {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    max-width: 100%;
    isolation: isolate;
    /* Misma escala tipográfica que los h1 del hero → el 1.2em del viewport sí encaja */
    font-size: clamp(1.7rem, 2.6vw, 2.65rem);
    line-height: 1.15;
    font-weight: 700;
}

.hero-rotator__viewport {
    position: relative;
    overflow: hidden;
    height: 1.2em;
    min-width: 14ch;
}

.hero-rotator__track {
    position: relative;
    display: block;
    height: 100%;
}

.hero-rotator__item {
    position: absolute;
    inset: 0 auto auto 0;
    margin: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    white-space: nowrap;
    opacity: 0;
    transform: translate3d(0, 115%, 0) skewY(4deg);
    filter: blur(6px);
    pointer-events: none;
    z-index: 0;
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.55s ease;
}

.hero-rotator__item.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) skewY(0deg);
    filter: blur(0);
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.hero-rotator__item.is-leaving {
    opacity: 0;
    transform: translate3d(0, -115%, 0) skewY(-4deg);
    filter: blur(6px);
    position: absolute;
    z-index: 0;
}

@media (max-width: 1199.98px) {
    .spider-hero.section {
        padding-top: 5.5rem;
        padding-bottom: 4rem;
        min-height: auto;
    }

    .spider-hero__media {
        min-height: clamp(260px, 48vw, 420px);
        margin-top: 0.5rem;
    }

    .spider-hero__sphere {
        width: min(92%, 520px);
    }

    .spider-hero__lead {
        max-width: 36rem;
    }
}

@media (max-width: 991.98px) {
    .spider-hero__grid {
        text-align: left;
    }

    .spider-hero__visual {
        order: 2;
    }

    .spider-hero__copy {
        order: 1;
    }

    .spider-hero__actions {
        width: 100%;
    }

    .spider-hero__actions .btn {
        width: 100%;
        max-width: 22rem;
    }
}

@media (max-width: 767.98px) {
    .spider-hero.section {
        padding-top: 5.5rem;
        padding-bottom: 2rem;
        min-height: 0 !important;
        height: auto !important;
    }

    .spider-hero__headline h1,
    .spider-hero__line h1 {
        font-size: clamp(1.45rem, 6.8vw, 1.9rem);
    }

    .hero-rotator {
        width: 100%;
        flex: 1 1 100%;
        font-size: clamp(1.45rem, 6.8vw, 1.9rem);
    }

    .hero-rotator__viewport {
        width: 100%;
        height: auto;
        min-height: 1.25em;
    }

    .hero-rotator__item {
        white-space: normal;
    }

    .spider-hero__media {
        min-height: clamp(190px, 62vw, 300px);
    }

    .spider-hero__sphere {
        width: min(88%, 320px);
    }

    .spider-hero__tag {
        white-space: normal;
        max-width: 100%;
    }

    .spider-hero__deco {
        width: 38px;
        height: 38px;
        padding: 7px;
    }

    .spider-hero__lead {
        font-size: 0.9rem;
    }
}

@media (max-width: 419.98px) {
    .spider-hero__sphere {
        width: min(94%, 300px);
    }

    .spider-hero__media {
        min-height: 210px;
    }
}


/* About Company styles moved to css/about-tekni.css */

/* ---------- Services accordion (full-width expanding panels) ---------- */
.spider-svc-accordion {
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
    padding-inline: 0;
}

.spider-svc-accordion__intro {
    margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.spider-svc-accordion__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.75rem;
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.spider-svc-accordion__intro h3 {
    margin: 0;
    max-width: 22ch;
}

.spider-svc-track {
    display: flex;
    gap: 0.65rem;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 2rem;
    height: min(52vh, 500px);
    min-height: 380px;
    box-sizing: border-box;
}

.spider-svc-panel {
    --svc-delay: 0s;
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    cursor: pointer;
    isolation: isolate;
    opacity: 0;
    animation: spiderSvcPanelIn 0.6s ease forwards;
    animation-delay: var(--svc-delay);
    transition:
        flex 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.spider-svc-panel.is-active {
    flex: 2.35 1 0;
    border-color: rgba(151, 215, 0, 0.45);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(151, 215, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.spider-svc-track:has(.spider-svc-panel.is-active) .spider-svc-panel:not(.is-active) {
    flex: 0.85 1 0;
}

@keyframes spiderSvcPanelIn {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.spider-svc-panel__media,
.spider-svc-panel__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.spider-svc-panel__media img {
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.spider-svc-panel.is-active .spider-svc-panel__media img {
    transform: scale(1.1);
}

.spider-svc-panel__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(15, 23, 20, 0.15) 0%, transparent 38%),
        linear-gradient(180deg, transparent 42%, rgba(47, 66, 92, 0.72) 72%, rgba(15, 22, 28, 0.92) 100%);
    pointer-events: none;
    transition: background 0.45s ease;
}

.spider-svc-panel.is-active .spider-svc-panel__shade {
    background:
        linear-gradient(180deg, rgba(15, 23, 20, 0.1) 0%, transparent 34%),
        linear-gradient(180deg, transparent 28%, rgba(47, 66, 92, 0.55) 58%, rgba(11, 15, 14, 0.94) 100%);
}

.spider-svc-panel__rail {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 1.35rem;
    margin: 0;
    color: #fff;
    font-family: var(--font-1);
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: translateX(-50%) rotate(180deg);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    opacity: 1;
    transition:
        opacity 0.28s ease,
        transform 0.45s ease;
    pointer-events: none;
}

.spider-svc-panel.is-active .spider-svc-panel__rail {
    opacity: 0;
    transform: translateX(-50%) rotate(180deg) translateY(12px);
}

.spider-svc-panel__body {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 1.35rem 1.4rem 1.5rem;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition:
        opacity 0.35s ease 0.08s,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
        visibility 0.35s;
    pointer-events: none;
}

.spider-svc-panel.is-active .spider-svc-panel__body {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.spider-svc-panel__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 4px;
    background: rgba(151, 215, 0, 0.92);
    color: #0b0f0e;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.2;
}

.spider-svc-panel__title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 1.8vw, 1.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    max-width: 14ch;
}

.spider-svc-panel__text {
    margin: 0;
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
    line-height: 1.45;
}

.spider-svc-panel__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.35rem;
    padding: 0.7rem 1.15rem;
    border-radius: 8px;
    background: #fff;
    color: #2f425c !important;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.spider-svc-panel__cta i {
    font-size: 0.85em;
    transition: transform 0.25s ease;
}

.spider-svc-panel__cta:hover {
    background: var(--accent-color);
    color: #0b0f0e !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(151, 215, 0, 0.35);
}

.spider-svc-panel__cta:hover i {
    transform: translateX(3px);
}

.spider-svc-panel:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .spider-svc-track {
        height: auto;
        min-height: 0;
        flex-direction: column;
        gap: 0.55rem;
        padding-inline: 1rem;
    }

    .spider-svc-panel {
        flex: none;
        width: 100%;
        min-height: 96px;
        height: 96px;
    }

    .spider-svc-panel.is-active {
        height: auto;
        min-height: 260px;
    }

    .spider-svc-panel__rail {
        writing-mode: horizontal-tb;
        transform: none;
        left: 1rem;
        bottom: 0.9rem;
        letter-spacing: 0.08em;
        font-size: 0.85rem;
    }

    .spider-svc-panel.is-active .spider-svc-panel__rail {
        opacity: 0;
        transform: none;
    }

    .spider-svc-panel__title {
        max-width: none;
        text-transform: none;
        font-size: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .spider-svc-panel,
    .spider-svc-panel__media img,
    .spider-svc-panel__body,
    .spider-svc-panel__rail,
    .spider-svc-panel__cta {
        animation: none !important;
        transition: none !important;
    }

    .spider-svc-panel {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Footer Techy-style (Spider) ---------- */
.techy-footer {
    position: relative;
    color: var(--text-color);
    overflow: hidden;
}

/* Same light language as hero / CTA / middle sections */
.techy-footer.animated-gradient.footer {
    width: 100%;
    background-color: #0B0F0E;
    background-image:
        radial-gradient(ellipse 55% 45% at 85% 15%, rgba(151, 215, 0, 0.22) 0%, transparent 70%),
        radial-gradient(ellipse 45% 40% at 8% 85%, rgba(47, 66, 92, 0.5) 0%, transparent 70%),
        radial-gradient(ellipse 40% 30% at 50% 0%, rgba(47, 66, 92, 0.35) 0%, transparent 70%);
    background-size: 160% 120%;
    animation: moveGradient 5s ease-in-out infinite alternate;
}

.techy-footer__inner {
    position: relative;
    z-index: 1;
    padding: 10.5rem clamp(1.25rem, 4vw, 2rem) 2rem;
    background: transparent;
}

.techy-footer__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 6px,
            rgba(255, 255, 255, 0.06) 6px,
            rgba(255, 255, 255, 0.06) 7px
        );
    border: 1px dashed rgba(255, 255, 255, 0.12);
    -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%);
    mask-image: radial-gradient(circle, #000 55%, transparent 72%);
    will-change: transform, opacity;
}

.techy-footer__orb--lg {
    width: min(520px, 70vw);
    height: min(520px, 70vw);
    top: -8%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.55;
    animation: techyOrbDrift 10s ease-in-out infinite alternate;
}

.techy-footer__orb--sm {
    width: 220px;
    height: 220px;
    bottom: 18%;
    left: 8%;
    opacity: 0.4;
    animation: techyOrbPulse 7s ease-in-out infinite alternate;
}

@keyframes techyOrbDrift {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 0.4;
    }
    100% {
        transform: translateX(-50%) translateY(28px) scale(1.06);
        opacity: 0.65;
    }
}

@keyframes techyOrbPulse {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.28;
    }
    100% {
        transform: translate(18px, -22px) scale(1.08);
        opacity: 0.5;
    }
}

.techy-footer__cta {
    position: relative;
    z-index: 2;
    padding-bottom: 3.5rem;
}

.techy-footer__cta-title {
    margin: 0 auto 1.75rem;
    max-width: 830px;
    font-size: clamp(1.85rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    letter-spacing: -0.02em;
}

/* CTA button uses global .btn.btn-accent.animated-gradient — no local overrides */

.techy-footer__rule {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 0;
    opacity: 1;
}

.techy-footer__main {
    position: relative;
    z-index: 2;
    padding: 3.25rem 0;
}

.techy-footer__desc {
    max-width: 340px;
    margin: 0 0 1.75rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.65;
}

.techy-footer__chat {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    line-height: 1.1;
    transition: color 0.25s ease;
}

.techy-footer__chat i {
    font-size: 0.55em;
    color: var(--accent-color);
    transition: transform 0.25s ease;
}

.techy-footer__chat:hover {
    color: var(--accent-color);
}

.techy-footer__chat:hover i {
    transform: translate(3px, -3px);
}

.techy-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 0.35rem;
}

.techy-footer__links a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.2s ease;
}

.techy-footer__links a:hover {
    color: var(--accent-color);
}

.techy-footer__contact {
    text-align: left;
}

@media (min-width: 992px) {
    .techy-footer__contact {
        text-align: right;
    }
}

.techy-footer__email {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: #fff;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.2s ease;
}

.techy-footer__email:hover {
    color: var(--accent-color);
}

.techy-footer__address {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

.techy-footer__seat {
    margin: 0;
}

.techy-footer__seat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.15rem;
}

.techy-footer__phone {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.techy-footer__bottom {
    position: relative;
    z-index: 2;
    padding: 1.75rem 0 0.5rem;
}

.techy-footer__copy {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.techy-footer__social-item {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    color: #fff;
    background: transparent;
    text-decoration: none;
    transition: all 0.25s ease;
}

.techy-footer__social-item:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #0B0F0E;
}

.techy-scroll-top {
    position: fixed;
    right: 22px;
    bottom: 28px;
    z-index: 1100;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--accent-color);
    color: #0B0F0E;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(151, 215, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
}

.techy-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.techy-scroll-top:hover {
    background: #e7fc9a;
}

@media (max-width: 767.98px) {
    .techy-footer__inner {
        padding: 3.25rem 1.15rem 1.5rem;
    }

    .techy-footer__cta {
        padding-bottom: 2.25rem;
    }

    .techy-footer__cta-title {
        font-size: clamp(1.45rem, 6.5vw, 1.85rem);
        padding-inline: 0.15rem;
    }

    .techy-footer__main {
        padding: 2rem 0;
    }

    .techy-footer .r-container {
        padding-inline: 0;
        max-width: 100%;
    }

    .techy-footer__orb--sm {
        display: none;
    }

    .techy-footer__bottom {
        text-align: center;
    }
}

/* ---------- Pixelor: preloader ---------- */
@font-face {
    font-family: "Abnes";
    src: url("../font/abnes.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    height: 100vh;
    width: 100%;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.preloader svg {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 110vh;
    fill: #0B0F0E;
}

h5.preloader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: calc(64px + 4vw);
    color: #2a2f36;
    font-weight: normal;
    font-family: "Abnes", var(--font-1);
    letter-spacing: 0.02em;
    line-height: 1;
    z-index: 2;
    text-transform: none;
}

h5.preloader-text::after {
    content: "Spider";
    position: absolute;
    left: 0;
    top: 0;
    color: #97d700;
    animation: spiderPreloaderMove 2s infinite alternate;
}

@keyframes spiderPreloaderMove {
    from { clip-path: circle(20% at 0% 50%); }
    to { clip-path: circle(20% at 100% 50%); }
}

@media (max-width: 1040px) and (min-width: 768px) {
    h5.preloader-text {
        font-size: 56px;
    }
}

/* Cel: grande pero completo en viewport (Abnes condensada) */
@media (max-width: 767.98px) {
    h5.preloader-text {
        width: max-content;
        max-width: 90vw;
        font-size: min(13vw, 11vh) !important;
        letter-spacing: -0.02em;
        text-align: left;
        white-space: nowrap;
        line-height: 1;
        overflow: visible;
    }

    h5.preloader-text::after {
        left: 0;
        top: 0;
        width: 100%;
        white-space: nowrap;
    }
}

/* ---------- Pixelor: custom cursor ---------- */
@media (hover: hover) and (pointer: fine) {
    body.has-custom-cursor,
    body.has-custom-cursor a,
    body.has-custom-cursor button {
        cursor: none;
    }
}

.mouseCursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    transform: translateZ(0);
    visibility: hidden;
    text-align: center;
    z-index: 10000000;
}

.cursor-outer {
    margin-left: -15px;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-color);
    background: transparent;
    box-sizing: border-box;
    opacity: 0.45;
    transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.cursor-inner {
    margin-left: -4px;
    margin-top: -4px;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    opacity: 1;
    z-index: 10000001;
    transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.cursor-outer.cursor-hover {
    opacity: 0.2;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    margin-top: -25px;
}

.cursor-inner.cursor-hover {
    opacity: 0.35;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    margin-top: -9px;
}

/* Sobre fondos accent (hover verde): cursor oscuro para no “perderse” */
.cursor-outer.cursor-on-accent {
    border-color: #0B0F0E;
    background: rgba(255, 255, 255, 0.35);
    opacity: 0.95;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.cursor-inner.cursor-on-accent {
    background-color: #0B0F0E;
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.cursor-outer.cursor-hover.cursor-on-accent {
    opacity: 0.85;
    background: rgba(255, 255, 255, 0.45);
}

.cursor-inner.cursor-hover.cursor-on-accent {
    opacity: 0.95;
}

@media (hover: none), (pointer: coarse) {
    .mouseCursor {
        display: none !important;
    }
}

/* ---------- Pixelor: rotating circle text ---------- */
.th-circle-txt-wrap {
    height: 188px;
    width: 188px;
    display: inline-block;
    border-radius: 50%;
    background: #111111;
    padding: 23px;
    border: 1px solid #2C2C2C;
    position: absolute;
    top: 6%;
    right: 2%;
    z-index: 3;
}

.th-circle-txt-wrap img.circle,
.th-circle-txt-wrap .circle {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain !important;
    animation: rotateCircle 9s linear infinite !important;
    will-change: transform;
}

.th-circle-txt-wrap .th-icontext {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin: 0 auto;
    text-align: center;
    pointer-events: none;
    z-index: 2;
}

.th-circle-txt-wrap .th-icontext img {
    width: 44px;
    height: auto;
    max-width: 48px;
    object-fit: contain !important;
    display: inline-block;
}

@keyframes rotateCircle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---------- Pixelor: double brand marquee ---------- */
.fix {
    overflow: hidden;
}

/* Pulls the tilted strips into the reserved bottom padding of the hero */
.th-brand-height-214 {
    position: relative;
    z-index: 4;
    height: 260px;
    margin-top: -210px;
    margin-bottom: 3rem;
    pointer-events: none;
}

.th-brand-height-214 .swiper {
    pointer-events: auto;
}

.tp-brand-area {
    overflow: hidden;
}

.tp-brand-area-1 {
    transform: rotate(-2.92deg) translateY(64px);
    background: #1a222c;
}

.tp-brand-area-2 {
    transform: rotate(2.77deg) translateY(-61px);
    background: #0B0F0E;
}

.th-gray-bg {
    background: #1a222c;
}

.th-black-bg {
    background: #0B0F0E;
}

.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }

.tp-slide-transtion {
    transition-timing-function: linear !important;
}

.tp-brand-slide-element {
    width: auto !important;
    display: inline-flex;
}

.tp-brand-img {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.th-icn-1 {
    margin: 0 28px;
    display: inline-flex;
    align-items: center;
}

.th-icn-1 img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.tp-brand-label {
    font-family: var(--font-3);
    font-size: clamp(0.95rem, 1.6vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.22);
    line-height: 1;
}

.tp-brand-label--light {
    color: rgba(151, 215, 0, 0.55);
}

.tp-brand-area-2 .tp-brand-label {
    color: rgba(255, 255, 255, 0.28);
}

.tp-brand-area-2 .tp-brand-label--light {
    color: rgba(151, 215, 0, 0.7);
}

@media only screen and (max-width: 1199.98px) {
    /* Cortes diagonales visibles: solape controlado (no taparse por completo) */
    .th-brand-height-214 {
        height: 210px;
        margin-top: -40px;
        margin-bottom: 2.25rem;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        pointer-events: none;
    }

    .th-brand-height-214 .swiper {
        pointer-events: auto;
    }

    .th-brand-height-214 .tp-brand-area {
        width: 118%;
        margin-left: -9%;
        flex: 0 0 auto;
        position: relative;
    }

    .tp-brand-area-1 {
        transform: rotate(-3.15deg);
        margin-bottom: -20px;
        z-index: 1;
    }

    .tp-brand-area-2 {
        transform: rotate(3deg);
        margin-top: -20px;
        z-index: 2;
    }

    .tp-brand-area.pt-40 {
        padding-top: 16px;
    }

    .tp-brand-area.pb-40 {
        padding-bottom: 16px;
    }

    .th-icn-1 {
        margin: 0 16px;
    }

    .th-circle-txt-wrap {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 1rem;
    }

    .spider-hero .th-circle-txt-wrap {
        position: absolute;
        top: 0;
        right: 0;
        left: auto;
        bottom: auto;
        margin: 0;
    }
}

@media only screen and (max-width: 767.98px) {
    .th-brand-height-214 {
        height: 220px;
        margin-top: -58px;
        margin-bottom: 2rem;
    }

    .th-brand-height-214 .tp-brand-area {
        width: 124%;
        margin-left: -12%;
    }

    .tp-brand-area-1 {
        transform: rotate(-2.95deg);
        margin-bottom: -8px;
    }

    .tp-brand-area-2 {
        transform: rotate(2.85deg);
        margin-top: -8px;
    }

    .tp-brand-area.pt-40 {
        padding-top: 18px;
    }

    .tp-brand-area.pb-40 {
        padding-bottom: 18px;
    }

    .th-icn-1 {
        margin: 0 12px;
    }

    .tp-brand-label {
        font-size: 0.8rem;
    }
}

@media only screen and (max-width: 419.98px) {
    .th-brand-height-214 {
        height: 200px;
        margin-top: -20px;
        margin-bottom: 1.75rem;
    }

    .tp-brand-area-1 {
        transform: rotate(-2.75deg);
        margin-bottom: -6px;
    }

    .tp-brand-area-2 {
        transform: rotate(2.65deg);
        margin-top: -6px;
    }
}

/* ---------- Feature cards with icons (large lime glyphs) ---------- */
.card-feature--with-icon {
    gap: 0;
    min-height: 340px;
    height: 100%;
    justify-content: space-between;
}

.card-feature--with-icon.card-feature--md {
    min-height: 380px;
}

.card-feature--with-icon.card-feature--lg {
    min-height: 420px;
}

.card-feature__icon {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    width: auto;
    height: auto;
    padding: 1.5rem 0;
    margin: 0;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    aspect-ratio: auto;
}

.card-feature__icon i,
.card-feature__icon svg {
    color: var(--accent-color);
    fill: var(--accent-color);
    font-size: clamp(3.4rem, 5vw, 4.75rem);
    line-height: 1;
    width: 1em;
    height: 1em;
    display: block;
}

/* ---------- Iconografía cards: glass + zoom hover ---------- */
.card-service figure,
.card-feature figure,
.card-about figure {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    max-width: 200px;
    isolation: isolate;
    overflow: visible;
}

.card-service figure::before,
.card-feature figure::before,
.card-about figure::before {
    content: "";
    position: absolute;
    inset: 8% 2%;
    z-index: 0;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03) 42%, rgba(151, 215, 0, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(0px) saturate(120%);
    -webkit-backdrop-filter: blur(0px) saturate(120%);
    opacity: 0;
    transform: scale(0.82) rotate(-4deg);
    transition:
        opacity 0.55s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        backdrop-filter 0.55s ease,
        border-color 0.45s ease,
        box-shadow 0.55s ease;
    pointer-events: none;
}

.card-service figure::after,
.card-feature figure::after,
.card-about figure::after {
    content: "";
    position: absolute;
    inset: -6%;
    z-index: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 180deg,
        transparent 0deg,
        rgba(151, 215, 0, 0.55) 50deg,
        transparent 110deg,
        rgba(92, 123, 164, 0.45) 200deg,
        transparent 280deg
    );
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.7);
    transition: opacity 0.5s ease, transform 0.65s ease;
    pointer-events: none;
    animation: spiderIcoOrbit 8s linear infinite;
    animation-play-state: paused;
}

.spider-ico {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 180px;
    aspect-ratio: 3 / 2;
    object-fit: contain !important;
    mix-blend-mode: lighten;
    transform: translateZ(0) scale(1);
    filter: drop-shadow(0 0 0 transparent);
    transition:
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.55s ease;
}

/* Light cards: sin blend (el matte negro no convive bien con lighten sobre fondo claro) */
.card-feature--light .spider-ico {
    mix-blend-mode: normal;
    filter: none;
}

.card-feature--light figure::before {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(151, 215, 0, 0.12) 50%, rgba(47, 66, 92, 0.08));
    border-color: rgba(47, 66, 92, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 12px 28px rgba(47, 66, 92, 0.12);
}

.card-service:hover figure::before,
.card-feature:hover figure::before,
.card-about:hover figure::before,
.card-service:focus-within figure::before,
.card-feature:focus-within figure::before {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-color: rgba(151, 215, 0, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 0 0 1px rgba(151, 215, 0, 0.12),
        0 18px 40px rgba(151, 215, 0, 0.18);
}

.card-service:hover figure::after,
.card-feature:hover figure::after,
.card-about:hover figure::after,
.card-service:focus-within figure::after,
.card-feature:focus-within figure::after {
    opacity: 0.7;
    transform: scale(1);
    animation-play-state: running;
}

.card-service:hover .spider-ico,
.card-feature:hover .spider-ico,
.card-about:hover .spider-ico,
.card-service:focus-within .spider-ico,
.card-feature:focus-within .spider-ico {
    transform: translateY(-6px) scale(1.12);
    filter: drop-shadow(0 14px 22px rgba(151, 215, 0, 0.35));
}

.card-feature--light:hover .spider-ico,
.card-feature--light:focus-within .spider-ico {
    filter: drop-shadow(0 12px 18px rgba(47, 66, 92, 0.2));
}

@keyframes spiderIcoOrbit {
    to { transform: scale(1) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .card-service figure::before,
    .card-feature figure::before,
    .card-about figure::before,
    .card-service figure::after,
    .card-feature figure::after,
    .card-about figure::after,
    .spider-ico {
        transition: none !important;
        animation: none !important;
    }

    .card-service:hover .spider-ico,
    .card-feature:hover .spider-ico,
    .card-about:hover .spider-ico {
        transform: none;
    }
}


.card-feature:hover .card-feature__icon,
.card-feature.active .card-feature__icon {
    box-shadow: none !important;
}

.card-feature:hover .card-feature__icon i,
.card-feature.active .card-feature__icon i {
    color: var(--accent-color);
}

@media (max-width: 1199.98px) {
    .card-feature--with-icon,
    .card-feature--with-icon.card-feature--md,
    .card-feature--with-icon.card-feature--lg {
        min-height: auto;
        gap: 1.75rem;
    }

    .card-feature__icon {
        padding: 0.75rem 0;
        flex: 0 0 auto;
    }

    .card-feature__icon i {
        font-size: 3.75rem;
    }
}
.framework-orbit {
    position: relative;
    min-height: 700px;
    isolation: isolate;
}

/* Anillos concéntricos como en Luminex (img17), tintados a verde/azul Spider */
.framework-orbit::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("../image/img17.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
    filter: hue-rotate(95deg) saturate(1.35) brightness(1.08);
}

.framework-orbit__grid {
    position: relative;
    z-index: 1;
    min-height: 660px;
}

.framework-orbit .icon-box.circle-gradient {
    box-shadow: 0 0 28px rgba(151, 215, 0, 0.45);
}

@media (max-width: 1199.98px) {
    .framework-orbit {
        min-height: auto;
    }

    .framework-orbit::before {
        background-size: contain;
        opacity: 0.85;
    }

    .framework-orbit__grid {
        min-height: auto;
    }
}

/* =========================================================
   Contacto — Tekni layout + Pixelor map tone
   ========================================================= */
.spider-contact {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 0% 20%, rgba(151, 215, 0, 0.08), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 80%, rgba(47, 66, 92, 0.35), transparent 50%);
}

.spider-contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .spider-contact__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 3.5rem;
        align-items: start;
    }
}

.spider-contact__heading {
    margin-bottom: 1rem;
    line-height: 1.15;
}

.spider-contact__lead {
    max-width: 34rem;
    color: var(--text-color-2);
    margin-bottom: 0;
}

.spider-contact__list {
    margin-top: 2.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.spider-contact__list li {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
}

.spider-contact__icon {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.spider-contact__icon--accent {
    background: var(--accent-color);
    color: #0e0e0e;
}

.spider-contact__icon--blue {
    background: #3d5a7a;
}

.spider-contact__icon--muted {
    background: #1a2430;
    border: 1px solid rgba(151, 215, 0, 0.25);
    color: var(--accent-color);
}

.spider-contact__meta h5 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.spider-contact__meta p,
.spider-contact__meta a {
    margin: 0;
    color: var(--text-color-2);
    text-decoration: none;
    line-height: 1.5;
}

.spider-contact__meta a:hover {
    color: var(--accent-color);
}

.spider-contact__form-card {
    position: relative;
    background: #fff;
    color: #1a1a1a;
    border-radius: 14px;
    padding: 2.75rem 3rem;
    box-shadow: 0 18px 60px -12px rgba(18, 24, 31, 0.55);
    z-index: 2;
    width: 100%;
    min-width: 0;
}

.spider-contact__eyebrow {
    display: inline-block;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #5a6b3a;
}

.spider-contact__form-title {
    margin: 0 0 0.75rem;
    color: #0e0e0e;
    font-size: clamp(1.6rem, 2.4vw, 2.15rem);
}

.spider-contact__form-lead {
    color: #666;
    margin-bottom: 1.75rem;
    max-width: 36rem;
}

.spider-contact__form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 576px) {
    .spider-contact__form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.spider-contact__form .form-control {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid #d6d6d6 !important;
    border-radius: 0 !important;
    padding: 0.95rem 0 !important;
    color: #1a1a1a !important;
    font-size: 1.05rem;
    box-shadow: none !important;
    width: 100%;
}

.spider-contact__form .form-control::placeholder {
    color: #8a8a8a;
    opacity: 1;
}

.spider-contact__form .form-control:focus {
    border-bottom-color: #97d700 !important;
    background: transparent !important;
    color: #0e0e0e !important;
    -webkit-text-fill-color: #0e0e0e;
    font-weight: 500;
}

.spider-contact__form .form-control:autofill,
.spider-contact__form .form-control:autofill:focus {
    -webkit-text-fill-color: #0e0e0e;
    box-shadow: 0 0 0 1000px #fff inset !important;
    transition: background-color 5000s ease-in-out;
}

.spider-contact__form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.spider-contact__form .invalid-feedback {
    text-align: left;
}

.spider-contact__submit {
    width: 100%;
    justify-content: center;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

@media (max-width: 991.98px) {
    .spider-contact__form-card {
        padding: 2rem 1.5rem;
    }
}

/* Mapa full-bleed — tono Pixelor (grayscale) + velo de marca */
.spider-contact-map {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #12181f;
    line-height: 0;
}

.spider-contact-map__frame {
    position: relative;
    width: 100%;
    height: min(52vh, 480px);
    min-height: 340px;
}

.spider-contact-map__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    /* Pixelor: grayscale + contraste limpio */
    filter: grayscale(100%) contrast(1.08) brightness(0.88);
}

.spider-contact-map__frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(18, 24, 31, 0.35) 0%, transparent 28%),
        linear-gradient(0deg, rgba(18, 24, 31, 0.45) 0%, transparent 22%),
        linear-gradient(120deg, rgba(151, 215, 0, 0.08), rgba(47, 66, 92, 0.18));
    mix-blend-mode: multiply;
}

@media (max-width: 767.98px) {
    .spider-contact-map__frame {
        min-height: 300px;
        height: 45vh;
    }
}

/* ---------- Service detail ---------- */
.spider-service-detail-section {
    position: relative;
}

.spider-service-detail {
    position: relative;
    z-index: 1;
}

.spider-service-detail__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(47, 66, 92, 0.08);
    color: var(--color-secondary, #2f425c);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    width: max-content;
}

.spider-service-detail__eyebrow .ph-duotone {
    font-size: 1.15rem;
    color: var(--accent-color);
}

.spider-service-detail__tags .tags.service {
    background: #2f425c;
    color: #ffffff;
}

.spider-service-detail__tags .tags.service.active,
.spider-service-detail__tags .tags.service:hover {
    background: var(--accent-color);
    color: #0B0F0E;
}

.spider-service-detail__lead {
    max-width: 42rem;
    margin-bottom: 0;
}

.spider-service-detail__blocks {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
}

.spider-service-detail__block {
    padding: 1.25rem 1.35rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 66, 92, 0.08);
    box-shadow: 0 10px 28px rgba(15, 23, 20, 0.05);
}

.spider-service-detail__block h5 {
    margin: 0 0 0.55rem;
    color: var(--color-secondary, #2f425c);
}

.spider-service-detail__block p {
    margin: 0;
    color: rgba(11, 15, 14, 0.78);
}

.spider-service-detail__aside {
    position: sticky;
    top: 6.5rem;
}

.spider-service-stat {
    gap: 0.75rem;
}

.spider-service-stat__icon {
    font-size: 1.65rem;
    color: var(--accent-color);
    line-height: 1;
}

.spider-service-stat.animated-gradient .spider-service-stat__icon {
    color: #0B0F0E;
}

.spider-service-caps {
    padding: 1.5rem 1.4rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(47, 66, 92, 0.1);
    box-shadow: 0 14px 36px rgba(15, 23, 20, 0.06);
}

.spider-service-caps h4 {
    margin: 0 0 1rem;
    color: var(--color-secondary, #2f425c);
}

.spider-service-include {
    min-height: 100%;
}

.spider-service-faq-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    height: auto;
    overflow: visible;
}

.spider-service-faq-visual > img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.spider-service-faq-visual .icon-box.circle-glass {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0B0F0E;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.spider-service-related {
    display: block;
    color: inherit;
    height: 100%;
}

.spider-service-related:hover {
    color: inherit;
}

.spider-service-related__figure {
    margin: 0 0 0.75rem;
}

.spider-service-related__figure img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* Las card-service son oscuras: no heredar tipografía “mist” */
.spider-surface--mist .card-service,
.spider-surface--mist .card-service h3,
.spider-surface--mist .card-service h5,
.spider-surface--mist .card-service h6,
.spider-surface--mist .card-service p,
.spider-surface--mist .card-service .number {
    color: var(--text-color);
}

.spider-surface--mist .card-service.animated-gradient h3,
.spider-surface--mist .card-service.animated-gradient h5,
.spider-surface--mist .card-service.animated-gradient h6,
.spider-surface--mist .card-service.animated-gradient p,
.spider-surface--mist .card-service.animated-gradient .number {
    color: var(--text-color);
}

/* Stack dentro del glow de service_detail */
.spider-surface--glow .stack-container {
    position: relative;
    z-index: 1;
    margin-top: 3.5rem;
    margin-bottom: 1rem;
}

.spider-detail-testimonials {
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
}

.spider-detail-testimonials .swiperTestimonialsService {
    width: 100%;
    overflow: hidden;
    padding-bottom: 0.25rem;
}

.spider-detail-testimonials .swiper-slide {
    height: auto;
}

.spider-detail-testimonials .testimonial-container {
    height: auto;
    min-height: 220px;
    width: 100%;
}

.testimonial-avatar {
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--accent-color-2);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1199.98px) {
    .spider-service-detail__aside {
        position: static;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    .spider-service-faq-visual > img,
    .spider-faq-visual > img,
    .spider-pricing-faq-visual > img {
        width: min(100%, 420px);
        margin-inline: auto;
    }
}

.spider-pricing-faq-visual .icon-box.circle-glass {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0B0F0E;
    font-size: 1.35rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/*
 * Scroll reveal one-shot con keyframes (se ve al cargar y al scrollear).
 * Una sola vez → sin parpadeo al volver a pasar por el bloque.
 */
.scrollanimation.animated {
    animation: none !important;
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    will-change: opacity, transform;
}

.scrollanimation.fadeInDown {
    transform: translate3d(0, -28px, 0);
}

.scrollanimation.fadeInLeft {
    transform: translate3d(-32px, 0, 0);
}

.scrollanimation.fadeInRight {
    transform: translate3d(32px, 0, 0);
}

.scrollanimation.zoomIn {
    transform: scale(0.92);
    opacity: 0;
}

.scrollanimation.fadeIn {
    transform: none;
    opacity: 0;
}

.scrollanimation.adl-1.is-revealed { animation-delay: 0.12s !important; }
.scrollanimation.adl-2.is-revealed { animation-delay: 0.22s !important; }
.scrollanimation.adl-3.is-revealed { animation-delay: 0.32s !important; }
.scrollanimation.adl-4.is-revealed { animation-delay: 0.4s !important; }
.scrollanimation.adl-5.is-revealed { animation-delay: 0.48s !important; }
.scrollanimation.adl-6.is-revealed { animation-delay: 0.56s !important; }

.scrollanimation.animated.is-revealed,
.scrollanimation.fadeInUp.is-revealed {
    animation: spiderRevealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.scrollanimation.fadeInDown.is-revealed {
    animation: spiderRevealDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.scrollanimation.fadeInLeft.is-revealed {
    animation: spiderRevealLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.scrollanimation.fadeInRight.is-revealed {
    animation: spiderRevealRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.scrollanimation.zoomIn.is-revealed {
    animation: spiderRevealZoom 0.8s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.scrollanimation.fadeIn.is-revealed {
    animation: spiderRevealFade 0.7s ease both !important;
}

@keyframes spiderRevealUp {
    from { opacity: 0; transform: translate3d(0, 28px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes spiderRevealDown {
    from { opacity: 0; transform: translate3d(0, -28px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes spiderRevealLeft {
    from { opacity: 0; transform: translate3d(-32px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes spiderRevealRight {
    from { opacity: 0; transform: translate3d(32px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes spiderRevealZoom {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes spiderRevealFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .scrollanimation.animated,
    .scrollanimation.animated.is-revealed {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        will-change: auto;
    }
}

/* Cards de contacto: sin pelear con transforms del reveal */
.spider-contact__form-card,
.spider-contact__info {
    backface-visibility: hidden;
}

/* ---------- Partners / clientes: tono integrado + color al hover ---------- */
.marquee-container.partner {
    --partner-gap: 0.75rem;
    padding-block: 1rem;
}

.marquee-container.partner .marquee-item {
    width: clamp(130px, 14vw, 200px);
    margin-right: var(--partner-gap);
    padding-inline: 0.4rem;
    flex: 0 0 auto;
    transition: transform 0.35s ease;
}

.marquee-container.partner .logo-partner {
    width: auto;
    max-width: 100%;
    max-height: 56px;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) contrast(0.9) brightness(1.35);
    opacity: 0.9;
    mix-blend-mode: luminosity;
    transition:
        filter 0.4s ease,
        opacity 0.4s ease,
        mix-blend-mode 0.4s ease,
        transform 0.35s ease;
}

.marquee-container.partner .marquee-item:hover .logo-partner {
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
    transform: scale(1.06);
}

@media (max-width: 991.98px) {
    .marquee-container.partner {
        --partner-gap: 0.4rem;
        padding-block: 0.5rem;
    }

    /* ~3 logos visibles en el viewport */
    .marquee-container.partner .marquee-item {
        width: calc((100vw - 2.4rem) / 4);
        max-width: 140px;
        margin-right: var(--partner-gap);
        padding-inline: 0.25rem;
    }

    .marquee-container.partner .logo-partner {
        max-height: 40px;
    }
}

@media (max-width: 419.98px) {
    .marquee-container.partner .marquee-item {
        width: calc((100vw - 1.8rem) / 3);
        max-width: 120px;
    }

    .marquee-container.partner .logo-partner {
        max-height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-container.partner .logo-partner,
    .marquee-container.partner .marquee-item {
        transition: none;
    }

    .marquee-container.partner .marquee-item:hover .logo-partner {
        transform: none;
    }
}

/* ---------- Page heroes / CTA bands (desktop defaults) ---------- */
/* Especificidad > .section:not(...) de densidad FHD */
.section.spider-page-hero,
.section.spider-page-hero--tall {
    height: auto;
    min-height: 0;
    /* Espacio libre bajo el header fixed (~logo 72px + paddings nav ≈ 7.5–8rem) */
    padding-top: clamp(11.5rem, 18vh, 14rem);
    padding-bottom: clamp(2.75rem, 5vh, 4rem);
}

.section.spider-page-hero--tall {
    min-height: min(88vh, 860px);
}

.spider-page-hero__media {
    width: 100%;
    max-width: none;
    aspect-ratio: 1 / 1;
    position: relative;
    display: block;
    margin-inline: 0;
}

.spider-page-hero .col:last-child > .d-flex {
    width: 100%;
}

.spider-page-hero__media svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.spider-page-hero__media image {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.spider-page-hero__media:hover image {
    transform: scale(1.035);
    transform-origin: center;
}

.spider-page-hero__halo {
    fill: rgba(151, 215, 0, 0.14);
    pointer-events: none;
}

.spider-page-hero__border {
    pointer-events: none;
}

.spider-page-hero__rim {
    stroke: rgba(151, 215, 0, 0.82);
    stroke-width: 3.75;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.spider-page-hero__rim-glow {
    stroke: rgba(151, 215, 0, 0.55);
    stroke-width: 10;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
    animation: spider-hero-rim-pulse 2.8s ease-in-out infinite;
}

.spider-page-hero__rim-runner {
    stroke: #e8ff9a;
    stroke-width: 4.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 0.16 0.84;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 6px rgba(151, 215, 0, 0.85));
    animation: spider-hero-rim-run 3.4s linear infinite;
}

.spider-page-hero__accent-ring {
    fill: none;
    stroke: rgba(151, 215, 0, 0.7);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.spider-page-hero__accent-dot {
    fill: #97d700;
    animation: spider-hero-accent-pulse 2.4s ease-in-out infinite;
}

@keyframes spider-hero-rim-pulse {
    0%,
    100% {
        opacity: 0.28;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes spider-hero-rim-run {
    to {
        stroke-dashoffset: -1;
    }
}

@keyframes spider-hero-accent-pulse {
    0%,
    100% {
        opacity: 0.75;
        transform: scale(1);
        transform-origin: center;
        transform-box: fill-box;
    }
    50% {
        opacity: 1;
        transform: scale(1.18);
        transform-origin: center;
        transform-box: fill-box;
    }
}

@media (prefers-reduced-motion: reduce) {
    .spider-page-hero__media image,
    .spider-page-hero__media:hover image {
        transition: none;
        transform: none;
    }

    .spider-page-hero__rim-glow,
    .spider-page-hero__rim-runner,
    .spider-page-hero__accent-dot {
        animation: none;
    }

    .spider-page-hero__rim-glow {
        opacity: 0.45;
    }
}

.spider-cta-marquee {
    height: 60vh;
    min-height: 420px;
    background-color: var(--primary, #0B0F0E);
    isolation: isolate;
}

.spider-cta-marquee .container-wrapper-marquee {
    z-index: 0;
}

.spider-cta-marquee .marquee-container {
    --speed: 32;
    --gap: 0.5rem;
}

.spider-cta-marquee .r-container {
    z-index: 4;
}

.spider-cta-marquee__card {
    padding: 1.5rem 2.5rem;
    max-width: min(100%, 45rem);
    position: relative;
    z-index: 4;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.spider-cta-band {
    height: auto;
    padding-block: clamp(3.5rem, 8vh, 5.25rem);
}

.spider-why-stack {
    padding-top: 3.5em;
}

.spider-why-icon {
    height: auto;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: lighten;
}

.spider-why-icon--sm { width: 150px; }
.spider-why-icon--md { width: 200px; }
.spider-why-icon--lg { width: 240px; }

/* ---------- Pricing plans slider ---------- */
.spider-pricing-swiper-shell {
    position: relative;
    width: 100%;
    padding-inline: 0;
}

.spider-pricing-swiper {
    width: 100%;
    padding-bottom: 2.75rem;
}

.spider-pricing-swiper .swiper-slide {
    height: auto;
}

.spider-pricing-swiper .card-pricing {
    height: 100%;
    width: 100%;
}

.spider-pricing-pagination {
    bottom: 0 !important;
    position: absolute;
}

.spider-pricing-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    width: 8px;
    height: 8px;
}

.spider-pricing-pagination .swiper-pagination-bullet-active {
    background: var(--accent-color, #97d700);
    width: 22px;
    border-radius: 999px;
}

.spider-pricing-nav {
    display: none;
    position: absolute;
    top: calc(50% - 1.35rem);
    z-index: 3;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(11, 15, 14, 0.72);
    color: #fff;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.spider-pricing-nav:hover,
.spider-pricing-nav:focus-visible {
    background: rgba(151, 215, 0, 0.2);
    border-color: rgba(151, 215, 0, 0.45);
    color: #97d700;
    outline: none;
}

.spider-pricing-nav.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.spider-pricing-nav--prev { left: -0.25rem; }
.spider-pricing-nav--next { right: -0.25rem; }

@media (max-width: 1199.98px) {
    .spider-pricing-swiper-shell {
        padding-inline: 2.25rem;
    }

    .spider-pricing-nav {
        display: inline-flex;
    }

    .spider-pricing-nav--prev { left: 0; }
    .spider-pricing-nav--next { right: 0; }
}

@media (max-width: 767.98px) {
    .spider-pricing-swiper-shell {
        padding-inline: 0;
        margin-inline: -0.35rem;
    }

    .spider-pricing-swiper {
        padding-bottom: 2.5rem;
    }

    .spider-pricing-nav {
        display: none;
    }

    .spider-pricing-swiper .card-pricing .price .heading {
        flex-wrap: wrap;
        gap: 0.2rem 0.45rem;
    }

    .spider-pricing-swiper .card-pricing .price .heading h3 {
        font-size: clamp(1.45rem, 6.5vw, 1.85rem) !important;
    }

    .spider-pricing-swiper .card-pricing .price .heading span {
        font-size: 0.82rem;
    }
}

/* Stack cards: título | imagen | párrafo+botón — espacios equilibrados */
.card-content {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1.35rem, 2.8vw, 2.35rem);
    padding: 2rem 2.5rem !important;
    box-sizing: border-box;
}

.card-content__title {
    flex: 0 1 14rem;
    min-width: 0;
}

.card-content__title h4 {
    margin: 0 0 0.4rem;
    line-height: 1.15;
}

.card-content__subtitle {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-color-2, rgba(255, 255, 255, 0.65));
}

.card-content__media {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.card-content__icon {
    width: 150px !important;
    max-width: 150px !important;

    object-fit: contain !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    mix-blend-mode: lighten;
}

.card-content__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}

.card-content__body p {
    margin: 0;
    line-height: 1.55;
    max-width: 42rem;
}

.stack-container {
    width: min(94%, 1080px);
    height: 340px;
}

@media (max-width: 991.98px) {
    .card-content {
        gap: 1.15rem;
        padding: 1.65rem 1.5rem !important;
    }

    .card-content__title {
        flex-basis: 9.5rem;
    }

    .card-content__icon {
        width: 120px !important;
        max-width: 120px !important;
        height: 120px !important;
        max-height: 120px !important;
    }
}

@media (max-width: 767.98px) {
    .card-content {
        flex-direction: column !important;
        align-items: center;
        justify-content: flex-start !important;
        text-align: center;
        gap: 0.65rem !important;
        padding: 1.1rem 1rem 1.15rem !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .card-content__title,
    .card-content__body {
        flex: 0 1 auto;
        width: 100%;
        max-width: 100%;
        align-items: center;
    }

    .card-content__title h4 {
        font-size: 1.05rem !important;
    }

    .card-content__subtitle {
        font-size: 0.78rem;
    }

    .card-content__body {
        gap: 0.75rem;
    }

    .card-content__body p {
        font-size: 0.85rem !important;
        line-height: 1.45;
    }

    .card-content__icon {
        width: 88px !important;
        max-width: 88px !important;
        height: 88px !important;
        max-height: 88px !important;
    }

    .card-content__body .w-max-content {
        margin-inline: auto;
    }

    .stack-container {
        height: 320px;
        width: 92%;
    }
}

/* =========================================================
   Site-wide mobile tighten (post-redesign)
   ========================================================= */
@media (max-width: 991.98px) {

    .doubleContain {
        padding-bottom: 3rem !important;
    }

    h1 {
        font-size: clamp(1.0rem, 4.5vw, 2.25rem) !important;
        line-height: 1.15 !important;
    }

    h2 {
        font-size: clamp(1.7rem, 6vw, 2.05rem) !important;
        line-height: 1.18 !important;
    }

    h3 {
        font-size: clamp(1.35rem, 5.2vw, 1.7rem) !important;
        line-height: 1.22 !important;
    }

    h4 {
        font-size: clamp(1.1rem, 4vw, 1.3rem) !important;
    }

    h5:not(.preloader-text) {
        font-size: 1rem !important;
    }

    p,
    .breadcrumb,
    .accordion .accordion-body {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
    }

    .btn {
        font-size: 0.9rem !important;
        padding: 0.7rem 1.15rem !important;
    }

    .gap-5 { gap: 1.25rem !important; }
    .gap-4 { gap: 1rem !important; }
    .gap-3 { gap: 0.75rem !important; }

    /* Page heroes — espacio bajo nav fija compacta (logo + toggler) */
    .spider-page-hero,
    .spider-page-hero--tall {
        height: auto !important;
        min-height: 0 !important;
        padding-top: clamp(6.5rem, 20vw, 8rem) !important;
        padding-bottom: 2rem !important;
    }

    .spider-page-hero .r-container {
        height: auto !important;
    }

    .spider-page-hero__media {
        width: min(72%, 280px);
        margin-inline: auto;
        display: block;
    }

    .spider-page-hero .col:last-child {
        margin-top: 0.5rem;
    }

    /* CTAs */
    .spider-cta-marquee,
    .spider-cta-band,
    .section.animated-gradient.cta {
        height: auto !important;
        min-height: 0 !important;
        padding-block: 3rem !important;
    }

    .spider-cta-marquee__card {
        padding: 1.15rem 1.25rem;
        width: 100%;
    }

    .spider-cta-marquee .container-wrapper-marquee {
        opacity: 0.7;
        gap: 0.5rem;
    }

    .spider-cta-marquee .icon-box.cta {
        width: 78px;
        height: 78px;
    }

    .spider-cta-marquee .icon-box.cta .ph-duotone {
        font-size: 1.85rem !important;
    }

    /* Brand surfaces */
    .spider-about-light,
    .spider-faq-light,
    .spider-svc-accordion {
        padding-block: 2.5rem !important;
    }

    .spider-svc-accordion__intro {
        margin-bottom: 1.25rem;
        padding-inline: 0.25rem;
    }

    .spider-svc-track {
        padding-inline: 1rem;
        height: auto;
        min-height: 0;
        gap: 0.55rem;
    }

    .spider-svc-panel.is-active {
        height: auto !important;
        min-height: 280px !important;
        max-height: none;
    }

    .spider-svc-panel__title {
        font-size: 1.2rem !important;
        text-transform: none;
    }

    .spider-svc-panel__text {
        font-size: 0.85rem;
    }

    .spider-svc-panel__body {
        padding: 1rem 1.05rem 1.15rem;
        gap: 0.45rem;
    }

    .spider-svc-panel__cta {
        padding: 0.6rem 0.95rem;
        font-size: 0.82rem;
    }

    /* Why choose */
    .spider-why-stack {
        padding-top: 2.75rem !important;
    }

    .spider-why-icon--sm { width: 96px; }
    .spider-why-icon--md { width: 120px; }
    .spider-why-icon--lg { width: 140px; }

    .card-feature,
    .card-feature.card-feature--light,
    .card-about.card-about--light {
        padding: 1.15rem !important;
        min-height: 0 !important;
    }

    .card-feature .d-flex.flex-column.gap-4 {
        gap: 0.75rem !important;
    }

    .card-pricing {
        padding: 1.25rem !important;
    }

    /* Partners */
    .marquee-container.partner {
        padding-block: 0.25rem;
    }

    /* FAQ decorative icons on light/dark FAQ columns */
    .position-relative > .icon-box.circle-glass.position-absolute {
        width: 44px !important;
        height: 44px !important;
        transform: scale(0.9);
    }

    .position-relative > .icon-box.circle-glass.position-absolute svg {
        width: 20px;
        height: 20px;
    }

    /* Contact */
    .spider-contact {
        padding-block: 2rem !important;
    }

    .spider-contact__heading {
        font-size: clamp(1.35rem, 5.2vw, 1.7rem);
    }

    .spider-contact-map__frame {
        min-height: 220px !important;
        height: 38vh !important;
    }

    /* Accordion compact */
    .accordion .accordion-button {
        padding: 1rem !important;
        font-size: 0.95rem !important;
        gap: 0.65rem;
    }

    .accordion .accordion-body {
        padding: 0 1rem 1rem !important;
    }
}

@media (max-width: 767.98px) {

    .r-container {
        max-width: 100%;
    }

    h2 {
        font-size: clamp(1.5rem, 6.6vw, 1.85rem) !important;
    }

    h3 {
        font-size: clamp(1.25rem, 5.6vw, 1.5rem) !important;
    }

    p {
        font-size: 0.88rem !important;
    }

    /* Migas de pan — mucho más compactas */
    .breadcrumb,
    .breadcrumb .breadcrumb-item > a,
    .breadcrumb .breadcrumb-item.active {
        font-size: 0.68rem !important;
        line-height: 1.25 !important;
    }

    .breadcrumb .breadcrumb-item {
        gap: 0.3rem;
    }

    .breadcrumb .rtmicon,
    .breadcrumb .fs-5 {
        font-size: 0.72rem !important;
    }

    .spider-page-hero,
    .spider-page-hero--tall {
        padding-top: 6.25rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* Banner interno: ocultar imagen / media de la derecha */
    .spider-page-hero .col:last-child,
    .spider-page-hero__media {
        display: none !important;
    }

    /* Tags de servicios — mucho más pequeños */
    .tags.service,
    .spider-service-detail__tags .tags.service {
        padding: 0.2rem 0.55rem !important;
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
        gap: 0.35rem !important;
    }

    .spider-svc-panel__badge {
        padding: 0.15rem 0.45rem;
        font-size: 0.58rem;
        letter-spacing: 0.04em;
    }

    .spider-cta-marquee,
    .spider-cta-band,
    .section.animated-gradient.cta {
        padding-block: 3rem !important;
    }

    .spider-cta-marquee__card {
        padding: 1rem 0.95rem;
        border-radius: 12px !important;
    }

    .spider-about-light,
    .spider-faq-light,
    .spider-svc-accordion {
        padding-block: 2rem !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .spider-svc-track {
        padding-inline: 0.85rem;
    }

    .spider-svc-panel {
        border-radius: 14px;
        min-height: 96px;
        height: 96px;
    }

    .spider-svc-panel.is-active {
        min-height: 260px !important;
        height: auto !important;
    }

    .spider-svc-panel__rail {
        font-size: 0.85rem;
        bottom: 0.9rem;
        left: 1rem;
    }

    .spider-why-stack {
        padding-top: 2rem !important;
    }

    .spider-why-icon--sm { width: 72px !important; max-width: 72px; }
    .spider-why-icon--md { width: 88px !important; max-width: 88px; }
    .spider-why-icon--lg { width: 96px !important; max-width: 96px; }

    /* Iconografía de cards en figure (software, experiencia, etc.): ocultar en cel.
       No ocultar .card-feature__icon ni iconos del stack (.card-content__icon). */
    .card-feature figure,
    .card-service figure,
    .card-about figure,
    .spider-faq-light img,
    .faqcontent img,
    .imgcentral,
    .heroheader img {
        display: none !important;
    }

    .card-feature__icon,
    .card-content__icon {
        display: flex !important;
    }

    .card-content__icon {
        display: block !important;
    }

    .card-feature h4,
    .card-about h5 {
        font-size: 1.05rem !important;
    }

    .stack-container {
        transform: scale(0.92);
        transform-origin: top center;
        margin-bottom: 2.25rem;
        width: 92%;
        touch-action: none;
        -webkit-user-select: none;
        user-select: none;
    }

    .stack-container::after {
        content: "Desliza para ver más";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1.85rem;
        text-align: center;
        font-size: 0.78rem;
        letter-spacing: 0.04em;
        color: rgba(255, 255, 255, 0.45);
        pointer-events: none;
    }

    /* Hide floating FAQ glass icons on small phones — clutter */
    .position-relative > .icon-box.circle-glass.position-absolute {
        display: none;
    }

    .techy-footer {
        padding-block: 0;
        padding-inline: 0;
    }

    .techy-footer__inner {
        padding-inline: 1.15rem !important;
    }

    .py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .px-5 { padding-left: 1rem !important; padding-right: 1rem !important; }
    .p-5 { padding: 1.15rem !important; }
    .mb-3 { margin-bottom: 0.75rem !important; }
}

@media (max-width: 419.98px) {


    .techy-footer__inner {
        padding-inline: 1rem !important;
    }

    .spider-why-icon--sm { width: 64px !important; max-width: 64px; }
    .spider-why-icon--md { width: 76px !important; max-width: 76px; }
    .spider-why-icon--lg { width: 84px !important; max-width: 84px; }



    .spider-page-hero__media {
        width: min(78%, 210px);
    }

    .spider-svc-track {
        padding-inline: 0.65rem;
        gap: 0.45rem;
    }

    .btn {
        padding: 0.65rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* ---------- Densidad escritorio / FHD 1920×1080 ---------- */
@media (min-width: 1200px) {
    h1 {
        font-size: clamp(2.1rem, 2.45vw, 2.95rem);
        line-height: 1.15;
    }

    h2 {
        font-size: clamp(1.85rem, 2.15vw, 2.55rem);
        line-height: 1.18;
    }

    h3 {
        font-size: clamp(1.45rem, 1.65vw, 2.05rem);
        line-height: 1.22;
    }

    h4 {
        font-size: clamp(1.15rem, 1.3vw, 1.5rem);
    }

    .section:not(.spider-cta-marquee):not(.spider-cta-band):not(.spider-page-hero):not(.spider-page-hero--tall) {
        padding-block: clamp(3.25rem, 6.2vh, 5rem);
        padding-inline: 2em;
    }

    /* Textual Showcase: poca altura — no comprimir padding ni tipografía */
    .spider-cta-band {
        padding-block: clamp(3.5rem, 8vh, 5.25rem);
    }

    .spider-cta-band h3 {
        font-size: clamp(2rem, 2.55vw, 2.85rem);
        line-height: 1.25;
    }

    .spider-hero.section {
        padding-top: 5rem;
        padding-bottom: 3.75rem;
    }

    .section.spider-page-hero,
    .section.spider-page-hero--tall {
        padding-top: clamp(11.5rem, 18vh, 14rem);
        padding-bottom: clamp(2.75rem, 5vh, 4rem);
    }

    .doubleContain {
        padding-bottom: clamp(2.25rem, 4.5vh, 3.75rem);
    }

    .accordion .accordion-button {
        padding: 1.15rem 1.4rem !important;
        font-size: 1.05rem;
    }

    .stack-container {
        height: 300px;
    }

    .card-content {
        padding: 1.6rem 2rem !important;
        gap: 1.5rem;
    }

    .card-content__icon {
        width: 200px !important;
        max-width: 200px !important;

    }

    .spider-svc-accordion {
        padding-block: clamp(3rem, 5.5vh, 4.5rem);
    }

    .spider-about-light,
    .spider-faq-light {
        padding-block: clamp(3.25rem, 6vh, 5rem);
    }

    /* FAQ visual derecha — proporción FHD */
    .spider-faq-visual > img,
    .spider-pricing-faq-visual > img,
    .spider-service-faq-visual > img,
    .spider-faq-light .col:last-child > .position-relative > img,
    .faqcontent .col:last-child > .position-relative > img {
        width: min(100%, 520px);
        max-width: min(100%, 520px);
        max-height: min(650px, 48vh);
        margin-inline: auto;
        height: auto !important;
        object-fit: contain;
    }

    /* Footer CTA — menos carga tipográfica en FHD */
    .techy-footer__cta-title {
        font-size: clamp(1.6rem, 2vw, 2.35rem);
        margin-bottom: 1.35rem;
        max-width: 700px;
    }

    .techy-footer__chat {
        font-size: clamp(1.3rem, 1.55vw, 1.75rem);
        gap: 0.5rem;
    }
}

/* Marquesina hero (Pixelor) — compacta solo desde 1920×1080 */
@media (min-width: 1920px) {
    .th-brand-height-214 {
        height: 210px;
        margin-top: -175px;
        margin-bottom: 2.5rem;
    }

    .tp-brand-area-1 {
        transform: rotate(-2.92deg) translateY(52px);
    }

    .tp-brand-area-2 {
        transform: rotate(2.77deg) translateY(-50px);
    }

    .th-brand-height-214 .tp-brand-area.pt-40 {
        padding-top: 28px;
    }

    .th-brand-height-214 .tp-brand-area.pb-40 {
        padding-bottom: 28px;
    }

    .th-brand-height-214 .th-icn-1 {
        margin: 0 20px;
    }

    .th-brand-height-214 .th-icn-1 img {
        width: 14px;
        height: 14px;
    }

    .th-brand-height-214 .tp-brand-label {
        font-size: clamp(0.85rem, 0.95vw, 1.05rem);
        letter-spacing: 0.03em;
    }
}

/* Laptops bajos (1366×768 / 1600×900): aún más compacto */
@media (min-width: 1200px) and (max-height: 900px) {
    .section:not(.spider-cta-marquee):not(.spider-cta-band):not(.spider-page-hero):not(.spider-page-hero--tall) {
        padding-block: 2.6rem;
    }

    .spider-hero.section {
        min-height: 0;
        padding-top: 4.25rem;
        padding-bottom: 2.25rem;
    }

    .spider-hero__media {
        min-height: 250px;
    }

    .section.spider-page-hero,
    .section.spider-page-hero--tall {
        padding-top: clamp(10.5rem, 20vh, 12.5rem);
        padding-bottom: 1.75rem;
        min-height: 0;
    }

    .spider-cta-band {
        padding-block: clamp(3.5rem, 8vh, 5.25rem);
    }

    .spider-cta-band h3 {
        font-size: clamp(1.85rem, 2.4vw, 2.6rem);
        line-height: 1.25;
    }

    .spider-svc-track {
        height: min(48vh, 400px);
        min-height: 320px;
    }

    .spider-faq-visual > img,
    .spider-pricing-faq-visual > img,
    .spider-service-faq-visual > img,
    .spider-faq-light .col:last-child > .position-relative > img,
    .faqcontent .col:last-child > .position-relative > img {
        width: min(100%, 340px);
        max-width: min(100%, 340px);
        max-height: min(340px, 42vh);
    }

    .techy-footer__cta-title {
        font-size: clamp(1.45rem, 1.85vw, 2.05rem);
        margin-bottom: 1.15rem;
    }

    .techy-footer__chat {
        font-size: clamp(1.2rem, 1.4vw, 1.55rem);
    }
}


