/* ============================================
   JOYA TOURS PERÚ - ESTILOS PARA PÁGINAS DE TOUR
   Comparte el sistema visual de styles.css principal.
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Quicksand:wght@300;400;500;600;700&display=swap');


/* =========================
   RESET Y BASE
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', 'Segoe UI', sans-serif;
    padding-top: 117px; /* top-bar (47px) + header (70px) */
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}


/* ============================================
   TOP BAR — idéntica a la página principal
   ============================================ */
.top-bar {
    background: #0d5675;
    color: white;
    padding: 0.8rem 0;
    font-size: 0.85rem;
    transition: all 0.3s;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.top-info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.info-text {
    color: white;
    font-size: 0.85rem;
}

/* Burbujas de íconos */
.icon-bubble {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.icon-bubble:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.icon-bubble::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.icon-bubble:hover::before { transform: translateX(100%); }

.icon-bubble img {
    position: relative;
    z-index: 1;
    filter: brightness(0) invert(1);
    transition: transform 0.3s;
}

.icon-bubble:hover img { transform: scale(1.1); }

/* Redes sociales en top-bar */
.social {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.social-bubble {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-bubble:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px) scale(1.05);
}

.social-bubble::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.social-bubble:hover::before { transform: translateX(100%); }

.social-bubble img {
    position: relative;
    z-index: 1;
    filter: brightness(0) invert(1);
    transition: transform 0.3s;
}

.social-bubble:hover img { transform: scale(1.1); }

/* Botón WhatsApp en top-bar */
.whatsapp-btn {
    background: #25d366;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
    font-size: 0.85rem;
}

.whatsapp-btn:hover {
    background: #20bd5a;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}

/* Responsive top-bar */
@media (max-width: 968px) {
    .top-content { gap: 1rem; font-size: 0.8rem; }
    .top-info-item { gap: 0.4rem; }
    .icon-bubble, .social-bubble { width: 28px; height: 28px; }
    .icon-bubble img, .social-bubble img { width: 12px; height: 12px; }
    .info-text { font-size: 0.8rem; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
}


/* ============================================
   HEADER — idéntico al principal
   ============================================ */
header {
    background: linear-gradient(135deg, rgba(37, 136, 153, 0.08), rgba(51, 223, 117, 0.08));
    position: fixed;
    width: 100%;
    top: 47px;
    height: 70px;
    display: flex;
    align-items: center;
    z-index: 999;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
}

header.at-top {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,252,255,0.95));
    backdrop-filter: blur(10px);
}

header.scrolled {
    background: linear-gradient(135deg, #0d5675, #0a4a64, #083c50);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    top: 0;
    backdrop-filter: none;
}

nav {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    color: #0d5675;
}

.logo img {
    height: 50px;
    width: auto;
    transition: filter 0.3s;
}

header.scrolled .logo { color: white; }
header.scrolled .logo img { filter: brightness(0) invert(1); }

/* Menú de navegación */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #0d5675;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: linear-gradient(135deg, #0d5675, #04a2e1);
    color: white;
}

header.scrolled nav ul li a { color: white; }

header.scrolled nav ul li a:hover {
    background: white;
    color: #0d5675;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #0d5675;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

header.scrolled .menu-toggle { color: white; }

/* Responsive header */
@media (max-width: 768px) {
    body { padding-top: 70px; }
    header { top: 0; }
    .menu-toggle { display: block; }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #0d5675;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    nav ul.active { display: flex; }
    nav ul li { padding: 1rem 0; }
    nav ul li a { color: white; }
}


/* ============================================
   HERO DEL TOUR
   Info-bar con el mismo estilo que .hero-feature
   de la página principal: íconos + texto en fila
   ============================================ */
.hero-tour {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;  /* contenido pegado al fondo */
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-tour.fullday  { height: 50vh; min-height: 420px; }
.hero-tour.multiday { height: 60vh; min-height: 500px; }

/* Gradiente oscuro en la parte inferior para legibilidad */
.hero-tour::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 86, 117, 0.15) 0%,
        rgba(4, 76, 114, 0.25) 50%,
        rgba(4, 60, 90, 0.75) 100%
    );
    z-index: 1;
}

.hero-tour-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    padding: 0 5% 2.5rem;
}

/* Badge de tipo (4D/3N, Full Day...) */
.tour-badge {
    display: inline-block;
    background: #f2aa21;
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.hero-tour-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

/* Info-bar: mismo estilo pill que hero-feature principal */
.tour-info-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: none;
    background: transparent;
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}

.info-item img {
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.info-item:hover {
    background: transparent;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-tour-content h1 { font-size: 2.2rem; }
    .info-item { font-size: 0.85rem; padding: 0.4rem 1rem; }
    .hero-tour.fullday  { height: 45vh; min-height: 360px; }
    .hero-tour.multiday { height: 50vh; min-height: 420px; }
}

/* ============================================
   MENÚ SECUNDARIO STICKY DEL TOUR
   (sin cambios — ya está bien)
   ============================================ */
.tour-menu-wrapper {
    position: sticky;
    top: 70px;
    z-index: 900;
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.tour-menu {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 5%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.tour-menu::-webkit-scrollbar { height: 4px; }
.tour-menu::-webkit-scrollbar-track { background: #f1f1f1; }
.tour-menu::-webkit-scrollbar-thumb { background: #0d5675; border-radius: 4px; }

.tour-menu-nav {
    display: flex;
    gap: 1rem;
    min-width: max-content;
}

.tour-menu a {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    color: #555;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    white-space: nowrap;
    background: #f8f9fa;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 0.9rem;
}

.tour-menu a:hover,
.tour-menu a.active {
    background: #0d5675;
    color: white;
    border-color: #0d5675;
    transform: translateY(-2px);
    box-shadow: 2px -2px 7px 0 rgba(16, 226, 253, 0.4), -2px 2px 7px 0 rgba(3, 98, 153, 0.6);
}


/* ============================================
   CARRUSEL DE FOTOS (justo antes de la info)
   Carrusel horizontal con miniaturas debajo
   ============================================ */
.galeria-carrusel-wrapper {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding: 0 5%;
}

.galeria-carrusel {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Imagen principal del carrusel */
.galeria-main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

.galeria-main.fade { opacity: 0; }

/* Botones prev/next */
.galeria-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 86, 117, 0.85);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.galeria-btn.prev { left: 1rem; }
.galeria-btn.next { right: 1rem; }

.galeria-btn:hover {
    background: #0d5675;
    transform: translateY(-50%) scale(1.1);
}

/* Contador de fotos */
.galeria-contador {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Miniaturas */
.galeria-thumbs {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
    scrollbar-color: #0d5675 #f1f1f1;
}

.galeria-thumbs::-webkit-scrollbar { height: 4px; }
.galeria-thumbs::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.galeria-thumbs::-webkit-scrollbar-thumb { background: #0d5675; border-radius: 4px; }

.galeria-thumb {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.6;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.galeria-thumb:hover { opacity: 0.9; }

.galeria-thumb.active {
    opacity: 1;
    border-color: #f2aa21;
    transform: scale(1.05);
}

/* Lightbox al hacer clic en la imagen principal */
.galeria-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.galeria-lightbox.active { display: flex; }

.galeria-lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    color: #333;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
    background: #fb0707;
    color: white;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .galeria-main { height: 260px; }
    .galeria-btn { width: 38px; height: 38px; font-size: 1.2rem; }
    .galeria-thumb { width: 65px; height: 48px; }
}


/* ============================================
   LAYOUT PRINCIPAL: contenido + sidebar
   ============================================ */
.tour-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    padding: 2rem 5% 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.tour-content { width: 100%; }


/* ============================================
   SECCIONES DEL TOUR
   ============================================ */
.section-tour {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.section-tour h2 {
    color: #0d5675;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-tour h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f2aa21, #39b671);
    border-radius: 2px;
    margin-top: 0.5rem;
}

/* Info general — cards de datos rápidos */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.info-card {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(13, 86, 117, 0.08);
    transition: all 0.3s;
}

.info-card:hover {
    border-color: #0d5675;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 86, 117, 0.1);
}

.info-card-icon { font-size: 1.8rem; margin-bottom: 0.4rem; }

.info-card-label {
    color: #0d5675;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 0.3rem;
}

.info-card-value { font-size: 0.95rem; color: #555; }

/* Alert informativa */
.alert-info {
    background: #e3f2fd;
    border-left: 4px solid #04a2e1;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #0d5675;
    line-height: 1.4;
}


/* ============================================
   ITINERARIO
   ============================================ */
.itinerario-day {
    background: #f8f9fa;
    border-left: 5px solid #39b671;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 0 12px 12px 0;
    transition: all 0.3s;
}

.itinerario-day:hover {
    box-shadow: 0 5px 20px rgba(57, 182, 113, 0.15);
    transform: translateX(4px);
}

.itinerario-day h3 {
    color: #0d5675;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.day-number {
    background: linear-gradient(135deg, #39b671, #0d5675);
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(57, 182, 113, 0.4);
}

.timeline-item {
    padding: 0.3rem 0 0.5rem 2rem;
    position: relative;
    border-left: 2px dashed #d0e8d0;
    margin-left: 0.5rem;
}

.timeline-item:last-child { border-left-color: transparent; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background: #39b671;
    border-radius: 50%;
}

.timeline-time {
    color: #f2aa21;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.timeline-item p {
    color: #555;
    line-height: 1.5;
    font-size: 0.95rem;
}


/* ============================================
   INCLUYE / NO INCLUYE
   ============================================ */
.incluye-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.incluye-list {
    background: linear-gradient(135deg, #f0faf4, #e8f5e9);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(57, 182, 113, 0.2);
}

.incluye-list h3 {
    color: #39b671;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.no-incluye-list {
    background: linear-gradient(135deg, #fff5f5, #ffebee);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(251, 7, 7, 0.15);
}

.no-incluye-list h3 {
    color: #e53935;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.incluye-list ul,
.no-incluye-list ul {
    list-style: none;
    padding: 0;
}

.incluye-list li,
.no-incluye-list li {
    padding: 0.5rem 0 0.5rem 1.6rem;
    position: relative;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.4;
}

.incluye-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #39b671;
    font-weight: 700;
}

.no-incluye-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #e53935;
    font-weight: 700;
}

@media (max-width: 600px) {
    .incluye-grid { grid-template-columns: 1fr; }
}


/* ============================================
   RECOMENDACIONES
   ============================================ */
.recomendaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
}

.recomendacion-card {
    background: #fff8e6;
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid #f2aa21;
    transition: all 0.3s;
}

.recomendacion-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 170, 33, 0.2);
}

.recomendacion-card h4 {
    color: #0d5675;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.recomendacion-card ul {
    margin-left: 1.2rem;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}


/* ============================================
   PUNTO DE EMBARQUE
   ============================================ */
.embarque-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.embarque-box h3 {
    color: #0d5675;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.embarque-aviso {
    background: #fff3cd;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    border-left: 4px solid #f2aa21;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #775035;
}


/* ============================================
   SIDEBAR DE RESERVA — FLOTANTE EN DESKTOP
   En desktop: position sticky que sigue el scroll.
   En móvil: aparece arriba del contenido (order: -1).
   ============================================ */
.reserva-sidebar {
    /* sticky dentro del grid — sigue al usuario mientras baja */
    position: sticky;
    top: 150px;   /* debajo del header (70px) + menu tour (~60px) + margen */
    height: fit-content;
    align-self: start;
}

.reserva-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    border: 1.5px solid #f2aa21;
}

.precio-box {
    text-align: center;
    background: linear-gradient(135deg, #0d5675, #044c72);
    color: white;
    padding: 0.5rem;
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.precio-desde {
    font-size: 0.85rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.precio-cantidad {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f2aa21;
    line-height: 0.8;
    margin: 0.3rem 0;
    font-family: 'Quicksand', sans-serif;
}

.precio-antes-sidebar {
    font-size: 1rem;
    text-decoration: line-through;
    opacity: 0.6;
    margin-bottom: 0.2rem;
}

.precio-descuento-badge {
    display: inline-block;
    background: #fb0707;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.precio-persona { font-size: 0.85rem; opacity: 0.85; }

/* Formulario */
.form-reserva {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group { display: flex; flex-direction: column; }

.form-group label {
    color: #0d5675;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 0.5rem 1rem;
    border: 1.2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0d5675;
    box-shadow: 0 0 0 3px rgba(13, 86, 117, 0.08);
}

.btn-reservar {
    background: linear-gradient(135deg, #39b671, #2ea05e);
    color: white;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.btn-reservar:hover {
    background: linear-gradient(135deg, #2ea05e, #278a4f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 182, 113, 0.4);
}

.info-adicional {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
}

.info-adicional ul { margin-left: 1.2rem; margin-top: 0.3rem; }

.promo-box {
    background: #e8f5e9;
    border-radius: 8px;
    padding: 0.8rem;
    margin-top: 0.8rem;
    font-size: 0.88rem;
}

/* Responsive sidebar: en móvil va arriba */
@media (max-width: 968px) {
    .tour-layout {
        grid-template-columns: 1fr;
    }

    .reserva-sidebar {
        position: static;  /* deja de ser sticky */
        order: -1;          /* sube encima del contenido */
    }

    .reserva-card { max-width: 500px; margin: 0 auto; }
}


/* ============================================
   FOOTER — idéntico al principal (.footer-improved)
   ============================================ */
.footer-improved {
    position: relative;
    color: white;
    padding: 4rem 0 0;
    margin-top: 4rem;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.footer-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(13, 86, 117, 0.95) 0%, rgba(8, 60, 80, 0.95) 100%);
    z-index: 1;
}

.footer-content-improved {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
}

.footer-logo { margin-bottom: 1.5rem; }
.footer-logo img { filter: brightness(0) invert(1); }

.footer-section h4 { color: #f2aa21; margin-bottom: 1.5rem; }
.footer-section h5 { color: rgba(255,255,255,0.9); margin-bottom: 1rem; font-weight: normal; }

.footer-links a,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-section a:hover {
    color: #f2aa21;
    padding-left: 0.5rem;
}

.footer-info p { color: rgba(255,255,255,0.8); margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer-info a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer-info a:hover { color: #f2aa21; }
.footer-slogan { font-style: italic; opacity: 0.7; margin-top: 1rem !important; font-size: 0.88rem !important; }

/* Redes sociales circulares */
.footer-social-circles {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.social-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: relative;
    overflow: hidden;
}

.social-circle::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s;
}

.social-circle:hover::before { transform: scale(1); }

.social-circle:hover {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-circle img {
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.social-circle:hover img { transform: scale(1.1); }

.social-circle.facebook:hover  { background: #1877f2; border-color: #1877f2; }
.social-circle.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: #e1306c; }
.social-circle.tiktok:hover    { background: #000; border-color: #69c9d0; }
.social-circle.youtube:hover   { background: #ff0000; border-color: #ff0000; }
.social-circle.linkedin:hover  { background: #0077b5; border-color: #0077b5; }

/* Métodos de pago */
.metodos-pago { margin-top: 2rem; }
.metodos-pago h4 { font-size: 1rem; margin-bottom: 1rem; color: white; }

.pago-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.pago-item {
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    height: 40px;
}

.pago-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.pago-item img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Botones del footer */
.footer-buttons { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }

.footer-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    font-family: inherit;
}

.footer-btn img { filter: brightness(0) invert(1); }
.footer-btn:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.libro-btn:hover  { border-color: #f2aa21; }
.protegeme-btn:hover { border-color: #39b671; }

/* Copyright */
.copyright {
    background: rgba(0, 0, 0, 0.35);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 3;
}

.copyright p { color: rgba(255,255,255,0.9); margin: 0; font-size: 0.9rem; }
.copyright-secondary { opacity: 0.7; font-size: 0.85rem !important; margin-top: 0.5rem !important; }

/* Responsive footer */
@media (max-width: 1024px) {
    .footer-content-improved { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .pago-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .footer-improved { margin-top: 2rem; }
    .footer-content-improved { grid-template-columns: 1fr; }
    .footer-social-circles { justify-content: center; }
    .social-circle { width: 45px; height: 45px; }
    .pago-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ============================================
   WHATSAPP FLOTANTE — idéntico al principal
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover { transform: scale(1.15); }

.whatsapp-float img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s;
}

.whatsapp-float:hover img { transform: scale(1.1); }
/* ============================================================
   SECCIÓN "TOURS MÁS BUSCADOS" — Carrusel en páginas de tour
   Agregar al final de tour-styles.css.
   Reutiliza las clases .carousel-container, .sugerencia-card, etc.
   que ya están definidas más arriba en este mismo archivo
   (copiadas del styles.css principal).
   ============================================================ */

.tours-sugerencias-section {
    background: #f8f9fa;
    padding: 3rem 1rem 2rem;
    text-align: center;
}

.tours-sugerencias-section .section-title {
    font-size: 2rem;
    color: #0d5675;
    margin-bottom: 0.4rem;
}

.tours-sugerencias-section .section-subtitle {
    color: #777;
    font-size: 1rem;
    margin-bottom: 0;
}


/* ── Indicadores (puntos) del carrusel de tours ─────────────── */
/* Si aún no tienes .carousel-indicator en tour-styles.css,
   agrega también este bloque: */

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    padding: 0;
}

.carousel-indicator.active {
    background: #0d5675;
    transform: scale(1.3);
}
 
/* ============================================================
   1. CARRUSEL — clases compartidas con el principal
   ============================================================ */
 
.carousel-container {
    position: relative;
    max-width: 1500px;
    margin: 3rem auto 0;
    padding: 0 80px;
    overflow: hidden;
}
 
.carousel-wrapper {
    overflow: hidden;
    border-radius: 10px;
    padding: 20px 15px;
}
 
.sugerencias-slider {
    display: flex;
    gap: 2rem;
    transition: transform 0.4s ease;
}
 
.sugerencia-card {
    width: 280px;
    flex-shrink: 0;
    background: rgb(248, 245, 234);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
 
.sugerencia-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 5;
}
 
.sugerencia-imagen {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}
 
.sugerencia-content { padding: 1.5rem; }
 
.sugerencia-content h3 {
    color: #0d5675;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}
 
.sugerencia-duracion {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
 
.sugerencia-duracion img { flex-shrink: 0; }
 
.sugerencia-precio {
    color: #39b671;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}
 
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 86, 117, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
 
.carousel-btn:hover {
    background: #0d5675;
    transform: translateY(-50%) scale(1.1);
}
 
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
 
.carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; }
 
/* Indicadores (puntos) */
.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
}
 
.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}
 
.carousel-indicator:hover {
    background: #9ca3af;
    transform: scale(1.2);
}
 
.carousel-indicator.active {
    background: #0d5675;
    width: 30px;
    border-radius: 5px;
}
 
@keyframes ripple {
    from { width: 0; height: 0; opacity: 1; }
    to   { width: 30px; height: 30px; opacity: 0; }
}
 
/* Responsive carrusel */
@media (max-width: 1200px) {
    .carousel-container { max-width: 1100px; padding: 0 70px; }
    .sugerencia-card { width: 300px; }
}
 
@media (max-width: 968px) {
    .carousel-container { max-width: 750px; padding: 0 60px; }
    .sugerencia-card { width: 300px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 1.5rem; }
    .carousel-btn.prev { left: 8px; }
    .carousel-btn.next { right: 8px; }
}
 
@media (max-width: 768px) {
    .carousel-container { max-width: 650px; padding: 0 50px; }
    .sugerencia-card { width: 260px; }
    .sugerencias-slider { gap: 1.5rem; }
    .carousel-indicators { gap: 0.4rem; margin-top: 1.5rem; }
    .carousel-indicator { width: 8px; height: 8px; }
    .carousel-indicator.active { width: 24px; }
}
 
@media (max-width: 480px) {
    .carousel-container { max-width: 380px; padding: 0 50px; }
    .sugerencia-card { width: 280px; }
    .sugerencias-slider { gap: 1rem; }
    .carousel-btn { width: 35px; height: 35px; font-size: 1.3rem; }
    .carousel-btn.prev { left: 5px; }
    .carousel-btn.next { right: 5px; }
}
 
 
/* ============================================================
   2. MODAL PROTÉGEME (y base para cualquier modal futuro)
   ============================================================ */
 
/* Overlay oscuro a pantalla completa — position: fixed es la clave */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeInModal 0.3s;
}
 
@keyframes fadeInModal {
    from { opacity: 0; }
    to   { opacity: 1; }
}
 
/* Caja blanca centrada dentro del overlay */
.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideDownModal 0.3s;
}
 
@keyframes slideDownModal {
    from { transform: translateY(-50px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}
 
/* Botón X de cierre */
.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: #f0f0f0;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #666;
    font-weight: bold;
    z-index: 10;
    flex-shrink: 0;
}
 
.modal-close:hover {
    background: #fb0707;
    color: white;
    transform: rotate(90deg);
}
 
/* Variante específica para el afiche de Protégeme:
   fondo transparente, imagen a ancho completo */
.modal-affiche {
    max-width: 1100px;
    width: 95%;
    padding: 0;
    background: transparent;
    box-shadow: none;
}
 
.affiche-container {
    position: relative;
    width: 100%;
}
 
.affiche-imagen {
    width: 100%;
    height: auto;
    max-height: 180vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
 
/* Botón X del afiche: flotante sobre la esquina de la imagen */
.modal-affiche .modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: white;
    color: #333;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 2rem;
    border: 3px solid #0d5675;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
 
@media (max-width: 768px) {
    .modal-content { width: 95%; margin: 5% auto; }
    .modal-close { width: 35px; height: 35px; font-size: 1.3rem; }
}