* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}


/*nav nuevo*/
/* Navbar colapsado por defecto - solo iconos */
.navbar {
    position: fixed;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #636c7d81;
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 9px 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    width: 60px;
    /* Ancho colapsado - solo iconos */
    overflow: hidden;
}

/* Navbar expandido al hacer hover */
.navbar:hover {
    width: 220px;
    /* Ancho expandido */
    padding: 20px 20px;
}

/* Logo - oculto por defecto */
.logo {
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

/* Logo visible al hacer hover */
.navbar:hover .logo {
    opacity: 1;
    transform: translateX(0);
}

.logo a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
    white-space: nowrap;
}

.logo a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.logo a i {
    font-size: 1rem;
}

/* Menu principal - solo iconos por defecto */
.menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
    width: 100%;
    white-space: nowrap;
}

/* Iconos siempre visibles 
.menu li a i {
    font-size: 1.1rem;
    min-width: 20px;
    flex-shrink: 0;
}

/* Texto oculto por defecto */
.menu li a span {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 0;
}

/* Texto visible al hacer hover en el navbar */
.navbar:hover .menu li a span {
    opacity: 1;
    transform: translateX(0);
    width: auto;
}

/* Efectos de hover en los enlaces */
.menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu li a:hover::before {
    left: 100%;
}

.menu li a.activo {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

/* Indicador visual cuando está colapsado */
.navbar::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.navbar:hover::after {
    opacity: 0;
}

/* RESPONSIVE - Mobile mantiene el comportamiento original */
@media (max-width: 768px) {

    /* Desactivar el hover en móvil */
    .navbar:hover {
        width: 100% !important;
        padding: 80px 20px 20px !important;
    }

    .navbar {
        position: fixed;
        top: -100%;
        left: 0;
        right: 0;
        transform: none;
        width: 100% !important;
        border-radius: 0 0 20px 20px;
        padding: 80px 20px 20px;
        min-width: auto;
        transition: top 0.3s ease;
        overflow: visible;
    }

    .navbar.active {
        top: 0;
    }

    /* En mobile, logo y texto siempre visibles */
    .logo {
        opacity: 1 !important;
        transform: translateX(0) !important;
        position: fixed;
        top: 20px;
        left: 20px;
        right: 70px;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        background: rgba(75, 108, 180, 0.274);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        padding: 15px;
        z-index: 999;
    }

    /* Forzar visibilidad del texto en móvil */
    .navbar:hover .logo {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }

    .menu li a span {
        opacity: 1 !important;
        transform: translateX(0) !important;
        width: auto !important;
    }

    .navbar:hover .menu li a span {
        opacity: 1 !important;
        transform: translateX(0) !important;
        width: auto !important;
    }

    .navbar::after {
        display: none;
    }

    /* Botón hamburguesa */
    .hamburger {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        padding: 10px;
        cursor: pointer;
        z-index: 1001;
        transition: all 0.3s ease;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        margin: 5px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .logo a {
        font-size: 1.3rem;
        justify-content: flex-start;
        padding: 0;
    }

    .menu ul {
        flex-direction: column;
        gap: 12px;
    }

    .menu li a {
        padding: 15px 20px;
        font-size: 1.1rem;
        justify-content: flex-start;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .menu li a:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.3);
    }

    .menu li a i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        right: 60px;
        padding: 10px;
    }

    .logo a {
        font-size: 0.8rem;
        gap: 5px;
    }

    .navbar {
        padding: 70px 15px 15px;
    }

    .menu li a {
        padding: 12px 15px;
        font-size: 1rem;
    }
}

/*main*/
body {
    margin: 0.3rem;
    background-color: #0d0d25;
}

/*titulo*/

.tittle h1 {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin-top: 5rem;
    color: white;
}

.titulo span {
    font-family: "Happy Monkey", system-ui;
    padding: 1rem;
    font-size: 100px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(135deg, #eeeeec 20%, #636c7d 50%, #355d9b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0.5s, 0.3);
    position: relative;
    animation: glow 2s ease-in-out infinite;
}

/*intro*/
.text-intro h2{
    display: flex;
    text-align: center;
    justify-content: center;
    color: white;
    margin-left: 5rem;
    margin-right: 5rem;
    font-size: 2rem;
}

.introduccion p{
    display: flex;
    text-align: center;
    justify-content: center;
    color: white;
    margin-left: 5rem;
    margin-right: 5rem;
    font-size: 1.5rem;
}

.text-inner p{
    display: flex;
    text-align: justify;
    justify-content:center;
    color: white;
    margin-left: 5rem;
    margin-right: 5rem;
    font-size: 1.5rem;
}

#textoAzul{
    font-style: oblique;
    color: #355d9b;
    display: flex;
    text-align: center;
    justify-content:center;
    font-size: 1.5rem;
}

/* WINDOW PARALLAX EFFECT PARA CONTAINER-MID-PHOTOS */
.container-mid-photos {
    min-height: 100vh;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    justify-content: center;

}

.images-box {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 5px;
}

/* VENTANA PARALLAX - Cada .carousel es una "ventana" */
.images-box .carousel {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    /* CRÍTICO: esto crea la "ventana" */
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.images-box .carousel:hover {
    transform: scale(1.14);
}

/* IMAGEN QUE SE MUEVE DENTRO DE LA VENTANA */
.images-box .carousel img {
    position: absolute;
    width: 120%;
    /* MÁS GRANDE que el contenedor */
    height: 120%;
    /* MÁS GRANDE que el contenedor */
    object-fit: cover;
    top: -10%;
    left: -10%;
    transform: translate(0, 0);
    /* posición inicial */
    transition: transform 1s ease-in-out;
    will-change: transform;
}

.carousel:hover img {
    transform: translate(-10px, 20px);

}

/*OVERLAY OPCIONAL PARA INFORMACIÓN */
.images-box .carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.images-box .carousel:hover::after {
    opacity: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .container-mid-photos {
        flex-direction: column;
        padding: 5rem;
    }

    .images-box {
        flex-wrap: wrap;
    }

    .images-box .carousel {
        height: 250px;
        width: 225px;
        display: flex;
        justify-content: space-around;
    }
}

.info-text {
    display: flex;
}

/*parallax de menas*/
.container-column-scroll {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    background-color: #0d0d25;

}


/*.column-scroll{}*/
.elevator {
    flex: 1;
    background-color: #0d0d25;
    display: flex;
    align-items: right;
    justify-content: center;
    width: 50%;
    flex-direction: column;
    gap: 2rem;
    transition: transform 0.3s ease;
    will-change: transform;
}


.elevator img {
    max-width: 100%;
    height: 40rem;
    display: flex;
    align-items: flex-end;
}

.elevator-text {
    flex: 1;
    background-color: #0d0d25;
    display: flex;
    align-items: left;
    justify-content: center;
    padding: 2rem;
    text-align: right;
    width: 50%;
    height: 40rem;
    flex-direction: column;
    gap: 2rem;
    transition: transform 0.3s ease;
    will-change: transform;
}

.elevator-text p {
    text-align: center;
    color: white;
}

.parallax-scroll {
    display: flex;
    flex-wrap: wrap;
}

/* MEJORAS PARA REVERSE SCROLLING COLUMNS */

.container-column-scroll {
    display: flex;
    flex-direction: column;
    gap: 0; /* Reducir gap para mejor continuidad */
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    min-height: 200vh; /* Dar más espacio para el efecto de scroll */
}

.parallax-scroll {
    display: flex;
    min-height: 100vh; /* Cada sección ocupa toda la pantalla */
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* ALTERNANCIA DE LAYOUT PARA EFECTO ZIGZAG */
.parallax-scroll:nth-child(even) {
    flex-direction: row-reverse;
}

.parallax-scroll:nth-child(odd) {
    flex-direction: row;
}

.elevator {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: transform 0.1s linear, opacity 0.3s ease, filter 0.3s ease;
    will-change: transform, opacity, filter;
    position: relative;
    overflow: hidden;
}

.elevator img {
    max-width: 100%;
    height: 60vh;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.elevator-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align:start;
    transition: transform 0.1s linear, opacity 0.3s ease;
    will-change: transform, opacity;
    position: relative;
}

.elevator-text p {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    color: #ffffff;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ESTILOS PARA EL ESTADO "IN-VIEW" */
.parallax-scroll.in-view .elevator {
    opacity: 1;
}

.parallax-scroll.in-view .elevator-text {
    opacity: 1;
}

/* INDICADORES VISUALES OPCIONALES */
.parallax-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
}

/* MEJORAS PARA NOMBRES DE MINERALES */
.parrallax-text {
    position: relative;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
}

.parrallax-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #355d9b, #636c7d);
    border-radius: 2px;
    opacity: 0.7;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .container-column-scroll {
        padding: 1rem 0;
    }
    
    .parallax-scroll {
        flex-direction: column !important;
        min-height: 80vh;
        text-align: center;
    }
    
    .parallax-scroll:nth-child(even),
    .parallax-scroll:nth-child(odd) {
        flex-direction: column;
    }
    
    .elevator {
        padding: 1rem;
    }
    
    .elevator img {
        height: 40vh;
        max-width: 90%;
    }
    
    .elevator-text {
        padding: 2rem 1rem;
    }
    
    .elevator-text p {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .elevator img {
        height: 30vh;
    }
    
    .elevator-text p {
        font-size: 1.2rem;
    }
}

/* ANIMACIÓN DE ENTRADA OPCIONAL */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.parallax-scroll.in-view {
    animation: fadeInSlide 0.8s ease-out;
}


/* Estilos para la sección container-how-to */
.container-how-to {
    position: relative;
    min-height: 100vh;
    background-color:#0d0d25;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
}

.extraction {
    text-align:center;
    z-index: 10;
    position: relative;
}

.extraction p {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}

/* Botón móvil de YouTube */
#botonMovible {
    position: absolute;
    padding: 15px 25px;
    background: linear-gradient(45deg, #061038, #cc0000);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 100;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    user-select: none;
    animation: moveButton 10s infinite ease-in-out !important;
}

#botonMovible:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 15px 40px rgba(255,0,0,0.4);
    background: linear-gradient(45deg, #ff3333, #e60000);
    animation-play-state: paused;
}

/* Icono de YouTube */
.youtube-icon {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-icon::before {
    content: '▶';
    color: #ff0000;
    font-size: 14px;
    margin-left: 2px;
}

/* Animación de movimiento */
@keyframes moveButton {
    0% { top: 20%; left: 10%; transform: rotate(0deg); }
    12.5% { top: 15%; left: 80%; transform: rotate(45deg); }
    25% { top: 70%; left: 85%; transform: rotate(90deg); }
    37.5% { top: 80%; left: 50%; transform: rotate(135deg); }
    50% { top: 75%; left: 15%; transform: rotate(180deg); }
    62.5% { top: 40%; left: 5%; transform: rotate(225deg); }
    75% { top: 30%; left: 60%; transform: rotate(270deg); }
    87.5% { top: 50%; left: 75%; transform: rotate(315deg); }
    100% { top: 20%; left: 10%; transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    #botonMovible {
        padding: 12px 20px;
        font-size: 14px;
        animation: moveButtonMobile 6s infinite ease-in-out !important;
    }
    
    @keyframes moveButtonMobile {
        0% { top: 15%; left: 5%; }
        25% { top: 20%; left: 70%; }
        50% { top: 70%; left: 75%; }
        75% { top: 75%; left: 10%; }
        100% { top: 15%; left: 5%; }
    }
}

/*Footer*/

.main-content {
    flex: 1;
    padding: 50px 20px;
    text-align: center;
    color: #333;
}

.footer {
    background: linear-gradient(135deg, #0d0d25 0%, #061038 50%, #02000c 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,100 0,20"/></svg>') no-repeat;
    background-size: cover;
}

.footer-content {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #355d9b, #636c7d);
    border-radius: 2px;
}

.footer-section p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(53, 93, 155, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 108, 125, 0.2);
}

.social-icon:hover {
    background: rgba(53, 93, 155, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(6, 16, 56, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 40px;
    height: 40px;
    bottom: 30%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .social-icons {
        justify-content: center;
    }
}
/* =========================================================
   DONDE-ESTOY — RESPONSIVE OVERRIDES (append-only)
   Pega esto AL FINAL de ../src/css/donde-estoy.css
   ========================================================= */

/* Base: imágenes y contenedores nunca se desborden */
img, video, canvas { max-width: 100%; height: auto; }

/* ===== Tablet y Mobile ===== */
@media (max-width: 900px) {
  /* Navbar: que sea barra superior desplegable (sin hover) */
  .navbar{
    position: fixed;
    top: -100%;
    left: 0; right: 0;
    width: 100%;
    background: rgba(20, 26, 48, .8);
    backdrop-filter: blur(10px);
    border-radius: 0 0 16px 16px;
    padding: 72px 16px 16px;
    z-index: 1000;
    transition: top .3s ease;
  }
  .navbar.active{ top: 0; }

  .menu ul{
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0; padding: 0;
  }
  .menu a{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.15);
  }
  .menu a:hover{ background: rgba(255,255,255,.20); }

  /* Botón hamburguesa visible en mobile (si no lo tienes estilado) */
  .hamburger{
    display: block;
    position: fixed;
    top: 16px; right: 16px;
    z-index: 1001;
    padding: 10px;
    border-radius: 10px;
    background: rgba(20, 26, 48, .85);
    border: 1px solid rgba(255,255,255,.15);
    cursor: pointer;
  }
  .hamburger span{
    display: block;
    width: 26px; height: 3px;
    background: #fff; margin: 5px 0; border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
  }
  .hamburger.active span:nth-child(1){ transform: rotate(45deg) translate(5px,6px); }
  .hamburger.active span:nth-child(2){ opacity: 0; }
  .hamburger.active span:nth-child(3){ transform: rotate(-45deg) translate(6px,-6px); }

  /* Top title / hero */
  .container-top{ padding-top: 88px; } /* despegar del navbar fijo */
  .tittle, .titulo{
    text-align: center;
  }
  .titulo{
    font-size: clamp(32px, 8vw, 56px);
    line-height: 1.1;
    margin: 0 auto;
  }
  .titulo span{ display: inline-block; }

  /* Intro text */
  .container-info article{
    padding: 0 16px;
  }
  .text-intro h2{
    font-size: clamp(18px, 4.5vw, 24px);
    line-height: 1.35;
    text-align: center;
  }
  .introduccion p, .introduccion #textoAzul{
    font-size: clamp(14px, 3.8vw, 18px);
  }
  #textoAzul{
    display: inline-block;
    margin-top: 8px;
  }

  /* Carrusel de fotos: pasar a grilla 1 columna con separación */
  .container-mid-photos{ padding: 8px 12px; }
  .images-box{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .carousel{
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
  }
  .carousel img{
    display: block;
    width: 100%; height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  /* Texto intermedio */
  .mid-inner-info .text-inner{
    padding: 0 16px;
    font-size: clamp(14px, 3.8vw, 18px);
    line-height: 1.6;
  }

  /* Sección parallax: apilar y atenuar efecto en mobile */
  .container-column-scroll{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 12px;
  }
  .parallax-scroll{
    position: relative;
    min-height: auto;
    padding: 8px 0;
  }
  .parallax-scroll .elevator{
    position: relative;
    transform: none !important;
  }
  .parallax-scroll .elevator img{
    width: 100%; height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
  }
  .elevator-text{
    text-align: center;
    margin-top: 8px;
  }
  .parrallax-text{
    font-size: clamp(16px, 4.5vw, 20px);
    line-height: 1.3;
  }

  /* Botón “Atrápame” de YouTube: que no estorbe y sea clickable */
  .container-how-to .extraction{
    padding: 0 16px 32px;
    text-align: center;
  }
  #botonMovible{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #ff0033;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(255,0,51,.25);
    position: relative; /* desactivar absolute si lo usabas en desktop */
  }
  #botonMovible .youtube-icon{
    width: 20px; height: 14px;
    background: #fff; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox=\"0 0 24 24\"><path fill=\"black\" d=\"M10 15l5.19-3L10 9v6z\"/></svg>') no-repeat center / contain;
  }

  /* Footer más respirable */
  .footer-content{ padding: 0 16px; }
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom{
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Teléfonos chicos */
@media (max-width: 600px){
  .container-top{ padding-top: 84px; }
  .images-box{ gap: 12px; }
  .carousel img{ aspect-ratio: 3 / 2; }
  .parallax-scroll .elevator img{ aspect-ratio: 3 / 2; }
  #botonMovible{ padding: 10px 14px; }
}

/* Accesibilidad: si el usuario prefiere menos movimiento, suavizamos */
@media (prefers-reduced-motion: reduce){
  .navbar, .menu a, .carousel img, .parallax-scroll .elevator { 
    transition: none !important; animation: none !important;
  }
}
