/* =====================================================================
   Perú Sur Viajes — Hoja de estilos principal
   Paleta inspirada en el logo: azul andino, terracota y dorado sol
   ===================================================================== */

:root {
    --azul:        #2a6fb0;
    --azul-osc:    #1d4e7c;
    --azul-claro:  #eaf3fb;
    --terracota:   #9c3b2e;
    --terracota-2: #c0492f;
    --dorado:      #f2a93b;
    --dorado-osc:  #e0900f;
    --verde:       #2e8b6f;
    --texto:       #20303d;
    --texto-2:     #5a6b78;
    --bg:          #ffffff;
    --bg-2:        #f6f9fc;
    --borde:       #e3eaf0;
    --sombra:      0 8px 30px rgba(29, 78, 124, .12);
    --sombra-sm:   0 3px 12px rgba(29, 78, 124, .10);
    --radio:       16px;
    --radio-sm:    10px;
    --max:         1200px;
    --wsp:         #25d366;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    color: var(--texto);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

section { padding: 70px 0; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow {
    color: var(--terracota-2);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px;
}
.section-head h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin: 8px 0 14px;
    color: var(--azul-osc);
}
.section-head p { color: var(--texto-2); font-size: 17px; }

/* ───────── Botones ───────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .25s ease;
    font-family: inherit;
}
.btn-primary { background: var(--dorado); color: #3a2a08; box-shadow: 0 6px 18px rgba(242,169,59,.4); }
.btn-primary:hover { background: var(--dorado-osc); transform: translateY(-2px); }
.btn-wsp { background: var(--wsp); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.4); }
.btn-wsp:hover { background: #1ebe5a; transform: translateY(-2px); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--azul-osc); }
.btn-azul { background: var(--azul); color: #fff; }
.btn-azul:hover { background: var(--azul-osc); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ───────── Header / Navbar ───────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--borde);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--sombra-sm); }
.navbar {
    display: flex; align-items: center; justify-content: space-between;
    height: 88px;
}
.brand { display: flex; align-items: center; gap: 12px; height: 100%; }
/* Logo grande: ocupa casi todo el alto de la barra */
.brand img { height: 78px; max-height: 80px; width: auto; object-fit: contain; }
.brand .brand-logo-fallback {
    display: flex; align-items: center; gap: 10px;
}
.brand .mtns {
    width: 44px; height: 44px; border-radius: 10px;
    background: linear-gradient(135deg, var(--azul), var(--azul-osc));
    display: grid; place-items: center; color: var(--dorado); font-size: 22px;
}
.brand .brand-text strong { color: var(--terracota); font-size: 18px; letter-spacing: .5px; line-height: 1; display: block; }
.brand .brand-text small { color: var(--texto-2); font-size: 11px; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
    padding: 9px 14px; border-radius: 8px; font-weight: 500; font-size: 15px;
    color: var(--texto); transition: all .2s;
}
.nav-links a:hover { background: var(--azul-claro); color: var(--azul); }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--azul-osc); }

/* Ocultar la barra/banner del traductor de Google */
.goog-te-banner-frame, .goog-te-banner-frame.skiptranslate, iframe.skiptranslate { display: none !important; visibility: hidden !important; }
body { top: 0 !important; position: static !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
#google_translate_element { display: none !important; }

/* Grupo derecho del navbar (menú + banderas + hamburguesa) */
.nav-right { display: flex; align-items: center; gap: 12px; }

/* Selector de idioma (banderas circulares, siempre visibles) */
.lang-switch { display: inline-flex; align-items: center; gap: 8px; }
.flag { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: block; border: 2px solid var(--borde); transition: all .2s; flex-shrink: 0; cursor: pointer; background: #fff; padding: 0; }
.flag svg { width: 100%; height: 100%; display: block; }
.flag:hover { transform: scale(1.1); border-color: var(--azul); }
.flag.active { border-color: var(--dorado); box-shadow: 0 0 0 2px rgba(242,169,59,.35); }

/* ───────── Hero ───────── */
/* La imagen y el degradado se aplican inline desde index.php (configurables).
   Aquí solo quedan posición/tamaño/anclaje para no romper el ajuste móvil. */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex; align-items: center;
    color: #fff; text-align: center;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-color: #1d4e7c;
}
.hero-content { max-width: 820px; margin: 0 auto; padding: 40px 20px; }
.hero h1 {
    font-size: clamp(34px, 6vw, 60px);
    font-weight: 700; line-height: 1.1; margin-bottom: 18px;
    text-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.hero p { font-size: clamp(16px, 2.2vw, 21px); opacity: .95; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.hero-badge { text-align: center; }
.hero-badge .num { font-size: 30px; font-weight: 700; color: var(--dorado); }
.hero-badge .lbl { font-size: 13px; opacity: .9; }

/* ───────── Búsqueda flotante ───────── */
.search-bar {
    max-width: 760px; margin: -42px auto 0; position: relative; z-index: 5;
    background: #fff; border-radius: var(--radio); box-shadow: var(--sombra);
    padding: 14px; display: flex; gap: 10px; flex-wrap: wrap;
}
.search-bar select, .search-bar input {
    flex: 1; min-width: 150px; padding: 13px 16px; border: 1px solid var(--borde);
    border-radius: var(--radio-sm); font-size: 15px; font-family: inherit; color: var(--texto);
    background: var(--bg-2);
}
.search-bar input:focus, .search-bar select:focus { outline: 2px solid var(--azul); }

/* ───────── Destinos ───────── */
.destinos-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px;
}
.destino-card {
    position: relative; height: 200px; border-radius: var(--radio); overflow: hidden;
    box-shadow: var(--sombra-sm); cursor: pointer;
}
.destino-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.destino-card:hover img { transform: scale(1.1); }
.destino-card .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 35%, rgba(20,45,70,.85));
    display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff;
}
.destino-card .overlay h3 { font-size: 21px; }
.destino-card .overlay span { font-size: 13px; opacity: .9; }

/* ───────── Tabla informativa de región ───────── */
.region-tabla-wrap { margin: 0 auto 36px; overflow-x: auto; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra-sm); }
.region-tabla { width: 100%; border-collapse: collapse; min-width: 640px; }
.region-tabla thead th { background: linear-gradient(135deg, var(--azul), var(--azul-osc)); color: #fff; text-align: left; padding: 14px 16px; font-size: 14px; font-weight: 600; }
.region-tabla tbody td { padding: 12px 16px; border-bottom: 1px solid var(--borde); color: var(--texto); font-size: 14.5px; vertical-align: top; }
.region-tabla tbody tr:nth-child(even) { background: var(--bg-2); }
.region-tabla tbody tr:hover { background: var(--azul-claro); }
.region-tabla tbody tr:last-child td { border-bottom: none; }

@media (max-width: 640px) {
    .region-tabla-wrap { overflow-x: visible; }
    .region-tabla { min-width: 0; }
    .region-tabla thead { display: none; }
    .region-tabla, .region-tabla tbody, .region-tabla tr, .region-tabla td { display: block; width: 100%; }
    .region-tabla tr { border-bottom: 2px solid var(--borde); padding: 6px 0; }
    .region-tabla td { border: none; padding: 6px 16px; }
    .region-tabla td::before { content: attr(data-th) ": "; font-weight: 700; color: var(--azul-osc); }
    .region-tabla td:empty { display: none; }
}

/* Editor de tabla de región (admin) usa estilos del panel admin */

/* ───────── Paquetes ───────── */
.paquetes-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 28px;
}
.paquete-card {
    background: #fff; border-radius: var(--radio); overflow: hidden;
    box-shadow: var(--sombra-sm); border: 1px solid var(--borde);
    transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.paquete-card:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.paquete-thumb { position: relative; height: 210px; overflow: hidden; }
.paquete-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.paquete-card:hover .paquete-thumb img { transform: scale(1.08); }
.paquete-thumb .destino-tag {
    position: absolute; top: 14px; left: 14px;
    background: rgba(255,255,255,.92); color: var(--azul-osc);
    padding: 5px 13px; border-radius: 50px; font-size: 12px; font-weight: 600;
    display: flex; align-items: center; gap: 5px;
}
.paquete-thumb .badge-oferta {
    position: absolute; top: 14px; right: 14px;
    background: var(--terracota-2); color: #fff; padding: 5px 12px;
    border-radius: 50px; font-size: 12px; font-weight: 700;
}
.paquete-thumb .play-yt {
    position: absolute; bottom: 14px; right: 14px;
    width: 42px; height: 42px; border-radius: 50%; background: rgba(229,9,20,.92);
    color: #fff; display: grid; place-items: center; font-size: 16px;
}
.paquete-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.paquete-body h3 { font-size: 19px; color: var(--azul-osc); margin-bottom: 8px; }
.paquete-body .resumen { color: var(--texto-2); font-size: 14.5px; flex: 1; margin-bottom: 14px; }
.paquete-meta { display: flex; gap: 14px; font-size: 13px; color: var(--texto-2); margin-bottom: 14px; }
.paquete-meta span { display: flex; align-items: center; gap: 5px; }
.paquete-precio { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.paquete-precio .now { font-size: 26px; font-weight: 700; color: var(--terracota); }
.paquete-precio .before { font-size: 15px; color: var(--texto-2); text-decoration: line-through; }
.paquete-precio .pp { font-size: 12px; color: var(--texto-2); }
.paquete-actions { display: flex; gap: 10px; }
.paquete-actions .btn { flex: 1; justify-content: center; }

/* ───────── Detalle de paquete ───────── */
.detalle-hero {
    position: relative; height: 56vh; min-height: 360px; color: #fff;
    display: flex; align-items: flex-end;
    background-size: cover; background-position: center;
}
.detalle-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(20,45,70,.9)); }
.detalle-hero .container { position: relative; z-index: 2; padding-bottom: 36px; }
.detalle-hero .destino-tag { background: var(--dorado); color: #3a2a08; display: inline-flex; padding: 6px 16px; border-radius: 50px; font-weight: 600; font-size: 13px; margin-bottom: 12px; }
.detalle-hero h1 { font-size: clamp(28px, 5vw, 46px); text-shadow: 0 3px 12px rgba(0,0,0,.4); }

.detalle-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; margin-top: 50px; }
.detalle-main h2 { color: var(--azul-osc); font-size: 24px; margin: 28px 0 14px; }
.detalle-main h2:first-child { margin-top: 0; }
.detalle-main p { color: var(--texto-2); margin-bottom: 14px; }
.lista-check li, .lista-cross li, .lista-num li {
    padding: 8px 0 8px 32px; position: relative; color: var(--texto); border-bottom: 1px dashed var(--borde);
}
.lista-check li::before { content: '✓'; position: absolute; left: 0; color: var(--verde); font-weight: 700; background: #e7f6f0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; }
.lista-cross li::before { content: '✕'; position: absolute; left: 0; color: var(--terracota-2); font-weight: 700; background: #fbeae7; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.lista-num { counter-reset: it; }
.lista-num li { counter-increment: it; }
.lista-num li::before { content: counter(it); position: absolute; left: 0; color: #fff; background: var(--azul); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }

/* Itinerario por días */
.dias-timeline { margin: 16px 0 6px; }
.dia-bloque { display: flex; gap: 18px; margin-bottom: 22px; position: relative; }
.dia-bloque:last-child { margin-bottom: 0; }
/* Línea vertical que conecta los días */
.dia-bloque::before { content: ''; position: absolute; left: 21px; top: 48px; bottom: -22px; width: 2px; background: var(--borde); z-index: 0; }
.dia-bloque:last-child::before { display: none; }
.dia-tag { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--azul), var(--azul-osc)); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; line-height: 1.1; text-align: center; z-index: 1; box-shadow: 0 4px 10px rgba(29,78,124,.25); }
/* Cada día es una tarjeta separada con su propio espacio */
.dia-cuerpo { flex: 1; background: var(--bg-2); border: 1px solid var(--borde); border-radius: var(--radio-sm); padding: 16px 22px; }
.dia-cuerpo h3 { color: var(--azul-osc); font-size: 18px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--borde); }
.dia-cuerpo .lista-check { margin: 0; }
.dia-cuerpo .lista-check li { padding: 9px 0 9px 32px; border-bottom: none; line-height: 1.5; }

/* Condiciones y restricciones */
.condiciones-box { background: #fff8ec; border: 1px solid #f1dcb4; border-left: 4px solid var(--dorado); border-radius: var(--radio-sm); padding: 6px 22px 14px; margin-top: 28px; }
.condiciones-box h2 { color: #9a6b00 !important; font-size: 20px !important; }
.lista-cond li { position: relative; padding: 7px 0 7px 22px; color: #6b5320; font-size: 14.5px; }
.lista-cond li::before { content: '*'; position: absolute; left: 0; top: 10px; color: var(--dorado-osc); font-weight: 700; font-size: 18px; }

/* Enlace de términos y condiciones (PDF) */
.terminos-link {
    display: flex; align-items: center; gap: 12px; margin-top: 26px;
    padding: 14px 18px; border: 1px solid var(--borde); border-radius: var(--radio-sm);
    background: var(--bg-2); color: var(--azul-osc); font-weight: 600; transition: all .2s;
}
.terminos-link:hover { border-color: var(--azul); background: var(--azul-claro); transform: translateY(-1px); }
.terminos-link > i:first-child { color: #c0392b; font-size: 24px; }
.terminos-link span { flex: 1; }
.terminos-link small { display: block; font-weight: 400; color: var(--texto-2); font-size: 12.5px; }
.terminos-link > i:last-child { color: var(--azul); }

.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra-sm); margin: 10px 0 20px; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 10px 0; }
.galeria img { height: 110px; width: 100%; object-fit: cover; border-radius: var(--radio-sm); cursor: pointer; transition: transform .3s; }
.galeria img:hover { transform: scale(1.04); }

.detalle-aside { position: sticky; top: 96px; align-self: start; }
.precio-box { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 26px; box-shadow: var(--sombra-sm); text-align: center; }
.precio-box .label { color: var(--texto-2); font-size: 14px; }
.precio-box .precio-big { font-size: 42px; font-weight: 700; color: var(--terracota); line-height: 1.1; }
.precio-box .before { text-decoration: line-through; color: var(--texto-2); }
.precio-box .pp { color: var(--texto-2); font-size: 13px; margin-bottom: 18px; }
.precio-box .info-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--borde); font-size: 14.5px; }
.precio-box .info-row span:first-child { color: var(--texto-2); }
.precio-box .info-row span:last-child { font-weight: 600; }
.precio-box .btn { margin-top: 20px; }
.precio-box .safe { font-size: 12.5px; color: var(--texto-2); margin-top: 14px; }

/* ───────── Sobre nosotros ───────── */
.sobre { background: var(--bg-2); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.sobre-grid img { border-radius: var(--radio); box-shadow: var(--sombra); height: 100%; object-fit: cover; }
.sobre-text h2 { color: var(--azul-osc); font-size: 32px; margin-bottom: 16px; }
.sobre-text p { color: var(--texto-2); margin-bottom: 20px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.feature { display: flex; gap: 12px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--azul-claro); color: var(--azul); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.feature strong { display: block; font-size: 15px; }
.feature small { color: var(--texto-2); font-size: 13px; }

/* ───────── Contacto / CTA ───────── */
.cta-wsp {
    background: linear-gradient(135deg, var(--azul), var(--azul-osc));
    color: #fff; text-align: center; border-radius: 0;
}
.cta-wsp h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.cta-wsp p { opacity: .92; max-width: 620px; margin: 0 auto 28px; font-size: 17px; }

.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contacto-grid.one-col { grid-template-columns: 1fr; max-width: 560px; }
.contacto-info .info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contacto-info .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--azul-claro); color: var(--azul); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.contacto-info strong { display: block; }
.contacto-info a, .contacto-info span { color: var(--texto-2); }
.mapa-box { border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra-sm); min-height: 320px; }
.mapa-box iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ───────── Nuestras redes ───────── */
.redes-band { background: linear-gradient(135deg, var(--azul-osc), var(--azul)); color: #fff; padding: 50px 0; text-align: center; }
.redes-band h3 { font-size: clamp(24px, 3.5vw, 32px); margin-bottom: 8px; }
.redes-band p { opacity: .9; margin-bottom: 28px; }
.redes-grid { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.red-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 120px; height: 110px; border-radius: var(--radio); background: rgba(255,255,255,.12); color: #fff; font-weight: 600; font-size: 14px; transition: all .25s; backdrop-filter: blur(4px); }
.red-btn i { font-size: 30px; }
.red-btn:hover { transform: translateY(-5px); background: #fff; }
.red-btn.red-facebook:hover { color: #1877f2; }
.red-btn.red-instagram:hover { color: #e1306c; }
.red-btn.red-youtube:hover { color: #ff0000; }
.red-btn.red-tiktok:hover { color: #000; }
.red-btn.red-whatsapp:hover { color: #25d366; }

/* ───────── Modal de cotización ───────── */
.modal-bg { position: fixed; inset: 0; background: rgba(15,34,51,.6); backdrop-filter: blur(3px); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-bg.open { display: flex; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.modal-card { background: #fff; border-radius: var(--radio); padding: 30px 28px; width: 100%; max-width: 420px; position: relative; box-shadow: var(--sombra); animation: popIn .25s; }
@keyframes popIn { from { transform: scale(.92); opacity: 0 } to { transform: none; opacity: 1 } }
.modal-card h3 { color: var(--azul-osc); font-size: 22px; margin-bottom: 6px; }
.modal-paquete { color: var(--texto-2); font-size: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--borde); }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 28px; line-height: 1; color: var(--texto-2); cursor: pointer; }
.modal-close:hover { color: var(--terracota-2); }
.field-modal { margin-bottom: 14px; }
.field-modal label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--texto); }
.field-modal input { width: 100%; padding: 12px 14px; border: 1px solid var(--borde); border-radius: var(--radio-sm); font-size: 15px; font-family: inherit; background: var(--bg-2); }
.field-modal input:focus { outline: 2px solid var(--azul); }
.modal-card .btn { margin-top: 8px; }

/* ───────── Libro de reclamaciones (badge) ───────── */
.libro-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--azul-osc); padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 13.5px; border: 2px solid var(--dorado); }
.libro-badge:hover { background: var(--dorado); color: #3a2a08; }

/* ───────── Footer ───────── */
.site-footer { background: #122838; color: #c5d4e0; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 18px; font-size: 17px; }
.site-footer a { color: #c5d4e0; transition: color .2s; }
.site-footer a:hover { color: var(--dorado); }
.site-footer .foot-brand strong { color: var(--terracota-2); font-size: 22px; }
.site-footer .foot-brand p { margin: 14px 0; font-size: 14px; opacity: .85; }
.footer-links li { margin-bottom: 10px; font-size: 14.5px; }
.foot-social { display: flex; gap: 12px; margin-top: 14px; }
.foot-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 18px; }
.foot-social a:hover { background: var(--dorado); color: #122838; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 13.5px; opacity: .8; }

/* ───────── Libro de Reclamaciones ───────── */
.reclamo-head { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 3px solid var(--azul); margin-bottom: 24px; flex-wrap: wrap; }
.reclamo-libro { width: 60px; height: 60px; border-radius: 14px; background: var(--azul-claro); color: var(--azul); display: grid; place-items: center; font-size: 28px; flex-shrink: 0; }
.reclamo-head h1 { font-size: clamp(24px, 4vw, 34px); color: var(--azul-osc); }
.reclamo-head p { color: var(--texto-2); font-size: 14px; }
.reclamo-num { margin-left: auto; background: var(--azul); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 18px; }
.reclamo-form { max-width: 820px; }
.reclamo-fecha { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.reclamo-fecha label { font-weight: 600; color: var(--texto); }
.reclamo-fecha select { padding: 10px 12px; border: 1px solid var(--borde); border-radius: var(--radio-sm); font-family: inherit; background: var(--bg-2); }
.reclamo-sec { color: var(--azul-osc); font-size: 17px; margin: 22px 0 14px; padding: 8px 14px; background: var(--azul-claro); border-radius: var(--radio-sm); }
.reclamo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reclamo-grid .full { grid-column: 1 / -1; }
.field-r label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--texto); }
.field-r input, .field-r select, .field-r textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--borde); border-radius: var(--radio-sm); font-size: 15px; font-family: inherit; background: var(--bg-2); }
.field-r input:focus, .field-r select:focus, .field-r textarea:focus { outline: 2px solid var(--azul); }
.field-r textarea { resize: vertical; }
.alert-err { background: #fbeae7; color: #a02d20; border-radius: var(--radio-sm); padding: 14px 18px; margin-bottom: 20px; }
.alert-err div { margin: 3px 0; }
.reclamo-ok { text-align: center; max-width: 540px; margin: 30px auto; padding: 40px; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra-sm); }
.reclamo-ok .ico { font-size: 64px; color: var(--verde); margin-bottom: 14px; }
.reclamo-ok h2 { color: var(--azul-osc); margin-bottom: 12px; }
.reclamo-ok p { color: var(--texto-2); margin-bottom: 10px; }
.reclamo-ok .btn { margin-top: 16px; }
@media (max-width: 560px) { .reclamo-grid { grid-template-columns: 1fr; } .reclamo-num { margin-left: 0; } }

/* ───────── Panel de logos certificados (pie) ───────── */
.logos-band { background: #fff; padding: 30px 0; border-top: 1px solid var(--borde); }
.logos-titulo { text-align: center; color: var(--texto-2); font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.logos-grid { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.logos-grid img { height: 64px; width: auto; max-width: 180px; object-fit: contain; transition: transform .2s; }
.logos-grid img:hover { transform: scale(1.06); }
@media (max-width: 560px) { .logos-grid { gap: 26px; } .logos-grid img { height: 48px; } }

/* ───────── Botón flotante WhatsApp ───────── */
.wsp-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 99;
    width: 60px; height: 60px; border-radius: 50%; background: var(--wsp);
    color: #fff; display: grid; place-items: center; font-size: 30px;
    box-shadow: 0 8px 24px rgba(37,211,102,.5); animation: pulse 2.2s infinite;
}
.wsp-float:hover { transform: scale(1.08); }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }

/* ───────── Animación de aparición ───────── */
.reveal { opacity: 0; transform: translateY(30px); transition: all .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ───────── Estado vacío ───────── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--texto-2); }
.empty-state .ico { font-size: 50px; margin-bottom: 14px; }

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */

/* ── Tablet (≤ 980px) ── */
@media (max-width: 980px) {
    .detalle-layout { grid-template-columns: 1fr; gap: 28px; }
    .detalle-aside { position: static; }
    .sobre-grid, .contacto-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Tablet / móvil grande (≤ 768px): menú hamburguesa ── */
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 88px; right: 0; width: min(80vw, 290px); height: calc(100vh - 88px);
        background: #fff; flex-direction: column; align-items: stretch; gap: 4px;
        padding: 20px; box-shadow: -8px 0 24px rgba(0,0,0,.12);
        transform: translateX(100%); transition: transform .3s; overflow-y: auto;
    }
    .nav-links.open { transform: none; }
    .nav-links a { padding: 14px 16px; font-size: 16px; }
    .nav-cta { margin: 8px 0 0; justify-content: center; }
    .nav-toggle { display: block; }
    .features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    section { padding: 50px 0; }
    .hero { background-attachment: scroll; }
}

/* ── Smartphone (≤ 560px) ── */
@media (max-width: 560px) {
    .container { padding: 0 16px; }
    section { padding: 42px 0; }

    /* Barra superior y logo más compactos */
    .navbar { height: 68px; }
    .brand img { height: 50px; max-height: 54px; }
    .brand .mtns { width: 40px; height: 40px; font-size: 19px; }
    .brand .brand-text strong { font-size: 15px; }
    .brand .brand-text small { display: none; }
    .nav-links { top: 68px; height: calc(100vh - 68px); }
    .nav-right { gap: 8px; }
    .flag { width: 28px; height: 28px; }

    /* Hero */
    .hero { min-height: 78vh; }
    .hero-content { padding: 30px 18px; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-badges { gap: 14px 22px; margin-top: 34px; }
    .hero-badge { flex: 0 0 40%; }
    .hero-badge .num { font-size: 26px; }

    /* Buscador en columna */
    .search-bar { flex-direction: column; margin-top: -30px; padding: 12px; }
    .search-bar select, .search-bar input { width: 100%; min-width: 0; }
    .search-bar .btn { width: 100%; justify-content: center; }

    /* Grids a una columna */
    .paquetes-grid { grid-template-columns: 1fr; gap: 20px; }
    .destinos-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .destino-card { height: 150px; }
    .destino-card .overlay h3 { font-size: 18px; }

    /* Sección "nosotros" / contacto */
    .sobre-grid, .contacto-grid { gap: 28px; }
    .sobre-text h2 { font-size: 26px; }

    /* Detalle de paquete */
    .detalle-hero { height: 42vh; min-height: 260px; }
    .precio-box { padding: 22px; }
    .precio-box .precio-big { font-size: 36px; }
    .galeria { grid-template-columns: repeat(3, 1fr); }
    .galeria img { height: 84px; }
    .dia-cuerpo h3 { font-size: 16px; }

    /* CTA WhatsApp: que el botón no desborde */
    .cta-wsp .btn { width: 100%; justify-content: center; font-size: 14px; padding: 13px 16px; }

    /* Botón flotante un poco más chico */
    .wsp-float { width: 54px; height: 54px; font-size: 26px; bottom: 18px; right: 18px; }
}

/* ── Smartphone pequeño (≤ 380px) ── */
@media (max-width: 380px) {
    .hero h1 { font-size: 28px; }
    .destinos-grid { grid-template-columns: 1fr; }
    .destino-card { height: 170px; }
    .hero-badge { flex: 0 0 42%; }
    .galeria { grid-template-columns: repeat(2, 1fr); }
    .section-head p { font-size: 15px; }
}
