/* =====================================================
   SUAUTO RENT A CAR — style.css
   Estructura:
   1.  Variables y Base
   2.  Fondo animado (glows)
   3.  Header y Navegación
   4.  Hero
   5.  Flota (carrusel + cards)
   6.  Requisitos
   7.  Pasos
   8.  Comunidad (bento grid)
   9.  Stats
   10. FAQ
   11. Destinos (carrusel + modal)
   12. Footer
   13. WhatsApp flotante
   14. Animaciones de entrada (reveal)
   15. Responsive (max-width: 768px)
===================================================== */


/* ─── 1. VARIABLES Y BASE ─────────────────────────── */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    --bg:    #0f0f0f;
    --card:  #181818;
    --blue:  #00a8ff;
    --white: #ffffff;
    --gray:  #888;
}

body {
    background-color: var(--bg);
    color: var(--white);
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Textura de ruido sutil en el fondo */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

p {
    color: #bbb;
    line-height: 1.8;
    font-size: 1rem;
}

/* Separador sutil entre secciones */
section {
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.2), transparent);
}


/* ─── 2. FONDO ANIMADO (GLOWS) ────────────────────── */

.bg-glow-1 {
    position: fixed;
    top: -10%; right: -5%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.3) 0%, rgba(0, 71, 171, 0.1) 40%, transparent 70%);
    filter: blur(150px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
    animation: floatingGlow 10s infinite alternate ease-in-out;
}

.bg-glow-2 {
    position: fixed;
    bottom: -5%; left: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, rgba(0, 168, 255, 0.05) 50%, transparent 70%);
    filter: blur(150px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
    animation: floatingGlow 8s infinite alternate-reverse ease-in-out;
}

.bg-glow-3 {
    position: fixed;
    top: 40%; left: 30%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.15) 0%, transparent 60%);
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

@keyframes floatingGlow {
    0%   { transform: translate(0, 0) scale(1);   opacity: 0.4; }
    100% { transform: translate(50px, 30px) scale(1.2); opacity: 0.7; }
}


/* ─── 3. HEADER Y NAVEGACIÓN ──────────────────────── */

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 90%;
    z-index: 2000;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo span {
    color: var(--blue);
    font-weight: 300;
}

/* Nav links — estado base (mobile: menú desplegable) */
.nav-links {
    position: absolute;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0f0f0f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: top 0.5s ease-in-out;
    z-index: 1999;
}

.nav-links.active {
    top: 0;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s;
}

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

/* Hamburguesa */
.menu-hamburguesa {
    cursor: pointer;
    z-index: 2100;
}

.linea {
    width: 30px;
    height: 3px;
    background: var(--white);
    margin: 5px;
    transition: 0.3s;
}

.menu-hamburguesa.open .linea:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-hamburguesa.open .linea:nth-child(2) { opacity: 0; }
.menu-hamburguesa.open .linea:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }


/* ─── 4. HERO ─────────────────────────────────────── */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), var(--bg)),
                url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?q=80&w=2021&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0 5%;
}

.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.btn-main {
    background: var(--blue);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    margin-top: 25px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-main:hover {
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.5);
    transform: scale(1.05);
}


/* ─── 5. FLOTA ────────────────────────────────────── */

.flota-container {
    position: relative;
    padding: 80px 5%;
}

/* Wrapper: oculta el overflow horizontal */
.flota-carousel-wrapper {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 20px 0;
}

.flota-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

/* Pista: fuerza fila horizontal */
.flota-grid.carousel-track {
    display: flex;
    gap: 25px;
    padding: 0 5%;
    width: max-content;
}

/* Card de auto */
.card-auto {
    min-width: 260px;
    max-width: 280px;
    padding: 20px;
    background: linear-gradient(180deg, #1e1e1e 0%, #0a0a0a 100%);
    border-radius: 18px;
    border: 1px solid rgba(0, 168, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: all 0.4s ease;
}

/* Resplandor azul detrás del auto al hacer hover */
.card-auto::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 150px; height: 100px;
    background: var(--blue);
    filter: blur(80px);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s;
    z-index: 0;
}

.card-auto:hover {
    border-color: var(--blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.15);
}

.card-auto:hover::after { opacity: 0.2; }

.card-header h3 {
    font-size: 1.1rem;
    margin: 0;
    letter-spacing: 1px;
}

.card-header p {
    color: var(--gray);
    margin: 5px 0;
    font-size: 0.8rem;
}

.badge {
    background: #333;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--blue);
}

.img-container {
    position: relative;
    margin: 20px 0;
    z-index: 2;
}

.car-img {
    width: 100%;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));
    transition: transform 0.4s;
}

.card-auto:hover .car-img { transform: scale(1.08); }

.car-shadow {
    width: 80%; height: 15px;
    background: rgba(0,0,0,0.5);
    filter: blur(8px);
    border-radius: 50%;
    margin: -10px auto 0;
}

.card-specs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.75rem;
    color: #ccc;
    margin-bottom: 25px;
    border-top: 1px solid #222;
    padding-top: 10px;
}

.btn-reserva {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-reserva:hover {
    background: var(--white);
    color: #000;
}

/* Botones de navegación del carrusel */
.carousel-controls {
    position: absolute;
    top: 55%;
    left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 2%;
    pointer-events: none;
    z-index: 100;
}

.control-btn {
    pointer-events: all;
    background: rgba(24, 24, 24, 0.8);
    backdrop-filter: blur(5px);
    color: var(--white);
    border: 1px solid #333;
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.control-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: scale(1.1);
}


/* ─── 6. REQUISITOS ───────────────────────────────── */

.requisitos {
    padding: 100px 5%;
    background: #121212;
}

.requisitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.req-item {
    background: rgba(25, 25, 25, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.req-item:hover {
    background: rgba(0, 168, 255, 0.08);
    transform: translateY(-10px) scale(1.02);
    border-color: var(--blue);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.1);
}

.req-item .icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.req-item i {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--white), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: block;
}


/* ─── 7. PASOS ────────────────────────────────────── */

.pasos {
    padding: 100px 5%;
}

.pasos-container {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    z-index: 1;
}

/* Línea conectora entre pasos (solo desktop) */
@media (min-width: 768px) {
    .pasos-container::before {
        content: "";
        position: absolute;
        top: 35px;
        left: 10%; right: 10%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--blue), transparent);
        z-index: -1;
    }
}

.paso {
    background: rgba(25, 25, 25, 0.95);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.paso:hover {
    border-color: var(--blue);
    box-shadow: 0 0 30px rgba(0, 168, 255, 0.2);
}

/* Número del paso: empieza apagado, se enciende con JS */
.paso-numero {
    width: 70px; height: 70px;
    background: #1a1a1a;
    color: #444;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.8s ease;
}

.paso.active .paso-numero {
    background: var(--bg);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 0 25px rgba(0, 168, 255, 0.7), inset 0 0 10px rgba(0, 168, 255, 0.4);
    text-shadow: 0 0 10px var(--white);
}

.paso.active .paso-numero::after {
    content: "";
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid var(--blue);
    animation: pulsoNeon 2s infinite;
}

@keyframes pulsoNeon {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}


/* ─── 8. COMUNIDAD (BENTO GRID) ───────────────────── */

.comunidad {
    padding: 80px 5%;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.bento-item {
    background: var(--card);
    border-radius: 20px;
    border: 1px solid #333;
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s, transform 0.3s;
}

.bento-item:hover {
    border-color: var(--blue);
    transform: translateY(-5px);
}

.large-media { grid-column: span 2; grid-row: span 2; }
.tall-review  { grid-row: span 2; }
.tall-media   { grid-row: span 2; }

.review {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ddd;
    margin: 15px 0;
    font-style: italic;
}

.user-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stars {
    font-size: 0.7rem;
    color: #ffcc00;
}

.bento-video,
.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.large-media .bento-video { object-position: center top; }
.bento-item.media img     { object-position: left center; }

.media-tag {
    position: absolute;
    bottom: 12px; left: 12px;
    background: rgba(0,0,0,0.6);
    color: var(--white);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 50px;
}


/* ─── 9. STATS ────────────────────────────────────── */

.stats {
    display: flex;
    justify-content: space-around;
    padding: 60px 5%;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--blue);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}


/* ─── 10. FAQ ─────────────────────────────────────── */

.faq {
    padding: 80px 5%;
    background: #0f0f0f;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.faq-item {
    background: rgba(25, 25, 25, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: border-color 0.3s;
}

.faq-item.active {
    border-color: var(--blue);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 700;
    color: var(--white);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--blue);
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background: #111;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
    padding: 20px 0;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 350px;
    padding: 0 25px;
}


/* ─── 11. DESTINOS ────────────────────────────────── */

.destinos-section {
    padding: 80px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

/* Carrusel de destinos */
.destinos-viewport {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 20px 0;
}

.destinos-viewport::-webkit-scrollbar { display: none; }

.destinos-track {
    display: flex;
    gap: 20px;
    padding: 0 5%;
    width: max-content;
}

.destino-card {
    min-width: 240px;
    max-width: 240px;
    height: 350px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #111;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.15);
}

.destino-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.destino-card:hover img { transform: scale(1.1); }

.destino-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.destino-info h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.btn-ver {
    font-size: 0.75rem;
    color: var(--blue);
    font-weight: 600;
}

/* Botones del carrusel de destinos */
.carousel-controls-destinos {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.carousel-controls-destinos button,
.dest-prev,
.dest-next {
    background: var(--card);
    color: var(--white);
    border: 1px solid #333;
    width: 45px; height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: border-color 0.3s, color 0.3s;
}

.carousel-controls-destinos button:hover,
.dest-prev:hover,
.dest-next:hover {
    border-color: var(--blue);
    color: var(--blue);
}

/* Modal de destinos */
.modal-wrapper {
    display: none;
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    z-index: 3000;
    overflow-y: auto;
}

.modal-content {
    background: var(--card);
    width: 90%; max-width: 700px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 25px;
    position: relative;
    border: 1px solid #333;
}

.close-btn {
    position: absolute; top: 15px; right: 25px;
    font-size: 35px;
    color: var(--blue);
    cursor: pointer;
    line-height: 1;
}

.modal-img-main {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.badge-provincia {
    background: var(--blue);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
}

.modal-desc {
    color: #ccc;
    line-height: 1.6;
    margin: 15px 0;
}

.destacados-section h4 {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--blue);
}

.lugar-destacado {
    background: #222;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s;
}

.lugar-destacado:hover {
    background: #2a2a2a;
    border-color: var(--blue);
}

.lugar-info strong { display: block; font-size: 0.95rem; }
.lugar-info span   { font-size: 0.8rem; color: var(--gray); }

.btn-wa-modal {
    width: 100%;
    background: #25d366;
    border: none;
    padding: 15px;
    border-radius: 10px;
    color: var(--white);
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-wa-modal:hover { background: #128c7e; }


/* ─── 12. FOOTER ──────────────────────────────────── */

.main-footer {
    background-color: #0a0a0a;
    padding: 80px 5% 20px;
    border-top: 1px solid #222;
    margin-top: 50px;
}

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

.footer-info .logo { font-size: 1.8rem; }

.footer-info p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 20px;
}

.footer-contact h4,
.footer-map h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.map-wrapper {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    background: #000;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.map-wrapper iframe {
    width: 100%; height: 100%;
    filter: grayscale(1) invert(0.9) brightness(0.8) contrast(1.2);
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-wrapper:hover iframe {
    filter: grayscale(0) invert(0) brightness(1) contrast(1);
}

.map-wrapper:hover {
    border-color: var(--blue);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.2);
}

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

.social-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s, transform 0.3s;
}

.social-links a i {
    font-size: 1.8rem;
    color: #E1306C;
}

.social-links a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid #1a1a1a;
    margin-top: 40px;
    color: #444;
    font-size: 0.8rem;
}


/* ─── 13. WHATSAPP FLOTANTE ───────────────────────── */

.whatsapp-float {
    position: fixed;
    width: 60px; height: 60px;
    bottom: 40px; right: 40px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 5000;
    transition: transform 0.3s, background-color 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.whatsapp-float img { width: 35px; }


/* ─── 14. ANIMACIONES DE ENTRADA (REVEAL) ─────────── */

/* Estado inicial: invisible y desplazado */
.card-auto,
.req-item,
.paso,
.destino-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Estado activo: visible (JS agrega .active) */
.card-auto.active,
.req-item.active,
.paso.active,
.destino-card.active {
    opacity: 1;
    transform: translateY(0);
}


/* ─── 15. RESPONSIVE (max-width: 768px) ───────────── */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    /* Nav: en desktop, los links se muestran en fila horizontal */
    .menu-hamburguesa {
        display: block;
    }

    .stats {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 40px 0;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 15px;
    }

    .large-media,
    .bento-item {
        grid-column: span 1;
        min-height: 200px;
    }

    .large-media {
        min-height: 300px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

/* En desktop: nav en fila horizontal */
@media (min-width: 769px) {

    .menu-hamburguesa {
        display: none;
    }

    .nav-links {
        position: static;
        top: auto;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        gap: 20px;
        transition: none;
    }

    .nav-links a {
        font-size: 0.9rem;
        font-weight: 400;
    }
}
