/*!
Theme Name: viajenova_
Theme URI: https://viajenova.mx
Author: Pablo Broca
Author URI: https://pablobroca.com/
Description: Tema WordPress personalizado para Viaje Nova, optimizado para rendimiento, SEO y diseño responsive.
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: viajenova_
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   Design Tokens
========================================================= */
:root{
  /* Base */
  --bg:#fff;
  --surface:#fff;
  --card:#fff;
  --soft:#f5f7fa;

  --text:#111827;
  --muted:#6b7280;

  /* Marca */
  --brand-orange:#f57c00;
  --brand-green:#1aa06d;
  --brand:var(--brand-orange);

  --border:#e5e7eb;
  --shadow:0 12px 30px rgba(0,0,0,.10);

  --radius:16px;
  --radius-sm:12px;

  --container:1120px;
  --focus:0 0 0 4px rgba(245,124,0,.25);
}

/* =========================================================
   Base / Reset
========================================================= */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

.muted{ color:var(--muted); }
.small{ font-size:12px; }
.divider{ height:1px; background:var(--border); margin:18px 0; }
.no-scroll{ overflow:hidden; }

/* Accesibilidad */
.skip-link{
  position:absolute;
  left:-9999px;
  top:10px;
  background:var(--brand);
  color:#fff;
  padding:10px 12px;
  border-radius:10px;
  z-index:999;
}
.skip-link:focus{
  left:12px;
  outline:none;
  box-shadow:var(--focus);
}

/* =========================================================
   Topbar
========================================================= */
.topbar{
  background:var(--surface);
  border-bottom:1px solid var(--border);
}
.topbar__inner{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  align-items:center;
}
.pill{
  display:inline-flex;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  font-size:12px;
  color:var(--muted);
  background:var(--soft);
}
.pill--soft{ background:var(--surface); }
.topbar__phone{ font-weight:700; letter-spacing:.2px; }

/* =========================================================
   Header / Nav
========================================================= */
.header{
  position:sticky;
  top:0;
  z-index:60;
  background:var(--surface);
  border-bottom:1px solid var(--border);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand__logo{ height:100px; width:auto; }

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav__link{
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  padding:10px 8px;
  border-radius:10px;
}
.nav__link:hover{ color:var(--text); background:var(--soft); }
.nav__link.is-active{ color:var(--text); background:rgba(245,124,0,.10); }

/* WP Menu */
.nav__list{
  display:flex;
  align-items:center;
  gap:24px;
  list-style:none;
  margin:0;
  padding:0;
}
.nav__list>li{ position:relative; }
.nav__list a{ font-weight:600; }

/* Submenu (desktop hover) */
.nav__list .sub-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:220px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  box-shadow:var(--shadow);
  list-style:none;
  padding:8px 0;
  margin:0;

  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index:1000;
}
.nav__list .sub-menu a{
  display:block;
  padding:10px 14px;
  font-weight:600;
  color:var(--text);
  white-space:nowrap;
}
.nav__list .sub-menu a:hover{ background:var(--soft); }
.nav__list>li:hover>.sub-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* Hamburguesa */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--surface);
  cursor:pointer;
}
.nav-toggle:focus{ outline:none; box-shadow:var(--focus); }
.nav-toggle span{
  display:block;
  height:2px;
  width:18px;
  background:var(--text);
  margin:0 auto;
  border-radius:10px;
}
.nav-toggle span+span{ margin-top:5px; }

/* Overlay */
.nav-overlay{
  position:fixed;
  inset:0;
  background:rgba(17,24,39,.22);
  z-index:50;
}

/* =========================================================
   Dropdown (si lo usas en HTML custom)
========================================================= */
.dropdown{ position:relative; }
.dropdown__btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:transparent;
  border:0;
  color:var(--muted);
  font:inherit;
  font-weight:600;
  font-size:14px;
  padding:10px 8px;
  border-radius:10px;
  cursor:pointer;
}
.dropdown__btn:hover{ color:var(--text); background:var(--soft); }
.dropdown__btn:focus{ outline:none; box-shadow:var(--focus); }
.dropdown__menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:220px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px;
  box-shadow:var(--shadow);
  display:none;
}
.dropdown__menu.is-open{ display:grid; }
.dropdown__menu a{
  padding:10px;
  border-radius:10px;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
}
.dropdown__menu a:hover{ background:var(--soft); color:var(--text); }

/* =========================================================
   Buttons
========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:12px;
  padding:12px 14px;
  font-weight:700;
  font-size:14px;
  border:1px solid transparent;
  transition:transform .08s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
}
.btn:active{ transform:translateY(1px); }
.btn:focus{ outline:none; box-shadow:var(--focus); }

.btn--primary{
  background:var(--brand);
  color:#fff;
  border-color:rgba(0,0,0,.05);
}
.btn--primary:hover{ opacity:.95; }

.btn--ghost{
  background:var(--surface);
  border-color:var(--border);
  color:var(--text);
}
.btn--ghost:hover{ background:var(--soft); }

.btn--full{ width:100%; }
.btn--cta{ padding-inline:16px; }
.btn--small{ padding:10px 14px; font-size:14px; }

/* =========================================================
   Hero (Home)
========================================================= */
.hero{
  position:relative;
  padding:62px 0;
  overflow:hidden;
  background:var(--soft);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.hero__bg{
  position:absolute;
  inset:0;
  opacity:.14;
  pointer-events:none;
}
.hero__inner{
  position:relative;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:26px;
  align-items:start;
}
.hero__content h1{
  margin:0 0 10px;
  font-size:clamp(30px, 3.2vw, 46px);
  line-height:1.08;
  letter-spacing:-0.02em;
}
.hero__lead{
  margin:0 0 14px;
  color:var(--muted);
  font-size:16px;
}
.hero__proof{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}
.stars{
  letter-spacing:2px;
  font-size:14px;
  color:#f59e0b;
}
.hero__offer{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:18px;
}
.badge{
  display:inline-flex;
  border-radius:999px;
  padding:7px 12px;
  font-size:12px;
  font-weight:800;
  background:rgba(245,124,0,.12);
  border:1px solid rgba(245,124,0,.20);
  color:#7c2d12;
}
.badge--outline{
  background:var(--surface);
  border-color:var(--border);
  color:var(--text);
}
.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:14px;
}
.hero__meta{
  display:grid;
  gap:8px;
  margin:10px 0 18px;
}
.meta-row{
  display:flex;
  align-items:center;
  gap:10px;
}
.dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(26,160,109,.35);
  border:1px solid rgba(26,160,109,.45);
}

/* Hero card */
.hero__card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}
.hero__card h3{ margin:0 0 8px; font-size:18px; }
.callbox{
  border-radius:14px;
  border:1px solid rgba(26,160,109,.22);
  background:rgba(26,160,109,.08);
  padding:14px;
}
.callbox__label{
  font-size:12px;
  font-weight:800;
  color:rgba(17,24,39,.85);
  margin-bottom:6px;
}
.callbox__phone{
  display:inline-block;
  font-weight:900;
  font-size:20px;
  letter-spacing:.2px;
  color:var(--brand-green);
}
.callbox__meta{ margin-top:6px; font-size:12px; }

.checklist{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.checklist li{
  position:relative;
  padding-left:24px;
  color:var(--muted);
  font-weight:600;
}
.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--brand-green);
  font-weight:900;
}
.stack{ display:grid; gap:10px; margin-top:14px; }

/* Hero mini destinos */
.hero__mini{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}
.hero__miniItem{
  display:flex;
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  transition:transform .12s ease, box-shadow .18s ease;
}
.hero__miniItem:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.10);
}
.hero__miniMedia img{
  width:46px;
  height:46px;
  border-radius:12px;
  object-fit:cover;
  border:1px solid var(--border);
  background:var(--soft);
}
.hero__miniText{
  display:grid;
  line-height:1.2;
}
.hero__miniText strong{ font-size:14px; letter-spacing:-0.01em; }
.hero__miniText .muted{ font-size:13px; }

/* =========================================================
   Sections / Shared Layout
========================================================= */
.section{ padding:56px 0; }
.section--soft{
  background:var(--soft);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.section--cta{
  background:#fff7ed;
  border-top:1px solid #fed7aa;
  border-bottom:1px solid #fed7aa;
}
.section__head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:18px;
  margin-bottom:18px;
}
.section__head h2{ margin:0; font-size:28px; }
.section__head p{ margin:6px 0 0; }
.section__headActions{ display:flex; gap:10px; }

.grid-2{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:22px;
  align-items:start;
}

/* =========================================================
   Feature blocks (Destinos Home section)
========================================================= */
.feature{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:22px;
  padding:18px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--surface);
  box-shadow:0 12px 28px rgba(0,0,0,.06);
  margin:18px 0;
}
.feature--reverse{ grid-template-columns:.95fr 1.05fr; }
.feature--reverse .feature__text{ order:2; }
.feature--reverse .feature__media{ order:1; }

.feature__text h3{ margin:0 0 8px; font-size:22px; }
.feature__text p{ margin:0 0 12px; color:var(--muted); font-weight:500; }
.feature__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0 6px;
}
.quote{ margin-top:12px !important; }
.quote__by{ color:var(--muted); font-size:13px; font-weight:700; }

.feature__media{
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--surface);
}
.feature__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  aspect-ratio:16/10;
}

/* =========================================================
   Opiniones cards (base)
========================================================= */
.cards{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.card{
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 12px 26px rgba(0,0,0,.06);
}
.card__stars{
  color:#f59e0b;
  letter-spacing:2px;
  font-size:13px;
  font-weight:900;
}
.card p{
  color:rgba(17,24,39,.80);
  margin:10px 0 12px;
  font-weight:600;
}
.card__meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  border-top:1px solid var(--border);
  padding-top:10px;
}
.card__name{ font-weight:900; }

/* =========================================================
   Sliders
========================================================= */
/* Destinos slider (móvil) */
.destinosSlider{ position:relative; }
.destinosSlider__track{ display:block; }
.destinosSlider__nav{ display:none; }

@media (max-width:900px){
  .destinosSlider{ padding:0 10px; }

  .destinosSlider__track{
    display:flex;
    gap:14px;
    overflow-x:auto;
    padding:6px 2px 14px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .destinosSlider__track::-webkit-scrollbar{ display:none; }

  .destinosSlider__track .feature{
    flex:0 0 92%;
    scroll-snap-align:start;
    border-radius:var(--radius);
    overflow:hidden;
  }

  .destinosSlider__nav{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:999px;
    border:1px solid var(--border);
    background:var(--surface);
    box-shadow:0 10px 22px rgba(0,0,0,.10);
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:10;
    font-size:22px;
    font-weight:900;
    cursor:pointer;
  }
  .destinosSlider__nav--prev{ left:-6px; }
  .destinosSlider__nav--next{ right:-6px; }
  .destinosSlider__nav:active{ transform:translateY(-50%) scale(.98); }
}

/* Reviews slider (desktop + móvil) */
.reviewsSlider{
  position:relative;
  padding:0 14px; /* espacio para nav */
}
.reviewsSlider__track{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding:6px 2px 14px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.reviewsSlider__track::-webkit-scrollbar{ display:none; }
.reviewsSlider__slide{
  flex:0 0 calc((100% - 32px) / 3);
  scroll-snap-align:start;
}
.reviewsSlider__nav{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:0 10px 22px rgba(0,0,0,.10);
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:10;
  font-size:22px;
  font-weight:900;
  cursor:pointer;
}
.reviewsSlider__nav--prev{ left:0; }
.reviewsSlider__nav--next{ right:0; }
.reviewsSlider__nav:active{ transform:translateY(-50%) scale(.98); }

@media (max-width:980px){
  .reviewsSlider__slide{ flex-basis:calc((100% - 16px) / 2); }
}
@media (max-width:560px){
  .reviewsSlider{ padding:0 10px; }
  .reviewsSlider__slide{ flex-basis:92%; }
}

/* =========================================================
   Reservas (Home section / CF7)
========================================================= */
.reservas{ padding:0; background:var(--bg); }
.reservas__hero{ padding:64px 0; }
.reservas__container{
  width:min(var(--container), 92%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:clamp(18px, 3vw, 40px);
  align-items:center;
}
.reservas__title{
  margin:0 0 12px;
  font-size:clamp(28px, 3vw, 44px);
  line-height:1.1;
  letter-spacing:-0.02em;
}
.reservas__description{
  margin:0 0 20px;
  font-size:16px;
  line-height:1.6;
  color:var(--muted);
  max-width:60ch;
}

.reservas__form{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:clamp(14px, 2vw, 20px);
  display:grid;
  gap:14px;
  box-shadow:var(--shadow);
}
.reservas__form p{ margin:0; }

.reservas__field{ display:grid; gap:6px; }
.reservas__field label{
  font-size:13px;
  font-weight:600;
  color:var(--text);
}
.reservas__field input,
.reservas__field select,
.reservas__field textarea{
  width:100%;
  height:44px;
  padding:10px 12px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  font-size:14px;
  line-height:1.2;
  outline:none;
  appearance:none;
}
.reservas__field textarea{
  height:100px !important;
}
.reservas__field input::placeholder{ color:var(--muted); }
.reservas__field input:focus,
.reservas__field select:focus,
.reservas__field textarea:focus{
  box-shadow:var(--focus);
  border-color:var(--brand);
}

/* Select arrow */
.reservas__field select{
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 18px,
    calc(100% - 12px) 18px;
  background-size:6px 6px;
  background-repeat:no-repeat;
}

.reservas__button{
  width:100%;
  height:46px;
  border-radius:var(--radius-sm);
  border:0;
  cursor:pointer;
  font-weight:700;
  font-size:14px;
  letter-spacing:.02em;
  background:var(--brand);
  color:#fff;
  transition:transform .08s ease, opacity .15s ease, box-shadow .15s ease;
  box-shadow:0 10px 18px rgba(0,0,0,.15);
}
.reservas__button:hover{ opacity:.92; }
.reservas__button:active{
  transform:translateY(1px);
  box-shadow:0 8px 14px rgba(0,0,0,.12);
}

.reservas__image img{
  width:100%;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  object-fit:cover;
  aspect-ratio:4/3;
  background:var(--soft);
}

/* CF7 compat */
.reservas__form .wpcf7-form-control-wrap{ display:block; width:100%; }
.reservas__form input,
.reservas__form select,
.reservas__form textarea{ width:100%; }

/* =========================================================
   Página: Destinos (archive / page)
========================================================= */
.destinos{ background:var(--bg); }

.destinos__hero{ padding:clamp(28px, 4vw, 56px) 0; }
.destinos__container{ width:min(var(--container), 92%); margin:0 auto; }

.destinos__hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:clamp(18px, 3vw, 40px);
  align-items:center;
}
.destinos__title{
  margin:0 0 10px;
  font-size:clamp(28px, 3vw, 44px);
  line-height:1.1;
  letter-spacing:-0.02em;
}
.destinos__subtitle{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  max-width:62ch;
}
.destinos__hero-media img{
  width:100%;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  object-fit:cover;
  aspect-ratio:4/3;
  background:var(--soft);
}

.destinos__section{ padding:clamp(24px, 4vw, 64px) 0; }
.destinos__section-head{ display:grid; gap:6px; margin-bottom:18px; }
.destinos__h2{ margin:0; font-size:clamp(20px, 2vw, 28px); letter-spacing:-0.01em; }
.destinos__p{ margin:0; color:var(--muted); }

.destinos__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}
.destinos__card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  transition:transform .12s ease, box-shadow .18s ease;
}
.destinos__card:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.10);
}
.destinos__card-link{
  display:grid;
  grid-template-rows:auto 1fr;
  color:inherit;
}
.destinos__card-media img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  background:var(--soft);
  height: auto;
}
.destinos__card-body{ padding:14px 14px 16px; display:grid; gap:6px; }
.destinos__card-title{ margin:0; font-size:16px; letter-spacing:-0.01em; }
.destinos__card-text{ margin:0; color:var(--muted); font-size:14px; line-height:1.5; }
.destinos__card-btn{
  margin-top:6px;
  align-self:flex-start;
  font-weight:800;
  font-size:14px;
  color:var(--brand);
  letter-spacing:.02em;
}
.destinos__card:hover .destinos__card-btn{ text-decoration:underline; }

/* =========================================================
   Single Destino
========================================================= */
.destino{ background:var(--bg); }
.destino__container{ width:min(var(--container), 92%); margin:0 auto; }

.destino__intro{
  padding:clamp(26px, 4vw, 56px) 0 clamp(18px, 3vw, 28px);
}
.destino__title{
  margin:0 0 12px;
  font-size:clamp(30px, 3.2vw, 46px);
  line-height:1.1;
  letter-spacing:-0.02em;
}
.destino__lead{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
  max-width:78ch;
}
.destino__lead p{ margin:0 0 12px; }
.destino__lead p:last-child{ margin-bottom:0; }

.destino__callout{
  margin-top:16px;
  border:1px solid var(--border);
  background:var(--soft);
  border-radius:var(--radius);
  padding:14px 16px;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}

.destino__hoteles{
  padding:clamp(14px, 2vw, 22px) 0 clamp(34px, 5vw, 64px);
}
.destino__h2{
  margin:0 0 18px;
  font-size:clamp(20px, 2.2vw, 28px);
  letter-spacing:-0.01em;
}
.destino__hotel{
  padding:14px 0;
  border-top:1px solid var(--border);
}
.destino__hotel:first-of-type{ border-top:0; padding-top:0; }
.destino__hotel-title{
  margin:0 0 12px;
  font-size:16px;
  letter-spacing:-0.01em;
}
.destino__gallery{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
.destino__gallery img{
  width:100%;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  object-fit:cover;
  aspect-ratio:16/10;
  background:var(--soft);
}

/* CTA unificado */
.destino__cta{ padding:0 0 clamp(44px, 6vw, 72px); }
.destino__cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border:1px solid var(--border);
  background:var(--soft);
  border-radius:var(--radius);
  padding:clamp(18px, 3vw, 28px);
  box-shadow:var(--shadow);
}
.destino__cta-info{ max-width:620px; }
.destino__cta-kicker{
  margin:0 0 4px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.04em;
  color:var(--muted);
  text-transform:uppercase;
}
.destino__cta-schedule{ margin:0 0 12px; color:var(--muted); }
.destino__cta-title{
  margin:0 0 6px;
  font-size:clamp(18px, 2vw, 26px);
  font-weight:900;
  letter-spacing:-0.01em;
}
.destino__cta-text{ margin:0 0 10px; color:var(--muted); }
.destino__cta-phone{ margin:0; font-size:18px; font-weight:900; }
.destino__cta-phone a:hover{ text-decoration:underline; }

.destino__cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 16px;
  border-radius:var(--radius-sm);
  background:var(--brand);
  color:#fff;
  font-weight:900;
  letter-spacing:.02em;
  box-shadow:0 10px 18px rgba(0,0,0,.15);
  transition:transform .08s ease, opacity .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.destino__cta-btn:hover{ opacity:.92; }
.destino__cta-btn:active{
  transform:translateY(1px);
  box-shadow:0 8px 14px rgba(0,0,0,.12);
}

/* =========================================================
   Single Hotel
========================================================= */
.hotel{ background:var(--bg); }
.hotel__container{ width:min(var(--container), 92%); margin:0 auto; }

.hotel__intro{
  padding:clamp(26px, 4vw, 56px) 0 clamp(14px, 2vw, 20px);
}
.hotel__title{
  margin:0 0 8px;
  font-size:clamp(30px, 3.2vw, 46px);
  line-height:1.1;
  letter-spacing:-0.02em;
}
.hotel__tags{
  margin:10px 0 12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.hotel__tag{
  display:inline-flex;
  align-items:center;
  height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--soft);
  font-weight:800;
  font-size:13px;
  letter-spacing:.02em;
  white-space:nowrap;
}
.hotel__lead{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
  max-width:78ch;
}

.hotel__gallery{ padding:10px 0 clamp(26px, 4vw, 44px); }
.hotel__grid{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
.hotel__media img{
  width:100%;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  object-fit:cover;
  aspect-ratio:16/10;
  background:var(--soft);
  height: auto;
}

.hotel__contacto{ padding:0 0 clamp(20px, 3vw, 34px); }
.hotel__contacto-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border:1px solid var(--border);
  background:var(--card);
  border-radius:var(--radius);
  padding:clamp(14px, 2.5vw, 20px);
  box-shadow:var(--shadow);
}
.hotel__contacto-title{
  margin:0 0 6px;
  font-weight:900;
  font-size:18px;
  letter-spacing:-0.01em;
}
.hotel__contacto-text{ margin:0; color:var(--muted); }
.hotel__contacto-phone{ margin:10px 0 0; font-weight:900; font-size:18px; }
.hotel__contacto-phone a:hover{ text-decoration:underline; }

.hotel__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 16px;
  border-radius:var(--radius-sm);
  background:var(--brand);
  color:#fff;
  font-weight:900;
  letter-spacing:.02em;
  box-shadow:0 10px 18px rgba(0,0,0,.15);
  transition:transform .08s ease, opacity .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.hotel__btn:hover{ opacity:.92; }
.hotel__btn:active{
  transform:translateY(1px);
  box-shadow:0 8px 14px rgba(0,0,0,.12);
}

.hotel__final{ padding:0 0 clamp(44px, 6vw, 72px); }
.hotel__final-inner{
  border:1px solid var(--border);
  background:var(--soft);
  border-radius:var(--radius);
  padding:clamp(16px, 3vw, 26px);
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  display:grid;
  gap:10px;
}
.hotel__final-title{
  margin:0;
  font-size:clamp(18px, 2vw, 26px);
  letter-spacing:-0.01em;
}
.hotel__final-text{ margin:0; color:var(--muted); }

/* =========================================================
   Archive Hotel
========================================================= */
.hoteles{ background:var(--bg); }
.hoteles__hero{ padding:clamp(28px, 4vw, 56px) 0; }
.hoteles__container{ width:min(var(--container), 92%); margin:0 auto; }

.hoteles__title{
  margin:0 0 10px;
  font-size:clamp(30px, 3vw, 46px);
  line-height:1.1;
  letter-spacing:-0.02em;
}
.hoteles__subtitle{
  margin:0;
  font-size:16px;
  line-height:1.6;
  color:var(--muted);
  max-width:70ch;
}
.hoteles__section{
  padding:clamp(20px, 3vw, 40px) 0 clamp(44px, 6vw, 72px);
}

.hoteles__grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}
.hoteles__card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
  transition:transform .12s ease, box-shadow .18s ease;
}
.hoteles__card:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,0,0,.10);
}
.hoteles__card-link{
  display:grid;
  grid-template-rows:auto 1fr;
  height:100%;
  color:inherit;
}
.hoteles__card-media img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  background:var(--soft);
  height: auto;
}
.hoteles__card-body{ padding:14px 14px 16px; display:grid; gap:6px; }
.hoteles__card-title{ margin:0; font-size:16px; letter-spacing:-0.01em; }
.hoteles__card-text{ margin:0; font-size:14px; line-height:1.5; color:var(--muted); }
.hoteles__card-btn{
  margin-top:6px;
  align-self:flex-start;
  font-weight:800;
  font-size:14px;
  color:var(--brand);
  letter-spacing:.02em;
}
.hoteles__card:hover .hoteles__card-btn{ text-decoration:underline; }

/* Pagination */
.hoteles__pagination{ margin-top:32px; }
.hoteles__pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  margin:0 4px;
  border-radius:10px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  font-weight:700;
}
.hoteles__pagination .current{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}

/* =========================================================
   Footer (compacto recomendado)
========================================================= */
.footer{
  padding-top:30px;
  border-top:1px solid var(--border);
  background:var(--soft);
}
.footer__inner--compact{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:28px 0;
}
.footer__brand{ max-width:420px; }
.footer__logo{ max-width:160px; margin-bottom:10px; height:auto; width:auto; }
.footer__desc{ margin:0 0 12px; line-height:1.5; }
.footer__badges{ display:flex; gap:8px; flex-wrap:wrap; }

.footer__contact{ text-align:right; }
.footer__contact-phone{ margin:6px 0; font-size:20px; font-weight:900; }
.footer__contact-phone a:hover{ text-decoration:underline; }
.footer__contact-hours{ margin:0 0 12px; }

.footer__bottom{
  border-top:1px solid var(--border);
  background:var(--surface);
}
.footer__bottom--compact{ padding:10px 0; }

/* =========================================================
   404
========================================================= */
.error404{
  min-height:calc(100vh - 160px);
  display:flex;
  align-items:center;
  padding:clamp(48px, 8vw, 96px) 0;
  background:linear-gradient(180deg, var(--soft) 0%, var(--bg) 100%);
}
.error404__inner{ display:flex; justify-content:center; }
.error404__content{ max-width:640px; text-align:center; }
.error404__code{
  margin:0 0 8px;
  font-size:clamp(72px, 12vw, 120px);
  font-weight:900;
  line-height:1;
  letter-spacing:-0.04em;
  color:var(--brand);
}
.error404__title{
  margin:0 0 12px;
  font-size:clamp(22px, 4vw, 32px);
  font-weight:900;
  letter-spacing:-0.02em;
}
.error404__text{ margin:0 0 28px; }
.error404__actions{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-bottom:28px;
}
.error404__call{ border-top:1px solid var(--border); padding-top:20px; }
.error404__phone{
  display:inline-block;
  margin:6px 0;
  font-size:20px;
  font-weight:900;
}
.error404__phone:hover{ text-decoration:underline; }
.error404__hours{ margin:0; font-size:14px; }

/* =========================================================
   Blog/Archive UI helpers
========================================================= */
.card__title a:hover{ text-decoration:underline; }

.postNav a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--surface);
}
.postNav a:hover{ box-shadow:0 10px 22px rgba(0,0,0,.08); }

/* =========================================================
   Responsive (consolidado)
========================================================= */
@media (max-width:980px){
  .hero__inner{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .feature,.feature--reverse{ grid-template-columns:1fr; }
  .feature--reverse .feature__text{ order:1; }
  .feature--reverse .feature__media{ order:2; }

  /* Nav panel (móvil/tablet) */
  .nav-toggle{ display:block; }

  .nav{
    position:fixed;
    right:20px;
    left:20px;
    top:calc(44px + 52px);
    max-height:calc(100vh - 110px);
    overflow:auto;

    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    padding:12px;
    box-shadow:var(--shadow);

    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;

    z-index:55;
  }
  .nav.is-open{ display:block; } /* tu JS usa .is-open */

  /* WP menu como bloque */
  .nav.is-open .nav__list{ display:block; }
  .nav__list>li{ padding:0 0 15px; }

  /* Submenu siempre visible en móvil (sin hover/click, sin scroll extra) */
  .nav.is-open .nav__list .sub-menu{
    position:relative;
    opacity:1;
    visibility:visible;
    transform:none;
    box-shadow:none;
    padding:0 0 0 35px;
    display:block;
    list-style:disc;
    margin-top:8px;
    border:0;
    background:transparent;
  }

  .btn--cta{ width:100%; }

  .cards{ grid-template-columns:1fr; }
  .mini-facts{ grid-template-columns:1fr; }

  .reservas__container{ grid-template-columns:1fr; }
  .reservas__image{ order:-1; }
  .reservas__description{ max-width:100%; }

  .destinos__grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .hoteles__grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }

  .hero__mini{ grid-template-columns:1fr; }
  .hero__miniMedia img{ width:42px; height:42px; }

  .destino__cta-inner,
  .hotel__contacto-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .destino__cta-actions,
  .hotel__btn{ width:100%; }

  .destino__gallery{ grid-template-columns:1fr; }
  .hotel__grid{ grid-template-columns:1fr; }

  .footer__inner--compact{
    flex-direction:column;
    align-items:flex-start;
    text-align:left;
  }
  .footer__contact{ text-align:left; }
  .footer__logo{ max-width:140px; }
}

@media (max-width:900px){
  .destinos__hero-grid{ grid-template-columns:1fr; }
  .destinos__hero-media{ order:-1; }
  .destinos__subtitle{ max-width:100%; }
}

@media (max-width:600px){
  .error404__actions{ flex-direction:column; }
}

@media (max-width:560px){
  .container{ width:min(var(--container), calc(100% - 28px)); }
  .destinos__grid{ grid-template-columns:1fr; }
  .hoteles__grid{ grid-template-columns:1fr; }
  .destinos__card,
  .destinos__hero-media img,
  .hoteles__card{ border-radius:var(--radius-sm); }

  /* Si quieres ocultar topbar en móvil */
  .topbar__inner{ display:none; }
}

@media (max-width:520px){
  .topbar__inner{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}
