/* Villa San Antonio · estilos */
:root {
  --cream: #F3ECD9;
  --cream-2: #EBE1C9;
  --cream-3: #E1D5BB;
  --espresso: #3A2E24;
  --ink-soft: #6b5b4a;
  --olive: #B0603A;
  --olive-d: #96502F;
  --olive-ink: #8A4322;
  /* terracota oscuro, legible (AA) para texto pequeño sobre crema */
  --olive-light: #E9B791;
  /* terracota claro, para texto pequeño sobre la banda oscura */
  /* ACENTO = terracota cálido */
  --blue: #2E5888;
  /* sin uso, reserva */
  --stone: #9A8973;
  --line: #D9CDB4;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --radio-foto: 6px;
  /* un solo redondeado para toda foto, video y mapa con marco */
}

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

body {
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.4rem, 5vw, 4rem)
}

.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft)
}

.eyebrow .a {
  color: var(--olive-ink)
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.015em
}

i.ac {
  font-style: italic;
  font-weight: 400;
  color: var(--olive)
}

/* acento serif itálico */

/* grano sutil */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: .12;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")
}

/* imagen que vende: nítida, esquinas suaves */
.frame {
  border-radius: var(--radio-foto);
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(36, 33, 27, .55)
}

.frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* o contain, según prefieras */
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* imagen ambiental: bordes difuminados (Ever) */
.feather {
  -webkit-mask-image: radial-gradient(ellipse 74% 74% at 50% 50%, #000 28%, transparent 82%);
  mask-image: radial-gradient(ellipse 74% 74% at 50% 50%, #000 28%, transparent 82%)
}

/* ============ LOADER (juguetón) ============ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.4rem
}

#loader .lo-art {
  width: min(230px, 48vw);
  opacity: 0;
  transform: scale(.88) rotate(-2deg)
}

#loader .lo-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 5vw, 2.7rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center
}

#loader .lo-name .c {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px) scale(.5)
}

#loader .lo-name .sp {
  width: .32em
}

#loader .lo-name .ac {
  font-style: italic;
  font-weight: 400;
  color: var(--olive)
}

#loader .lo-sub {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: 0
}

#loader .lo-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(147, 135, 124, .18)
}

#loader .lo-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--olive)
}

/* Sin scroll-behavior: smooth aquí: rompe las mediciones de ScrollTrigger.
   El desplazamiento suave de los enlaces internos lo hace main.js. */

/* ============ HEADER ============ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.15rem clamp(1.4rem, 5vw, 4rem);
  /* Nuevas líneas */
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  /* Cambiado a blanco para contrastar con el glass */
  /* Fin nuevas líneas */
  transition: background .4s, box-shadow .4s, padding .3s
}

header nav a {
  text-decoration: none !important;
  font-weight: 600;
  color: #fff;
}


header.scrolled {
  background: rgba(243, 236, 217, 0.65);
  /* Opacidad reducida para maximizar el desenfoque */
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  /* Soporte para Safari */
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  /* Borde sutil superior/inferior típico de 2026 */
  box-shadow: 0 10px 30px rgba(36, 33, 27, 0.08);
  /* Sombra extendida y suave */
  padding-top: .8rem;
  padding-bottom: .8rem;
}



header .nav-l {
  justify-self: start
}

header .nav-r {
  justify-self: end
}

header .nav-l,
header .nav-r {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem)
}

header .brand {
  justify-self: center;
  font-family: var(--display);
  font-size: 1.2rem;
  color: #f3ecd9;
  white-space: nowrap
}

header .brand i {
  font-style: italic;
  font-weight: 400
}

header a {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #f3ecd9;
  opacity: .85;
  transition: color .25s ease, opacity .25s ease
}

header a:hover {
  opacity: 1;
  color: #e6a578
}

header.scrolled .brand,
header.scrolled a {
  color: var(--espresso)
}

header.scrolled a:hover {
  color: var(--olive)
}

/* Botón hamburguesa: oculto en escritorio */
.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f3ecd9;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s ease, background .3s ease
}

header.scrolled .nav-toggle span,
body.menu-open .nav-toggle span {
  background: var(--espresso)
}

body.menu-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg)
}

body.menu-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg)
}

/* Panel de menú móvil: crema, a pantalla completa */
.m-menu {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s
}

body.menu-open .m-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.m-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem
}

.m-menu nav a {
  font-family: var(--display);
  font-size: 1.9rem;
  color: var(--espresso);
  text-decoration: none;
  letter-spacing: -.01em;
  transition: transform .16s var(--ease)
}

.m-menu nav a:active {
  transform: scale(.97)
}

@media(max-width:820px) {

  header .nav-l,
  header .nav-r {
    display: none
  }

  .nav-toggle {
    display: flex
  }
}

/* ============ HERO full-bleed inmersivo ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 62% 50%;
  animation: ken 24s ease-in-out infinite alternate
}

@keyframes ken {
  from {
    transform: scale(1.06)
  }

  to {
    transform: scale(1.22) translate(-1.5%, -1%)
  }
}

.hero-grad {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgba(26, 20, 12, .8), rgba(26, 20, 12, .44) 48%, rgba(26, 20, 12, .12) 80%), linear-gradient(0deg, rgba(26, 20, 12, .5), transparent 42%)
}

.hero .float {
  position: absolute;
  pointer-events: none;
  border-radius: var(--radio-foto);
  overflow: hidden;
  z-index: 2
}

.hero .float img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero .fa {
  width: min(19vw, 230px);
  aspect-ratio: 3/4;
  top: 13%;
  left: 3%;
  opacity: .15
}

.hero .fc {
  width: min(16vw, 190px);
  aspect-ratio: 4/3;
  bottom: 11%;
  right: 4%;
  opacity: .15
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 90%;
  max-width: none;
  color: #f5eddd;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.8rem, 3.5vw, 3rem);
}

/* ---------- Capa 1 · Identidad flotante (emoción, sin caja) ---------- */
.hero-id {
  max-width: 560px;
  text-shadow: 0 2px 34px rgba(20, 14, 8, .55);
}

.hero .label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #f4ddc8;
  background: rgba(26, 20, 12, .3);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(234, 184, 146, .5);
  box-shadow: inset 0 1px 0 rgba(255, 244, 230, .25);
  border-radius: 100px;
  padding: .45rem 1.05rem;
  margin-bottom: 1.5rem;
}

/* ---------- Capa 2 · Panel liquid glass (banda ancha de datos) ---------- */
.hero-glass {
  position: relative;
  align-self: stretch;
  width: 100%;
  max-width: none;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: clamp(1.6rem, 3vw, 2.6rem);
  padding: clamp(1.5rem, 2.6vw, 2rem) clamp(1.8rem, 3vw, 2.6rem);
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
  /* refracción: el color de la foto sangra a través del cristal (fondo reforzado para contraste AA sobre cualquier foto) */
  background: linear-gradient(135deg, rgba(42, 33, 24, .5), rgba(20, 15, 9, .64));
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  /* borde tenue + doble sombra: elevación proyectada + grosor del vidrio */
  border: 1px solid rgba(245, 237, 221, .14);
  box-shadow:
    0 34px 64px -30px rgba(0, 0, 0, .6),
    inset 0 1px 0 rgba(255, 248, 236, .22),
    inset 0 0 0 1px rgba(255, 248, 236, .04);
}

/* highlight especular que resbala por el canto superior del cristal */
.hero-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 246, 233, .55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

/* grano fino: mata el aspecto "plástico digital" y aporta lo artesanal */
.hero-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: .5;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

.hero-glass>* {
  position: relative;
  z-index: 2;
}

/* Fundido progresivo hacia la siguiente sección */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 4;
  /* Debe estar por detrás del .hero-content y .scrollcue */

  /* Gradiente desde transparente hasta el color crema de la siguiente banda */
  background: linear-gradient(to bottom, transparent 0%, var(--cream) 100%);

  /* Efecto de desenfoque que se intensifica hacia abajo */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
  pointer-events: none;
}

/* Asegurar que el indicador de scroll resalte sobre el fundido */
.scrollcue {
  z-index: 6;
  color: var(--espresso);
  /* Cambiar a un color oscuro para que contraste con el fondo crema difuminado */
  font-weight: 600;
}

.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3rem, 8.5vw, 6.8rem);
  line-height: .92;
  letter-spacing: -.02em;
  color: #f8f1e2
}

.wordmark i {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: #e6a578
}

.hero .sub {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  margin-top: 1.1rem;
  color: #f2e8d6
}

/* Bloque izquierdo de la banda: intro + CTA */
.hero-lead {
  position: relative;
  z-index: 2;
  flex: 1 1 330px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.6rem;
  padding-right: clamp(2rem, 4vw, 3.5rem);
  border-right: 1px solid rgba(245, 237, 221, .14);
}

.hero .sub2 {
  font-size: 1.08rem;
  font-weight: 500;
  color: #f0e6d4;
  margin: 0;
  max-width: 38ch
}

/* Características: grupo compacto 1×4, ícono grande a la izquierda del texto */
.hero-feats {
  list-style: none;
  margin: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, auto);
  align-items: center;
  gap: 2rem;
  max-width: none
}

.hero-feats li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  text-align: left
}

.hero-feats .ic {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border: 1px solid rgba(245, 237, 221, .3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 237, 221, .1)
}

.hero-feats svg {
  width: 30px;
  height: 30px;
  stroke: #e9b791;
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round
}

.hero-feats b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.1;
  color: #f6efe0
}

.hero-feats span {
  font-size: .78rem;
  font-weight: 500;
  color: #d9ccb4
}

.scrollcue {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(58, 46, 36, .8)
}

.scrollcue::after {
  content: "";
  width: 1px;
  height: 26px;
  background: linear-gradient(to bottom, currentColor, transparent);
  animation: cue 2s var(--ease) infinite;
}

@keyframes cue {

  0%,
  100% {
    transform: translateY(0);
    opacity: .35
  }

  50% {
    transform: translateY(6px);
    opacity: 1
  }
}

@media(max-width:820px) {
  .hero {
    align-items: flex-end;
    padding-bottom: 4.5rem
  }

  .hero .float {
    display: none
  }

  .hero-grad {
    background: linear-gradient(0deg, rgba(26, 20, 12, .88), rgba(26, 20, 12, .3))
  }

  /* El panel de datos se apila; la banda deja de forzar una fila */
  .hero-glass {
    flex-direction: column;
    gap: 1.6rem
  }

  .hero-lead {
    flex-basis: auto;
    min-width: 0;
    border-right: none;
    padding-right: 0;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid rgba(245, 237, 221, .14)
  }

  /* Las cuatro características: 2x2, ícono arriba del texto para que la
     palabra larga (independientes) quepa sin cortarse. */
  .hero-feats {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem 1rem
  }

  .hero-feats li {
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    min-width: 0
  }

  .hero-feats .ic {
    width: 44px;
    height: 44px
  }

  .hero-feats svg {
    width: 22px;
    height: 22px
  }
}

/* ============ LLEGADA / SPLIT ============ */
.band {
  padding: clamp(4rem, 10vw, 8rem) 0
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center
}

.split.flip .m {
  order: 2
}

.split .frame {
  aspect-ratio: 3/4
}

.split .t .eyebrow {
  margin-bottom: 1rem
}

.split .t h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 1.2rem
}

.split .t p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch
}

@media(max-width:820px) {

  .split,
  .split.flip .m {
    grid-template-columns: 1fr;
    order: 0
  }
}

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.2rem) 0;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.marquee .tk {
  display: inline-block;
  animation: sl 34s linear infinite;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.8rem)
}

.marquee .tk span {
  opacity: .4
}

.marquee .tk em {
  font-style: italic;
  color: var(--olive);
  margin: 0 .35em
}

@keyframes sl {
  to {
    transform: translateX(-50%)
  }
}

/* ============ VIDA AQUÍ ============ */
.vida .anchors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  margin-top: 1rem
}

.vida h2 {
  font-size: clamp(2.2rem, 6vw, 3.6rem)
}

.anchor h3 {
  font-size: 1.25rem;
  margin-bottom: .4rem
}

.anchor h3 i {
  font-style: italic;
  color: var(--olive)
}

.anchor p {
  font-size: .95rem;
  color: var(--ink-soft)
}

.vida .vmedia {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  height: clamp(280px, 45vh, 460px)
}

@media(max-width:760px) {
  .vida .anchors {
    grid-template-columns: 1fr
  }
}

/* ============ CARTA (con imagen) ============ */
.letter {
  background: var(--cream-2)
}

.letter .split {
  align-items: center
}

.letter .frame {
  aspect-ratio: 4/3;
  background: none;
  box-shadow: none
}

.letter .frame img {
  object-fit: contain
}

.letter .t h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1.6rem
}

.letter .t p {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.6;
  color: var(--espresso);
  margin-bottom: 1.1rem;
  max-width: 52ch
}

.letter .t p.firma {
  margin-top: 1.6rem;
  font-style: italic;
  color: var(--olive-ink)
}

/* ============ CERCA DE TODO ============ */
.nearby {
  background: var(--espresso);
  color: #e8e0cf
}

.nearby .eyebrow {
  color: #c9bdaa
}

.nearby .eyebrow .a {
  color: var(--olive-light)
}

.nearby .ng {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center
}

.nearby h2 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: var(--cream);
  margin: .5rem 0 1.4rem
}

.nearby .pins {
  list-style: none;
  margin: 0 0 2rem
}

.nearby .pins li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding: .8rem 0
}

.nearby .pins .p {
  font-family: var(--display);
  font-size: 1.15rem
}

.nearby .pins .t {
  color: var(--olive);
  font-variant-numeric: tabular-nums;
  background: var(--cream);
  border-radius: 100px;
  padding: .15rem .8rem;
  font-size: .85rem;
  font-weight: 500
}

.nearby .map {
  aspect-ratio: 1/1;
  border-radius: var(--radio-foto);
  border: 1px dashed rgba(255, 255, 255, .3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: #b8ad99;
  font-size: .82rem;
  gap: .5rem
}

.nearby .map b {
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .95rem 1.9rem;
  border-radius: 100px;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .16s var(--ease)
}

.btn:active {
  transform: scale(.97)
}

.btn.ghost-l {
  border: 1px solid var(--cream);
  color: var(--cream);
  background: none
}

.btn.ghost-l:hover {
  background: var(--cream);
  color: var(--espresso)
}

@media(max-width:820px) {
  .nearby .ng {
    grid-template-columns: 1fr
  }
}

/* ============ INVITACIÓN ============ */
.invite {
  text-align: center
}

.invite h2 {
  font-size: clamp(2.4rem, 6vw, 4rem)
}

.invite .lead {
  max-width: 44ch;
  margin: 1.3rem auto 2.2rem;
  color: var(--ink-soft)
}

.wa {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  background: var(--olive);
  color: #fff;
  font-family: var(--body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  padding: 1.1rem 2.4rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background .3s var(--ease), transform .16s var(--ease)
}

.wa:hover {
  background: var(--olive-d);
  transform: translateY(-2px)
}

.wa:active {
  transform: scale(.97)
}

.wa svg {
  width: 19px;
  height: 19px;
  fill: currentColor
}

.price {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  margin-top: 2.4rem
}

.price em {
  font-style: italic;
  color: var(--olive);
  font-size: .6em
}

.pn {
  font-size: .74rem;
  color: var(--stone);
  font-style: italic;
  margin-top: .4rem
}

footer {
  background: var(--espresso);
  color: #b8ad99;
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, .1)
}

footer .fn {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: .5rem
}

footer .fn i {
  font-style: italic
}

footer .fs {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone)
}

/* ===== VECINDARIO (lugares cercanos) ===== */
.nearby .nb-head {
  max-width: 60ch;
  margin-bottom: clamp(2.5rem, 5vw, 3.8rem)
}

.nearby .nb-head h2 {
  color: var(--cream);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin: .5rem 0 1.2rem
}

.nearby .nb-head h2 i.ac {
  color: #e2a982
}

.nearby .nb-lead {
  color: #c9bfab;
  font-size: 1.08rem;
  max-width: 54ch
}

.nearby .nb-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center
}

/* Tarjeta de ubicación real: dirección, distancia y enlace al mapa */
.nearby .nb-map {
  border-radius: var(--radio-foto);
  background: rgba(243, 236, 217, .06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  color: #d3c8b4;
  font-size: .98rem;
  line-height: 1.6;
  gap: .9rem
}

.nearby .nb-map b {
  color: var(--cream);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500
}

.nearby .nb-map .nb-km {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--olive-light)
}

.nearby .nb-map .btn { margin-top: .4rem }

.nearby .place {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .13)
}

.nearby .place:first-child {
  border-top: 1px solid rgba(255, 255, 255, .13)
}

.nearby .pt {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: var(--cream);
  line-height: 1;
  flex-shrink: 0;
  min-width: 3.4em
}

.nearby .pt em {
  font-style: italic;
  font-size: .4em;
  color: #d69a72;
  margin-left: .12em
}

.nearby .pl {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: 1.15rem;
  color: #efe7d6
}

.nearby .pl small {
  font-family: var(--body);
  font-size: .8rem;
  color: #a99d88;
  margin-top: .15rem
}

@media(max-width:820px) {
  .nearby .nb-grid {
    grid-template-columns: 1fr
  }

}

/* ===== LO QUE HAY QUE SABER: ficha técnica + preguntas, antes de la carta ===== */
.dudas { background: var(--cream) }
.dudas .dd-head { max-width: 58ch; margin-bottom: clamp(2.2rem, 5vw, 3.4rem) }
.dudas .dd-head h2 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); margin: .5rem 0 1.1rem }
.dudas .dd-head p { color: var(--ink-soft); font-size: 1.05rem }
.dudas .dd-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start }

.dudas .ficha-t { background: var(--cream-2); border-radius: var(--radio-foto); padding: clamp(1.4rem, 3vw, 2.2rem) }
.dudas .ficha-t div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .75rem 0; border-top: 1px solid var(--line) }
.dudas .ficha-t div:first-child { border-top: none; padding-top: 0 }
.dudas .ficha-t dt { font-family: var(--display); font-size: 1.02rem; color: var(--espresso) }
.dudas .ficha-t dd { font-size: .95rem; color: var(--ink-soft); line-height: 1.5 }

.dudas .faq details { border-bottom: 1px solid var(--line) }
.dudas .faq details:first-child { border-top: 1px solid var(--line) }
.dudas .faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--espresso)
}
.dudas .faq summary::-webkit-details-marker { display: none }
.dudas .faq summary::after {
  content: "+"; flex-shrink: 0; font-family: var(--body); font-size: 1.3rem; line-height: 1; color: var(--olive-ink);
  transition: transform .25s var(--ease)
}
.dudas .faq details[open] summary::after { transform: rotate(45deg) }
.dudas .faq details p { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; padding: 0 2.2rem 1.3rem 0; max-width: 60ch }
@media (hover: hover) and (pointer: fine) {
  .dudas .faq summary:hover { color: var(--olive-ink) }
}

@media(max-width:820px) {
  .dudas .dd-grid { grid-template-columns: 1fr }
  .dudas .ficha-t div { grid-template-columns: 1fr; gap: .15rem }
  .dudas .faq details p { padding-right: 0 }
}

/* ===== CIERRE (enamorar y convertir) ===== */
.closing {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 1.2rem
}

.closing-bg {
  position: absolute;
  inset: 0;
  z-index: 0
}

.closing-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.closing-ov {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(28, 24, 17, .5), rgba(28, 24, 17, .78))
}

.closing-c {
  position: relative;
  z-index: 2;
  color: var(--cream);
  max-width: 730px
}

.closing-c .eyebrow {
  color: #e2a982;
  margin-bottom: 1.4rem
}

.closing-c h2 {
  color: var(--cream);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.06;
  margin-bottom: 1.4rem
}

.closing-c h2 i.ac {
  color: #e2a982
}

.cl-lead {
  color: #e9e0cf;
  font-size: 1.1rem;
  max-width: 44ch;
  margin: 0 auto 2rem
}

.cl-price {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  color: var(--cream);
  margin-bottom: 1.9rem
}

.cl-price em {
  font-style: italic;
  font-size: .52em;
  color: #e2a982
}

.wa.big {
  padding: 1.2rem 2.8rem;
  font-size: .85rem
}

.cl-note {
  color: #c9bfab;
  font-size: .82rem;
  font-style: italic;
  margin-top: 1.3rem
}

html.js .rv {
  opacity: 0;
  transform: translateY(30px)
}

html.js .hero .rvh {
  opacity: 0;
  transform: translateY(24px)
}

@media(prefers-reduced-motion:reduce) {
  html.js .hero .rvh {
    opacity: 1;
    transform: none
  }
}

@media(prefers-reduced-motion:reduce) {
  html.js .rv {
    opacity: 1;
    transform: none
  }

  .marquee .tk,
  .scrollcue::after {
    animation: none
  }

  /* El Ken Burns y la deriva se detienen para quien pide menos movimiento */
  .hero-bg img {
    animation: none
  }
}

/* ============ RENDIMIENTO EN MÓVIL (fase 1.7) ============ */
/* El Ken Burns del hero se pausa cuando el hero sale de pantalla (clase desde JS). */
.hero-bg.paused img {
  animation-play-state: paused
}

/* En celular los efectos caros se aligeran: el grano global desaparece,
   el cristal del hero reduce su desenfoque y el video mantiene su aspecto. */
@media(max-width:820px) {
  body::after {
    display: none
  }

  .hero-glass {
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    backdrop-filter: blur(8px) saturate(140%)
  }

  .hero-glass::after {
    display: none
  }

  header {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px)
  }

  .hero::after {
    -webkit-backdrop-filter: none;
    backdrop-filter: none
  }
}

/* ============ FOCO DE TECLADO Y PRESS (fase 2.5) ============ */
/* Anillo visible solo cuando se navega con teclado, en terracota sobre claro
   y crema sobre oscuro, sin ensuciar el clic con el mouse. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
  border-radius: 4px
}

.nearby a:focus-visible,
.closing a:focus-visible,
.hero a:focus-visible,
.m-menu a:focus-visible {
  outline-color: #e9b791
}

/* Retroalimentación al presionar en los enlaces del encabezado */
header a:active {
  transform: scale(.97)
}

@media(prefers-reduced-motion:reduce) {

  .wa,
  .btn,
  .wa:hover {
    transition: background .3s ease;
    transform: none
  }
}


/* ============ EL TERRENO · el viaje desde arriba (fase 3) ============ */
.viaje {
  height: 100vh;
  background: #2b2017;
  color: var(--cream);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: 0 clamp(1.4rem, 6vw, 6rem);
  overflow: hidden
}

.viaje .marco {
  position: relative;
  justify-self: end;
  height: min(86vh, 900px);
  aspect-ratio: 448 / 605;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radio-foto);
  background: #1a140e;
  box-shadow: 0 40px 80px -46px rgba(0, 0, 0, .6)
}

.viaje .cam { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform }
.viaje .cam img,
.viaje .cam svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block }
.viaje .foto-color { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%) }

.viaje .limite { fill: none; stroke: var(--cream); stroke-width: 3.5; stroke-linejoin: round }
.viaje .contorno { fill: none; stroke: var(--olive-light); stroke-width: 3; stroke-linejoin: round }
.viaje .panel { fill: var(--cream); opacity: 0 }
.viaje .plano { opacity: 0; mix-blend-mode: multiply }
.viaje .rot {
  font-family: var(--body); font-weight: 600; font-size: 12.5px; letter-spacing: .09em;
  text-transform: uppercase; fill: var(--espresso); text-anchor: middle; opacity: 0;
  paint-order: stroke; stroke: var(--cream); stroke-width: 4px; stroke-linejoin: round
}
.viaje .rot.suave { fill: var(--olive) }

.viaje .barra { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(243, 236, 221, .12) }
.viaje .barra i { display: block; height: 100%; width: 100%; background: var(--olive-light); transform: scaleX(0); transform-origin: 0 50% }

.viaje .textos { position: relative; height: clamp(30rem, 82vh, 42rem); max-width: 25rem }
.viaje .cap { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); opacity: 0; visibility: hidden }
.viaje .cap-media { width: 100%; max-width: 20rem; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radio-foto); margin-bottom: 1.1rem; box-shadow: 0 24px 46px -26px rgba(0, 0, 0, .55) }
.viaje .cap-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform }
.viaje .cap-media.galeria img { position: absolute; inset: 0 }
.viaje .cap-media.galeria img:not(:first-of-type) { opacity: 0 }
.viaje .cap-media .puntos { position: absolute; left: 50%; bottom: .75rem; transform: translateX(-50%); display: flex; gap: .45rem; z-index: 2 }
.viaje .cap-media .puntos i { width: 6px; height: 6px; border-radius: 50%; background: var(--cream); opacity: .4; box-shadow: 0 1px 3px rgba(0, 0, 0, .5) }
.viaje .cap-media .puntos i:first-child { opacity: 1 }
.viaje .cap:first-child { opacity: 1; visibility: visible }
.viaje .cap .ceja { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--olive-light); margin-bottom: .9rem }
.viaje .cap h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 1.1rem; text-wrap: balance }
.viaje .cap h2 i { font-style: italic; font-weight: 400; color: var(--olive-light) }
.viaje .cap p { color: #ddd2bd; max-width: 25rem }
.viaje .cap ul { list-style: none; margin-top: 1rem }
.viaje .cap li { padding: .5rem 0; border-top: 1px solid rgba(243, 236, 221, .16); color: #e6dcc9; font-size: .97rem; display: flex; justify-content: space-between; gap: 1rem }
.viaje .cap li span { color: var(--olive-light); font-family: var(--display); white-space: nowrap }
.viaje .btn-viaje { display: inline-block; margin-top: 1.4rem; background: var(--olive); color: #fff; text-decoration: none; font-size: .8rem; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; padding: 1rem 2rem; border-radius: 100px; transition: background .3s var(--ease), transform .16s var(--ease) }
.viaje .btn-viaje:hover { background: var(--olive-d) }
.viaje .btn-viaje:active { transform: scale(.97) }
.viaje .cap .pista { margin-top: 1.4rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(243, 236, 221, .55) }

@media(max-width:820px) {
  .viaje { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 1rem; padding: 4.2rem 1.2rem 1.2rem; align-items: start }
  .viaje .marco { justify-self: center; height: 54vh }
  .viaje .textos { height: auto; min-height: 15rem; max-width: none }
  .viaje .cap { top: 0; transform: none }
  .viaje .cap h2 { font-size: 1.75rem; margin-bottom: .6rem }
  .viaje .cap p, .viaje .cap li { font-size: .9rem }
  .viaje .cap li { padding: .32rem 0 }
}

/* Plan B / movimiento reducido: la escena se ve como una foto aérea con su primer rótulo */
@media(prefers-reduced-motion:reduce) {
  .viaje { height: auto; min-height: 90vh }
}

/* ===== Columna derecha rica: subtítulo, ficha y carrusel clicable ===== */
.viaje .cap { justify-content: flex-start }
.viaje .cap h2 { margin-bottom: .5rem }
.viaje .cap-sub { font-family: var(--body); font-size: .92rem; letter-spacing: .01em; color: var(--olive-light); margin-bottom: .9rem }
.viaje .cap > p { color: #ddd2bd; max-width: 24rem; font-size: .98rem }

.viaje .ficha { list-style: none; margin-top: 1rem; width: 100%; max-width: 23rem }
.viaje .ficha li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .45rem 0; border-top: 1px solid rgba(243, 236, 221, .14); color: #e6dcc9; font-size: .9rem }
.viaje .ficha li span { color: var(--olive-light); font-family: var(--display); white-space: nowrap }

/* Carrusel en pila: la foto activa al frente; las otras asoman detrás, a la derecha */
.viaje .carrusel { width: 100%; max-width: 20rem; margin-bottom: 1.1rem }
.viaje .cr-fotos { position: relative; aspect-ratio: 16 / 10; cursor: pointer; touch-action: pan-y; user-select: none }
.viaje .cr-fotos img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radio-foto); box-shadow: 0 24px 46px -26px rgba(0, 0, 0, .6);
  transform-origin: 100% 50%; -webkit-user-drag: none;
  transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s var(--ease)
}
.viaje .cr-fotos:not(.listo) img:not(:first-child) { opacity: 0 }
.viaje .cr-fotos img[data-pos="0"] { z-index: 3 }
.viaje .cr-fotos img[data-pos="1"] { z-index: 2; transform: translateX(10%) scale(.86); filter: brightness(.55) }
.viaje .cr-fotos img[data-pos="2"] { z-index: 1; transform: translateX(19%) scale(.72); filter: brightness(.38) }
.viaje .cr-fotos img[data-pos="3"],
.viaje .cr-fotos img[data-pos="4"] { z-index: 0; transform: translateX(19%) scale(.72); opacity: 0 }
.viaje .cr-fotos:hover img[data-pos="1"] { transform: translateX(13%) scale(.86) }
.viaje .cr-ctrl { display: flex; align-items: center; gap: .8rem; margin-top: .8rem }
.viaje .cr-ctrl button {
  width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid rgba(243, 236, 221, .3); background: none;
  color: var(--cream); font-size: .9rem; line-height: 1; cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .16s var(--ease)
}
.viaje .cr-ctrl button:hover { background: rgba(243, 236, 221, .1); border-color: var(--olive-light) }
.viaje .cr-ctrl button:active { transform: scale(.94) }
.viaje .cr-num { font-family: var(--display); font-size: .9rem; color: var(--olive-light); min-width: 2.6rem; text-align: center; font-variant-numeric: tabular-nums }

@media(max-width:820px) {
  .viaje .cap-media { max-width: 100% }
  .viaje .carrusel { max-width: 80% }
  .viaje .ficha { max-width: none }
  .viaje .cap > p { max-width: none }
}

/* ===== Recorrido horizontal por dentro de cada casa =====
   El plano se encoge a una franja y las zonas pasan de lado con el scroll. */
.viaje { position: relative }
.viaje .marco { transform-origin: 0 50% }
.viaje .zonas {
  position: absolute; top: 0; bottom: 0; right: 0;
  left: calc(clamp(1.4rem, 6vw, 6rem) + 22vw + 3vw);
  display: flex; align-items: center; overflow: hidden;
  opacity: 0; visibility: hidden; z-index: 2;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px);
  mask-image: linear-gradient(to right, transparent 0, #000 40px)
}
.viaje .zonas-pista { position: relative; display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); padding: 0 8vw 0 40px; will-change: transform }
.viaje .zonas-intro { flex: 0 0 min(22vw, 19rem) }
.viaje .zonas-intro h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 1rem; text-wrap: balance }
.viaje .zonas-intro h2 i { font-style: italic; font-weight: 400; color: var(--olive-light) }
.viaje .zonas-intro p { color: #ddd2bd; font-size: .98rem }
.viaje .zonas .ceja { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--olive-light); margin-bottom: .8rem }
.viaje .zonas-intro .pista { margin-top: 1.4rem; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(243, 236, 221, .55) }
.viaje .zona { flex: 0 0 min(38vw, 30rem) }
.viaje .zona-img { position: relative; aspect-ratio: 16 / 10; margin: 0 0 1.1rem; border-radius: var(--radio-foto); overflow: hidden; background: var(--cream); box-shadow: 0 24px 46px -26px rgba(0, 0, 0, .6) }
.viaje .zona-img img { width: 100%; height: 100%; object-fit: cover; display: block }
.viaje .zona-img.plano-tmp img { object-fit: contain; padding: 4%; mix-blend-mode: multiply; filter: sepia(.35) }
.viaje .zona-img figcaption { position: absolute; left: .7rem; bottom: .6rem; font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); background: rgba(243, 236, 221, .92); padding: .25rem .5rem; border-radius: 3px }
.viaje .zona h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.05; letter-spacing: -.015em; margin-bottom: .45rem }
.viaje .zona h3 i { font-style: italic; font-weight: 400; color: var(--olive-light) }
.viaje .zona .cap-sub { margin-bottom: .7rem }
.viaje .zona > p:not(.ceja):not(.cap-sub) { color: #ddd2bd; font-size: .95rem; max-width: 27rem }
.viaje .zona .ficha { max-width: 27rem; margin-top: .8rem }

@media(max-width:820px) {
  .viaje .marco { transform-origin: 50% 0 }
  .viaje .zonas {
    left: 0; top: calc(4.2rem + 23vh + 1rem); align-items: flex-start; padding-left: 1.2rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 1.1rem);
    mask-image: linear-gradient(to right, transparent 0, #000 1.1rem)
  }
  .viaje .zonas-pista { padding-left: 0; align-items: flex-start }
  .viaje .zonas-intro { flex-basis: 62vw }
  .viaje .zonas-intro h2 { font-size: 1.7rem }
  .viaje .zona { flex-basis: 80vw }
  .viaje .zona-img { margin-bottom: .7rem }
  .viaje .zona h3 { font-size: 1.45rem }
  .viaje .zona > p:not(.ceja):not(.cap-sub) { font-size: .86rem }
  .viaje .zona .ficha li { font-size: .84rem; padding: .3rem 0 }
}

/* ============ MARKETING: precio arriba, buena compra, contacto siempre a mano ============ */
/* Precio en el inicio */
.hero .hero-precio { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 1.9rem); color: #fff; margin: .2rem 0 .3rem; line-height: 1.1 }
.hero .hero-precio span { font-family: var(--body); font-size: .9rem; color: #e9dcc6 }

/* Por qué es una buena compra: un campo de terracota oscura, el momento racional */
.inversion { background: var(--olive-ink); color: var(--cream) }
.inversion .inv-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start }
.inversion .inv-head { position: sticky; top: 6rem }
.inversion .eyebrow, .inversion .eyebrow .a { color: #f1cfb4 }
.inversion h2 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); color: var(--cream); margin: .5rem 0 1.2rem; text-wrap: balance }
.inversion h2 i.ac { color: #f6d2b6 }
.inversion .inv-head p { color: #f3e3d2; font-size: 1.1rem; max-width: 34ch; margin-bottom: 2rem }
.inversion .btn.ghost-l { border-color: var(--cream); color: var(--cream) }
.inv-razones { list-style: none }
.inv-razones li { display: grid; grid-template-columns: minmax(7.5rem, .5fr) 1fr; gap: 1.4rem; align-items: baseline; padding: 1.5rem 0; border-top: 1px solid rgba(243, 236, 217, .22) }
.inv-razones li:first-child { border-top: none; padding-top: 0 }
.inv-razones b { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1; color: #fff; letter-spacing: -.01em }
.inv-razones h3 { font-size: 1.3rem; color: var(--cream); margin-bottom: .4rem }
.inv-razones p { color: #f3e3d2; font-size: 1rem; line-height: 1.6; max-width: 46ch }

/* Preguntas: cierre con botón */
.dudas .dd-otra { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.8rem }
.dudas .dd-otra p { font-family: var(--display); font-size: 1.25rem; color: var(--espresso) }
.dudas .dd-otra .wa svg, .wa-fijo svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0 }
.dudas .faq details p a { color: var(--olive-ink) }

/* Cierre: otras formas de contacto */
.cl-otras { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; margin-top: 1.4rem }
.cl-otras a { color: #f1d6bf; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; padding: .3rem 0 }
.cl-otras a:hover { color: #fff }

/* Botón fijo de WhatsApp */
.wa-fijo {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 950;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--olive); color: #fff; text-decoration: none;
  font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: .85rem 1.25rem .85rem 1rem; border-radius: 100px;
  box-shadow: 0 0 0 2px rgba(243, 236, 217, .75), 0 12px 30px -10px rgba(36, 33, 27, .55);
  opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s ease
}
.wa-fijo.visible { opacity: 1; transform: none; pointer-events: auto }
.wa-fijo:active { transform: scale(.97) }
@media (hover: hover) and (pointer: fine) { .wa-fijo:hover { background: var(--olive-d) } }

@media (max-width: 820px) {
  .inversion .inv-grid { grid-template-columns: 1fr }
  .inversion .inv-head { position: static }
  .inv-razones li { grid-template-columns: 1fr; gap: .4rem }
  .wa-fijo { padding: .85rem; min-width: 52px; min-height: 52px; justify-content: center }
  .wa-fijo span { display: none }
}
@media (prefers-reduced-motion: reduce) { .wa-fijo { transition: opacity .2s ease; transform: none } }

.inv-razones .inv-fuente { display: inline-block; margin-top: .5rem; font-size: .8rem; color: #f1cfb4; text-decoration: underline; text-underline-offset: 3px }
.inv-razones .inv-fuente:hover { color: #fff }

/* Botón "Ver plano" (abre el levantamiento en PDF en otra pestaña) */
.viaje .cap-acc { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.3rem }
.viaje .cap-acc .btn-viaje { margin-top: 0 }
.viaje .btn-plano {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--cream); text-decoration: none;
  font-size: .78rem; font-weight: 500; letter-spacing: .11em; text-transform: uppercase;
  padding: .9rem 1.4rem; border: 1px solid rgba(243, 236, 221, .45); border-radius: 100px;
  transition: background .2s ease, border-color .2s ease, transform .16s var(--ease)
}
.viaje .btn-plano svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round }
.viaje .btn-plano:active { transform: scale(.97) }
@media (hover: hover) and (pointer: fine) { .viaje .btn-plano:hover { background: rgba(243, 236, 221, .1); border-color: var(--olive-light) } }

/* Celular: que cada parada del viaje quepa completa bajo el mapa (ficha y botones incluidos) */
@media (max-width: 820px) {
  .viaje .marco { height: 37vh }
  .viaje .textos { min-height: 0 }
  .viaje .cap .ceja { margin-bottom: .4rem }
  .viaje .cap h2 { font-size: 1.55rem; margin-bottom: .25rem }
  .viaje .cap-sub { margin-bottom: .5rem; font-size: .88rem }
  .viaje .cap > p:not(.ceja):not(.cap-sub):not(.pista) { display: none }
  .viaje .cap .pista { margin-top: .6rem }
  .viaje .carrusel { margin-bottom: .7rem }
  .viaje .cr-fotos, .viaje .cap-media { aspect-ratio: 3 / 1 }
  .viaje .cr-ctrl { display: none }
  .viaje .ficha { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.1rem; margin-top: .3rem }
  .viaje .ficha li { padding: .32rem 0; font-size: .8rem }
  .viaje .cap-acc { margin-top: .8rem; gap: .6rem }
  .viaje .cap-acc .btn-viaje, .viaje .btn-plano { padding: .75rem 1.1rem; font-size: .72rem }
  .viaje .zonas { top: calc(4.2rem + 16vh + 1rem) }
}
