/* =========================================================
   MARSUEÑOS VIAJES — Landing
   Paleta: #27327F (marca) + #F5A623 (dorado arena)
   Tipografías: Fraunces (display) · Inter (body)
   ========================================================= */

/* ----------- Tokens ----------- */
:root {
  --brand: #27327F;
  --brand-deep: #0F1436;
  --brand-soft: #4A58B8;
  --gold: #F5A623;
  --gold-soft: #FFCE7A;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FC;
  --border: #E4E7F1;
  --text: #0B1020;
  --text-muted: #5B6380;
  --white: #FFFFFF;
  --wa: #25D366;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 14px -6px rgba(15, 20, 54, .18);
  --shadow: 0 20px 40px -18px rgba(15, 20, 54, .28);
  --shadow-lg: 0 40px 80px -20px rgba(39, 50, 127, .35);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container: 1200px;
}

/* ----------- Reset ----------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

/* ----------- Utilities ----------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow--gold { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
p { margin: 0; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-head h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin: 16px 0 14px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

/* ----------- Buttons ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
  will-change: transform;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 32px; font-size: 16px; }

.btn--primary {
  background: var(--gold);
  color: var(--brand-deep);
  box-shadow: 0 10px 30px -12px rgba(245, 166, 35, .6);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: #FFB845;
  box-shadow: 0 16px 36px -10px rgba(245, 166, 35, .75);
}

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .18);
  border-color: var(--white);
}

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .55);
}
.btn--ghost-light:hover {
  background: var(--white);
  color: var(--brand);
  border-color: var(--white);
}

/* ----------- NAVBAR ----------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo img {
  height: 68px;
  filter: brightness(0) invert(1);
  transition: filter .4s var(--ease), height .4s var(--ease);
}
.nav__links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav__links a {
  color: rgba(255, 255, 255, .95);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  transition: color .3s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.nav__badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}

/* Nav scrolled state */
.nav.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px -20px rgba(15, 20, 54, .3);
  padding: 10px 0;
  backdrop-filter: blur(10px);
}
.nav.is-scrolled .nav__logo img { filter: none; height: 56px; }
.nav.is-scrolled .nav__links a { color: var(--text); }
.nav.is-scrolled .nav__badge {
  background: rgba(39, 50, 127, .08);
  color: var(--brand);
  border-color: rgba(39, 50, 127, .2);
}
.nav.is-scrolled .nav__burger span { background: var(--brand); }

.nav__drawer {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .2);
}
.nav__drawer a {
  padding: 14px 12px;
  font-weight: 500;
  font-size: 17px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.nav__drawer a:last-child {
  margin-top: 8px;
  border: 0;
  text-align: center;
}
.nav.is-open .nav__drawer { display: flex; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 140px 0 160px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
  transform-origin: center center;
}
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.09) translate(-2%, 1%); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(39, 50, 127, .25), transparent 55%),
    linear-gradient(120deg, rgba(39, 50, 127, .82) 0%, rgba(10, 15, 45, .55) 55%, rgba(0, 0, 0, .78) 100%);
}
.hero__content {
  z-index: 2;
  max-width: 800px;
}
.hero__title {
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.05;
  margin: 20px 0 24px;
  color: var(--white);
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title em {
  color: var(--gold-soft);
}
.hero__subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  max-width: 580px;
  color: rgba(255, 255, 255, .88);
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
}
.chip svg { color: var(--gold-soft); }

.hero__scroll {
  position: absolute;
  right: 40px;
  bottom: 160px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .3em;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .1), rgba(255, 255, 255, .8));
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 0;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: scrollDot 1.9s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: .2; }
  50% { transform: translateY(36px); opacity: 1; }
}

/* =========================================================
   BOOKER (widget Priceres)
========================================================= */
.booker {
  position: relative;
  margin-top: -120px;
  z-index: 5;
  padding-bottom: 80px;
}
.booker__card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 28px 22px;
  border: 1px solid rgba(39, 50, 127, .06);
}
.booker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 6px 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.booker__head-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.booker__head-left svg {
  flex-shrink: 0;
  padding: 10px;
  background: rgba(245, 166, 35, .12);
  border-radius: 12px;
  box-sizing: content-box;
}
.booker__title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.2;
}
.booker__subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.booker__seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #E8F7ED;
  color: #1C8A3E;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* Widget container integration — neutraliza el fondo azul del proveedor */
#ptw-container {
  background: transparent !important;
  border-radius: 12px !important;
  transition: opacity .4s ease;
}
#ptw-container:empty { min-height: 80px; }

/* Tabs: quitar banda azul que queda a la derecha del último tab */
#ptw-container #ptw-menu,
#ptw-container .ptw-menu,
#ptw-container .ap_ptw_tabs,
#ptw-container #ptw-menu ul,
#ptw-container #ptw-content,
#ptw-container #ptw-engines,
#ptw-container .ap_booker_engine,
#ptw-container .ptw-fields-container,
#ptw-container form {
  background: transparent !important;
  background-color: transparent !important;
}

/* Tabs individuales: fondo blanco con borde, y la pestaña activa con el dorado de marca */
#ptw-container #ptw-menu ul { border-bottom: 1px solid var(--border); }
#ptw-container #ptw-menu li a {
  background: #F7F8FC !important;
  color: var(--brand) !important;
  border: 1px solid var(--border) !important;
  border-bottom: 0 !important;
  transition: background .25s ease, color .25s ease;
}
#ptw-container #ptw-menu li a:hover {
  background: #EFF1F8 !important;
}
#ptw-container #ptw-menu li.ptw-active a {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
}

/* Skeleton */
.booker__skeleton {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: 10px;
  padding: 18px;
  background: var(--brand);
  border-radius: 12px;
  transition: opacity .4s ease, max-height .6s ease;
}
.booker__skeleton.is-hidden {
  opacity: 0;
  max-height: 0;
  padding: 0;
  pointer-events: none;
  overflow: hidden;
}
.skel {
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, .15) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
}
.skel--small { height: 48px; }
.skel--btn {
  width: 120px;
  background: linear-gradient(90deg, rgba(245, 166, 35, .4) 0%, rgba(245, 166, 35, .7) 50%, rgba(245, 166, 35, .4) 100%);
  background-size: 200% 100%;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.booker__foot {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.booker__human {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 14px;
}
.booker__human a {
  color: var(--brand);
  font-weight: 600;
  border-bottom: 1px dashed var(--brand);
  padding-bottom: 1px;
  transition: color .3s;
}
.booker__human a:hover { color: var(--gold); border-color: var(--gold); }

/* =========================================================
   BENEFITS
========================================================= */
.benefits {
  padding: 100px 0;
  background: var(--white);
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.benefit {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.benefit::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width .5s var(--ease);
}
.benefit:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.benefit:hover::after { width: 100%; }
.benefit__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(245, 166, 35, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 22px;
  transition: transform .4s var(--ease);
}
.benefit:hover .benefit__icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(245, 166, 35, .22);
}
.benefit h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.benefit p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
}

/* =========================================================
   PROMOCIONES IMPERDIBLES
========================================================= */
.promos {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.promos::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, .12), transparent 70%);
  pointer-events: none;
}
.promos__inner {
  display: grid;
  grid-template-columns: .85fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.promos__head {
  max-width: 380px;
}
.promos__head .eyebrow {
  display: block;
  margin-bottom: 8px;
}
.promos__title {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  margin: 0 0 18px;
}
.promos__title em {
  color: var(--gold);
  font-style: italic;
}
.promos__head p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.promos__btn {
  padding: 14px 24px;
  font-size: 14px;
}

.promos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.promo-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  box-shadow: 0 15px 30px -15px rgba(15, 20, 54, .25);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  transform: translateZ(0);
}
.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.promo-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: #E63946;
  color: var(--white);
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(230, 57, 70, .6);
  letter-spacing: -.01em;
  transform: scale(0);
  transition: transform .5s var(--ease-out) .15s;
}
.promo-card.is-visible .promo-card__badge {
  transform: scale(1);
}
.promo-card__foot {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(10, 15, 45, .9), transparent);
  color: var(--white);
  transform: translateY(100%);
  transition: transform .5s var(--ease);
}
.promo-card__foot strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: .01em;
}
.promo-card__foot span {
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  display: flex;
  align-items: center;
  gap: 6px;
}
.promo-card__arrow {
  display: inline-block;
  transition: transform .3s var(--ease);
}

.promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(15, 20, 54, .4);
}
.promo-card:hover img {
  transform: scale(1.05);
}
.promo-card:hover .promo-card__foot {
  transform: translateY(0);
}
.promo-card:hover .promo-card__arrow {
  transform: translateX(4px);
}

/* Stagger promo reveals */
.promos__grid .reveal:nth-child(2) { transition-delay: .1s; }
.promos__grid .reveal:nth-child(3) { transition-delay: .2s; }
.promos__grid .reveal:nth-child(4) { transition-delay: .3s; }

/* =========================================================
   DESTINATIONS
========================================================= */
.destinations {
  padding: 100px 0;
  background: var(--bg-soft);
}
.destinations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.dest-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: block;
  color: var(--white);
  transform: translateZ(0);
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  text-align: left;
}
.dest-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.dest-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 15, 45, .88) 0%, rgba(10, 15, 45, .35) 45%, transparent 75%);
  transition: background .4s var(--ease);
}
.dest-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px;
}
.dest-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 166, 35, .9);
  color: var(--brand-deep);
  margin-bottom: 10px;
}
.dest-card h3 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 4px;
}
.dest-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.dest-card__arrow {
  position: absolute;
  right: 22px; bottom: 30px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.dest-card:hover img { transform: scale(1.1); }
.dest-card:hover .dest-card__overlay {
  background: linear-gradient(to top, rgba(10, 15, 45, .95) 0%, rgba(39, 50, 127, .55) 55%, rgba(39, 50, 127, .1) 100%);
}
.dest-card:hover p { opacity: 1; transform: translateY(0); }
.dest-card:hover .dest-card__arrow { opacity: 1; transform: translateX(0); }

/* =========================================================
   ABOUT
========================================================= */
.about {
  padding: 120px 0;
  background: var(--brand);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .06) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
}
.about__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.about__text h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  color: var(--white);
  margin: 18px 0 22px;
}
.about__text h2 em { color: var(--gold-soft); }
.about__text p {
  color: rgba(255, 255, 255, .82);
  max-width: 540px;
  margin-bottom: 34px;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  margin-bottom: 36px;
}
.about__stats div {
  display: flex;
  flex-direction: column;
}
.about__stats strong {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.about__stats span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .7);
  letter-spacing: .05em;
  margin-top: 6px;
}

.about__collage {
  position: relative;
  height: 520px;
}
.about__img {
  position: absolute;
  width: 68%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
}
.about__img--1 { top: 0; left: 0; transform: rotate(-3deg); z-index: 3; }
.about__img--2 { top: 8%; right: 0; transform: rotate(2deg); z-index: 2; width: 62%; }
.about__img--3 { bottom: 0; left: 18%; transform: rotate(-1deg); z-index: 1; width: 58%; }

/* =========================================================
   TESTIMONIOS
========================================================= */
.testimonials {
  padding: 100px 0;
  background: var(--bg-soft);
}
.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.testi-card {
  position: relative;
  margin: 0;
  background: var(--white);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(15, 20, 54, .35);
}
.testi-card img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}
.testi-card__tag {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--wa);
  color: var(--white);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.testi__badges {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 30px 0 10px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.testi__badges div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testi__badges strong {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  color: var(--brand);
  line-height: 1;
}
.testi__badges span {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =========================================================
   GALLERY
========================================================= */
.gallery {
  padding: 100px 0;
  background: var(--white);
}
.gallery__mosaic {
  columns: 3;
  column-gap: 20px;
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .6s var(--ease);
}
.gallery__item img {
  width: 100%;
  height: var(--h, 300px);
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
  filter: saturate(.95);
}
.gallery__item:hover img {
  transform: scale(1.05);
  filter: saturate(1.15);
}

/* =========================================================
   FAQ
========================================================= */
.faq {
  padding: 100px 0;
  background: var(--bg-soft);
}
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: box-shadow .3s, border-color .3s;
}
.faq__item[open] {
  border-color: rgba(39, 50, 127, .25);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  padding: 22px 26px;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
}
.faq__item summary::after {
  content: '+';
  font-size: 26px;
  font-weight: 400;
  color: var(--brand);
  transition: transform .4s var(--ease);
  line-height: 1;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  color: var(--gold);
}
.faq__item p {
  padding: 0 26px 24px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =========================================================
   CTA FINAL
========================================================= */
.cta-final {
  position: relative;
  padding: 140px 0;
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-final__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}
.cta-final__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(39, 50, 127, .55) 0%, rgba(10, 15, 45, .92) 80%),
    linear-gradient(180deg, rgba(10, 15, 45, .55) 0%, rgba(10, 15, 45, .88) 100%);
}
.cta-final__inner { z-index: 2; }
.cta-final h2 {
  font-size: clamp(36px, 5.5vw, 68px);
  max-width: 900px;
  margin: 20px auto 36px;
  color: var(--white);
}
.cta-final h2 em { color: var(--gold-soft); }
.cta-final__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cta-final__phones {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 15px;
  color: rgba(255, 255, 255, .8);
}
.cta-final__phones a {
  transition: color .3s;
}
.cta-final__phones a:hover { color: var(--gold); }

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .75);
  padding: 70px 0 24px;
  font-size: 14.5px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer__logo {
  height: 50px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer__col h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer__col p { margin-bottom: 10px; line-height: 1.7; }
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--gold); }
.footer__rnt {
  height: 68px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, .08);
  padding: 8px 12px;
  border-radius: 8px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* =========================================================
   FLOATING WHATSAPP
========================================================= */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px -8px rgba(37, 211, 102, .5);
  opacity: 0;
  transform: translateY(20px) scale(.9);
  transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .3s;
}
.wa-float.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: waPulse 2.4s ease-out infinite;
  opacity: 0;
}
@keyframes waPulse {
  0%   { transform: scale(.9); opacity: .7; }
  80%  { transform: scale(1.4); opacity: 0; }
  100% { opacity: 0; }
}
.wa-float:hover {
  box-shadow: 0 20px 36px -6px rgba(37, 211, 102, .7);
  transform: translateY(-2px) scale(1.05);
}
.wa-float__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--brand-deep);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.wa-float__tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--brand-deep);
}
.wa-float:hover .wa-float__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* =========================================================
   SCROLL REVEAL
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children of a grid */
.benefits__grid .reveal:nth-child(2) { transition-delay: .12s; }
.benefits__grid .reveal:nth-child(3) { transition-delay: .24s; }

.destinations__grid .reveal:nth-child(2) { transition-delay: .08s; }
.destinations__grid .reveal:nth-child(3) { transition-delay: .16s; }
.destinations__grid .reveal:nth-child(4) { transition-delay: .24s; }
.destinations__grid .reveal:nth-child(5) { transition-delay: .32s; }
.destinations__grid .reveal:nth-child(6) { transition-delay: .4s; }

.testi__grid .reveal:nth-child(2) { transition-delay: .1s; }
.testi__grid .reveal:nth-child(3) { transition-delay: .2s; }

.gallery__mosaic .reveal:nth-child(2) { transition-delay: .08s; }
.gallery__mosaic .reveal:nth-child(3) { transition-delay: .14s; }
.gallery__mosaic .reveal:nth-child(4) { transition-delay: .2s; }
.gallery__mosaic .reveal:nth-child(5) { transition-delay: .26s; }
.gallery__mosaic .reveal:nth-child(6) { transition-delay: .32s; }
.gallery__mosaic .reveal:nth-child(7) { transition-delay: .38s; }
.gallery__mosaic .reveal:nth-child(8) { transition-delay: .44s; }

.faq__list .reveal:nth-child(2) { transition-delay: .08s; }
.faq__list .reveal:nth-child(3) { transition-delay: .16s; }
.faq__list .reveal:nth-child(4) { transition-delay: .24s; }
.faq__list .reveal:nth-child(5) { transition-delay: .32s; }

/* Hero reveal custom delays from data-attr */
.hero .reveal[data-reveal-delay="0"]   { transition-delay: 0; }
.hero .reveal[data-reveal-delay="100"] { transition-delay: .1s; }
.hero .reveal[data-reveal-delay="300"] { transition-delay: .3s; }
.hero .reveal[data-reveal-delay="450"] { transition-delay: .45s; }
.hero .reveal[data-reveal-delay="600"] { transition-delay: .6s; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
  .about__inner { gap: 48px; }
  .destinations__grid { gap: 18px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__badge { display: none; }

  .hero { padding: 110px 0 120px; min-height: 85vh; }
  .hero__scroll { display: none; }

  .booker { margin-top: -80px; }
  .booker__skeleton { grid-template-columns: 1fr 1fr; }
  .skel--btn { width: 100%; grid-column: 1 / -1; }

  .benefits__grid { grid-template-columns: 1fr; }
  .destinations__grid { grid-template-columns: repeat(2, 1fr); }

  .promos__inner { grid-template-columns: 1fr; gap: 40px; }
  .promos__head { max-width: 100%; text-align: center; margin: 0 auto; }

  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__collage { height: 420px; max-width: 440px; margin: 0 auto; }
  .about__stats { gap: 24px; }

  .testi__grid { grid-template-columns: 1fr 1fr; }
  .testi__grid .testi-card:last-child { grid-column: 1 / -1; max-width: 500px; margin: 0 auto; }

  .gallery__mosaic { columns: 2; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }

  .hero { padding: 100px 0 80px; }
  .hero__ctas .btn { width: 100%; }

  .booker { margin-top: -60px; padding-bottom: 60px; }
  .booker__card { padding: 20px 18px; }
  .booker__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .booker__head-left { width: 100%; }
  .booker__seal { align-self: flex-start; }
  .booker__foot { gap: 12px; font-size: 12px; }

  /* Widget: tabs a grid 3x2 en mobile para que no salgan apilados uno por fila */
  #ptw-container #ptw-menu ul {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }
  /* El proveedor inserta ::before y ::after con display:table (clearfix)
     que en grid ocupan celdas. Los anulamos. */
  #ptw-container #ptw-menu ul::before,
  #ptw-container #ptw-menu ul::after {
    content: none !important;
    display: none !important;
  }
  #ptw-container #ptw-menu li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    list-style: none !important;
  }
  #ptw-container #ptw-menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 8px 6px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    text-align: center !important;
    border-bottom: 1px solid var(--border) !important;
  }
  /* Que los inputs del widget tampoco se corten */
  #ptw-container .ptw-fields-container {
    overflow-x: auto !important;
  }

  .benefits, .destinations, .testimonials, .gallery, .faq, .about { padding: 70px 0; }

  .destinations__grid { grid-template-columns: 1fr; }
  .dest-card { aspect-ratio: 4 / 3; }

  .promos { padding: 70px 0; }
  .promos__grid { grid-template-columns: 1fr; gap: 16px; }

  .about__collage { height: 360px; }

  .testi__grid { grid-template-columns: 1fr; }
  .testi__grid .testi-card:last-child { grid-column: 1; }
  .testi__badges { gap: 28px; }

  .gallery__mosaic { columns: 1; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .cta-final { padding: 90px 0; }
  .cta-final__ctas .btn { width: 100%; }

  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

/* =========================================================
   MODAL (popup destino)
========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 20px;
  overflow-y: auto;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 45, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: backdropIn .4s var(--ease) both;
  cursor: pointer;
}
@keyframes backdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal__dialog {
  position: relative;
  width: min(880px, 100%);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6);
  overflow: hidden;
  animation: dialogIn .55s var(--ease-out) both;
  margin: auto 0;
}
@keyframes dialogIn {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background .3s, transform .3s;
}
.modal__close:hover {
  background: var(--white);
  transform: rotate(90deg);
}

.modal__hero {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.modal__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 14s ease-in-out alternate infinite;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.modal__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 45, .92) 0%, rgba(10, 15, 45, .35) 55%, transparent 100%);
}
.modal__hero-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 30px;
  color: var(--white);
}
.modal__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(245, 166, 35, .95);
  color: var(--brand-deep);
  margin-bottom: 10px;
}
.modal__hero-caption h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  color: var(--white);
  margin: 0 0 4px;
}
.modal__subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
}

.modal__body {
  padding: 30px 34px 34px;
  max-height: calc(85vh - 260px);
  overflow-y: auto;
}
.modal__lead {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  background: linear-gradient(135deg, rgba(245, 166, 35, .12), rgba(245, 166, 35, .04));
  border: 1px solid rgba(245, 166, 35, .3);
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
}
.modal__price.is-hidden { display: none; }
.modal__price-from {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--text-muted);
  font-weight: 600;
}
.modal__price-amount {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
}
.modal__price small {
  font-size: 12px;
  color: var(--text-muted);
  width: 100%;
  margin-top: -2px;
}

.modal__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
.modal__col h4,
.modal__highlights h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 12px;
}
.modal__col ul,
.modal__highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.modal__col li {
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
  font-size: 15px;
}
.modal__col li:last-child { border-bottom: 0; }

.modal__includes li {
  position: relative;
  padding-left: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal__includes li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  background: rgba(39, 50, 127, .1);
  border-radius: 50%;
}
.modal__includes li::after {
  content: '';
  position: absolute;
  left: 4px; top: 50%;
  width: 10px; height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: translateY(-75%) rotate(-45deg);
}

.modal__highlights {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 26px;
}
.modal__highlights.is-hidden { display: none; }
.modal__highlights ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modal__highlights li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
}
.modal__highlights li::before {
  content: '★';
  color: var(--gold);
  font-size: 12px;
}

.modal__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--border);
  padding: 17px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: background .3s, border-color .3s;
}
.btn--ghost-dark:hover {
  background: var(--bg-soft);
  border-color: var(--brand);
}

.modal__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 18px;
  letter-spacing: .03em;
}

body.has-modal-open { overflow: hidden; }

/* Modal responsive */
@media (max-width: 700px) {
  .modal { padding: 0; }
  .modal__dialog { border-radius: 0; min-height: 100vh; }
  .modal__hero { height: 200px; }
  .modal__hero-caption { padding: 18px 22px; }
  .modal__body { padding: 22px 22px 32px; max-height: none; }
  .modal__cols { grid-template-columns: 1fr; gap: 20px; }
  .modal__cta { flex-direction: column; }
  .modal__cta .btn { width: 100%; }
}

/* =========================================================
   Reduced motion
========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    transition-duration: .2s !important;
  }
  .hero__img { animation: none; }
  .reveal { transform: none; transition-duration: .2s; }
}
