@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;500&display=swap');

:root {
    --verde: #1f3d36;
    --dorado: #b08d57;
    --claro: #f6f4ef;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--claro);
    overflow-x: hidden;
    color: #000;
}

header {
    background: #ffffff !important;
    color: #000 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.35s ease;
}

header.oculto { transform: translateY(-100%); }

main { margin-top: 120px; }

.barra-navegacion {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.logo {
    height: 110px;
    margin: 0; padding: 0;
    display: block;
    transition: transform 0.25s ease;
}

.logo.zoom-leve { transform: scale(1.08); }

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
}

.menu a {
    text-decoration: none;
    color: #6b4e32;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 20px;
    transition: 0.3s;
}

.menu a:hover,
.menu a.activo {
    background-color: #6b4e32;
    color: #fff;
}

.submenu { position: relative; }

.submenu-contenido {
    display: none;
    position: absolute;
    background-color: rgba(255,255,255,0.97);
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    top: 100%;
    left: 0;
    min-width: 180px;
    z-index: 9999;
}

.submenu:hover .submenu-contenido { display: block; }

.submenu-contenido a {
    display: block;
    padding: 10px;
    color: #6b4e32;
    text-decoration: none;
}

.submenu-contenido a:hover {
    background-color: #a97c50;
    color: #fff;
}

/* FIX: "Experiencias ▼" nunca hereda el estilo .activo del hijo */
.submenu > a {
    background-color: transparent !important;
    color: #6b4e32 !important;
}
.submenu > a:hover {
    background-color: #6b4e32 !important;
    color: #fff !important;
}

.btn-hamburguesa-nav {
    display: none;
    background: none;
    border: 2px solid #6b4e32;
    border-radius: 8px;
    font-size: 26px;
    color: #6b4e32;
    cursor: pointer;
    padding: 4px 10px;
    line-height: 1;
    flex-shrink: 0;
}

.redes {
    position: fixed;
    right: 18px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 1000;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.redes a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.redes a img {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: transparent !important;
    box-shadow: none !important;
    transition: transform 0.3s ease;
}

.redes a img:hover {
    transform: scale(1.15) translateX(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35) !important;
}

.redes a img:active { transform: scale(1.05) translateX(-6px); }
.redes a { animation: redesFadeIn 0.6s ease forwards; }

@keyframes redesFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.wa-box {
    position: fixed;
    right: 90px; bottom: 140px;
    width: 300px;
    background: #f4f6f8;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0,0,0,.35);
    opacity: 0; pointer-events: none;
    transform: translateX(20px);
    transition: all .35s ease;
    z-index: 9999;
}

.wa-box.active { opacity: 1; pointer-events: auto; transform: translateX(0); }
.wa-box, .wa-box * { box-sizing: border-box; font-family: Arial, sans-serif; }

.wa-header {
    background: #25d366; color: white;
    padding: 14px 16px;
    border-radius: 16px 16px 0 0;
    font-weight: bold;
    display: flex; justify-content: space-between;
}

.wa-close { cursor: pointer; font-size: 20px; }
.wa-content { padding: 16px; }

.wa-bubble {
    background: white; padding: 12px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    margin-bottom: 14px;
}

.wa-button {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; background: #25d366; color: white;
    padding: 12px; border-radius: 25px;
    text-decoration: none; font-weight: bold;
}

.wa-button img { width: 18px; }

:root {
    --cafe-oscuro: #3b2a20;
    --cafe-medio:  #6e4b3a;
    --beige:       #f4efe9;
    --blanco:      #ffffff;
}

.inicio-moderno {
    padding: 100px 8%;
    background: linear-gradient(to right, var(--beige), #e6d7c8);
}

.inicio-texto { max-width: 600px; margin-bottom: 50px; }

.inicio-texto h1 {
    font-size: 48px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.inicio-texto button {
    padding: 14px 35px;
    background: var(--cafe-medio);
    border: none; border-radius: 30px;
    color: white; cursor: pointer;
}

.inicio-cards { display: flex; flex-wrap: wrap; gap: 20px; }

.mini-card {
    background: white; padding: 25px;
    border-radius: 20px; flex: 1;
    min-width: 250px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.mini-card:hover { transform: translateY(-8px); }

.seguridad {
    background: var(--cafe-medio);
    color: white; padding: 80px 8%;
    text-align: center;
}

.seg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px; margin-top: 40px;
}

.seg-card {
    background: rgba(255,255,255,0.1);
    padding: 30px; border-radius: 20px;
}

.cta {
    background: #ffffff;
    color: var(--cafe-oscuro);
    text-align: center; padding: 80px 20px;
}

.boton-RESERVA {
    display: inline-block; margin-top: 20px;
    padding: 15px 40px;
    background: var(--cafe-oscuro);
    color: white; border: none; border-radius: 30px;
    cursor: pointer; text-decoration: none; font-weight: bold;
}

footer { background-color: #4e3620; color: #f5f0e1; padding: 20px; }
.footer-contenido { text-align: center; }

.footer-columna {
    display: inline-block; width: 22%;
    vertical-align: top; margin: 10px; text-align: left;
}

.footer-columna h3 { color: #c89b3c; margin-bottom: 8px; }
.footer-columna a  { color: #f5f0e1; text-decoration: none; }
.footer-columna a:hover { color: #c89b3c; }

.footer-final {
    text-align: center;
    border-top: 1px solid #c89b3c;
    margin-top: 20px; padding-top: 10px; font-size: 14px;
}

.slider-bicicletas {
    overflow: hidden; padding: 100px 5%;
    background: #ffffff; position: relative;
}

.slider-bicicletas::before,
.slider-bicicletas::after {
    content: ""; position: absolute; top: 0;
    width: 180px; height: 100%;
    z-index: 2; pointer-events: none;
}

.slider-bicicletas::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 30%, transparent);
}

.slider-bicicletas::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 30%, transparent);
}

.slider-track {
    display: flex; gap: 40px;
    width: max-content;
    animation: scrollBici 25s linear infinite;
    perspective: 1000px;
}

.slider-track img {
    width: 600px; height: 450px;
    object-fit: cover; object-position: center;
    border-radius: 25px;
    transition: transform 0.45s ease, filter 0.45s ease, box-shadow 0.45s ease;
    filter: brightness(0.85) saturate(0.9);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transform-style: preserve-3d;
    will-change: transform; cursor: pointer;
}

.slider-track img:hover { filter: brightness(1.08) saturate(1.15); }

@keyframes scrollBici {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
    header { height: 70px; padding: 0 20px; }
    main   { margin-top: 70px; }

    .barra-navegacion { width: 100%; max-width: 100%; justify-content: space-between; gap: 0; }
    .logo { height: 54px; }
    .btn-hamburguesa-nav { display: flex; align-items: center; }

    nav.menu {
        display: none; flex-direction: column; align-items: stretch;
        position: fixed; top: 70px; left: 0; width: 100%;
        background: white; box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        padding: 6px 0 14px 0; z-index: 990;
        max-height: calc(100vh - 70px); overflow-y: auto; gap: 0;
    }

    nav.menu.abierto { display: flex; }

    nav.menu > a {
        display: block; width: 100%; padding: 14px 24px;
        border-radius: 0; font-size: 15px;
        border-bottom: 1px solid #f0e8de;
    }

    nav.menu > a:hover,
    nav.menu > a.activo {
        background-color: #6b4e32; color: #fff; border-radius: 0;
    }

    nav.menu .submenu { width: 100%; }

    /* FIX móvil: "Experiencias ▼" siempre café sobre fondo transparente */
    nav.menu .submenu > a,
    nav.menu .submenu > a:hover,
    nav.menu .submenu > a.activo {
        display: block; width: 100%; padding: 14px 24px;
        border-radius: 0 !important; font-size: 15px;
        border-bottom: 1px solid #f0e8de;
        color: #6b4e32 !important; font-weight: bold;
        text-decoration: none;
        background-color: transparent !important;
        background: transparent !important;
    }

    nav.menu .submenu:hover .submenu-contenido { display: none; }
    nav.menu .submenu.activo .submenu-contenido { display: block !important; }

    nav.menu .submenu-contenido {
        position: static; box-shadow: none;
        border-radius: 0; background: #faf6f1; min-width: 100%;
    }

    nav.menu .submenu-contenido a {
        padding: 12px 44px;
        border-bottom: 1px solid #ede6dc; font-size: 14px;
        color: #6b4e32;
    }

    nav.menu .submenu-contenido a:hover { background-color: #a97c50; color: #fff; }

    .inicio-moderno { padding: 40px 6%; }
    .inicio-texto h1 { font-size: 2.3rem; }
    .mini-card { min-width: 200px; }

    .slider-track img { width: 380px; height: 280px; }
    .slider-bicicletas { padding: 60px 0; }
    .slider-bicicletas::before,
    .slider-bicicletas::after { width: 80px; }

    .footer-columna { width: 45%; }
    .redes { right: 10px; bottom: 80px; gap: 10px; }
    .redes a img { width: 34px; height: 34px; }
    .wa-box { right: 55px; bottom: 80px; width: 260px; }
}

@media (max-width: 768px) {
    .inicio-moderno { padding: 30px 5%; }
    .inicio-texto h1 { font-size: 1.9rem; }
    .inicio-texto p  { font-size: 1rem; }
    .mini-card { min-width: 100%; }

    .slider-track img { width: 280px; height: 210px; }
    .slider-track { gap: 20px; }
    .seguridad { padding: 50px 5%; }
    .cta { padding: 60px 5%; }

    .footer-columna { width: 100%; text-align: center; margin: 8px 0; }
    .redes { right: 8px; bottom: 50px; }
    .redes a img { width: 30px; height: 30px; }
    .wa-box { right: 48px; bottom: 50px; width: 240px; }
}

@media (max-width: 480px) {
    .inicio-moderno { padding: 20px 5%; }
    .inicio-texto h1 { font-size: 1.6rem; }

    .slider-track img { width: 220px; height: 165px; }
    .slider-track { gap: 14px; }
    .slider-bicicletas::before,
    .slider-bicicletas::after { display: none; }

    .footer-columna { font-size: 13px; }
    .footer-final   { font-size: 12px; }
    .redes { right: 6px; bottom: 30px; }
    .redes a img { width: 26px; height: 26px; }
    .wa-box { right: 42px; bottom: 30px; width: 230px; }
}