/* =========================================================
   YADUX INMOBILIARIA · Estilos
   ========================================================= */
:root {
  --brand: #0e9f6e;
  --brand-d: #0a7a54;
  --brand-dd: #0b3b2c;
  --mint: #e3f6ec;
  --mint-2: #c9eedb;
  --lime: #d7f36a;
  --sun: #ffb938;
  --violet: #7c3aed;
  --bg: #f7f8f3;
  --tint: #eef4ea;
  --card: #ffffff;
  --ink: #10231c;
  --ink-2: #4a5d55;
  --ink-3: #7d8c85;
  --line: rgba(16, 35, 28, .1);
  --dark: #0d2a20;

  --f: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1280px;
  --gut: clamp(1rem, .5rem + 2.4vw, 2.5rem);
  --r: 24px;
  --r-sm: 14px;
  --e: cubic-bezier(.16, 1, .3, 1);
  --hh: 72px;
  --sh: 0 1px 2px rgba(16, 35, 28, .05), 0 16px 40px -18px rgba(16, 35, 28, .25);
  --sh-lg: 0 30px 80px -20px rgba(16, 35, 28, .35);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 12px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: clamp(.95rem, .92rem + .15vw, 1.02rem); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(3.5rem, 2.5rem + 4.5vw, 7rem); }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--dark); color: #eaf3ee; }
.sec__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.sec__head > p { max-width: 42ch; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.2rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; max-width: 18ch; margin-top: .5rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.eyebrow--lime { color: var(--lime); }
.muted { color: var(--ink-2); }
.muted-l { color: #b7cbc1; }
.note { font-size: .8rem; color: var(--ink-3); }
.sub { font-size: 1.05rem; font-weight: 800; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.2rem, 1rem + 1vw, 2rem); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .25s var(--e), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn--sm { min-height: 42px; padding: .55em 1.15em; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -10px rgba(14, 159, 110, .8); }
.btn--brand:hover { background: var(--brand-d); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--ghost { border-color: var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn.on { background: #fde8ec; color: #d12c4c; border-color: #f7c6d0; }
.ibtn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 1.3rem; line-height: 1; transition: transform .2s var(--e), background .2s; }
.ibtn:hover { transform: scale(1.06); }
.ibtn svg { width: 20px; height: 20px; }
.ibtn .dot { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #e5484d; color: #fff; font-size: .68rem; display: grid; place-items: center; transform: scale(0); transition: transform .35s var(--e); }
.ibtn .dot.has { transform: scale(1); }
.ibtn.pop { animation: pop .5s var(--e); }
@keyframes pop { 40% { transform: scale(1.25); } }
.link { border: 0; background: none; padding: 0; font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.link--light { color: inherit; text-decoration: none; font-weight: 500; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; height: var(--hh); background: rgba(247, 248, 243, .85); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); border-bottom: 1px solid transparent; transition: border-color .3s, transform .4s var(--e); }
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.5rem; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.logo svg { width: 38px; height: 38px; color: var(--brand); }
.logo span { display: grid; gap: .3rem; }
.logo small { display: block; font-size: .56rem; font-weight: 700; letter-spacing: .2em; line-height: 1; text-transform: uppercase; color: var(--ink-3); }
.logo--light { color: #fff; }
.logo--light small { color: #9fb8ad; }
.nav { display: flex; align-items: center; gap: .1rem; margin-left: 1rem; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; padding: .55rem .7rem; border-radius: 999px; font-weight: 600; font-size: .9rem; transition: background .2s, color .2s; }
.nav__link:hover, .nav__link.act { background: var(--mint); color: var(--brand-d); }
.chev { width: 14px; height: 14px; transition: transform .25s; }
.has-mega:hover .chev, .has-mega:focus-within .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 12px); left: -1rem; width: 640px; padding: 1rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .3s var(--e), visibility .2s; }
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: grid; grid-template-columns: 56px 1fr; gap: .8rem; align-items: center; padding: .5rem; border-radius: 14px; transition: background .2s; }
.mega a:hover { background: var(--mint); }
.mega img { width: 56px; height: 48px; border-radius: 10px; object-fit: cover; }
.mega b { display: block; font-size: .9rem; }
.mega small { color: var(--ink-3); font-size: .78rem; }
.mega .all { grid-column: 1 / -1; display: flex; justify-content: center; font-weight: 700; color: var(--brand); border-top: 1px solid var(--line); border-radius: 0; margin-top: .3rem; padding-top: .8rem; }
.hdr__act { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.kbtn { display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 .6rem 0 .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-3); font-size: .88rem; }
.kbtn svg { width: 18px; height: 18px; }
kbd { font-family: inherit; font-size: .7rem; font-weight: 700; padding: .15rem .45rem; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-3); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .3s var(--e), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }
.mmenu { position: fixed; inset: var(--hh) 0 0; z-index: 59; background: var(--bg); padding: 1rem var(--gut) 6rem; display: grid; align-content: start; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .35s var(--e), visibility .25s; }
.mmenu a { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.menu-open .mmenu { opacity: 1; visibility: visible; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5rem); }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(215, 243, 106, .55), transparent 65%); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.hero__copy { display: grid; gap: 1.3rem; }
.pill { justify-self: start; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .82rem; box-shadow: var(--sh); }
.pill svg { width: 16px; height: 16px; color: var(--brand); }
h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.9rem); line-height: 1; letter-spacing: -.05em; font-weight: 800; }
.hl { position: relative; color: var(--brand); white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .3em; background: var(--lime); z-index: -1; border-radius: 6px; transform-origin: left; animation: hl 1s .4s var(--e) both; }
@keyframes hl { from { transform: scaleX(0); } }
.lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem); color: var(--ink-2); max-width: 50ch; }
.finder { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: .4rem; padding: .45rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); }
.finder label { display: grid; padding: .45rem .9rem; border-radius: 16px; cursor: pointer; transition: background .2s; }
.finder label:hover { background: var(--bg); }
.finder span { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.finder select { border: 0; background: none; padding: 0; font-weight: 700; outline: none; appearance: none; cursor: pointer; }
.finder .btn { border-radius: 16px; min-height: 100%; }
.hero__trust { display: flex; align-items: center; gap: .9rem; font-size: .92rem; color: var(--ink-2); }
.avatars { display: flex; }
.avatars img { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--bg); object-fit: cover; margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }

/* Spotlight */
.spot { position: relative; aspect-ratio: 4 / 4.4; border-radius: 32px; overflow: hidden; box-shadow: var(--sh-lg); isolation: isolate; background: var(--mint); }
.spot__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--e); }
.spot__slide.on { opacity: 1; z-index: 1; }
.spot__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s linear; }
.spot__slide.on img { transform: scale(1); }
.spot__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13, 42, 32, .85)); }
.spot__info { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 1rem; color: #fff; }
.spot__info h3 { font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.1; }
.spot__info p { opacity: .85; font-size: .9rem; }
.spot__price { text-align: right; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .25); border-radius: 16px; padding: .6rem .9rem; }
.spot__price small { display: block; font-size: .7rem; opacity: .85; }
.spot__price b { font-size: 1.2rem; }
.spot__badge { position: absolute; top: 1.1rem; left: 1.1rem; z-index: 3; }
.spot__nav { position: absolute; top: 1.1rem; right: 1.1rem; z-index: 3; display: flex; gap: .35rem; }
.spot__nav button { width: 28px; height: 6px; border-radius: 6px; border: 0; background: rgba(255, 255, 255, .45); padding: 0; overflow: hidden; position: relative; }
.spot__nav button i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.spot__nav button.on i { animation: fill 5s linear forwards; }
.spot:hover .spot__nav button.on i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.spot__cta { position: absolute; inset: 0; z-index: 2; border: 0; background: none; padding: 0; }

.badge { display: inline-flex; align-items: center; gap: .35em; padding: .32em .75em; border-radius: 999px; font-size: .72rem; font-weight: 800; color: #fff; background: var(--c, var(--brand)); white-space: nowrap; }
.badge--soft { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.badge--verde { background: var(--lime); color: var(--brand-dd); }
.badge svg { width: 12px; height: 12px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { padding: 1.4rem 1.5rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: grid; gap: .1rem; }
.stat b { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -.04em; line-height: 1.1; color: var(--brand-d); }
.stat span { color: var(--ink-2); font-size: .88rem; }

/* ---------- Filtros ---------- */
.filters { position: sticky; top: calc(var(--hh) + 8px); z-index: 20; display: grid; gap: .8rem; padding: 1rem; margin-bottom: 1.4rem; border-radius: 22px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--sh); transition: padding .3s; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; }
.filters__foot { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .88rem; transition: background .2s, color .2s, border-color .2s, transform .2s var(--e); }
.chip:hover { border-color: var(--brand); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { font-weight: 700; opacity: .6; }
.chips--sm .chip { padding: .38rem .8rem; font-size: .8rem; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.seg { display: inline-flex; gap: .2rem; padding: .25rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: .45rem .9rem; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--ink-2); transition: background .2s, color .2s; white-space: nowrap; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(16, 35, 28, .12); }
.seg--lg button { padding: .65rem 1.2rem; font-size: .92rem; }
.seg--full { display: flex; width: 100%; }
.seg--full button { flex: 1; }
.range { display: grid; gap: .1rem; min-width: 210px; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.range output { color: var(--ink); }
input[type="range"] { width: 100%; accent-color: var(--brand); height: 24px; cursor: pointer; }
.tgl { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .88rem; cursor: pointer; user-select: none; }
.tgl input { position: absolute; opacity: 0; pointer-events: none; }
.tgl i { width: 40px; height: 24px; border-radius: 12px; background: #d5ddd8; position: relative; transition: background .25s; flex: none; }
.tgl i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s var(--e); }
.tgl input:checked + i { background: var(--brand); }
.tgl input:checked + i::after { transform: translateX(16px); }
.tgl input:focus-visible + i { outline: 3px solid var(--sun); outline-offset: 2px; }
.tgl input:disabled + i { opacity: .6; }
.sel { min-height: 40px; padding: .4rem 2.2rem .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234a5d55' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right .9rem center; appearance: none; font-weight: 700; font-size: .85rem; margin-left: auto; cursor: pointer; }
.view-toggle { display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.view-toggle button { display: inline-flex; align-items: center; gap: .4rem; border: 0; background: none; padding: .5rem 1rem; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--ink-2); }
.view-toggle svg { width: 17px; height: 17px; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- Tarjeta de proyecto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; }
.pc { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--e), box-shadow .45s var(--e); animation: in .55s var(--e) both; }
.pc:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
@keyframes in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.pc__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint); }
.pc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--e); }
.pc:hover .pc__media img { transform: scale(1.07); }
.pc__top { position: absolute; top: .8rem; left: .8rem; right: .8rem; display: flex; justify-content: space-between; align-items: start; gap: .5rem; z-index: 2; }
.pc__badges { display: flex; flex-wrap: wrap; gap: .35rem; }
.fav { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink); transition: transform .25s var(--e), color .2s; backdrop-filter: blur(6px); }
.fav svg { width: 20px; height: 20px; }
.fav:hover { transform: scale(1.12); }
.fav.on { color: #e5484d; }
.fav.on svg { animation: pop .45s var(--e); }
.pc__stock { position: absolute; left: .8rem; bottom: .8rem; z-index: 2; padding: .3rem .7rem; border-radius: 999px; background: rgba(13, 42, 32, .78); color: #fff; font-size: .75rem; font-weight: 700; backdrop-filter: blur(6px); }
.pc__stock.low { background: #e5484d; }
.pc__body { padding: 1.1rem 1.2rem 1.2rem; display: grid; gap: .7rem; flex: 1; }
.pc__loc { display: flex; align-items: center; gap: .3rem; font-size: .82rem; color: var(--ink-3); font-weight: 600; }
.pc__loc svg { width: 15px; height: 15px; color: var(--brand); }
.pc h3 { font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.15; }
.pc__type { font-size: .85rem; color: var(--ink-2); }
.pc__specs { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.pc__specs span { display: inline-flex; align-items: center; gap: .3rem; }
.pc__specs svg { width: 16px; height: 16px; color: var(--brand); }
.pc__progress { display: grid; gap: .25rem; font-size: .75rem; font-weight: 700; color: var(--ink-3); }
.bar { height: 6px; border-radius: 6px; background: var(--bg); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand), var(--lime)); width: 0; transition: width 1.2s var(--e); }
.pc__foot { display: flex; align-items: end; justify-content: space-between; gap: .8rem; padding-top: .8rem; border-top: 1px dashed var(--line); margin-top: auto; }
.price small { display: block; font-size: .72rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.price b { font-size: 1.35rem; letter-spacing: -.03em; }
.price em { display: block; font-style: normal; font-size: .82rem; font-weight: 700; color: var(--brand-d); }
.pc__acts { display: flex; gap: .4rem; }
.cmp-tgl { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; color: var(--ink-2); cursor: pointer; padding: .4rem .6rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; position: relative; z-index: 2; }
.cmp-tgl input { accent-color: var(--brand); width: 15px; height: 15px; margin: 0; }
.pc__open { position: absolute; inset: 0; z-index: 1; border: 0; background: none; padding: 0; }
.pc .fav, .pc .cmp-tgl { position: relative; z-index: 3; }
.empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; border: 2px dashed var(--line); border-radius: var(--r); display: grid; gap: .8rem; justify-items: center; }
.empty b { font-size: 1.2rem; }

/* ---------- Vista mapa ---------- */
.mapv { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; align-items: start; }
.mapv__map { position: sticky; top: calc(var(--hh) + 1rem); padding: 0; overflow: hidden; background: #e8f1f4; }
.mapv__map svg { display: block; width: 100%; height: auto; }
.mapv__note { position: absolute; right: 12px; bottom: 10px; font-size: .72rem; font-weight: 700; color: var(--ink-3); }
.d-shape { fill: #fff; stroke: #cfdad3; stroke-width: 2; transition: fill .25s; cursor: pointer; }
.d-shape:hover, .d-shape.on { fill: var(--mint-2); }
.d-label { font: 800 13px var(--f); fill: var(--ink-2); pointer-events: none; text-anchor: middle; }
.pin { cursor: pointer; }
.pin circle.halo { fill: var(--brand); opacity: .25; transform-box: fill-box; transform-origin: center; animation: halo 2s infinite; }
.pin circle.core { fill: var(--brand); stroke: #fff; stroke-width: 3; transition: r .2s; }
.pin text { font: 800 11px var(--f); fill: #fff; text-anchor: middle; pointer-events: none; }
.pin.dim { opacity: .25; }
.pin.on circle.core { fill: var(--ink); }
@keyframes halo { 0% { transform: scale(.8); opacity: .5; } 100% { transform: scale(2.2); opacity: 0; } }
.mapv__list { display: grid; gap: .6rem; }
.mrow { display: grid; grid-template-columns: 84px 1fr auto; gap: .9rem; align-items: center; padding: .55rem; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); text-align: left; transition: border-color .2s, transform .25s var(--e); width: 100%; }
.mrow:hover, .mrow.on { border-color: var(--brand); transform: translateX(4px); }
.mrow img { width: 84px; height: 70px; border-radius: 12px; object-fit: cover; }
.mrow b { display: block; }
.mrow small { color: var(--ink-3); font-size: .8rem; }
.mrow .p { font-weight: 800; font-size: .95rem; text-align: right; }

/* ---------- Barra comparador ---------- */
.cmpbar { position: fixed; left: 50%; bottom: 20px; z-index: 55; translate: -50% 140%; display: flex; align-items: center; gap: .8rem; padding: .6rem .6rem .6rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--sh-lg); transition: translate .5s var(--e); max-width: calc(100% - 24px); }
.cmpbar:not(.show) { visibility: hidden; translate: -50% calc(100% + 120px); transition: translate .5s var(--e), visibility 0s .5s; }
.cmpbar.show { translate: -50% 0; }
.btn:disabled { opacity: .4; pointer-events: none; }
.sec--dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.sec--dark .btn--ghost:hover { border-color: #fff; }
.cmpbar__items { display: flex; }
.cmpbar__items img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); margin-left: -8px; }
.cmpbar__items img:first-child { margin-left: 0; }
.cmpbar span { font-size: .88rem; font-weight: 700; white-space: nowrap; }
.cmpbar .btn { min-height: 40px; }
.cmpbar .x { border: 0; background: none; color: #9fb8ad; font-weight: 700; font-size: .85rem; }

/* ---------- Modales ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.modal__bg { position: absolute; inset: 0; background: rgba(13, 42, 32, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .3s both; }
.modal__panel { position: relative; width: min(980px, 100%); max-height: calc(100dvh - 2rem); overflow-y: auto; background: #fff; border-radius: 28px; box-shadow: var(--sh-lg); animation: up .45s var(--e) both; overscroll-behavior: contain; }
.modal__panel--xl { width: min(1180px, 100%); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.modal--top { place-items: start center; padding-top: 12vh; }
.modal--side { place-items: stretch end; padding: 0; }
.x-btn { position: sticky; top: 1rem; margin: 1rem 1rem -3.75rem auto; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--sh); }
.x-btn svg { width: 20px; height: 20px; }

/* Detalle proyecto */
.pd__gal { position: relative; height: clamp(260px, 42vw, 460px); background: var(--mint); overflow: hidden; border-radius: 28px 28px 0 0; }
.pd__track { display: flex; height: 100%; transition: transform .6s var(--e); touch-action: pan-y; }
.pd__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.pd__gnav { position: absolute; inset: auto 1rem 1rem; display: flex; justify-content: space-between; align-items: center; }
.pd__gnav .ibtn { background: rgba(255, 255, 255, .9); border: 0; }
.pd__thumbs { display: flex; gap: .35rem; }
.pd__thumbs button { width: 52px; height: 40px; padding: 0; border-radius: 9px; overflow: hidden; border: 2px solid transparent; opacity: .7; transition: opacity .2s, border-color .2s; }
.pd__thumbs button.on { border-color: #fff; opacity: 1; }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__body { padding: clamp(1.2rem, 1rem + 1.5vw, 2.4rem); display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.pd__head { display: grid; gap: .6rem; }
.pd__head h2 { margin: 0; max-width: none; }
.pd__badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.pd__tabs { margin: 1.4rem 0 1.1rem; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pd__tabs::-webkit-scrollbar { display: none; }
.pd__panel { animation: in .4s var(--e) both; }
.typs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .6rem; }
.typ { text-align: left; padding: 1rem; border-radius: 16px; border: 2px solid var(--line); background: #fff; display: grid; gap: .2rem; transition: border-color .2s, background .2s; }
.typ[aria-pressed="true"] { border-color: var(--brand); background: var(--mint); }
.typ b { font-size: 1rem; }
.typ small { color: var(--ink-3); font-weight: 600; }
.typ em { font-style: normal; font-weight: 800; color: var(--brand-d); }
.plan { margin-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; padding: 1rem; border-radius: 18px; background: var(--bg); }
.plan svg { width: 100%; height: auto; }
.plan rect { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.plan rect.w { fill: #e8f4fb; }
.plan rect.t { fill: var(--mint); stroke-dasharray: 5 4; }
.plan text { font: 700 10px var(--f); fill: var(--ink-2); text-anchor: middle; }
.plan__info { display: grid; gap: .4rem; font-size: .9rem; }
.plan__info b { font-size: 1.6rem; letter-spacing: -.03em; }
.timeline { display: grid; gap: 0; margin-top: 1rem; }
.tl { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; padding-bottom: 1.1rem; position: relative; }
.tl::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; }
.tl i svg { width: 14px; height: 14px; color: #fff; }
.tl.done i { background: var(--brand); border-color: var(--brand); }
.tl.now i { border-color: var(--sun); box-shadow: 0 0 0 5px rgba(255, 185, 56, .25); }
.tl b { display: block; }
.tl small { color: var(--ink-3); }
.amen { display: flex; flex-wrap: wrap; gap: .5rem; }
.amen span { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: 999px; background: var(--bg); font-weight: 600; font-size: .88rem; }
.amen svg { width: 16px; height: 16px; color: var(--brand); }
.near { display: grid; gap: .5rem; margin-top: 1rem; }
.near li { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.near svg { width: 18px; height: 18px; color: var(--brand); }
.pd__aside { position: sticky; top: 1rem; display: grid; gap: .8rem; padding: 1.3rem; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); }
.pd__aside .price b { font-size: 2rem; }
.pd__mini { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.pd__mini div { padding: .7rem; border-radius: 12px; background: #fff; }
.pd__mini span { display: block; font-size: .7rem; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.pd__mini b { font-size: 1rem; }
.pd__body > * { min-width: 0; }
.pd__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pd__row .btn { flex: 1 1 auto; padding-inline: .9em; }

/* Comparador */
.cmp { padding: clamp(1.2rem, 1rem + 1.5vw, 2rem); }
.cmp h2 { margin: 0 0 1.2rem; }
.cmp__wrap { overflow-x: auto; }
.cmp table { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: .75rem .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .92rem; }
.cmp th { width: 150px; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.cmp thead td img { width: 100%; height: 110px; object-fit: cover; border-radius: 14px; margin-bottom: .5rem; }
.cmp thead td b { font-size: 1.1rem; }
.cmp .best { color: var(--brand-d); font-weight: 800; }
.cmp .best::after { content: " ★"; color: var(--sun); }

/* Buscador */
.cmdk { position: relative; width: min(640px, 100%); background: #fff; border-radius: 22px; box-shadow: var(--sh-lg); overflow: hidden; animation: up .35s var(--e) both; }
.cmdk__in { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.cmdk__in svg { width: 22px; height: 22px; color: var(--ink-3); }
.cmdk__in input { flex: 1; border: 0; outline: none; font-size: 1.1rem; font-weight: 600; background: none; min-width: 0; }
.cmdk__list { max-height: 50vh; overflow-y: auto; padding: .5rem; }
.cmdk__list li { display: flex; align-items: center; gap: .8rem; padding: .65rem .8rem; border-radius: 12px; cursor: pointer; }
.cmdk__list li[aria-selected="true"] { background: var(--mint); }
.cmdk__list img { width: 44px; height: 36px; border-radius: 8px; object-fit: cover; }
.cmdk__list .ic { width: 44px; height: 36px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; }
.cmdk__list .ic svg { width: 18px; height: 18px; color: var(--brand); }
.cmdk__list b { display: block; font-size: .95rem; }
.cmdk__list small { color: var(--ink-3); }
.cmdk__list .grp { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: .7rem .8rem .3rem; cursor: default; }
.cmdk__list mark { background: var(--lime); border-radius: 3px; color: inherit; }

/* Favoritos (lateral) */
.side { position: relative; width: min(440px, 100%); height: 100dvh; background: #fff; display: grid; grid-template-rows: auto 1fr; animation: slide .45s var(--e) both; }
@keyframes slide { from { transform: translateX(100%); } }
.side__h { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.side__h h3 { font-size: 1.3rem; }
.side__b { overflow-y: auto; padding: 1.2rem 1.4rem; display: grid; gap: .7rem; align-content: start; }
.fitem { display: grid; grid-template-columns: 72px 1fr auto; gap: .8rem; align-items: center; padding: .5rem; border-radius: 16px; border: 1px solid var(--line); }
.fitem img { width: 72px; height: 60px; border-radius: 10px; object-fit: cover; }
.fitem b { display: block; }
.fitem small { color: var(--ink-3); }

/* ---------- Quiz ---------- */
.quiz { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.quiz__intro { display: grid; gap: 1rem; }
.quiz__dots { display: flex; gap: .4rem; }
.quiz__dots i { width: 34px; height: 6px; border-radius: 6px; background: var(--mint-2); transition: background .3s; }
.quiz__dots i.on { background: var(--brand); }
.quiz__card { min-height: 380px; display: grid; align-content: start; gap: 1rem; box-shadow: var(--sh); }
.q__n { font-size: .78rem; font-weight: 800; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; }
.q__t { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.q__opts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.q__opt { display: flex; align-items: center; gap: .7rem; text-align: left; padding: 1rem; border-radius: 16px; border: 2px solid var(--line); background: #fff; font-weight: 700; transition: border-color .2s, background .2s, transform .25s var(--e); animation: in .45s var(--e) both; }
.q__opt:hover { border-color: var(--brand); transform: translateY(-2px); }
.q__opt.sel { border-color: var(--brand); background: var(--mint); }
.q__opt .em { font-size: 1.5rem; }
.q__back { justify-self: start; }
.res { display: grid; gap: .6rem; }
.res__item { display: grid; grid-template-columns: 76px 1fr auto; gap: .9rem; align-items: center; padding: .55rem; border-radius: 16px; border: 1.5px solid var(--line); text-align: left; background: #fff; width: 100%; animation: in .5s var(--e) both; transition: border-color .2s; }
.res__item:hover { border-color: var(--brand); }
.res__item img { width: 76px; height: 64px; border-radius: 12px; object-fit: cover; }
.ring { --p: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--mint) 0); font-weight: 800; font-size: .82rem; position: relative; }
.ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.ring span { position: relative; }

/* ---------- Calculadoras ---------- */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.2rem; align-items: start; }
.calc__in { display: grid; gap: 1.3rem; }
.rng { display: grid; gap: .3rem; }
.rng > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.rng span { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.rng output { font-weight: 800; font-size: 1.05rem; }
.calc__out { display: grid; gap: 1rem; background: linear-gradient(160deg, #fff 40%, var(--mint)); }
.lbl { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.big { font-size: clamp(2.6rem, 2rem + 2.5vw, 4rem); line-height: 1; letter-spacing: -.05em; font-weight: 800; color: var(--brand-dd); }
.big.bump { animation: bumpT .5s var(--e); }
@keyframes bumpT { 35% { transform: scale(1.04); color: var(--brand); } }
.gauge { height: 12px; border-radius: 12px; background: var(--mint-2); overflow: hidden; }
.gauge i { display: block; height: 100%; width: 0; border-radius: 12px; background: linear-gradient(90deg, var(--brand), var(--lime)); transition: width .6s var(--e); }
.gauge--lime { background: rgba(255, 255, 255, .12); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .5rem; }
.kpis div { padding: .75rem .85rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.kpis span { display: block; font-size: .7rem; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.kpis b { font-size: 1.05rem; }
.fit { display: flex; flex-wrap: wrap; gap: .45rem; }
.fit button { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem .45rem .45rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .85rem; animation: in .4s var(--e) both; transition: border-color .2s; }
.fit button:hover { border-color: var(--brand); }
.fit img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.fit .no { opacity: .45; text-decoration: line-through; }
.fld { display: grid; gap: .35rem; }
.fld > span { font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: .7rem 1rem; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; min-height: 96px; }
.fld select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234a5d55' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 1rem center; padding-right: 2.6rem; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 159, 110, .15); }
.fld.bad input, .fld.bad textarea { border-color: #e5484d; }
.stack-bar { display: flex; height: 18px; border-radius: 10px; overflow: hidden; background: var(--mint-2); }
.stack-bar i { display: block; height: 100%; transition: width .6s var(--e); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--c); margin-right: .4em; vertical-align: -1px; }

/* ---------- Cómo comprar ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin-bottom: 1.5rem; counter-reset: s; }
.step { position: relative; text-align: left; padding: 1rem; border-radius: 18px; border: 1.5px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #eaf3ee; display: grid; gap: .5rem; transition: background .25s, border-color .25s, transform .3s var(--e); }
.step:hover { transform: translateY(-3px); }
.step[aria-selected="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.step svg { width: 24px; height: 24px; }
.step b { font-size: .92rem; line-height: 1.2; }
.step small { font-size: .7rem; font-weight: 800; letter-spacing: .1em; opacity: .7; }
.howto { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.2rem; }
.howto__detail { padding: 2rem; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 1rem; align-content: start; }
.howto__detail h3 { font-size: 1.8rem; letter-spacing: -.03em; }
.howto__detail p { color: #b7cbc1; font-size: 1.05rem; }
.howto__detail .navs { display: flex; gap: .5rem; margin-top: .5rem; }
.howto__docs { padding: 1.6rem; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: grid; gap: .9rem; align-content: start; }
.docs__h { display: flex; justify-content: space-between; align-items: baseline; }
.docs__h h3 { font-size: 1.1rem; }
.docs__h span { font-weight: 800; color: var(--lime); }
.docs { display: grid; gap: .4rem; }
.docs label { display: flex; gap: .7rem; align-items: center; padding: .65rem .8rem; border-radius: 12px; cursor: pointer; transition: background .2s; }
.docs label:hover { background: rgba(255, 255, 255, .06); }
.docs input { position: absolute; opacity: 0; }
.docs .bx { width: 22px; height: 22px; border-radius: 7px; border: 2px solid rgba(255, 255, 255, .35); display: grid; place-items: center; transition: background .2s, border-color .2s; flex: none; }
.docs .bx svg { width: 14px; height: 14px; color: var(--ink); transform: scale(0); transition: transform .3s var(--e); }
.docs input:checked + .bx { background: var(--lime); border-color: var(--lime); }
.docs input:checked + .bx svg { transform: scale(1); }
.docs input:checked ~ span { text-decoration: line-through; opacity: .6; }
.docs input:focus-visible + .bx { outline: 3px solid var(--sun); outline-offset: 2px; }

/* ---------- Beneficios ---------- */
.ben-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ben { padding: 1.5rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: grid; gap: .6rem; align-content: start; animation: in .5s var(--e) both; transition: transform .35s var(--e), box-shadow .35s; }
.ben:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.ben .n { width: 44px; height: 44px; border-radius: 14px; background: var(--mint); color: var(--brand-d); display: grid; place-items: center; font-weight: 800; }
.ben h3 { font-size: 1.1rem; }
.ben-com { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.2rem; align-items: stretch; }
.ben-com__img { border-radius: var(--r); overflow: hidden; min-height: 320px; }
.ben-com__img img { width: 100%; height: 100%; object-fit: cover; }
.ben-com__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ben-com__stats div { padding: 1.4rem; border-radius: var(--r); background: var(--mint); display: grid; align-content: end; }
.ben-com__stats b { font-size: 2.4rem; letter-spacing: -.04em; color: var(--brand-dd); line-height: 1; }
.ref { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: center; }
.ref__out { padding: 2rem; border-radius: var(--r); background: var(--ink); color: #fff; display: grid; gap: .8rem; }
.ref__out .big { color: var(--lime); }
.ref__people { display: flex; flex-wrap: wrap; gap: .3rem; min-height: 40px; }
.ref__people i { width: 34px; height: 34px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; animation: pop .4s var(--e) both; }
.ref__people svg { width: 18px; height: 18px; color: var(--ink); }

/* ---------- Testimonios ---------- */
.tst { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .5rem .2rem 1rem; }
.tst::-webkit-scrollbar { display: none; }
.tcard { flex: 0 0 min(380px, 85%); scroll-snap-align: start; padding: 1.6rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: grid; gap: 1rem; align-content: space-between; transition: transform .4s var(--e), box-shadow .4s; }
.tcard.on { transform: translateY(-6px); box-shadow: var(--sh); }
.tcard q { font-size: 1.05rem; font-weight: 600; line-height: 1.55; quotes: "“" "”"; }
.stars { display: flex; gap: 2px; color: var(--sun); }
.stars svg { width: 18px; height: 18px; }
.stars .off { color: #e1e6e3; }
.who { display: flex; align-items: center; gap: .8rem; }
.who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.who small { display: block; color: var(--brand-d); font-weight: 700; }
.arrows { display: flex; gap: .5rem; }
.tdots { display: flex; justify-content: center; gap: .4rem; margin-top: .6rem; }
.tdots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; background: var(--mint-2); transition: width .3s var(--e), background .3s; }
.tdots button.on { width: 28px; background: var(--brand); }

/* ---------- Blog ---------- */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.post { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; transition: transform .4s var(--e), box-shadow .4s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--e); }
.post:hover img { transform: scale(1.06); }
.post__b { padding: 1.2rem; display: grid; gap: .5rem; }
.post__b small { color: var(--brand-d); font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.post__b h3 { font-size: 1.1rem; line-height: 1.3; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq > div:first-child { position: sticky; top: calc(var(--hh) + 1rem); display: grid; gap: 1rem; }
.sbox { display: flex; align-items: center; gap: .6rem; min-height: 52px; padding: 0 1rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); margin-top: .5rem; }
.sbox:focus-within { border-color: var(--brand); }
.sbox svg { width: 20px; height: 20px; color: var(--ink-3); }
.sbox input { flex: 1; border: 0; outline: none; background: none; min-width: 0; }
.faq__list { display: grid; gap: .6rem; }
.qa { border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.qa[open] { border-color: var(--brand); }
.qa summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--brand-d); display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s var(--e); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 1.3rem 1.2rem; color: var(--ink-2); }
.qa mark { background: var(--lime); border-radius: 3px; color: inherit; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact__side { display: grid; gap: 1rem; }
.clist { display: grid; gap: .7rem; margin: .5rem 0; }
.clist li { display: flex; gap: .7rem; align-items: center; font-weight: 600; }
.clist svg { width: 20px; height: 20px; color: var(--brand); }
.news { display: grid; gap: .6rem; padding: 1.3rem; border-radius: 20px; background: var(--mint); }
.news small { display: block; color: var(--ink-2); }
.news div { display: flex; gap: .4rem; }
.news input { flex: 1; min-width: 0; min-height: 42px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid transparent; background: #fff; }
.news input:focus { outline: none; border-color: var(--brand); }
.contact__card { display: grid; gap: 1.2rem; box-shadow: var(--sh); }
.form { display: grid; gap: 1rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.radios { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.radios label { position: relative; cursor: pointer; }
.radios input { position: absolute; opacity: 0; }
.radios b { display: block; text-align: center; padding: .7rem .4rem; border-radius: 12px; border: 1.5px solid var(--line); font-size: .88rem; transition: border-color .2s, background .2s; }
.radios input:checked + b { border-color: var(--brand); background: var(--mint); }
.radios input:focus-visible + b { outline: 3px solid var(--sun); outline-offset: 2px; }
.chk { display: flex; gap: .6rem; align-items: start; font-size: .85rem; color: var(--ink-2); }
.chk input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--brand); }

/* ---------- Footer ---------- */
.foot { background: var(--dark); color: #9fb8ad; padding-top: 4rem; }
.foot__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 3rem; }
.foot__brand { display: grid; gap: 1rem; align-content: start; }
.foot h4 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; }
.foot ul { display: grid; gap: .5rem; }
.foot a:hover, .foot .link--light:hover { color: #fff; }
.foot__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }

/* ---------- Flotantes ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .3s var(--e); }
.wa:hover { transform: scale(1.08) rotate(-8deg); }
.wa svg { width: 30px; height: 30px; }
.mbar { display: none; }
.toast { position: fixed; left: 50%; top: calc(var(--hh) + 12px); z-index: 130; translate: -50% -20px; padding: .8rem 1.2rem; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; box-shadow: var(--sh-lg); opacity: 0; pointer-events: none; transition: opacity .3s, translate .45s var(--e); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; translate: -50% 0; }
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(400px, calc(100% - 40px)); padding: 1.2rem; border-radius: 22px; background: #fff; box-shadow: var(--sh-lg); border: 1px solid var(--line); display: grid; gap: .8rem; font-size: .9rem; animation: up .5s var(--e) both; }
.cookie__prefs { display: grid; gap: .5rem; }
.cookie__btns { display: flex; align-items: center; gap: .5rem; justify-content: flex-end; }
.cookie__btns .link { margin-right: auto; }

/* Reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--e), transform .9s var(--e); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .kbtn span, .kbtn kbd { display: none; }
  .kbtn { width: 44px; padding: 0; justify-content: center; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .ben-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero__in, .quiz, .calc, .howto, .faq, .contact, .mapv, .ben-com, .ref { grid-template-columns: 1fr; }
  .spot { aspect-ratio: 16 / 12; }
  .pd__body { grid-template-columns: 1fr; }
  .pd__aside { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .blog { grid-template-columns: 1fr 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .faq > div:first-child, .mapv__map { position: static; }
  .filters { position: static; }
}
@media (max-width: 640px) {
  :root { --hh: 64px; }
  .kbtn span, .kbtn kbd, .hide-sm { display: none; }
  .kbtn { width: 44px; padding: 0; justify-content: center; }
  .finder { grid-template-columns: 1fr 1fr; }
  .finder label:first-child { grid-column: 1 / -1; }
  .finder .btn { grid-column: 1 / -1; min-height: 50px; }
  .spot { aspect-ratio: 4 / 4.2; border-radius: 24px; }
  .spot__info { flex-direction: column; align-items: start; }
  .spot__price { text-align: left; }
  .stats { gap: .6rem; }
  .stat { padding: 1rem; }
  .filters { padding: .8rem; }
  .filters__row { gap: .6rem; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -.8rem; padding-inline: .8rem; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .range { min-width: 100%; order: 5; }
  .sel { margin-left: 0; }
  .sec__head .seg, .view-toggle { width: 100%; }
  .sec__head .seg button, .view-toggle button { flex: 1; justify-content: center; }
  .seg--lg button { padding: .6rem .5rem; font-size: .82rem; white-space: normal; line-height: 1.2; }
  .q__opts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ben-grid, .blog, .row2, .ben-com__stats { grid-template-columns: 1fr; }
  .radios { grid-template-columns: 1fr 1fr 1fr; }
  .foot__top { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 1fr; }
  .modal { padding: 0; place-items: end center; }
  .modal__panel { max-height: 94dvh; border-radius: 24px 24px 0 0; }
  .pd__gal { border-radius: 24px 24px 0 0; }
  .modal--top { place-items: start center; padding: .8rem; }
  .modal--side { place-items: stretch end; }
  .wa { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a, .mbar button { display: grid; justify-items: center; gap: .1rem; padding: .5rem 0; border: 0; background: none; font-size: .7rem; font-weight: 700; }
  .mbar svg { width: 22px; height: 22px; color: var(--brand); }
  body { padding-bottom: 64px; }
  .cmpbar { bottom: 76px; }
  .cookie { left: 10px; bottom: 74px; width: calc(100% - 20px); }
  .mrow { grid-template-columns: 64px 1fr; }
  .mrow img { width: 64px; height: 56px; }
  .mrow .p { grid-column: 2; text-align: left; }
}
