:root {
    /* Paleta cromática: Tema Claro Premium (Premium Light Mode) */
    --void: #f8fafc;
    /* Fondo general gris pizarra ultra claro, limpio y moderno */
    --panel: #ffffff;
    /* Fondo blanco puro para las tarjetas y paneles */
    --panel-2: #f1f5f9;
    /* Variación gris claro para contrastar paneles */
    --current: #0d9488;
    /* Verde azulado/teal oscuro para mantener excelente contraste y legibilidad */
    --pulse: #4f46e5;
    /* Índigo/violeta vibrante y de gran visibilidad */
    --signal: #ea580c;
    /* Naranja intenso y enérgico */
    --paper: #0f172a;
    /* Gris pizarra ultra oscuro para el texto principal */
    --mist: #475569;
    /* Gris pizarra medio para texto secundario */
    --line: rgba(15, 23, 42, 0.08);
    /* Líneas sutiles de borde */
    --line-glow: rgba(79, 70, 229, 0.25);
    /* Resplandor activo del índigo */
    --radius: 20px;
    /* Radio de borde estándar del sitio */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--void);
    color: var(--paper);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
}

h1,
h2,
h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* -------------------------------------------------------------
 * VIDEO DE FONDO SINCRONIZADO CON EL SCROLL
 * Capa de video fija de fondo con superposición oscura y filtro
 * ------------------------------------------------------------- */
.video-background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    will-change: transform;
    filter: grayscale(0.2) brightness(1.1);
}

.video-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
    z-index: -1;
    pointer-events: none;
}

/* -------------------------------------------------------------
 * CAPA DE BLOBS DE FONDO CON RENDERIZADO ACELERADO POR GPU
 * Optimizado mediante will-change y transform3d para 60 FPS
 * ------------------------------------------------------------- */
.ambient-blobs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: blobFloat 18s ease-in-out infinite alternate;
}

.blob-1 {
    width: 600px;
    height: 450px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(61, 235, 200, 0.25), transparent 70%);
    animation-duration: 22s;
}

.blob-2 {
    width: 700px;
    height: 550px;
    top: 30%;
    right: -150px;
    background: radial-gradient(circle, rgba(139, 124, 250, 0.22), transparent 70%);
    animation-duration: 26s;
    animation-delay: -5s;
}

.blob-3 {
    width: 550px;
    height: 450px;
    bottom: 10%;
    left: 20%;
    background: radial-gradient(circle, rgba(255, 159, 107, 0.15), transparent 70%);
    animation-duration: 20s;
    animation-delay: -10s;
}

@keyframes blobFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(40px, 60px, 0) scale(1.1);
    }

    100% {
        transform: translate3d(-30px, -40px, 0) scale(0.95);
    }
}

/* -------------------------------------------------------------
 * LÍNEA SVG INTERACTIVA (FLOW LINE SPINE)
 * ------------------------------------------------------------- */
#flow-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#flow-path {
    fill: none;
    stroke: url(#flowGradient);
    stroke-width: 2.5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 10px rgba(61, 235, 200, 0.45));
}

.flow-node {
    fill: var(--void);
    stroke: var(--current);
    stroke-width: 2.5;
    r: 6;
    filter: drop-shadow(0 0 12px rgba(61, 235, 200, 0.8));
}

main {
    position: relative;
    z-index: 2;
}

/* -------------------------------------------------------------
 * NAVEGACIÓN PRINCIPAL CON EFECTO DE CRISTALERÍA (GLASSMORPHISM)
 * ------------------------------------------------------------- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 6vw;
    background: rgba(248, 250, 252, 0.45);
    /* Vidrio claro para el nav */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    transition: border-color .4s ease, padding .4s ease, background .4s ease, box-shadow .4s ease;
}

nav.scrolled {
    border-bottom: 1px solid var(--line-glow);
    padding: 15px 6vw;
    background: rgba(248, 250, 252, 0.88);
    /* Fondo claro opaco al hacer scroll */
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    /* Sombra suave */
}

/* Botón de Menú Hamburguesa Móvil */
.nav-toggle {
    display: none;
    /* Oculto en escritorio */
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 0;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--paper);
    /* Usa el color del texto del tema claro */
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

/* Transformaciones animadas al activar el menú móvil */
.nav-active .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-active .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-active .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--current);
    box-shadow: 0 0 12px var(--current);
    animation: pulseDot 2.4s ease-in-out infinite alternate;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 8px var(--current);
        transform: scale(0.95);
    }

    100% {
        box-shadow: 0 0 16px var(--current), 0 0 24px rgba(61, 235, 200, 0.6);
        transform: scale(1.15);
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--mist);
    text-decoration: none;
    font-size: 0.94rem;
    position: relative;
    transition: color .3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 1.5px;
    background: linear-gradient(90deg, var(--current), var(--pulse));
    transition: width .3s ease;
}

.nav-links a:hover {
    color: var(--paper);
}

.nav-links a:hover::after {
    width: 100%;
}

/* -------------------------------------------------------------
 * BOTONES PREMIUM CON EFECTO SHIMMER EN HOVER
 * ------------------------------------------------------------- */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 26px;
    border-radius: 100px;
    border: 1px solid var(--current);
    color: var(--void);
    background: var(--current);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: transform .3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow .3s ease, background .3s ease;
    white-space: nowrap;
    z-index: 1;
}

/* Destello brillante recorriendo el botón en hover */
.btn::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg,
            transparent 30%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 70%);
    transform: rotate(30deg) translateX(-100%);
    transition: transform 0.65s ease;
    z-index: 2;
    pointer-events: none;
}

.btn:hover::before {
    transform: rotate(30deg) translateX(100%);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(61, 235, 200, 0.45);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    color: var(--paper);
    border: 1px solid var(--line);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: var(--current);
    box-shadow: 0 8px 26px rgba(61, 235, 200, 0.22);
    color: var(--current);
}

section {
    padding: min(14vh, 140px) 6vw;
    position: relative;
}

/* -------------------------------------------------------------
 * HERO SECTION & CANVAS WEBGL 3D THREE.JS CON POLVO CÓSMICO
 * ------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--current);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    font-weight: 600;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 1.5px;
    background: var(--current);
    box-shadow: 0 0 8px var(--current);
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 5.2rem);
    font-weight: 800;
    /* Peso extra bold para mayor impacto */
    line-height: 1.05;
    letter-spacing: -0.035em;
    /* Espaciado compacto premium */
    color: var(--paper);
    max-width: 18ch;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(110deg, var(--current) 0%, var(--pulse) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    margin-top: 1.8rem;
    max-width: 46ch;
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--mist);
}

.hero-actions {
    margin-top: 2.8rem;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-stats {
    margin-top: 4.5rem;
    display: flex;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.stat .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--paper);
    background: linear-gradient(180deg, var(--paper), var(--mist));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat .label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--paper);
    margin-top: 4px;
}

/* -------------------------------------------------------------
 * HERO VISUAL SHOWCASE — MOCKUP PROFESIONAL DE SITIOS WEB
 * ------------------------------------------------------------- */
.hero-visual-showcase {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    border-radius: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-frame:hover {
    transform: translateY(-6px) scale(1.02);
}

.hero-main-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    object-fit: cover;
    /* mix-blend-mode: multiply remueve fondos blancos haciéndolos transparentes. */
    mix-blend-mode: multiply;
}

/* Badges flotantes interactivos de métricas */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 100px;
    padding: 10px 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    z-index: 10;
    transition: transform 0.4s ease;
    animation: floatBadge 4s ease-in-out infinite alternate;
}

.badge-top-left {
    top: -15px;
    left: -20px;
    animation-delay: 0s;
}

.badge-bottom-right {
    bottom: -15px;
    right: -20px;
    animation-delay: 2s;
}

.floating-badge:hover {
    transform: scale(1.05);
}

.badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--current);
    box-shadow: 0 0 12px var(--current);
    animation: pulseDot 2s infinite alternate;
}

.badge-icon {
    font-size: 1.1rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text strong {
    font-size: 0.85rem;
    color: var(--paper);
    font-weight: 700;
    line-height: 1.2;
}

.badge-text small {
    font-size: 0.72rem;
    color: var(--mist);
    font-weight: 500;
}

@keyframes floatBadge {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-8px);
    }
}

/* Indicador animado de scroll para bajar al contenido */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--mist);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 4;
}

.scroll-indicator:hover {
    opacity: 1;
    color: var(--current);
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid var(--mist);
    border-radius: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.mouse-wheel {
    width: 3px;
    height: 6px;
    background: var(--current);
    border-radius: 100px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

/* -------------------------------------------------------------
 * CABECERAS DE SECCIÓN Y ELEMENTOS REVEAL
 * ------------------------------------------------------------- */
.section-head {
    max-width: 640px;
    margin-bottom: 3.5rem;
}

.section-head h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.12;
    margin-top: 0.6rem;
}

.section-head p {
    color: var(--mist);
    margin-top: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.reveal {
    will-change: transform, opacity;
}

/* -------------------------------------------------------------
 * SECCIÓN DE SERVICIOS — PINNED SCROLL CARD STACK CON ELEVACIÓN Y VISIBILIDAD TOTAL
 * ------------------------------------------------------------- */
.services-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 55px 6vw 15px;
    /* Reducido para elevar el contenido */
    position: relative;
    box-sizing: border-box;
}

.pinned-services-wrapper {
    position: relative;
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-section .section-head {
    max-width: 660px;
    margin: 0 auto 0.7rem;
    /* Reducido para ahorrar espacio vertical */
    text-align: center;
}

.services-section .section-head .eyebrow {
    justify-content: center;
    margin-bottom: 0.6rem;
}

.services-section .section-head h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    line-height: 1.12;
    margin-top: 0.2rem;
}

.services-section .section-head p {
    margin-top: 0.4rem;
    font-size: 0.92rem;
    line-height: 1.45;
}

/* Barra de progreso interactiva compacta */
.services-progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 820px;
    margin: 0 auto 0.8rem;
    /* Reducido para elevar las tarjetas */
    background: rgba(13, 18, 30, 0.8);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 4px 6px;
    gap: 8px;
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 6px 12px;
    border-radius: 100px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    color: var(--mist);
    background: transparent;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
}

.progress-step.active {
    color: var(--void);
    background: var(--current);
    font-weight: 700;
    box-shadow: 0 0 18px rgba(61, 235, 200, 0.4);
}

.progress-step.active-pulse {
    color: var(--paper);
    background: rgba(139, 124, 250, 0.25);
    border-color: var(--pulse);
    font-weight: 700;
}

.tiers-container {
    position: relative;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    height: 390px;
}

.tiers {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Tarjeta con efecto de luz Spotlight reactiva y altura compacta */
.tier {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--panel), var(--panel-2));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem 2.2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    /* Sombra suave adaptada */
    transform-origin: center top;
    will-change: transform, opacity;
    overflow: hidden;
}

/* Imagen mockup de fondo del sistema/sitio web para cada plan */
.tier-mockup-bg {
    position: absolute;
    right: -2%;
    bottom: -10%;
    width: 48%;
    height: 90%;
    background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
    opacity: 0.14;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    border-radius: 12px;
    /* Difuminar bordes izquierdos para fusionarlo visualmente con el contenido */
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0) 100%);
}

.tier:hover .tier-mockup-bg {
    transform: translate3d(-10px, -8px, 0) scale(1.05);
    opacity: 0.25;
}

/* Efecto de degradado spotlight reactivo al cursor */
.tier::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(61, 235, 200, 0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tier:hover::after {
    opacity: 1;
}

.tier:hover {
    border-color: rgba(61, 235, 200, 0.4);
}

.tier.featured {
    border-color: rgba(79, 70, 229, 0.45);
    /* Acento violeta/índigo de tema claro */
    background: linear-gradient(145deg, var(--panel), var(--panel-2));
    box-shadow: 0 25px 60px rgba(79, 70, 229, 0.08);
    /* Sombra difusa colorida sutil */
}

.tier.featured::before {
    content: "MÁS ELEGIDO";
    position: absolute;
    top: -12px;
    left: 2.6rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    background: var(--pulse);
    color: #0a0a12;
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 700;
    box-shadow: 0 0 16px rgba(139, 124, 250, 0.6);
    z-index: 3;
}

.tier-left {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.tier-step {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--current);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}

.tier h3 {
    font-size: 1.8rem;
    margin-top: 0.6rem;
}

/* Nuevos estilos de precios llamativos */
.tier-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.25);
    position: relative;
    overflow: hidden;
    width: fit-content;
}

.highlight-price {
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25);
    border-color: rgba(13, 148, 136, 0.4);
}

.highlight-price-featured {
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.3);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-price-featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
    border-color: rgba(79, 70, 229, 0.5);
}

.price-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--paper);
}

.price-currency {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--mist);
}

.price-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--current), var(--pulse));
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-bottom-left-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
}

.highlight-price-featured .price-badge {
    background: linear-gradient(135deg, var(--pulse), var(--signal));
}

.tier .desc {
    color: var(--mist);
    font-size: 0.98rem;
    margin-top: 0.8rem;
    line-height: 1.55;
}

.tier-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 1.6rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 2;
}

.tier ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tier li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.94rem;
    color: var(--paper);
}

.tier li::before {
    content: "";
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--current);
    box-shadow: 0 0 8px var(--current);
}

.tier .btn {
    margin-top: 1.4rem;
    width: 100%;
    text-align: center;
}

/* -------------------------------------------------------------
 * MUNDO FLOW SECTION CON EFECTO SPOTLIGHT
 * ------------------------------------------------------------- */
.flow-world {
    background: radial-gradient(100vw 600px at 50% 0%, rgba(139, 124, 250, 0.15), rgba(61, 235, 200, 0.05));
    border-top: 1px solid rgba(139, 124, 250, 0.2);
    border-bottom: 1px solid rgba(139, 124, 250, 0.2);
    box-shadow: inset 0 20px 60px rgba(139, 124, 250, 0.05);
}

/* Resaltar fuertemente los textos de la cabecera en Mundo Flow */
.flow-world .section-head {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.flow-world .section-head .eyebrow {
    color: var(--pulse);
    font-size: 0.95rem;
    font-weight: 800;
    justify-content: center;
}

.flow-world .section-head .eyebrow::before {
    background: var(--pulse);
    box-shadow: 0 0 12px var(--pulse);
}

.flow-world .section-head h2 {
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--paper) 30%, var(--pulse) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 1.2rem;
    line-height: 1.15;
}

.flow-world .section-head p {
    font-size: 1.2rem;
    color: var(--paper);
    font-weight: 500;
    line-height: 1.6;
    margin-top: 1.5rem;
}

.flow-nodes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.flow-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 124, 250, 0.35);
    border-radius: var(--radius);
    padding: 2.6rem;
    transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(139, 124, 250, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.flow-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139, 124, 250, 0.2), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.flow-card:hover::after {
    opacity: 1;
}

.flow-card:hover {
    border-color: var(--pulse);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(139, 124, 250, 0.25), 0 0 30px rgba(61, 235, 200, 0.15);
}

.flow-card .tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--pulse);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(61, 235, 200, 0.15), rgba(139, 124, 250, 0.15));
    border: 1px solid rgba(139, 124, 250, 0.4);
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(139, 124, 250, 0.15);
}

.flow-card.soon .tag {
    color: var(--signal);
    background: linear-gradient(135deg, rgba(255, 159, 107, 0.15), rgba(234, 88, 12, 0.15));
    border-color: rgba(255, 159, 107, 0.5);
    box-shadow: 0 4px 12px rgba(255, 159, 107, 0.15);
}

.flow-card h3 {
    font-size: 1.5rem;
    margin-top: 1.2rem;
}

.flow-card p {
    color: var(--mist);
    margin-top: 0.8rem;
    font-size: 1rem;
    line-height: 1.65;
}

.flow-card a.link {
    margin-top: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--paper);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1.5px solid var(--current);
    padding-bottom: 4px;
    transition: color .3s ease, gap .3s ease;
}

.flow-card a.link:hover {
    color: var(--current);
    gap: 12px;
}

/* Imagen mockup en el fondo de las tarjetas de Mundo Flow */
.card-mockup-bg {
    position: absolute;
    right: -2%;
    bottom: -5%;
    width: 45%;
    height: 90%;
    background-size: contain;
    background-position: right bottom;
    background-repeat: no-repeat;
    opacity: 0.9;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease, filter 0.6s ease;
    filter: drop-shadow(-10px 20px 30px rgba(139, 124, 250, 0.2));
}

.flow-card:hover .card-mockup-bg {
    transform: translate3d(-15px, -15px, 0) scale(1.08) rotate(-2deg);
    opacity: 1;
    filter: drop-shadow(-20px 30px 40px rgba(139, 124, 250, 0.35));
}

/* Garantizar que el contenido quede por delante del mockup y no lo solape */
.flow-card h3,
.flow-card p,
.flow-card .tag,
.flow-card .link {
    position: relative;
    z-index: 2;
    max-width: 55%;
}

/* -------------------------------------------------------------
 * SECCIÓN CÓMO TRABAJAMOS (PASOS 01 A 04)
 * ------------------------------------------------------------- */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.step-card {
    background: var(--panel);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
    /* Sombra suave */
}

.step-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(61, 235, 200, 0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.step-card:hover::after {
    opacity: 1;
}

.step-card:hover {
    border-color: rgba(61, 235, 200, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--current), var(--pulse));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 1.2rem;
}

.step-card h3 {
    font-size: 1.25rem;
    color: var(--paper);
    margin-bottom: 0.6rem;
}

.step-card p {
    color: var(--mist);
    font-size: 0.94rem;
    line-height: 1.6;
}

/* -------------------------------------------------------------
 * SECCIÓN DE PROYECTOS / PORTAFOLIO (CARRUSEL PREMIUM)
 * Carrusel interactivo y responsivo con tarjetas Glassmorphism
 * ------------------------------------------------------------- */
.projects-section {
    position: relative;
    padding: 80px 0;
}

.projects-section .section-head {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    padding: 0 6vw;
}

.projects-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4vw;
}

.projects-carousel {
    display: flex;
    gap: 1.8rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1.5rem 0.5rem;
    scrollbar-width: none;
    /* Ocultar barra en Firefox */
}

.projects-carousel::-webkit-scrollbar {
    display: none;
    /* Ocultar barra en Chrome/Safari */
}

.project-card {
    flex: 0 0 calc(33.333% - 1.2rem);
    scroll-snap-align: start;
    background: var(--panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--paper);
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
    /* Sombra suave adaptada */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s ease,
        box-shadow 0.4s ease;
    position: relative;
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(61, 235, 200, 0.12), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

.project-card:hover::after {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(61, 235, 200, 0.4);
    box-shadow: 0 25px 55px rgba(61, 235, 200, 0.15);
}

.project-image-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--line);
    background: #090c15;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-image {
    transform: scale(1.06);
}

.project-info {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card h3 {
    font-size: 1.25rem;
    color: var(--paper);
    font-weight: 600;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.project-card:hover h3 {
    color: var(--current);
}

.project-card p {
    color: var(--mist);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-top: 0.6rem;
    flex-grow: 1;
}

.project-link-indicator {
    margin-top: 1.4rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--current);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.05em;
    transition: gap 0.3s ease, color 0.3s ease;
}

.project-card:hover .project-link-indicator {
    color: var(--pulse);
    gap: 8px;
}

/* Controles de Navegación del Carrusel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    color: var(--paper);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.carousel-control:hover {
    background: var(--current);
    color: #ffffff;
    border-color: var(--current);
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.4);
}

.carousel-control.prev {
    left: 1.5vw;
}

.carousel-control.next {
    right: 1.5vw;
}

/* Indicador de scroll de proyectos */
.carousel-scrollbar-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.15);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background: var(--current);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--current);
}

/* Media query específico para responsividad del carrusel */
@media(max-width: 1024px) {
    .project-card {
        flex: 0 0 calc(50% - 0.9rem);
    }
}

@media(max-width: 768px) {
    .projects-carousel-wrapper {
        padding: 0 0.5rem;
    }

    .project-card {
        flex: 0 0 86%;
        /* Permite asomar la siguiente tarjeta como pista visual */
        scroll-snap-align: center;
    }

    /* Flechas flotantes optimizadas para móviles */
    .carousel-control {
        display: flex !important;
        /* Asegurar visibilidad en móviles */
        width: 38px;
        height: 38px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(15, 23, 42, 0.12);
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.14);
        z-index: 15;
    }

    .carousel-control.prev {
        left: 4px;
    }

    .carousel-control.next {
        right: 4px;
    }
}

/* -------------------------------------------------------------
 * SECCIÓN CONFIANZA / TESTIMONIOS - DESLIZADOR INFINITO (MARQUEE)
 * ------------------------------------------------------------- */
.testimonials-section {
    padding: 90px 0;
    overflow: hidden;
    background: radial-gradient(1000px 500px at 50% 100%, rgba(79, 70, 229, 0.04), transparent 70%);
}

.testimonials-section .section-head {
    padding: 0 6vw;
}

.testimonials-marquee-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    margin-top: 3.5rem;
    position: relative;
}

/* Difuminado suave a los lados para un efecto visual premium */
.testimonials-marquee-container::before,
.testimonials-marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 5;
    pointer-events: none;
}

.testimonials-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--void) 20%, transparent 100%);
}

.testimonials-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--void) 20%, transparent 100%);
}

.testimonials-marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 0;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
}

/* Tarjeta del marquee con ancho fijo para simetría */
.testimonials-marquee .testimonial-card {
    width: 440px;
    flex-shrink: 0;
}

/* Fila 1: De derecha a izquierda */
.row-1 .marquee-track {
    animation: marqueeLeft 35s linear infinite;
}

/* Fila 2: De izquierda a derecha */
.row-2 .marquee-track {
    animation: marqueeRight 35s linear infinite;
}

/* Detener movimiento al pasar el cursor */
.testimonials-marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes marqueeRight {
    0% {
        transform: translate3d(-50%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* En mobile, unificamos y adaptamos el tamaño del marquee */
@media(max-width: 768px) {
    .testimonials-marquee .testimonial-card {
        width: 320px;
        padding: 1.8rem;
    }

    .testimonials-marquee-container {
        gap: 1.2rem;
    }

    .row-1 .marquee-track,
    .row-2 .marquee-track {
        animation-duration: 25s;
    }
}

.testimonial-card {
    background: var(--panel);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
    /* Sombra suave adaptada */
}

.testimonial-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(79, 70, 229, 0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-card:hover {
    border-color: rgba(79, 70, 229, 0.45);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    /* Sombra suave adaptada */
}

.quote-icon {
    font-size: 3rem;
    line-height: 1;
    font-family: 'Space Grotesk', sans-serif;
    color: rgba(61, 235, 200, 0.3);
    margin-bottom: -0.5rem;
}

.testimonial-quote {
    color: var(--paper);
    font-size: 0.98rem;
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
    position: relative;
    z-index: 2;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--current), var(--pulse));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--void);
    font-size: 0.9rem;
    box-shadow: 0 0 12px rgba(61, 235, 200, 0.3);
}

.author-info .name {
    font-weight: 600;
    color: var(--paper);
    font-size: 0.92rem;
}

.author-info .role {
    font-size: 0.8rem;
    color: var(--mist);
    margin-top: 2px;
}

/* -------------------------------------------------------------
 * SECCIÓN PREGUNTAS FRECUENTES (FAQ ACORDEÓN)
 * ------------------------------------------------------------- */
.faq-section {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: var(--panel);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
    /* Sombra suave adaptada */
}

.faq-item:hover {
    border-color: rgba(13, 148, 136, 0.35);
    /* Utilizando verde azulado oscuro para hover */
}

.faq-item.active {
    border-color: var(--current);
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.08);
}

.faq-question {
    width: 100%;
    padding: 1.6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--paper);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    gap: 1.5rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--current);
}

.faq-toggle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--current);
    flex-shrink: 0;
    transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    background: var(--current);
    color: var(--void);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    color: var(--mist);
    font-size: 1rem;
    line-height: 1.65;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.6rem 2rem;
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

@media(max-width: 1024px) {
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .step-card {
        padding: 1.8rem 1.4rem;
    }

    .step-num {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
}

@media(max-width: 768px) {
    .how-it-works-grid {
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
        margin-top: 2.2rem;
    }

    .step-card {
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 2rem 1.8rem;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 20px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.035);
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    /* Borde lateral izquierdo con gradiente de color brillante */
    .step-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: linear-gradient(to bottom, var(--current), var(--pulse));
        border-radius: 20px 0 0 20px;
    }

    /* Número grande estilizado en la esquina superior derecha */
    .step-num {
        position: absolute;
        top: 1.2rem;
        right: 1.6rem;
        font-family: 'Space Grotesk', sans-serif;
        font-size: 2.8rem;
        font-weight: 800;
        line-height: 1;
        background: linear-gradient(135deg, var(--current), var(--pulse));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        opacity: 0.22;
        /* Marca de agua sutil y moderna */
        pointer-events: none;
        margin: 0;
        padding: 0;
    }

    /* Título del paso con viñeta activa */
    .step-card h3 {
        font-family: 'Space Grotesk', sans-serif;
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--paper);
        margin-bottom: 0.6rem;
        padding-right: 3rem;
        /* Espacio para que no choque con el número */
        line-height: 1.35;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .step-card h3::before {
        content: "";
        display: inline-block;
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--current);
        box-shadow: 0 0 10px var(--current);
        flex-shrink: 0;
    }

    /* Descripción del paso con excelente legibilidad */
    .step-card p {
        font-family: 'Inter', sans-serif;
        font-size: 0.95rem;
        color: var(--mist);
        line-height: 1.65;
        margin: 0;
        padding-left: 19px;
        /* Alineado armónicamente bajo el título después de la viñeta */
    }

    .step-card::after {
        display: none;
    }

    .step-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
        border-color: rgba(13, 148, 136, 0.3);
    }
}

/* -------------------------------------------------------------
 * CTA FINAL Y FOOTER
 * ------------------------------------------------------------- */
.cta-final {
    text-align: center;
    padding-bottom: min(16vh, 160px);
}

.cta-final h2 {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    max-width: 18ch;
    margin: 0 auto;
}

.cta-final p {
    color: var(--mist);
    margin: 1.4rem auto 2.6rem;
    max-width: 48ch;
    font-size: 1.1rem;
}

.cta-final .actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

footer {
    border-top: 1px solid var(--line);
    padding: 2.6rem 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--mist);
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
    background: rgba(248, 250, 252, 0.95);
    /* Fondo claro a juego con el tema */
}

/* -------------------------------------------------------------
 * DISEÑO RESPONSIVO (TABLETS Y MÓVILES)
 * ------------------------------------------------------------- */
@media(max-width: 1024px) {

    /* === AJUSTES GENERALES === */
    section {
        padding: 60px 5vw;
    }

    /* === HERO === */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3.2rem);
        max-width: 100%;
        margin: 0 auto;
    }

    .hero p {
        margin: 1.4rem auto 0;
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-actions {
        margin-top: 2rem;
        justify-content: center;
    }

    .hero-stats {
        margin-top: 3rem;
        gap: 1.8rem;
        justify-content: center;
    }

    .hero-visual-showcase {
        max-width: 480px;
        margin: 1.5rem auto 0;
    }

    /* === SECCIÓN SERVICIOS (PLANES) === */
    .services-section {
        height: auto !important;
        min-height: auto !important;
        padding: 60px 6vw !important;
        display: block !important;
        overflow: visible !important;
    }

    .services-progress-bar {
        display: none !important;
    }

    .pinned-services-wrapper {
        min-height: auto !important;
        height: auto !important;
        display: block !important;
        width: 100% !important;
    }

    .tiers-container {
        height: auto !important;
        min-height: auto !important;
        display: block !important;
        margin-top: 1.5rem !important;
    }

    .tiers {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.6rem !important;
    }

    .tier {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 2.2rem 1.6rem !important;
        gap: 1.4rem !important;
        margin-bottom: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        border-radius: 18px !important;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05) !important;
    }

    .tier h3 {
        font-size: 1.5rem !important;
    }

    .tier .desc {
        font-size: 0.94rem !important;
        margin-top: 0.5rem !important;
    }

    .tier-right {
        height: auto !important;
        padding: 1.4rem 1.2rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.4rem !important;
        background: rgba(15, 23, 42, 0.02) !important;
        border: 1px solid var(--line) !important;
        border-radius: 12px !important;
    }

    .tier-right .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .tier-mockup-bg {
        display: none !important;
        /* Desactivar en móvil para evitar que ensucie el fondo del texto apilado */
    }

    .card-mockup-bg {
        width: 100%;
        height: 100%;
        right: 0;
        bottom: 0;
        opacity: 0.04;
        mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0) 100%);
    }

    /* === SECCIÓN PROYECTOS === */
    .projects-section {
        padding: 60px 0;
    }

    .projects-section .section-head {
        padding: 0 5vw;
    }

    /* === SECCIÓN TESTIMONIOS (MARQUEE) === */
    .testimonials-section {
        padding: 60px 0;
    }
}

@media(max-width: 900px) {

    /* Menú responsivo hamburguesa lateral a pantalla completa */
    .nav-toggle {
        display: flex;
        /* Mostrar botón de menú hamburguesa */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        /* Panel oculto a la derecha */
        width: 100vw;
        height: 100vh;
        background: rgba(248, 250, 252, 0.98);
        /* Fondo claro con desenfoque */
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 105;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 2rem;
    }

    .nav-links a {
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--paper);
    }

    /* Mostrar panel móvil activado */
    .nav-active .nav-links {
        right: 0;
    }

    .flow-nodes {
        grid-template-columns: 1fr;
    }

    #flow-svg {
        display: none;
    }
}

@media(prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .blob {
        animation: none !important;
    }

    .eyebrow,
    .hero h1,
    .hero p,
    .hero-actions,
    .hero-stats,
    .reveal,
    .tier {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* -------------------------------------------------------------
 * SECCIÓN DE TECNOLOGÍAS Y ALCANCE INTERNACIONAL (TECH SLIDER)
 * ------------------------------------------------------------- */
.tech-slider-section {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    /* Envolver en múltiples líneas en pantallas pequeñas */
}

.tech-info-block {
    display: flex;
    flex-direction: column;
    flex: 1 1 500px;
    /* Crecimiento flexible con base de 500px */
}

.tech-slider-block {
    display: flex;
    flex-direction: column;
    flex: 1 1 450px;
    /* Crecimiento flexible con base de 450px */
    min-width: 0;
    /* Evitar que el slider infinito desborde el flex-item */
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    color: var(--current);
    border: 1px solid rgba(13, 148, 136, 0.25);
    background: rgba(13, 148, 136, 0.05);
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.tech-info-block h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    color: var(--paper);
    line-height: 1.15;
    font-weight: 700;
}

.tech-info-block p {
    color: var(--mist);
    font-size: 1rem;
    line-height: 1.65;
    margin-top: 1.2rem;
}

.tech-slider-block h3 {
    font-size: 1.4rem;
    color: var(--paper);
    margin-bottom: 1.5rem;
}

/* Showcase de países en badges flotantes */
.countries-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.country-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--paper);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.country-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 70, 229, 0.25);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.06);
}

/* Slider horizontal infinito */
.tech-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0.6rem 0;
    /* Difuminar bordes del slider */
    mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}

.tech-track {
    display: flex;
    gap: 1.6rem;
    width: max-content;
}

/* Animaciones bidireccionales */
.tech-slider.scroll-left .tech-track {
    animation: techScrollLeft 24s linear infinite;
}

.tech-slider.scroll-right .tech-track {
    animation: techScrollRight 24s linear infinite;
}

.tech-track:hover {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.02);
    flex-shrink: 0;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 148, 136, 0.3);
}

.tech-item i {
    font-size: 1.3rem;
    color: var(--current);
}

.tech-item span {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--paper);
}

@keyframes techScrollLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(calc(-50% - 0.8rem), 0, 0);
    }
}

@keyframes techScrollRight {
    0% {
        transform: translate3d(calc(-50% - 0.8rem), 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@media(max-width: 1024px) {
    .tech-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tech-slider {
        padding: 0.5rem 0;
    }
}

/* -------------------------------------------------------------
 * HERO BROWSER MOCKUP — COMPONENTE ROTATIVO PREMIUM DE DEMOS
 * ------------------------------------------------------------- */
.hero-browser-mockup {
    width: 100%;
    max-width: 580px;
    background: var(--panel);
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06), 0 0 30px rgba(79, 70, 229, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-browser-mockup:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1), 0 0 45px rgba(79, 70, 229, 0.05);
}

/* Cabecera del navegador */
.browser-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: var(--panel-2);
    border-bottom: 1px solid var(--line);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.browser-dots .dot.red {
    background: #ef4444;
}

.browser-dots .dot.yellow {
    background: #f59e0b;
}

.browser-dots .dot.green {
    background: #10b981;
}

.browser-search-bar {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 4px 20px;
    font-size: 0.78rem;
    font-family: 'IBM Plex Mono', monospace;
    color: var(--mist);
    display: flex;
    align-items: center;
    gap: 8px;
    width: 60%;
    justify-content: center;
    user-select: none;
}

.search-lock {
    font-size: 0.7rem;
    color: #10b981;
}

.browser-refresh {
    font-size: 0.8rem;
    color: var(--mist);
    cursor: pointer;
    transition: color 0.3s ease;
}

.browser-refresh:hover {
    color: var(--current);
}

/* Cuerpo del navegador y demos */
.browser-body {
    position: relative;
    height: 330px;
    overflow: hidden;
    background: #f8fafc;
}

.web-demo-page {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.97) translateY(10px);
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.web-demo-page.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    z-index: 2;
}

/* Estilos de las maquetas web profesionales */
.demo-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.97);
    z-index: 5;
}

.demo-logo {
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0f172a;
}

.demo-links {
    display: flex;
    gap: 14px;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    align-items: center;
}

/* ====== Layout con Sidebar para Apps (SaaS, POS, Clínica) ====== */
.demo-app-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.demo-sidebar {
    width: 48px;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 4px;
    flex-shrink: 0;
}

.sidebar-logo {
    color: #4f46e5;
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 6px;
    width: 100%;
    text-align: center;
}

.sidebar-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #64748b;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-icon.active {
    background: #4f46e5;
    color: white;
}

.sidebar-icon.bottom {
    margin-top: auto;
}

.demo-main-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f8fafc;
}

.demo-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: white;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.demo-topbar-title {
    font-weight: 700;
    font-size: 0.82rem;
    color: #0f172a;
}

.demo-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-search-mini {
    color: #94a3b8;
    font-size: 0.75rem;
    cursor: pointer;
}

.demo-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #4f46e5;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====== KPI Cards del Dashboard SaaS ====== */
.demo-kpi-row {
    display: flex;
    gap: 8px;
    padding: 12px 14px 8px;
}

.demo-kpi-card {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.kpi-label {
    font-size: 0.62rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kpi-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.kpi-change {
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
}

.kpi-change.positive {
    color: #059669;
}

.kpi-change.negative {
    color: #dc2626;
}

/* ====== Gráfico de Barras Simulado ====== */
.demo-chart-area {
    margin: 0 14px 14px;
    background: white;
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(15, 23, 42, 0.04);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.demo-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f172a;
}

.demo-chart-legend {
    font-size: 0.58rem;
    color: #94a3b8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.legend-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.blue {
    background: #4f46e5;
}

.legend-dot.teal {
    background: #0d9488;
}

.demo-chart-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-bottom: 4px;
}

.chart-bar-group {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    justify-content: center;
    position: relative;
    height: 100%;
}

.chart-bar-group span {
    position: absolute;
    bottom: -14px;
    font-size: 0.52rem;
    color: #94a3b8;
    font-weight: 600;
}

.chart-bar-group .bar {
    width: 10px;
    border-radius: 3px 3px 0 0;
    transition: height 0.5s ease;
}

.bar.bg-blue {
    background: #4f46e5;
}

.bar.bg-teal {
    background: #0d9488;
    opacity: 0.5;
}

/* ====== E-commerce / Tienda Virtual ====== */
.demo-nav-shop .demo-links {
    gap: 12px;
}

.cart-icon {
    font-size: 0.85rem;
    color: #0f172a;
    position: relative;
}

.cart-count {
    background: #ef4444;
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
    margin-top: -4px;
}

.demo-shop-body {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    flex: 1;
    background: #f8fafc;
}

.demo-shop-filters {
    display: flex;
    gap: 6px;
}

.filter-tag {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag.active {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

.demo-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    flex: 1;
}

.demo-product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.demo-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.product-img-placeholder {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.product-info {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-name {
    font-size: 0.68rem;
    font-weight: 700;
    color: #0f172a;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
}

.product-rating {
    font-size: 0.58rem;
    color: #f59e0b;
    font-weight: 600;
}

/* ====== Sistema POS / Punto de Venta ====== */
.pos-sidebar {
    background: #1e293b;
}

.pos-sidebar .sidebar-logo {
    color: #10b981;
}

.pos-sidebar .sidebar-icon.active {
    background: #10b981;
}

.pos-cajero {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pos-content {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.pos-items-list {
    background: white;
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.pos-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.pos-item-row:last-child {
    border-bottom: none;
}

.pos-item-name {
    font-size: 0.72rem;
    color: #334155;
    font-weight: 500;
}

.pos-item-price {
    font-size: 0.72rem;
    color: #0f172a;
    font-weight: 700;
}

.total-row {
    border-top: 2px solid #0f172a;
    padding-top: 8px;
    margin-top: 2px;
}

.total-row .pos-item-name {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.82rem;
}

.total-price {
    font-size: 1rem !important;
    font-weight: 900 !important;
    color: #10b981 !important;
}

.pos-payment-methods {
    display: flex;
    gap: 6px;
}

.pos-pay-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.pos-pay-btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.pos-pay-btn.cash {
    background: #059669;
    color: white;
}

.pos-pay-btn.card {
    background: #4f46e5;
    color: white;
}

.pos-pay-btn.transfer {
    background: #0f172a;
    color: white;
}

/* ====== Agenda Médica / Clínica ====== */
.clinic-sidebar {
    background: #0f172a;
}

.clinic-sidebar .sidebar-logo {
    color: #ef4444;
}

.clinic-sidebar .sidebar-icon.active {
    background: #0d9488;
}

.clinic-schedule {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    overflow: hidden;
}

.schedule-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.sched-time {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    width: 40px;
    flex-shrink: 0;
    padding-top: 8px;
    font-family: 'IBM Plex Mono', monospace;
}

.sched-card {
    flex: 1;
    padding: 8px 14px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 3px solid;
    transition: transform 0.2s ease;
}

.sched-card:hover {
    transform: translateX(3px);
}

.sched-card.confirmed {
    background: #f0fdfa;
    border-color: #0d9488;
}

.sched-card.pending {
    background: #fffbeb;
    border-color: #f59e0b;
}

.sched-card.available {
    background: #f0f9ff;
    border-color: #94a3b8;
    border-style: dashed;
}

.sched-patient {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0f172a;
}

.sched-type {
    font-size: 0.6rem;
    color: #64748b;
    font-weight: 500;
}

.sched-card.available .sched-patient {
    color: #94a3b8;
    font-weight: 500;
}

.sched-card.available .sched-type {
    color: #4f46e5;
    font-weight: 700;
}

/* ====== Ajustes de badges flotantes ====== */
.badge-rubro {
    bottom: -15px;
    right: -15px;
    z-index: 10;
    border-color: rgba(79, 70, 229, 0.2);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.08);
}

/* ====== Estilos de las Landing Pages (Inmobiliaria, Fitness, Legal) ====== */
.demo-landing-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 24px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.landing-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
}

.landing-text {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.landing-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4f46e5;
    margin-bottom: 4px;
}

.landing-eyebrow.light {
    color: #ccff00;
}

.landing-eyebrow.gold {
    color: #c5a880;
}

.landing-title {
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.light-text .landing-title {
    color: white;
}

.landing-desc {
    font-size: 0.72rem;
    line-height: 1.4;
    color: #64748b;
    margin-bottom: 12px;
    margin-top: 0 !important;
}

.light-text .landing-desc {
    color: #94a3b8;
}

.landing-cta-row {
    display: flex;
    gap: 8px;
}

.landing-btn {
    padding: 8px 14px;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.landing-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.landing-btn.primary {
    background: #4f46e5;
    color: white;
}

.landing-btn.outline {
    background: transparent;
    border: 1px solid #4f46e5;
    color: #4f46e5;
}

.landing-btn.accent {
    background: #ccff00;
    color: #0f172a;
}

.landing-btn.ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.landing-btn.gold-btn {
    background: #c5a880;
    color: white;
}

.landing-btn.outline-dark {
    background: transparent;
    border: 1px solid #0f172a;
    color: #0f172a;
}

/* 1. Landing Inmobiliaria */
.realestate-bg {
    background: #f8fafc;
    background-image: radial-gradient(circle at 90% 10%, rgba(79, 70, 229, 0.05) 0%, transparent 60%);
}

.landing-feature-cards {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.mini-feature-card {
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.01);
}

.mini-feature-card i {
    color: #4f46e5;
    font-size: 0.8rem;
}

.mini-feature-card span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #334155;
}

/* 2. Landing Fitness */
.fitness-bg {
    background: #09090b;
    background-image: radial-gradient(circle at 80% 20%, rgba(204, 255, 0, 0.1) 0%, transparent 60%);
}

.demo-nav-dark {
    background: #09090b !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.demo-nav-dark .demo-logo,
.demo-nav-dark .demo-links {
    color: white !important;
}

.demo-cta-link.light {
    background: #ccff00;
    color: #0f172a;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.landing-stats-row {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px;
    border-radius: 10px;
}

.landing-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ccff00;
}

.stat-label {
    font-size: 0.55rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

/* 3. Landing Abogados */
.legal-bg {
    background: #fcfbf7;
    background-image: radial-gradient(circle at 85% 15%, rgba(197, 168, 128, 0.08) 0%, transparent 60%);
}

.demo-cta-link.gold {
    background: #c5a880;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.landing-trust-row {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-item {
    background: rgba(197, 168, 128, 0.05);
    border: 1px solid rgba(197, 168, 128, 0.12);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    color: #c5a880;
    font-size: 0.85rem;
}

.trust-item span {
    font-size: 0.65rem;
    font-weight: 700;
    color: #451a03;
}

/* =============================================================
   ESTILOS DE INTERFAZ ENRIQUECIDOS Y DETALLES PREMIUM (MOCKUPS)
   ============================================================= */

/* 1. Dashboard SaaS / ERP - Split Content */
.saas-split-content {
    display: flex;
    gap: 10px;
    padding: 0 14px 14px;
    flex: 1;
    overflow: hidden;
}

.saas-split-content .demo-chart-area {
    margin: 0;
    flex: 1.3;
}

.saas-recent-activity {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}

.activity-header {
    font-size: 0.68rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.activity-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.02);
}

.activity-row:last-child {
    border-bottom: none;
}

.user-pic {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
}

.user-pic.bg-1 {
    background: #3b82f6;
}

.user-pic.bg-2 {
    background: #ec4899;
}

.activity-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.68rem;
    font-weight: 700;
    color: #0f172a;
}

.user-action {
    font-size: 0.58rem;
    color: #64748b;
}

/* 2. Tienda Virtual - Product Images & Badges */
.product-img-placeholder {
    position: relative;
    overflow: hidden;
}

.product-img-placeholder.prd-1 {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0284c7;
}

.product-img-placeholder.prd-2 {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: #db2777;
}

.product-img-placeholder.prd-3 {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #475569;
}

.product-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.52rem;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-badge.sale {
    background: #ef4444;
}

.product-badge.new {
    background: #10b981;
}

/* 3. POS - Split Layout & Menú de Productos Táctil */
.pos-split-content {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    flex: 1;
    overflow: hidden;
}

.pos-checkout-section {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pos-menu-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
}

.pos-menu-btn {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.01);
}

.pos-menu-btn:hover {
    transform: scale(1.02);
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.menu-emoji {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.menu-label {
    font-size: 0.58rem;
    font-weight: 700;
    color: #475569;
}

/* 4. Agenda Médica - Ocupación & Gauge */
.clinic-schedule-container {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    flex: 1;
    overflow: hidden;
}

.clinic-schedule-container .clinic-schedule {
    flex: 1.3;
    padding: 0;
}

.clinic-stats-panel {
    flex: 0.9;
    background: white;
    border-radius: 10px;
    padding: 12px 8px;
    border: 1px solid rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.clinic-gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.gauge-title {
    font-size: 0.62rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.gauge-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(#0d9488 0% 80%, #e2e8f0 80% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 0 8px white;
}

.gauge-circle::after {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    z-index: 1;
}

.gauge-percentage {
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
    font-weight: 900;
    color: #0f172a;
}

.clinic-stat-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 0 4px;
}

.stat-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.58rem;
    font-weight: 600;
    color: #64748b;
}

.stat-detail-item span[class^="dot-"] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.dot-green {
    background: #0d9488;
}

.dot-orange {
    background: #f59e0b;
}

/* 5. Landing Inmobiliaria - Visual Card */
.realestate-visual-card {
    flex: 0.9;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.property-image-mockup {
    height: 120px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 10px;
}

.property-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 100px;
    text-transform: uppercase;
}

.property-mockup-info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.property-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
}

.property-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.58rem;
    font-weight: 700;
    color: #64748b;
}

.property-details span:first-child {
    color: #4f46e5;
}

/* 6. Landing Fitness - Visual Badge */
.fitness-visual-badge {
    flex: 0.9;
    background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
    border: 1px solid rgba(204, 255, 0, 0.25);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
    position: relative;
}

.badge-fire-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(204, 255, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccff00;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.badge-tag-line {
    font-size: 0.6rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-promo-text {
    font-size: 1.15rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.01em;
}

/* 7. Landing Legal - Visual Seal */
.legal-visual-seal {
    flex: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.seal-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px dashed #c5a880;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(197, 168, 128, 0.03);
    position: relative;
}

.seal-ring::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(197, 168, 128, 0.15);
}

.seal-icon {
    font-size: 2.2rem;
    color: #c5a880;
}

.seal-text-small {
    font-size: 0.52rem;
    font-weight: 800;
    color: #c5a880;
    letter-spacing: 0.05em;
}

/* =============================================================
 * ESTILOS DE REDES SOCIALES, ALCANCE INTERNACIONAL Y FOOTER
 * ============================================================= */

/* 1. Botones Sociales en Barra de Navegación */
.nav-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    margin-right: 15px;
}

.nav-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--line);
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-social-btn.wsp:hover {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

.nav-social-btn.ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #dc2743;
    color: white;
}

.nav-social-btn.tk:hover {
    background: #000000;
    border-color: #25F4EE;
    color: #25F4EE;
    box-shadow: 0 0 10px rgba(37, 244, 238, 0.4);
}

.nav-social-btn.li:hover {
    background: #0A66C2;
    border-color: #0A66C2;
    color: white;
}

@media (max-width: 1024px) {
    .nav-social-icons {
        display: none;
    }
}

/* 2. Banner de Alcance Internacional */
.global-reach-banner {
    max-width: 920px;
    margin: 2.5rem auto 3rem auto;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, rgba(79, 70, 229, 0.08) 100%);
    border: 1px solid rgba(13, 148, 136, 0.25);
    border-radius: 20px;
    padding: 28px 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 35px rgba(13, 148, 136, 0.06);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.global-reach-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(61, 235, 200, 0.15), transparent 70%);
    pointer-events: none;
}

.reach-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(13, 148, 136, 0.12);
    border: 1px solid rgba(13, 148, 136, 0.3);
    color: var(--current);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 12px;
}

.reach-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 8px;
}

.reach-content p {
    font-size: 0.96rem;
    color: var(--mist);
    line-height: 1.6;
    margin: 0;
}

/* 3. Grilla de Tarjetas de Contacto y Redes Sociales */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1240px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.contact-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    text-decoration: none;
    color: var(--paper);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* Colores Temáticos por Tarjeta */
.contact-card.card-wsp:hover {
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.15);
}

.contact-card.card-ig:hover {
    border-color: rgba(220, 39, 67, 0.5);
    box-shadow: 0 20px 40px rgba(220, 39, 67, 0.15);
}

.contact-card.card-tk:hover {
    border-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-card.card-li:hover {
    border-color: rgba(10, 102, 194, 0.5);
    box-shadow: 0 20px 40px rgba(10, 102, 194, 0.15);
}

.contact-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
}

.contact-icon.wsp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.contact-icon.ig {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.3);
}

.contact-icon.tk {
    background: #000000;
    color: #25F4EE;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.contact-icon.li {
    background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
    box-shadow: 0 6px 16px rgba(10, 102, 194, 0.3);
}

.status-badge.online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(37, 211, 102, 0.12);
    color: #128C7E;
    font-size: 0.75rem;
    font-weight: 700;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 8px #25D366;
    animation: pulseDot 1.8s ease-in-out infinite alternate;
}

.contact-handle {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mist);
    background: rgba(15, 23, 42, 0.05);
    padding: 4px 10px;
    border-radius: 100px;
}

.contact-subtitle {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mist);
    display: block;
    margin-bottom: 4px;
}

.contact-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 8px;
}

.contact-desc {
    font-size: 0.88rem;
    color: var(--mist);
    line-height: 1.5;
    margin-bottom: 18px;
}

.contact-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--current);
    border-top: 1px solid var(--line);
    padding-top: 14px;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-card-footer {
    color: var(--paper);
}

.contact-card:hover .contact-card-footer i {
    transform: translateX(4px);
}

.contact-card-footer i {
    transition: transform 0.3s ease;
}

/* 4. Botón Flotante de WhatsApp Interactivo */
.floating-wsp {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.wsp-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
    animation: floatingPulse 2.5s ease-in-out infinite;
}

@keyframes floatingPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 10px 25px rgba(37, 211, 102, 0.45);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 10px 25px rgba(37, 211, 102, 0.45);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 25px rgba(37, 211, 102, 0.45);
    }
}

.wsp-online-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #4ade80;
    border: 2.5px solid white;
}

.wsp-tooltip-text {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    padding: 10px 16px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wsp-tooltip-text strong {
    font-size: 0.85rem;
    font-weight: 700;
}

.wsp-tooltip-text small {
    font-size: 0.75rem;
    color: #cbd5e1;
}

.floating-wsp:hover .wsp-icon-wrapper {
    transform: scale(1.08);
}

.floating-wsp:hover .wsp-tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 5. Pie de Página Enriquecido */
.main-footer {
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.8) 0%, #e2e8f0 100%);
    border-top: 1px solid var(--line);
    padding: 70px 6vw 30px 6vw;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand-col .logo {
    margin-bottom: 14px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--mist);
    line-height: 1.6;
    margin-bottom: 18px;
}

.footer-global-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--current);
    background: rgba(13, 148, 136, 0.08);
    padding: 8px 14px;
    border-radius: 100px;
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 18px;

}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--mist);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--current);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-list li a,
.footer-contact-list li span {
    color: var(--mist);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.footer-contact-list li a:hover {
    color: var(--current);
}

.wsp-color {
    color: #25D366;
}

.footer-social-icons {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--line);
    color: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.footer-social-btn:hover {
    transform: translateY(-3px);
}

.footer-social-btn.wsp:hover {
    background: #25D366;
    color: white;
}

.footer-social-btn.ig:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.footer-social-btn.tk:hover {
    background: #000;
    color: #25F4EE;
}

.footer-social-btn.li:hover {
    background: #0A66C2;
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--mist);
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .floating-wsp {
        bottom: 20px;
        right: 20px;
    }

    .wsp-icon-wrapper {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }

    .wsp-tooltip-text {
        display: none;
    }
}