/* ##########################################
   1. BASES Y RESET
   ########################################## */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {         
    background-image: url(combos/fr.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Para que el fondo no se mueva */
    font-family: 'Roboto', sans-serif;
    color: white;
}

body {
  /* Asegúrate de que el link termine en .png */
  cursor: url('combos/pierna.png') 16 16, auto !important;
}

/* Es vital aplicarlo también a los links y botones */
a, button, [role="button"] {
  cursor: url('combos/pierna.png') 16 16, pointer !important;
}
/* ##########################################
   2. NAVBAR (CONTENEDORES)
   ########################################## */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    background: transparent;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

/* ##########################################
   3. LINKS DE NAVEGACIÓN
   ########################################## */
.nav-links a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    margin-left: 10px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
}

.nav-links a:hover {
    color: #ffcc00;
}

/* ##########################################
   4. ESTADOS ACTIVOS (SCROLL)
   ########################################## */
.nav-active {
    background: #fdfdfdf6 !important; /* Un poco más sólido para que el logo resalte */
    color: black !important;
    height: 70px !important; /* Se achica un poco el header */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.685);
}

.nav-active .nav-links a {
    color: black !important; /* Color cuando el header se vuelve blanco al bajar */
}

/* ##########################################
   5. LOGO (ESTADO INICIAL Y FIJO)
   ########################################## */
#main-logo {
    position: fixed; /* Fixed para que la transición sea suave al scrolear */
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    width: 500px; 
    z-index: 1100;
    transition: all 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}

.logo-fixed {
    left: 8% !important; /* Ajusta qué tan a la izquierda lo quieres */
    top: -5px !important; /* Lo subimos un poquito para que el cuelgue sea más notorio */
    transform: translate(0, 0) rotate(-5deg) !important; 
    width: 200px !important; /* Un poco más grande para que el giro se luzca */
    filter: drop-shadow(5px 10px 15px rgba(0,0,0,0.6)) !important;
    z-index: 2000; /* Asegura que esté por encima de todo */
}

/* ##########################################
   6. HERO SECTION
   ########################################## */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 15vh;
    text-align: center;
}

.hero-title {
    font-family: 'Bangers', cursive;
    font-size: 5rem;
    text-shadow: 6px 6px 0px #000;
}

/* ##########################################
   7. ELEMENTOS FLOTANTES (POLLOS)
   ########################################## */
.chicken {
    position: absolute;
    width: 400px;
    z-index: -1;
    animation: float 6s infinite ease-in-out;
}

.c1 { 
    top: 7%; 
    left: 5%; 
    transform: rotate(15deg); 
}

.c2 { 
    top: 8%; 
    right: 5%; 
    transform: rotate(-19deg); 
    animation-delay: 1s; 
}

/* ##########################################
   8. ANIMACIONES
   ########################################## */
@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(5deg); 
    }
}

/* ##########################################
   9. SECCION HISTORY (TÍTULO Y CONTENEDOR)
   ########################################## */
#history h2 {
    font-family: 'Oswald', sans-serif; /* Usando tu fuente */
    font-weight: 400;
    font-size: 3rem;
    color: #f70707;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1); 
}

.history {
    justify-content: center;
    align-items: center;

}

.history-grid {
    padding-left: 10%;
    display: grid;
    grid-template-columns: 1.1fr 1fr; /* Dos columnas */
    gap: 50px;
    max-width: 1300px;
    align-items: center;
    margin-top: 20px;
    
}

/* ##########################################
   10. TEXTOS E INDICADORES (BADGE)
   ########################################## */
.history-text {
    text-align: left;
    font-family: 'Roboto', bold;
}

.history-text p {
    font-size: 1.3rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.history-text strong {
    color: #e61e25;
    font-family: 'Roboto', sans-serif;
}

.history-badge {
    display: inline-block;
    background: #ffcc00;
    color: black;
    padding: 10px 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transform: rotate(-2deg);
    box-shadow: 3px 3px 0px #000;
}

/* Ajuste del Grid para que respire mejor */
.history-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.5fr;
    gap: 60px;
    max-width: 1300px;
    margin: 40px auto;
    align-items: center;
    padding: 0 20px;
}

/* Contenedor de las fotos en modo collage */
.history-photos-container {
    position: relative;
    height: 450px; /* Ajusta según necesites */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Marco estilo Polaroid mejorado */
.img-frame {
    position: absolute;
    padding: 12px 12px 35px 12px; /* Espacio abajo para el texto */
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid #ddd;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 250px;
}

.img-frame img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    filter: sepia(30%);
}

/* Texto pequeño debajo de la foto estilo Polaroid */
.img-frame span {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    color: #555;
    display: block;
    margin-top: 10px;
    text-align: center;
}

/* Posicionamiento del Collage */
.photo-1 { 
    transform: rotate(-8deg); 
    z-index: 2; 
    left: 0;
    animation: entranceLeft 1s ease-out;
}

.photo-2 { 
    transform: rotate(5deg); 
    z-index: 3; 
    top: 50px;
    animation: entranceBottom 1.2s ease-out;
}

.photo-3 { 
    transform: rotate(-3deg); 
    z-index: 1; 
    right: 0;
    top: 150px;
    animation: entranceRight 1.4s ease-out;
}

/* Hover: La foto se endereza y resalta */
.img-frame:hover {
    transform: rotate(0deg) scale(1.15) translateY(-20px);
    z-index: 10;
    box-shadow: 0 40px 60px rgba(0,0,0,0.4);
    filter: none;
}

.img-frame:hover img {
    filter: sepia(0%);
}

/* Animaciones de entrada */
@keyframes entranceLeft {
    from { opacity: 0; transform: translateX(-100px) rotate(-20deg); }
    to { opacity: 1; transform: translateX(0) rotate(-8deg); }
}

@keyframes entranceBottom {
    from { opacity: 0; transform: translateY(100px); }
    to { opacity: 1; transform: translateY(50px) rotate(5deg); }
}

@keyframes entranceRight {
    from { opacity: 0; transform: translateX(100px) rotate(20deg); }
    to { opacity: 1; transform: translateX(0) rotate(-3deg); }
}

/* Animación para el texto y el badge */
.history-text {
    animation: fadeIn 1.5s ease-in;
}

.history-badge:hover {
    animation: shake 0.5s infinite;
    cursor: pointer;
}

@keyframes shake {
    0% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
    100% { transform: rotate(-2deg); }
}

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

/* ##########################################
   12. ANIMACIONES Y RESPONSIVE
   ########################################## */
@keyframes shake {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

@keyframes entranceLeft {
    from { opacity: 0; transform: translateX(-100px) rotate(-20deg); }
    to { opacity: 1; transform: translateX(0) rotate(-10deg); }
}

@keyframes entranceBottom {
    from { opacity: 0; transform: translateY(100px); }
    to { opacity: 1; transform: translateY(-50%) rotate(5deg); }
}

@keyframes entranceRight {
    from { opacity: 0; transform: translateX(100px) rotate(20deg); }
    to { opacity: 1; transform: translateX(0) rotate(-5deg); }
}

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

/* RESPONSIVO PARA MÓVILES */
@media (max-width: 992px) {
    .history-grid { grid-template-columns: 1fr; text-align: center; }
    .history-text { text-align: center; margin-bottom: 40px; }
    #history h2 { font-size: 2.5rem; }
    .history-photos-container { height: 400px; }
    .img-frame { width: 200px; }
}

@media (max-width: 600px) {
    .history-photos-container {
        flex-direction: column;
        height: auto;
        gap: 30px;
    }
    .img-frame {
        position: relative; /* Ya no flotan una encima de otra */
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: rotate(0deg) !important;
        margin: 0 auto;
        width: 80%;
    }
    .img-frame img { height: 200px; }
}

/* ##########################################
13. FOOTER (ESTRUCTURA GENERAL)
########################################## */
.main-footer {
background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
padding: 50px 0 10px;
font-family: 'Roboto', sans-serif;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1.1fr; /* 4 Columnas */
    gap: 40px;
    padding: 0 50px;
}

.footer-box h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: #ffcc00;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* ##########################################
   14. COLUMNAS DEL FOOTER (ABOUT & LINKS)
   ########################################## */
.footer-logo {
    width: 160px;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.5));
}


.links ul {
    list-style: none;
}

.links ul li {
    margin-bottom: 10px;
}

.links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.links ul li a:hover {
    color: white;
    padding-left: 5px;
}

/* ##########################################
   15. CONTACTO Y COPYRIGHT
   ########################################## */
.contact p {
    margin-bottom: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 1rem;
    color: #666;
}

/* ##########################################
   16. REDES SOCIALES (ICONOS Y TOOLTIPS)
   ########################################## */
.social-icons-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icons-wrapper .icon {
    position: relative;
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Tooltip (Nombre arriba) — desactivado */
.social-icons-wrapper .icon::before { display: none; }

/* Triangulito del Tooltip — desactivado */
.social-icons-wrapper .icon::after  { display: none; }

/* ##########################################
   17. HOVER EFFECTS (REDES SOCIALES)
   ########################################## */
.social-icons-wrapper .icon:hover::before,
.social-icons-wrapper .icon:hover::after {
    opacity: 0;
}

.social-icons-wrapper .icon:hover {
    transform: translateY(-5px);
}

/* Colores de Marca al Hover */
.icon.whatsapp:hover { background: #25D366; }
.icon.instagram:hover { background: #E1306C; }
.icon.facebook:hover { background: #1877F2; }
.icon.tiktok:hover { background: #000000; color: #fff; border: none; }
.icon.linkedin:hover { background: #0077B5; }


/* ##########################################
   18. RESPONSIVE (EL TOQUE FINAL)
   ########################################## */

/* Tablets y Laptops chicas */
@media (max-width: 1024px) {
    .history-grid {
        padding-left: 5%;
        grid-template-columns: 1fr; /* Pasa a una sola columna */
        text-align: center;
    }
    .history-text { text-align: center; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

/* Celulares (iPhone, Android, etc.) */
@media (max-width: 768px) {
    /* Logo Reset para Celu */
    #main-logo {
        width: 250px !important;
        left: 50% !important;
        top: 40% !important;
        transform: translate(-50%, -50%) !important;
    }

    /* Logo cuando scrolleas en celu */
    .logo-fixed {
        width: 100px !important;
        left: 10px !important;
        top: 0 !important;
        transform: translate(0, 0) rotate(-8deg) !important;
    }

    /* Navbar en celu */
    #navbar { height: 60px !important; }
    .nav-container { justify-content: flex-end; padding: 0 15px; }
    .nav-links a { font-size: 0.4rem; margin-left: 10px; }

    /* Títulos y Hero */
    .hero-title { font-size: 3rem; }
    #history h2 { font-size: 2.2rem; letter-spacing: -1px; }
    .history-text p { font-size: 1.1rem; }

    /* Footer en celu */
    .footer-container { grid-template-columns: 1fr !important; text-align: center !important; padding: 0 20px !important; }
    .social-icons-wrapper { justify-content: center; }
    .contact p { justify-content: center; }
}

/* Pantallas súper pequeñas */
@media (max-width: 400px) {
    .nav-links a { font-size: 0.7rem; }
    .logo-fixed { width: 85px !important; }
}

/* ##########################################
   18. RESPONSIVE FINAL (CON CARRUSEL Y NAV FIJO)
   ########################################## */

   @media (max-width: 768px) {
    #navbar {
        position: fixed !important;
        top: 0 !important;
        height: 70px !important;
        background: transparent !important; /* Empieza invisible */
        /*background: white !important; /* Fondo blanco para que se lean las letras negras */
        display: flex !important;
        align-items: center !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
        z-index: 3000;
    }
    /* LOGO POSICIÓN INICIAL: Grande y al centro */
    #main-logo {
        width: 350px !important;
        left: 50% !important;
        top: 25% !important;
        transform: translate(-50%, -50%) rotate(0deg) !important;
        position: fixed !important;
        z-index: 3001 !important;
        transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }

    /* LOGO CUANDO HACES SCROLL: Viaja a la esquina del navbar */
    #main-logo.logo-fixed {
        width: 100px !important;
        left: 35% !important;
        top: 5px !important;
        transform: translate(0, 0) rotate(-8deg) !important;
    }

    /* Ocultar links de texto arriba en celu para no amontonar */
    .nav-links { display: none !important; }

    /* Ajuste de pollos para que no tapen el logo inicial */
    .chicken {
        width: 220px !important;
        top: 80% !important;
    }
    /* NAVBAR CUANDO BAJAS: Se vuelve blanco */
    #navbar.nav-active {
        background: white !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    /* LINKS EN NEGRO */
    .nav-container {
        justify-content: center !important;
        padding-right: 15px !important;
    }

    .nav-links a {
        color: black !important;
        font-size: 0.75rem !important;
        margin-left: 10px !important;
        font-weight: bold;
        display: none;
    }

    /* CARRUSEL DE POLLOS (ANIMACIÓN HERO) */
    .hero {
        height: 90vh;
        overflow: hidden;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Animamos los pollos para que se turnen apareciendo */
    .chicken {
        display: block !important;
        width: 280px !important;
        left: 50% !important;
        top: 65% !important;
        transform: translate(-50%, -50%);
        position: absolute;
        opacity: 0;
    }

    /* El pollo 1 aparece primero */
    .c1 {
        animation: carruselPollos 6s infinite;
    }

    /* El pollo 2 aparece después (delay de 3s) */
    .c2 {
        animation: carruselPollos 6s infinite 3s;
    }

    /* SECCIÓN HISTORIA AJUSTE */
    .history-grid {
        padding-left: 0 !important;
        grid-template-columns: 1fr !important;
        margin-top: 50px;
    }

    #history h2 {
        font-size: 1.8rem !important;
        letter-spacing: -1px !important;
        padding-top: 20px;
    }
}

/* ##########################################
   19. ANIMACIÓN DEL CARRUSEL DE IMÁGENES
   ########################################## */
@keyframes carruselPollos {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.8);
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    45% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
    55% {
        opacity: 0;
        transform: translate(-50%, -60%) scale(1.1);
    }
    100% {
        opacity: 0;
    }
}

/* Ajuste para pantallas muy pequeñas */
@media (max-width: 380px) {
    .nav-links a {
        font-size: 0.65rem !important;
        margin-left: 6px !important;
    }
    #main-logo {
        width: 250px !important;
    }
}

/* ##########################################
   20. LOADER (PROTECCIÓN ANTI-DISTORSIÓN)
   ########################################## */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Asegura el ancho exacto del visor */
    height: 100vh;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    
    /* ESTO ES LO QUE ARREGLA EL BORDE DERECHO */
    overflow: hidden !important; 
    touch-action: none; /* Evita que el usuario lo mueva con el dedo */
}

.loader-bg {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    opacity: 0.2;
    pointer-events: none;
}

.loader-chicken {
    position: relative;
    /* En celulares NO puede medir 450px. Usamos 'vw' y un 'max-width' */
    width: 60vw !important; 
    max-width: 700px !important; 
    height: auto;
    z-index: 2;
    animation: spinChicken 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

#loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ##########################################
   EXTRA: SEGURO CONTRA DESPLAZAMIENTO LATERAL
   ########################################## */

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important; /* MATA EL BORDE DERECHO EN TODA LA WEB */
    position: relative;
}

@keyframes spinChicken {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- ESTILO DE TEXTOS Y TÍTULOS --- */
.map-section {
    padding: 60px 20px;
    background-image: url('combos/fw.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    font-family: 'Oswald', sans-serif; /* Usando tu fuente */
    box-shadow: inset 0 0 0 2000px rgba(255, 255, 255, 0.466);
}

.globe-icon {
    font-size: 30px;
    color: #d32f2f;
    margin-bottom: 10px;
}

.map-section h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.map-section h2 span {
    color: #f70707; /* El rojo de la palabra ENCONTRAR */
}

.map-section p {
    font-size: 18px;
    color: #666;
    margin-top: 10px;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
}

/* --- CONTENEDOR Y MAPA --- */
.map-container {
    position: relative;
    max-width: 800px; /* Un poco más grande el mapa */
    margin: 50px auto;
}

.svg-map {
    width: 500px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.08));
}


.map-path {
    transition: fill 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

/* Hover específico para Bolivia */
#BO:hover {
    fill: url(#pattern-bo) !important;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

/* Hover específico para Paraguay */
#PY:hover {
    fill: url(#pattern-py) !important;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
} 

.svg-map:hover .map-path:not(:hover) {
    opacity: 0.7;
    fill: #444; /* Color gris oscuro para los que no tienen el mouse encima */
}

/* --- TEXTO DENTRO DEL MAPA --- */
.map-label {
    fill: white;
    font-family: 'Oswald', sans-serif;
    font-size: 6px; /* Tamaño pequeño porque el viewBox es pequeño */
    font-weight: bold;
    text-anchor: middle;
    pointer-events: none; /* Para que no interfiera con el clic al path */
    opacity: 1;
    transition: opacity 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0);
}
/* --- CAMBIO A NEGRO AL HACER HOVER --- */
a:hover .map-label {
    fill: #000000; /* Se pone negro cuando pasas el mouse por el país */
    text-shadow: none; /* Quitamos la sombra para que se vea limpio sobre la bandera */
}

/* --- TEXTO DENTRO DEL MAPA --- */
.map-labelb {
    fill: white;
    font-family: 'Oswald', sans-serif;
    font-size: 8px; /* Tamaño pequeño porque el viewBox es pequeño */
    font-weight: bold;
    text-anchor: middle;
    pointer-events: none; /* Para que no interfiera con el clic al path */
    opacity: 1;
    transition: opacity 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0);
}
/* --- CAMBIO A NEGRO AL HACER HOVER --- */
a:hover .map-labelb {
    fill: #000000; /* Se pone negro cuando pasas el mouse por el país */
    text-shadow: none; /* Quitamos la sombra para que se vea limpio sobre la bandera */
}
/* POSICIONES (Ajustalas según tu SVG) */
.bo-card { top: 20%; left: 35%; }
.py-card { top: 55%; left: 70%; }

@media (max-width: 768px) {
    .svg-map{
        width: 350px;
    }
}
/* OCULTAR EN PC */
.bottom-nav { display: none; }

@media (max-width: 768px) {
    .map-section h2 { font-size: 30px !important; }
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 20px; /* Separado del borde para efecto flotante */
        left: 5%;
        right: 5%;
        width: 90%;
        height: 70px;
        background: rgba(38, 36, 36, 0.95); /* Gris oscuro con transparencia */
        backdrop-filter: blur(10px); /* Desenfoque de fondo PRO */
        border-radius: 20px;
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        box-shadow: 0 15px 35px rgba(0,0,0,0.4);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #b0b0b0;
        text-decoration: none;
        font-family: 'Oswald', sans-serif;
        font-size: 10px;
        transition: 0.3s ease;
        flex: 1;
    }

    .nav-link span { margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

    /* Efecto cuando está activo */
    .nav-link:active, .nav-link:focus {
        color: #ffcc00;
    }

    /* EL BOTÓN CENTRAL "FLOTANTE" */
    .nav-center {
        position: relative;
        top: -15px; /* Lo sube por encima de la barra */
    }

    .nav-main-btn {
        width: 65px;
        height: 65px;
        background: #ce1212; /* Rojo principal */
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 8px 20px rgba(211, 47, 47, 0.5);
        border: 4px solid #fff; /* Aro blanco para resaltar */
        transition: transform 0.2s;
    }

    .nav-main-btn:active {
        transform: scale(0.9);
    }

    /* Espacio para que el contenido no quede debajo */
    body { padding-bottom: 1px;}

    .nav-link {
        position: relative;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 1;
    }

    /* ESTADO ACTIVO: Se convierte en el botón circular rojo */
    .nav-link.active {
        color: #fff !important;
        transform: translateY(-20px); /* Sube el botón */
    }

    /* Creamos el círculo rojo con un pseudo-elemento para no romper el SVG */
    .nav-link.active::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px;
        height: 60px;
        background: #ce1212;
        border-radius: 50%;
        z-index: -1;
        box-shadow: 0 8px 20px rgba(211, 47, 47, 0.5);
        border: 4px solid #fff;
    }

    /* Ajuste para el texto cuando está activo */
    .nav-link.active span {
        display: none;
        color: #ce1212; /* Texto rojo abajo del círculo o blanco dentro */
        font-weight: bold;
        margin-top: 35px; /* Baja el texto para que no pise el círculo */
    }
    /* Estilos para el menú que sube */
    .options-menu {
        position: absolute;
        bottom: 85px; /* Aparece arriba de la barra (70px de alto + 15px de margen) */
        right: 5%;
        background: rgba(38, 36, 36, 0.98);
        backdrop-filter: blur(15px);
        border-radius: 15px;
        padding: 10px 0;
        list-style: none;
        width: 180px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        
        /* Estado inicial: oculto y abajo */
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000;
    }

    .options-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .options-menu li a {
        display: block;
        padding: 12px 20px;
        color: white;
        text-decoration: none;
        font-family: 'Oswald', sans-serif;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .options-menu li:last-child a {
        border-bottom: none;
    }

    .options-menu li a:active {
        background: #ce1212;
    }
    .hamburger-icon svg {
        transition: transform 0.3s ease;
    }
    
    /* Animación de las líneas */
    .line-top, .line-mid, .line-bot {
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    /* Transformación a X cuando el menú está abierto */
    .nav-link.menu-open .line-top {
        transform: translateY(6px) rotate(45deg);
    }
    
    .nav-link.menu-open .line-mid {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .nav-link.menu-open .line-bot {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    /* Color de énfasis cuando está abierto */
    .nav-link.menu-open {
        color: #ffcc00 !important;
    }
}
