/* ── Fuentes ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: #1C1410; color: #fff; }

/* ── Hero ── */
.hero-bg {
    background-image: url('../img/bg3.jpg'),
                      url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=1600&q=85');
    background-size: cover;
    background-position: center center;
}

.hero-overlay {
    background: linear-gradient(
        to right,
        rgba(0,0,0,.85) 0%,
        rgba(0,0,0,.55) 55%,
        rgba(0,0,0,.20) 100%
    );
}

/* ── Nav scroll ── */
.nav-scrolled {
    background: rgba(28,20,16,.97) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,146,42,.25);
}

/* ── Filter bar ── */
.filter-bar {
    background: #2E1F0F;
    border-top: 1px solid rgba(255,255,255,.06);
}
.filter-item {
    border-right: 1px solid rgba(255,255,255,.08);
}
.filter-item:last-of-type { border-right: none; }

/* ── Tour cards ── */
.tour-card {
    transition: transform .35s ease, box-shadow .35s ease;
    background: #ffffff;
    border: 1px solid rgba(139,94,60,.15);
}
.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(139,94,60,.2);
    border-color: rgba(201,146,42,.5);
}
.tour-card .card-img { overflow: hidden; }
.tour-card .card-img img { transition: transform .5s ease; }
.tour-card:hover .card-img img { transform: scale(1.06); }

/* ── Galería mosaic ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 6px;
}
.gallery-grid .tall  { grid-row: span 2; }
.gallery-grid .wide  { grid-column: span 2; }

.gallery-item { overflow: hidden; border-radius: 6px; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.15);
    transition: background .3s;
}
.gallery-item:hover::after { background: rgba(0,0,0,.05); }

/* ── Inputs ── */
.input-field {
    width: 100%;
    background: #3D2A15;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 14px;
    color: #fff;
    outline: none;
    font-family: 'Poppins', sans-serif;
    transition: border-color .2s, box-shadow .2s;
}
.input-field::placeholder { color: #9E7A52; }
.input-field:focus {
    border-color: #C9922A;
    box-shadow: 0 0 0 3px rgba(201,146,42,.18);
}
.input-field option { background: #3D2A15; }

/* ── Scroll suave ── */
.cloud-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* ── Animaciones ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up  { animation: fadeUp .65s ease both; }
.delay-1  { animation-delay: .12s; }
.delay-2  { animation-delay: .24s; }
.delay-3  { animation-delay: .36s; }

/* ── Gold underline accent ── */
.gold-line::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    background: #C9922A;
    margin-top: 10px;
    border-radius: 2px;
}

/* ── Responsive gallery ── */
@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }
    .gallery-grid .wide { grid-column: span 1; }
}

/* ── Section divider ── */
.section-light { background: #F5EFE6; color: #1C1410; }
.section-dark  { background: #2E1F0F; }
