/* ============================================================
   MegaNet Viajes Perú — styles
   Archetype: 01 Editorial Light Cream (adaptado a paleta dorada)
   ============================================================ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..800;1,9..144,300..800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Reset ── */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ── Tokens ── */
:root {
  --bg:        #f4efe6;
  --bg-2:      #ebe2d0;
  --bg-3:      #e3d8c2;
  --paper:     #fffdf8;
  --ink:       #1a1611;
  --ink-soft:  #2c2620;
  --ink-mute:  #6e6258;
  --accent:    #c89352;          /* gold from logo */
  --accent-2:  #a87731;
  --accent-3:  #d9ad6e;
  --trust:     #1f4759;          /* deep teal — confianza */
  --trust-2:   #2c5e74;
  --whatsapp:  #25d366;
  --whatsapp-d:#128c7e;
  --line:      rgba(26,22,17,0.12);
  --line-soft: rgba(26,22,17,0.06);

  --shadow-sm: 0 2px 8px rgba(26,22,17,.06), 0 1px 2px rgba(26,22,17,.04);
  --shadow:    0 14px 32px -10px rgba(26,22,17,.18), 0 4px 12px rgba(26,22,17,.08);
  --shadow-lg: 0 30px 60px -20px rgba(26,22,17,.28), 0 8px 24px rgba(26,22,17,.10);
  --shadow-gold: 0 24px 48px -16px rgba(200,147,82,.45), 0 8px 16px rgba(200,147,82,.18);

  --ease-out:    cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --container: 1240px;
  --nav-h: 76px;
}

/* ── Base ── */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6.5vw, 5.2rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
h4 { font-size: clamp(1.1rem, 1.6vw, 1.25rem); }
em { font-style: italic; color: var(--accent-2); font-feature-settings: "ss01"; }
p  { color: var(--ink-soft); }
strong { font-weight: 600; color: var(--ink); }
ul, ol { padding-left: 1.2rem; }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 4vw, 2.4rem);
}

/* ── Eyebrow ── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-2);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-2);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out),
              box-shadow .25s var(--ease-out), color .25s var(--ease-out);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-gold {
  background: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover {
  background: var(--accent-2);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-wa {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.45);
}
.btn-wa:hover {
  background: var(--whatsapp-d);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--paper);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.7rem 1.2rem; font-size: 0.88rem; }

/* ── Nav ── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(244, 239, 230, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(244, 239, 230, 0.96);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 4vw, 2.4rem);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-brand span em {
  color: var(--accent-2);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
}
.nav-links a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
  background: var(--bg-2);
}
.nav-cta { margin-left: 0.5rem; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s var(--ease-out);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s var(--ease-out);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.5rem clamp(1.2rem, 4vw, 2.4rem) 2.5rem;
    background: rgba(244, 239, 230, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform .35s var(--ease-out);
    align-items: stretch;
  }
  .nav-links a {
    padding: 1rem 0.6rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .nav.is-open .nav-links {
    transform: translateY(0);
  }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 3rem;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) brightness(.82);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(26,22,17,.6) 0%, rgba(26,22,17,.35) 35%, rgba(26,22,17,.7) 100%),
    radial-gradient(60% 40% at 50% 95%, rgba(200,147,82,.18), transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--paper);
  max-width: 900px;
  text-align: center;
  margin-inline: auto;
  padding-inline: 1rem;
}
.hero-content .kicker {
  color: var(--accent-3);
  margin-bottom: 1.6rem;
}
.hero-content .kicker::before { background: var(--accent-3); }
.hero-content h1 {
  color: var(--paper);
  text-wrap: balance;
  max-width: 20ch;
  margin-inline: auto;
  text-shadow: 0 2px 30px rgba(0,0,0,.55);
}
.hero-content h1 em { color: var(--accent-3); }
.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(255, 253, 248, .92);
  max-width: 36ch;
  margin-inline: auto;
  text-wrap: balance;
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-weight: 300;
}
.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.3rem;
  justify-content: center;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,253,248,.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255,253,248,.7), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .35; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.25); }
}

/* ── Section base ── */
section { padding-block: clamp(4rem, 8vw, 7rem); position: relative; }
.section-head {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head .kicker { justify-content: center; }
.section-head .kicker::before { background: var(--accent-2); }
.section-head h2 {
  margin-top: 1rem;
  text-wrap: balance;
}
.section-head p {
  margin-top: 1rem;
  font-size: 1.07rem;
  color: var(--ink-mute);
  text-wrap: balance;
}

/* ── Manifesto / About ── */
.about {
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--accent-2);
  line-height: 0.9;
}
.about-text h2 {
  margin-bottom: 1.4rem;
}
.about-text p {
  font-size: 1.08rem;
  margin-bottom: 1rem;
}
.about-meta {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.about-meta dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}
.about-meta dd {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--ink);
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-meta { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── Destination cards grid ── */
.destinos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.destino-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.destino-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.destino-card .card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-2);
}
.destino-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out), filter .6s var(--ease-out);
}
.destino-card:hover .card-img img {
  transform: scale(1.07);
  filter: saturate(1.15) brightness(1.04);
}
.destino-card .card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,253,248,.95);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}
.destino-card .card-duration {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}
.destino-card .card-body {
  padding: 1.4rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.destino-card .card-region {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}
.destino-card .card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--ink);
}
.destino-card .card-desc {
  font-size: 0.96rem;
  color: var(--ink-mute);
  flex: 1;
}
.destino-card .card-foot {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.destino-card .card-price {
  display: flex;
  flex-direction: column;
}
.destino-card .card-price .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
}
.destino-card .card-price .value {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 500;
}
.destino-card .card-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease-out), transform .25s var(--ease-out);
}
.destino-card:hover .card-arrow {
  background: var(--accent);
  color: var(--ink);
  transform: translate(2px, -2px);
}
.destino-card .card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  /* invisible overlay link covering the whole card */
}

/* ── Value props ── */
.values {
  background: var(--bg-2);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.value-card .v-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent-2);
  margin-bottom: 0.4rem;
}
.value-card h3 {
  font-size: 1.2rem;
  color: var(--ink);
}
.value-card p {
  font-size: 0.95rem;
  color: var(--ink-mute);
}
@media (max-width: 940px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ── Tickets aéreos block ── */
.tickets {
  background:
    linear-gradient(135deg, rgba(31,71,89,.95), rgba(44,94,116,.95)),
    radial-gradient(circle at 30% 40%, rgba(200,147,82,.4), transparent 60%);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-block: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  position: relative;
}
.tickets::before {
  content: "✈";
  position: absolute;
  top: -3rem;
  right: -2rem;
  font-size: 14rem;
  color: rgba(200,147,82,.18);
  font-weight: 200;
  transform: rotate(-22deg);
  pointer-events: none;
  z-index: 0;
}
.tickets > * { position: relative; z-index: 1; }
.tickets .kicker { color: var(--accent-3); }
.tickets .kicker::before { background: var(--accent-3); }
.tickets h2 {
  color: var(--paper);
  margin: 1rem 0 1.2rem;
  text-wrap: balance;
}
.tickets h2 em { color: var(--accent-3); }
.tickets p {
  color: rgba(255,253,248,.85);
  font-size: 1.05rem;
}
.tickets-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.tickets-actions .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  background: rgba(255,253,248,.12);
  border: 1px solid rgba(255,253,248,.25);
  color: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.tickets-actions .pill svg { width: 14px; height: 14px; }
@media (max-width: 800px) {
  .tickets { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
}

/* ── Gallery ── */
.gallery {
  background: var(--bg);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 0.9rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--bg-2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item.tile-a { grid-column: span 3; grid-row: span 2; }
.gallery-item.tile-b { grid-column: span 3; grid-row: span 1; }
.gallery-item.tile-c { grid-column: span 2; grid-row: span 1; }
.gallery-item.tile-d { grid-column: span 2; grid-row: span 2; }
.gallery-item.tile-e { grid-column: span 2; grid-row: span 1; }
.gallery-item.tile-f { grid-column: span 2; grid-row: span 1; }
@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item.tile-a { grid-column: span 2; grid-row: span 2; }
  .gallery-item.tile-b { grid-column: span 2; grid-row: span 1; }
  .gallery-item.tile-c, .gallery-item.tile-d, .gallery-item.tile-e, .gallery-item.tile-f {
    grid-column: span 1; grid-row: span 1;
  }
}

/* ── FAQ ── */
.faq { background: var(--paper); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq-grid .section-head { text-align: left; margin: 0; }
.faq-grid .section-head .kicker { justify-content: flex-start; }
.faq-grid .section-head h2 { text-wrap: pretty; }
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  background: var(--bg);
  border-radius: var(--r);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color .2s var(--ease-out);
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--accent-2);
  transition: transform .3s var(--ease-out);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-mute);
  font-size: 0.98rem;
}
@media (max-width: 800px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ── Contact ── */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 6rem);
}
.contact .kicker { color: var(--accent-3); }
.contact .kicker::before { background: var(--accent-3); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}
.contact h2 {
  color: var(--paper);
  margin: 1rem 0 1.2rem;
  text-wrap: balance;
}
.contact h2 em { color: var(--accent-3); }
.contact p {
  color: rgba(255,253,248,.82);
  font-size: 1.05rem;
}
.contact-info {
  margin-top: 2rem;
  display: grid;
  gap: 1.1rem;
}
.contact-info dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-3);
  margin-bottom: 0.3rem;
}
.contact-info dd {
  color: var(--paper);
  font-size: 1.05rem;
  font-family: 'Fraunces', serif;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  background: rgba(255,253,248,.05);
  border: 1px solid rgba(255,253,248,.12);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.contact-actions .btn { width: 100%; }
.contact-actions .socials {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.contact-actions .socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,253,248,.08);
  border: 1px solid rgba(255,253,248,.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease-out), transform .2s var(--ease-out);
}
.contact-actions .socials a:hover {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-3px);
}
.contact-actions .socials svg { width: 18px; height: 18px; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(255,253,248,.6);
  padding-block: 2rem;
  border-top: 1px solid rgba(255,253,248,.08);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-inner a { color: var(--accent-3); }
.footer-inner a:hover { color: var(--accent); }

/* ── Floating WhatsApp button ── */
.wa-float {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px -8px rgba(37,211,102,.45), 0 6px 12px rgba(37,211,102,.25);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0;
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.4); }
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 24px 40px -8px rgba(37,211,102,.55);
}
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 920px) {
  .wa-float { bottom: 1.8rem; right: 1.8rem; }
}

/* ===========================================================
   DESTINATION DETAIL PAGE
   =========================================================== */

.detail-hero {
  position: relative;
  min-height: 70vh;
  min-height: 70svh;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.detail-hero .hero-bg img { filter: saturate(1.05) brightness(.7); }
.detail-hero .hero-overlay {
  background:
    linear-gradient(180deg, rgba(26,22,17,.35) 0%, rgba(26,22,17,.4) 40%, rgba(26,22,17,.85) 100%);
}
.detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 4vw, 2.4rem);
  width: 100%;
  color: var(--paper);
}
.detail-hero .breadcrumbs {
  font-size: 0.82rem;
  color: rgba(255,253,248,.7);
  margin-bottom: 1.4rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.detail-hero .breadcrumbs a { color: var(--accent-3); }
.detail-hero .breadcrumbs a:hover { color: var(--paper); }
.detail-hero .breadcrumbs span.sep { color: rgba(255,253,248,.4); }
.detail-hero h1 {
  color: var(--paper);
  font-size: clamp(2rem, 5vw, 3.8rem);
  text-wrap: balance;
  max-width: 22ch;
  margin-bottom: 1rem;
}
.detail-hero h1 em { color: var(--accent-3); }
.detail-hero .lead {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255,253,248,.92);
  max-width: 50ch;
  margin-bottom: 1.8rem;
}
.detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}
.detail-hero-meta .chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,253,248,.12);
  border: 1px solid rgba(255,253,248,.2);
  color: var(--paper);
  font-size: 0.86rem;
}
.detail-hero-meta .chip strong { color: var(--accent-3); margin-right: 0.3rem; }
.detail-hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Detail layout */
.detail {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--bg);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 920px) {
  .detail-grid { grid-template-columns: 1fr; }
}

.detail-block {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.detail-block h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.detail-block h2 .num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--accent-2);
  font-weight: 400;
}
.detail-block ul {
  list-style: none;
  padding: 0;
}
.detail-block .check-list li {
  padding: 0.55rem 0 0.55rem 1.8rem;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.detail-block .check-list li:last-child { border-bottom: 0; }
.detail-block .check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 50%;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.detail-block .x-list li {
  padding: 0.55rem 0 0.55rem 1.8rem;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-mute);
  font-size: 0.96rem;
}
.detail-block .x-list li:last-child { border-bottom: 0; }
.detail-block .x-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 22px;
  height: 22px;
  color: var(--ink-mute);
  background: var(--bg-2);
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Itinerary */
.itinerary { position: relative; padding-left: 0; }
.iti-item {
  position: relative;
  padding: 0 0 1.6rem 2.2rem;
  border-left: 1px solid var(--line);
  margin-left: 0.6rem;
}
.iti-item:last-child { padding-bottom: 0; }
.iti-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.4rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 1px var(--accent);
}
.iti-item .iti-time {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent-2);
  margin-bottom: 0.3rem;
}
.iti-item .iti-text {
  color: var(--ink-soft);
  font-size: 0.99rem;
}

/* Sidebar */
.detail-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
@media (max-width: 920px) { .detail-sidebar { position: static; } }

.price-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
}
.price-card .pc-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-3);
  margin-bottom: 0.5rem;
}
.price-card .pc-price {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--paper);
  margin-bottom: 0.5rem;
}
.price-card .pc-price small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,253,248,.65);
  margin-top: 0.3rem;
}
.price-card .pc-cta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.5rem 0;
}
.price-card .pc-cta .btn { width: 100%; }
.price-card .pc-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  border-top: 1px solid rgba(255,253,248,.12);
}
.price-card .pc-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,253,248,.08);
  font-size: 0.88rem;
}
.price-card .pc-list li:last-child { border-bottom: 0; }
.price-card .pc-list .plan { color: rgba(255,253,248,.85); }
.price-card .pc-list .price {
  color: var(--accent-3);
  font-family: 'Fraunces', serif;
  font-weight: 500;
}
.price-card .pc-list .nota {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,253,248,.5);
  margin-top: 0.15rem;
}

.detail-meta {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  margin-top: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.detail-meta h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.detail-meta ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.detail-meta li {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.detail-meta li strong { color: var(--accent-2); font-family: 'Fraunces', serif; font-weight: 500; }

/* Related destinos */
.related {
  background: var(--bg);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.related .destinos-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 920px) {
  .related .destinos-grid { grid-template-columns: 1fr; }
}

/* ── Reveal-on-scroll defensive (mandatory per A.4.5) ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-split] {
  /* defensive: never let split-text elements stay invisible */
  opacity: 1;
  transform: none;
}

/* small reveal delay stagger */
.reveal[data-stagger="1"] { transition-delay: .08s; }
.reveal[data-stagger="2"] { transition-delay: .16s; }
.reveal[data-stagger="3"] { transition-delay: .24s; }
.reveal[data-stagger="4"] { transition-delay: .32s; }

/* Splash safety net */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .01ms; }
}

/* ── Categoría color tag ── */
.tag-viaje-corto           { background: var(--accent); color: var(--ink); }
.tag-peru                  { background: var(--trust); color: var(--paper); }
.tag-internacional         { background: #6e4d2a; color: var(--paper); }

/* ── Print-y subtle decorations ── */
.decor-line {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--accent);
  margin: 1rem auto 1.5rem;
}

/* ── Section heading variant on dark ── */
.tickets .kicker, .contact .kicker { color: var(--accent-3); }

/* ===========================================================
   CIRCUITOS PERÚ — 4-card grid for multi-destination routes
   =========================================================== */
.circuitos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
@media (max-width: 800px) {
  .circuitos-grid { grid-template-columns: 1fr; }
}
.circuito-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.circuito-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.circuito-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
}
.circuito-card header {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.circuito-card .circuito-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--accent-2);
  font-weight: 400;
  line-height: 1;
}
.circuito-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--ink);
  margin-right: auto;
}
.circuito-card .circuito-dur {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  background: var(--bg-2);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}
.circuito-card .circuito-route {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
}
.circuito-card .circuito-route span {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.32rem 0.7rem;
  background: var(--bg);
  color: var(--ink);
  border-radius: 6px;
  border: 1px solid var(--line-soft);
}
.circuito-card .circuito-route span + span::before {
  content: "→";
  margin-right: 0.5rem;
  color: var(--accent-2);
  font-weight: 600;
}
.circuito-card .circuito-route span + span {
  border-left: none;
  padding-left: 0;
  background: transparent;
  border: 0;
  padding: 0;
}
/* Reset: route uses arrow separators instead of pills */
.circuito-card .circuito-route {
  font-family: 'Inter', sans-serif;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.7;
}
.circuito-card .circuito-route span {
  background: transparent;
  border: 0;
  padding: 0;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.96rem;
}
.circuito-card .circuito-route span + span::before {
  content: " → ";
  color: var(--accent);
  margin: 0 0.35rem;
  font-weight: 600;
}
.circuito-card .circuito-desc {
  color: var(--ink-mute);
  font-size: 0.96rem;
  flex: 1;
}
.circuito-card .btn { align-self: flex-start; margin-top: 0.4rem; }

/* ===========================================================
   ESCOLARES — single highlighted card
   =========================================================== */
.escolar-card {
  background:
    linear-gradient(135deg, rgba(31, 71, 89, 0.97), rgba(44, 94, 116, 0.97)),
    radial-gradient(circle at 80% 20%, rgba(200,147,82,.3), transparent 60%);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.escolar-card::before {
  content: "🎓";
  position: absolute;
  top: -1rem;
  right: -1rem;
  font-size: 12rem;
  opacity: 0.12;
  transform: rotate(-15deg);
  pointer-events: none;
}
.escolar-content { position: relative; z-index: 1; max-width: 760px; }
.escolar-card .escolar-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-3);
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}
.escolar-card h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--paper);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.escolar-features {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.escolar-features li {
  padding-left: 1.6rem;
  position: relative;
  color: rgba(255, 253, 248, 0.9);
  font-size: 0.98rem;
  line-height: 1.55;
}
.escolar-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.escolar-features strong { color: var(--paper); font-weight: 600; }
.escolar-card .escolar-destinos {
  font-size: 0.95rem;
  color: rgba(255,253,248,.78);
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255,253,248,.05);
  border-radius: var(--r);
  border: 1px solid rgba(255,253,248,.1);
}
.escolar-card .escolar-destinos strong { color: var(--accent-3); }

