/* =============================================================
   PUNTO TRAVEL — styles.css
   1. Tokens  2. Reset  3. Utilities  4. Typography  5. Components
   6. Sections  7. Effects  8. Responsive  9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Palette — deep navy dusk, wine + gold accents, sage for sustainability */
  --bg:        #0b1220;
  --bg-2:      #101a2c;
  --bg-3:      #17233a;
  --bg-3-hover:#1d2c47;
  --cream:     #f4efe4;
  --cream-2:   #d9d1c0;
  --mute:      #8894a8;
  --line:      rgba(244,239,228,0.12);
  --line-strong: rgba(244,239,228,0.22);

  --navy:      #1c3564;
  --navy-light:#2b4a86;
  --wine:      #8f2447;
  --wine-light:#b5395f;
  --wine-dark: #5c1730;
  --gold:      #c8a668;
  --gold-light:#e2c99a;
  --sage:      #5c8a71;
  --sage-light:#7fac93;

  --whatsapp:  #25d366;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans:  'Manrope', sans-serif;
  --font-mono:  'IBM Plex Mono', monospace;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --container: 1220px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  color-scheme: dark;
}

@property --mesh-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-weight: 500; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--wine); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section-pad { padding-block: clamp(4.5rem, 9vw, 8rem); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .7rem 1.2rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--gold);
  display: inline-block;
}

em { font-style: italic; color: var(--gold-light); }

/* Reveal-on-scroll */
.reveal, .reveal-item {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.is-visible, .reveal-item.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-split], .reveal-item[data-split] {
  opacity: 1;
  transform: none;
}

/* Placeholder photo component */
.ph {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .7rem;
  background:
    repeating-linear-gradient(135deg, rgba(244,239,228,0.035) 0 2px, transparent 2px 14px),
    linear-gradient(155deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--mute);
  text-align: center;
  min-height: 220px;
}
.ph svg { width: 30px; height: 30px; opacity: .8; }
.ph-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.6;
}

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.display-xl {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.16;
}
.display-lg {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.08;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--cream-2);
  max-width: 46ch;
  font-weight: 300;
}

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--whatsapp), #1fae57);
  color: #05170c;
  box-shadow: 0 10px 30px -10px rgba(37,211,102,0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(37,211,102,0.7); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--cream);
  background: rgba(244,239,228,0.03);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(200,166,104,0.08); }
.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold-light);
}
.btn-outline-gold:hover { background: rgba(200,166,104,0.1); transform: translateY(-2px); }
.btn-sm { padding: 0.7rem 1.3rem; font-size: 0.85rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Nav */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  padding-block: 1.3rem;
  transition: padding .4s var(--ease-out), background .4s var(--ease-out), border-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding-block: .8rem;
  background: rgba(11,18,32,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: fit-content;
  background: var(--cream);
  border-radius: 12px;
  padding: .4rem .8rem;
  box-shadow: 0 8px 22px -10px rgba(0,0,0,0.45);
}
.logo-chip img {
  display: block;
  height: 34px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  position: relative;
  font-size: 0.9rem; font-weight: 500; color: var(--cream-2);
  padding-block: .3rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px; padding: .5rem;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--cream); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }

/* Stat trio */
.stat-trio { display: flex; flex-wrap: wrap; gap: clamp(1.6rem, 4vw, 3.2rem); }
.stat-trio .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--gold-light);
  font-weight: 600;
  display: block;
}
.stat-trio .stat-label {
  font-size: 0.78rem;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Cards */
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

/* =============================================================
   6. Sections
   ============================================================= */

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-start;
  padding-block: clamp(7rem, 13vw, 8.5rem) clamp(7rem, 12vw, 9rem);
  overflow: clip;
}
.hero-media {
  position: absolute; top: -26%; left: 0; right: 0; bottom: -26%; z-index: 0;
  background: var(--bg);
  will-change: transform;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 62%;
  filter: saturate(1.04) contrast(1.02) brightness(0.94);
  transform-origin: 55% 68%;
  animation: heroKenBurns 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.2%, 1%); }
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: 1;
  background:
    radial-gradient(38% 46% at 18% 22%, rgba(143,36,71,0.6), transparent 70%),
    radial-gradient(46% 50% at 84% 12%, rgba(28,53,100,0.7), transparent 70%),
    radial-gradient(60% 60% at 60% 90%, rgba(200,166,104,0.2), transparent 70%);
  filter: blur(50px) saturate(130%);
  animation: meshBreathe 26s ease-in-out infinite;
  mix-blend-mode: soft-light;
  opacity: 0.85;
  will-change: transform;
}
@keyframes meshBreathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(6deg); }
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; opacity: 0.05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(11,18,32,0.94) 0%, rgba(11,18,32,0.78) 32%, rgba(11,18,32,0.4) 55%, rgba(11,18,32,0.18) 74%, rgba(11,18,32,0.42) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(11,18,32,0.4) 100%),
    linear-gradient(180deg, rgba(11,18,32,0.3) 0%, transparent 18%, transparent 76%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; }
.hero-content { max-width: 780px; text-shadow: 0 2px 18px rgba(11,18,32,0.7), 0 1px 3px rgba(11,18,32,0.8); }
.hero-kicker { margin-bottom: 1.6rem; display: flex; align-items: flex-start; gap: .8rem; flex-wrap: wrap; }
.hero-kicker .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--sage-light);
  box-shadow: 0 0 0 4px rgba(127,172,147,0.18);
  margin-top: .3em;
  flex-shrink: 0;
}
.hero-kicker .kicker { line-height: 1.6; }
.hero-title { margin-bottom: 2rem; }
.hero-title-row { display: block; overflow: hidden; }
.hero-lede { margin-bottom: 2.4rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.2rem; }
.hero-stats {
  padding-top: 2.2rem;
  border-top: 1px solid var(--line-strong);
  position: relative;
}
.hero-stats::before {
  content: "";
  position: absolute; z-index: -1;
  inset: -1rem -1.5rem -1.5rem -1.5rem;
  background: radial-gradient(120% 160% at 15% 30%, rgba(11,18,32,0.6), transparent 72%);
  border-radius: var(--radius-lg);
}

.hero-scroll {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mute);
}
.hero-scroll-line {
  width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Marquee ticker --- */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 1.1rem;
  overflow: hidden;
}
.marquee-track {
  display: flex; width: max-content; gap: 3rem;
  animation: marqueeScroll 38s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex; align-items: center; gap: 3rem;
  white-space: nowrap;
}
.marquee-track span em { color: var(--gold-light); font-style: normal; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Manifiesto --- */
#nosotros {
  position: relative;
  overflow: clip;
  isolation: isolate;
}
#nosotros::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: url("assets/img/fondo-budapest.webp") center 38% / cover no-repeat;
}
#nosotros::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,18,32,0.9) 0%, rgba(11,18,32,0.86) 45%, rgba(11,18,32,0.94) 100%);
}
.manifesto-grid {
  position: relative;
}
.manifesto-text {
  position: relative;
  width: 100%;
}
.manifesto-text .eyebrow { font-size: 0.86rem; }
.manifesto-text .display-lg {
  margin-bottom: 1.6rem;
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
}
.manifesto-text .lede { font-size: clamp(1.1rem, 1.8vw, 1.35rem); max-width: 62ch; }
/* Bounce reveal for this section only — overrides the sitewide ease-out transform easing */
#nosotros .reveal,
#nosotros .reveal-item {
  transition: opacity 1s var(--ease-out), transform 1.15s var(--ease-bounce);
}
.pillars {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.pillar { border-top: 1px solid var(--line-strong); padding-top: 1.2rem; }
.pillar .kicker { display: block; margin-bottom: .6rem; }
.pillar h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.55rem; margin-bottom: .5rem; }
.pillar p { color: var(--cream-2); font-size: 1.02rem; }

/* --- Stats strip --- */
.stats-strip {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}
.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.stat-block { text-align: center; position: relative; }
.stat-block + .stat-block::before {
  content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 1px; background: var(--line);
}
.stat-block .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  color: var(--gold-light);
  font-weight: 600;
}
.stat-block .stat-label {
  margin-top: .5rem;
  font-size: .8rem;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* --- Destinos mosaic --- */
.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 { margin-top: .8rem; }
.section-head p { margin-top: 1rem; color: var(--cream-2); }

.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  grid-auto-flow: dense;
  gap: 1rem;
  padding-block: 1rem;
}
.dest-card {
  --r: 0deg; --tx: 0px; --ty: 0px;
  position: relative;
  grid-column: span 3;
  grid-row: span 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 10px -4px rgba(0,0,0,0.4), 0 16px 34px -16px rgba(0,0,0,0.55);
  transform: rotate(calc(var(--r) * var(--collage-scale, 1))) translate(calc(var(--tx) * var(--collage-scale, 1)), calc(var(--ty) * var(--collage-scale, 1)));
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), z-index 0s;
}
.dest-card.is-lg { grid-column: span 4; grid-row: span 3; }
.dest-card.is-sm { grid-column: span 2; grid-row: span 2; }
.dest-card.is-tall { grid-column: span 2; grid-row: span 3; }

/* hand-placed rotation / offset per card — breaks the grid's perfect order */
.dest-card:nth-of-type(1)  { --r: -2.2deg; --ty: 8px; }
.dest-card:nth-of-type(2)  { --r: 2deg;    --tx: -4px; --ty: -6px; }
.dest-card:nth-of-type(3)  { --r: -1.4deg; --tx: 6px; }
.dest-card:nth-of-type(4)  { --r: 1.6deg;  --tx: -6px; --ty: -4px; }
.dest-card:nth-of-type(5)  { --r: -2.6deg; --ty: 6px; }
.dest-card:nth-of-type(6)  { --r: 2.2deg;  --tx: -5px; }
.dest-card:nth-of-type(7)  { --r: -1.2deg; --tx: 5px; --ty: -6px; }
.dest-card:nth-of-type(8)  { --r: 2.6deg;  --ty: 5px; }
.dest-card:nth-of-type(9)  { --r: -2deg;   --tx: 5px; --ty: -4px; }
.dest-card:nth-of-type(10) { --r: 1.4deg;  --tx: -5px; --ty: 6px; }
.dest-card:nth-of-type(11) { --r: -2.4deg; --tx: 4px; --ty: -5px; }
.dest-card:nth-of-type(12) { --r: 1.8deg;  --tx: -4px; --ty: 4px; }
.dest-card:nth-of-type(13) { --r: -1.8deg; --tx: 5px; --ty: -5px; }

/* Londres + Kioto stacked left, Singapur tall on the right — sized to match their combined height */
.dest-trio {
  grid-column: span 6;
  grid-row: span 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
}
.dest-trio .dest-card { grid-column: 1; }
.dest-trio .dest-card:nth-of-type(1) { grid-row: 1; --r: -1.6deg; --tx: 4px; --ty: -4px; }
.dest-trio .dest-card:nth-of-type(2) { grid-row: 2; --r: 1.4deg;  --tx: -4px; --ty: 5px; }
.dest-trio .dest-card.dest-trio-tall {
  grid-column: 2; grid-row: 1 / span 2;
  --r: -1.2deg; --tx: 3px; --ty: -3px;
}

.dest-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out), filter .8s var(--ease-out);
  filter: saturate(1.05) brightness(0.92);
}
.dest-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,18,32,0) 15%, rgba(11,18,32,0.96) 100%);
}
.dest-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .5s var(--ease-out);
}
/* .reveal-item's base rule sets transform:none once visible (same specificity) —
   these come later in the cascade so they win the tie and keep the collage tilt */
.dest-card.is-visible {
  transform: rotate(calc(var(--r) * var(--collage-scale, 1))) translate(calc(var(--tx) * var(--collage-scale, 1)), calc(var(--ty) * var(--collage-scale, 1)));
}
.dest-card:hover img { transform: scale(1.1); filter: saturate(1.2) brightness(1); }
.dest-card:hover::after { box-shadow: inset 0 0 0 1px var(--gold), 0 24px 50px -18px rgba(143,36,71,0.55); }
.dest-card:hover {
  --r: 0deg; --tx: 0px; --ty: -10px;
  z-index: 20;
}
.dest-card-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.1rem 1.2rem;
}
.dest-card-meta .name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; }
.dest-card-meta .country {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-light);
}
.dest-card-meta .desc {
  font-family: var(--font-sans);
  font-size: .82rem;
  line-height: 1.5;
  font-weight: 300;
  color: var(--cream-2);
  margin-top: .55rem;
  transition: color .4s var(--ease-out);
}
.dest-card-meta .desc.lang-native {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-light);
}

/* --- Destino modal --- */
.dest-modal {
  border: 0;
  padding: 0;
  margin: auto;
  width: min(640px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  color: var(--cream);
  overflow: hidden;
  box-shadow: 0 40px 90px -20px rgba(0,0,0,0.6);
}
.dest-modal[open] {
  display: flex;
  flex-direction: column;
  animation: destModalIn .4s var(--ease-out);
}
.dest-modal::backdrop {
  background: rgba(6,10,18,0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@keyframes destModalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.dest-modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11,18,32,0.6);
  backdrop-filter: blur(4px);
  color: var(--cream);
  transition: background .3s var(--ease-out), transform .3s var(--ease-out);
}
.dest-modal-close:hover { background: rgba(11,18,32,0.85); transform: rotate(90deg); }
.dest-modal-close svg { width: 18px; height: 18px; }
.dest-modal-media {
  position: relative;
  flex-shrink: 0;
  height: clamp(180px, 34vw, 280px);
}
.dest-modal-media img { width: 100%; height: 100%; object-fit: cover; }
.dest-modal-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,26,44,0) 55%, var(--bg-2) 100%);
}
.dest-modal-body {
  padding: 1.7rem 1.9rem 2rem;
  overflow-y: auto;
}
.dest-modal-body .country {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-light);
}
.dest-modal-body h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-block: .3rem .5rem;
}
.dest-modal-native {
  font-family: var(--font-serif); font-style: italic;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: .9rem;
}
.dest-modal-desc {
  color: var(--cream-2);
  font-size: .98rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.dest-modal-subhead {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mute);
  margin-bottom: .9rem;
}
.dest-modal-activities {
  display: grid; gap: .7rem;
  margin-bottom: 1.8rem;
}
.dest-modal-activities li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: .94rem;
  color: var(--cream);
}
.dest-modal-activities li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  margin-top: .5em;
  background: var(--gold);
}
.dest-modal-cta { width: 100%; }

@media (max-width: 539px) {
  .dest-modal {
    width: 100vw;
    max-height: 90vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: fixed;
    inset-block-end: 0;
    margin-block-end: 0;
  }
}

/* --- Ventajas --- */
#ventajas {
  position: relative;
  overflow: clip;
  isolation: isolate;
  border-block: 1px solid var(--line);
}
#ventajas::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: url("assets/img/fondo-neuschwanstein.webp") center 40% / cover no-repeat;
  filter: saturate(1.3) contrast(1.05);
}
#ventajas::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,26,44,0.68) 0%, rgba(16,26,44,0.58) 45%, rgba(16,26,44,0.74) 100%);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.advantage-card {
  padding: 2rem 1.7rem;
  background: rgba(16,26,44,0.22);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), background .5s var(--ease-out), backdrop-filter .5s var(--ease-out);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .advantage-card {
    background: rgba(16,26,44,0.08);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
  }
}
.advantage-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: rgba(16,26,44,0.35);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .advantage-card:hover {
    background: rgba(16,26,44,0.22);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
  }
}
.advantage-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(143,36,71,0.25), rgba(200,166,104,0.18));
  color: var(--gold-light);
  margin-bottom: 1.3rem;
}
.advantage-icon svg { width: 24px; height: 24px; }
.advantage-card h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; margin-bottom: .6rem; }
.advantage-card p { font-size: .9rem; color: var(--cream-2); }

/* --- Contacto --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact-people { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
.person-card {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.3rem 1.5rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.person-avatar {
  flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--wine));
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--cream);
}
.person-info { flex: 1; min-width: 0; }
.person-info .name { font-weight: 700; font-size: 1rem; }
.person-info .role { font-size: .78rem; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }
.person-links { display: flex; gap: .5rem; flex-shrink: 0; }
.person-links a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out), transform .3s var(--ease-out);
}
.person-links a:hover { border-color: var(--gold); background: rgba(200,166,104,0.1); transform: translateY(-2px); }
.person-links svg { width: 16px; height: 16px; }

.address-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.address-card .map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border: 0;
}
.address-card .address-body { padding: 1.6rem; }
.address-card address { font-style: normal; color: var(--cream-2); font-size: .95rem; margin-bottom: 1.2rem; line-height: 1.55; }

.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .78rem; color: var(--mute); text-transform: uppercase; letter-spacing: .05em; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--cream);
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: var(--bg-3-hover);
  outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .78rem; color: var(--mute); margin-top: -.3rem; }
.form-success {
  display: none;
  gap: .7rem; align-items: flex-start;
  padding: 1rem 1.2rem;
  border: 1px solid var(--sage-light);
  background: rgba(92,138,113,0.12);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--sage-light);
}
.form-success.is-shown { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 3.5rem 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-brand .logo-chip-lg { margin-bottom: 1rem; padding: .6rem 1.1rem; border-radius: 14px; }
.footer-brand .logo-chip-lg img { height: 46px; max-width: none; }
.footer-brand p { color: var(--mute); font-size: .88rem; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { color: var(--cream-2); font-size: .9rem; }
.footer-col a:hover { color: var(--cream); }
.footer-social { display: flex; gap: .7rem; margin-top: 1.3rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.footer-social a:hover { border-color: var(--gold); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .8rem; color: var(--mute);
}

/* =============================================================
   7. Effects
   ============================================================= */
.tilt-target { transform: perspective(900px); }

.cta-magnetic { position: relative; }

/* halo behind section headers */
.section-halo { position: relative; }
.section-halo::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -60% -10% -30% -10%;
  background: radial-gradient(45% 40% at 20% 30%, rgba(143,36,71,0.16), transparent 70%);
  filter: blur(90px);
}

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
}

@media (max-width: 959px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .pillars { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .stat-block:nth-child(3)::before { display: none; }
}

@media (max-width: 720px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: .7rem; --collage-scale: 0.55; }
  .dest-card, .dest-card.is-sm { grid-column: span 1; grid-row: span 1; }
  .dest-card.is-lg { grid-column: span 2; grid-row: span 2; }
  .dest-card.is-tall { grid-column: span 1; grid-row: span 2; }
    .dest-trio {
    grid-column: 1 / -1;
    grid-row: span 6;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: .7rem;
  }
  .dest-trio .dest-card,
  .dest-trio .dest-card.dest-trio-tall {
    grid-column: 1; grid-row: auto;
  }
  .advantages-grid { grid-template-columns: 1fr; }
  .hero-stats .stat-trio { gap: 1.6rem 2.2rem; }
}

@media (max-width: 539px) {
  .btn { width: 100%; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}

/* Mobile nav drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transform: translateY(-100%);
  transition: transform .5s var(--ease-out);
}
.nav-drawer.is-open { transform: translateY(0); }
.nav-drawer a { font-family: var(--font-serif); font-size: 1.8rem; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   9. Reduced-motion — only INTRUSIVE effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh { animation: none; }
  .hero-scroll-line { animation: none; }
  .marquee-track { animation-duration: 90s; }
  /* Do NOT disable: tilts, hovers, fades, count-up */
}
