/* ============================================================
   TecnoSOS · Inmobiliarias — "El recorrido" (flagship)
   Lujo editorial claro: marfil + tinta + bosque + champán.
   Fraunces protagonista. Sin dependencias; html.js activa cine.
   ============================================================ */

/* ---------- Fuentes ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bone: #F4F0E7;
  --bone-2: #ECE5D4;
  --card: #FFFDF8;
  --ink: #171410;
  --ink-2: #262019;
  --ink-soft: #57503F;
  --forest: #1E3A2F;
  --forest-2: #2C523F;
  --champ: #A87F3C;
  --champ-ink: #7A571E;
  --champ-2: #C9A968;
  --champ-3: #E3C98F;
  --line-l: #DCD1B8;
  --line-d: rgba(244, 240, 231, 0.16);
  --wa: #25D366;
  --wa-ink: #0B3D22;
  --sg: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --body: system-ui, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--champ-2); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--champ); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.06; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 em, .final-title em, .rec-head em {
  font-style: italic; color: var(--champ);
}
h3 { font-family: var(--sg); font-weight: 700; letter-spacing: -0.02em; }

.kicker {
  font-family: var(--sg); font-weight: 500; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--champ-ink); margin: 0 0 1.2rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--sg); font-weight: 700; font-size: 1rem;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s, color 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.3); }
.btn-ghost { border-color: rgba(23, 20, 16, 0.3); color: var(--ink); }
.btn-ghost:hover { border-color: var(--champ); color: var(--champ); transform: translateY(-2px); }
.btn-ink { background: var(--forest); color: var(--bone); }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30, 58, 47, 0.32); }
.btn-big { font-size: 1.15rem; padding: 1.15rem 2.2rem; }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 120;
  padding-block: 0.9rem;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.site-head.scrolled {
  background: rgba(244, 240, 231, 0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(23, 20, 16, 0.08);
  padding-block: 0.55rem;
}
.head-row { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-name { font-family: var(--sg); font-weight: 700; font-size: 1.15rem; }
.beacon {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--champ); box-shadow: 0 0 12px 2px rgba(168, 127, 60, 0.5);
  animation: sos 2.8s infinite;
}
@keyframes sos {
  0%, 8% { opacity: 1; } 10%, 16% { opacity: 0.15; }
  18%, 26% { opacity: 1; } 28%, 34% { opacity: 0.15; }
  36%, 72% { opacity: 1; } 74%, 100% { opacity: 0.15; }
}
.head-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.head-nav a {
  font-family: var(--sg); font-weight: 500; font-size: 0.95rem;
  color: rgba(23, 20, 16, 0.72); text-decoration: none; transition: color 0.2s;
}
.head-nav a:hover { color: var(--champ); }
.btn-head { font-size: 0.92rem; padding: 0.6rem 1.15rem; }
@media (max-width: 860px) {
  .head-nav { display: none; }
  .head-row { justify-content: space-between; }
}

/* ============================================================
   HERO — panel editorial + foto enmarcada
   ============================================================ */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(420px, 0.94fr) 1.06fr;
}
.hero-panel {
  position: relative; display: flex; align-items: flex-end;
  padding: 7rem clamp(1.5rem, 4vw, 4rem) clamp(2rem, 6vh, 4rem);
  overflow: clip;
}
.gl-host { position: absolute; inset: auto -2rem -3rem auto; width: 420px; height: 380px; pointer-events: none; opacity: 0.9; }
.gl-host canvas { width: 100%; height: 100%; display: block; }
.casa-svg {
  position: absolute; right: -1.2rem; bottom: -0.8rem; width: min(300px, 30vw);
  stroke: var(--champ-2); stroke-width: 1.1; opacity: 0.5;
}
html.gl-on .casa-svg { display: none; }
.cs { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.6s var(--ease-out) forwards; }
.cs-2 { animation-delay: 0.5s; }
.cs-3 { animation-delay: 0.9s; }
.cs-4 { animation-delay: 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-copy { position: relative; z-index: 2; max-width: 34rem; }
.hero .kicker { display: flex; align-items: center; gap: 0.9rem; }
.k-line { width: 3rem; height: 1px; background: var(--champ); flex: none; }
.hero-title {
  font-size: clamp(2.7rem, 4.9vw, 4.9rem);
  margin-bottom: 1.6rem; line-height: 1.02;
}
.hero-title em { font-style: italic; color: var(--champ); }
.l { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.li { display: inline-block; }
.hero-sub { max-width: 42ch; margin: 0 0 2rem; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-soft); }
.hero-sub strong { color: var(--ink); }
.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-photo { position: relative; overflow: clip; }
.hero-photo picture, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; animation: lento 18s ease-in-out infinite alternate; transform-origin: 55% 45%; }
@keyframes lento { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.photo-frame {
  position: absolute; inset: clamp(1rem, 2.5vw, 2rem);
  border: 1px solid rgba(244, 240, 231, 0.65); pointer-events: none;
}
.photo-tag {
  position: absolute; left: clamp(2rem, 4vw, 3.4rem); bottom: clamp(2rem, 4vw, 3.4rem);
  font-family: var(--sg); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bone); background: rgba(23, 20, 16, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 0.5rem 0.95rem; border-radius: 999px;
  border: 1px solid rgba(244, 240, 231, 0.25);
}

/* Entrada (solo escritorio con JS, motion OK) */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  html.js .li { transform: translateY(115%); animation: line-up 0.95s var(--ease-out) forwards; }
  html.js .l:nth-child(2) .li { animation-delay: 0.1s; }
  html.js .l:nth-child(3) .li { animation-delay: 0.2s; }
  html.js .hero .kicker, html.js .hero-sub, html.js .hero .cta-row { opacity: 0; animation: soft-up 0.9s var(--ease-out) forwards; }
  html.js .hero .kicker { animation-delay: 0.05s; }
  html.js .hero-sub { animation-delay: 0.4s; }
  html.js .hero .cta-row { animation-delay: 0.52s; }
}
@keyframes line-up { to { transform: translateY(0); } }
@keyframes soft-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 899.98px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: 52svh auto; min-height: 0; }
  .hero-photo { order: -1; min-height: 52svh; }
  .hero-panel { padding-top: 2.6rem; align-items: flex-start; }
  .gl-host, .casa-svg { display: none; }
}

/* ============================================================
   01 · EL PROBLEMA
   ============================================================ */
.section { padding-block: clamp(4.5rem, 9vh, 7.5rem); }
.problema { background: var(--bone-2); }
.dolores {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem); margin-top: 3rem;
}
@media (max-width: 860px) { .dolores { grid-template-columns: 1fr; } }
.dolor {
  background: var(--card); border: 1px solid var(--line-l); border-radius: 20px;
  padding: 1.9rem 1.7rem; position: relative; overflow: clip;
}
.dolor-num {
  position: absolute; right: 0.6rem; top: -1.4rem;
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 6.2rem; color: rgba(168, 127, 60, 0.13); line-height: 1;
  pointer-events: none;
}
.dolor h3 { font-size: 1.22rem; margin-bottom: 0.7rem; position: relative; }
.dolor p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; position: relative; }

/* ============================================================
   02 · EL RECORRIDO (escena fijada, cine)
   ============================================================ */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  html.js [data-pin] .pin-sp { height: 380vh; }
  html.js [data-pin] .pin {
    position: sticky; top: 0; height: 100vh; height: 100svh;
    overflow: clip;
  }
}
.recorrido { background: var(--ink); color: var(--bone); }
.recorrido .pin { position: relative; min-height: 70vh; }
.rec-photos { position: absolute; inset: 0; }
.rec-photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transform: scale(1.04);
}
.rec-photo[data-room="0"] { opacity: 1; transform: none; }
.recorrido[data-step="1"] .rec-photo[data-room="0"],
.recorrido[data-step="2"] .rec-photo[data-room="0"],
.recorrido[data-step="3"] .rec-photo[data-room="0"] { opacity: 0; }
.recorrido[data-step="1"] .rec-photo[data-room="1"],
.recorrido[data-step="2"] .rec-photo[data-room="2"],
.recorrido[data-step="3"] .rec-photo[data-room="3"] { opacity: 1; transform: none; }
.rec-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23, 20, 16, 0.6), rgba(23, 20, 16, 0.06) 34%, rgba(23, 20, 16, 0.14) 62%, rgba(23, 20, 16, 0.66) 100%);
}
.rec-ui {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: 6.2rem; padding-bottom: 3.6rem;
}
.rec-head h2 { color: var(--bone); text-shadow: 0 1px 18px rgba(23, 20, 16, 0.55); }
.rec-head .kicker { color: var(--champ-3); }
.rec-card {
  align-self: flex-start;
  width: min(430px, 92%);
  background: rgba(23, 20, 16, 0.68);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(244, 240, 231, 0.2);
  border-radius: 20px; padding: 1.5rem 1.6rem 1.3rem;
}
.rec-brand {
  margin: 0 0 0.2rem; font-family: var(--sg); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--champ-3);
}
.rec-prop { margin: 0 0 1rem; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; }
.rec-prop span { font-family: var(--sg); font-weight: 500; font-size: 0.85rem; color: rgba(244, 240, 231, 0.65); }
.rec-rooms { position: relative; min-height: 6.4rem; }
.rec-room {
  margin: 0; font-size: 0.98rem; color: rgba(244, 240, 231, 0.85);
  opacity: 0; transform: translateY(16px); position: absolute; inset: 0 auto auto 0;
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.rec-room b { display: block; font-family: var(--sg); font-size: 1.05rem; color: var(--bone); margin-bottom: 0.25rem; }
.rec-room[data-room="0"] { opacity: 1; transform: none; position: relative; }
.recorrido[data-step="1"] .rec-room[data-room="0"],
.recorrido[data-step="2"] .rec-room[data-room="0"],
.recorrido[data-step="3"] .rec-room[data-room="0"] { opacity: 0; transform: translateY(-14px); position: absolute; }
.recorrido[data-step="1"] .rec-room[data-room="1"],
.recorrido[data-step="2"] .rec-room[data-room="2"],
.recorrido[data-step="3"] .rec-room[data-room="3"] { opacity: 1; transform: none; }
.rec-meta {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.2rem;
}
.rec-meta span {
  font-family: var(--sg); font-weight: 500; font-size: 0.78rem;
  padding: 0.28rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(244, 240, 231, 0.28); color: rgba(244, 240, 231, 0.85);
}
.rec-meta .rec-price { border-color: var(--champ-2); color: var(--champ-3); font-weight: 700; }
.rec-bar { margin-top: 1.2rem; height: 3px; border-radius: 2px; background: rgba(244, 240, 231, 0.18); overflow: hidden; }
.rec-bar i {
  display: block; height: 100%; background: var(--champ-2);
  transform-origin: left; transform: scaleX(var(--p, 0));
}
.rec-note {
  position: absolute; right: 2rem; bottom: 1.4rem; z-index: 2; margin: 0;
  font-family: var(--sg); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(244, 240, 231, 0.55);
}
.rec-after {
  padding-block: clamp(3rem, 7vh, 5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.rec-after p { margin: 0; max-width: 58ch; font-size: 1.1rem; color: rgba(244, 240, 231, 0.85); }
.rec-after strong { color: var(--champ-3); }
.rec-after .btn-ink { background: var(--champ-2); color: var(--ink); }
.rec-after .btn-ink:hover { box-shadow: 0 12px 28px rgba(201, 169, 104, 0.3); }

/* Móvil / sin JS: carrusel de recorrido */
@media (max-width: 899.98px) {
  .recorrido .pin { min-height: 0; }
  .rec-photos { position: relative; inset: auto; display: flex; gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 1.25rem 1rem; scrollbar-width: none; }
  .rec-photos::-webkit-scrollbar { display: none; }
  .rec-photo {
    position: relative; inset: auto; opacity: 1 !important; transform: none !important;
    flex: none; width: 82vw; aspect-ratio: 4 / 3; border-radius: 16px; scroll-snap-align: center;
  }
  .rec-scrim { display: none; }
  .rec-ui { padding-top: 4rem; padding-bottom: 0; }
  .rec-head { margin-bottom: 1.4rem; }
  .rec-card { width: 100%; margin-top: 1.4rem; background: var(--ink-2); }
  .rec-room { position: relative; opacity: 1 !important; transform: none !important; margin-bottom: 1.1rem; }
  .rec-bar, .rec-note { display: none; }
}
html:not(.js) .rec-photo { opacity: 1; position: relative; inset: auto; }
html:not(.js) .rec-photos { display: grid; gap: 1rem; padding: 1rem; }
html:not(.js) .rec-room { position: relative; opacity: 1; transform: none; margin-bottom: 1rem; }
html:not(.js) .rec-scrim, html:not(.js) .rec-bar, html:not(.js) .rec-note { display: none; }

/* ============================================================
   03 · EL SISTEMA
   ============================================================ */
.sistema { background: var(--bone); }
.sys-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2.2rem); margin-top: 3rem;
}
@media (max-width: 760px) { .sys-grid { grid-template-columns: 1fr; } }
.sys {
  background: var(--card); border: 1px solid var(--line-l); border-radius: 20px;
  padding: 1.9rem 1.8rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.sys:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(23, 20, 16, 0.1); }
.sys svg { width: 34px; height: 34px; color: var(--champ); margin-bottom: 1rem; }
.sys h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.sys p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }

/* ============================================================
   04 · EVIDENCIA
   ============================================================ */
.evidencia { background: var(--bone-2); }
.evidence-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.6rem, 3.4vw, 3rem); margin-top: 3rem; align-items: start;
}
@media (max-width: 980px) { .evidence-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.evidence-grid > figure { margin: 0; }
@media (min-width: 981px) {
  .evidence-grid > figure:nth-child(1) { transform: rotate(-0.7deg); }
  .evidence-grid > figure:nth-child(2) { transform: translateY(1.8rem) rotate(0.8deg); }
}
.evidence-grid figcaption {
  font-size: 0.95rem; color: var(--ink-soft); text-align: center;
  margin-top: 1.1rem; font-style: italic; font-family: var(--serif);
}
.demo-note { margin: 3.2rem auto 0; text-align: center; color: var(--ink-soft); font-size: 0.9rem; max-width: 64ch; }

/* Ficha de propiedad */
.prop-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-l);
  box-shadow: 0 26px 60px rgba(23, 20, 16, 0.14);
}
.prop-gallery { position: relative; }
.prop-gallery > img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; }
.prop-thumbs {
  position: absolute; left: 0.8rem; bottom: 0.8rem; display: flex; gap: 0.4rem; align-items: center;
}
.prop-thumbs img {
  width: 52px; height: 40px; object-fit: cover; border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.prop-thumbs span {
  font-family: var(--sg); font-weight: 700; font-size: 0.72rem;
  background: rgba(23, 20, 16, 0.7); color: #fff;
  padding: 0.3rem 0.55rem; border-radius: 8px;
}
.prop-badge {
  position: absolute; right: 0.8rem; top: 0.8rem;
  font-family: var(--sg); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--champ-2); color: var(--ink);
  padding: 0.35rem 0.75rem; border-radius: 999px;
}
.prop-info { padding: 1.2rem 1.4rem 1.5rem; }
.prop-brand {
  margin: 0; font-family: var(--sg); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--champ-ink);
}
.prop-name { margin: 0.25rem 0 0.5rem; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.prop-price { margin: 0; font-family: var(--sg); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; }
.prop-specs { margin: 0.3rem 0 1.1rem; color: var(--ink-soft); font-size: 0.92rem; }
.prop-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--wa); color: var(--wa-ink);
  font-family: var(--sg); font-weight: 700; font-size: 0.92rem;
  padding: 0.75rem 1.3rem; border-radius: 999px;
}

/* Chat (mismo lenguaje que las demás páginas) */
.chat-card {
  border-radius: 20px; overflow: hidden; background: #EFE7DC;
  box-shadow: 0 24px 60px rgba(23, 20, 16, 0.14); border: 1px solid #E0D6C2;
}
.chat-head { background: #075E54; color: #fff; padding: 0.8rem 1rem; display: flex; align-items: center; gap: 0.65rem; }
.chat-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--champ-2); color: var(--ink);
  display: grid; place-items: center; font-family: var(--sg); font-weight: 700; font-size: 0.8rem;
}
.chat-name { font-family: var(--sg); font-weight: 700; font-size: 0.95rem; line-height: 1.1; }
.chat-name small { display: block; font-weight: 400; font-size: 0.7rem; opacity: 0.8; }
.chat-body { padding: 1rem 0.9rem 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.msg {
  max-width: 86%; padding: 0.55rem 0.75rem; border-radius: 12px;
  font-size: 0.86rem; line-height: 1.42; margin: 0; color: #222;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.msg time { display: block; font-size: 0.6rem; color: #888; text-align: right; margin-top: 2px; }
.msg-in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.msg-out { background: #D9FDD3; align-self: flex-end; border-top-right-radius: 4px; }
.msg-cita { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.7rem; }
.msg-cita svg { flex: none; margin-top: 2px; }
.msg-cita span { font-size: 0.8rem; line-height: 1.35; }
.msg-cita strong { display: block; font-family: var(--sg); }

/* ============================================================
   05 · PAQUETES
   ============================================================ */
.paquetes { background: var(--bone); }
.pack-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem; margin-top: 3rem; align-items: stretch;
}
@media (max-width: 1020px) { .pack-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; margin-top: 3rem; } }
.pack {
  background: var(--card); border: 1px solid var(--line-l); border-radius: 22px;
  padding: 1.8rem 1.6rem; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.pack:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(23, 20, 16, 0.12); }
.pack h3 { font-size: 1.3rem; }
.pack-for { color: var(--ink-soft); font-size: 0.92rem; margin: 0.3rem 0 1.1rem; }
.pack-price { font-family: var(--sg); font-weight: 700; font-size: 2.1rem; letter-spacing: -0.03em; margin: 0 0 1.1rem; color: var(--ink); }
.pack-price span { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.pack ul { margin: 0 0 1.6rem; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.pack li { padding-left: 1.4rem; position: relative; font-size: 0.95rem; color: #3A342A; }
.pack li::before {
  content: ""; position: absolute; left: 0; top: 0.52em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--champ-2); transform: rotate(45deg);
}
.btn-card { margin-top: auto; width: 100%; }
.pack-featured {
  background: var(--forest); color: var(--bone); border-color: transparent;
  position: relative; overflow: clip;
  box-shadow: 0 30px 70px rgba(30, 58, 47, 0.32);
}
.pack-featured::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--champ), var(--champ-2), var(--champ-3));
}
.pack-featured h3, .pack-featured .pack-price { color: var(--bone); }
.pack-featured .pack-for { color: rgba(244, 240, 231, 0.68); }
.pack-featured li { color: rgba(244, 240, 231, 0.88); }
.pack-featured .pack-price span { color: rgba(244, 240, 231, 0.62); }
.pack-tag {
  display: inline-block; align-self: flex-start;
  font-family: var(--sg); font-weight: 700; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink); background: var(--champ-2);
  border-radius: 999px; padding: 0.3rem 0.8rem; margin: 0 0 1rem;
}

.starter {
  margin-top: 2.2rem; background: var(--bone-2); border: 1px solid var(--line-l);
  border-radius: 22px; padding: 1.8rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.starter h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.starter p { margin: 0; color: #3A342A; max-width: 62ch; }
.starter .btn { flex: none; }

.pay-terms {
  margin: 2.6rem 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
@media (max-width: 860px) { .pay-terms { grid-template-columns: 1fr; } }
.pay-terms li { display: flex; gap: 0.8rem; align-items: flex-start; color: #3A342A; font-size: 0.95rem; }
.pay-terms svg { width: 26px; height: 26px; flex: none; color: var(--champ); }
.pay-terms strong { color: var(--ink); }
.honesty {
  margin: 2.8rem auto 0; max-width: 66ch; text-align: center;
  color: var(--ink-soft); font-size: 1rem;
  font-family: var(--serif); font-style: italic;
}

/* ============================================================
   06 · EXTRAS + 07 · FAQ
   ============================================================ */
.extras { background: var(--bone-2); }
.extras-grid {
  margin: 2.6rem 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.2rem;
}
@media (max-width: 760px) { .extras-grid { grid-template-columns: 1fr; } }
.extras-grid li {
  display: flex; gap: 1rem; align-items: center;
  padding: 1.05rem 0.4rem; border-bottom: 1px solid var(--line-l);
}
.extras-grid svg { width: 30px; height: 30px; flex: none; color: var(--champ); }
.extras-grid span { flex: 1; display: flex; justify-content: space-between; gap: 1.4rem; align-items: baseline; }
.extras-grid b { font-family: var(--sg); font-size: 0.95rem; white-space: nowrap; color: var(--ink); }

.faq-sec { background: var(--bone); }
.faq { margin-top: 2.6rem; border-top: 1px solid var(--line-l); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  font-family: var(--sg); font-weight: 700; font-size: 1.08rem;
  padding: 1.25rem 3rem 1.25rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.4rem; top: 50%;
  width: 14px; height: 14px; transform: translateY(-50%);
  background:
    linear-gradient(var(--champ), var(--champ)) center / 14px 2px no-repeat,
    linear-gradient(var(--champ), var(--champ)) center / 2px 14px no-repeat;
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq p { margin: 0 0 1.4rem; color: #3A342A; max-width: 74ch; }

/* ============================================================
   FINAL
   ============================================================ */
.final {
  position: relative; background: var(--forest); color: var(--bone);
  padding-block: clamp(6rem, 13vh, 9.5rem) 2.5rem;
  overflow: clip; text-align: center;
}
.final::before {
  content: ""; position: absolute; inset: auto -25% -60% -25%; height: 95%;
  background: radial-gradient(50% 90% at 50% 100%, rgba(201, 169, 104, 0.22), transparent 70%);
  pointer-events: none;
}
.final-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.final-mark { margin-bottom: 1.6rem; }
.final-title { font-size: clamp(2.3rem, 5.6vw, 4.4rem); color: var(--bone); }
.final-title em { color: var(--champ-3); }
.final p { max-width: 54ch; margin: 1.4rem 0 2.2rem; color: rgba(244, 240, 231, 0.85); }
.foot { margin-top: 5rem; width: 100%; border-top: 1px solid var(--line-d); padding-top: 1.6rem; }
.foot p { margin: 0.3rem 0; font-size: 0.88rem; color: rgba(244, 240, 231, 0.65); max-width: none; }
.legal { font-size: 0.78rem !important; }
.legal a { color: rgba(244, 240, 231, 0.8); }

/* ---------- Barra fija móvil ---------- */
.sticky-wa {
  position: fixed; inset: auto 0 0; z-index: 130;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(23, 20, 16, 0.88) 40%);
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.4s var(--ease-out), visibility 0s 0.4s;
  display: none;
}
.sticky-wa.show { transform: none; visibility: visible; transition-delay: 0s; }
.btn-sticky { width: 100%; }
@media (max-width: 899.98px) { .sticky-wa { display: block; } }

/* ---------- Reveals ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo img { animation: none; }
  .beacon { animation: none; }
  .cs { animation: none; stroke-dashoffset: 0; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .li { transform: none; animation: none; }
  html.js .hero .kicker, html.js .hero-sub, html.js .hero .cta-row { opacity: 1; animation: none; }
  .rec-photo, .rec-room, .pack, .sys, .btn { transition: none; }
  .rec-photo { opacity: 1; position: relative; transform: none; }
  .rec-photos { display: grid; gap: 1rem; }
  .rec-room { position: relative; opacity: 1; transform: none; margin-bottom: 1rem; }
  .rec-scrim, .rec-bar, .rec-note { display: none; }
}
