:root {
    /* Paleta Principal: Modo Vagone */
    --clr-primary: #FF7B00;
    --clr-secondary: #FF6200;
    --clr-accent: #FFA533;
    --clr-red: #E63946;

    /* Tonos Neutros */
    --clr-white: #FFFFFF;
    /* Blanco real */
    --clr-light: #F8F9FA;
    /* Fondo claro */
    --clr-bg-dark: #121212;
    /* Negro premium */
    --clr-gray: #666666;
    /* Gris para textos secundarios */
    --clr-blue-dark: #121212;
    /* Texto principal oscuro */

    /* Tipografías Modernas */
    --font-heading: 'Nunito',
        sans-serif;
    --font-body: 'Poppins',
        sans-serif;

    /* Sombras y Transiciones */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 20px 30px rgba(255, 98, 0, 0.2);
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Estilos Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-white);
    /* Fondo global blanco */
    color: var(--clr-blue-dark);
    /* Texto oscuro por defecto */
    line-height: 1.6;
    overflow-x: hidden;
    /* Evitamos que la pantalla baile hacia los costados */
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Clases de Utilidad & Animaciones
   ========================================================================== */
/* Oculta elementos antes del scroll */
.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* IMPORTANTE: En móviles forzamos la visibilidad para que no queden huecos blancos gigantes */
@media (max-width: 768px) {
    .hidden {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
        visibility: visible !important;
    }
}

/* Muestra elementos al hacer scroll */
.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    50% {
        transform: translateY(-15px);
    }

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

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.desktop-menu-btn {
    background: none;
    border: none;
    color: var(--clr-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
    transition: color var(--transition-fast);
}

.desktop-menu-btn:hover {
    color: var(--clr-primary);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform var(--transition-fast);
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--clr-white);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--clr-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--clr-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-social-icons {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-social-icons a {
    color: var(--clr-white);
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.nav-social-icons a:hover {
    color: var(--clr-primary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .nav-social-icons {
        display: none;
        /* Ocultar en móviles para no saturar el navbar */
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--clr-white);
    cursor: pointer;
    padding: 0;
}

/* ==========================================================================
   Sidebar Menu
   ========================================================================== */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #111111;
    z-index: 2000;
    transition: left var(--transition-fast);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

.sidebar-menu.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid #333;
}

.sidebar-logo {
    height: 40px;
}

.close-sidebar-btn {
    background: none;
    border: none;
    color: var(--clr-gray);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-sidebar-btn:hover {
    color: var(--clr-primary);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
}

.sidebar-link {
    font-size: 1.2rem;
    color: var(--clr-white);
    /* Texto blanco para visibilidad */
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid transparent;
}

.sidebar-link:hover {
    color: var(--clr-primary);
    border-bottom-color: #333;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.sidebar-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.highlight-yellow {
    background: linear-gradient(to top, #FFC110 40%, transparent 40%);
    padding: 0 5px;
}

/* ==========================================================================
   2. Sección Productos (Grid & Flip Cards)
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--clr-blue-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--clr-gray);
}

.productos {
    padding: 6rem 5%;
    background-color: var(--clr-white);
}

.productos-grid {
    flex: 2;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px; /* Aseguramos que el contenedor no colapse */
}

/* Flip Card Core */
.flip-card {
    background-color: transparent;
    height: 440px;
    /* Incrementado levemente de 420px a 440px */
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform var(--transition-slow);
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Alinea los elementos (badge, imagen y titulo) proporcionalmente */
    align-items: center;
    padding: 2.2rem 1.2rem 1.5rem;
    /* Reducido levemente para asegurar que todo quepa en 440px */
}

/* Colores específicos de tarjetas (Alegría & Diferenciación) Premium oscuro */
.card-pastas,
.card-snacks,
.card-postres {
    background: #FF8A1E;
    /* Naranja fuerte solicitado */
    border: none;
}

.flip-card-front .category-badge {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    /* Cambiado de auto para que no empuje todo hacia abajo violentamente */
    box-shadow: var(--shadow-sm);
    color: #ffffff !important;
    border: none !important;
}

/* Quitamos los bordes y colores individualizados que no se veían bien sobre el naranja */
.card-pastas .category-badge,
.card-snacks .category-badge,
.card-postres .category-badge {
    color: #ffffff;
    border: none;
}

.product-img-container {
    flex: 1;
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.product-img {
    width: 115%;
    /* Ocupa más ancho que el propio contenedor */
    height: 115%;
    /* Ocupa más alto */
    object-fit: contain;
    transform: scale(1.1);
    /* Efecto de que flota un poquito más cerca */
    transition: transform var(--transition-slow);
}

.flip-card:hover .product-img {
    transform: scale(1.25);
    /* Zoom in épico al pasar el mouse por encima */
}

.product-img.img-cheesecake {
    transform: scale(1.35);
    /* Escalar manualmente este producto porque tiene mucho padding transparente en el png */
}

.flip-card:hover .product-img.img-cheesecake {
    transform: scale(1.5);
}

.flip-card-front h3 {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    padding: 0 5px;
    height: 3.6rem;
    /* Altura fija para 2 líneas (1.5rem * 1.2 * 2 aprox) */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Reverso de la tarjeta (Didáctico) */
.flip-card-back {
    background: var(--clr-blue-dark);
    color: var(--clr-white);
    transform: rotateY(180deg);
    padding: 2.5rem 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* Colores de fondo reverso */
.card-pastas-back {
    background: linear-gradient(135deg, var(--clr-red), #91151F);
}

.card-snacks-back {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    color: var(--clr-white);
    /* En modo oscuro, el texto es fondo oscuro y esto es claro */
}

.card-postres-back {
    background: linear-gradient(135deg, #8338EC, #3A0CA3);
}

.flip-card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.5rem;
    width: 100%;
}

.card-snacks-back h3 {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.didactic-info,
.didactic-tip {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.didactic-info strong,
.didactic-tip strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   3. Vagone Tips / Cómo Funciona (Modern Timeline)
   ========================================================================== */
/* ==========================================================================
   2.5 Nuestra Historia
   ========================================================================== */
.historia {
    padding: 6rem 5%;
    background-color: var(--clr-white);
    /* TODO BLANCO */
}

.historia .section-title {
    color: var(--clr-blue-dark);
    /* Texto Negro */
}

.historia .section-desc {
    color: #444;
}

.historia .section-badge {
    color: #666;
}

.historia-item h3 {
    color: #222;
}

.historia-item p {
    color: #555;
}

.historia-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.historia-item {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.historia-item.reverse {
    flex-direction: row-reverse;
}

.historia-img {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Sombra pequeña y suave como se pidió */
    border: none;
    /* Borde gris eliminado */
    aspect-ratio: 2/3;
    /* De 4/3 a 2/3 para que sea vertical como las fotos originales */
    max-height: 600px;
}

.historia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* Asegura que las caras se vean prioritariamente */
    transition: transform var(--transition-slow);
}

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

.historia-text {
    flex: 1;
}

.historia-date {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    /* Más padding para hacerlo más grande */
    background: #FF8A1E;
    /* Usando el nuevo naranja fuerte */
    color: #fff;
    border-radius: 50px;
    font-size: 1.1rem;
    /* Fuente más grande */
    font-weight: 800;
    /* Más peso para que resalte */
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.historia-text h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.historia-text p {
    color: var(--clr-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.historia-text .quote {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--clr-primary);
    border-left: 3px solid var(--clr-primary);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {

    .historia-item,
    .historia-item.reverse {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .historia-text .quote {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--clr-primary);
        padding-top: 1rem;
    }
}

/* ==========================================================================
   3. Dónde Encontrarnos (Clients & Map)
   ========================================================================== */
.find-us {
    padding: 6rem 5%;
    background-color: var(--clr-white);
}

.find-us-container {
    max-width: 1200px;
    margin: 0 auto;
    /* Cambiado de flex a block para centrar el buscador premium */
    display: block;
}

/* Removidos: .clients-categories, .client-card, .client-icon, .map-section */

.map-wrapper {
    background: #111111;
    border-radius: 30px;
    padding: 2rem;
    border: 1px solid #222;
    box-shadow: var(--shadow-lg);
}

.map-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
}

.map-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--clr-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--clr-primary);
    animation: pulse-dot 2s infinite;
}

.map-dot::after {
    content: attr(data-city);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

.map-dot:hover::after {
    opacity: 1;
}

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

    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }

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

.map-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-info p {
    font-size: 0.9rem;
    color: #ddd;
    margin: 0;
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
    color: #FFF;
}

/* ==========================================================================
   Global Section Header Styles (McDonald's Inspired)
   ========================================================================== */
.section-badge {
    display: inline-block;
    color: #666;
    /* Badge oscuro por defecto */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--clr-primary);
    padding-left: 1.2rem;
    line-height: 1;
}

/* For light backgrounds */
.section-badge.light {
    color: #333;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--clr-blue-dark);
    /* Texto oscuro por defecto */
}

.section-title.light {
    color: #222;
}

.highlight-yellow {
    background: linear-gradient(to top, #FFC107 45%, transparent 45%);
    padding: 0 8px;
    display: inline-block;
}

.section-desc {
    font-size: 1.2rem;
    color: #444;
    /* Gris oscuro para el párrafo */
    line-height: 1.6;
    max-width: 550px;
    margin-bottom: 2.5rem;
}

.section-desc.light {
    color: #555;
}

/* ==========================================================================
   2. Nuestros Productos
   ========================================================================== */
.productos {
    padding: 6rem 5% 5rem;
    /* Aumentado el padding inferior para separar de los divisores amarillos */
    background-color: var(--clr-white);
}

.productos-split-layout {
    display: flex;
    flex-wrap: wrap;
    /* Permitir envolver en pantallas medianas */
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.productos-text-side {
    flex: 1;
    min-width: 300px;
    /* Asegura un ancho mínimo razonable antes de envolver */
    position: sticky;
    top: 100px;
    height: fit-content;
}

.productos-categories-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-blue-dark);
}

/* Grilla de productos consolidada anteriormente */

/* ==========================================================================
   Yellow Section Divider (Vagone Style)
   ========================================================================== */
.vagone-divider {
    background-color: #FFC107;
    padding: 4rem 5%;
    /* Más aire arriba y abajo */
    margin-top: 0;
    /* Eliminado el margen para unirlo a la sección anterior */
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 10;
}

.divider-content {
    max-width: 900px;
    margin: 0 auto;
}

.divider-content h3 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider-content p {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 1100px) {
    .productos-split-layout {
        flex-direction: column;
    }

    .productos-text-side {
        position: static;
        margin-bottom: 3rem;
    }
}

/* ==========================================================================
   4. Vendé Vagone (B2B)
   ========================================================================== */
.b2b {
    padding: 6rem 5%;
    background-color: var(--clr-white);
}

.b2b-container {
    max-width: 1000px;
    margin: 0 auto;
}

.b2b-cards-wrapper {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.b2b-card {
    background: #fff;
    flex: 1;
    min-width: 320px;
    padding: 2.5rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.b2b-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.b2b-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
}

.gondola-card::before,
.cocina-card::before {
    display: none;
}

.b2b-card-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

@media (max-width: 480px) {
    .b2b-card-img {
        max-height: 400px;
    }
}

.b2b-card h3 {
    font-size: 1.8rem;
    color: #000;
    /* Texto negro para contraste sobre naranja */
    margin-bottom: 0.5rem;
}

.b2b-target {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.b2b-card p {
    color: #333;
    /* Texto oscuro para legibilidad */
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.b2b-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.05rem;
}

.btn-outline,
.btn-solid {
    background: #FF8A1E;
    color: #FFF;
    border: 2px solid #FF8A1E;
    width: 100%;
    transition: var(--transition-fast);
    text-decoration: none;
    padding: 1.2rem;
}

.btn-outline:hover,
.btn-solid:hover {
    background: #e67a1a;
    border-color: #e67a1a;
    color: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* ==========================================================================
   3.5 En Familia (McDonald's Inspired)
   ========================================================================== */
.en-familia {
    padding: 0;
    background-color: #fff;
    overflow: hidden;
    margin-top: 70px;
    /* Espacio para el navbar fijo */
}

.compromiso-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.orange-line {
    width: 4px;
    height: 1.5rem;
    background-color: #FF8A1E;
    border-radius: 2px;
}

.label-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    color: #222;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 900;
}

.hero-desc {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.7;
    max-width: 550px;
    margin-bottom: 3rem;
}

.familia-split {
    display: flex;
    align-items: stretch;
    min-height: 500px;
}

.familia-text-side {
    flex: 1;
    padding: 5rem 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-familia {
    display: none;
}

/* Deprecated in favor of .section-badge */



.familia-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.f-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: #333;
}

.familia-img-side {
    flex: 1.2;
    position: relative;
    overflow: hidden;
}

.familia-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.familia-banner-yellow {
    background-color: #FFC107;
    padding: 4rem 5%;
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h3 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 1rem;
}

.banner-content p {
    color: #333;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .familia-split {
        flex-direction: column;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-desc {
        font-size: 1.1rem;
    }

    .familia-text-side {
        padding: 4rem 8%;
    }
}

/* ==========================================================================
   4.5 Ayuda & FAQ
   ========================================================================== */
.ayuda {
    padding: 6rem 5%;
    background-color: var(--clr-white);
}

.ayuda-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-accordion {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .faq-accordion {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .faq-accordion {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-fast);
    background: #fff;
    height: fit-content;
}

.faq-item:hover {
    border-color: var(--clr-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 1.2rem;
    background: #fff;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    line-height: 1.3;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #fafafa;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
    /* Aumentado para permitir botones y textos largos */
}

.faq-answer a {
    color: #FF8A1E;
    font-weight: 700;
    text-decoration: underline;
}

.faq-btn {
    display: inline-block;
    background-color: #FF8A1E;
    color: #fff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none !important;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #FF8A1E;
}

.faq-btn:hover {
    background-color: transparent;
    color: #FF8A1E !important;
}

.ayuda-footer {
    text-align: center;
    margin: 4rem auto 0 auto;
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

@media (max-width: 480px) {
    .ayuda-footer {
        max-width: 100%;
        margin-top: 2rem;
    }
}

.ayuda-footer p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.ayuda-contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.ayuda-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ayuda-contact-btn:hover {
    color: #FF8A1E;
}

/* Puntos de Venta - Pantalla Estática */
.city-search-premium {
    background: #fff;
    padding: 3rem;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
}

.city-static-section {
    margin-bottom: 4rem;
}

.city-static-section:last-child {
    margin-bottom: 0;
}

.city-header-premium {
    font-size: 2.2rem;
    color: #111;
    margin-bottom: 2rem;
    font-weight: 800;
    text-align: left;
    border-left: 6px solid #FF8A1E;
    padding-left: 1.5rem;
}

.stores-static-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.result-group-static h4 {
    font-size: 1.1rem;
    color: #FF8A1E;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.result-group-static h4::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

.group-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.store-card-static {
    background: #fafafa;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.store-card-static:hover {
    background: #fff;
    border-color: #FF8A1E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 138, 30, 0.1);
}

.store-card-static h5 {
    font-size: 0.95rem;
    color: #111;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.store-address-link {
    color: #666;
    text-decoration: none;
    font-size: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.store-address-link:hover {
    color: #FF8A1E;
}

@media (max-width: 768px) {
    .city-search-premium {
        padding: 2rem 1rem;
    }

    .city-header-premium {
        font-size: 1.8rem;
    }

    .group-items-grid {
        grid-template-columns: 1fr;
    }
}

.city-selector-wrapper select {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 2px solid #ddd;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    background: white;
}

.city-results {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.store-card {
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--clr-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.store-card h4 {
    margin-bottom: 0.2rem;
}

.store-card p {
    font-size: 0.9rem;
    color: #666;
}

.store-type {
    display: inline-block;
    font-size: 0.75rem;
    background: #eee;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 5px;
}

@media (max-width: 850px) {
    .ayuda-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   5. Footer
   ========================================================================== */
.footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: 5rem 5% 2rem 5%;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-primary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    align-items: start;
}

.logo-img-footer {
    height: 60px;
    /* Altura del logo en el footer */
    width: auto;
    margin-bottom: 1rem;
    display: block;
    filter: brightness(0) invert(1);
    /* Convierte el logo a blanco para que resalte en el fondo oscuro */
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #FFFFFF;
    font-weight: 700;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--clr-white);
    padding-left: 8px;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    /* Color blanco puro para los vectores */
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: var(--transition-fast);
    font-size: 0;
    position: relative;
}

/* Custom SVG Icons */
.social-icon svg {
    transition: transform var(--transition-fast);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.social-icon:hover {
    background: var(--clr-primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 98, 0, 0.4);
}

.contacto-email {
    font-weight: 700;
    color: var(--clr-white);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* ==========================================================================
   Media Queries (Refinamiento Móvil Premium)
   ========================================================================== */

/* --- Tablets (hasta 992px) --- */
@media (max-width: 992px) {
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        line-height: 1.1;
    }

    .hero-desc {
        font-size: 1.1rem;
        margin: 0 auto 2.5rem auto;
    }

    .familia-split {
        flex-direction: column;
        text-align: center;
    }

    .familia-text-side {
        padding: 3rem 5%;
    }

    .compromiso-label {
        justify-content: center;
    }

    /* La imagen de familia necesita altura fija para no colapsar */
    .familia-img-side {
        height: 320px;
        width: 100%;
        display: block;
    }

    .familia-img-side img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Sección productos en columna */
    .productos-split-layout {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .productos-text-side {
        max-width: 100%;
        text-align: center;
    }

    .productos-categories-list {
        justify-content: center;
    }

    /* Historia en columna */
    .historia-item, .historia-item.reverse {
        flex-direction: column;
    }

    /* B2B en columna */
    .b2b-grid {
        flex-direction: column;
    }

    /* Footer en 2 columnas */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Móviles (hasta 768px) --- */
@media (max-width: 768px) {
    .navbar {
        padding: 0.7rem 5%;
    }

    .logo-img {
        height: 35px;
    }

    /* Ocultamos menú desktop y mostramos el hamburguesa */
    .desktop-menu-btn, .nav-links, .nav-social-icons {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    /* Tarjetas de productos más altas en móvil */
    .flip-card {
        height: 420px;
        width: 100%;
    }

    /* Grilla de productos en 1 columna */
    .productos-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        min-height: unset;
        width: 100%;
    }

    /* Vagone divider más compacto */
    .vagone-divider {
        padding: 2.5rem 5%;
    }

    .divider-content h3 {
        font-size: 1.6rem;
    }

    /* Secciones con menos padding */
    .productos {
        padding: 3rem 5%;
    }

    .historia {
        padding: 3rem 5%;
    }

    /* Imagen historia en móvil */
    .historia-img {
        height: 220px;
    }

    /* Whatsapp btn posición móvil */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
}

/* --- Móviles pequeños (hasta 480px) --- */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    .hero-desc {
        font-size: 1rem;
    }

    /* Footer en 1 columna centrada */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul {
        padding: 0;
    }

    .social-icons {
        justify-content: center;
    }

    /* Grilla de productos en 1 columna */
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
        width: 100%;
    }

    .flip-card {
        height: 400px;
    }

    /* Historia compacta */
    .historia-img {
        height: 180px;
    }

    /* Sección find us */
    .find-us {
        padding: 3rem 4%;
    }

    /* Container premium */
    .container-premium {
        padding: 0 1rem;
    }
}