/*
Theme Name: Turismo USA
Theme URI: https://travelingtheworld.supermercados.pro
Author: Turismo USA
Description: Tema de turismo premium con video hero, destinos filtrables, paquetes, galería, testimonios, newsletter, contacto y páginas legales. Responsive y optimizado para SEO.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: turismo-usa
Tags: tourism, travel, business, one-column, wide-blocks, custom-logo, custom-menu
*/

/* ============================================================
   TURISMO USA · Turismo Premium
   CSS principal — estilos, animaciones y responsive
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --teal: #0b3a4d;
  --teal-dark: #082b3a;
  --teal-light: #14748f;
  --gold: #e8b54d;
  --gold-dark: #d09a2f;
  --cream: #fdf8f0;
  --white: #ffffff;
  --ink: #1d2b32;
  --muted: #5f737d;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(8, 43, 58, .18);
  --shadow-lg: 0 20px 60px rgba(8, 43, 58, .28);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-light); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.hidden { display: none !important; }
em { color: var(--gold); font-style: normal; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border: 0; border-radius: 50px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn:active { transform: scale(.97); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff; box-shadow: 0 8px 24px rgba(232,181,77,.4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232,181,77,.5); color: #fff; }
.btn-dark { background: var(--teal-dark); color: #fff; }
.btn-dark:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--teal); }
.btn-light:hover { background: var(--cream); }
.btn-outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* Mejor toque táctil en móviles */
.btn, .filter-btn, .card-destino, .card-tour, .gallery-item, .slider-btn, .back-to-top, .dot, .nav-cta, .btn-reservar {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ---------- Navegación ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0; transition: background .35s, padding .35s, box-shadow .35s;
}
.header.sticky {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 6px 24px rgba(8,43,58,.12);
}
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo-mark { font-size: 1.7rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.logo-text { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; letter-spacing: .02em; }
.logo-text span { color: var(--gold); }
.header.sticky .logo { color: var(--teal); }
.logo-footer { color: #fff; }

.nav-menu { display: flex; align-items: center; gap: 22px; }
.nav-link {
  position: relative; color: rgba(255,255,255,.92);
  font-size: .92rem; font-weight: 500; padding: 6px 0;
}
.header.sticky .nav-link { color: var(--ink); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width .3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--gold); }
.header.sticky .nav-link.active { color: var(--gold-dark); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff !important; padding: 9px 20px; border-radius: 50px; font-weight: 600;
  box-shadow: 0 6px 18px rgba(232,181,77,.4);
}
.nav-cta:hover { transform: translateY(-2px); }
.header.sticky .nav-cta { color: #fff !important; }

/* Toggle móvil */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; z-index: 110; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: .3s; }
.header.sticky .nav-toggle span { background: var(--teal); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.header.sticky .nav-toggle.open span { background: var(--teal); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.video-background {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, #0b3a4d, #103f5c), url('img/usa-hero.jpg') center/cover no-repeat;
  background-blend-mode: multiply;
}
.video-background video {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.72);
}
.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,43,58,.25) 0%, rgba(8,43,58,.45) 60%, var(--teal-dark) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 850px; padding: 140px 0 120px; }
.hero-badge {
  display: inline-block; background: rgba(232,181,77,.16);
  border: 1px solid rgba(232,181,77,.5); color: var(--gold);
  padding: 8px 16px; border-radius: 50px; font-size: .85rem; font-weight: 600;
  margin-bottom: 26px; backdrop-filter: blur(6px);
}
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero-accent { font-family: var(--font-head); font-style: italic; color: var(--gold); }
.hero-content p { margin: 22px 0 34px; font-size: 1.1rem; max-width: 560px; opacity: .95; }

/* Buscador */
.search-box {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(14px); border-radius: 20px; padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25); max-width: 800px;
}
.field { flex: 1 1 160px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.field select, .field input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.35);
  background: rgba(8,43,58,.55); color: #fff; font-family: inherit; font-size: .95rem; outline: none;
  transition: border-color .25s, background .25s;
}
.field select option { color: var(--ink); background: #fff; }
.field-date input::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }
.field select:focus, .field input:focus { border-color: var(--gold); background: rgba(8,43,58,.8); }
.search-box .btn { flex: 1 1 160px; }

.hero-scroll { margin-top: 46px; }
.mouse { display: block; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px; position: relative; margin: 0 auto; }
.mouse span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 9px; margin-left: -2px;
  background: var(--gold); border-radius: 3px; animation: scrollWheel 1.8s infinite;
}
@keyframes scrollWheel { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 22px; } }

/* ---------- Stats ---------- */
.stats { background: var(--teal-dark); color: #fff; position: relative; z-index: 3; }
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  padding: 48px 0; text-align: center;
}
.stat-num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--gold); display: block; }
.stat-label { font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }

/* ---------- Secciones ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.section-tag {
  display: inline-block; color: var(--gold-dark); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--teal-dark); }
.section-head p { color: var(--muted); margin-top: 14px; }

/* ---------- Filtros ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 44px; }
.filter-btn {
  background: #fff; border: 2px solid #e4e4e4; color: var(--muted);
  padding: 9px 22px; border-radius: 50px; font-size: .9rem; font-weight: 600;
  transition: all .25s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(11,58,77,.3); }

/* ---------- Tarjetas destino ---------- */
.destino-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-destino {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); cursor: pointer; transition: transform .35s, box-shadow .35s;
  animation: fadeUp .6s ease both;
}
.card-destino:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-destino img { width: 100%; height: 340px; object-fit: cover; transition: transform .6s; }
.card-destino:hover img { transform: scale(1.08); }
.card-body {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; color: #fff; z-index: 2;
  background: linear-gradient(180deg, transparent 40%, rgba(8,43,58,.92));
}
.card-tag {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  background: rgba(232,181,77,.9); color: #fff; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; padding: 5px 12px; border-radius: 30px;
}
.card-body h3 { font-size: 1.5rem; }
.card-body p { font-size: .92rem; opacity: .92; margin: 6px 0 14px; }
.card-meta { display: flex; gap: 16px; font-size: .82rem; opacity: .9; }
.btn-reservar { margin-top: 16px; align-self: flex-start; padding: 9px 18px; background: var(--gold); border-radius: 50px; color: #fff; font-weight: 600; font-size: .85rem; border: 0; transition: transform .25s, background .25s; }
.btn-reservar:hover { background: var(--gold-dark); transform: translateY(-2px); }
.no-results { text-align: center; color: var(--muted); padding: 30px; font-size: 1.05rem; }

/* ---------- Paquetes ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-tour {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .35s, box-shadow .35s;
  animation: fadeUp .6s ease both;
}
.card-tour:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-tour-media { position: relative; }
.card-tour img { width: 100%; height: 220px; object-fit: cover; }
.tour-badge {
  position: absolute; right: 16px; bottom: -20px; z-index: 3;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #fff;
  padding: 10px 18px; border-radius: 14px; font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 20px rgba(232,181,77,.45);
  pointer-events: none;
}
.tour-tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  background: rgba(11,58,77,.85); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 30px;
}
.card-tour-content { padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-tour-content h3 { color: var(--teal-dark); font-size: 1.3rem; }
.tour-includes { display: flex; flex-wrap: wrap; gap: 8px; }
.tour-includes span {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--cream); border: 1px solid #f0e6d2; color: var(--muted);
  font-size: .78rem; padding: 5px 10px; border-radius: 30px;
}
.card-tour-btn { margin-top: auto; }
.center { text-align: center; margin-top: 48px; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
  border-top: 4px solid var(--gold);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 2.4rem; display: block; margin-bottom: 14px; }
.feature h3 { color: var(--teal-dark); margin-bottom: 8px; font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: .92rem; }

/* ---------- Galería ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item {
  position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow); height: 230px;
}
.gallery-item.tall { grid-row: span 2; height: 478px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .5s; }
.gallery-item:hover img { transform: scale(1.1); filter: brightness(.6); }
.gallery-item .gallery-cap {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  opacity: 0; transition: opacity .4s; text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.gallery-item:hover .gallery-cap { opacity: 1; }

/* ---------- Testimonios ---------- */
.slider { position: relative; max-width: 760px; margin: 0 auto; }
.slider-track { overflow: hidden; }
.slide {
  background: #fff; border-radius: 20px; padding: 40px; text-align: center;
  box-shadow: var(--shadow); display: none; animation: slideIn .5s ease;
}
.slide.active { display: block; }
.rating { color: var(--gold); font-size: 1.3rem; letter-spacing: 4px; margin-bottom: 16px; }
blockquote { font-family: var(--font-head); font-size: 1.25rem; line-height: 1.6; color: var(--teal-dark); font-style: italic; }
figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
figcaption strong { display: block; color: var(--ink); }
figcaption small { color: var(--muted); }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--teal); color: #fff; font-size: 1.6rem; line-height: 1;
  box-shadow: var(--shadow); transition: background .25s, transform .25s;
}
.slider-btn:hover { background: var(--teal-light); transform: translateY(-50%) scale(1.08); }
.slider-btn.prev { left: -60px; }
.slider-btn.next { right: -60px; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #d8d8d8; border: 0; transition: .3s; }
.dot.active { background: var(--gold); transform: scale(1.3); }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }

/* ---------- Newsletter ---------- */
.newsletter { padding: 80px 0; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.newsletter-box { display: flex; align-items: center; gap: 40px; color: #fff; flex-wrap: wrap; }
.newsletter-box h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.newsletter-box p { opacity: .95; }
.newsletter-form { flex: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 220px; padding: 14px 18px; border-radius: 50px; border: 0;
  font-family: inherit; font-size: .95rem; outline: none;
}
.newsletter-legal { width: 100%; font-size: .8rem; }
.newsletter-legal a { color: #fff; text-decoration: underline; }
.form-msg { width: 100%; font-size: .9rem; margin-top: 10px; }
.form-msg.ok { color: #1fa04e; }
.form-msg.err { color: #d23c2a; }
.newsletter .form-msg { color: #fff; }
.newsletter .form-msg.err { color: #3a0c06; font-weight: 600; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.contact-form {
  background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 18px;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-size: .88rem; font-weight: 600; color: var(--teal-dark); display: block; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea, .modal input, .modal select {
  width: 100%; padding: 13px 15px; border: 2px solid #e6e6e6; border-radius: 12px;
  font-family: inherit; font-size: .95rem; outline: none; transition: border-color .25s;
  background: #fbfbfb;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus,
.modal input:focus, .modal select:focus { border-color: var(--gold); background: #fff; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--muted); cursor: pointer; }
.checkbox input { width: auto; margin-top: 3px; accent-color: var(--teal); }
.checkbox a { color: var(--teal-light); text-decoration: underline; }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.info-card h3 { color: var(--teal-dark); font-size: 1.1rem; margin: 6px 0 4px; }
.info-card p { color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.socials a {
  background: var(--cream); border: 1px solid #f0e6d2; color: var(--teal);
  padding: 7px 14px; border-radius: 30px; font-size: .82rem; font-weight: 600;
}
.socials a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 44px; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-dark); color: rgba(255,255,255,.85); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: var(--gold); }
.footer-brand p { margin: 16px 0 18px; max-width: 320px; font-size: .92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); text-align: center;
  padding: 22px 0; font-size: .85rem; opacity: .9;
}

/* ---------- Botón subir ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--teal); color: #fff; font-size: 1.4rem;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all .35s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--gold); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 200; max-width: 460px;
  background: var(--teal-dark); color: #fff; border-radius: 18px; padding: 24px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(232,181,77,.35);
  transform: translateY(140%); transition: transform .5s ease;
}
.cookie-banner.show { transform: none; }
.cookie-content { display: flex; gap: 16px; }
.cookie-icon { font-size: 2.2rem; }
.cookie-content h4 { font-family: var(--font-body); font-weight: 700; margin-bottom: 6px; }
.cookie-content p { font-size: .85rem; opacity: .9; }
.cookie-content a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- Modales ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(8,43,58,.7); backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 20px; padding: 38px; width: min(520px, 100%);
  max-height: 92vh; overflow-y: auto; position: relative;
  animation: popIn .35s ease; box-shadow: var(--shadow-lg);
}
.modal h3 { color: var(--teal-dark); font-size: 1.8rem; margin-bottom: 20px; }
.modal .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.modal label { font-size: .85rem; font-weight: 600; color: var(--teal-dark); display: block; margin-bottom: 6px; }
.modal .checkbox { margin: 6px 0 18px; }
.modal-close, .lightbox-close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  border-radius: 50%; border: 0; background: var(--cream); color: var(--teal-dark);
  font-size: 1.4rem; line-height: 1; transition: .25s;
}
.modal-close:hover, .lightbox-close:hover { background: var(--gold); color: #fff; transform: rotate(90deg); }
@keyframes popIn { from { opacity: 0; transform: scale(.92) translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: none;
  align-items: center; justify-content: center; background: rgba(8,20,28,.92); padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: rgba(232,181,77,.9); color: #fff; font-size: 1.8rem; transition: .25s;
}
.lightbox-nav:hover { background: var(--gold); transform: translateY(-50%) scale(1.08); }
.lightbox-nav.prev { left: 22px; }
.lightbox-nav.next { right: 22px; }
.lightbox-close { background: rgba(255,255,255,.15); color: #fff; top: 18px; right: 18px; }

/* ---------- Animaciones reveal ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
/* Tablet horizontal */
@media (max-width: 1024px) {
  .destino-grid, .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.tall { grid-row: auto; height: 230px; }
  .slider-btn.prev { left: -10px; }
  .slider-btn.next { right: -10px; }
  .hero-content { padding: 130px 0 110px; }
  .stat-grid { gap: 20px; }
}

/* Tablet vertical */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: min(320px, 78vw); height: 100vh; height: 100dvh;
    background: var(--teal-dark); flex-direction: column; justify-content: center; gap: 26px;
    transition: right .4s ease; padding: 40px; z-index: 105; box-shadow: -10px 0 40px rgba(0,0,0,.3);
  }
  .nav-menu.open { right: 0; }
  .nav-link { color: #fff !important; font-size: 1.1rem; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 70px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .newsletter-box { flex-direction: column; text-align: center; }
  .search-box .btn { flex: 1 1 100%; }
  .hero-badge { font-size: .78rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-badge { font-size: .92rem; }
}

/* Celulares grandes */
@media (max-width: 640px) {
  .destino-grid, .tour-grid, .feature-grid { grid-template-columns: 1fr; }
  .search-box { padding: 14px; }
  .search-box .field { flex: 1 1 100%; }
  .contact-form .row, .modal .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .slide { padding: 26px; }
  blockquote { font-size: 1.05rem; }
  .cookie-banner { left: 10px; right: 10px; max-width: none; }
  .slider-btn { display: none; }
  .stat-num { font-size: 2.1rem; }
  .hero-content h1 { font-size: 2.3rem; }
  .hero-content p { font-size: 1rem; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 10px; scrollbar-width: thin; }
  .filter-btn { flex: 0 0 auto; white-space: nowrap; }
  .card-destino img { height: 280px; }
  .card-tour img { height: 190px; }
  .contact-form { padding: 24px 18px; }
  .modal { padding: 26px 20px; }
  .newsletter-form input { min-width: 100%; }
  .map iframe { height: 260px; }
  .footer { padding-top: 50px; }
}

/* Celulares pequeños */
@media (max-width: 420px) {
  .section { padding: 55px 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); padding: 36px 0; }
  .stat-label { font-size: .78rem; }
  .hero-content { padding: 110px 0 90px; }
  .hero-badge { margin-bottom: 18px; }
  .gallery-item { height: 180px; }
  .gallery-item.tall { height: 180px; }
  .modal-close, .lightbox-close { width: 34px; height: 34px; }
}

/* ============================================================
   Páginas internas · switcher ES/EN · nav móvil · extras
   ============================================================ */
/* ---------- Encabezado de páginas internas ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 55%, var(--teal-light) 100%);
  padding: 180px 0 110px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='10' cy='10' r='1.4' fill='%23ffffff' fill-opacity='0.18'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 10px 0 14px; color: #fff; }
.page-hero p { max-width: 640px; margin: 0 auto 26px; color: rgba(255,255,255,.92); font-size: 1.05rem; }

/* ---------- Bigote: banda de CTA ---------- */
.cta-band {
  margin-top: 46px; padding: 44px 30px; border-radius: 24px; text-align: center;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: #fff; box-shadow: var(--shadow);
}
.cta-band h3 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.92); margin-bottom: 18px; }

/* ---------- Tarjetas "Explorá más" ---------- */
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.teaser-card {
  display: block; background: #fff; border-radius: 20px; padding: 30px 24px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid rgba(11,58,77,.06);
  transition: transform .3s, box-shadow .3s;
}
.teaser-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,58,77,.18); }
.teaser-icon { font-size: 2.4rem; display: block; margin-bottom: 14px; }
.teaser-card h3 { color: var(--teal-dark); font-size: 1.15rem; margin-bottom: 8px; }
.teaser-card p { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.teaser-link { color: var(--gold-dark); font-weight: 600; font-size: .92rem; }

/* ---------- Switcher de idioma flotante ---------- */
.lang-widget { position: fixed; right: 22px; bottom: 22px; z-index: 220; }
.lang-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; font-size: 1.6rem;
  background: #fff; box-shadow: 0 10px 26px rgba(11,58,77,.28);
  display: flex; align-items: center; justify-content: center; transition: transform .25s;
}
.lang-btn:hover { transform: translateY(-2px); }
.lang-menu {
  position: absolute; right: 0; bottom: 62px;
  background: #fff; border-radius: 14px; box-shadow: 0 12px 34px rgba(11,58,77,.3);
  padding: 8px; min-width: 150px; display: none; z-index: 221;
}
.lang-menu.open { display: block; }
.lang-option {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: 10px 14px; border-radius: 8px; font-size: .95rem; color: var(--teal-dark);
}
.lang-option:hover { background: var(--cream); }
.lang-option[aria-checked="true"] { font-weight: 700; color: var(--gold-dark); }

/* ---------- Navegación rápida inferior (móvil) ---------- */
.mob-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: none; justify-content: space-around; align-items: center;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(11,58,77,.12); box-shadow: 0 -6px 24px rgba(11,58,77,.12);
  padding: 10px 6px calc(10px + env(safe-area-inset-bottom));
}
.mob-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: .72rem; color: var(--teal-dark); text-align: center;
}
.mob-nav a::before { font-size: 1.15rem; }
.mob-nav a[href$="/"]::before { content: "🏠"; }
.mob-nav a[href*="#destinos"]::before { content: "📍"; }
.mob-nav a[href*="ofertas"]::before { content: "🎁"; }
.mob-nav a[href*="galeria"]::before { content: "🖼️"; }
.mob-nav a[href*="ayuda"]::before { content: "🛟"; }

/* ---------- Contacto ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; align-items: start; }
.contact-card {
  background: #fff; border-radius: 22px; padding: 34px; box-shadow: var(--shadow); border: 1px solid rgba(11,58,77,.06);
}
.contact-card label { display: block; font-weight: 600; color: var(--teal-dark); }
.contact-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card input, .contact-card select, .contact-card textarea {
  width: 100%; border: 1.5px solid #e3e9ee; border-radius: 12px; padding: 12px 14px;
  margin: 8px 0 18px; font-family: inherit; font-size: .95rem; background: var(--cream-soft, #fafbfc);
}
.contact-card input:focus, .contact-card select:focus, .contact-card textarea:focus {
  outline: none; border-color: var(--teal-light); box-shadow: 0 0 0 3px rgba(44,151,178,.15);
}
.contact-info { display: grid; gap: 18px; }
.info-card { background: #fff; border-radius: 18px; padding: 24px; box-shadow: var(--shadow); border-left: 5px solid var(--gold); }
.info-icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.info-card h3 { color: var(--teal-dark); font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { color: var(--muted); font-size: .92rem; }

/* ---------- Centro de ayuda (FAQ) ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 14px;
  border: 1px solid rgba(11,58,77,.06); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--teal-dark);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; color: var(--gold-dark); font-weight: 700; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 20px; color: var(--muted); }

/* ---------- Testimonios (página Opiniones) ---------- */
.stars { color: var(--gold); font-size: 1.35rem; letter-spacing: 4px; margin-bottom: 14px; }
.slider-person { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.slider-person strong { display: block; color: var(--ink); }
.slider-person span:last-child { color: var(--muted); font-size: .9rem; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--teal); color: #fff; font-size: 1.6rem; line-height: 1;
  box-shadow: var(--shadow); transition: background .25s, transform .25s;
}
.slider-arrow:hover { background: var(--teal-light); transform: translateY(-50%) scale(1.08); }
.slider-arrow.prev { left: -60px; }
.slider-arrow.next { right: -60px; }

/* ---------- Móviles: destinos en carrusel + nav inferior ---------- */
@media (max-width: 640px) {
  body { padding-bottom: 66px; }
  .mob-nav { display: flex; }
  .lang-widget { right: 14px; bottom: 78px; }
  .back-to-top { bottom: 78px; right: 14px; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-card { padding: 24px 18px; }
  .contact-card .row { grid-template-columns: 1fr; }

  /* Destinos como carrusel horizontal con snap */
  .destino-grid {
    display: flex !important; flex-wrap: nowrap; overflow-x: auto; gap: 16px;
    scroll-snap-type: x mandatory; padding-bottom: 14px; -webkit-overflow-scrolling: touch;
  }
  .card-destino { flex: 0 0 82%; max-width: 320px; scroll-snap-align: center; }
  .no-results { padding: 0 10px; }
}

@media (max-width: 420px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .slider-arrow { display: none; }
  .slider-btn { display: none; }
  .mob-nav a { font-size: .7rem; }
}

/* ---------- Páginas de destino (por ciudad) ---------- */
.dest-back {
  display: inline-block; margin-bottom: 18px; color: var(--gold);
  font-weight: 600; font-size: .92rem; text-decoration: none; transition: transform .25s, color .25s;
}
.dest-back:hover { color: var(--gold-dark); transform: translateX(-4px); }

.dest-cover {
  width: 100%; max-height: 460px; object-fit: cover; border-radius: 22px;
  box-shadow: var(--shadow); border: 6px solid #fff;
}

.dest-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 6px;
}
.dest-item {
  background: #fff; border-radius: 18px; padding: 22px 24px;
  box-shadow: var(--shadow); border-left: 5px solid var(--gold);
  display: flex; align-items: center; gap: 16px;
}
.dest-item h3 { margin: 0; font-size: 1.02rem; line-height: 1.4; }
.dest-icon { font-size: 1.8rem; flex: 0 0 auto; }
.dest-tip {
  max-width: 760px; margin: 10px auto 0; color: var(--muted);
  font-size: 1.02rem; line-height: 1.7; padding: 22px 26px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.card-dest-link {
  display: inline-block; text-decoration: none; text-align: center;
}

.dest-shots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 6px;
}
.dest-shot {
  width: 100%; height: 240px; object-fit: cover; border-radius: 18px;
  box-shadow: var(--shadow); border: 5px solid #fff; transition: transform .3s, box-shadow .3s;
}
.dest-shot:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 18px 36px rgba(0,0,0,.22); }

.dest-animo {
  max-width: 820px; margin: 0 auto; text-align: center;
  font-family: var(--font-head); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.6; font-style: italic;
  color: var(--gold-dark); background: linear-gradient(135deg, rgba(232,181,77,.12), rgba(232,181,77,.04));
  border-radius: 22px; padding: 34px 28px; border: 1px dashed rgba(232,181,77,.5);
}
@media (max-width: 640px) {
  .dest-shots { grid-template-columns: 1fr; }
  .dest-shot { height: 200px; }
}
@media (max-width: 640px) {
  .dest-list { grid-template-columns: 1fr; }
  .dest-cover { max-height: 260px; }
}