/* =========================================================
   InmoLerez — hoja de estilos
   Paleta derivada del logotipo: gris pizarra + rosa arena.
   ========================================================= */
:root {
  --ink: #1f2b33;          /* pizarra profunda (fondos oscuros) */
  --slate: #34454d;
  --slate-2: #4a5d64;      /* trazo del logotipo */
  --mist: #6f8088;
  --sand: #d9c2b6;         /* rosa arena del logotipo */
  --sand-2: #c7a594;
  --clay: #8f6553;         /* acento legible sobre claro (AA) */
  --cream: #f5f0eb;
  --paper: #fbf9f6;
  --white: #fff;
  --line: rgba(31, 43, 51, .12);
  --line-light: rgba(255, 255, 255, .16);
  --wa: #1fa855;
  --wa-dark: #128c45;
  --danger: #b3261e;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: min(1240px, 100% - 2 * var(--gutter));
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(84px, 11vw, 160px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(31, 43, 51, .06), 0 18px 50px -18px rgba(31, 43, 51, .28);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.08; }
p { margin: 0; }
ul[role="list"], ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: var(--container); margin-inline: auto; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--clay);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--sand); }
.hero .eyebrow { color: #eadbd2; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.hero__sub, .hero__title { text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.display {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem); letter-spacing: -.01em; line-height: 1.02; color: var(--ink);
  text-wrap: balance;
}
.display em, .hero__title em { font-style: italic; color: var(--clay); }
.display--light { color: #fff; }
.display--light em { color: var(--sand); }
.display--sm { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); color: var(--slate); max-width: 58ch; margin-top: 26px; font-weight: 300; }
.lead--light { color: rgba(255, 255, 255, .82); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn::after { /* reflejo de luz */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn--light { --bg: rgba(255, 255, 255, .94); --fg: var(--ink); }
.btn--light:hover { --bg: #fff; }
.btn--dark:hover { --bg: var(--slate); }
.btn--wa { --bg: var(--wa); --fg: #fff; box-shadow: 0 10px 30px -12px rgba(31, 168, 85, .7); }
.btn--wa:hover { --bg: var(--wa-dark); }
.btn--wa-outline { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--wa-outline .ico { color: var(--wa-dark); }
.btn--wa-outline:hover { border-color: var(--wa-dark); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.round-btn {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-light); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer;
  transition: background-color .3s, transform .3s var(--ease);
}
.round-btn:hover { background: rgba(255, 255, 255, .16); transform: scale(1.05); }
.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(31, 168, 85, .1); color: var(--wa-dark); transition: background-color .3s, color .3s;
}
.icon-btn:hover { background: var(--wa); color: #fff; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; transition: background-color .4s, color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.is-scrolled, body:not(.is-home) .site-header {
  background: rgba(251, 249, 246, .82); color: var(--ink);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__inner { width: var(--container); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: auto; filter: drop-shadow(0 0 0 transparent); transition: filter .4s; }
.site-header:not(.is-scrolled) .brand img { filter: brightness(0) invert(1); }
body:not(.is-home) .site-header .brand img { filter: none; }
.brand__name { font-size: 1.45rem; font-weight: 300; letter-spacing: -.01em; }
.brand__name b { font-weight: 400; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; text-decoration: none; font-size: .92rem; letter-spacing: .02em; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 999px;
  border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent);
  background: transparent; cursor: pointer; font-size: .85rem; font-weight: 700; letter-spacing: .08em;
}
.lang__btn svg { width: 10px; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; margin: 0; padding: 6px; list-style: none;
  background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.lang__menu button { width: 100%; text-align: left; padding: 10px 14px; border: 0; background: none; border-radius: 9px; cursor: pointer; font-size: .95rem; }
.lang__menu button:hover, .lang__menu button:focus-visible { background: var(--cream); }
.lang__menu button[aria-checked="true"] { font-weight: 700; color: var(--clay); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.menu-toggle__bars, .menu-toggle__bars::before { display: block; width: 24px; height: 1.5px; background: currentColor; margin: auto; position: relative; transition: transform .4s var(--ease); }
.menu-toggle__bars::before { content: ""; position: absolute; top: 7px; }
.menu-toggle__bars { transform: translateY(-3.5px); }
.menu-open .menu-toggle__bars { transform: rotate(45deg); }
.menu-open .menu-toggle__bars::before { transform: translateY(-7px) rotate(-90deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: #fff; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: -6% 0; will-change: transform; transform: scale(1.12); }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { animation: heroIn 2.4s var(--ease) both; }
.hero__video { opacity: 0; transition: opacity 1.4s ease; }
.hero__video.is-playing { opacity: 1; }
@keyframes heroIn { from { transform: scale(1.08); filter: brightness(.6); } to { transform: none; filter: none; } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(19, 27, 33, .55) 0%, rgba(19, 27, 33, 0) 28%),
    linear-gradient(0deg, rgba(19, 27, 33, .88) 0%, rgba(19, 27, 33, .35) 45%, rgba(19, 27, 33, 0) 70%),
    radial-gradient(80% 60% at 20% 90%, rgba(143, 101, 83, .35), transparent 70%);
}
.hero__content { position: relative; align-self: end; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(28px, 5vh, 56px); }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(3rem, 8.4vw, 7.4rem); line-height: .95; letter-spacing: -.02em; max-width: 13ch; text-wrap: balance; }
.hero__title em { color: var(--sand); }
.hero__sub { max-width: 52ch; margin-top: 26px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 300; color: rgba(255, 255, 255, .86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px 26px; border-top: 1px solid var(--line-light); }
.hero__caption { font-size: .8rem; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.video-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-light); background: rgba(0, 0, 0, .2); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: .8rem; cursor: pointer; }
.video-toggle .ico { width: 14px; height: 14px; }
.video-toggle[hidden] { display: none; }
.scroll-cue { position: absolute; right: var(--gutter); top: 50%; width: 1px; height: 80px; background: var(--line-light); overflow: hidden; }
.scroll-cue span { position: absolute; inset: 0; background: #fff; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); position: relative; }
.section-head { margin-bottom: clamp(44px, 6vw, 80px); max-width: 860px; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }

/* Presentación */
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.about__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.about__stats strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 500; line-height: 1; color: var(--ink); }
.about__stats span { display: block; margin-top: 8px; font-size: .88rem; color: var(--mist); max-width: 18ch; }
.services { display: grid; gap: 0; }
.service { display: grid; grid-template-columns: 54px 1fr; column-gap: 12px; padding: 26px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service__num { grid-row: span 2; font-family: var(--font-display); font-size: 1.5rem; color: var(--sand-2); line-height: 1.2; }
.service h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; }
.service p { color: var(--slate); font-size: .98rem; }

/* Destacadas */
.featured { background: var(--cream); }
.featured__list { display: grid; gap: clamp(64px, 9vw, 130px); }
.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media {
  position: relative; display: block; aspect-ratio: 4 / 3.4; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transform: perspective(1200px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .6s var(--ease);
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature__media:hover img { transform: scale(1.04); }
.feature__title { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.04; }
.feature__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.feature__title a:hover { background-size: 100% 1px; }
.feature__lead { margin-top: 18px; color: var(--slate); font-size: 1.08rem; font-weight: 300; }
.feature__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.badge {
  position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: 999px;
  background: rgba(251, 249, 246, .92); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.specs > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs > div:nth-child(odd) { padding-right: 16px; }
.specs dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); font-weight: 700; }
.specs dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; }
.specs--compact { margin-top: 16px; }
.specs--compact dd { font-size: 1.25rem; }
.specs--compact > div { padding: 12px 0; }

/* Catálogo */
.catalog__count { color: var(--mist); font-size: .95rem; }
.filters { display: flex; flex-wrap: wrap; gap: 20px 36px; align-items: end; padding: 24px; margin-bottom: 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.filters__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.filters__group legend, .select > span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; transition: background-color .25s, color .25s, border-color .25s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.chip:hover span { border-color: var(--slate-2); }
.filters__selects { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }
.select select, .field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  transition: border-color .25s, box-shadow .25s;
}
.select select { min-width: 170px; appearance: none; padding-right: 36px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234a5d64' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center / 11px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(31, 43, 51, .04);
  transform: perspective(1000px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .5s var(--ease), box-shadow .5s;
}
.card:hover { box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__sheen, .why-card::after {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 45%);
}
.is-tilting .card__sheen, .why-card.is-tilting::after { opacity: 1; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card__place { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 700; }
.card__title { margin-top: 8px; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; }
.card__link { text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; }
.card__foot .icon-btn { position: relative; z-index: 2; }
.card__price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.catalog__empty { text-align: center; padding: 40px 0; display: grid; gap: 18px; justify-items: center; color: var(--slate); }
.catalog__empty[hidden] { display: none; }

/* Destinos */
.destinations { background: var(--ink); color: #fff; overflow: hidden; }
.destinations .section-head { margin-bottom: 48px; }
.dest-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86vw, 560px); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), (100vw - 1240px) / 2);
  padding-inline: max(var(--gutter), (100vw - 1240px) / 2); padding-bottom: 8px; scrollbar-width: none; outline-offset: -4px;
}
.dest-rail::-webkit-scrollbar { display: none; }
.dest-card { scroll-snap-align: start; display: flex; flex-direction: column; }
.dest-card__media { position: relative; margin: 0; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; }
.dest-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.dest-card:hover .dest-card__media img { transform: scale(1.05); }
.dest-card__body { padding: 26px 4px 0; }
.dest-card__tag { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); font-weight: 700; }
.dest-card h3 { margin: 8px 0 12px; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.6rem); }
.dest-card p:not(.dest-card__tag) { color: rgba(255, 255, 255, .78); font-weight: 300; }
.dest-rail__nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 32px; }
.photo-credit {
  position: absolute; right: 10px; bottom: 10px; z-index: 2; max-width: calc(100% - 20px);
  padding: 4px 9px; border-radius: 6px; background: rgba(19, 27, 33, .55); color: rgba(255, 255, 255, .85);
  font-size: .68rem; line-height: 1.3; text-decoration: none; backdrop-filter: blur(4px);
}
.photo-credit:hover { color: #fff; text-decoration: underline; }

/* Banner y CTA final */
.banner, .final-cta { position: relative; min-height: min(86vh, 820px); display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--ink); }
.banner__media, .final-cta__media { position: absolute; inset: -10% 0; transform: scale(1.12); will-change: transform; }
.banner__media img, .final-cta__media img { width: 100%; height: 100%; object-fit: cover; }
.banner::before, .final-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(19, 27, 33, .8), rgba(19, 27, 33, .05) 60%); }
.final-cta::before { background: linear-gradient(0deg, rgba(19, 27, 33, .9), rgba(19, 27, 33, .5) 60%, rgba(19, 27, 33, .35)); }
.banner__content, .final-cta__content { position: relative; z-index: 2; padding-block: clamp(60px, 10vw, 120px) 34px; }
.final-cta__content { text-align: center; display: grid; justify-items: center; align-self: center; }
.final-cta .lead { margin-inline: auto; }
.banner__caption { margin-top: 40px; font-size: .78rem; letter-spacing: .08em; color: rgba(255, 255, 255, .7); }
.banner .photo-credit, .final-cta .photo-credit { z-index: 3; }

/* Ventajas */
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 18px; }
.why-card {
  position: relative; padding: 30px 26px 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .5s var(--ease), box-shadow .5s;
}
.why-card::after { content: ""; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(217, 194, 182, .45), transparent 50%); }
.why-card:hover { box-shadow: var(--shadow); }
.why-card__ico { width: 34px; height: 34px; color: var(--clay); margin-bottom: 26px; }
.why-card h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 10px; }
.why-card p { color: var(--slate); font-size: .96rem; }

/* Proceso */
.process { background: var(--cream); }
.process__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.process__head { position: sticky; top: calc(var(--header-h) + 40px); }
.steps { counter-reset: s; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--sand-2); font-family: var(--font-display); font-size: 1.5rem; color: var(--clay); }
.step h3 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 6px; }
.step p { color: var(--slate); }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 7vw, 120px); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 24px 0; font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--clay), var(--clay)) center / 100% 1.5px no-repeat, linear-gradient(var(--clay), var(--clay)) center / 1.5px 100% no-repeat; transition: transform .4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 26px; color: var(--slate); max-width: 64ch; }

/* Contacto */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__channels { display: grid; gap: 12px; margin-top: 40px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; background: var(--white); transition: border-color .3s, transform .4s var(--ease); }
.channel:hover { border-color: var(--sand-2); transform: translateX(4px); }
.channel .ico { width: 24px; height: 24px; color: var(--clay); }
.channel small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); font-weight: 700; }
.form { padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field label { font-size: .88rem; font-weight: 700; color: var(--slate); }
.field label small { font-weight: 400; color: var(--mist); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--slate-2); box-shadow: 0 0 0 3px rgba(74, 93, 100, .15); }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; padding-right: 36px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234a5d64' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center / 11px; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 20px; min-height: 0; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.field--check label { font-weight: 400; }
.field--check .field__error { grid-column: 1 / -1; }
.field__error { min-height: 0; font-size: .84rem; color: var(--danger); }
.field__error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 6px; }
.form__note { flex: 1 1 240px; font-size: .86rem; color: var(--mist); }
.form__status { font-size: .95rem; border-radius: 12px; }
.form__status:empty { display: none; }
.form__status.is-error, .form__status.is-info, .form__status.is-ok { padding: 14px 16px; }
.form__status.is-error { background: #fbeceb; color: var(--danger); }
.form__status.is-info { background: #eaf6ef; color: #145c33; }
.form__status.is-ok { background: #eaf6ef; color: #145c33; }
.form__status a { font-weight: 700; }

/* Pie */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 80px 0 40px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.brand--footer img { width: 48px; filter: brightness(0) invert(1); }
.brand--footer .brand__name { color: #fff; font-size: 1.7rem; }
.site-footer__tag { margin-top: 16px; font-size: .92rem; }
.site-footer__links { display: grid; gap: 10px; }
.site-footer__links a { text-decoration: none; font-size: .95rem; }
.site-footer__links a:hover { color: var(--sand); }
.site-footer__legal { display: grid; gap: 16px; padding-top: 30px; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.credits summary { cursor: pointer; color: rgba(255, 255, 255, .8); }
.credits ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.credits a { color: rgba(255, 255, 255, .8); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: none; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(18, 140, 69, .8);
}
.wa-float .ico { width: 28px; height: 28px; }

/* ---------- Visor ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(13, 19, 24, .96); color: #fff; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: rgba(13, 19, 24, .7); }
.lightbox__bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.lightbox__count { margin-right: auto; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.lightbox__stage { position: relative; overflow: hidden; display: grid; place-items: center; padding: 0 clamp(8px, 7vw, 90px); min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; border-radius: 6px; }
.lightbox.is-plan .lightbox__stage img { background: #fff; }
.lightbox__stage.is-zoomed { overflow: auto; display: block; padding: 0; }
.lightbox__stage.is-zoomed img { max-width: none; max-height: none; width: 220%; cursor: zoom-out; }
.lightbox__caption { padding: 14px 20px 22px; text-align: center; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 14px; }
.lightbox__next { right: 14px; }
.lightbox__prev[hidden], .lightbox__next[hidden] { display: none; }
.round-btn--light { color: #fff; }
.lb-open { overflow: hidden; }

/* ---------- Animaciones de entrada ---------- */
.js-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js-ready .reveal.is-in { opacity: 1; transform: none; }
.js-ready .feature.reveal, .js-ready .card.reveal, .js-ready .why-card.reveal { transform: translateY(40px); }
.js-ready .feature.reveal.is-in { transform: none; }
.js-ready .card.reveal.is-in, .js-ready .why-card.reveal.is-in { transform: perspective(1000px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
.magnetic { transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0; z-index: -1; display: grid; place-items: center; background: var(--ink); color: #fff; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
  .nav__list { flex-direction: column; align-items: center; gap: 22px; }
  .nav a { font-family: var(--font-display); font-size: 2.2rem; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open .site-header .brand img { filter: brightness(0) invert(1); }
  .menu-toggle { display: grid; }
  .menu-open { overflow: hidden; }
  .about__grid, .process__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .process__head { position: static; }
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .header-wa { display: none; }
  .wa-float { display: grid; }
  .brand__name { font-size: 1.25rem; }
  .brand img { width: 34px; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .form__row--2 { grid-template-columns: 1fr; }
  .filters { padding: 18px; }
  .filters__selects { margin-left: 0; width: 100%; }
  .select { flex: 1 1 140px; }
  .select select { min-width: 0; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .scroll-cue { display: none; }
  .hero__foot { flex-wrap: wrap; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .specs dd { font-size: 1.35rem; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-ready .reveal { opacity: 1; transform: none; }
  .hero__media, .banner__media, .final-cta__media { transform: none !important; inset: 0; }
}

@media print {
  .site-header, .wa-float, .hero__video, .video-toggle, .scroll-cue, .dest-rail__nav { display: none !important; }
  .hero { min-height: auto; }
}
