/* =========================================================================
   RATITO — Design System
   Colores y tipografías tomados del Brand Book oficial.
   ========================================================================= */

:root {
  /* --- Paleta de marca --- */
  --crema:        #e2ddcf;   /* Pantone 482 C — primario */
  --azul:         #2c3ddc;   /* Pantone 2726 C — primario / acento */
  --carbon:       #40414c;   /* Pantone 432 C — secundario */

  /* --- Derivados (para profundidad y jerarquía) --- */
  --crema-clara:  #ece8dd;
  --crema-suave:  #f3f0e8;
  --crema-borde:  #d6d0bf;
  --azul-osc:     #2230b0;
  --tinta:        #34353e;
  --tinta-suave:  #6b6c75;
  --blanco:       #fbfaf6;

  /* --- Tipografía --- */
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans:  "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* --- Layout --- */
  --max:      1240px;
  --gutter:   clamp(20px, 5vw, 64px);
  --radius:   4px;
  --radius-lg: 6px;
  --radius-sm: 3px;

  /* --- Sombras --- */
  --shadow-sm: 0 1px 2px rgba(64,65,76,.06), 0 4px 14px rgba(64,65,76,.06);
  --shadow:    0 8px 30px rgba(64,65,76,.10);
  --shadow-lg: 0 24px 60px rgba(64,65,76,.18);

  --t: 240ms cubic-bezier(.4,.0,.2,1);
}

/* --------------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--crema);
  color: var(--tinta);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

/* ------------------------------------------------------------- Tipografía */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; color: var(--carbon); }
.serif { font-family: var(--serif); }
.azul { color: var(--azul); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--azul);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: var(--azul); display: inline-block;
}

/* --------------------------------------------------------------- Layout */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
section[id] { scroll-margin-top: 96px; }
.section { padding-block: clamp(56px, 9vw, 120px); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
/* Sección que envuelve el statband: padding mínimo para que la barra
   se vea como un divisor compacto, sin espacio beige muerto. */
.section--tight:has(> .wrap > .statband) {
  padding-block: clamp(8px, 1.4vw, 20px);
}
.center { text-align: center; }
.muted { color: var(--tinta-suave); }

/* ---------------------------------------------------------- Grano (textura) */
/* Overlay de ruido sutil — estilo fotográfico del brand book */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .10;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* --------------------------------------------------------------- Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.7rem;
  border-radius: 2px;
  font-family: var(--sans); font-weight: 500; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .14em;
  transition: background var(--t), color var(--t), border-color var(--t), opacity var(--t);
  white-space: nowrap;
}
.btn svg { width: 1.35em; height: 1.35em; }
.btn--primary { background: var(--azul); color: #fff; }
.btn--primary:hover { background: var(--azul-osc); }
.btn--dark { background: var(--carbon); color: var(--crema); }
.btn--dark:hover { background: #2f3038; }
.btn--ghost { background: transparent; color: var(--carbon); border: 1px solid currentColor; }
.btn--ghost:hover { background: var(--carbon); color: var(--crema); }
.btn--light { background: var(--crema); color: var(--carbon); }
.btn--light:hover { background: #fff; }
.btn--outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn--outline-light:hover { background: #fff; color: var(--carbon); border-color: #fff; }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1fb957; }
.btn--block { width: 100%; }
.btn--lg { padding: 1.15rem 2.2rem; font-size: .8rem; }

/* Enlace de texto subrayado (estilo editorial Soho) */
.btn--link {
  background: none; padding: .4rem 0; border-radius: 0;
  border-bottom: 1px solid currentColor; color: var(--carbon);
  letter-spacing: .14em;
}
.btn--link:hover { color: var(--azul); }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em;
  color: var(--carbon); border-bottom: 1px solid transparent; padding-bottom: 3px; transition: color var(--t), border-color var(--t);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t); }
.link-arrow:hover { color: var(--azul); border-color: var(--azul); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(226,221,207,.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t), color var(--t);
}
.site-header.scrolled { border-bottom-color: var(--crema-borde); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 84px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand img.logo { height: 28px; width: auto; transition: opacity var(--t); flex-shrink: 0; }
.brand img.logo-alt { display: none; }
.brand .sym { height: 26px; width: auto; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-weight: 500; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--carbon); position: relative; padding: .3rem 0; white-space: nowrap;
}
/* Por defecto (desktop), los íconos del nav no se muestran (solo en el drawer móvil) */
.nav .nav__ic { display: none; }
.header-cta { flex-shrink: 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: currentColor; transition: width var(--t);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 4px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }

/* --- Header superpuesto sobre hero (transparente -> claro al hacer scroll) --- */
.site-header--overlay {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header--overlay:not(.scrolled) { color: #fff; }
.site-header--overlay:not(.scrolled) .nav a,
.site-header--overlay:not(.scrolled) .nav-toggle { color: #fff; }
.site-header--overlay:not(.scrolled) .brand img.logo { opacity: 0; }
.site-header--overlay:not(.scrolled) .brand img.logo-alt { display: block; position: absolute; height: 28px; }
.site-header--overlay:not(.scrolled) .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.site-header--overlay:not(.scrolled) .btn--ghost:hover { background: #fff; color: var(--carbon); }
.site-header--overlay.scrolled {
  position: fixed;
  background: rgba(226,221,207,.92);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.brand { position: relative; }

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__title {
  font-size: clamp(2.9rem, 7vw, 5.2rem);
  line-height: .98;
  color: var(--azul);
  letter-spacing: -.02em;
}
.hero__title em { font-style: italic; color: var(--carbon); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--carbon); max-width: 46ch; margin-top: 1.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-lg); background: var(--carbon);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(251,250,246,.92); backdrop-filter: blur(8px);
  border-radius: 14px; padding: .7rem 1rem; display: flex; align-items: center; gap: .6rem;
  box-shadow: var(--shadow);
}
.hero__badge .sym { height: 38px; width: 38px; object-fit: contain; flex: none; }
.hero__badge b { font-family: var(--serif); font-size: 1.05rem; color: var(--carbon); display: block; line-height: 1; }
.hero__badge span { font-size: .78rem; color: var(--tinta-suave); }
.hero__stats { display: flex; gap: 2.2rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero__stats .stat b { font-family: var(--serif); font-size: 1.9rem; color: var(--azul); display: block; line-height: 1; }
.hero__stats .stat span { font-size: .85rem; color: var(--tinta-suave); }

/* ------------------------------------------- Hero full-bleed (Soho style) */
.hero--full {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  margin-top: -84px; /* el header overlay queda encima */
  color: #fff; overflow: hidden;
  /* Fondo de carga: gradiente cálido (atardecer) en lugar del gris carbon —
     mientras descarga la foto del hero, ya se ve intencional. */
  background:
    radial-gradient(120% 80% at 30% 30%, #6a5b48 0%, #3e3024 60%, #1e1810 100%);
}
.hero--full__bg { position: absolute; inset: 0; z-index: 0; }
.hero--full__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--full::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none; /* overlay decorativo — no debe interceptar clicks de botones */
  background: linear-gradient(to top, rgba(28,29,34,.78) 0%, rgba(28,29,34,.25) 42%, rgba(28,29,34,.30) 100%);
}
.hero--full .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(48px, 8vw, 110px); padding-top: 120px; }
.hero--full .eyebrow { color: rgba(255,255,255,.92); }
.hero--full .eyebrow::before { background: rgba(255,255,255,.92); }
.hero--full__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.4rem); line-height: .98; letter-spacing: -.02em;
  color: #fff; max-width: 16ch; margin-top: 1.2rem;
}
.hero--full__title em { font-style: italic; }
.hero--full__lead { font-size: clamp(1.05rem, 1.5vw, 1.35rem); color: rgba(255,255,255,.9); max-width: 46ch; margin-top: 1.4rem; }
.hero--full__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero--full__stats { display: flex; gap: 2.6rem; margin-top: 2.8rem; flex-wrap: wrap; }
.hero--full__stats .stat b { font-family: var(--serif); font-size: 2rem; color: #fff; display: block; line-height: 1; }
.hero--full__stats .stat span { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.7); }
.hero--full__scroll { position: absolute; right: var(--gutter); bottom: clamp(48px, 8vw, 110px); z-index: 2; writing-mode: vertical-rl; font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: .8rem; }
@media (max-width: 720px) { .hero--full__scroll { display: none; } }

/* Hint "Desliza para descubrir" centrado abajo de los scrub heroes
   (transporte/experiencias/blog/propietarios). Reutiliza la animación
   `introHintBob` del intro splash. */
.hero--full__hint {
  position: absolute;
  bottom: clamp(20px, 4vh, 36px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.hero--full__hint svg { width: 22px; height: 22px; animation: introHintBob 1.6s ease-in-out infinite; }
@media (max-width: 720px) {
  .hero--full__hint { bottom: clamp(16px, 3vh, 28px); font-size: .68rem; }
}

/* Pantallas "aplastadas" tipo laptop Windows 1366x768 / ultrawide / IDE estrecho
   El `clamp(3rem, 8vw, 6.4rem)` no cap-ea por alto, así que en pantallas con
   poco vertical el título dominaba y chocaba con el video. Esta media query
   reduce título + padding cuando alto ≤ 800px. */
@media (min-width: 721px) and (max-height: 800px) {
  .hero--full { min-height: 100vh; }
  .hero--full .wrap { padding-top: 96px; padding-bottom: clamp(36px, 4vh, 64px); }
  .hero--full__title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-top: .9rem; }
  .hero--full__lead { font-size: 1rem; max-width: 42ch; margin-top: 1rem; }
  .hero--full__actions { margin-top: 1.6rem; }
  .hero--full__scroll { bottom: clamp(36px, 4vh, 64px); }
}

/* ----------------------------------------------------------- Search / filtros */
.searchbar {
  background: var(--blanco); border: 1px solid var(--crema-borde);
  border-radius: 3px;
  padding: .5rem; display: flex; gap: .5rem; align-items: center;
}
.searchbar .field { display: flex; align-items: center; gap: .55rem; padding: .5rem .8rem; flex: 1; }
.searchbar .field svg { width: 18px; height: 18px; color: var(--azul); flex: none; }
.searchbar input, .searchbar select {
  border: none; background: transparent; width: 100%; outline: none; font-size: .98rem;
}
.searchbar .divider { width: 1px; align-self: stretch; background: var(--crema-borde); }

.filters { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.filters .chip-select { display: none; }
.chip-select {
  appearance: none; -webkit-appearance: none;
  background: var(--blanco) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2340414c' stroke-width='1.6' stroke-linecap='round'><path d='M1 1l5 5 5-5'/></svg>") no-repeat right 14px center;
  border: 1px solid var(--crema-borde);
  border-radius: 6px;
  padding: .75rem 2.4rem .75rem 1rem;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--carbon);
  cursor: pointer;
}
.chip {
  padding: .6rem 1.2rem; border-radius: 2px; border: 1px solid var(--crema-borde);
  background: transparent; color: var(--carbon); font-weight: 500;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .12em;
  transition: all var(--t);
}
.chip:hover { border-color: var(--carbon); }
.chip.active { background: var(--carbon); border-color: var(--carbon); color: var(--crema); }

/* --------------------------------------------------------- Grid propiedades */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.2vw, 48px) clamp(20px, 2.4vw, 34px); }
.card {
  background: transparent; overflow: visible;
  display: flex; flex-direction: column;
}
.card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--carbon); border-radius: 3px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms cubic-bezier(.2,.6,.2,1); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(28,29,34,.55); backdrop-filter: blur(6px);
  color: #fff; font-weight: 500; font-size: .64rem; text-transform: uppercase; letter-spacing: .14em;
  padding: .4rem .7rem; border-radius: 2px; display: inline-flex; gap: .4rem; align-items: center;
}
.card__tag svg { width: 12px; height: 12px; }
.card__fav {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px;
  border-radius: 50%; background: rgba(251,250,246,.85); display: grid; place-items: center;
  transition: all var(--t);
}
.card__fav svg { width: 18px; height: 18px; color: var(--carbon); transition: all var(--t); }
.card__fav:hover { background: #fff; }
.card__fav.on svg { color: var(--azul); fill: var(--azul); }
.card__body { padding: 1rem .1rem 0; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card__loc { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--tinta-suave); display: flex; align-items: center; gap: .35rem; }
.card__loc svg { width: 13px; height: 13px; color: var(--azul); flex: none; }
.card__title { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--carbon); line-height: 1.15; }
.card__specs {
  margin-top: .35rem; display: flex; gap: 1.1rem; flex-wrap: wrap;
}
.card__specs .spec { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--tinta-suave); }
.card__specs .spec svg { width: 15px; height: 15px; color: var(--azul); }
.card__price { display: block; margin-top: .6rem; font-family: var(--sans); font-weight: 600; font-size: 1.02rem; color: var(--carbon); }
.card__price small { font-weight: 400; font-size: .8rem; color: var(--tinta-suave); }

/* ------------------------------------------- Bandas editoriales (split) */
.split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; background: var(--crema-suave); }
.split__media { position: relative; min-height: 460px; overflow: hidden; }
.split__media img,
.split__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.6,.2,1); }
.split:hover .split__media img,
.split:hover .split__media video { transform: scale(1.04); }
.split__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.4rem, 6vw, 6rem); }
.split__body h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; margin-top: 1rem; max-width: 16ch; }
.split__body p { color: var(--tinta-suave); margin: 1.2rem 0 1.8rem; max-width: 42ch; }
.split--reverse .split__media { order: 2; }
.split--dark { background: var(--carbon); }
.split--dark h2 { color: var(--crema); }
.split--dark p { color: rgba(226,221,207,.74); }
.split--dark .eyebrow { color: var(--crema); }
.split--dark .eyebrow::before { background: var(--crema); }
.split--dark .link-arrow { color: var(--crema); }
.split--dark .link-arrow:hover { color: #fff; border-color: #fff; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 300px; order: -1; }
  .split--reverse .split__media { order: -1; }
}

.empty {
  grid-column: 1 / -1; text-align: center; padding: 4rem 1rem; color: var(--tinta-suave);
}
.empty .sym { height: 48px; margin: 0 auto 1rem; opacity: .5; }

/* --------------------------------------------------------- Section heads */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: clamp(32px, 4.5vw, 56px); flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); max-width: 16ch; line-height: 1.04; }
.sec-head p { color: var(--tinta-suave); max-width: 40ch; }

/* ------------------------------------------------------------- Ciudades */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.city {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4;
  background: var(--carbon); box-shadow: var(--shadow); display: block;
}
.city img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.city:hover img { transform: scale(1.07); }
.city::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(34,35,42,.85) 0%, rgba(34,35,42,.1) 55%, transparent 100%); z-index: 1; }
.city__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.4rem 1.4rem 1.5rem; color: #fff; }
.city__cap h3 { color: #fff; font-size: 1.7rem; }
.city__cap span { font-size: .9rem; opacity: .85; display: inline-flex; align-items: center; gap: .35rem; }
.city__cap .arrow { transition: transform var(--t); display: inline-block; }
.city:hover .city__cap .arrow { transform: translateX(5px); }

/* ---------------------------------------------------- Mapa de presencia */
.map-mx {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 975 / 655;
}
.map-mx__svg {
  position: absolute; inset: 0;
  background-image: url("../assets/img/mexico.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* color del país: contorno suave en carbón sobre crema */
  opacity: .85;
  filter: invert(24%) sepia(7%) saturate(390%) hue-rotate(202deg) brightness(95%) contrast(88%);
}
.map-pin {
  position: absolute;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;             /* centra sobre el punto top/left */
  border-radius: 50%;
  background: var(--azul);
  box-shadow: 0 0 0 3px rgba(44,61,220,.18);
  z-index: 3;
  cursor: pointer;
  text-decoration: none;
}
.map-pin::before,
.map-pin::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--azul);
  animation: ratitoSonar 2.4s ease-out infinite;
  pointer-events: none;
}
.map-pin::after { animation-delay: 1.2s; }
@keyframes ratitoSonar {
  0%   { transform: scale(0.9); opacity: .85; }
  80%  { opacity: .05; }
  100% { transform: scale(4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .map-pin::before, .map-pin::after { animation: none; opacity: .35; transform: scale(2); }
}
.map-pin__lbl {
  position: absolute; left: 50%; bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(4px);
  background: var(--carbon); color: var(--crema);
  padding: .35rem .65rem; border-radius: 6px;
  white-space: nowrap; font-size: .8rem; letter-spacing: .02em;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font-family: var(--sans);
  z-index: 4;
}
.map-pin:hover .map-pin__lbl,
.map-pin:focus .map-pin__lbl {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.map-cities {
  list-style: none; padding: 0; margin: 1.6rem auto 0;
  display: flex; flex-wrap: wrap; gap: .5rem .9rem;
  justify-content: center; max-width: 720px;
}
.map-cities a {
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--tinta-suave); text-decoration: none;
  padding: .35rem .1rem;
  transition: color var(--t);
}
.map-cities a:hover { color: var(--azul); }

@media (max-width: 720px) {
  .map-mx { max-width: 100%; }
  .map-pin { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
  .map-pin__lbl { font-size: .72rem; padding: .25rem .5rem; }
}

/* Variante: mapa INLINE dentro de la cuadrícula de ciudades.
   Ocupa 2 columnas (1 fila) en la fila 1, las tarjetas fluyen alrededor. */
.cities .map-mx--inline {
  position: relative;
  grid-column: span 2;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;   /* el alto lo determina la fila del grid */
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .35);
}
.cities .map-mx--inline .map-pin {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  box-shadow: 0 0 0 1.5px rgba(44, 61, 220, .22);
}
.cities .map-mx--inline .map-pin::before,
.cities .map-mx--inline .map-pin::after {
  inset: -1.5px;
  border-width: 1.5px;
  animation: ratitoSonarSm 2.4s ease-out infinite;
}
.cities .map-mx--inline .map-pin::after { animation-delay: 1.2s; }
@keyframes ratitoSonarSm {
  0%   { transform: scale(0.9); opacity: .85; }
  80%  { opacity: .05; }
  100% { transform: scale(2.6); opacity: 0; }
}
.cities .map-mx--inline .map-pin__lbl {
  font-size: .7rem;
  padding: .22rem .5rem;
  bottom: calc(100% + 6px);
}
/* En móvil el grid baja a 2 columnas (o menos): el mapa ocupa toda la fila */
@media (max-width: 760px) {
  .cities .map-mx--inline { grid-column: 1 / -1; aspect-ratio: 975 / 655; height: auto; }
}

/* -------------------------------------------------------------- Valores */
.values-band { background: var(--carbon); color: var(--crema); position: relative; overflow: hidden; }
.values-band .eyebrow { color: var(--crema); }
.values-band .eyebrow::before { background: var(--crema); }
.values-band h2 { color: var(--crema); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: 3rem; }
.value .ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(226,221,207,.12); display: grid; place-items: center; margin-bottom: 1rem; }
.value .ic svg { width: 26px; height: 26px; color: var(--crema); }
.value h3 { color: var(--crema); font-family: var(--sans); font-weight: 600; font-size: 1.2rem; margin-bottom: .5rem; }
.value p { color: rgba(226,221,207,.72); font-size: .96rem; }

/* -------------------------------------------------------------- Contacto */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 4vw, 3rem); }
.contact-methods { display: flex; flex-direction: column; gap: .8rem; margin-top: 2rem; }
.cmethod {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
  background: var(--blanco); border: 1px solid var(--crema-borde); border-radius: var(--radius-sm);
  transition: all var(--t);
}
.cmethod:hover { border-color: var(--azul); transform: translateX(4px); }
.cmethod .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(44,61,220,.1); display: grid; place-items: center; flex: none; }
.cmethod .ic svg { width: 21px; height: 21px; color: var(--azul); }
.cmethod b { display: block; font-family: var(--sans); font-weight: 600; color: var(--carbon); font-size: .98rem; }
.cmethod span { font-size: .88rem; color: var(--tinta-suave); }

.form-card { background: var(--blanco); border: 1px solid var(--crema-borde); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-card h3 { font-family: var(--sans); font-weight: 600; font-size: 1.25rem; color: var(--carbon); margin-bottom: 1.3rem; }
.field-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field-group label { font-size: .85rem; font-weight: 500; color: var(--carbon); }
.field-group input, .field-group textarea, .field-group select {
  padding: .85rem 1rem; border: 1.5px solid var(--crema-borde); border-radius: var(--radius-sm);
  background: var(--crema-suave); transition: border-color var(--t), background var(--t); outline: none;
}
.field-group input:focus, .field-group textarea:focus, .field-group select:focus { border-color: var(--azul); background: #fff; }
.field-group textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .8rem; color: var(--tinta-suave); margin-top: .8rem; text-align: center; }
.form-ok { background: rgba(44,61,220,.08); border: 1px solid var(--azul); color: var(--azul); padding: 1rem; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 1rem; display: none; }
.form-ok.show { display: block; }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--carbon); color: var(--crema); padding-block: clamp(48px, 7vw, 80px) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(226,221,207,.16); }
.site-footer .logo-white { height: 34px; margin-bottom: 1rem; }
.site-footer p.tag { color: rgba(226,221,207,.7); max-width: 34ch; font-size: .95rem; }
.footer-col h4 { font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(226,221,207,.6); margin-bottom: 1.1rem; }
.footer-col a, .footer-col li { color: rgba(226,221,207,.88); font-size: .95rem; padding: .25rem 0; display: block; transition: color var(--t); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.6rem; gap: 1rem; flex-wrap: wrap; }
.footer-bottom span { font-size: .82rem; color: rgba(226,221,207,.55); }
.socials { display: flex; gap: .6rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(226,221,207,.25); display: grid; place-items: center; transition: all var(--t); }
.socials a:hover { background: rgba(226,221,207,.12); }
.socials svg { width: 18px; height: 18px; }

/* ============================ PÁGINA DE DETALLE ============================ */
.detail { padding-top: 2rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--tinta-suave); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--azul); }
.breadcrumb svg { width: 14px; height: 14px; }

/* Topbar de la propiedad — H1 izquierda + acciones Compartir/Guardar derecha */
.detail-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.4rem;
  margin: .8rem 0 1.2rem;
}
.detail-topbar__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--carbon);
  margin: 0;
  letter-spacing: -.01em;
  line-height: 1.15;
  max-width: 70%;
}
.detail-topbar__actions { display: inline-flex; gap: .6rem; flex: none; }
.topbar-action {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: none;
  color: var(--carbon);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .9rem;
  padding: .5rem .75rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(34,35,42,.35);
  text-underline-offset: 3px;
  transition: background var(--t), text-decoration-color var(--t);
}
.topbar-action:hover { background: rgba(34,35,42,.06); text-decoration-color: var(--carbon); }
.topbar-action svg { width: 16px; height: 16px; }
.topbar-action.is-saved svg { fill: var(--azul); stroke: var(--azul); }
.topbar-action.is-saved { color: var(--azul); }
@media (max-width: 720px) {
  .detail-topbar { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .detail-topbar__title { display: none; /* el H1 grande de la detail-head abajo basta */ }
  .detail-topbar__actions { width: 100%; justify-content: flex-end; }
}

/* Modal "Comparte esta propiedad" estilo Airbnb */
.share-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.share-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  transition: opacity .2s ease;
}
.share-modal.is-open .share-modal__backdrop { opacity: 1; }
.share-modal__card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  transform: translateY(20px) scale(.96);
  opacity: 0;
  transition: transform .22s cubic-bezier(.2,.7,.2,1), opacity .22s ease;
}
.share-modal.is-open .share-modal__card { transform: translateY(0) scale(1); opacity: 1; }
.share-modal__close {
  position: absolute; top: 14px; left: 14px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: var(--carbon);
  transition: background var(--t);
}
.share-modal__close:hover { background: rgba(34,35,42,.08); }
.share-modal__close svg { width: 18px; height: 18px; }
.share-modal__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--carbon);
  margin: .4rem 0 1.1rem 36px;
  letter-spacing: -.005em;
}
.share-modal__preview {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem .9rem;
  border: 1px solid var(--crema-borde);
  border-radius: 12px;
  margin-bottom: 1.2rem;
}
.share-modal__preview img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
  background: var(--crema-borde);
}
.share-modal__preview-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  color: var(--carbon);
  line-height: 1.3;
  margin-bottom: .25rem;
}
.share-modal__preview-specs {
  font-size: .82rem;
  color: var(--tinta-suave);
  line-height: 1.35;
}
.share-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .65rem;
}
.share-opt {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1rem;
  border: 1px solid var(--crema-borde);
  border-radius: 12px;
  background: #fff;
  color: var(--carbon);
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .92rem;
  text-align: left;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.share-opt:hover { border-color: var(--carbon); background: var(--crema-suave); }
.share-opt:active { transform: scale(.98); }
.share-opt__ic { width: 28px; height: 28px; display: grid; place-items: center; flex: none; color: var(--carbon); }
.share-opt__ic svg { width: 22px; height: 22px; }
.share-opt__label { flex: 1; }
@media (max-width: 540px) {
  .share-modal__grid { grid-template-columns: 1fr; }
  .share-modal__card { max-height: calc(100vh - 1rem); }
  .share-modal__title { font-size: 1.2rem; margin-left: 36px; }
}
body.share-modal-open { overflow: hidden; }

/* Toast (notificación temporal) — usado para "Link copiado" */
.ratito-toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--carbon);
  color: var(--crema);
  padding: .75rem 1.2rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 9999;
}
.ratito-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Galería estilo Airbnb: foto principal grande + 2x2 de thumbs +
   botón "Mostrar todas las fotos" abajo a la derecha. */
.gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2/1;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: opacity var(--t); background: var(--carbon); }
.gallery img:hover { opacity: .92; }
.gallery .g-main { grid-column: 1; grid-row: 1 / 3; }
.gallery .g-thumb { position: relative; }

/* Botón "Mostrar todas las fotos" (estilo Airbnb) abajo a la derecha */
.gallery__viewall {
  position: absolute;
  bottom: 16px; right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: #fff;
  color: var(--carbon);
  font-family: var(--sans);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .005em;
  padding: .65rem .95rem .65rem .85rem;
  border-radius: 10px;
  border: 1px solid var(--carbon);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  transition: transform var(--t), box-shadow var(--t);
}
.gallery__viewall:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  background: var(--carbon);
  color: #fff;
}
.gallery__viewall svg { width: 15px; height: 15px; flex: none; }
.gallery__viewall .count { opacity: .65; font-weight: 500; margin-left: .15rem; }

/* Fotos extra (6+) ocultas en desktop — sólo aparecen en el carousel móvil */
.gallery .g-thumb--extra { display: none; }

/* Contador "1/N" estilo Airbnb — sólo visible en mobile (ver media query) */
.gallery__counter {
  display: none;
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .32rem .7rem;
  border-radius: 999px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(28px, 4vw, 56px); margin-top: 2.5rem; align-items: start; }
.detail-head h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--carbon); }
.detail-head .loc { display: flex; align-items: center; gap: .4rem; color: var(--tinta-suave); margin-top: .6rem; }
.detail-head .loc svg { width: 17px; height: 17px; color: var(--azul); }
.detail-price { font-family: var(--serif); font-size: 2.2rem; color: var(--azul); margin-top: 1rem; }
.detail-price small { font-family: var(--sans); font-size: .95rem; color: var(--tinta-suave); }

.specbar { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 1.8rem 0; padding: 1.3rem 1.5rem; background: var(--blanco); border: 1px solid var(--crema-borde); border-radius: var(--radius); }
.specbar .spec { display: flex; align-items: center; gap: .6rem; }
.specbar .spec .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(44,61,220,.09); display: grid; place-items: center; flex: none; }
.specbar .spec svg { width: 20px; height: 20px; color: var(--azul); }
.specbar .spec b { font-family: var(--sans); font-weight: 600; color: var(--carbon); display: block; line-height: 1.1; }
.specbar .spec span { font-size: .8rem; color: var(--tinta-suave); }

.detail-section { margin-top: 2.5rem; }
.detail-section h2 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--carbon); }
.detail-section p { color: var(--carbon); white-space: pre-line; }

.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem 1.5rem; }
.amenities li { display: flex; align-items: center; gap: .7rem; color: var(--carbon); }
.amenities li svg { width: 20px; height: 20px; color: var(--azul); flex: none; }

/* ============================== AMENIDADES (estilo Airbnb) ==============================
   Lista vertical de 2 columnas (desktop) o 1 (mobile) con icono + texto.
   Botón "Mostrar las N amenidades" abajo abre modal con la lista completa. */
.amenities-block { margin-top: 3rem; }
.amenities-block h2 { font-size: 1.7rem; margin-bottom: 1.6rem; color: var(--carbon); font-family: var(--serif); }
.amen-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
}
.amen-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--crema-clara);
  color: var(--carbon);
  font-size: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .55s ease var(--amen-delay, 0ms), transform .55s ease var(--amen-delay, 0ms);
}
.amen-list.is-in .amen-item { opacity: 1; transform: translateY(0); }
.amen-item__ic {
  width: 28px; height: 28px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--carbon);
}
.amen-item__ic svg { width: 26px; height: 26px; }
.amen-item__label { line-height: 1.4; }
/* Quitamos border del último elemento de cada columna en desktop */
.amen-list .amen-item:nth-last-child(-n+2):nth-child(odd),
.amen-list .amen-item:last-child { border-bottom: 0; }

.amen-showall {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 1.5rem;
  padding: .85rem 1.4rem;
  background: transparent;
  color: var(--carbon);
  border: 1px solid var(--carbon);
  border-radius: 10px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  cursor: pointer;
  transition: background var(--t), color var(--t), transform var(--t);
}
.amen-showall:hover { background: var(--carbon); color: #fff; transform: translateY(-1px); }

/* Modal de amenidades */
.amen-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0);
  opacity: 0;
  transition: opacity .22s ease, background .22s ease;
  pointer-events: none;
}
.amen-modal.is-open { opacity: 1; background: rgba(0,0,0,.5); pointer-events: auto; }
.amen-modal__panel {
  background: var(--blanco);
  width: min(640px, 92vw);
  max-height: 88vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  transform: translateY(16px) scale(.98);
  transition: transform .22s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.amen-modal.is-open .amen-modal__panel { transform: translateY(0) scale(1); }
.amen-modal__close {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 50%;
  color: var(--carbon); cursor: pointer;
  transition: background var(--t);
}
.amen-modal__close:hover { background: var(--crema-clara); }
.amen-modal__close svg { width: 18px; height: 18px; }
.amen-modal__inner {
  padding: 4rem 2rem 2rem;
  overflow-y: auto;
}
.amen-modal__title {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 0 0 1.4rem;
  color: var(--carbon);
}
.amen-list--full { grid-template-columns: 1fr; }
.amen-list--full .amen-item { opacity: 1; transform: none; }
.amen-list--full .amen-item:last-child { border-bottom: 0; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--crema-borde); height: 340px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Sticky contact card on detail page */
.contact-card { position: sticky; top: 96px; background: var(--blanco); border: 1px solid var(--crema-borde); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.contact-card .agent { display: flex; align-items: center; gap: .8rem; padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--crema-clara); }
.contact-card .agent .sym { height: 44px; width: 44px; object-fit: contain; flex: none; }
.contact-card .agent b { display: block; font-family: var(--sans); font-weight: 600; color: var(--carbon); }
.contact-card .agent span { font-size: .85rem; color: var(--tinta-suave); }
.contact-card .actions { display: flex; flex-direction: column; gap: .6rem; }
.contact-card .or { text-align: center; font-size: .8rem; color: var(--tinta-suave); margin: .4rem 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(34,35,42,.94); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 84vh; border-radius: 10px; object-fit: contain; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(251,250,246,.14); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background var(--t); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(251,250,246,.3); }
.lightbox__nav svg, .lightbox__close svg { width: 24px; height: 24px; }
.lightbox__nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav.next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(251,250,246,.8); font-size: .9rem; }

/* ========================== PÁGINA PROPIETARIOS ========================== */
.owner-hero { padding-block: clamp(48px, 7vw, 96px); }
.owner-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.owner-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); color: var(--azul); line-height: 1; }
.owner-hero h1 em { font-style: italic; color: var(--carbon); }
.owner-hero p.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--carbon); max-width: 48ch; margin-top: 1.3rem; }
.owner-hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-lg); background: var(--carbon); }
.owner-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; background: var(--blanco); border: 1px solid var(--crema-borde); font-size: .9rem; font-weight: 500; color: var(--carbon); }
.pill svg { width: 16px; height: 16px; color: var(--azul); }

/* Tarjetas de beneficios / servicios */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature {
  background: var(--blanco); border: 1px solid var(--crema-borde); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 50px; height: 50px; border-radius: 14px; background: rgba(44,61,220,.09); display: grid; place-items: center; margin-bottom: 1.1rem; }
.feature .ic svg { width: 25px; height: 25px; color: var(--azul); }
.feature h3 { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; color: var(--carbon); margin-bottom: .5rem; }
.feature p { font-size: .94rem; color: var(--tinta-suave); }

/* Revenue / canales band */
.revenue { background: var(--azul); color: #fff; position: relative; overflow: hidden; }
.revenue .eyebrow { color: rgba(255,255,255,.85); }
.revenue .eyebrow::before { background: rgba(255,255,255,.85); }
.revenue h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 22ch; }
.revenue .right-list { display: grid; gap: 1rem; }
.revenue .right-list li { display: flex; align-items: flex-start; gap: .8rem; font-size: 1.05rem; }
.revenue .right-list svg { width: 22px; height: 22px; color: #fff; flex: none; margin-top: 2px; }
.revenue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.revenue .big { font-family: var(--serif); font-size: clamp(3rem, 8vw, 5rem); line-height: 1; }

/* Proceso por fases */
/* Mapa inline: forzamos aspect del SVG (975/655) para que NO haya letterbox
   horizontal — así los pines caen exactamente sobre sus coordenadas. */
.cities .map-mx--inline { aspect-ratio: 975 / 655; height: auto; }

/* Pasos: tarjetas editoriales con foto arriba + chip "Paso 0X" superpuesto */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
}
/* Cards de proceso "Cómo funciona" en propietarios — diseño cinematográfico
   full-bleed: la imagen llena toda la card y el texto va sobre un gradient
   oscuro en la parte inferior, estilo editorial Architectural Digest. */
.step {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.step__media {
  position: absolute; inset: 0;
  overflow: hidden;
}
.step__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(.2,.6,.2,1);
}
.step:hover .step__media img { transform: scale(1.06); }
/* Gradient oscuro sobre la imagen para legibilidad del texto */
.step__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,29,34,.85) 0%, rgba(28,29,34,.55) 35%, rgba(28,29,34,.05) 60%, transparent 100%);
  pointer-events: none;
}
/* Chip "Paso 01" flotando arriba a la izquierda */
.step__chip {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  background: rgba(255, 255, 255, .94);
  color: var(--azul);
  font-family: var(--serif);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .38rem .85rem;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
/* Texto overlay abajo */
.step__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: clamp(1.2rem, 2vw, 1.8rem) clamp(1.2rem, 2vw, 1.6rem) clamp(1.4rem, 2.2vw, 1.9rem);
  color: #fff;
}
.step__tag {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  color: #fff;
  margin: .5rem 0 .65rem;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.step p {
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
/* (sub-bullets removidos del diseño actual; se conservan estilos por si se reusan) */
.step ul.ticks { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem 1.2rem; margin-top: .8rem; }
.step ul.ticks li { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--carbon); }
.step ul.ticks svg { width: 16px; height: 16px; color: var(--azul); flex: none; }

/* CTA final propietarios */
.owner-cta { background: var(--carbon); color: var(--crema); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; position: relative; overflow: hidden; }
.owner-cta .eyebrow { color: var(--crema); justify-content: center; margin-bottom: 1rem; }
.owner-cta .eyebrow::before { background: var(--crema); }
.owner-cta h2 { color: var(--crema); font-size: clamp(2rem, 4vw, 3rem); max-width: 20ch; margin: 0 auto; }
.owner-cta p { color: rgba(226,221,207,.75); max-width: 50ch; margin: 1rem auto 0; }
.owner-cta .hero__actions { justify-content: center; }

@media (max-width: 980px) {
  .owner-hero__grid { grid-template-columns: 1fr; }
  .owner-hero__media { order: -1; aspect-ratio: 16/10; max-height: 380px; }
  .feature-grid, .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .revenue-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .feature-grid, .feature-grid.cols-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2.4rem; }
  .step__num { font-size: 3.6rem; padding-bottom: .9rem; margin-bottom: 1rem; }
  .step ul.ticks { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------- Reveal anim */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Responsive */
/* WhatsApp del header SIEMPRE como botón redondo solo-ícono (para que el nav
   completo, incluyendo Owners portal, quepa sin apretar). */
.header-cta .header-wa { width: 44px; height: 44px; padding: 0; border-radius: 50%; flex: none; }
.header-cta .header-wa .btn__label { display: none; }
.header-cta .header-wa svg { width: 20px; height: 20px; }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16/11; max-height: 420px; order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cities { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact-wrap { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }

  /* Menú colapsado a hamburguesa en tablet/móvil */
  .nav, .header-cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-flex; }

  /* WhatsApp compacto (solo ícono) para que no se encime */
  .header-cta { gap: .5rem; }
  .header-wa { width: 44px; height: 44px; padding: 0; border-radius: 50%; flex: none; }
  .header-wa .btn__label { display: none; }
  .header-wa svg { width: 20px; height: 20px; }
  .site-header__inner { gap: .75rem; }
  /* Drawer móvil: popover compacto en esquina superior derecha,
     items como tiles cuadrados con ícono + label (no cubre toda la pantalla).
     Fondo blanco 100% opaco, sombra fuerte y borde nítido para máximo contraste. */
  .nav.open {
    z-index: 110;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, 95px);
    gap: .7rem;
    position: fixed;
    top: calc(64px + 10px);                /* debajo del header (height 64px en móvil) */
    left: 50%;
    transform: translateX(-50%);           /* centrado horizontal exacto */
    right: auto;
    bottom: auto;
    width: min(355px, calc(100vw - 20px));
    padding: 1rem;
    /* Cristal vivo en TODA la página: blur muy fuerte para que el contenido
       detrás (video del hero, cards, fotos) se difumine en un wash de color.
       Los tonos siguen moviéndose con el scroll, natural y continuo. */
    /* Sobre el hero (estado por defecto): cristal translúcido con blur,
       el video se asoma y se mueven los tonos. Look perfecto del hero. */
    background: rgba(255, 255, 255, .15);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 18px;
    transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
    box-shadow:
      0 24px 60px rgba(34, 35, 42, .28),
      0 6px 16px rgba(34, 35, 42, .14),
      0 0 0 1px rgba(34, 35, 42, .04);
    animation: navTilesIn .25s cubic-bezier(.2,.7,.2,1);
  }
  /* Cuando saliste totalmente del hero (header.scrolled): tono azul-periwinkle
     sólido del mismo color visual que el cristal del hero. Nada se cuela detrás. */
  .site-header.scrolled .nav.open {
    background: linear-gradient(160deg, #b5b6bd 0%, #8a8b94 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-color: rgba(255, 255, 255, .35);
  }
  /* En páginas sin overlay-hero (transporte, experiencias, etc.): también sólido. */
  .site-header:not(.site-header--overlay) .nav.open {
    background: linear-gradient(160deg, #b5b6bd 0%, #8a8b94 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-color: rgba(255, 255, 255, .35);
  }
  @keyframes navTilesIn {
    from { opacity: 0; transform: translateY(-6px) scale(.97); }
    to   { opacity: 1; transform: none; }
  }
  .nav.open a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .6rem .2rem;
    height: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, .35);      /* burbuja translúcida siempre */
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
    color: var(--carbon);
    font-family: var(--sans);
    font-weight: 600;
    font-size: .62rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: anywhere;
    transition: background var(--t), border-color var(--t), color var(--t);
  }
  .nav.open .nav__ic {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(44, 61, 220, .14);
  }
  .nav.open .nav__ic svg { width: 19px; height: 19px; }
  .nav.open a::before,
  .nav.open a::after { display: none; }
  .nav.open .nav__ic {
    display: grid;
    place-items: center;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(44, 61, 220, .18);
  }
  .nav.open .nav__ic svg {
    width: 16px; height: 16px;
    color: var(--azul);
  }
  .nav.open a:hover,
  .nav.open a.active {
    background: var(--azul);
    border-color: var(--azul);
    color: #fff;
  }
  .nav.open a.active .nav__ic,
  .nav.open a:hover .nav__ic {
    background: rgba(255, 255, 255, .18);
  }
  .nav.open a.active .nav__ic svg,
  .nav.open a:hover .nav__ic svg {
    color: #fff;
  }
  .site-header--overlay:not(.scrolled) .nav.open a { color: var(--carbon); }
  .site-header--overlay:not(.scrolled) .nav.open a.active,
  .site-header--overlay:not(.scrolled) .nav.open a:hover { color: #fff; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header__inner { height: 64px; }
  .searchbar { flex-direction: column; align-items: stretch; }
  .searchbar .divider { display: none; }
  .searchbar .field { border: 1px solid var(--crema-borde); border-radius: var(--radius-sm); }
  .searchbar .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .cities { grid-template-columns: 1fr; }
  /* Galería móvil: carousel horizontal con swipe + contador "1/N" estilo Airbnb */
  .gallery {
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    aspect-ratio: 4/3;
    gap: 0;
    border-radius: var(--radius);
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .g-main,
  .gallery .g-thumb,
  .gallery .g-thumb--extra {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    aspect-ratio: auto;
    grid-row: auto;
    grid-column: auto;
    position: relative;
  }
  .gallery .g-main { object-fit: cover; }
  .gallery img { width: 100%; height: 100%; object-fit: cover; }
  /* En mobile escondemos el botón grande — el contador "1/N" basta */
  .gallery__viewall { display: none; }
  .gallery__counter { display: inline-flex; align-items: center; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .amenities { grid-template-columns: 1fr; }
  .amen-list { grid-template-columns: 1fr; }
  .amen-list .amen-item:last-child { border-bottom: 0; }
  .amen-list .amen-item { padding: 1rem 0; }
  .amenities-block h2 { font-size: 1.4rem; }
  .amen-modal__panel { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
  .amen-modal__inner { padding: 4rem 1.25rem 2rem; }
  .hero__stats { gap: 1.5rem; }

  /* Hero full-bleed en móvil: contenido anclado arriba, sin encimar el header */
  .hero--full { align-items: flex-start; margin-top: 0; min-height: 62vh; }
  .hero--full .wrap { padding-top: 92px; padding-bottom: 2rem; }
  .hero--full__title { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .hero--full__lead { margin-top: 1rem; }
  .hero--full__actions { margin-top: 1.6rem; }
  .hero--full__stats { gap: 1.6rem; margin-top: 2rem; }
}

/* ============================== AI CONCIERGE ============================== */
.cc-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: inline-flex; align-items: center; gap: .6rem; background: var(--azul); color: #fff; border-radius: 999px; padding: .8rem 1.2rem; box-shadow: 0 10px 30px rgba(44,61,220,.35); transition: transform var(--t), opacity var(--t), visibility var(--t); }
.cc-launcher img { width: 26px; height: 26px; object-fit: contain; position: relative; z-index: 1; }
.cc-launcher span { font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; position: relative; z-index: 1; }
.cc-launcher:hover { transform: translateY(-2px); }
.cc-launcher.hidden { opacity: 0; visibility: hidden; transform: scale(.8); }
/* Anillos pulsantes tipo sonar (como los pines del mapa) */
.cc-launcher::before,
.cc-launcher::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(44, 61, 220, .55);
  animation: ccSonar 2.4s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}
.cc-launcher::after { animation-delay: 1.2s; }
.cc-launcher.hidden::before, .cc-launcher.hidden::after { animation: none; opacity: 0; }
@keyframes ccSonar {
  0%   { transform: scale(0.96); opacity: .85; }
  80%  { opacity: .04; }
  100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-launcher::before, .cc-launcher::after { animation: none; opacity: .35; transform: scale(1.15); }
}

.cc-panel { position: fixed; right: 22px; bottom: 22px; z-index: 121; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 110px)); background: var(--blanco); border: 1px solid var(--crema-borde); border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity var(--t), transform var(--t), visibility var(--t); }
.cc-panel.open { opacity: 1; visibility: visible; transform: none; }

.cc-head { background: var(--carbon); color: var(--crema); padding: .9rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.cc-head__id { display: flex; align-items: center; gap: .6rem; }
.cc-head__id img { width: 34px; height: 34px; object-fit: contain; }
.cc-head__id b { display: block; font-family: var(--sans); font-weight: 600; font-size: .95rem; }
.cc-head__id span { font-size: .72rem; color: rgba(226,221,207,.7); }
.cc-close { color: var(--crema); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; }
.cc-close svg { width: 18px; height: 18px; }
.cc-close:hover { background: rgba(255,255,255,.1); }

.cc-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; background: var(--crema-suave); }
.cc-msg { max-width: 88%; padding: .7rem .9rem; border-radius: 14px; font-size: .92rem; line-height: 1.5; }
.cc-msg--bot { background: #fff; border: 1px solid var(--crema-borde); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--carbon); }
.cc-msg--user { background: var(--azul); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.cc-msg b { font-weight: 600; }

.cc-cards { display: flex; flex-direction: column; gap: .5rem; margin-top: .6rem; }
.cc-card { display: flex; gap: .7rem; background: var(--crema-suave); border: 1px solid var(--crema-borde); border-radius: 10px; padding: .5rem; transition: border-color var(--t); }
.cc-card:hover { border-color: var(--azul); }
.cc-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 7px; flex: none; background: var(--carbon); }
.cc-card__b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-card__loc { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--tinta-suave); }
.cc-card__b b { font-family: var(--sans); font-weight: 600; font-size: .86rem; color: var(--carbon); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-card__p { font-size: .82rem; font-weight: 600; color: var(--azul); }
.cc-card__p small { font-weight: 400; color: var(--tinta-suave); font-size: .72rem; }
.cc-more { display: block; font-size: .78rem; color: var(--tinta-suave); margin-top: .5rem; }

.cc-cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; background: #25D366; color: #fff; padding: .55rem .9rem; border-radius: 6px; font-size: .76rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.cc-cta svg { width: 16px; height: 16px; }

.cc-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem 1rem 0; }
.cc-chip { border: 1px solid var(--crema-borde); background: #fff; color: var(--carbon); border-radius: 999px; padding: .4rem .8rem; font-size: .78rem; transition: all var(--t); }
.cc-chip:hover { border-color: var(--azul); color: var(--azul); }

.cc-input { display: flex; gap: .5rem; padding: .8rem 1rem 1rem; }
.cc-input input { flex: 1; border: 1px solid var(--crema-borde); border-radius: 999px; padding: .7rem 1rem; background: var(--crema-suave); outline: none; font-size: .9rem; }
.cc-input input:focus { border-color: var(--azul); background: #fff; }
.cc-input button { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; }
.cc-input button svg { width: 18px; height: 18px; }
.cc-input button:hover { background: var(--azul-osc); }

.cc-typing { display: inline-flex; gap: 4px; }
.cc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--tinta-suave); animation: ccb 1s infinite; }
.cc-typing i:nth-child(2) { animation-delay: .15s; }
.cc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ccb { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

@media (max-width: 520px) {
  .cc-panel { right: 0; bottom: 0; width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
  .cc-launcher { right: 16px; bottom: 16px; padding: .9rem; }
  .cc-launcher span { display: none; }
}
.cc-cta--alt { background: var(--azul); margin-right: .4rem; }
.cc-cta--alt svg { width: 15px; height: 15px; }

/* ============================== MOVIMIENTO (scroll) ============================== */
/* Imagen con parallax: se sobredimensiona y se traslada vía JS.
   Selector con especificidad de elemento (img.cc-px) para ganarle a
   reglas como ".city img / .split__media img" y evitar franjas/huecos. */
img.cc-px { position: absolute; top: -12%; left: 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }

@media (prefers-reduced-motion: no-preference) {
  /* Hero: zoom lento (ken burns) */
  .hero--full__bg img { animation: ccKenburns 22s ease-out both; }
  @keyframes ccKenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }

  /* Hero: entrada escalonada del contenido */
  .hero--full .wrap > * { animation: ccUp .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero--full .wrap > *:nth-child(1) { animation-delay: .05s; }
  .hero--full .wrap > *:nth-child(2) { animation-delay: .15s; }
  .hero--full .wrap > *:nth-child(3) { animation-delay: .25s; }
  .hero--full .wrap > *:nth-child(4) { animation-delay: .35s; }
  .hero--full .wrap > *:nth-child(5) { animation-delay: .45s; }
  @keyframes ccUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
}

/* Respeto a quien prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero--full__bg img { animation: none !important; }
}

/* ============================== INTRO — overlay fullscreen + scroll-scrub ============================== */
/* Overlay fijo cubriendo viewport completo. El sitio queda DETRÁS oculto.
   El JS captura wheel/touch events para avanzar el video; al llegar al final,
   fade-out + restaura scroll del body. */
.intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background: var(--carbon);
  color: var(--crema);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  transition: opacity .8s ease, transform .9s cubic-bezier(.7,0,.3,1);
}
/* Body bloquea el scroll mientras el intro está activo */
body.intro-open { overflow: hidden; }
/* Video: llena el viewport completo. Opacity 0 hasta que el JS dispare fade-in. */
.intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 0;
  background: var(--carbon);
  pointer-events: none;
}
.intro.is-ready .intro__video { opacity: 1; }
/* Exit animation: fade out + slide up un poquito */
.intro.is-exiting { opacity: 0; transform: translateY(-30px); pointer-events: none; }
/* Overlay oscuro sutil para mejorar legibilidad del texto */
.intro__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.intro__inner {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 680px;
}
/* Reveal staggered al cargar */
@media (prefers-reduced-motion: no-preference) {
  .intro__logo,
  .intro__eyebrow,
  .intro__tagline,
  .intro__hint {
    animation: introUp 1.1s cubic-bezier(.2,.7,.2,1) both;
  }
  .intro__logo    { animation-delay: .15s; }
  .intro__eyebrow { animation-delay: .55s; }
  .intro__tagline { animation-delay: .75s; }
  .intro__hint    { animation-delay: 1.4s; }
}
@keyframes introUp {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.intro__logo { height: clamp(40px, 7vw, 58px); width: auto; margin: 0 auto 1.4rem; }
.intro__eyebrow { color: rgba(226,221,207,.85); justify-content: center; }
.intro__eyebrow::before { background: rgba(226,221,207,.85); }
.intro__tagline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1;
  color: var(--crema);
  margin-top: .7rem;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.intro__tagline em { font-style: italic; }
/* Hint "desliza para entrar" con flecha abajo, animado */
.intro__hint {
  margin-top: 2.6rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(226,221,207,.85);
}
.intro__hint svg { width: 22px; height: 22px; animation: introHintBob 1.6s ease-in-out infinite; }
@keyframes introHintBob {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%      { transform: translateY(6px); opacity: 1; }
}
/* Cuando el scroll progresa, el texto se desvanece gradualmente
   (lo aplica el JS via custom property --intro-text-opacity, default 1) */
.intro__inner { opacity: var(--intro-text-opacity, 1); transition: opacity .15s linear; }
/* Cuando ya viste el intro en esta sesión, se quita por completo */
html.intro-done .intro { display: none !important; }

/* ============================== PILARES (storytelling) ============================== */
.pillar { position: relative; min-height: 84vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.pillar__bg { position: absolute; inset: 0; z-index: 0; }
.pillar__bg img { width: 100%; height: 100%; object-fit: cover; }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(28,29,34,.85) 0%, rgba(28,29,34,.2) 55%, rgba(28,29,34,.45) 100%); }
.pillar .wrap { position: relative; z-index: 2; width: 100%; padding-block: clamp(48px, 8vw, 120px); }
.pillar__num { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 1rem; }
.pillar__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 9vw, 7rem); line-height: .92; color: #fff; letter-spacing: -.02em; }
.pillar__title em { font-style: italic; }
.pillar__text { max-width: 46ch; color: rgba(255,255,255,.86); margin-top: 1.2rem; font-size: clamp(1rem, 1.4vw, 1.25rem); }

/* ===================== PILARES COMPACTOS (x/x/x) ===================== */
.pillars3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.pill3 { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4/5; display: block; }
.pill3__media { position: absolute; inset: 0; }
.pill3__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms cubic-bezier(.2,.6,.2,1); }
.pill3:hover .pill3__media img { transform: scale(1.05); }
.pill3::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,29,34,.85) 0%, rgba(28,29,34,.12) 60%); }
.pill3__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1rem, 2vw, 1.7rem); color: #fff; }
.pill3__num { font-family: var(--serif); font-size: 1.05rem; opacity: .85; display: block; margin-bottom: .35rem; }
.pill3__cap h3 { color: #fff; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.05; }
.pill3__cap p { font-size: .85rem; color: rgba(255,255,255,.82); margin-top: .35rem; }
@media (max-width: 720px) { .pillars3 { grid-template-columns: 1fr; } .pill3 { aspect-ratio: 16/9; } }

/* ===================== HERO VIDEO DE FONDO ===================== */
.hero--full__poster, .hero--full__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--full__video { z-index: 1; opacity: 0; transition: opacity 1s ease; }
.hero--full__video.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero--full__video { display: none; } }

/* ============================== PÁGINAS LEGALES ============================== */
.legal { max-width: 800px; margin-inline: auto; padding: clamp(48px, 7vw, 96px) var(--gutter); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; }
.legal .updated { color: var(--tinta-suave); font-size: .9rem; margin: .8rem 0 2.4rem; }
.legal h2 { font-family: var(--sans); font-weight: 600; font-size: 1.18rem; color: var(--carbon); margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: var(--tinta); margin-bottom: .85rem; line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.legal a { color: var(--azul); text-decoration: underline; }
.legal .lead { font-size: 1.05rem; }

/* ===================== PROPIETARIOS (rediseño visual) ===================== */
/* Banda de credibilidad */
.statband {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  text-align: center;
  padding: clamp(8px, 1.2vw, 14px) clamp(12px, 2vw, 24px);
  border-block: 1px solid var(--crema-borde);
  background: transparent;
}
.statband .stat {
  padding: 6px clamp(12px, 2vw, 24px);
  border-left: 1px solid var(--crema-borde);
}
.statband .stat:first-child { border-left: 0; }
.statband .stat b {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  color: var(--carbon);
  display: block;
  line-height: 1;
  letter-spacing: -.01em;
}
.statband .stat span {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--tinta-suave);
  margin-top: .7rem;
  display: block;
}
@media (max-width: 780px) {
  .statband { grid-template-columns: repeat(2, 1fr); padding: 18px 8px; }
  .statband .stat { border-left: 0; padding: 14px 10px; }
  .statband .stat:nth-child(odd)  { border-right: 1px solid var(--crema-borde); }
  .statband .stat:nth-child(n+3)  { border-top: 1px solid var(--crema-borde); }
}

/* Tarjetas con foto (beneficios / servicios) */
.featx-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); }
.featx-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.featx { background: var(--blanco); border: 1px solid var(--crema-borde); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t); }
.featx:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.featx__img { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--carbon); }
.featx__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.6,.2,1); }
.featx:hover .featx__img img { transform: scale(1.06); }
.featx__ic { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 11px; background: rgba(251,250,246,.94); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.featx__ic svg { width: 22px; height: 22px; color: var(--azul); }
.featx__b { padding: 1.1rem 1.2rem 1.4rem; }
.featx__b h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; color: var(--carbon); margin-bottom: .4rem; }
.featx__b p { font-size: .92rem; color: var(--tinta-suave); }
@media (max-width: 980px) { .featx-grid, .featx-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .featx-grid, .featx-grid.cols-3 { grid-template-columns: 1fr; } }

/* Testimonio */
.testi { background: var(--carbon); color: var(--crema); text-align: center; position: relative; overflow: hidden; }
.testi .eyebrow { color: rgba(226,221,207,.85); justify-content: center; }
.testi .eyebrow::before { background: rgba(226,221,207,.85); }
.testi__stars { color: #e8c66b; letter-spacing: 4px; font-size: 1.15rem; margin-top: 1.2rem; }
.testi__quote { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.25; max-width: 24ch; margin: 1.1rem auto 1.4rem; color: var(--crema); }
.testi__quote em { font-style: italic; }
.testi__who { font-size: .8rem; color: rgba(226,221,207,.7); text-transform: uppercase; letter-spacing: .14em; }
/* Carousel: una reseña a la vez con fade.
   Usamos CSS Grid: todos los slides en la MISMA celda (grid-area: 1/1) — así
   el contenedor crece al alto del slide más largo y nunca se encima con
   las flechas, sin tener que adivinar min-height. */
.testi__slider { display: grid; }
.testi__slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}
.testi__slide.is-active { opacity: 1; visibility: visible; }
/* Navegación: flechas + contador */
.testi__nav {
  display: inline-flex; align-items: center; gap: 1.2rem;
  margin-top: 1.6rem;
}
.testi__btn {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(226,221,207,.35);
  background: transparent; color: var(--crema);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
}
.testi__btn svg { width: 18px; height: 18px; }
.testi__btn:hover { background: var(--crema); color: var(--carbon); border-color: var(--crema); transform: translateY(-1px); }
.testi__count {
  font-size: .8rem; color: rgba(226,221,207,.7);
  text-transform: uppercase; letter-spacing: .18em;
  font-variant-numeric: tabular-nums;
}

/* =========================================================================
   AJUSTES SOLO MOBILE (estilo editorial Soho-style)
   Hero full-screen vertical · íconos más chicos · spacing compacto
   ========================================================================= */
@media (max-width: 720px) {
  /* Hero móvil recortado: deja ver la siguiente sección al cargar */
  .hero--full {
    min-height: 62vh;
    min-height: 62svh; /* iOS Safari aware */
  }
  .hero--full__bg,
  .hero--full__video {
    height: 100%;
  }
  .hero--full__bg img,
  .hero--full__video video {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  /* Tipografía hero más contenida */
  .hero--full__title { font-size: clamp(2.6rem, 11vw, 4rem); }
  .hero--full__lead { font-size: 1rem; max-width: 32ch; }

  /* Stats del hero: una sola línea, más compactos */
  .hero--full__stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
  .hero--full__stats .stat b { font-size: 1.6rem; }
  .hero--full__stats .stat span { font-size: .62rem; letter-spacing: .15em; }

  /* Íconos editoriales más chicos para ver más en una sola pantalla */
  .value .ic { width: 40px; height: 40px; border-radius: 11px; margin-bottom: .7rem; }
  .value .ic svg { width: 20px; height: 20px; }
  .value h3 { font-size: 1.08rem; }
  /* En móvil ocultamos las descripciones SOLO en "Qué hacemos" de propietarios
     (donde la lista es larga). En #nosotros del home las mantenemos. */
  #que-hacemos.values-band .value p { display: none; }

  /* === Sección de contacto MUCHO más compacta en móvil === */
  #contacto.section { padding-block: 2rem; }
  .contact-info h2 { font-size: 1.55rem; line-height: 1.15; }
  .contact-info p.muted { font-size: .9rem; margin-top: .6rem !important; }
  .contact-methods { gap: .5rem; margin-top: 1.2rem; }
  .cmethod { padding: .6rem .8rem; gap: .7rem; }
  .cmethod .ic { width: 34px; height: 34px; border-radius: 9px; }
  .cmethod .ic svg { width: 16px; height: 16px; }
  .cmethod b { font-size: .88rem; }
  .cmethod span { font-size: .78rem; }
  .form-card { padding: .85rem; border-radius: 10px; }
  .form-card h3 { font-size: .98rem; margin-bottom: .6rem; }
  .form-card label { font-size: .72rem; margin-bottom: .2rem; }
  .form-card .field-row { gap: .5rem; }
  .form-card .field-group { margin-bottom: .55rem; }
  .form-card input,
  .form-card select,
  .form-card textarea { padding: .5rem .7rem; font-size: .88rem; border-radius: 6px; }
  .form-card textarea { min-height: 64px; }
  .form-card .btn { padding: .65rem 1rem; font-size: .8rem; }
  .form-card .form-note { font-size: .72rem; margin-top: .4rem; }

  .step__ic { width: 44px; height: 44px; border-radius: 12px; }
  .step__ic svg { width: 20px; height: 20px; }

  /* Spacing de sección más compacto (menos padding-block) */
  .section { padding-block: clamp(44px, 9vw, 64px); }
  .section--tight { padding-block: clamp(32px, 6vw, 48px); }

  /* Sec-head más apretado en mobile */
  .sec-head { gap: .8rem; margin-bottom: clamp(20px, 4vw, 32px); }
  .sec-head h2 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .sec-head p { font-size: .92rem; }

  /* Tarjetas: 2 columnas estilo Airbnb compacto */
  .cards { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
  .cities { gap: 12px; }
  /* Card más compacta */
  .card__media { aspect-ratio: 1 / 1; border-radius: 10px; }
  .card__body { padding: .55rem 0 0; gap: .15rem; }
  .card__loc { font-size: .58rem; letter-spacing: .1em; }
  .card__loc svg { width: 11px; height: 11px; }
  .card__title { font-size: .92rem; line-height: 1.2; }
  .card__specs { gap: .4rem; }
  .card__specs .spec { font-size: .72rem; gap: .2rem; }
  .card__specs .spec svg { width: 12px; height: 12px; }
  .card__price { font-size: .82rem; margin-top: .25rem; }
  .card__tag { font-size: .58rem; padding: .25rem .5rem; }
  .card__tag svg { width: 10px; height: 10px; }
  .card__fav { width: 30px; height: 30px; }
  .card__fav svg { width: 15px; height: 15px; }

  /* Quitar SOLO los chips de CIUDAD en la home (el select+search es suficiente).
     #catChips (transporte/experiencias) sí se mantienen para filtrar categorías. */
  #cityChips { display: none; }

  /* Chips de categoría → dropdown en móvil para ahorrar espacio */
  #catChips .chip { display: none; }
  #catChips .chip-select { display: block; width: 100%; }

  /* Botones del hero más compactos */
  .hero--full__actions { gap: .6rem; }
  .hero--full__actions .btn--lg { padding: .85rem 1.1rem; font-size: .72rem; }

  /* CIUDADES: cuadritos pequeños en 3 columnas (estilo destino-pill) */
  .cities { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .city { aspect-ratio: 1 / 1; border-radius: 8px; }
  .city__cap { padding: .55rem .65rem; }
  .city__cap h3 { font-size: .82rem; line-height: 1.1; }
  .city__cap span { font-size: .58rem; }
  .city__cap .arrow svg { width: 11px; height: 11px; }
  /* Mapa oculto en móvil (no se ve appealing a este tamaño) */
  .cities .map-mx--inline { display: none; }

  /* NOSOTROS (values-band): texto y padding más compactos */
  .values { gap: 1rem; }
  .value h3 { font-size: 1rem; margin-bottom: .25rem; }
  .value p { font-size: .85rem; }
  .values-band .eyebrow + h2,
  .values-band h2 { font-size: clamp(1.6rem, 6.5vw, 2.1rem) !important; }

  /* SPLIT BANDS (Transporte / Experiencias): imágenes y padding más chicos */
  .split__media { min-height: 240px; }
  .split__body { padding: 1.8rem 1.2rem; }
  .split__body h2 { font-size: clamp(1.7rem, 6.8vw, 2.3rem); }
  .split__body p { font-size: .92rem; }

  /* CTA blocks: más contenidos */
  .owner-cta { padding: 1.6rem 1.2rem; }
  .owner-cta h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .owner-cta p { font-size: .92rem; }

  /* Pillars (Imagina/Reserva/Habita) — más compacto */
  .pill3 { aspect-ratio: 21/9; }
  .pill3 h3 { font-size: 1.1rem; }
  .pill3 p { font-size: .85rem; }

  /* Footer columnas en una sola */
  .footer-top { grid-template-columns: 1fr !important; gap: 1.4rem; }
  .site-footer { padding-block: 2.4rem 1.6rem; }

  /* CONCIERGE button más chico en móvil */
  .cc-launcher { padding: .65rem .95rem; }
  .cc-launcher img { width: 22px; height: 22px; }
  .cc-launcher span { font-size: .7rem; }

  /* PASOS "Cómo funciona" (Nuevos clientes): en móvil, layout horizontal compacto.
     Cada paso = thumbnail chica + texto al lado, los 3 caben en un solo frame. */
  .steps { gap: .65rem; }
  .step {
    display: grid;
    grid-template-columns: 110px 1fr;
    align-items: stretch;
    padding: 0;
  }
  .step:hover { transform: none; }
  .step__media {
    aspect-ratio: 1 / 1;
    border-radius: 8px 0 0 8px;
    width: 110px;
    height: 100%;
  }
  .step__media img { object-fit: cover; }
  .step__chip {
    top: 6px; left: 6px;
    font-size: .58rem;
    padding: .15rem .4rem;
  }
  .step__body { padding: .7rem .85rem .8rem; }
  .step__tag { font-size: .58rem; letter-spacing: .15em; }
  .step h3 { font-size: .92rem; margin: .25rem 0 .25rem; line-height: 1.18; }
  .step p { font-size: .75rem; line-height: 1.4; }
}

/* =========================================================================
   BLOG — Tipografía editorial para artículos individuales
   ========================================================================= */
/* Hero del post: un poco más bajo que el hero principal */
.hero--post { min-height: 62vh; }
@media (max-width: 720px) {
  .hero--post { min-height: 56vh; min-height: 56svh; }
}
/* Título del post: mucho más chico que el del hero principal —
   los títulos de blog son largos y desbordaban con clamp(3rem, 8vw, 6.4rem)
   encimándose con el header. */
.hero--post .hero--full__title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
  max-width: 22ch;
}
.hero--post .hero--full__lead {
  font-size: clamp(.98rem, 1.3vw, 1.18rem);
  max-width: 56ch;
  margin-top: 1rem;
}
.post-meta {
  display: inline-flex; gap: .6rem; align-items: center;
  margin-top: 1.4rem;
  font-size: .82rem; color: rgba(255,255,255,.78);
  text-transform: uppercase; letter-spacing: .14em;
}

/* Cuerpo del artículo: ancho legible + tipografía editorial */
.blog-article { padding-block: clamp(48px, 7vw, 96px); }
.blog-article__wrap { max-width: 760px; }
.blog-article__wrap p.lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.45;
  color: var(--carbon);
  margin-bottom: 1.8rem;
}
.blog-article__wrap h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: var(--carbon);
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}
.blog-article__wrap h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--carbon);
  margin-top: 1.8rem;
  margin-bottom: .6rem;
  letter-spacing: 0;
}
.blog-article__wrap p {
  font-family: var(--sans);
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--tinta);
  margin-bottom: 1.1rem;
}
.blog-article__wrap p strong { color: var(--carbon); font-weight: 600; }
.blog-article__wrap p em { font-family: var(--serif); font-style: italic; }
.blog-article__wrap ul,
.blog-article__wrap ol {
  margin: 0 0 1.3rem 1.4rem;
  padding: 0;
  color: var(--tinta);
  font-size: 1.03rem;
  line-height: 1.7;
}
.blog-article__wrap li { margin-bottom: .35rem; }

/* Tabla editorial */
.blog-article__wrap .table-wrap {
  margin: 1.4rem 0 1.8rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  font-family: var(--sans);
}
.blog-table th,
.blog-table td {
  text-align: left;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--crema-borde);
  vertical-align: top;
}
.blog-table thead th {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .72rem;
  color: var(--tinta-suave);
  background: var(--crema-suave);
}
.blog-table tbody th {
  font-weight: 600;
  font-size: .95rem;
  color: var(--carbon);
  background: rgba(226,221,207,.18);
  text-align: left;
  white-space: nowrap;
}
.blog-table tbody tr:hover { background: rgba(226,221,207,.25); }

/* CTA dentro del artículo */
.blog-article__wrap .blog-cta {
  margin: 2.4rem 0;
  padding: 1.8rem;
  background: var(--crema-suave);
  border-left: 3px solid var(--azul);
  border-radius: 4px;
}
.blog-article__wrap .blog-cta p {
  margin-bottom: 1.2rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--carbon);
}
.blog-article__wrap .blog-cta .btn { margin-top: .2rem; }

/* Mobile: tipografía un poco más chica + padding del table-wrap */
@media (max-width: 720px) {
  .blog-article { padding-block: 2.4rem; }
  .blog-article__wrap p.lead { font-size: 1.1rem; }
  .blog-article__wrap h2 { font-size: 1.5rem; margin-top: 2rem; }
  .blog-article__wrap h3 { font-size: 1rem; }
  .blog-article__wrap p,
  .blog-article__wrap ul,
  .blog-article__wrap ol { font-size: .98rem; line-height: 1.65; }
  .blog-article__wrap .blog-cta { padding: 1.2rem; margin: 1.8rem 0; }
  .blog-article__wrap .blog-cta p { font-size: 1.02rem; }
  /* Botón CTA del blog full-width en móvil, con texto que puede romperse
     si es largo (p. ej. "Ver propiedades en Guadalajara y Puerto Vallarta") */
  .blog-article__wrap .blog-cta .btn {
    display: block;
    width: 100%;
    padding: .85rem 1rem;
    font-size: .78rem;
    white-space: normal;
    line-height: 1.3;
  }
  .blog-table { font-size: .82rem; }
  .blog-table th, .blog-table td { padding: .55rem .65rem; }
}

/* =========================================================================
   BLOG — Badge de "pinned" (estilo Instagram)
   ========================================================================= */
.card__pin {
  position: absolute;
  top: .65rem;
  right: .65rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--azul);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(34, 35, 42, .25), 0 1px 3px rgba(34, 35, 42, .12);
  z-index: 3;
  pointer-events: none;
}
.card__pin svg { width: 16px; height: 16px; }
/* Sutil resalto en la card pinned */
.card--pinned { position: relative; }
.card--pinned::before {
  content: "DESTACADO";
  position: absolute;
  top: -.5rem; left: 1rem;
  background: var(--azul);
  color: #fff;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .14em;
  padding: .25rem .6rem;
  border-radius: 999px;
  z-index: 4;
  box-shadow: 0 2px 8px rgba(44, 61, 220, .35);
}
@media (max-width: 720px) {
  .card__pin { width: 28px; height: 28px; top: .45rem; right: .45rem; }
  .card__pin svg { width: 14px; height: 14px; }
  .card--pinned::before { font-size: .54rem; padding: .2rem .5rem; top: -.4rem; left: .7rem; }
}

/* =========================================================================
   HERO scroll-scrub para páginas internas (transporte, experiencias, etc.)
   El hero ocupa 240vh; adentro un .hero--full__sticky se queda fijo al
   viewport mientras se scrollea por la sección. El JS (hero-scrub.js)
   mapea el progreso (0→1) a video.currentTime con lerp.
   ========================================================================= */
.hero--full--scrub {
  height: 240vh;
  min-height: 240vh;
  margin-top: 0; /* sin offset — scroll=0 corresponde a video=0 */
  background: var(--carbon);
  position: relative;
  /* Override de la base .hero--full (flex + overflow:hidden). Sticky requiere
     que NINGÚN ancestor tenga overflow hidden/auto/scroll. */
  display: block;
  overflow: visible;
  align-items: initial;
}
.hero--full--scrub .hero--full__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero--full--scrub .hero--full__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero--full__video-scrub {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease;
  background: var(--carbon);
}
.hero--full--scrub.hero-scrub-ready .hero--full__video-scrub { opacity: 1; }
.hero--full--scrub .hero--full__bg::after {
  /* overlay oscuro para legibilidad del texto blanco */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(28,29,34,.78) 0%, rgba(28,29,34,.25) 42%, rgba(28,29,34,.30) 100%);
  pointer-events: none;
}
.hero--full--scrub .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(48px, 8vw, 110px);
  padding-top: 120px;
}
.hero--full--scrub .hero--full__scroll { z-index: 2; }

/* Móvil: mantener altura 240vh para tener distancia de scroll suficiente,
   pero el sticky usa 100svh para evitar el bug de la URL bar de iOS. */
@media (max-width: 720px) {
  .hero--full--scrub { height: 240svh; min-height: 240svh; margin-top: 0; }
  .hero--full--scrub .hero--full__sticky { padding-top: 64px; align-items: flex-start; }
  .hero--full--scrub .wrap { padding-top: 92px; padding-bottom: 2rem; }
}
