@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200;300;400&family=Inter:wght@300;400&display=swap');

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --azul: #1f3c88;
    --azul-dark: #0d1b3e;
    --azul-mid: #2d5aa8;
    --naranja: #ff8c00;
    --naranja-dark: #e07800;
    --amarillo: #f4c430;
    --blanco: #ffffff;
    --texto: #2c2c2c;
    --texto-light: #6b7280;
    --surface: #f8f9fe;
}

button,
a,
select {
    cursor: pointer
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
    cursor: text
}

html,
body {
    height: 100%;
    width: 100%;
    font-family: 'Raleway', 'Segoe UI', sans-serif;
    color: var(--texto);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
    font-weight: 300;
    scroll-padding-top: 80px
}

html.modal-open,
html.modal-open body {
    overflow: hidden
}

.container {
    width: 100%;
    min-height: 100%;
    background: #fff
}

/* Nav */
.nav-superior {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(31, 60, 136, 0.08);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(31, 60, 136, 0.06);
    transition: background 0.3s ease, box-shadow 0.3s ease
}

.nav-superior-contenido {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 65px;
    gap: 50px;
    padding: 0 20px
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Raleway', 'Segoe UI', sans-serif;
    letter-spacing: 0.5px;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    padding: 8px 2px;
    border-bottom: 2px solid transparent
}

.nav-item:hover {
    color: var(--azul);
    border-bottom-color: var(--naranja);
    transform: translateY(-1px)
}

.nav-item span:first-child {
    font-size: 18px;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1)
}

@media(max-width:1024px) {
    .nav-superior-contenido {
        gap: 30px
    }

    .nav-item {
        font-size: 14px
    }
}

@media(max-width:768px) {
    .nav-superior {
        display: none
    }
}

/* Contact Banner */
.contacto-banner {
    background: #fff;
    border-bottom: 3px solid var(--amarillo)
}

.contacto-banner>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px
}

@media(max-width:600px) {
    .contacto-banner>div {
        justify-content: center
    }
}

/* Social Buttons */
.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    font-size: 16px;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    border: 2px solid rgba(255, 255, 255, .3);
    position: relative;
    overflow: hidden
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
    transform: translate(-50%, -50%);
    transition: width .6s ease, height .6s ease
}

.social-btn:hover::before {
    width: 300px;
    height: 300px
}

.social-btn svg {
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    z-index: 1
}

.social-btn:hover svg {
    transform: rotate(360deg) scale(1.1)
}

.social-btn span {
    position: relative;
    z-index: 1
}

.social-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, .4)
}

.social-btn-whatsapp:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, .7)
}

.social-btn-linkedin {
    background: var(--azul);
    box-shadow: 0 4px 15px rgba(31, 60, 136, .4)
}

.social-btn-linkedin:hover {
    background: #0077B5;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 119, 181, .7)
}

.social-btn-instagram {
    background: var(--azul);
    box-shadow: 0 4px 15px rgba(31, 60, 136, .4)
}

.social-btn-instagram:hover {
    background: linear-gradient(135deg, #833AB4, #FD1D1D 50%, #FCAF45);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(131, 58, 180, .7)
}

.social-btn-google {
    background: var(--azul);
    box-shadow: 0 4px 15px rgba(31, 60, 136, .4)
}

.social-btn-google:hover {
    background: #4285F4;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(66, 133, 244, .7)
}

/* Products */
.productos {
    padding: 70px 20px;
    max-width: 1200px;
    margin: 0 auto
}

.productos h2 {
    text-align: center;
    font-size: 32px;
    color: var(--azul);
    margin-bottom: 50px;
    font-weight: 300
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px
}

@media(max-width:992px) {
    .grid-productos {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:600px) {
    .grid-productos {
        grid-template-columns: 1fr
    }
}

.producto {
    background: var(--blanco);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden
}

.producto::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(31, 60, 136, .05), transparent);
    transition: left .5s ease
}

.producto:hover::before {
    left: 100%
}

.producto:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
    border-color: var(--azul)
}

.producto h3 {
    color: var(--azul);
    margin: 20px 0 15px;
    font-size: 22px;
    font-weight: 300;
    transition: all .3s ease
}

.producto:hover h3 {
    transform: scale(1.05);
    color: var(--naranja)
}

.producto img {
    transition: transform .4s cubic-bezier(.4, 0, .2, 1)
}

.producto:hover img {
    transform: scale(1.1) rotate(2deg)
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px
}

.modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn .3s ease
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.modal-content {
    background: var(--blanco);
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
    animation: slideUp .3s ease
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.modal-header {
    background: #5A6E83;
    color: var(--blanco);
    padding: 25px 30px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 300
}

.modal-close {
    background: none;
    border: none;
    color: var(--blanco);
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .2s ease
}

.modal-close:hover {
    background: rgba(255, 255, 255, .2);
    transform: rotate(90deg)
}

.modal-body {
    padding: 30px;
    color: var(--texto);
    line-height: 1.8
}

.modal-body h3 {
    color: var(--azul);
    font-size: 20px;
    font-weight: 300;
    margin-top: 25px;
    margin-bottom: 15px
}

.modal-body p {
    margin-bottom: 15px;
    font-size: 15px
}

@media(max-width:600px) {
    .modal-content {
        max-height: 95vh;
        margin: 10px
    }

    .modal-header {
        padding: 15px 20px
    }

    .modal-header h2 {
        font-size: 18px
    }

    .modal-body {
        padding: 20px
    }
}

/* Hero */
.hero-slider {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #000;
    touch-action: pan-y
}

.hero-slides {
    display: flex;
    transition: transform .65s cubic-bezier(.22, 1, .36, 1);
    height: 100%;
    position: relative;
    z-index: 1;
    will-change: transform;
    transform: translate3d(0, 0, 0)
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden
}

/* Soft neutral overlay — more white/light, less heavy blue */
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.38) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(20,20,30,0.40) 100%);
    z-index: 1
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 90%;
    max-width: 860px;
    opacity: 0;
    transition: opacity .7s ease
}

.hero-slide.active .hero-slide-content {
    opacity: 1
}

/* Hero badge — minimal, subtle */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px)
}

.hero-slide-content h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 54px;
    font-weight: 200;
    margin-bottom: 18px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    line-height: 1.2
}

.hero-slide-content p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 36px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.5px
}

.hero-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--naranja), #e07800);
    color: #fff;
    padding: 16px 44px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 8px 28px rgba(255, 140, 0, 0.45);
    border: 1.5px solid rgba(255, 255, 255, .25);
    position: relative;
    overflow: hidden
}

.hero-cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.3s ease
}

.hero-cta-button:hover::before {
    background: rgba(255,255,255,0.12)
}

.hero-cta-button:hover {
    background: linear-gradient(135deg, var(--amarillo), #e6b800);
    color: var(--azul-dark);
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 36px rgba(244, 196, 48, .6)
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, .96);
    width: 24px;
    height: 24px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 40;
    visibility: visible;
    opacity: 1;
    flex-shrink: 0;
    pointer-events: auto;
    font-size: 0; /* usamos chevron con ::before para que sea mas delgado/pequeno */
    line-height: 1;
    font-weight: 200;
    transition: transform .22s ease, opacity .22s ease, color .22s ease;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .7))
}

.hero-arrow::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
}

.hero-arrow.prev::before {
    transform: rotate(135deg);
}

.hero-arrow.next::before {
    transform: rotate(-45deg);
}

.hero-arrow:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.04);
    opacity: 1
}

.hero-arrow .ripple {
    display: none !important;
}

.hero-arrow.ripple-host {
    overflow: visible !important;
}

.hero-arrow.prev {
    left: 12px
}

.hero-arrow.next {
    right: 12px
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
    border: 2px solid rgba(255, 255, 255, .6);
    cursor: pointer;
    transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.hero-dot:hover {
    background: rgba(255, 255, 255, .7);
    transform: scale(1.4)
}

.hero-dot.active {
    background: var(--amarillo);
    transform: scale(1.3);
    border-color: var(--amarillo);
    box-shadow: 0 0 15px rgba(244, 196, 48, .8)
}

@media(max-width:768px) {
    .hero-slider {
        height: 100svh;
        min-height: 500px
    }

    .hero-slide-content h1 {
        font-size: 28px;
        letter-spacing: 1px
    }

    .hero-slide-content p {
        font-size: 15px;
        margin-bottom: 24px
    }

    .hero-cta-button {
        padding: 12px 28px;
        font-size: 15px
    }

    .hero-arrow {
        width: 20px;
        height: 20px
    }

    .hero-arrow::before {
        width: 7px;
        height: 7px;
        border-right-width: 1.4px;
        border-bottom-width: 1.4px;
    }

    .hero-arrow.prev {
        left: 8px
    }

    .hero-arrow.next {
        right: 8px
    }

    .hero-dots {
        bottom: 20px;
        gap: 8px
    }

    .hero-dot {
        width: 10px;
        height: 10px
    }
}

/* Marquee — dark premium */
.marquee-container {
    background: var(--azul-dark);
    color: var(--amarillo);
    overflow: hidden;
    padding: 14px 0;
    border-bottom: 2px solid rgba(244,196,48,0.3);
    border-top: 2px solid rgba(244,196,48,0.3)
}

.marquee-content {
    display: flex;
    animation: marqueeScroll 18s linear infinite;
    white-space: nowrap
}

.marquee-text {
    padding: 0 40px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(244,196,48,0.9)
}

.marquee-text::after {
    content: ' ✦ ';
    color: rgba(255,140,0,0.6);
    margin-left: 40px
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-33.333%)
    }
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused
}

/* Hamburger Menu */
.menu-hamburguesa {
    position: fixed !important;
    top: max(16px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
    z-index: 2147483000 !important;
    width: 60px;
    height: 60px;
    background: var(--azul);
    border-radius: 50%;
    display: flex;
    visibility: visible !important;
    opacity: 1 !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(31, 60, 136, .4);
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    border: none;
    transform: translateZ(0);
    backface-visibility: hidden
}

.menu-hamburguesa:hover {
    transform: scale(1.15);
    background: var(--naranja);
    box-shadow: 0 8px 25px rgba(255, 140, 0, .6)
}

.menu-hamburguesa span {
    width: 30px;
    height: 3px;
    background: var(--blanco);
    border-radius: 2px;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none
}

.menu-hamburguesa.active {
    background: var(--naranja)
}

.menu-hamburguesa.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px)
}

.menu-hamburguesa.active span:nth-child(2) {
    opacity: 0
}

.menu-hamburguesa.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px)
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible
}

.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--blanco);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, .3)
}

.menu-panel.active {
    transform: translateX(0)
}

.menu-header {
    padding: 30px;
    background: var(--blanco);
    text-align: center
}

.menu-header img {
    max-width: 200px;
    height: auto
}

.menu-items {
    padding: 20px 0
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 18px 30px;
    color: var(--texto);
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(31, 60, 136, .15), transparent);
    transition: width .4s cubic-bezier(.4, 0, .2, 1)
}

.menu-item:hover::before {
    width: 100%
}

.menu-item:hover {
    border-left-color: var(--naranja);
    padding-left: 40px;
    color: var(--azul)
}

.menu-item span {
    margin-right: 15px;
    font-size: 18px;
    position: relative;
    z-index: 1
}

@media(max-width:768px) {
    .menu-hamburguesa {
        top: max(12px, env(safe-area-inset-top));
        right: max(12px, env(safe-area-inset-right));
        width: 50px;
        height: 50px;
        gap: 5px;
    }

    .menu-hamburguesa span {
        width: 24px;
        height: 2.5px;
    }

    .menu-panel {
        max-width: 100%
    }
}

/* Testimonios slider arrows fix */
.slider-arrow-testimonios {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--azul);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
    font-size: 20px;
    font-weight: 300;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2)
}

.slider-arrow-testimonios:hover {
    background: var(--naranja);
    transform: translateY(-50%) scale(1.1)
}

.slider-arrow-testimonios.prev {
    left: 5px
}

.slider-arrow-testimonios.next {
    right: 5px
}

/* Testimonios slider smooth */
#testimoniosSlider {
    transition: transform .4s ease;
    cursor: grab
}

#testimoniosSlider.dragging {
    cursor: grabbing;
    transition: none
}

/* ===== CENTRALITO FLOATING CHATBOT ===== */

/* Floating Action Button (FAB) */
.centralito-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f3c88, #2d5aa8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 6px 24px rgba(31, 60, 136, .5);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 2px solid rgba(255, 255, 255, .15)
}

.centralito-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(31, 60, 136, .7)
}

.centralito-fab-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover
}

.centralito-fab-online {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: #25D366;
    border-radius: 50%;
    border: 2.5px solid #1f3c88;
    z-index: 1
}

.centralito-fab-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 140, 0, .5);
    animation: fabPulse 2.5s ease-out infinite;
    pointer-events: none
}

@keyframes fabPulse {
    0% {
        transform: scale(1);
        opacity: .7
    }

    100% {
        transform: scale(1.35);
        opacity: 0
    }
}

/* Tooltip */
.centralito-fab-tooltip {
    position: fixed;
    bottom: 100px;
    right: 28px;
    background: linear-gradient(135deg, #1f3c88, #2d5aa8);
    color: #fff;
    padding: 14px 40px 14px 18px;
    border-radius: 12px 12px 4px 12px;
    font-size: 14px;
    font-weight: 400;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
    z-index: 9997;
    max-width: 280px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s ease, transform .4s ease;
    pointer-events: none
}

.centralito-fab-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto
}

.centralito-fab-tooltip-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, .6);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 5px
}

.centralito-fab-tooltip-close:hover {
    color: #fff
}

/* Modal Overlay */
.centralito-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease
}

.centralito-modal-overlay.open {
    opacity: 1;
    visibility: visible
}

/* Modal Container */
.centralito-modal {
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    background: linear-gradient(135deg, #0d1b3e 0%, #1f3c88 40%, #2d5aa8 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .6);
    border: 1px solid rgba(255, 255, 255, .1);
    transform: scale(.9) translateY(20px);
    transition: transform .35s ease
}

.centralito-modal-overlay.open .centralito-modal {
    transform: scale(1) translateY(0)
}

.centralito-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background .3s ease;
    line-height: 1
}

.centralito-modal-close:hover {
    background: rgba(255, 140, 0, .4)
}

/* Modal internal scroll */
.centralito-modal .centralito-chat {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden
}

.centralito-modal .centralito-messages {
    flex: 1;
    overflow-y: auto;
    max-height: 45vh
}

.centralito-modal .centralito-response {
    overflow-y: auto;
    max-height: 60vh
}

@keyframes centralitoGlow {
    0% {
        transform: translate(0, 0) scale(1)
    }

    100% {
        transform: translate(5%, 5%) scale(1.1)
    }
}

/* Chat Container */
.centralito-chat {
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4)
}

.centralito-chat-header {
    background: linear-gradient(135deg, rgba(255, 140, 0, .2), rgba(244, 196, 48, .1));
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.centralito-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--naranja), var(--amarillo));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 140, 0, .4);
    animation: centralitoPulse 3s ease-in-out infinite;
    flex-shrink: 0
}

@keyframes centralitoPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 140, 0, .4)
    }

    50% {
        box-shadow: 0 4px 25px rgba(255, 140, 0, .7), 0 0 40px rgba(255, 140, 0, .2)
    }
}

.centralito-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover
}

.centralito-chat-info h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin: 0
}

.centralito-chat-info span {
    color: rgba(255, 255, 255, .6);
    font-size: 13px
}

.centralito-status {
    display: flex;
    align-items: center;
    gap: 6px
}

.centralito-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366;
    animation: statusPulse 2s ease-in-out infinite
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .5
    }
}

/* Chat Messages */
.centralito-messages {
    padding: 25px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 18px
}

.chat-msg {
    display: flex;
    gap: 12px;
    animation: msgSlideIn .4s ease-out both;
    max-width: 85%
}

@keyframes msgSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.chat-msg.bot {
    align-self: flex-start
}

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse
}

.chat-msg-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--naranja), var(--amarillo));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden
}

.chat-msg-avatar img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 50%
}

.chat-msg.user .chat-msg-avatar {
    background: linear-gradient(135deg, var(--azul), #2d5aa8)
}

.chat-bubble {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
    position: relative
}

.chat-msg.bot .chat-bubble {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .08);
    border-bottom-left-radius: 4px
}

.chat-msg.user .chat-bubble {
    background: linear-gradient(135deg, var(--naranja), #e07800);
    border-bottom-right-radius: 4px
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .1);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, .08);
    align-items: center
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    animation: typingDot 1.4s ease-in-out infinite
}

.typing-indicator span:nth-child(2) {
    animation-delay: .2s
}

.typing-indicator span:nth-child(3) {
    animation-delay: .4s
}

@keyframes typingDot {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: .5
    }

    30% {
        transform: translateY(-6px);
        opacity: 1
    }
}

/* Form Steps */
.centralito-form-area {
    padding: 0 25px 25px
}

.centralito-step {
    display: none;
    animation: stepFadeIn .4s ease-out both
}

.centralito-step.active {
    display: block
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateX(20px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

.centralito-step label {
    display: block;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 300
}

.centralito-step select,
.centralito-step input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 15px;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    transition: all .3s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none
}

.centralito-step select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer
}

.centralito-step select option {
    background: #1f3c88;
    color: #fff
}

.centralito-step select:focus,
.centralito-step input[type="text"]:focus {
    border-color: var(--naranja);
    box-shadow: 0 0 20px rgba(255, 140, 0, .2)
}

/* Logo Upload */
.logo-upload-area {
    border: 2px dashed rgba(255, 255, 255, .2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all .3s ease;
    position: relative;
    overflow: hidden
}

.logo-upload-area:hover,
.logo-upload-area.dragover {
    border-color: var(--naranja);
    background: rgba(255, 140, 0, .08)
}

.logo-upload-area svg {
    margin-bottom: 12px
}

.logo-upload-area p {
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
    margin: 0
}

.logo-upload-area p strong {
    color: var(--naranja)
}

.logo-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer
}

.logo-preview-container {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, .08);
    border-radius: 12px;
    margin-top: 12px
}

.logo-preview-container.active {
    display: flex
}

.logo-preview-container img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .15)
}

.logo-preview-container span {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    flex: 1
}

.logo-remove-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease
}

.logo-remove-btn:hover {
    background: rgba(220, 53, 69, .3);
    border-color: #dc3545
}

/* Action Buttons */
.centralito-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    border: none;
    font-family: 'Montserrat', 'Segoe UI', sans-serif
}

.centralito-btn-primary {
    background: linear-gradient(135deg, var(--naranja), #e07800);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 140, 0, .4)
}

.centralito-btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(255, 140, 0, .6)
}

.centralito-btn-primary:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none
}

.centralito-btn-secondary {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2)
}

.centralito-btn-secondary:hover {
    background: rgba(255, 255, 255, .2);
    transform: translateY(-2px)
}

.centralito-btn-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center
}

/* Progress Bar */
.centralito-progress {
    display: flex;
    gap: 8px;
    padding: 15px 25px;
    background: rgba(0, 0, 0, .15)
}

.centralito-progress-step {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .15);
    transition: all .4s ease;
    position: relative
}

.centralito-progress-step.completed {
    background: var(--naranja)
}

.centralito-progress-step.active {
    background: var(--amarillo);
    box-shadow: 0 0 10px rgba(244, 196, 48, .5)
}

/* Recommendation Response */
.centralito-response {
    display: none;
    padding: 25px;
    animation: responseIn .5s ease-out both
}

.centralito-response.active {
    display: block
}

@keyframes responseIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.response-section {
    background: rgba(255, 255, 255, .06);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    transition: all .3s ease
}

.response-section:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .15);
    transform: translateY(-2px)
}

.response-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px
}

.response-section-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0
}

.response-section-header h4 {
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    margin: 0
}

.response-section p,
.response-section li {
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    line-height: 1.7
}

.response-section ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0
}

.response-section li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative
}

.response-section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--naranja)
}

/* Color Palette */
.color-palette-row {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, .2);
    transition: all .3s ease;
    cursor: default;
    position: relative
}

.color-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .3)
}

.color-swatch-label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, .5);
    white-space: nowrap
}


/* Gemini Visualization Section */
.centralito-gemini-section {
    background: linear-gradient(135deg, rgba(66, 133, 244, .12), rgba(52, 168, 83, .08));
    border: 1px solid rgba(66, 133, 244, .3);
    border-radius: 16px;
    padding: 28px;
    margin-top: 20px;
    margin-bottom: 20px
}

.gemini-steps {
    background: rgba(0, 0, 0, .2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px
}

.gemini-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    line-height: 1.6
}

.gemini-step:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(66, 133, 244, .3), rgba(52, 168, 83, .2));
    border: 2px solid rgba(66, 133, 244, .5);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0
}

.step-text {
    flex: 1
}

.gemini-prompt-container {
    margin-top: 20px;
    margin-bottom: 15px
}

.gemini-prompt-box {
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(66, 133, 244, .2);
    border-radius: 12px;
    padding: 18px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .85);
    max-height: 280px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
    scrollbar-width: thin;
    scrollbar-color: rgba(66, 133, 244, .6) rgba(0, 0, 0, .2)
}

.gemini-prompt-box::-webkit-scrollbar {
    width: 6px
}

.gemini-prompt-box::-webkit-scrollbar-thumb {
    background: rgba(66, 133, 244, .6);
    border-radius: 3px
}

.gemini-prompt-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .2)
}

/* Copy and Gemini Buttons */
.centralito-btn-copy {
    background: linear-gradient(135deg, rgba(66, 133, 244, .2), rgba(52, 168, 83, .15));
    border: 1.5px solid rgba(66, 133, 244, .4);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s ease
}

.centralito-btn-copy:hover {
    background: linear-gradient(135deg, rgba(66, 133, 244, .35), rgba(52, 168, 83, .25));
    border-color: rgba(66, 133, 244, .6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, .3)
}

.centralito-btn-gemini {
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(66, 133, 244, .35);
    transition: all .3s ease
}

.centralito-btn-gemini:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(66, 133, 244, .5)
}

.centralito-btn svg {
    flex-shrink: 0
}

/* WhatsApp CTA */
.centralito-whatsapp-cta {
    background: linear-gradient(135deg, rgba(37, 211, 102, .15), rgba(18, 140, 126, .1));
    border: 1px solid rgba(37, 211, 102, .3);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    margin-top: 20px
}

.centralito-whatsapp-cta h4 {
    color: #25D366;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px
}

.centralito-whatsapp-cta p {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    margin-bottom: 18px
}

.centralito-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: all .4s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', 'Segoe UI', sans-serif
}

.centralito-whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, .6)
}

.centralito-whatsapp-btn svg {
    width: 22px;
    height: 22px
}

/* Reset / New Consult */
.centralito-reset {
    text-align: center;
    margin-top: 20px
}

.centralito-reset button {
    background: none;
    border: 1px solid rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .7);
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    transition: all .3s ease;
    font-family: 'Montserrat', 'Segoe UI', sans-serif
}

.centralito-reset button:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff
}

/* Nano Banana Pro Prompt Section */
.centralito-prompt-section {
    background: linear-gradient(135deg, rgba(255, 140, 0, .1), rgba(244, 196, 48, .08));
    border: 1px solid rgba(255, 140, 0, .25);
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px
}

.centralito-prompt-section h4 {
    color: var(--naranja);
    font-weight: 400
}

.nano-prompt-box {
    background: rgba(0, 0, 0, .4);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 18px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .85);
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
    scrollbar-width: thin;
    scrollbar-color: var(--naranja) rgba(0, 0, 0, .2)
}

.nano-prompt-box::-webkit-scrollbar {
    width: 6px
}

.nano-prompt-box::-webkit-scrollbar-thumb {
    background: var(--naranja);
    border-radius: 3px
}

.nano-prompt-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .2)
}

/* Responsive */
@media(max-width:768px) {
    .chat-msg {
        max-width: 95%
    }

    .centralito-btn-actions {
        flex-direction: column;
        align-items: stretch
    }

    .centralito-btn {
        justify-content: center;
        font-size: 14px;
        padding: 12px 20px
    }

    .color-swatch {
        width: 40px;
        height: 40px
    }

    .response-section {
        padding: 18px
    }

    .centralito-modal {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 14px
    }

    .centralito-modal-overlay {
        padding: 10px
    }

    .centralito-modal .centralito-messages {
        max-height: 35vh
    }
}

@media(max-width:480px) {
    .centralito-fab {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px
    }

    .centralito-fab-avatar {
        width: 42px;
        height: 42px
    }

    .centralito-fab-tooltip {
        bottom: 84px;
        right: 20px;
        max-width: 240px;
        font-size: 13px
    }

    .centralito-modal {
        border-radius: 10px
    }

    .centralito-modal-overlay {
        padding: 6px
    }

    .centralito-messages {
        padding: 15px
    }

    .centralito-form-area {
        padding: 0 15px 15px
    }

    .centralito-chat-header {
        padding: 15px
    }

    .centralito-avatar {
        width: 42px;
        height: 42px
    }

    .centralito-avatar img {
        width: 34px;
        height: 34px
    }
}

/* ============================================================
   PREMIUM INTERACTION SYSTEM — CUDSAS
   Smooth scroll · Ripple · Hover · Scroll-reveal · Page fade
   ============================================================ */

/* 1. Smooth scroll global */
html {
    scroll-behavior: smooth;
}

/* 2. Page fade-in on load */
body {
    animation: pageFadeIn 0.45s ease both;
}
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 3. Ripple effect (JS añade .ripple-effect a botones y links) */
.ripple-host {
    position: relative;
    overflow: hidden;
}
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: rippleAnim 0.55s linear;
    background: rgba(255, 255, 255, 0.28);
    pointer-events: none;
    z-index: 999;
}
@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* 4. Scroll-reveal — elementos con data-reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1),
                transform 0.6s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }

/* 5. Enhanced CTA button — pulse suave solo en hero, NO en nav */
.hero-cta-button {
    animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(255,140,0,0.45); }
    50%       { box-shadow: 0 10px 36px rgba(255,140,0,0.70); }
}
.hero-cta-button:hover {
    animation: none;
}

/* 6. Nav items — underline deslizante mejorado */
.nav-item {
    position: relative;
}
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--naranja);
    transition: width 0.3s cubic-bezier(.4,0,.2,1),
                left   0.3s cubic-bezier(.4,0,.2,1);
}
.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
    left: 0;
}

/* 7. Menu panel — transición más fluida + blur */
.menu-panel {
    transition: transform 0.38s cubic-bezier(.4,0,.2,1);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.menu-overlay {
    transition: opacity 0.38s cubic-bezier(.4,0,.2,1),
                visibility 0.38s cubic-bezier(.4,0,.2,1);
}

/* 8. Menu hamburguesa — animación X más fluida */
.menu-hamburguesa span {
    transform-origin: center;
}
.menu-hamburguesa.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-hamburguesa.active span:nth-child(2) {
    transform: scaleX(0);
    opacity: 0;
}
.menu-hamburguesa.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 9. Cards — sombra dinámica por hover */
.producto,
.producto-card,
.stat-item,
.review-card {
    transition: transform 0.38s cubic-bezier(.4,0,.2,1),
                box-shadow 0.38s cubic-bezier(.4,0,.2,1),
                border-color 0.3s ease;
}
.producto:hover,
.producto-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(31,60,136,0.18);
}

/* 10. Links de footer — hover fluid */
.footer-links a {
    transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-links a:hover {
    padding-left: 6px;
}

/* 11. Scroll indicator — barra de progreso superior */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--naranja), var(--amarillo));
    width: 0%;
    z-index: 99999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* 12. Focus visible mejorado para accesibilidad */
:focus-visible {
    outline: 2px solid var(--naranja);
    outline-offset: 3px;
    border-radius: 4px;
}
