/* Pepe Toys - Landing Page Día del Niño CSS V4 (Imagen Corporativa Oficial) */

:root {
    /* ---- PALETA CORPORATIVA (extraída del logotipo oficial) ---- */
    --color-primary-red: #E53935;
    /* Rojo del carro de juguete */
    --color-primary-red-dark: #C62828;
    /* Rojo oscuro para hover */
    --color-primary-blue: #1E6BB8;
    /* Azul de la ropa del personaje */
    --color-primary-blue-dark: #145294;
    /* Azul oscuro para hover */
    --color-accent-green: #2E7D52;
    /* Verde de la mochila */

    /* ---- Alias de compatibilidad (mantiene referencias existentes) ---- */
    --color-primary-coral: #E53935;
    --color-primary-coral-dark: #C62828;

    /* ---- Fondos y textos ---- */
    --color-bg-light: #FFF3F3;
    /* Rosa muy suave derivado del rojo */
    --color-bg-white: #FFFFFF;
    --color-bg-blue-light: #F0F7FF;
    /* Azul glacial muy tenue */
    --color-bg-yellow-light: #FFFDF0;
    /* Crema cálido para testimonios */
    --color-bg-gray-light: #FAFAFA;
    /* Gris humo para videos */
    --color-text-main: #222222;
    --color-text-muted: #555555;

    --font-heading-main: 'Londrina Solid', cursive;
    --font-heading-sec: 'Chewy', cursive;
    --font-body: 'Fredoka', sans-serif;

    --radius-btn: 38px;
    --radius-card: 40px;

    --shadow-soft: 0 10px 30px rgba(229, 57, 53, 0.10);
    --shadow-hover: 0 15px 35px rgba(30, 107, 184, 0.22);

    /* Configuración Navbar */
    --navbar-height: 85px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--navbar-height) + 40px);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---- PREMIUM SCROLL ANIMATIONS ---- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bounce Easing */
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* ---- RESET Y GENERALES ---- */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* =========================================
   NAVBAR & NAVEGACIÓN DINÁMICA (UX/UI PREMIUM)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    /* Vidrio esmerilado refinado */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    padding: 10px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-img {
    height: 85px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Menú de Escritorio */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu li a {
    color: var(--color-primary-red);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--color-primary-blue-dark);
}

/* Animación de línea dinámica en hover y active (Scroll Spy) */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-primary-coral);
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary-coral);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Botón CTA con efecto de Brillo (Shine) */
.nav-cta-desktop .btn {
    position: relative;
    overflow: hidden;
}

.nav-cta-desktop .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* Menú Toggle para móviles */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--color-primary-blue-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-btn-mobile {
    display: none;
}

/* RESPONSIVE NAV MÓVIL */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 50px;
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.08);
        transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1050;
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-cta-desktop {
        display: none;
    }

    .nav-btn-mobile {
        display: block;
        margin-top: 20px;
    }

    .nav-menu a {
        font-size: 1.3rem;
        padding: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-logo-img {
        height: 50px;
    }

    .nav-menu .btn {
        color: white !important;
    }
}

body.no-scroll {
    overflow: hidden;
}

/* Globales UX Interactivos */
/* Botón Flotante WhatsApp optimizado para tap */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa:hover {
    transform: scale(1.15) rotate(15deg);
}

/* Touch Targets Fluidos (Mínimo 48px por regla UX iOS/Android) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 38px;
    min-height: 52px;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-sm {
    padding: 10px 24px;
    min-height: 48px;
    font-size: 1rem;
}

.btn-large {
    padding: 18px 45px;
    min-height: 60px;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.btn-primary {
    background-color: var(--color-primary-coral);
    color: white;
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.35);
}

.btn-primary:active,
.btn-primary:hover {
    background-color: var(--color-primary-coral-dark);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(229, 57, 53, 0.55);
}

.btn-secondary {
    background-color: var(--color-primary-blue);
    color: white;
    box-shadow: 0 8px 25px rgba(30, 107, 184, 0.3);
}

.btn-secondary:active,
.btn-secondary:hover {
    background-color: var(--color-primary-blue-dark);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary-coral);
    color: var(--color-primary-coral);
}

.btn-outline:active,
.btn-outline:hover {
    background-color: var(--color-primary-coral);
    color: white;
    transform: translateY(-3px);
}

.emoji {
    font-size: 1.25em;
    vertical-align: middle;
}

/* 1. HERO */
.hero {
    position: relative;
    padding: calc(110px + var(--navbar-height)) 0 100px;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, #FFFFFF 100%);
    overflow: hidden;
    text-align: center;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(45px);
    opacity: 0.35;
    animation: float 8s ease-in-out infinite alternate;
}

.shape-1 {
    width: clamp(200px, 30vw, 350px);
    height: clamp(200px, 30vw, 350px);
    background-color: var(--color-primary-coral);
    top: -50px;
    left: -10vw;
}

.shape-2 {
    width: clamp(250px, 40vw, 450px);
    height: clamp(250px, 40vw, 450px);
    background-color: var(--color-primary-blue);
    bottom: -100px;
    right: -5vw;
    animation-delay: -3s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background-color: #ffd166;
    top: 20%;
    left: 75%;
    animation-delay: -1s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(40px) scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(30, 107, 184, 0.12);
    color: var(--color-primary-blue);
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    border: 1px solid rgba(30, 107, 184, 0.2);
}

.hero-title {
    font-family: var(--font-heading-main);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.1;
    color: var(--color-primary-coral-dark);
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.03);
}

.hero-subtitle {
    font-family: var(--font-heading-sec);
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    line-height: 1.25;
    color: var(--color-primary-blue);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.hero-text {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 780px;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

/* HEADERS SECCIONES */
.section-header {
    margin-bottom: clamp(40px, 6vw, 60px);
    max-width: 800px;
    margin-inline: auto;
    padding: 0 15px;
}

.section-title {
    font-family: var(--font-heading-main);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.15;
    color: var(--color-primary-coral-dark);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-subtitle {
    font-family: var(--font-heading-sec);
    color: var(--color-primary-blue);
    font-size: clamp(1.2rem, 3vw, 1.9rem);
    line-height: 1.3;
}

/* 2. VENTAJAS (GRID MEJORADO) */
.value-block {
    padding: clamp(60px, 10vw, 120px) 0;
    background-color: #ffffff;
    position: relative;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card {
    flex: 0 1 calc(33.333% - 20px);
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-bg-light);
    border-radius: var(--radius-card);
    padding: clamp(25px, 4vw, 45px) clamp(20px, 3vw, 30px);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.benefit-card:hover {
    transform: translateY(-12px);
    border-color: var(--color-primary-coral);
    box-shadow: 0 15px 35px rgba(229, 57, 53, 0.18);
}

.icon-circle {
    width: 75px;
    height: 75px;
    background-color: var(--color-bg-light);
    color: var(--color-primary-coral);
    font-size: clamp(28px, 4vw, 32px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

.benefit-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 12px;
    line-height: 1.3;
}

.benefit-card p {
    font-size: clamp(1rem, 1.5vw, 1.05rem);
    color: var(--color-text-muted);
}

.mini-category-card p {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: var(--color-text-muted);
}

/* =========================================
   NUEVO CATÁLOGO GRID AVANZADO 3x4 (Mini Sliders)
========================================= */
.catalog-advanced-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 25px;
    margin-top: 60px;
    padding-bottom: 30px;
}

.catalog-col {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Para contener los bordes de los sliders */
}

.col-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.col-title {
    font-family: var(--font-heading-sec);
    color: var(--color-primary-coral-dark);
    font-size: 1.35rem;
    letter-spacing: 0.5px;
}

.swipe-hint {
    font-size: 0.8rem;
    color: var(--color-primary-blue);
    background: rgba(74, 150, 203, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* Lógica del Mini-Slider Puro CSS */
.product-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 10px;
    /* Espacio para la scrollbar si aparece en PC */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    /* Ocultar scrollbar estándar en navegadores webkit pero mantener la funcionalidad */
}

.product-slider::-webkit-scrollbar {
    height: 6px;
}

.product-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.product-slider::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 10px;
}

.product-slider::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-coral);
}

.slide-img-wrapper {
    flex: 0 0 100%;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 220px;
}

.slide-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.slide-img-wrapper:hover img {
    transform: scale(1.05);
}

/* Breakpoints para la grilla avanzada */
@media (max-width: 1100px) {
    .catalog-advanced-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        /* Dejará que fluyan a 4 filas */
    }
}

@media (max-width: 768px) {
    .catalog-advanced-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slide-img-wrapper {
        height: 180px;
    }
}

@media (max-width: 500px) {
    .catalog-advanced-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .catalog-col {
        padding: 25px 15px;
    }

    .slide-img-wrapper {
        height: 280px;
    }
}


.highlight-card {
    background-color: var(--color-primary-coral);
    color: white;
    border-color: var(--color-primary-coral);
    transform: scale(1.03);
}

.highlight-card:hover {
    transform: translateY(-10px) scale(1.03);
}

.highlight-card .icon-circle {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.highlight-card h3,
.highlight-card p {
    color: white;
}

/* 3. PROCESO (COMO FUNCIONA) */
.process-block {
    background-color: var(--color-bg-light);
    /* Rosa Suave */
    padding: 50px 0 120px;
    position: relative;
}

.wave-top,
.wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-top {
    top: clamp(-50px, -8vw, -110px);
    transform: rotate(180deg);
}

.wave-bottom {
    bottom: 0;
}

.wave-top svg,
.wave-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: clamp(50px, 8vw, 110px);
}

/* El fill de la onda debe coincidir con el color de la sección en la que se encuentra para 'tallar' el fondo */
.wave-top svg path {
    fill: var(--color-bg-light);
    /* Rosa Suave para el Proceso */
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(30px, 4vw, 40px);
    margin-top: 40px;
}

.step-card {
    position: relative;
    background: #fff;
    border-radius: 30px;
    padding: clamp(40px, 5vw, 50px) clamp(20px, 4vw, 30px) 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--color-primary-blue);
    color: #fff;
    font-family: var(--font-heading-main);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(74, 150, 203, 0.4);
}

.step-card h3 {
    color: var(--color-primary-coral-dark);
    margin-bottom: 12px;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    line-height: 1.3;
}

/* 4. CATEGORÍAS */
.categories-block {
    padding: clamp(80px, 10vw, 120px) 0;
    background-color: var(--color-bg-blue-light);
    /* Azul Glaciar */
    position: relative;
}

/* GALERÍA (Sección separada de categorías) */
.gallery-block {
    padding: clamp(80px, 10vw, 120px) 0;
    background-color: var(--color-bg-white);
    /* Blanco para resaltar fotos */
    position: relative;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: clamp(30px, 5vw, 50px);
}

.category-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s;
    border: 2px solid #eee;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary-blue);
}

.category-image {
    width: 100%;
    height: clamp(250px, 35vw, 380px);
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-info {
    padding: clamp(30px, 4vw, 45px);
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-info h3 {
    font-family: var(--font-heading-main);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-primary-blue);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.category-info p {
    color: var(--color-text-muted);
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: clamp(25px, 4vw, 30px);
    flex-grow: 1;
}

/* GALERIA EXTRA */
.gallery-section {
    margin-top: clamp(40px, 8vw, 60px);
}

.gallery-title {
    font-family: var(--font-heading-sec);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-primary-coral-dark);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #fff;
    border: 4px solid #fff;
}

.gallery-item img {
    width: 100%;
    height: clamp(220px, 30vw, 280px);
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 5. TESTIMONIOS */
.testimonials-block {
    padding: clamp(80px, 10vw, 120px) 0;
    /* Fondo: Gris-Azul premium con patrón de puntos */
    background-color: #f8fafc;
    background-image: radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 60px 60px;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(20px, 4vw, 40px);
    align-items: stretch;
}

.testimonial-card {
    background: var(--color-bg-light);
    border-radius: 30px;
    padding: clamp(30px, 4vw, 40px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 6px solid var(--color-primary-coral);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

.highlight-testimonial {
    background-color: var(--color-primary-blue);
    color: white;
    border-bottom-color: var(--color-primary-coral);
}

.highlight-testimonial .testimonial-quote,
.highlight-testimonial .testimonial-author h4 {
    color: white !important;
}

.highlight-testimonial .testimonial-author span {
    color: rgba(255, 255, 255, 0.85) !important;
}

.stars {
    font-size: clamp(20px, 3vw, 24px);
    margin-bottom: 15px;
}

.testimonial-quote {
    font-style: italic;
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    color: var(--color-text-main);
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.5;
}

.testimonial-author h4 {
    font-family: var(--font-heading-sec);
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    color: var(--color-primary-coral-dark);
}

.testimonial-author span {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    color: var(--color-text-muted);
    display: block;
}

/* 6. CTA FINAL REFINADO (ALTO CONTRASTE) */
.final-cta-block {
    background: linear-gradient(135deg, var(--color-primary-red-dark) 0%, var(--color-primary-blue-dark) 100%);
    padding: clamp(80px, 12vw, 120px) 0 60px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Capas de textura para el fondo */
.final-cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.final-cta-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

.final-cta-content h2.section-title {
    color: #FFFFFF !important;
    /* Forzar blanco sobre el global */
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.final-cta-text {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.final-cta-block .btn-primary {
    background-color: #FFD166;
    /* Amarillo cálido para llamar la atención */
    color: #333;
    font-weight: 700;
    border: none;
    box-shadow: 0 15px 35px rgba(255, 209, 102, 0.4);
    transform: scale(1.1);
    animation: pulse-simple 2s infinite ease-in-out;
}

@keyframes pulse-simple {
    0% {
        transform: scale(1.1);
        box-shadow: 0 15px 35px rgba(255, 209, 102, 0.4);
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 20px 45px rgba(255, 209, 102, 0.6);
    }

    100% {
        transform: scale(1.1);
        box-shadow: 0 15px 35px rgba(255, 209, 102, 0.4);
    }
}

.final-cta-block .btn-primary:hover {
    background-color: #ffde85;
    transform: translateY(-5px);
}


/* =========================================
   MEDIA QUERIES COMPLEMENTARIAS
   Nota: Debido al uso de flex y clamp() casi todo es responsivo nativamente,
         estas queries controlan el orden del grid.
========================================= */
/* =========================================
   NUEVOS BLOQUES DE CONTENIDO
========================================= */

/* BLOQUE 3: CATEGORÍAS (REFINADO) */
.categories-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mini-category-card {
    background: white;
    padding: 45px 30px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 5;
}

.mini-category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(229, 57, 53, 0.1);
    border-color: rgba(229, 57, 53, 0.15);
}

.mini-category-icon {
    font-size: 2.5rem;
    background: var(--color-bg-light);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    /* Estilo 'Squircle' moderno */
    margin-bottom: 12px;
    transition: transform 0.5s ease;
}

.mini-category-card:hover .mini-category-icon {
    transform: rotate(-10deg) scale(1.1);
    background: rgba(229, 57, 53, 0.05);
}

.mini-category-card h3 {
    font-family: var(--font-heading-sec);
    color: var(--color-primary-blue);
    font-size: 1.5rem;
}

.mini-category-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* SECCIÓN ESTRATÉGICA REFINADA (Split Layout & Glassmorphism) */
.strategy-refined {
    padding: clamp(80px, 12vw, 150px) 0;
    background: linear-gradient(135deg, #fff 0%, var(--color-bg-light) 50%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.strategy-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.strategy-content {
    max-width: 550px;
}

.strategy-title {
    font-family: var(--font-heading-main);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.1;
    color: var(--color-primary-blue-dark);
    margin-bottom: 25px;
}

.strategy-title span {
    color: var(--color-primary-coral);
    display: block;
}

.strategy-desc {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 35px;
    line-height: 1.7;
}

/* Glassmorphism Card System */
.strategy-visual {
    position: relative;
}

.strategy-card-refined {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    padding: 50px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 5;
}

.strategy-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.strategy-feature:hover {
    transform: translateX(10px);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(229, 57, 53, 0.12);
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-heading-sec);
    font-size: 1.4rem;
    color: var(--color-primary-blue);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* Decoración de fondo para la sección */
.strategy-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(229, 57, 53, 0.1) 0%, rgba(229, 57, 53, 0) 70%);
    top: -100px;
    right: -100px;
    z-index: 1;
    border-radius: 50%;
}

@media (max-width: 992px) {
    .strategy-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .strategy-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .strategy-feature {
        text-align: left;
    }
}

/* BLOQUE 5: URGENCIA */
.urgency-banner {
    background-color: #FFF38A;
    /* Amarillo vibrante pero amable */
    color: #4A3C00;
    padding: 30px 0;
    text-align: center;
    font-family: var(--font-heading-main);
    font-size: clamp(1.4rem, 3vw, 2rem);
    position: relative;
    overflow: hidden;
    border-top: 4px solid #FAD02C;
    border-bottom: 4px solid #FAD02C;
    z-index: 10;
}

.urgency-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.urgency-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 5px;
}

.urgency-text {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.urgency-btn {
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes pulse-subtle {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.015);
    }

    100% {
        transform: scale(1);
    }
}

.urgency-banner:hover .urgency-content {
    animation: pulse-subtle 1.5s infinite ease-in-out;
}

/* SECCIÓN: SEGMENTOS DE NEGOCIO REFINADA (Color Blending & Depth) */
.business-segments {
    padding: clamp(80px, 12vw, 120px) 0;
    /* Gradiente radial esmeralda profundo */
    background: radial-gradient(circle at center, #389461 0%, var(--color-accent-green) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.business-segments .section-title,
.business-segments .section-subtitle,
.business-segments .business-closing {
    color: #FFFFFF !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

/* Resplandores decorativos (Blobs) */
.bg-glow {
    position: absolute;
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    filter: blur(80px);
    opacity: 0.25;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: drift-glow 20s infinite alternate ease-in-out;
}

.glow-blue {
    background: var(--color-primary-blue);
    bottom: -150px;
    right: -100px;
}

.glow-coral {
    background: var(--color-primary-red);
    top: -150px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes drift-glow {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.2) translate(50px, 50px);
    }
}

.business-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin: 50px auto;
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

.business-card-premium {
    background: white;
    padding: 40px 30px;
    border-radius: 35px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 5;
}

.business-card-premium:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(229, 57, 53, 0.1);
    border-color: rgba(229, 57, 53, 0.15);
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--color-bg-light);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
    transition: transform 0.5s ease;
}

.business-card-premium:hover .card-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
    background: rgba(229, 57, 53, 0.05);
}

.business-card-premium h3 {
    font-family: var(--font-heading-sec);
    font-size: 1.4rem;
    color: var(--color-primary-blue-dark);
}

.business-card-premium p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.business-closing {
    font-family: var(--font-heading-sec);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--color-primary-blue);
    max-width: 800px;
    margin: 40px auto 0;
}

/* SECCIÓN: PROVEEDOR CONFIABLE (TRUST BANNER) */
.reliability-block {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary-blue) 0%, var(--color-primary-blue-dark) 100%);

    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reliability-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
}

.reliability-content-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

.reliability-text-content {
    flex: 1;
}

.reliability-image-container {
    flex: 1;
    min-height: 350px;
    width: 100%;
}

.reliability-video {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: block;
}

.reliability-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: white;
    font-family: var(--font-heading-sec);
    text-align: center;
    padding: 30px;
}

.placeholder-icon {
    font-size: 60px;
    opacity: 0.8;
}

.reliability-placeholder span {
    font-size: 1.4rem;
    opacity: 0.9;
}

.reliability-block .section-title {
    color: white;
    margin-bottom: 25px;
}

@media (max-width: 900px) {
    .reliability-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

.reliability-text {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 500;
}

/* SECCIÓN: VIDEO SHOWCASE */
.video-showcase {
    padding: 100px 0;
    background-color: #fafafa;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
}

.video-thumbnail img,
.video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* OCULTAR CONTROL DE AUDIO (MUTE/VOLUME) */
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button {
    display: none !important;
}


.video-info {
    padding: 20px;
}

.video-info h4 {
    font-family: var(--font-heading-sec);
    font-size: 1.25rem;
    color: var(--color-primary-blue);
    margin-bottom: 5px;
}

.video-info p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* VIDEO PLACEHOLDERS (CSS-only, sin imagen) */
.video-placeholder {
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 200px;
}

.video-placeholder-1 {
    background: linear-gradient(135deg, #1E6BB8 0%, #E53935 100%);
}

.video-placeholder-2 {
    background: linear-gradient(135deg, #2E7D52 0%, #1E6BB8 100%);
}

.video-placeholder-3 {
    background: linear-gradient(135deg, #C62828 0%, #2E7D52 100%);
}

.video-label {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading-sec);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    text-align: center;
    padding: 0 20px;
    line-height: 1.4;
}

/* FINAL CTA TEXT */
.final-cta-text {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 35px;
    max-width: 650px;
    margin-inline: auto;
    line-height: 1.6;
}

/* GALERÍA DINÁMICA MEJORADA */
.dynamic-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item-premium {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    background: #000;
}

.gallery-item-premium img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.4s ease;
}

.gallery-item-premium:hover img {
    transform: scale(1.1);
    opacity: 0.75;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transition: bottom 0.4s ease;
}

.gallery-item-premium:hover .gallery-overlay {
    bottom: 0;
}

.badge-new {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-primary-coral);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mini-category-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }

    .strategy-card {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .benefit-card {
        flex: 0 1 100%;
        margin: 0 auto;
    }

    .highlight-card {
        transform: scale(1);
    }

    .highlight-card:hover {
        transform: translateY(-8px) scale(1);
    }

    .hero-ctas {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-ctas .btn {
        width: 100%;
        margin: 0;
    }

    .navbar .btn-sm {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    /* Compacta en cel pero sin perder height */
}

@media (max-width: 480px) {
    .process-steps {
        gap: 45px;
        margin-top: 30px;
    }

    .step-card {
        padding: 40px 20px 25px;
    }
}

/* =========================================
   MEDIA QUERIES CONSOLIDADOS - UX/UI COMPLETO
========================================= */

/* ---- TABLET ≤ 1000px ---- */
@media (max-width: 1000px) {

    /* Ventajas: 2 columnas en tablet */
    .benefit-card {
        flex: 0 1 calc(50% - 15px);
    }

    /* WhatsApp flotante más pequeño */
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }

    /* Sección de confianza en stack */
    .reliability-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* ---- PHABLET / MÓVIL GRANDE ≤ 768px ---- */
@media (max-width: 768px) {

    /* Ventajas: 1 columna en móvil */
    .benefit-card {
        flex: 0 1 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Highlight card sin scale en móvil */
    .highlight-card {
        transform: scale(1);
    }

    .highlight-card:hover {
        transform: translateY(-8px) scale(1);
    }

    /* Hero: CTAs apilados */
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        gap: 12px;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    /* Navbar: botón más compacto */
    .navbar .btn-sm {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    /* Categorías mini: 2 columnas */
    .categories-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mini-category-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }

    /* Strategy card */
    .strategy-card {
        padding: 35px 20px;
    }

    .strategy-highlight {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    /* Video grid: 1 columna */
    .video-grid {
        grid-template-columns: 1fr;
    }

    /* Galería dinámica: 1 columna en móvil */
    .dynamic-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item-premium img {
        height: 280px;
    }

    /* Urgencia: texto más pequeño en móvil */
    .urgency-banner {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        padding: 25px 20px;
    }

    /* Negocios: tags en 2 columnas */
    .business-grid {
        gap: 10px;
    }

    .business-tag {
        font-size: 0.95rem;
        padding: 10px 18px;
    }

    /* CTA final */
    .final-cta-block .btn-primary {
        width: 100%;
        max-width: 360px;
    }

    /* Footer en stack */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo-img {
        margin: 0 auto 15px;
    }

    /* Reducción de espaciados globales para mejor UX móvil */
    .categories-block, 
    .gallery-block, 
    .value-block, 
    .process-block, 
    .testimonials-block, 
    .strategy-refined, 
    .social-feed-section,
    .business-segments,
    .reliability-block {
        padding: 50px 0 !important;
    }

    .categories-mini-grid,
    .catalog-advanced-grid {
        margin-top: 30px;
    }

    .section-header {
        margin-bottom: 30px;
    }
}

/* ---- MÓVIL PEQUEÑO ≤ 480px ---- */
@media (max-width: 480px) {

    /* Proceso: espacio extra para números flotantes */
    .process-steps {
        gap: 50px;
        margin-top: 30px;
    }

    .step-card {
        padding: 40px 15px 25px;
    }

    /* Categorías mini: 1 columna en móvil pequeño */
    .categories-mini-grid {
        grid-template-columns: 1fr;
    }

    /* Hero title más compacto */
    .hero-title {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    /* Section titles */
    .section-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    /* Urgencia: 1 columna */
    .urgency-content {
        gap: 8px;
        padding: 0 15px;
    }

    /* Reliability: sin imagen en muy pequeño */
    .reliability-image {
        display: none;
    }
}

/* ---- MODAL DE VIDEO (POPUP) PREMIUM ---- */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 21, 37, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    /* Se activa con JS */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    background: #000;
    width: 100%;
    max-width: 900px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
}

.image-modal-img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    display: block;
    object-fit: contain;
    background-color: #f7f7f7;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary-blue-dark);
    border: none;
    width: clamp(50px, 8vw, 60px);
    height: clamp(50px, 8vw, 60px);
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2005;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.modal-nav-btn:hover {
    background: var(--color-primary-coral);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-image {
    left: 15px;
}

.next-image {
    right: 15px;
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--color-primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    z-index: 2001;
}

.close-modal:hover {
    background: var(--color-primary-coral);
    color: white;
    transform: rotate(90deg);
}

/* Evitar scroll cuando el modal está abierto */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .video-modal-content {
        border-radius: 8px;
    }

    .close-modal {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
        background: rgba(255, 255, 255, 0.8);
    }
}

/* =========================================
   SISTEMA DE DECORACIÓN: JUGUETES FLOTANTES
   ========================================= */
.floating-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Crucial: Los clics pasan a través */
    z-index: 0;
    /* Detrás del contenedor relativo principal */
    overflow: hidden;
}

/* Forzar que el contenido de las secciones flote sobre los iconos */
section,
header,
.urgency-banner {
    position: relative;
    overflow: hidden;
}

section .container,
header .container,
.urgency-content,
.hero-content {
    position: relative;
    z-index: 2;
    /* Siempre encima de los iconos floating-decor */
}

.toy-icon {
    position: absolute;
    font-size: clamp(2.8rem, 7vw, 4.2rem);
    opacity: 1;
    /* Sólido como pidió el usuario */
    filter: none;
    /* Eliminamos sombras y filtros para colores puros */
    /* Usamos 'translate' (propiedad independiente) para el paralaje */
    /* Esto evita que la animación 'drift' (que usa 'transform') lo sobrescriba */
    translate: var(--mx, 0) var(--my, 0);
    animation: drift 18s ease-in-out infinite alternate;
    transition: translate 0.2s ease-out, opacity 0.6s ease;
    cursor: default;
    z-index: 1;
}

.toy-icon:hover {
    opacity: 1;
    /* El hover usa transform, que se suma al translate del paralaje */
    transform: scale(1.8) rotate(360deg) translate(40px, -40px);
    filter: drop-shadow(0 15px 30px rgba(229, 57, 53, 0.4));
    z-index: 1;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    33% {
        transform: translate(20px, -30px) rotate(10deg) scale(1.1);
    }

    66% {
        transform: translate(-10px, 20px) rotate(-15deg) scale(0.9);
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

/* Variaciones de animación para que no se muevan todos igual */
.toy-icon.v2 {
    animation-duration: 20s;
    animation-delay: -5s;
}

.toy-icon.v3 {
    animation-duration: 12s;
    animation-delay: -2s;
}

.toy-icon.v4 {
    animation-duration: 25s;
    animation-delay: -10s;
}

/* Posiconamientos específicos de ejemplo */
.toy-pos-1 {
    top: 10%;
    left: 5%;
}

.toy-pos-2 {
    top: 70%;
    left: 10%;
}

.toy-pos-3 {
    top: 20%;
    right: 5%;
}

.toy-pos-4 {
    top: 80%;
    right: 10%;
}

.toy-pos-5 {
    top: 85%;
    left: 5%;
}

.toy-pos-6 {
    top: 50%;
    right: 15%;
}

/* Refuerzo de Hover en Cards */
.benefit-card,
.mini-category-card,
.video-card,
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-card:hover,
.mini-category-card:hover,
.video-card:hover,
.testimonial-card:hover {
    transform: translateY(-10px) scale(1.03) rotate(1deg);
}

.section-title span.emoji {
    display: inline-block;
    animation: bounce-small 2s infinite ease-in-out;
}

@keyframes bounce-small {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

/* =========================================
   FOOTER CORPORATIVO
   ========================================= */
.site-footer {
    background-color: var(--color-primary-blue-dark);
    color: white;
    padding: clamp(60px, 8vw, 100px) 0 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(40px, 5vw, 80px);
    margin-bottom: 60px;
}

.footer-column.branding {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.7;
    max-width: 320px;
}

.footer-title {
    font-family: var(--font-heading-main);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 25px;
    position: relative;
    letter-spacing: 1px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-primary-coral);
    border-radius: 2px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-primary-coral);
    margin-top: 3px;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.footer-link:hover {
    color: var(--color-primary-coral);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--color-primary-coral);
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
}

.footer-logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-logo-link:hover {
    transform: scale(1.05);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
    .footer-grid {
        text-align: center;
        grid-template-columns: 1fr;
    }

    .footer-column {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-list li {
        justify-content: center;
        text-align: center;
    }

    .footer-tagline {
        margin: 0 auto;
    }
}

/* =========================================
   SECCIÓN: REDES SOCIALES (FACEBOOK FEED)
========================================= */
.social-feed-section {
    padding: clamp(80px, 10vw, 120px) 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 100px;
    /* Evita que el título se oculte tras el menú */
}

.fb-feed-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    background: white;
    padding: 30px 15px;
    /* Más espacio vertical para jerarquía visual */
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 1000px;
    /* Expandimos el banner blanco para llenar el ancho visual del container */
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (max-width: 600px) {
    .social-feed-section {
        padding: 60px 0;
    }

    .fb-feed-wrapper {
        padding: 15px 0;
        /* Feed a bordo en móvil */
        border-radius: 0;
        box-shadow: none;
        border-left: none;
        border-right: none;
        width: 100%;
        max-width: 100%;
    }
}