/* Principia Living · Guía del huésped
   Sistema: blanco amplio, tinta carbón, y la paleta de ARHAUS (verde profundo y dorado)
   aplicada a las formas del monograma Principia. El logotipo de Principia conserva sus colores. */

:root {
  --tinta: #2E2A28;
  --tinta-2: #5E5955;
  --tinta-3: #7C7773;
  --tinta-hondo: #1D1A19;
  --linea: #E3E7E3;
  --niebla: #F3F5F2;
  --blanco: #FFFFFF;
  /* Paleta ARHAUS (arhaus.com.mx) */
  --verde: #1E382F;
  --verde-hondo: #152721;
  --verde-claro: #2C5245;
  --dorado: #C9A646;
  --dorado-hondo: #9C7F2C;
  --salvia: #B5C4B6;
  --alerta: #A23A2C;

  --font: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bar: 68px;
  --gutter: 20px;
  --max: 1160px;
  --radius: 18px;
  --big: 56px; /* esquina grande del monograma */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blanco);
  color: var(--tinta);
  font: 400 16.5px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--verde); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.shape { width: 14px; height: 14px; flex: none; }
.period { font-weight: 600; }

/* ---------- Barra superior ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 30;
  height: var(--bar);
  display: flex; align-items: center; gap: 24px;
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.scrolled .topbar { border-bottom-color: var(--linea); }
.topbar-logo { margin-right: auto; }
.logo-light { display: none; }

/* Lockup Principia + ARHAUS: alturas ópticas igualadas, separados por una línea fina */
.lockup { --lh: 23px; display: inline-flex; align-items: center; gap: 14px; }
.lockup img { display: block; height: var(--lh); width: auto; }
.lockup-arhaus img { height: calc(var(--lh) * 1.12); margin-top: calc(var(--lh) * -.08); }
.lockup-rule { flex: none; width: 1px; height: calc(var(--lh) * 1.25); background: var(--linea); background: color-mix(in srgb, var(--tinta) 22%, transparent); }
.over-hero .topbar .lockup-rule { background: rgba(255, 255, 255, .5); }
.lockup-sm { --lh: 20px; gap: 12px; }
.lockup-lg { --lh: 26px; gap: 18px; }
.lockup .logo-light, .over-hero .topbar .logo-dark { display: none; }
.over-hero .topbar .logo-light { display: block; }
.topnav { display: none; gap: 4px; }
.topnav a {
  position: relative; padding: 8px 12px; font-size: 14.5px; color: var(--tinta-2);
  border-radius: 999px; transition: color .2s;
}
.topnav a:hover { color: var(--tinta); }
.topnav a[aria-current] { color: var(--tinta); }
.topnav a[aria-current]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  border-radius: 2px; background: var(--accent);
}
.menu-btn, .icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: transparent; color: var(--tinta);
}
.menu-btn:hover, .icon-btn:hover { background: var(--niebla); }

/* Sobre el hero: barra transparente y logo blanco */
.over-hero .topbar { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
.over-hero .logo-dark { display: none; }
.over-hero .logo-light { display: block; }
.over-hero .topnav a, .over-hero .menu-btn { color: rgba(255, 255, 255, .9); }
.over-hero .topnav a:hover { color: #fff; }
.over-hero .menu-btn:hover { background: rgba(255, 255, 255, .14); }
.over-hero .topbar :focus-visible { outline-color: #fff; }

/* ---------- Estructura ---------- */
main { outline: none; padding-top: var(--bar); padding-bottom: 96px; }
body[data-route="inicio"] main { padding-top: 0; }
main > * { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
main > .hero { width: 100%; }

.block { margin-top: 56px; }
.block-title { font-size: 22px; font-weight: 400; letter-spacing: -.01em; margin-bottom: 18px; }
.block-title.spaced { margin-top: 40px; }
.fine { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--tinta-3); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.split { display: grid; gap: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
}
.btn .ic { width: 20px; height: 20px; }
.btn-primary { background: var(--verde); color: #fff; }
.btn-primary:hover { background: var(--verde-hondo); }
.btn-ghost { background: transparent; border-color: var(--linea); color: var(--tinta); }
.btn-ghost:hover { border-color: var(--tinta-3); }
.btn-sos { background: var(--alerta); color: #fff; }
.btn-sos:hover { background: #822D22; }
.text-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 0; border: 0; background: none;
  font-size: 14.5px; font-weight: 500; color: var(--verde);
}
.text-btn .ic { width: 18px; height: 18px; }
.text-btn:hover { color: var(--verde-hondo); text-decoration: underline; text-underline-offset: 4px; }
.pending {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--tinta-3); font-size: 15px; line-height: 1.4;
}
/* Estado de espera: un punto hueco, como el punto del monograma esperando su color */
.pending::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--dorado);
}
.waiting { padding: 4px 0 8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  height: 88svh; min-height: 520px; max-height: 860px;
  background: var(--verde-hondo); color: #fff;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 60%;
  animation: settle 1.8s var(--ease) both;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 39, 33, .45) 0%, rgba(21, 39, 33, 0) 22%),
    linear-gradient(90deg, rgba(21, 39, 33, .4) 0%, rgba(21, 39, 33, 0) 60%),
    linear-gradient(0deg, rgba(21, 39, 33, .78) 0%, rgba(21, 39, 33, .25) 45%, rgba(21, 39, 33, 0) 65%);
}
.hero-copy {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 112px;
  width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto;
  animation: rise 1s .35s var(--ease) both;
}
.hero-hello { font-size: 17px; color: rgba(255, 255, 255, .88); margin-bottom: 14px; }
.hero h1 {
  max-width: 12ch;
  font-size: clamp(40px, 8.4vw, 88px); font-weight: 300;
  line-height: 1.02; letter-spacing: -.035em;
}
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Tu estancia (panel sobre el hero) ---------- */
.stay {
  position: relative; z-index: 2; margin-top: -72px;
  background: var(--blanco); border-radius: var(--radius);
  box-shadow: 0 24px 60px -28px rgba(21, 39, 33, .38), 0 2px 6px rgba(21, 39, 33, .05);
  padding: 26px 22px 10px;
}
.stay-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 8px; }
.stay-head h2 { font-size: 22px; font-weight: 400; }
.stay-head p { font-size: 14px; color: var(--tinta-3); }
.stay-grid { display: grid; }
.stay-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--linea); }
.stay-item:first-child { border-top: 0; }
.stay-item > .ic { color: var(--verde); margin-top: 2px; }
.stay-item > div { flex: 1; min-width: 0; }
.stay-item h3 { font-size: 14px; font-weight: 400; color: var(--tinta-3); margin-bottom: 4px; }
.stay-value { font-size: 16.5px; }
.stay-hours { display: flex; gap: 28px; }
.stay-hours small { display: block; font-size: 13px; color: var(--tinta-3); }
.stay-hours strong { font-size: 22px; font-weight: 400; }
.stay-item.is-waiting > .ic { color: var(--tinta-3); }
.stay-host { flex-wrap: wrap; }
.stay-host > div { flex-basis: calc(100% - 36px); }
.stay-host .btn { width: 100%; min-height: 46px; font-size: 15px; }
.stay-host.is-waiting > div { flex-basis: auto; }

/* ---------- Guía: mosaico del monograma ---------- */
.guide { margin-top: 64px; }
.guide-head { display: grid; gap: 8px; margin-bottom: 26px; }
.guide-head h2 { font-size: clamp(36px, 5.4vw, 56px); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; }
.guide-head p { color: var(--tinta-2); max-width: 44ch; }
.mosaic { display: grid; gap: 12px; }
.mono { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 18px; border-radius: 6px; color: #fff;
  transition: transform .4s var(--ease);
}
.tile:hover { transform: translateY(-3px); }
.tile:active { transform: scale(.985); }
.tile-ic { width: 30px; height: 30px; stroke-width: 1.35; }
.tile strong { display: block; font-size: 22px; font-weight: 400; letter-spacing: -.015em; line-height: 1.15; }
.tile small { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.4; }
.tile-go { width: 24px; height: 24px; flex: none; }

.tile-photo { grid-column: 1 / -1; aspect-ratio: 4 / 3; justify-content: flex-end; border-top-left-radius: var(--big); }
.tile-photo img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; transition: transform .9s var(--ease);
}
.tile-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(21, 39, 33, .72) 0%, rgba(21, 39, 33, 0) 58%); }
.tile-photo:hover img { transform: scale(1.04); }
.tile-photo .tile-copy { padding-right: 36px; }
.tile-photo .tile-go { position: absolute; right: 18px; bottom: 20px; }
.tile-photo small { color: rgba(255, 255, 255, .9); }

.mono .tile { aspect-ratio: 1; }
.mono small { display: none; }
.t-comer { background: var(--dorado); color: var(--verde-hondo); border-top-left-radius: var(--big); }
.t-explorar { background: var(--verde-claro); color: #fff; border-radius: 6px 999px 999px 6px; padding-right: 26%; }
.t-transporte { background: var(--verde); }
.t-transporte small { color: rgba(255, 255, 255, .88); }
.t-cerca {
  width: 86%; justify-self: center; align-self: center; border-radius: 50%;
  align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 12px;
  background: var(--salvia); color: var(--verde-hondo);
}
.t-ayuda {
  grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px;
  padding: 20px 22px; background: var(--niebla); color: var(--tinta); border-bottom-left-radius: 40px;
}
.t-ayuda .tile-ic { color: var(--verde); }
.t-ayuda .tile-copy { flex: 1; }
.t-ayuda small { color: var(--tinta-2); }
.t-ayuda .tile-go { color: var(--tinta-3); transition: transform .3s var(--ease); }
.t-ayuda:hover .tile-go { transform: translateX(4px); }

/* ---------- Bloque destacado ---------- */
.feature { display: grid; gap: 24px; margin-top: 64px; }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%; border-radius: var(--big) 6px 6px 6px; }
.feature h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 300; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 14px; }
.feature p { color: var(--tinta-2); max-width: 46ch; }

/* ---------- Encabezado de sección ---------- */
main { overflow-x: clip; }
.page-head { position: relative; padding-top: 28px; }
.emblem { position: absolute; top: 16px; right: -30px; width: 104px; height: 104px; }
.back { display: inline-flex; align-items: center; gap: 2px; margin-left: -6px; padding: 6px 6px; font-size: 14px; color: var(--tinta-3); }
.back .ic { width: 18px; height: 18px; }
.back:hover { color: var(--tinta); }
.page-head h1 { margin-top: 20px; font-size: clamp(38px, 6vw, 68px); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; }
.lead { margin-top: 16px; max-width: 54ch; font-size: 18px; line-height: 1.55; color: var(--tinta-2); }

/* ---------- Lista de lugares ---------- */
.places-layout { margin-top: 28px; }
.toolbar {
  position: sticky; top: var(--bar); z-index: 10;
  padding: 12px 0; background: rgba(255, 255, 255, .97);
}
.search {
  display: flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 18px; border-radius: 999px;
  background: var(--niebla); color: var(--tinta-3);
  border: 1px solid transparent; transition: border-color .2s, background .2s;
}
.search:focus-within { border-color: var(--verde); background: var(--blanco); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; color: var(--tinta); }
.search input::placeholder { color: var(--tinta-3); }
.chips {
  display: flex; gap: 8px; margin: 12px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter);
  overflow-x: auto; scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--linea); background: var(--blanco);
  font-size: 14px; color: var(--tinta-2); transition: all .2s;
}
.chip .ic { width: 16px; height: 16px; }
.chip-n { font-size: 12.5px; color: var(--tinta-3); }
.chip:hover { border-color: var(--tinta-3); color: var(--tinta); }
.chip[aria-pressed="true"] { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.chip[aria-pressed="true"] .chip-n { color: rgba(255, 255, 255, .72); }
.result-count { margin-top: 10px; font-size: 14px; color: var(--tinta-3); }

.place-list { display: grid; border-top: 1px solid var(--linea); }
.place {
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  padding: 24px 0; border-bottom: 1px solid var(--linea);
}
.place-tag { font-size: 13.5px; color: var(--tinta-3); }
.place h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; margin-top: 2px; transition: color .2s; }
.place:hover h3 { color: var(--verde); }
.place-desc { margin-top: 6px; font-size: 15.5px; line-height: 1.55; color: var(--tinta-2); max-width: 60ch; }
.place-actions { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px; }
.place-group .place-tag { display: none; }
.group-title {
  display: flex; align-items: baseline; padding-top: 48px; margin-bottom: 14px;
  font-size: clamp(26px, 3.4vw, 34px); font-weight: 300; letter-spacing: -.025em; line-height: 1.1;
}
.group-title span:not(.period) { margin-left: 14px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--tinta-3); }
.place-group:first-child .group-title { padding-top: 24px; }
.fav {
  width: 44px; height: 44px; display: grid; place-items: center; margin-top: -6px;
  border: 0; border-radius: 999px; background: transparent; color: var(--tinta-3);
  transition: background .2s, color .2s;
}
.fav:hover { background: var(--niebla); color: var(--dorado-hondo); }
.fav.on { color: var(--dorado-hondo); }
.fav.on .ic { fill: var(--dorado-hondo); animation: pop .35s var(--ease); }

/* Lugar con fotografía: foto arriba en móvil, a la izquierda en pantallas grandes */
.place.has-media { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
.place-media { position: relative; overflow: hidden; border-radius: 14px; background: var(--niebla); aspect-ratio: 4 / 3; }
.place-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.place.has-media:hover .place-media img { transform: scale(1.03); }
.place.has-media .fav {
  position: absolute; top: 12px; right: 12px; margin: 0;
  background: rgba(255, 255, 255, .92); color: var(--tinta);
  box-shadow: 0 2px 10px rgba(21, 39, 33, .18);
}
.place.has-media .fav:hover { background: #fff; color: var(--dorado-hondo); }
.place.has-media .fav.on { color: var(--dorado-hondo); }
.place-credit { margin-top: 10px; font-size: 12px; line-height: 1.45; color: var(--tinta-3); }
.place-credit a { text-decoration: underline; text-decoration-color: var(--linea); text-underline-offset: 2px; }
.place-credit a:hover { color: var(--tinta); }
@keyframes pop { 40% { transform: scale(1.25); } }
.empty { padding: 48px 0; text-align: left; }
.empty p { color: var(--tinta-2); max-width: 44ch; margin-bottom: 18px; }

/* ---------- Tu estancia (página) ---------- */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px;
  margin-top: 36px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--niebla); }
.gallery figcaption { margin-top: 10px; font-size: 14px; color: var(--tinta-2); }

.facts { margin: 0; border-top: 1px solid var(--linea); }
.fact {
  display: grid; grid-template-columns: 22px 1fr; column-gap: 16px; row-gap: 2px;
  padding: 16px 0; border-bottom: 1px solid var(--linea);
}
.fact .ic { grid-row: span 2; color: var(--verde); margin-top: 2px; }
.fact dt { font-size: 14px; color: var(--tinta-3); }
.fact dd { margin: 0; font-size: 17px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 12px; padding: 10px 0; }
.checklist .ic { color: var(--verde-claro); width: 20px; height: 20px; margin-top: 2px; }

.amenities {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--linea); border: 1px solid var(--linea); border-radius: var(--radius); overflow: hidden;
}
.amenities li {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 8px; background: var(--blanco); text-align: center;
  font-size: 14px; line-height: 1.3; color: var(--tinta-2);
}
.amenities .ic { width: 28px; height: 28px; color: var(--verde); stroke-width: 1.4; }

.location { display: grid; gap: 24px; }
.location img { width: 100%; border-radius: var(--radius); border: 1px solid var(--linea); }
.address { font-size: 18px; max-width: 28ch; }

/* ---------- Transporte y cerca ---------- */
.route-grid { display: grid; border-top: 1px solid var(--linea); }
.route {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  padding: 22px 4px; border-bottom: 1px solid var(--linea);
  transition: padding .35s var(--ease);
}
.route > .ic { color: var(--verde); }
.route span { font-size: clamp(22px, 3vw, 28px); font-weight: 300; letter-spacing: -.02em; line-height: 1.2; transition: color .2s; }
.route small { font-size: 14px; font-weight: 500; color: var(--verde); }
.route:hover { padding-left: 14px; }
.route:hover span { color: var(--verde); }

.rows { border-top: 1px solid var(--linea); }
.row {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 20px 0; border-bottom: 1px solid var(--linea);
}
.row > .ic { width: 44px; height: 44px; padding: 11px; border-radius: 999px; background: var(--niebla); color: var(--verde); }
.row h3 { font-size: 18px; font-weight: 500; margin-top: 2px; }
.row p { margin-top: 4px; color: var(--tinta-2); font-size: 15.5px; max-width: 56ch; }
.rows.compact .row { align-items: center; padding: 12px 0; }
.rows.compact .row h3 { font-size: 16.5px; font-weight: 400; margin: 0; }
.link-row { grid-template-columns: 44px 1fr auto; transition: background .2s; }
.row-cta { font-size: 14px; font-weight: 500; color: var(--verde); }
.link-row:hover h3 { color: var(--verde); }

.map-figure { margin: 24px 0 0; }
.map-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--linea); }
.map-figure figcaption { margin-top: 10px; font-size: 13.5px; color: var(--tinta-3); }

.service-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--linea); border: 1px solid var(--linea); border-radius: var(--radius); overflow: hidden;
}
.service {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  min-width: 0; min-height: 64px; padding: 16px; background: var(--blanco);
  font-size: 15px; line-height: 1.3; transition: background .2s;
}
.service .ic { color: var(--verde); }
.service:hover { background: var(--niebla); }

/* ---------- Ayuda ---------- */
.host-card, .sos { margin-top: 36px; padding: 30px 26px; border-radius: var(--radius); }
.host-card { background: var(--verde); color: #fff; }
.host-card h2, .sos h2 { font-size: 26px; font-weight: 400; letter-spacing: -.015em; }
.host-card p { margin: 10px 0 22px; color: rgba(255, 255, 255, .82); max-width: 40ch; }
.host-card .btn-primary { background: #fff; color: var(--verde); }
.host-card .btn-primary:hover { background: #fff; }
.host-card :focus-visible { outline-color: #fff; }
.host-card .host-note { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .86); }
.host-card .host-note::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--dorado); }
.sos { border: 1px solid var(--linea); margin-top: 12px; }
.sos p { margin: 10px 0 22px; color: var(--tinta-2); max-width: 40ch; }

.faq { border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; font-size: 17px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--tinta-3); transition: transform .25s var(--ease); }
.faq details[open] summary .ic { transform: rotate(90deg); }
.faq details p { padding: 0 0 22px; color: var(--tinta-2); max-width: 62ch; }

.review { display: flex; gap: 18px; padding: 28px 0 0; border-top: 1px solid var(--linea); }
.review > .ic { width: 28px; height: 28px; color: var(--dorado); fill: var(--dorado); }
.review .block-title { margin-bottom: 6px; }
.review p { color: var(--tinta-2); margin-bottom: 16px; }

/* ---------- Pie ---------- */
.footer {
  display: grid; gap: 24px; margin-top: 88px; padding: 36px 0 24px;
  border-top: 1px solid var(--linea); font-size: 14px; color: var(--tinta-3);
}
.footer-claim { display: grid; gap: 16px; margin-bottom: 12px; }
.footer-marks { display: flex; gap: 6px; }
.footer-marks .shape { width: 16px; height: 16px; }
.footer-claim p { max-width: 16ch; font-size: clamp(30px, 4.6vw, 48px); font-weight: 300; line-height: 1.1; letter-spacing: -.03em; color: var(--tinta); }
.footer-brand .lockup { margin-bottom: 14px; }
.footer-by { display: flex; align-items: center; gap: 12px; }
.footer-by img { width: 84px; height: auto; }
.footer-note { font-size: 12.5px; line-height: 1.5; max-width: 60ch; }

/* ---------- Navegación móvil ---------- */
.tabbar {
  position: fixed; inset: auto 0 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px max(6px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid var(--linea);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 0; font-size: 11.5px; color: var(--tinta-3);
}
.tabbar a[aria-current] { color: var(--verde); font-weight: 500; }
.tabbar a[aria-current] .ic { stroke-width: 2; }

.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(21, 39, 33, .45); }
.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 41;
  width: min(340px, 88vw); padding: 14px 20px 24px;
  background: var(--blanco); overflow-y: auto;
  animation: slide .3s var(--ease);
}
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer nav a {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 4px; border-bottom: 1px solid var(--linea); font-size: 17px;
}
.drawer nav a .ic { color: var(--tinta-3); }
.drawer nav a[aria-current] { color: var(--verde); }
.drawer nav a[aria-current] .ic { color: var(--verde); }

.toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 60;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px;
  background: var(--tinta); color: #fff; font-size: 14.5px;
  transition: opacity .25s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }


/* ---------- Instalar como app: hoja inferior ---------- */
.sheet-scrim { position: fixed; inset: 0; z-index: 64; background: rgba(21, 39, 33, .5); opacity: 0; transition: opacity .28s; }
.sheet {
  position: fixed; z-index: 65; left: 0; right: 0; bottom: 0;
  max-height: 92svh; overflow-y: auto;
  padding: 10px 22px max(22px, env(safe-area-inset-bottom));
  background: var(--blanco); border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(21, 39, 33, .35);
  transform: translateY(105%); transition: transform .32s var(--ease);
}
.sheet-open .sheet { transform: none; }
.sheet:focus { outline: none; }
.sheet-open .sheet-scrim { opacity: 1; }
.sheet-handle { display: block; width: 40px; height: 4px; margin: 0 auto 18px; border-radius: 4px; background: var(--linea); }
.sheet-x { position: absolute; top: 10px; right: 10px; color: var(--tinta-3); }
.sheet-head { display: flex; gap: 16px; align-items: center; padding-right: 32px; }
.sheet-head img { width: 64px; height: 64px; flex: none; border-radius: 16px; box-shadow: 0 2px 8px rgba(21, 39, 33, .14); }
.sheet-head h2 { font-size: 21px; font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
.sheet-head p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--tinta-2); }
.sheet-perks {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin: 20px 0; padding: 0; overflow: hidden;
  border: 1px solid var(--linea); border-radius: 14px; background: var(--linea);
}
.sheet-perks li {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 4px; background: var(--niebla); font-size: 12.5px; color: var(--tinta-2); text-align: center;
}
.sheet-perks .ic { width: 20px; height: 20px; color: var(--verde); }
.install-steps { list-style: none; counter-reset: paso; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.install-steps li { display: flex; align-items: center; gap: 14px; }
.step-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--niebla); color: var(--verde); }
.step-ic .ic { width: 20px; height: 20px; }
.btn-block { width: 100%; }
.btn-block + .btn-block, .install-steps + .btn-block { margin-top: 10px; }
.sheet-note { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #F7F1DE; color: var(--verde-hondo); font-size: 14.5px; line-height: 1.45; }
.install-steps.compact { margin: 16px 0 6px; font-size: 14px; color: var(--tinta-2); }
.sheet-later {
  display: block; width: 100%; margin-top: 6px; padding: 12px; border: 0; background: none;
  font-size: 15px; color: var(--tinta-3);
}
.sheet-later:hover { color: var(--tinta); }
.drawer-install {
  display: flex; align-items: center; gap: 16px; width: 100%; margin-top: 18px;
  padding: 14px 16px; border: 0; border-radius: 14px;
  background: var(--verde); color: #fff; font-size: 16px; font-weight: 500; text-align: left;
}
.drawer-install .ic { color: var(--dorado); }

/* ---------- Tableta y escritorio ---------- */
@media (min-width: 720px) {
  :root { --gutter: 40px; --bar: 76px; }
  .topbar-logo { --lh: 28px; gap: 18px; }
  .tabbar { display: none; }
  main { padding-bottom: 0; }
  .toast { bottom: 32px; }
  .hero-copy { bottom: 132px; }
  .stay { margin-top: -88px; padding: 30px 34px 26px; }
  .stay-grid { grid-template-columns: 1fr 1fr 1.3fr; }
  .stay-item { border-top: 0; border-left: 1px solid var(--linea); padding: 8px 24px; }
  .stay-item:first-child { border-left: 0; padding-left: 0; }
  .stay-host .btn { width: auto; margin-left: 36px; min-height: 42px; padding: 0 18px; font-size: 14.5px; }
  .stay-host.is-waiting > div { flex-basis: auto; }
  .block { margin-top: 72px; }
  :root { --big: 84px; }
  .guide { margin-top: 96px; }
  .guide-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 36px; }
  .guide-head p { justify-self: end; text-align: left; }
  .mosaic { grid-template-columns: 7fr 5fr; gap: 14px; }
  .mono { grid-column: 2; gap: 14px; }
  .tile { padding: 26px; }
  .tile strong { font-size: 26px; }
  .tile-photo { grid-column: 1; aspect-ratio: auto; min-height: 380px; }
  .tile-photo strong { font-size: 34px; font-weight: 300; letter-spacing: -.025em; }
  .tile-photo small { font-size: 15px; }
  .mono small { display: block; }
  .t-cerca { padding: 20px; }
  .t-ayuda { padding: 26px 32px; }
  .feature { grid-template-columns: 5fr 6fr; align-items: center; gap: 56px; margin-top: 96px; }
  .feature img { aspect-ratio: 4 / 5; }
  .page-head { padding-top: 40px; }
  .emblem { top: 56px; right: 0; width: 196px; height: 196px; }
  .page-head h1 { margin-top: 28px; }
  .places-layout { margin-top: 36px; }
  .gallery { grid-auto-flow: row; grid-auto-columns: unset; grid-template-columns: repeat(6, 1fr); gap: 16px; overflow: visible; }
  .gallery figure { grid-column: span 2; }
  .gallery figure:nth-child(1) { grid-column: span 4; }
  .gallery figure:nth-child(2) { grid-column: span 2; }
  .gallery img { aspect-ratio: auto; height: 240px; }
  .gallery figure:nth-child(-n+2) img { height: 340px; }
  .gallery figure:nth-child(1) img { border-top-left-radius: var(--big); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .location { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .route-grid { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service { flex-direction: row; align-items: center; gap: 12px; padding: 12px 18px; }
  .map-figure { margin-top: 72px; }
  .host-card, .sos { margin-top: 48px; padding: 40px; }
  .footer { grid-template-columns: 1fr auto; align-items: end; }
  .footer-claim, .footer-note { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .sheet { left: 50%; right: auto; bottom: 24px; width: 440px; border-radius: 24px; transform: translate(-50%, 120%); }
  .sheet-open .sheet { transform: translate(-50%, 0); }
  .topnav { display: flex; }
  .menu-btn { display: none; }
  .places-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 80px; align-items: start; }
  .places-main .place.has-media { grid-template-columns: minmax(220px, 300px) 1fr; gap: 28px; align-items: start; }
  .toolbar { top: calc(var(--bar) + 24px); padding: 0; background: none; }
  .chips { flex-direction: column; gap: 2px; margin: 20px 0 0; padding: 0; overflow: visible; }
  .chip {
    width: 100%; height: 44px; padding: 0 14px; justify-content: flex-start; gap: 10px;
    border: 0; border-radius: 4px 12px 12px 4px; background: none; font-size: 15px; text-align: left;
  }
  .chip .chip-n { margin-left: auto; }
  .chip:hover { background: var(--niebla); }
  .chip[aria-pressed="true"] { background: var(--niebla); color: var(--tinta); font-weight: 500; box-shadow: inset 3px 0 0 var(--accent); }
  .chip[aria-pressed="true"] .chip-n { color: var(--tinta-3); }
  .places-main .result-count { margin-top: 0; padding-top: 12px; }
  .block > .place-list { grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 0; }
  .block > .place-list .place { border-top: 1px solid var(--linea); border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
