/* Parcelas Chiloé — estilos compartidos */

/* Fuentes alojadas en el sitio (OFL), subconjunto latino: cubre todo el español */
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-normal-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-normal-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  --ink: #16201b;
  --ink-2: #47534c;
  --ink-3: #66726b;
  --paper: #f7f4ee;
  --paper-2: #eee8dc;
  --card: #fffdf9;
  --forest: #1d3a2e;
  --forest-2: #2b5141;
  --wood: #8f5228;
  --sand: #e3cfae;
  --wa: #0e7f43;
  --wa-2: #0b6b38;
  --line: rgba(22, 32, 27, .12);
  --ph: #ffe58a;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(22, 32, 27, .05), 0 10px 30px rgba(22, 32, 27, .08);
  --shadow-lg: 0 2px 4px rgba(22, 32, 27, .06), 0 28px 70px rgba(22, 32, 27, .2);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid #f2b84b; outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Borrador: datos por confirmar ---------- */
.draft-note { background: var(--ph); color: #3b3000; font: 600 13px/1.4 var(--sans); text-align: center; padding: 8px 16px; }
.ph {
  background: var(--ph); color: #2b2300; border-radius: 4px; padding: 0 .22em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
[data-ph] { position: relative; }
[data-ph]::after {
  content: "Foto referencial"; position: absolute; left: 10px; top: 10px; z-index: 3;
  background: var(--ph); color: #2b2300; font: 700 11px/1 var(--sans); letter-spacing: .03em;
  padding: 5px 8px; border-radius: 6px; pointer-events: none; white-space: nowrap;
}
.hero[data-ph]::after { top: auto; left: auto; right: 12px; bottom: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.btn .ic { width: 22px; height: 22px; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(14, 127, 67, .32); }
.btn--wa:hover { background: var(--wa-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--paper-2); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--light:hover { transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn--block { display: flex; width: 100%; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column;
  color: #fff; background: #1d2a24;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9, 17, 13, .6) 0%, rgba(9, 17, 13, .08) 26%, rgba(9, 17, 13, .2) 52%, rgba(9, 17, 13, .86) 100%);
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 800 15px/1.1 var(--sans); letter-spacing: .01em; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand small { display: block; font-weight: 500; font-size: 12px; letter-spacing: .04em; opacity: .78; margin-top: 2px; }
.topbar__wa {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 700 14px/1 var(--sans); text-decoration: none;
}
.topbar__wa .ic { width: 18px; height: 18px; }
.hero__body { margin-top: auto; display: grid; gap: 28px; padding-top: 48px; padding-bottom: 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font: 700 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow .ic { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(46px, 9vw, 96px); line-height: .96; max-width: 12.5ch; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--sand); }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 44ch; margin-top: 20px; color: rgba(255, 255, 255, .92); }
.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block; padding: 8px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 600 13.5px/1.2 var(--sans);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.price-card { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); }
.price-card__label { font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.price-card__price { font: 400 clamp(44px, 5vw, 56px)/1 var(--serif); margin: 10px 0 6px; letter-spacing: -.015em; }
.price-card__sub { margin-bottom: 18px; color: var(--ink-2); font-size: 15px; }
.price-card__sub b { color: var(--forest-2); }
.price-card .btn + .btn { margin-top: 10px; }
.price-card__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.price-card__note .ic { width: 18px; height: 18px; color: var(--wa); }

@media (min-width: 960px) {
  .hero { min-height: min(94vh, 900px); }
  .hero__body { grid-template-columns: 1fr 380px; align-items: end; gap: 64px; padding-bottom: 120px; }
  .price-card { padding: 28px; }
  .hero[data-ph]::after { bottom: 84px; }
  .hero--hub .hero__body { grid-template-columns: 1fr; padding-bottom: 96px; }
}

/* ---------- Datos clave ---------- */
.facts { position: relative; z-index: 2; margin-top: 16px; }
.facts__list {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.facts__list li {
  background: var(--card); padding: 18px 16px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
}
.facts__list li:last-child:nth-child(odd) { grid-column: span 2; }
.facts__list .ic { grid-row: span 2; width: 28px; height: 28px; color: var(--forest-2); }
.facts__k { font: 700 12px/1.2 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.facts__v { font: 700 15.5px/1.3 var(--sans); margin-top: 3px; overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .facts__list li { display: flex; flex-direction: column; align-items: flex-start; padding: 16px 14px; }
  .facts__list .ic { margin-bottom: 10px; }
}
@media (min-width: 960px) {
  .facts { margin-top: -66px; }
  .facts__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .facts__list li { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .facts__list .ic { margin-bottom: 12px; }
  .facts__list li:last-child:nth-child(odd) { grid-column: auto; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(68px, 9vw, 124px); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--forest); color: #f1efe8; }
.kicker { font: 700 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wood); margin-bottom: 14px; }
.section--dark .kicker, .cta-final .kicker { color: var(--sand); }
.h2 { font-size: clamp(36px, 5.2vw, 60px); max-width: 17ch; text-wrap: balance; }
.h3 { font-size: clamp(26px, 3vw, 32px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 58ch; margin-top: 18px; }
.section--dark .lead { color: rgba(241, 239, 232, .82); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 960px) {
  .section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
  .section-head--split .lead { margin-top: 0; }
}

/* Historia (foto + texto) */
.split { display: grid; gap: 36px; align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--paper-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1.05fr; gap: 80px; }
  .split--rev .split__media { order: 2; }
}
.ticks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.ticks li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.ticks__ic { width: 46px; height: 46px; border-radius: 14px; background: var(--paper-2); color: var(--forest-2); display: grid; place-items: center; }
.section--tint .ticks__ic { background: var(--card); }
.ticks strong { display: block; font-weight: 700; font-size: 17px; }
.ticks span:not(.ticks__ic):not(.ph) { display: block; color: var(--ink-2); font-size: 15.5px; margin-top: 2px; }

/* Frase grande */
.statement { text-align: center; }
.statement .big { font: 400 clamp(32px, 4.6vw, 56px)/1.1 var(--serif); max-width: 22ch; margin-inline: auto; text-wrap: balance; }
.statement .big em { color: var(--wood); }
.statement .kicker { margin-bottom: 22px; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery__item { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--paper-2); }
.gallery__item:first-child, .gallery__item:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16 / 10; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery__item:hover img { transform: scale(1.04); }
@media (min-width: 960px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 12px; }
  .gallery__item, .gallery__item:last-child:nth-child(even) { aspect-ratio: auto; grid-column: auto; }
  .gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
.gallery-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.gallery-note .ic { color: var(--forest-2); }

/* Ficha técnica */
.specs { display: grid; gap: 40px; }
@media (min-width: 960px) { .specs { grid-template-columns: 1.15fr 1fr; gap: 72px; } }
.spec-table { margin: 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); }
.spec-table dt, .spec-table dd { margin: 0; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--ink-2); padding-right: 24px; }
.spec-table dd { font-weight: 700; text-align: right; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--wa); }
.note-card { margin-top: 32px; padding: 22px; border-radius: var(--radius-sm); background: var(--card); box-shadow: var(--shadow); }
.note-card p { color: var(--ink-2); margin-bottom: 16px; }

/* Ubicación */
.location { display: grid; gap: 36px; }
@media (min-width: 960px) { .location { grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; } }
.map { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #203028; box-shadow: var(--shadow); }
.map__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.82); }
.map__load { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.map__load:hover { transform: translate(-50%, calc(-50% - 1px)); }
.map__badge {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 999px; background: rgba(255, 253, 249, .94); font: 700 12.5px/1 var(--sans);
}
.map__badge .ic { width: 15px; height: 15px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-live .map__preview, .map.is-live .map__load, .map.is-live .map__badge { display: none; }
/* Vista aérea anotada: la imagen ya trae sus etiquetas; el botón va arriba a la derecha para no tapar la parcela */
.map--aerial .map__preview { filter: none; }
.map--aerial .map__badge { display: none; }
.map--aerial .map__load, .map--aerial .map__load:hover { left: auto; right: 14px; top: 14px; transform: none; min-height: 44px; padding: 0 16px; font-size: 14.5px; }
.map__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.distances { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.distances li { display: grid; grid-template-columns: 30px 1fr auto; gap: 14px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.distances .ic { color: var(--forest-2); }
.distances b { font-weight: 700; }
.distances small { display: block; color: var(--ink-3); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.distances .t { font: 400 28px/1 var(--serif); white-space: nowrap; }
.travel { display: flex; gap: 14px; margin-top: 24px; padding: 20px; border-radius: var(--radius-sm); background: var(--card); box-shadow: var(--shadow); font-size: 15.5px; color: var(--ink-2); }
.travel .ic { color: var(--wood); margin-top: 2px; }
.travel strong { color: var(--ink); }

/* La isla (tiras de fotos) */
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 76%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.strip::-webkit-scrollbar { display: none; }
.tile { position: relative; margin: 0; scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; background: #203028; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(8, 14, 11, .78)); font-weight: 700; font-size: 17px; line-height: 1.3; }
.tile figcaption span { display: block; font-weight: 500; font-size: 14px; opacity: .88; margin-top: 4px; }
@media (min-width: 900px) {
  .strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
}

/* Tarjetas */
.cards { display: grid; gap: 16px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { border-radius: var(--radius); padding: 28px; background: var(--card); box-shadow: var(--shadow); }
.card > .ic { width: 34px; height: 34px; color: var(--wood); }
.card h3 { font-size: 30px; margin: 18px 0 10px; }
.card p { color: var(--ink-2); font-size: 16px; }
.section--dark .card { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.section--dark .card > .ic { color: var(--sand); }
.section--dark .card p { color: rgba(241, 239, 232, .8); }
.card__stat { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.card__stat b { font: 400 44px/1 var(--serif); color: #fff; }
.card__stat span { font-size: 14px; color: rgba(241, 239, 232, .7); }
.card__src { display: block; margin-top: 12px; font-size: 12.5px; color: rgba(241, 239, 232, .7); }

/* Ideas (parcela) */
.ideas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.idea { background: var(--card); border-radius: var(--radius-sm); padding: 22px 18px; box-shadow: var(--shadow); }
.idea:last-child:nth-child(odd) { grid-column: span 2; }
.idea .ic { width: 30px; height: 30px; color: var(--wood); }
.idea h3 { font: 700 16.5px/1.3 var(--sans); margin: 14px 0 6px; }
.idea p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
@media (min-width: 960px) {
  .ideas { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .idea:last-child:nth-child(odd) { grid-column: auto; }
}
.fine { margin-top: 20px; font-size: 14px; color: var(--ink-3); }

/* Video con dron */
.video-slot { position: relative; margin-bottom: 12px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #203028; color: #fff; }
.video-slot img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.68); }
.video-slot__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--forest); display: grid; place-items: center; }
.video-slot__play .ic { width: 30px; height: 30px; margin-left: 4px; }
.video-slot__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; font-weight: 700; font-size: 17px; line-height: 1.3; }
.video-slot__cap span:not(.ph) { display: block; font-weight: 500; font-size: 14px; opacity: .88; margin-top: 2px; }
@media (min-width: 960px) { .video-slot { aspect-ratio: 21 / 8; margin-bottom: 12px; } }

/* Compra segura: dueño + papeles + pasos */
.trust { display: grid; gap: 20px; }
@media (min-width: 960px) { .trust { grid-template-columns: 1fr 1fr; gap: 28px; } }
.owner, .docs { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.owner { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: start; }
.owner__photo { width: 84px; height: 84px; border-radius: 50%; background: var(--paper-2); color: var(--forest-2); display: grid; place-items: center; overflow: hidden; }
.owner__photo .ic { width: 38px; height: 38px; }
.owner__photo--initials { background: var(--forest); color: #fff; font: 400 34px/1 var(--serif); letter-spacing: .02em; }
.owner__name { font: 400 30px/1.1 var(--serif); }
.owner__role { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.owner__quote { margin: 16px 0 0; font-size: 16px; color: var(--ink-2); }
.owner__meta { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14.5px; font-weight: 600; }
.owner__meta .ic { width: 18px; height: 18px; color: var(--wa); }
.owner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 520px) { .owner { grid-template-columns: 1fr; } }
.docs .spec-table { margin-top: 16px; }
@media (max-width: 600px) {
  .docs .spec-table { grid-template-columns: 1fr; }
  .docs .spec-table dt { border-bottom: 0; padding-bottom: 2px; }
  .docs .spec-table dd { text-align: left; padding-top: 0; }
}
.docs .btn { margin-top: 20px; }
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.steps li { position: relative; padding: 22px 22px 22px 72px; border-radius: var(--radius-sm); background: var(--paper-2); }
.steps li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 21px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: #fff;
  display: grid; place-items: center; font: 700 15px/1 var(--sans);
}
.steps strong { display: block; font-size: 16.5px; }
.steps p { font-size: 15px; color: var(--ink-2); margin-top: 4px; }

/* Revisión legal: abogado bienvenido + verificación + señales de alerta */
.legal { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 960px) { .legal { grid-template-columns: 1fr 1fr; gap: 28px; } }
.legal__card { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.legal__card--lead { background: var(--forest); color: #f1efe8; box-shadow: none; }
.legal__card--lead .h3 { color: #fff; }
.legal__card--lead p { color: rgba(241, 239, 232, .85); margin-top: 12px; }
.legal__card--lead .btn { margin-top: 20px; }
.legal__badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 700 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
.legal__badge .ic { width: 18px; height: 18px; }
.verify { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.verify li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15.5px; color: var(--ink-2); }
.verify .ic { width: 20px; height: 20px; color: var(--wa); margin-top: 2px; }
.verify strong { color: var(--ink); }
.verify a { color: var(--forest-2); font-weight: 700; text-underline-offset: 3px; }
.alert { margin-top: 20px; padding: 20px 22px; border-radius: var(--radius-sm); background: var(--card); border-left: 4px solid var(--wood); box-shadow: var(--shadow); }
.alert strong { display: block; margin-bottom: 6px; }
.alert p { font-size: 15px; color: var(--ink-2); }

/* Preguntas frecuentes */
.faq-wrap { display: grid; gap: 28px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px;
  padding: 22px 0; font: 700 17.5px/1.35 var(--sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex: none; margin: 6px 4px 0 0;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 11px; }
.faq details p { padding-bottom: 22px; color: var(--ink-2); max-width: 62ch; }

/* Venta cruzada */
.xsell { display: grid; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.xsell:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.xsell__media { aspect-ratio: 16 / 10; overflow: hidden; }
.xsell__media img { width: 100%; height: 100%; object-fit: cover; }
.xsell__body { padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.xsell__body h2 { font-size: clamp(28px, 3vw, 36px); }
.xsell__price { font: 400 30px/1 var(--serif); color: var(--wood); }
.xsell__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; color: var(--forest-2); }
.xsell__go .ic { width: 20px; height: 20px; transition: transform .2s; }
.xsell:hover .xsell__go .ic { transform: translateX(4px); }
@media (min-width: 760px) { .xsell { grid-template-columns: 380px 1fr; } .xsell__media { aspect-ratio: auto; min-height: 260px; } .xsell__body { padding: 40px; } }

/* Llamado final */
.cta-final { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; background: #13221b; }
.cta-final__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 20, 15, .64); }
.cta-final .h2 { margin-inline: auto; max-width: 16ch; }
.cta-final .lead { color: rgba(255, 255, 255, .88); margin-inline: auto; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.share {
  display: inline-block; max-width: 36ch; margin-top: 28px; padding: 8px 4px;
  background: none; border: 0; color: rgba(255, 255, 255, .86); font: 500 15px/1.5 var(--sans); cursor: pointer; text-wrap: balance;
}
.share u { text-underline-offset: 3px; font-weight: 700; color: #fff; white-space: nowrap; }
.share .ic { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }

/* Hub: dos ofertas */
.offers { display: grid; gap: 20px; }
@media (min-width: 900px) { .offers { grid-template-columns: 1fr 1fr; gap: 28px; } }
.offer { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.offer__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.offer:hover .offer__media img { transform: scale(1.04); }
.offer__tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 7px 12px; border-radius: 999px; background: rgba(255, 253, 249, .95); font: 700 12.5px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.offer__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 26px; }
.offer__body h2 { font-size: clamp(30px, 3.4vw, 40px); }
.offer__price { font: 400 46px/1 var(--serif); color: var(--forest); }
.offer__body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--ink-2); }
.offer__body li { display: flex; gap: 10px; align-items: flex-start; }
.offer__body li .ic { width: 20px; height: 20px; color: var(--wa); margin-top: 3px; }
.offer__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--forest-2); }
.offer__go .ic { width: 20px; height: 20px; transition: transform .2s; }
.offer:hover .offer__go .ic { transform: translateX(4px); }

/* Pie de página */
.footer { background: #111915; color: rgba(241, 239, 232, .72); padding: 52px 0 128px; font-size: 15px; }
.footer a { color: #fff; }
.footer__grid { display: grid; gap: 28px; }
.footer .brand { color: #fff; }
.footer .brand small { opacity: 1; color: rgba(241, 239, 232, .72); }
.footer__contact { margin-top: 14px; }
.footer small { display: block; font-size: 13px; line-height: 1.65; max-width: 70ch; color: rgba(241, 239, 232, .55); }
@media (min-width: 960px) { .footer { padding-bottom: 52px; } .footer__grid { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 64px; } }

/* Barra fija con precio y WhatsApp */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) 18px;
  background: rgba(255, 253, 249, .97); box-shadow: 0 -8px 28px rgba(22, 32, 27, .14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(115%); visibility: hidden; transition: transform .35s ease, visibility .35s;
}
.show-sticky .stickybar { transform: none; visibility: visible; }
.stickybar__info { flex: 1; min-width: 0; line-height: 1.2; }
.stickybar__price { display: block; font: 400 25px/1 var(--serif); }
.stickybar__sub { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar .btn { min-height: 48px; padding: 0 20px; }
@media (min-width: 960px) {
  .stickybar { left: auto; right: 24px; bottom: 24px; width: 440px; padding: 8px 8px 8px 26px; border-radius: 999px; box-shadow: var(--shadow-lg); }
}

/* Visor de fotos */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 12, 10, .96); color: #fff; }
.lightbox::backdrop { background: rgba(8, 12, 10, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 64px 16px 24px; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox figcaption { font-size: 15px; color: rgba(255, 255, 255, .82); text-align: center; }
.lightbox__count { font-weight: 700; margin-right: 8px; color: #fff; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; } }
