/* ============================================================
   MAGIC PLANS WITH MARTU — Landing Page Styles
   Brand colors:
     #002A3D  azul oscuro (deep)
     #008AB8  celeste (sky)
     #FF9A00  naranja (sun)
     #F3F6F7  blanco hueso (paper)
   ============================================================ */

:root {
  --deep: #002A3D;
  --sky: #008AB8;
  --sky-soft: #B8DDEA;
  --sky-lighter: #E5F1F6;
  --sun: #FF9A00;
  --sun-soft: #FFD9A8;
  --paper: #F3F6F7;
  --paper-warm: #FAF7F2;
  --ink: #002A3D;
  --ink-soft: #4A6271;

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  image-rendering: -webkit-optimize-contrast; /* mejor downscale en HiDPI */
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--sky);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
h2 { font-size: clamp(38px, 5vw, 68px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
.italic { font-style: italic; font-weight: 400; }

p { font-size: 16px; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform .25s ease, box-shadow .25s ease, background .2s ease;
}
.btn-primary {
  background: var(--sun);
  color: var(--deep);
  box-shadow: 0 10px 30px -8px rgba(255, 154, 0, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(255, 154, 0, 0.7); }
.btn-secondary {
  background: transparent;
  color: var(--deep);
  border: 1.5px solid var(--deep);
}
.btn-secondary:hover { background: var(--deep); color: var(--paper); }
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); }

/* Sparkle decoration */
.sparkle { display: inline-block; color: var(--sun); }

/* Section spacing */
section { padding: 110px 0; position: relative; }
@media (max-width: 720px) { section { padding: 72px 0; } }

/* Decorative star */
.star {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--sun);
  clip-path: polygon(50% 0%, 60% 35%, 100% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 0% 35%, 40% 35%);
  opacity: 0.6;
}

/* ============================================================
   SECTION-SPECIFIC STYLES
   ============================================================ */

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.nav.scrolled {
  background: rgba(243, 246, 247, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0, 42, 61, 0.06), 0 8px 24px -16px rgba(0, 42, 61, 0.12);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { height: 44px; transition: filter .3s ease; }
.nav.is-light .nav-logo { filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--deep);
  transition: color .2s;
  position: relative;
}
.nav.is-light .nav-links a { color: white; }
.nav-links a:hover { color: var(--sky); }
.nav-cta {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--deep);
  color: var(--paper) !important;
  font-size: 13px;
}
.nav.is-light .nav-cta { background: white; color: var(--deep) !important; }
.nav-cta:hover { background: var(--sky) !important; color: white !important; }

/* (Mobile nav off-canvas y toggle: ver sección "NAV (estados extra)" más abajo) */

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--deep);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  /* Movimiento Ken Burns: zoom suave + drift horizontal en loop infinito.
     30s de duración: lento, no marea, da vida al hero sin distraer. */
  animation: heroKenBurns 30s ease-in-out infinite;
  will-change: transform;
}
.hero-slide.active .hero-slide-img { animation: heroKenBurns 30s ease-in-out infinite; }
@keyframes heroKenBurns {
  0%   { transform: scale(1.06) translate(0%, 0%); }
  50%  { transform: scale(1.16) translate(-2%, -1.2%); }
  100% { transform: scale(1.06) translate(0%, 0%); }
}

.hero-slide-overlay {
  position: absolute; inset: 0;
  /* Overlay negro: oscurece la imagen para que el texto se lea con contraste.
     Más fuerte abajo (donde está el subtítulo) que arriba. */
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.75) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 30%, rgba(0,0,0,0.30) 100%);
}
.hero-fade {
  animation: heroTextFade 1s ease-out;
}
@keyframes heroTextFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sparkles */
.hero-sparkles {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-sparkles .s {
  position: absolute;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 14px 2px rgba(255,255,255,0.7);
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 140px 0 60px;
  max-width: 880px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep);
  border: 1px solid rgba(255,255,255,0.6);
  margin-bottom: 32px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 132px);
  line-height: 0.98;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  text-shadow: 0 4px 30px rgba(0, 42, 61, 0.2);
}
.hero-title > span { white-space: nowrap; }
.hero-title .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--sun);
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.95);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 42, 61, 0.2);
}
.hero-cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 0;
}

/* ===================== ABOUT ===================== */
.about {
  background: var(--paper);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; gap: 50px; } }

.about-photo-wrap { position: relative; }
.about-photo {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #88C4DD, #5BA9CC);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 42, 61, 0.25);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.about-badge {
  position: absolute;
  background: var(--sun);
  color: var(--deep);
  padding: 18px 24px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px -8px rgba(255, 154, 0, 0.5);
  transform: rotate(-3deg);
}
.about-badge.tl { top: -18px; left: -18px; }
.about-badge.br { bottom: -18px; right: -18px; transform: rotate(4deg); }

.about-text h2 { margin-bottom: 28px; color: var(--deep); }
.about-text .greeting {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-style: italic;
  color: var(--sky);
  margin-bottom: 6px;
}
.about-text p { margin-bottom: 18px; font-size: 16px; line-height: 1.7; }
.about-list {
  list-style: none;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.about-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px;
  color: var(--deep);
  font-weight: 500;
}
.about-list li::before {
  content: "\2726";
  color: var(--sun);
  font-size: 14px;
  margin-top: 1px;
}
.about-signature {
  margin-top: 36px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--sky);
}

/* ===================== DESTINOS ===================== */
.destinos {
  background: linear-gradient(180deg, var(--paper) 0%, var(--sky-lighter) 100%);
}
.destinos-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 50px;
  gap: 40px;
}
@media (max-width: 720px) { .destinos-head { flex-direction: column; align-items: flex-start; gap: 20px; } }
.destinos-head h2 { color: var(--deep); max-width: 600px; }
.destinos-head .lead { max-width: 360px; font-size: 15px; line-height: 1.6; }

.dest-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 42, 61, 0.08);
}
.dest-tab {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid rgba(0, 42, 61, 0.15);
  transition: all .25s;
  background: white;
}
.dest-tab:hover { color: var(--deep); border-color: var(--deep); }
.dest-tab.active {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.dest-tab .count {
  font-size: 11px;
  margin-left: 8px;
  opacity: 0.6;
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.dest-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: var(--deep);
  min-height: 280px;
  transition: transform .4s ease;
}
.dest-card:hover { transform: translateY(-4px); }
.dest-card:hover .dest-card-img { transform: scale(1.06); }
.dest-card:hover .dest-card-arrow { background: var(--sun); color: var(--deep); transform: rotate(-45deg); }

.dest-card-img {
  position: absolute; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.dest-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,42,61,0) 30%, rgba(0,42,61,0.85) 100%);
}
.dest-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  color: white;
  display: flex; align-items: end; justify-content: space-between;
  gap: 16px;
}
.dest-card-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 6px;
  display: block;
}
.dest-card-name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 4px;
}
.dest-card-sub {
  font-size: 12px;
  opacity: 0.85;
  letter-spacing: 0.04em;
}
.dest-card-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .35s ease;
  font-size: 18px;
}

/* "Ver más" debajo de la grilla de destinos en la home. */
.destinos-more {
    text-align: center;
    margin-top: 36px;
}
.destinos-show-more {
    box-shadow: 0 12px 28px -10px rgba(255, 154, 0, 0.55);
}

/* Cards ocultas por el límite de la home; se muestran al click "Ver más" o al
 * filtrar por una categoría específica. */
.dest-card.is-hidden-extra { display: none !important; }
.dest-card.is-hidden        { display: none !important; }

/* Cartelito de promo sobre la imagen — visible cuando el destino tiene promo_badge. */
.dest-card-promo {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  background: var(--sun);
  color: var(--deep);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px -4px rgba(255, 154, 0, 0.55);
  white-space: nowrap;
}

.dest-card.feature { grid-column: span 6; min-height: 380px; }
.dest-card.tall    { grid-column: span 3; min-height: 380px; }
.dest-card.wide    { grid-column: span 8; min-height: 280px; }
.dest-card.small   { grid-column: span 4; min-height: 280px; }
.dest-card.third   { grid-column: span 4; min-height: 300px; }

@media (max-width: 920px) {
  .dest-grid { grid-template-columns: repeat(6, 1fr); }
  .dest-card.feature, .dest-card.tall, .dest-card.wide, .dest-card.small, .dest-card.third { grid-column: span 6; min-height: 240px; }
}

/* ===================== STEPS ===================== */
.steps {
  background: var(--deep);
  color: white;
  position: relative;
  overflow: hidden;
}
.steps::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0, 138, 184, 0.3), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 154, 0, 0.15), transparent 40%);
  pointer-events: none;
}
.steps-stars {
  position: absolute; inset: 0; pointer-events: none;
}
.steps-stars .s {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.6;
  animation: twinkle 4s ease-in-out infinite;
}
.steps-head {
  position: relative;
  text-align: center;
  margin-bottom: 70px;
}
.steps-head h2 { color: white; margin-bottom: 16px; }
.steps-head p { color: rgba(255,255,255,0.7); max-width: 540px; margin: 0 auto; font-size: 16px; }
.steps-head .eyebrow { color: var(--sun); }
.steps-head .eyebrow::before { background: var(--sun); }

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 920px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  transition: transform .3s, background .3s;
}
.step-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.08); }
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  color: var(--sun);
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 400;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  margin-bottom: 12px;
  color: white;
}
.step-card p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.6;
}

/* ===================== FORM ===================== */
.form-section {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 138, 184, 0.08), transparent 70%);
  pointer-events: none;
}
.form-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
@media (max-width: 920px) { .form-grid { grid-template-columns: 1fr; gap: 40px; } }

.form-aside h2 { color: var(--deep); margin-bottom: 24px; }
.form-aside p { font-size: 16px; line-height: 1.7; margin-bottom: 24px; max-width: 420px; }
.form-aside .item {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 42, 61, 0.1);
  font-size: 14px;
  color: var(--deep);
  font-weight: 500;
}
.form-aside .item:last-child { border-bottom: 1px solid rgba(0, 42, 61, 0.1); }
.form-aside .item-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sky-lighter);
  display: flex; align-items: center; justify-content: center;
  color: var(--sky);
  flex-shrink: 0;
}

.form-card {
  background: white;
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 30px 60px -25px rgba(0, 42, 61, 0.15);
  border: 1px solid rgba(0, 42, 61, 0.06);
}
@media (max-width: 540px) { .form-card { padding: 28px; } }
.form-card-head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px dashed rgba(0, 42, 61, 0.15);
}
.form-card-head h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--deep);
  margin-bottom: 6px;
}
.form-card-head p { font-size: 13px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
  align-items: end; /* alinea el bottom de cada celda — así los inputs quedan
                       a la misma altura aunque las labels arriba sean de
                       distintas líneas. */
}
.form-row .form-field {
  display: flex;
  flex-direction: column;
}
.form-row .form-field input,
.form-row .form-field select,
.form-row .form-field textarea {
  margin-top: auto; /* empuja el input hacia abajo dentro de su celda */
}
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-field label .form-req {
  color: var(--sun);
  font-weight: 700;
  white-space: nowrap;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 42, 61, 0.15);
  border-radius: 12px;
  background: var(--paper);
  color: var(--deep);
  transition: border-color .2s, background .2s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: white;
}
.form-submit-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px;
  gap: 20px;
  flex-wrap: wrap;
}
.form-submit-row .note {
  font-size: 12px;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
/* ---------- Wizard del form de cotización ---------- */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px dashed rgba(0, 42, 61, 0.15);
}
.wizard-progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    position: relative;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color .25s;
}
.wizard-progress-step .num {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--paper);
    border: 1.5px solid rgba(0, 42, 61, 0.15);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--ink-soft);
    transition: all .3s ease;
    flex-shrink: 0;
}
.wizard-progress-step .label { display: inline-block; }
.wizard-progress-step:not(:last-child)::after {
    content: "";
    flex: 1;
    height: 2px;
    background: rgba(0, 42, 61, 0.10);
    margin: 0 6px;
    transition: background .3s ease;
}
.wizard-progress-step.active { color: var(--deep); }
.wizard-progress-step.active .num {
    background: var(--sun);
    border-color: var(--sun);
    color: var(--deep);
    box-shadow: 0 6px 18px -6px rgba(255, 154, 0, 0.6);
}
.wizard-progress-step.completed .num {
    background: var(--sky);
    border-color: var(--sky);
    color: white;
}
.wizard-progress-step.completed:not(:last-child)::after { background: var(--sky); }
.wizard-progress.hidden { display: none; }

@media (max-width: 540px) {
    .wizard-progress-step .label { display: none; }
    .wizard-progress-step .num { width: 28px; height: 28px; font-size: 14px; }
    .wizard-progress { gap: 4px; }
}

.wizard-pane { display: none; animation: fadeInPane .28s ease-out; }
.wizard-pane.active { display: block; }
@keyframes fadeInPane {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wizard-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 42, 61, 0.10);
}
.wizard-step-indicator {
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-weight: 600;
}
@media (max-width: 540px) {
    .wizard-nav { flex-direction: column; align-items: stretch; }
    .wizard-nav .btn { justify-content: center; width: 100%; }
    .wizard-step-indicator { text-align: center; order: -1; }
}

/* Pills de check / radio para el form de cotización */
.check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
@media (max-width: 540px) { .check-grid { grid-template-columns: 1fr; } }

.radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
@media (max-width: 540px) { .radio-grid { grid-template-columns: 1fr; } }

.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }

.check-pill, .radio-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: var(--paper);
    border: 1px solid rgba(0, 42, 61, 0.10);
    border-radius: 10px;
    font-size: 13.5px;
    color: var(--deep);
    cursor: pointer;
    transition: background .15s, border-color .15s;
    user-select: none;
}
.check-pill:hover, .radio-pill:hover {
    background: white;
    border-color: var(--sky);
}
.check-pill input, .radio-pill input {
    accent-color: var(--sun);
    width: auto;
    margin: 0;
    flex-shrink: 0;
}
.check-pill:has(input:checked),
.radio-pill:has(input:checked) {
    background: rgba(255, 154, 0, 0.10);
    border-color: var(--sun);
    color: var(--deep);
    font-weight: 600;
}

.success-msg {
  background: linear-gradient(135deg, var(--sky-lighter), white);
  border: 1px solid var(--sky);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  color: var(--deep);
}
.success-msg h3 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--sky);
  margin-bottom: 8px;
}
.success-msg p { color: var(--ink-soft); }
.success-msg .icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--sun);
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--deep);
  font-size: 28px;
}
.hidden { display: none !important; }

/* ===================== TESTIMONIALS ===================== */
.testimonials {
  background: linear-gradient(180deg, var(--paper) 0%, var(--sky-lighter) 100%);
}
.test-head { text-align: center; margin-bottom: 60px; }
.test-head h2 { color: var(--deep); margin-bottom: 12px; }
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 920px) { .test-grid { grid-template-columns: 1fr; } }
.test-card {
  background: white;
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 14px 30px -16px rgba(0, 42, 61, 0.12);
  position: relative;
  display: flex;
  flex-direction: column;
}
.test-card::before {
  content: "\201C";
  position: absolute;
  top: 18px; right: 24px;
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--sky-soft);
  line-height: 1;
}
.test-stars { color: var(--sun); margin-bottom: 16px; letter-spacing: 2px; font-size: 14px; }
.test-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  line-height: 1.4;
  color: var(--deep);
  margin-bottom: 28px;
  flex: 1;
}
.test-author { display: flex; align-items: center; gap: 14px; }
.test-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--deep));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.test-author .name { font-size: 14px; font-weight: 600; color: var(--deep); }
.test-author .meta { font-size: 12px; color: var(--ink-soft); }

/* ===================== FAQ ===================== */
.faq { background: var(--paper); }
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; gap: 30px; } }
.faq-aside h2 { color: var(--deep); margin-bottom: 18px; }
.faq-aside p { font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: white;
  border-radius: 14px;
  border: 1px solid rgba(0, 42, 61, 0.08);
  overflow: hidden;
  transition: all .25s;
}
.faq-item.open { border-color: var(--sky); box-shadow: 0 12px 28px -16px rgba(0, 138, 184, 0.4); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--deep);
  font-family: var(--font-body);
}
.faq-q-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sky-lighter);
  color: var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform .3s, background .25s, color .25s;
}
.faq-item.open .faq-q-icon { background: var(--sun); color: var(--deep); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 24px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ===================== INSTAGRAM BANNER ===================== */
.ig-banner-simple {
  background: linear-gradient(135deg, var(--sky) 0%, var(--deep) 100%);
  padding: 100px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.ig-banner-simple::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(255, 154, 0, 0.2), transparent 40%);
  pointer-events: none;
}
.ig-banner-simple .ig-handle { font-size: 22px; justify-content: center; }
.ig-handle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--sun);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}

/* ===================== BLOG (listado + single) ===================== */

/* Wrapper general para páginas internas que tienen nav fija arriba. */
.page-wrap {
    padding-top: 96px;
    background: var(--paper);
    min-height: 100vh;
}

.blog-page { padding-bottom: 80px; }

.blog-intro {
    text-align: center;
    padding: 60px 0 30px;
}
.blog-intro .eyebrow { justify-content: center; }
.blog-intro h1 {
    font-family: var(--font-display);
    font-size: clamp(38px, 6vw, 72px);
    color: var(--deep);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 18px auto 14px;
    max-width: 820px;
}
.blog-intro h1 .italic { font-style: italic; font-weight: 400; color: var(--sky); }
.blog-intro p {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 30px 0 50px;
    border-bottom: 1px solid rgba(0, 42, 61, 0.08);
    margin-bottom: 50px;
}
.blog-cat {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 42, 61, 0.15);
    background: white;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
}
.blog-cat:hover { color: var(--deep); border-color: var(--deep); }
.blog-cat.active { background: var(--deep); color: white; border-color: var(--deep); }
.blog-cat .count {
    font-size: 11px;
    margin-left: 8px;
    opacity: 0.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 920px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; gap: 22px; } }

.blog-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px -18px rgba(0, 42, 61, 0.18);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
    color: var(--deep);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -20px rgba(0, 42, 61, 0.25);
}

.blog-card-cover {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--sky) 0%, var(--deep) 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}
.blog-card-cover-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 48px;
}
.blog-card-cover-pill {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--sun);
    color: var(--deep);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--ink-soft);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
}
.blog-card h3 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 24px);
    color: var(--deep);
    line-height: 1.2;
    font-weight: 500;
    margin: 0;
}
.blog-card p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
    flex: 1;
    margin: 0;
}
.blog-card-more {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--sky);
    align-self: flex-start;
    transition: color .2s;
}
.blog-card:hover .blog-card-more { color: var(--sun); }

.blog-empty {
    text-align: center;
    padding: 60px 20px 80px;
    color: var(--ink-soft);
}
.blog-empty .big {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 32px);
    color: var(--deep);
    margin-bottom: 14px;
    display: block;
}
.blog-empty p { margin-bottom: 6px; }

/* ---------- Single post ---------- */

.post-page { padding-top: 60px; padding-bottom: 0; }

.post-cover {
    aspect-ratio: 21 / 9;
    background-size: cover;
    background-position: center;
    background-color: var(--deep);
    margin-top: 36px;
}
.post-cover-fallback {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 138, 184, 0.5), transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 154, 0, 0.3), transparent 50%),
        linear-gradient(135deg, var(--deep), var(--sky));
}
@media (max-width: 720px) { .post-cover { aspect-ratio: 16 / 10; margin-top: 24px; } }

.post-content {
    background: white;
    margin: -80px auto 0;
    border-radius: 28px 28px 0 0;
    padding: 56px clamp(24px, 5vw, 80px) 64px;
    max-width: 820px;
    position: relative;
}
@media (max-width: 720px) {
    .post-content {
        margin: -40px auto 0;
        border-radius: 24px 24px 0 0;
        padding: 36px 22px 48px;
    }
}

.post-back {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 22px;
    transition: color .2s;
}
.post-back:hover { color: var(--sun); }

.post-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}
.post-cat {
    background: var(--sky-lighter);
    color: var(--sky);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    transition: background .2s, color .2s;
}
.post-cat:hover { background: var(--sky); color: white; }
.post-date,
.post-author {
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: 0.06em;
}

.post-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 6vw, 60px);
    color: var(--deep);
    line-height: 1.05;
    letter-spacing: -0.01em;
    font-weight: 500;
    margin-bottom: 28px;
}
.post-excerpt {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--sky);
    line-height: 1.45;
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0, 42, 61, 0.10);
}

.post-body {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink);
}
.post-body > * { margin-bottom: 22px; }
.post-body > *:last-child { margin-bottom: 0; }
.post-body p { color: var(--ink); font-size: 17px; }
.post-body h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.2vw, 34px);
    color: var(--deep);
    margin: 36px 0 14px;
    font-weight: 500;
}
.post-body h3 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 28px);
    color: var(--deep);
    margin: 30px 0 12px;
    font-weight: 500;
}
.post-body img {
    border-radius: 14px;
    margin: 24px 0;
    width: 100%;
    height: auto;
}
.post-body a { color: var(--sky); text-decoration: underline; }
.post-body a:hover { color: var(--sun); }
.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
    border-left: 4px solid var(--sun);
    padding: 14px 22px;
    background: var(--paper);
    border-radius: 0 14px 14px 0;
    margin: 26px 0;
    font-style: italic;
    color: var(--deep);
}
.post-body code {
    background: var(--paper);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 14px;
}

.post-foot {
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 42, 61, 0.10);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.post-related {
    background: linear-gradient(180deg, white 0%, var(--paper) 100%);
    padding: 80px 0;
    margin-top: 60px;
}
@media (max-width: 720px) { .post-related { padding: 60px 0; margin-top: 40px; } }
.post-related .eyebrow { color: var(--sky); }
.post-related h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    color: var(--deep);
    line-height: 1.05;
    font-weight: 500;
}
.post-related h2 .italic { font-style: italic; font-weight: 400; color: var(--sky); }

/* ===================== DESTINO (single público) ===================== */

.dest-page { padding-top: 60px; padding-bottom: 0; }

.dest-hero {
    aspect-ratio: 21 / 9;
    background-size: cover;
    background-position: center;
    background-color: var(--deep);
    position: relative;
    margin-top: 36px;
}
.dest-hero-fallback {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 138, 184, 0.5), transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 154, 0, 0.3), transparent 50%),
        linear-gradient(135deg, var(--deep), var(--sky));
}
.dest-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 42, 61, 0.0) 50%, rgba(0, 42, 61, 0.5) 100%);
    pointer-events: none;
}
.dest-hero-badge {
    position: absolute;
    top: 32px; right: 32px;
    background: var(--sun);
    color: var(--deep);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 12px 28px -6px rgba(255, 154, 0, 0.5);
    z-index: 2;
}
@media (max-width: 720px) {
    .dest-hero { aspect-ratio: 16 / 10; margin-top: 24px; }
    .dest-hero-badge { top: 18px; right: 18px; padding: 8px 16px; font-size: 11px; }
}

.dest-content {
    background: white;
    margin: -80px auto 0;
    border-radius: 28px 28px 0 0;
    padding: 56px clamp(24px, 5vw, 80px) 64px;
    max-width: 920px;
    position: relative;
}
@media (max-width: 720px) {
    .dest-content {
        margin: -40px auto 0;
        border-radius: 24px 24px 0 0;
        padding: 36px 22px 48px;
    }
}

.dest-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}
.dest-eyebrow .post-cat { background: var(--sky-lighter); color: var(--sky); }
.dest-sub {
    font-size: 13px;
    color: var(--ink-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

.dest-meta-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 24px 0 32px;
    padding: 24px;
    background: var(--paper);
    border-radius: 16px;
    border: 1px solid rgba(0, 42, 61, 0.06);
}
@media (max-width: 540px) { .dest-meta-row { grid-template-columns: 1fr; } }
.dest-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dest-meta-label {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 600;
}
.dest-meta strong {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--deep);
    font-weight: 500;
}

.dest-promo-reason {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(255, 154, 0, 0.10), rgba(255, 154, 0, 0.04));
    border: 1px solid rgba(255, 154, 0, 0.30);
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 36px;
}
.dest-promo-icon {
    color: var(--sun);
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.dest-promo-eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: #B86F00;
    font-weight: 700;
    margin-bottom: 4px;
}
.dest-promo-reason p {
    color: var(--deep);
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
    font-weight: 500;
}

.dest-body { /* misma tipografía que .post-body */ }
.dest-body h2 {
    border-top: 1px solid rgba(0, 42, 61, 0.10);
    padding-top: 28px;
}
.dest-body h2:first-child { border-top: none; padding-top: 0; }

/* ===================== PAQUETES (cards en destino) ===================== */
.dest-packages {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(0, 42, 61, 0.10);
}
.dest-packages h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    color: var(--deep);
    line-height: 1.1;
    font-weight: 500;
}
.dest-packages h2 .italic { font-style: italic; font-weight: 400; color: var(--sky); }

.package-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 720px) { .package-grid { grid-template-columns: 1fr; } }

.package-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px -18px rgba(0, 42, 61, 0.20);
    color: var(--deep);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid rgba(0, 42, 61, 0.06);
}
.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -20px rgba(0, 42, 61, 0.28);
}

.package-card-cover {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--sky), var(--deep));
    background-size: cover;
    background-position: center;
    position: relative;
}
.package-card-cover-icon {
    position: absolute; inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 42px;
}
.package-card-promo {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--sun);
    color: var(--deep);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px -4px rgba(255, 154, 0, 0.55);
    z-index: 2;
}

.package-card-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.package-card h3 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 28px);
    color: var(--deep);
    line-height: 1.15;
    font-weight: 500;
    margin: 0;
}
.package-card-sub {
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}
.package-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: var(--ink);
    flex: 1;
}
.package-card-meta div { display: flex; align-items: center; gap: 8px; }
.package-card-price {
    color: var(--sky);
    font-weight: 700;
    font-size: 16px;
}
.package-card-more {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--sky);
    transition: color .2s;
}
.package-card:hover .package-card-more { color: var(--sun); }

/* ===================== SHARE ACTIONS (final de blog/destino/paquete) ===================== */
.share-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 48px;
    padding: 22px 0;
    border-top: 1px solid rgba(0, 42, 61, 0.10);
    border-bottom: 1px solid rgba(0, 42, 61, 0.10);
    flex-wrap: wrap;
}
.share-actions-left {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 500;
}
.share-actions-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--ink-soft);
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 42, 61, 0.12);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.share-btn:hover {
    color: var(--deep);
    border-color: var(--deep);
    background: white;
}
.share-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.share-btn.is-success {
    color: var(--sky);
    border-color: var(--sky);
    background: var(--sky-lighter);
}
@media (max-width: 540px) {
    .share-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .share-actions-buttons { justify-content: stretch; }
    .share-btn { flex: 1; justify-content: center; }
}

/* ===================== GALLERY (post + destination) ===================== */
.entity-gallery {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(0, 42, 61, 0.10);
}
.entity-gallery h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 38px);
    color: var(--deep);
    line-height: 1.1;
    font-weight: 500;
}
.entity-gallery h2 .italic { font-style: italic; font-weight: 400; color: var(--sky); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: var(--paper);
    box-shadow: 0 8px 22px -14px rgba(0, 42, 61, 0.25);
    cursor: zoom-in;
    transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -14px rgba(0, 42, 61, 0.35);
}
.gallery-item:hover img { transform: scale(1.05); }

/* Lightbox para abrir imágenes de la galería en grande. */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 26, 38, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.lightbox-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-overlay img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 26px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background .2s, color .2s, border-color .2s;
    line-height: 1;
}
.lightbox-close:hover {
    background: var(--sun);
    color: var(--deep);
    border-color: var(--sun);
}
@media (max-width: 720px) {
    .lightbox-overlay { padding: 16px; }
    .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; font-size: 22px; }
}

/* ===================== NAV (estados extra) ===================== */
.nav-links a.active { color: var(--sun); }
.nav.scrolled .nav-links a.active { color: var(--sun); }

/* Toggle hamburguesa para mobile */
.nav-mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    width: 44px; height: 44px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    backdrop-filter: blur(8px);
    transition: background .2s, border-color .2s;
}
.nav.scrolled .nav-mobile-toggle {
    background: rgba(0, 42, 61, 0.06);
    border-color: rgba(0, 42, 61, 0.15);
}
.nav-mobile-toggle span {
    width: 18px; height: 2px;
    background: white;
    border-radius: 2px;
    transition: background .2s, transform .25s, opacity .2s;
}
.nav.scrolled .nav-mobile-toggle span { background: var(--deep); }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
    .nav-mobile-toggle { display: inline-flex; }
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh; /* dynamic viewport height en navegadores modernos */
        width: 86%;
        max-width: 340px;
        background: var(--deep);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 92px 28px 32px;
        transform: translateX(110%);
        transition: transform .3s ease;
        box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.5);
        z-index: 100; /* dentro del stacking context del .nav */
        overflow-y: auto;
        visibility: visible;
    }
    body.nav-open .nav-links { transform: translateX(0); }
    /* Backdrop a 90: por debajo del nav (que stackea entero a 100). */
    body.nav-open::after {
        content: "";
        position: fixed; inset: 0;
        background: rgba(0, 42, 61, 0.55);
        z-index: 90;
    }
    /* iOS/Safari: backdrop-filter en el nav crea un containing block que
       recorta los descendientes position:fixed. Mientras el panel está abierto
       removemos el filter para que el panel pueda usar todo el viewport. */
    body.nav-open .nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav-links a {
        color: white !important;
        padding: 14px 0;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav-links a.active { color: var(--sun) !important; }
    .nav-links a.nav-cta {
        margin-top: 20px;
        background: var(--sun) !important;
        color: var(--deep) !important;
        padding: 14px 22px;
        text-align: center;
        border-radius: 999px;
        border: none;
    }
    .nav-links a.nav-cta:hover { background: var(--sun) !important; color: var(--deep) !important; }
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--deep);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 56px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-tag { font-size: 14px; line-height: 1.6; max-width: 280px; color: rgba(255,255,255,0.7); }
.footer h4 {
  color: white;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: color .2s;
}
.footer ul a:hover { color: var(--sun); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.5);
  z-index: 50;
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
