/* Constructora Mi Kasa */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --line: #d2d2d7;
  --blue: #c4161c;
  --blue-hover: #a51016;
  --link: #c4161c;
  --dark: #0b0b0c;
  --dark-2: #161617;
  --dark-text: #f5f5f7;
  --dark-text-2: #a1a1a6;
  --link-dark: #ff5a61;
  --green: #1d9c50;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --max: 1080px;
  --max-wide: 1260px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent; font-optical-sizing: auto;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: rgba(196, 22, 28, 0.18); }
:focus-visible { outline: 3px solid rgba(196, 22, 28, 0.55); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: var(--max-wide); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 0.6rem 1rem; border-radius: 10px; }
.skip:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Type ---------- */
.headline {
  font-size: clamp(2.5rem, 6.2vw, 4.5rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700;
  margin: 0; text-wrap: balance;
}
.h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.07; letter-spacing: -0.03em; font-weight: 700;
  margin: 0; text-wrap: balance;
}
.h3 { font-size: clamp(1.5rem, 2.4vw, 1.75rem); line-height: 1.14; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
.lead { font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.33; letter-spacing: -0.015em; color: var(--text-2); margin: 0; font-weight: 500; text-wrap: pretty; }
.center { text-align: center; }
.section-head { display: grid; gap: 1rem; max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }

/* ---------- Links & buttons ---------- */
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2rem; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); }
.chev { display: inline-flex; align-items: center; gap: 0.15em; }
.chev::after { content: ""; width: 0.42em; height: 0.42em; border-right: 0.11em solid currentColor; border-top: 0.11em solid currentColor; transform: rotate(45deg); margin-left: 0.2em; transition: transform 200ms var(--ease); }
@media (hover: hover) { .chev:hover::after { transform: translateX(3px) rotate(45deg); } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45em;
  min-height: 44px; padding: 0.6em 1.25em; border-radius: 980px; border: 0;
  background: var(--blue); color: #fff; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 200ms ease, transform 160ms var(--ease), box-shadow 200ms ease;
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--sm { min-height: 36px; padding: 0.4em 1em; font-size: 0.9375rem; }
.btn--dark { background: var(--text); }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.btn--ghost:hover { background: rgba(196, 22, 28, 0.06); }

/* ---------- Glass nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 56px; }
.nav-brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: clamp(1rem, 2.6vw, 2.2rem); font-size: 0.8125rem; letter-spacing: -0.01em; }
.nav-links a { color: rgba(0, 0, 0, 0.8); white-space: nowrap; padding-block: 0.5rem; transition: color 200ms ease; }
.nav-links a:hover { color: #000; text-decoration: none; }
.nav .btn { font-size: 0.8125rem; min-height: 32px; padding: 0.35em 0.95em; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3rem, 7vw, 5.5rem); text-align: center; overflow: hidden; }
.hero-copy { display: grid; gap: 1.1rem; justify-items: center; }
.hero-brand { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; margin: 0; color: var(--text); }
.hero .lead { max-width: 36rem; }
.hero .links { margin-top: 0.4rem; }
.hero-media { margin: clamp(2.5rem, 5vw, 4rem) auto 0; max-width: var(--max-wide); padding: 0 var(--gutter); }
.hero-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-lg); }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1.5rem; }
.pill { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.45em 0.95em; border-radius: 980px; background: var(--bg-2); color: var(--text); font-size: 0.875rem; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section--gray { background: var(--bg-2); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--dark .lead { color: var(--dark-text-2); }
.section--dark a { color: var(--link-dark); }

/* segmented control */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 980px; background: rgba(0, 0, 0, 0.06); margin: 0 auto; }
.seg-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.seg button {
  border: 0; background: transparent; border-radius: 980px; padding: 0.55em 1.1em; min-height: 36px;
  font-size: 0.9375rem; font-weight: 500; color: var(--text); cursor: pointer;
  transition: background-color 240ms var(--ease), box-shadow 240ms var(--ease), color 200ms ease;
}
.seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.04); }
.seg-count { font-size: 0.875rem; color: var(--text-2); margin: 0; }

/* ---------- Project cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.card[hidden] { display: none; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); } }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
@media (hover: hover) { .card:hover .card-media img { transform: scale(1.03); } }
.card-media.plan { background: #fff; }
.card-media.plan img { object-fit: contain; padding: 8px; }
.card-label { position: absolute; left: 14px; top: 14px; padding: 0.3em 0.7em; border-radius: 980px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--text); }
.card-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.4rem 1.5rem 1.5rem; flex: 1; }
.card-kind { margin: 0; font-size: 0.8125rem; font-weight: 600; color: var(--blue); letter-spacing: -0.005em; }
.card-kind--vis { color: var(--text); }
.card h3 { margin: 0; font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.025em; font-weight: 600; }
.card-loc { margin: 0; font-size: 0.9375rem; color: var(--text-2); }
.specs { list-style: none; margin: 0.35rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.specs li { font-size: 0.8125rem; padding: 0.3em 0.7em; border-radius: 980px; background: var(--bg-2); color: var(--text); }
.card-text { margin: 0.2rem 0 0; font-size: 0.9375rem; color: var(--text-2); line-height: 1.45; }
.card-foot { margin-top: auto; padding-top: 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.price { margin: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.price small { display: block; font-size: 0.75rem; font-weight: 400; color: var(--text-2); letter-spacing: 0; }
.card-actions { display: flex; align-items: center; gap: 0.5rem; }
.save {
  width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--bg-2); color: var(--text); transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease);
}
.save:active { transform: scale(0.9); }
.save .icon { width: 18px; height: 18px; transition: transform 300ms var(--ease); }
.save[aria-pressed="true"] { background: var(--text); color: #fff; }
.save[aria-pressed="true"] .icon { transform: rotate(45deg); }
@media (hover: hover) { .save:hover { background: #e8e8ed; } .save[aria-pressed="true"]:hover { background: #000; } }

.card--wide { grid-column: 1 / -1; flex-direction: row; align-items: stretch; background: var(--text); color: #fff; }
.card--wide .card-body { padding: clamp(1.75rem, 4vw, 3rem); justify-content: center; gap: 0.8rem; }
.card--wide h3 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.card--wide .card-text { color: #a1a1a6; font-size: 1.0625rem; max-width: 34rem; }
.card--wide .card-foot { margin-top: 0.6rem; justify-content: flex-start; }
.cards-note { text-align: center; margin: 2rem auto 0; font-size: 0.875rem; color: var(--text-2); max-width: 40rem; }

/* ---------- Casa rentable (dark) ---------- */
.rentable-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.rentable-points { list-style: none; margin: 1.75rem 0 2rem; padding: 0; display: grid; gap: 1.1rem; }
.rentable-points li { display: grid; grid-template-columns: 28px 1fr; gap: 0.75rem; color: var(--dark-text-2); font-size: 1.0625rem; }
.rentable-points strong { color: var(--dark-text); font-weight: 600; }
.rentable-points .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--dark-text); }
.building { display: grid; gap: 10px; perspective: 1200px; }
.floor {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 1rem; width: 100%; text-align: left;
  padding: 1.1rem 1.25rem; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--dark-2); color: var(--dark-text); cursor: pointer;
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease);
}
@media (hover: hover) { .floor:hover { border-color: rgba(255, 255, 255, 0.28); } }
.floor:active { transform: scale(0.985); }
.floor-n { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--dark-text-2); transition: color 300ms ease; }
.floor-desc { font-size: 0.9375rem; color: var(--dark-text-2); line-height: 1.35; }
.floor-desc strong { display: block; color: var(--dark-text); font-weight: 600; font-size: 1.0625rem; }
.floor-state { font-size: 0.8125rem; font-weight: 600; padding: 0.35em 0.8em; border-radius: 980px; background: rgba(255, 255, 255, 0.08); color: var(--dark-text-2); white-space: nowrap; transition: background-color 300ms ease, color 300ms ease; }
.floor[aria-pressed="true"] { background: #f5f5f7; color: var(--text); border-color: #f5f5f7; }
.floor[aria-pressed="true"] .floor-n { color: var(--text); }
.floor[aria-pressed="true"] .floor-desc { color: var(--text-2); }
.floor[aria-pressed="true"] .floor-desc strong { color: var(--text); }
.floor[aria-pressed="true"] .floor-state { background: var(--blue); color: #fff; }
.building-help { margin: 1rem 0 0; font-size: 0.9375rem; color: var(--dark-text-2); text-align: center; }

/* ---------- Interiors bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 3.5rem 1.5rem 1.3rem; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0)); font-size: 0.9375rem; }
.tile figcaption strong { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.tile--a { grid-column: span 4; grid-row: span 2; min-height: 520px; }
.tile--b { grid-column: span 2; min-height: 250px; }
.tile--c { grid-column: span 2; min-height: 250px; }
.tile--c img { object-position: 50% 30%; }

/* ---------- Stats + sold gallery ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 880px; margin: 0 auto clamp(3rem, 6vw, 4.5rem); text-align: center; }
.stat-n { display: block; font-size: clamp(3rem, 7vw, 5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.stat-l { display: block; margin-top: 0.5rem; font-size: 1.0625rem; color: var(--text-2); }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(340px, 78vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px max(var(--gutter), calc((100vw - var(--max-wide)) / 2 + var(--gutter))) 8px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max-wide)) / 2 + var(--gutter))); overscroll-behavior-x: contain; }
.gallery::-webkit-scrollbar { display: none; }
.sold { scroll-snap-align: start; background: #fff; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.sold-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); }
.sold-media img { width: 100%; height: 100%; object-fit: cover; }
.sold-body { padding: 1.2rem 1.4rem 1.4rem; display: grid; gap: 0.35rem; }
.sold h3 { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.sold p { margin: 0; font-size: 0.9375rem; color: var(--text-2); }
.sold--text .sold-media { display: grid; place-items: center; background: linear-gradient(135deg, #f5f5f7, #e8e8ed); }
.sold--text .sold-media span { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; color: #86868b; text-align: center; padding: 1rem; }
.badge-sold { position: absolute; left: 14px; top: 14px; padding: 0.3em 0.75em; border-radius: 980px; background: rgba(29, 29, 31, 0.78); color: #fff; font-size: 0.75rem; font-weight: 600; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gallery-ctrl { display: flex; justify-content: flex-end; gap: 12px; max-width: var(--max-wide); margin: 1.25rem auto 0; padding: 0 var(--gutter); }
.gallery-ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #e8e8ed; color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background-color 200ms ease, opacity 200ms ease; }
.gallery-ctrl button:hover { background: #dcdce1; }
.gallery-ctrl button:disabled { opacity: 0.4; cursor: default; }
.gallery-ctrl .icon { width: 18px; height: 18px; }
.gallery-ctrl .prev .icon { transform: rotate(180deg); }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service { background: var(--bg-2); border-radius: var(--r-lg); padding: clamp(1.75rem, 3.5vw, 2.5rem); display: flex; flex-direction: column; gap: 0.9rem; }
.section--gray .service { background: #fff; }
.service--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.service h3 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; letter-spacing: -0.028em; font-weight: 700; text-wrap: balance; }
.service p { margin: 0; color: var(--text-2); }
.service-list { list-style: none; margin: 0.2rem 0 0.4rem; padding: 0; display: grid; gap: 0.45rem; font-size: 0.9375rem; }
.service-list li { display: grid; grid-template-columns: 20px 1fr; gap: 0.5rem; }
.service-list .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--blue); }
.service .btn, .service .chev { align-self: flex-start; margin-top: auto; }
.service-plan { margin: 0; border-radius: var(--r-md); overflow: hidden; background: #fff; }
.service-plan img { width: 100%; }
.service-plan figcaption { font-size: 0.8125rem; color: var(--text-2); padding: 0.7rem 1rem; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.5rem; }
.person { text-align: center; display: grid; justify-items: center; gap: 0.25rem; }
.person-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; margin-bottom: 0.75rem; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo span { font-size: 2rem; font-weight: 600; color: var(--text-2); letter-spacing: -0.02em; }
.person h3 { margin: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; }
.person p { margin: 0; font-size: 0.875rem; color: var(--text-2); }
.person a { display: inline-flex; align-items: center; gap: 0.35em; margin-top: 0.4rem; font-size: 0.9375rem; min-height: 32px; }
.person a .icon { width: 1.05em; height: 1.05em; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-copy { display: grid; gap: 1.25rem; }
.contact-list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 0.9rem; align-items: center; }
.contact-list .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; }
.contact-list .ic .icon { width: 18px; height: 18px; color: var(--text); }
.contact-list small { display: block; font-size: 0.8125rem; color: var(--text-2); }
.form { background: var(--bg-2); border-radius: var(--r-lg); padding: clamp(1.5rem, 3.5vw, 2.25rem); display: grid; gap: 1rem; }
.form h3 { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; }
.form > p { margin: -0.4rem 0 0.3rem; color: var(--text-2); font-size: 0.9375rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.8125rem; font-weight: 500; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: #fff; color: var(--text); font: inherit; font-size: 1.0625rem; -webkit-appearance: none; appearance: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(-45deg, transparent 50%, var(--text-2) 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #86868b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(196, 22, 28, 0.15); }
.field [aria-invalid="true"] { border-color: #e30000; box-shadow: 0 0 0 4px rgba(227, 0, 0, 0.1); }
.field-error { margin: 0; font-size: 0.8125rem; color: #e30000; }
.field-error:empty { display: none; }
.form .btn { width: 100%; min-height: 50px; margin-top: 0.3rem; }
.form-note { margin: 0; font-size: 0.75rem; color: var(--text-2); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); color: var(--text-2); font-size: 0.75rem; line-height: 1.5; letter-spacing: -0.01em; padding-block: 1.5rem 6.5rem; }
.footer-note { padding-bottom: 1rem; border-bottom: 1px solid var(--line); display: grid; gap: 0.6rem; }
.footer-note p { margin: 0; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.footer-cols h4 { margin: 0 0 0.6rem; font-size: 0.75rem; font-weight: 600; color: var(--text); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-cols a { color: var(--text-2); }
.footer-cols a:hover { color: var(--text); }
.footer-brand img { height: 34px; width: auto; margin-bottom: 0.7rem; }
.footer-brand p { margin: 0; max-width: 28rem; }
.footer-bottom { padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Floating WhatsApp + saved list ---------- */
.wa-float { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); transition: transform 300ms var(--ease), opacity 300ms var(--ease); }
.wa-float:hover { text-decoration: none; transform: scale(1.05); }
.wa-float .icon { width: 26px; height: 26px; }
body.has-list .wa-float { opacity: 0; transform: scale(0.8); pointer-events: none; }
.lista {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 50; width: min(calc(100% - 32px), 620px);
  display: flex; align-items: center; gap: 1rem; padding: 0.65rem 0.65rem 0.65rem 1.4rem; border-radius: 980px;
  background: rgba(29, 29, 31, 0.82); color: #fff; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, 140%) scale(0.96); opacity: 0; visibility: hidden;
  transition: transform 500ms var(--ease), opacity 300ms ease, visibility 0s linear 500ms;
}
body.has-list .lista { transform: translate(-50%, 0) scale(1); opacity: 1; visibility: visible; transition: transform 500ms var(--ease), opacity 300ms ease, visibility 0s; }
.lista-txt { margin: 0; flex: 1; min-width: 0; font-size: 0.9375rem; font-weight: 600; line-height: 1.25; }
.lista-names { display: block; font-weight: 400; font-size: 0.8125rem; color: #a1a1a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lista .btn { font-size: 0.9375rem; }
.lista-clear { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lista-clear:hover { background: rgba(255, 255, 255, 0.24); }
.lista-clear .icon { width: 14px; height: 14px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .rentable-grid, .contact { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .service--lead { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .cards, .services { grid-template-columns: 1fr; }
  .card--wide { flex-direction: column; }
  .hero-media img { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
  .bento { grid-template-columns: 1fr; }
  .tile--a, .tile--b, .tile--c { grid-column: auto; grid-row: auto; min-height: 280px; }
  .stats { grid-template-columns: 1fr; gap: 1.75rem; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .person-photo { width: 96px; height: 96px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .floor { grid-template-columns: 40px 1fr; padding: 1rem; }
  .floor-state { grid-column: 2; justify-self: start; }
  .floor-n { grid-row: span 2; font-size: 1.75rem; }
  .lista { padding-left: 1.1rem; }
  .lista .btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
.service--lead .btn { justify-self: start; }

/* =========== v3: brand, video & motion =========== */
.nav-brand img { height: 34px; }
.hero { text-align: left; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--gutter); }
.hero .hero-copy { justify-items: start; text-align: left; }
.hero .links { justify-content: flex-start; }
.hero-brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--blue); }
.hero-brand::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--blue); }
.headline .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.headline .w > span { display: inline-block; transform: translateY(105%); transition: transform 1000ms var(--ease); }
.headline.is-in .w > span, .no-js .headline .w > span { transform: none; }
.headline .red { color: var(--blue); }
.hero-phone { position: relative; justify-self: center; width: min(100%, 360px); }
.hero-phone .vframe { aspect-ratio: 9 / 16; border-radius: 36px; box-shadow: 0 40px 80px -20px rgba(196, 22, 28, 0.35), 0 20px 40px rgba(0, 0, 0, 0.18); }
.hero-float { position: absolute; z-index: 3; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-radius: 18px; padding: 0.8rem 1rem; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14); font-size: 0.8125rem; color: var(--text-2); animation: bob 6s ease-in-out infinite; }
.hero-float strong { display: block; font-size: 1.5rem; color: var(--text); letter-spacing: -0.03em; line-height: 1.1; }
.hero-float--a { left: -56px; top: 14%; }
.hero-float--b { right: -40px; bottom: 16%; animation-delay: -3s; }
.hero-float--b strong { color: var(--blue); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -18vw; top: -22vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(196, 22, 28, 0.10), rgba(196, 22, 28, 0)); }

/* video frame */
.vframe { position: relative; overflow: hidden; background: #111; border-radius: var(--r-lg); isolation: isolate; }
.vframe video, .vframe > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vplay {
  position: absolute; z-index: 2; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.9rem 0.5rem 0.6rem; border-radius: 980px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  color: var(--text); font-size: 0.8125rem; font-weight: 600; transition: transform 200ms var(--ease), background-color 200ms ease;
}
.vplay:hover { transform: scale(1.04); background: #fff; }
.vplay i { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.vplay i::before { content: ""; margin-left: 2px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.card-media .vplay { left: auto; right: 14px; bottom: 14px; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.1rem; background: #fff; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; color: #86868b; white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }

/* proceso: del lote a las llaves (sticky scroll story) */
.proceso { position: relative; }
.proceso-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--gutter); }
.proceso-steps { display: grid; gap: 0; position: relative; }
.proceso-line { position: absolute; left: 19px; top: 24px; bottom: 24px; width: 2px; background: rgba(255, 255, 255, 0.12); border-radius: 2px; }
.proceso-line i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--blue); transform-origin: top; transform: scaleY(var(--p, 0)); border-radius: 2px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 1.25rem; min-height: 62vh; align-content: center; opacity: 0.35; transition: opacity 500ms var(--ease); }
.step.is-active { opacity: 1; }
.step-dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--dark-2); border: 2px solid rgba(255, 255, 255, 0.16); font-weight: 700; font-size: 0.9375rem; position: relative; z-index: 1; transition: background-color 400ms ease, border-color 400ms ease, transform 400ms var(--ease); }
.step.is-active .step-dot { background: var(--blue); border-color: var(--blue); transform: scale(1.1); }
.step h3 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.08; }
.step p { margin: 0; color: var(--dark-text-2); font-size: 1.0625rem; max-width: 30rem; }
.step .tag-red { display: inline-block; margin-bottom: 0.75rem; font-size: 0.8125rem; font-weight: 600; color: var(--link-dark); }
.step .vmobile { display: none; }
.proceso-stage { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.stage-frame { position: relative; height: 100%; aspect-ratio: 9 / 16; max-width: 100%; }
.stage-frame .vframe { position: absolute; inset: 0; border-radius: 36px; opacity: 0; transform: scale(0.94) translateY(20px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); box-shadow: 0 40px 100px -30px rgba(196, 22, 28, 0.55); }
.stage-frame .vframe.is-on { opacity: 1; transform: none; }

/* reel de entregas */
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 300px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px max(var(--gutter), calc((100vw - var(--max-wide)) / 2 + var(--gutter))) 10px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max-wide)) / 2 + var(--gutter))); }
.reel::-webkit-scrollbar { display: none; }
.reel-item { scroll-snap-align: start; margin: 0; }
.reel-item .vframe { aspect-ratio: 9 / 16; transition: transform 500ms var(--ease); }
@media (hover: hover) { .reel-item:hover .vframe { transform: translateY(-6px); } }
.reel-item figcaption { padding: 0.85rem 0.2rem 0; font-size: 0.875rem; color: var(--text-2); }
.reel-item figcaption strong { display: block; color: var(--text); font-size: 1.0625rem; letter-spacing: -0.015em; }
.reel-over { position: absolute; z-index: 1; left: 0; right: 0; top: 0; padding: 1rem; background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0)); color: #fff; font-size: 0.75rem; font-weight: 600; display: flex; align-items: center; gap: 0.4rem; }
.reel-over::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(196, 22, 28, 0.3); }

/* video blocks in sections */
.split-video { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-video .vframe { aspect-ratio: 9 / 16; max-height: 640px; border-radius: 32px; }
.rentable-grid .vframe { aspect-ratio: 9 / 16; border-radius: 32px; max-width: 340px; justify-self: center; width: 100%; box-shadow: 0 40px 100px -30px rgba(196, 22, 28, 0.5); }
.rentable-wrap { display: grid; grid-template-columns: 1fr 0.7fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }

/* modal player */
.player { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transition: opacity 320ms ease, visibility 0s linear 320ms; }
.player.is-open { opacity: 1; visibility: visible; transition: opacity 320ms ease, visibility 0s; }
.player-box { position: relative; height: min(86vh, 860px); aspect-ratio: 9 / 16; max-width: 100%; transform: scale(0.92) translateY(24px); transition: transform 500ms var(--ease); }
.player.is-open .player-box { transform: none; }
.player video { width: 100%; height: 100%; border-radius: 28px; background: #000; object-fit: cover; }
.player-close { position: absolute; top: -8px; right: -56px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff; display: grid; place-items: center; cursor: pointer; }
.player-close:hover { background: rgba(255, 255, 255, 0.28); }
.player-close .icon { width: 16px; height: 16px; }
.player-cap { position: absolute; left: 0; right: 0; bottom: -46px; text-align: center; color: #d2d2d7; font-size: 0.875rem; }

/* count-up + buttons pulse */
.stat-n { color: var(--text); }
.stat-n em { font-style: normal; color: var(--blue); }
.wa-float { background: var(--blue); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--blue); z-index: -1; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.5; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.section--dark .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }

@media (max-width: 1000px) {
  .hero-grid, .split-video, .proceso-grid { grid-template-columns: 1fr; }
  .hero-phone { width: min(78%, 320px); margin-top: 1rem; }
  .hero-float--a { left: -12%; }
  .hero-float--b { right: -10%; }
  .rentable-wrap { grid-template-columns: 1fr; }
  .proceso-stage { display: none; }
  .step { min-height: auto; opacity: 1; padding-block: 1.5rem; }
  .step .vmobile { display: block; margin-top: 1.25rem; max-width: 300px; aspect-ratio: 9 / 16; border-radius: 28px; }
  .split-video .vframe { max-width: 340px; justify-self: center; width: 100%; }
}
@media (max-width: 700px) {
  .hero-float { font-size: 0.75rem; padding: 0.6rem 0.8rem; }
  .hero-float strong { font-size: 1.2rem; }
  .player-close { right: 8px; top: 8px; z-index: 2; background: rgba(0,0,0,0.5); }
  .reel { grid-auto-columns: 62vw; }
}
@media (prefers-reduced-motion: reduce) {
  .headline .w > span { transform: none; }
  .marquee-track, .hero-float, .wa-float::before { animation: none; }
}
.card-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms var(--ease); }
.card-video.is-playing { opacity: 1; }
.card-label { z-index: 2; }

/* =========== v4: inventario =========== */
.seg { flex-wrap: wrap; justify-content: center; border-radius: 22px; }
.seg-sep { color: var(--line); margin-inline: 0.35rem; }
.card-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.card-ph { position: absolute; inset: 0; display: grid; align-content: end; gap: 0.2rem; padding: 1.4rem; color: #fff; background: radial-gradient(120% 90% at 85% 0%, rgba(196, 22, 28, 0.9), rgba(196, 22, 28, 0) 60%), linear-gradient(160deg, #1d1d1f, #0b0b0c); }
.card-ph span { font-size: 0.8125rem; font-weight: 600; color: #ff8a8f; }
.card-ph strong { font-size: 1.75rem; line-height: 1.05; letter-spacing: -0.03em; }
.card[data-type="usado"] .card-ph { background: radial-gradient(120% 90% at 85% 0%, rgba(196, 22, 28, 0.35), rgba(196, 22, 28, 0) 60%), linear-gradient(160deg, #3a3a3c, #1d1d1f); }

.sheet { position: fixed; inset: 0; z-index: 90; display: grid; align-items: end; justify-items: center; background: rgba(0, 0, 0, 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity 320ms ease; }
.sheet.is-open { opacity: 1; }
.sheet-panel { position: relative; width: min(100%, 760px); max-height: 88vh; overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 28px 28px 0 0; padding: clamp(1.75rem, 4vw, 2.75rem); transform: translateY(100%); transition: transform 520ms var(--ease); box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.2); }
.sheet.is-open .sheet-panel { transform: none; }
@media (min-width: 820px) { .sheet { align-items: center; } .sheet-panel { border-radius: 28px; transform: translateY(40px) scale(0.97); opacity: 0; transition: transform 520ms var(--ease), opacity 320ms ease; } .sheet.is-open .sheet-panel { opacity: 1; } }
.sheet-close { position: sticky; top: 0; float: right; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-2); color: var(--text); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.sheet-close:hover { background: #e8e8ed; }
.sheet-close .icon { width: 14px; height: 14px; }
.sheet-title { margin: 0.2rem 0 0.4rem; font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.05; }
.sheet-addr { margin: 0 0 1.25rem; font-size: 1rem; }
.sheet-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 1.25rem; }
.sheet-facts > div { background: var(--bg-2); border-radius: 14px; padding: 0.8rem 1rem; font-weight: 600; font-size: 0.9375rem; }
.sheet-facts small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--text-2); margin-bottom: 0.15rem; }
.sheet-note { margin: 0 0 1rem; padding: 0.8rem 1rem; border-radius: 14px; background: rgba(196, 22, 28, 0.07); color: var(--blue-hover); font-size: 0.9375rem; font-weight: 500; }
.sheet .specs { margin-bottom: 1.5rem; }
.units { border-top: 1px solid var(--line); margin-bottom: 1.5rem; }
.unit { display: grid; grid-template-columns: 1.3fr 1.6fr 0.7fr 1.2fr 40px; gap: 0.75rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid #ececf0; font-size: 0.9375rem; }
.unit--head { font-size: 0.75rem; color: var(--text-2); font-weight: 600; padding-block: 0.6rem; }
.unit strong { font-weight: 600; }
.unit-ask { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(196, 22, 28, 0.08); color: var(--blue); transition: background-color 200ms ease, color 200ms ease; }
.unit-ask:hover { background: var(--blue); color: #fff; text-decoration: none; }
.unit-ask .icon { width: 17px; height: 17px; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 600px) {
  .sheet-facts { grid-template-columns: 1fr 1fr; }
  .unit { grid-template-columns: 1fr auto 40px; grid-template-areas: "u p a" "ar ar a"; row-gap: 0.15rem; }
  .unit--head { display: none; }
  .unit > span:nth-child(1) { grid-area: u; }
  .unit > span:nth-child(2) { grid-area: ar; font-size: 0.8125rem; color: var(--text-2); }
  .unit > span:nth-child(3) { display: none; }
  .unit > span:nth-child(4) { grid-area: p; font-weight: 600; }
  .unit > span:nth-child(5) { grid-area: a; }
}
.player { z-index: 110; }

/* hidden overlays must never catch clicks */
.sheet[hidden], .player[hidden] { display: none !important; }
.sheet:not(.is-open), .player:not(.is-open) { pointer-events: none; }

/* =========== v5: retratos de asesores =========== */
.team { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { background: #fff; border-radius: var(--r-lg); overflow: hidden; gap: 0.2rem; padding-bottom: 1.25rem; justify-items: center; transition: transform 500ms var(--ease), box-shadow 500ms var(--ease); }
@media (hover: hover) { .person:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); } }
.person-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 0; margin-bottom: 0.9rem; background: #1d1d1f; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 800ms var(--ease); }
@media (hover: hover) { .person:hover .person-photo img { transform: scale(1.04); } }
.person h3, .person p, .person a { padding-inline: 1rem; }
.person--linea .person-photo { background: radial-gradient(120% 90% at 80% 0%, rgba(196, 22, 28, 0.18), rgba(196, 22, 28, 0) 60%), #fff; display: grid; place-items: center; border-bottom: 1px solid #ececf0; }
.person--linea .person-photo img { width: 70%; height: auto; object-fit: contain; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team { grid-template-columns: repeat(2, 1fr); gap: 12px; } .person-photo { width: 100%; height: auto; } .person h3 { font-size: 0.9375rem; } }

/* =========== v6: precios en dólares =========== */
.usd { display: block; margin-top: 0.15rem; font-size: 0.8125rem; font-weight: 500; color: var(--text-2); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.unit .usd { font-size: 0.75rem; }
.trm { display: inline-block; margin-top: 0.35rem; padding: 0.25em 0.8em; border-radius: 980px; background: rgba(196, 22, 28, 0.07); color: var(--blue-hover); font-weight: 500; font-variant-numeric: tabular-nums; }
.trm:empty { display: none; }

/* ===== v7: aliados ===== */
.aliados { overflow: hidden; }
.aliados .section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.aliados-strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.aliados-track { --gap: clamp(3rem, 7vw, 6rem); list-style: none; margin: 0; padding: 1.25rem 0; display: flex; align-items: center; gap: var(--gap); width: max-content; animation: aliados 36s linear infinite; }
.aliados-track li { flex: none; display: grid; place-items: center; height: 80px; }
.aliados-track img { display: block; height: 52px; width: auto; max-width: 220px; object-fit: contain; opacity: .78; transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1); }
.aliados-track img.logo--w { height: 44px; }
.aliados-track img.logo--r { height: 128px; max-width: none; margin-block: -24px; }
.aliados-track img.logo--s { height: 80px; }
.aliados-track li:hover img { opacity: 1; transform: translateY(-3px); }
@keyframes aliados { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@media (hover: hover) { .aliados-strip:hover .aliados-track { animation-play-state: paused; } }
@media (max-width: 640px) { .aliados-track img { height: 40px; } .aliados-track img.logo--w { height: 32px; } .aliados-track img.logo--s { height: 58px; } .aliados-track img.logo--r { height: 96px; margin-block: -18px; } }
@media (prefers-reduced-motion: reduce) { .aliados-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: 16px; } .aliados-track li[aria-hidden] { display: none; } }

/* ===== v8: fondos con textura (plano arquitectónico) ===== */
.section, .hero { position: relative; isolation: isolate; }
.section { overflow: clip; }
.section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(29,29,31,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,31,.075) 1px, transparent 1px), linear-gradient(rgba(29,29,31,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,31,.04) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 92%); mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, #000 30%, transparent 92%); }
.section::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: min(70vw, 900px); aspect-ratio: 1; right: -22%; bottom: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(196,22,28,.10), transparent); }
.section--gray { background: linear-gradient(180deg, #f5f5f7 0%, #efeff2 100%); }
.section--gray::before { background-image: radial-gradient(rgba(29,29,31,.17) 1px, transparent 1.5px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%, transparent 70%, rgba(0,0,0,.6)); mask-image: linear-gradient(180deg, #000, transparent 55%, transparent 70%, rgba(0,0,0,.6)); }
.section--gray::after { left: -20%; right: auto; top: -25%; bottom: auto; }
.section--dark { background: radial-gradient(120% 80% at 0% 0%, #1a0a0b 0%, transparent 55%), linear-gradient(180deg, #0b0b0c, #121214); }
.section--dark::before { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 15%, transparent 80%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 15%, transparent 80%); }
.section--dark::after { background: radial-gradient(closest-side, rgba(196,22,28,.28), transparent); right: -25%; bottom: -35%; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(29,29,31,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,31,.07) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 10%, transparent 75%); }
.footer { background: linear-gradient(180deg, #efeff2, #e9e9ed); }

/* ===== v9: acabados por tipo de vivienda ===== */
.seg button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 1px rgba(0,0,0,.04); }
.acab-panel { display: grid; grid-template-columns: minmax(240px, 0.62fr) 1.38fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
.acab-panel[hidden] { display: none; }
.acab-panel.is-entering .acab-body > *, .acab-panel.is-entering .vframe { animation: acabIn .7s cubic-bezier(.16,1,.3,1) both; }
.acab-panel.is-entering .acab-p { animation-delay: .05s; } .acab-panel.is-entering .acab-chips { animation-delay: .1s; } .acab-panel.is-entering .acab-photos { animation-delay: .15s; }
@keyframes acabIn { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
.acab-panel .vframe { aspect-ratio: 9 / 16; max-height: 620px; border-radius: 32px; box-shadow: 0 40px 80px -30px rgba(196,22,28,.35), 0 18px 40px rgba(0,0,0,.16); }
.acab-body { display: grid; gap: 1rem; }
.acab-h { margin: 0; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.acab-p { margin: 0; color: var(--text-2); font-size: 1.0625rem; line-height: 1.55; max-width: 60ch; }
.acab-chips { list-style: none; margin: 0.25rem 0 0.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.acab-chips li { display: inline-flex; align-items: center; gap: .45em; font-size: .875rem; font-weight: 500; padding: .45em .9em; border-radius: 980px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.acab-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.acab-photos { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.acab-photos figure { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3; }
.acab-photos figure:first-child { grid-row: span 2; aspect-ratio: auto; }
.acab-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.acab-photos figure:hover img { transform: scale(1.04); }
.acab-photos figcaption { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .85rem; color: #fff; font-size: .8125rem; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); }
.acab-photos figcaption strong { display: block; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.acab-cta { text-align: center; margin: clamp(2rem, 4vw, 3rem) 0 0; }
@media (max-width: 860px) {
  .acab-panel { grid-template-columns: 1fr; }
  .acab-panel .vframe { width: min(100%, 320px); justify-self: center; max-height: 560px; }
  .acab-photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .acab-photos figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .acab-panel.is-entering .acab-body > *, .acab-panel.is-entering .vframe { animation: none; } }
/* v9b: 5 fotos reales por tipo */
.acab-photos { grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.acab-photos figure { aspect-ratio: 4 / 5; }
.acab-photos figure:first-child { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 860px) {
  .acab-photos { grid-template-columns: 1fr 1fr; }
  .acab-photos figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 5; }
}

/* ===== v10: galería de acabados (lightbox) ===== */
.acab-photos figure { cursor: zoom-in; }
.acab-zoom { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; border-radius: inherit; }
.acab-zoom:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.acab-more { position: absolute; z-index: 1; top: 12px; right: 12px; padding: .4em .8em; border-radius: 980px; font-size: .8125rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); pointer-events: none; }
.acab-all { justify-self: start; margin-top: .25rem; }

.gal { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-rows: auto 1fr auto; background: rgba(8,8,9,.96); color: #fff; opacity: 0; transition: opacity .35s cubic-bezier(.16,1,.3,1); }
.gal[hidden] { display: none !important; }
.gal.is-open { opacity: 1; }
.gal:not(.is-open) { pointer-events: none; }
.gal-top { display: flex; align-items: center; gap: 1rem; padding: max(14px, env(safe-area-inset-top)) 16px 10px; }
.gal-title { margin: 0; font-weight: 600; letter-spacing: -0.01em; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gal-count { font-size: .875rem; color: rgba(255,255,255,.65); font-variant-numeric: tabular-nums; }
.gal-close { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.12); cursor: pointer; transition: background .2s; }
.gal-close:hover { background: rgba(255,255,255,.22); }
.gal-stage { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 0; padding: 0 8px; touch-action: pan-y; }
.gal-fig { margin: 0; height: 100%; min-height: 0; display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: .6rem; padding-block: 4px; }
.gal-img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border-radius: 14px; align-self: center; transition: opacity .25s ease, transform .45s cubic-bezier(.16,1,.3,1); }
.gal-img.is-loading { opacity: 0; transform: scale(.985); }
.gal-cap { font-size: .9375rem; text-align: center; color: rgba(255,255,255,.9); }
.gal-cap span { color: rgba(255,255,255,.55); margin-left: .5em; }
.gal-nav { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.12); cursor: pointer; transition: background .2s, transform .2s; }
.gal-nav:hover { background: rgba(255,255,255,.24); }
.gal-nav:active { transform: scale(.94); }
.gal-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px max(14px, env(safe-area-inset-bottom)); scroll-snap-type: x proximity; scrollbar-width: none; }
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .45; scroll-snap-align: center; transition: opacity .2s, box-shadow .2s; background: #222; }
.gal-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumbs button:hover { opacity: .8; }
.gal-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px #fff; }
.gal button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) {
  .gal-stage { grid-template-columns: 1fr; padding: 0; }
  .gal-nav { position: absolute; z-index: 2; top: 50%; translate: 0 -50%; width: 40px; height: 40px; background: rgba(0,0,0,.45); }
  .gal-prev { left: 8px; } .gal-next { right: 8px; }
  .gal-img { border-radius: 0; }
  .gal-thumbs button { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .gal, .gal-img { transition: none; } }

/* ===== v11: casa rentable en 3D (scroll) ===== */
.c3d { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.c3d-sticky { position: sticky; top: 72px; height: calc(100vh - 96px); max-height: 760px; min-height: 520px; }
.c3d-stage { --W: 240px; --D: 180px; --H: 84px; --gap: 0px; --ry: -34deg; --rx: -16deg; --s: 1;
  position: relative; height: 100%; display: grid; place-items: center; perspective: 1500px; perspective-origin: 50% 35%; }
.c3d-scene { transform-style: preserve-3d; transform: scale(var(--s)) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 1.2s cubic-bezier(.16,1,.3,1); animation: c3dFloat 7s ease-in-out infinite; }
@keyframes c3dFloat { 50% { translate: 0 -8px; } }
.c3d-house { position: relative; width: 0; height: 0; transform-style: preserve-3d; transform: translateY(calc(var(--H) * 2 + var(--gap) * 1.5)); transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.pz { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: translateY(calc(var(--i) * (var(--H) + var(--gap)) * -1 - var(--H) / 2)); transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.pf { position: absolute; left: 0; top: 0; backface-visibility: hidden; }
.pf-front, .pf-back { width: var(--W); height: var(--H); }
.pf-left, .pf-right { width: var(--D); height: var(--H); }
.pf-top, .pf-bottom { width: var(--W); height: var(--D); }
.pf-front { transform: translate(-50%, -50%) translateZ(calc(var(--D) / 2)); background: #7a4e3c; }
.pf-back { transform: translate(-50%, -50%) rotateY(180deg) translateZ(calc(var(--D) / 2)); background: #3a3a3e; }
.pf-right { transform: translate(-50%, -50%) rotateY(90deg) translateZ(calc(var(--W) / 2)); background: linear-gradient(90deg, #b9b9bf, #a2a2a9); }
.pf-left { transform: translate(-50%, -50%) rotateY(-90deg) translateZ(calc(var(--W) / 2)); background: #8d8d94; }
.pf-top { transform: translate(-50%, -50%) rotateX(90deg) translateZ(calc(var(--H) / 2)); background: #ececf0; }
.pf-bottom { transform: translate(-50%, -50%) rotateX(-90deg) translateZ(calc(var(--H) / 2)); background: #2a2a2e; }
.pf-right::after, .pf-left::after { content: ""; position: absolute; inset: auto 0 0; height: 6px; background: rgba(0,0,0,.25); }
/* fachada */
.fz { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 8%; padding: 10px 14px 0;
  background-color: #7a4e3c; background-image: linear-gradient(rgba(255,235,220,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,235,220,.12) 1px, transparent 1px); background-size: 22px 9px, 22px 18px; border-bottom: 5px solid #d9d9de; }
.fz-win { width: 62%; height: 64%; margin-bottom: 14%; border: 3px solid #1d1d1f; border-radius: 2px; background: linear-gradient(155deg, #c9e2f7 0%, #7fa7cb 38%, #33536f 70%, #1f3346 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.fz-win--sm { width: 18%; }
.fz-win--wide { width: 74%; height: 70%; margin-bottom: 4%; position: relative; }
.fz-rail { position: absolute; left: 10%; right: 10%; bottom: 5px; height: 34%; border: 2px solid rgba(220,230,240,.85); border-bottom-width: 4px; background: linear-gradient(rgba(200,225,245,.28), rgba(200,225,245,.12)); }
.fz-1 { gap: 0; padding: 0; align-items: stretch; background: #d9d9de; }
.fz-brick { flex: 0 0 10%; background-color: #7a4e3c; background-image: linear-gradient(rgba(255,235,220,.16) 1px, transparent 1px); background-size: 22px 9px; }
.fz-shutter { flex: 1; margin: 12px 6px 0 0; display: grid; place-items: center; background: repeating-linear-gradient(#a9adb4 0 3px, #8f939a 3px 5px); border-top: 4px solid #6f737a; }
.fz-shutter i { font-style: normal; font-weight: 800; font-size: 13px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 4px; color: #c4161c; background: #f3e3c3; }
.fz-door { flex: 0 0 18%; margin: 12px 8px 0 0; background: linear-gradient(90deg, #9da1a8, #b7bbc2); border-top: 4px solid #6f737a; position: relative; }
.fz-door::after { content: ""; position: absolute; left: 20%; top: 45%; width: 3px; height: 18px; background: #555; border-radius: 2px; }
/* plano en la losa */
.pf-top svg { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s ease .2s; }
.pf-top rect, .pf-top path { fill: none; stroke: #1d1d1f; stroke-width: 3; }
.pf-top text { font: 600 13px/1 Inter, system-ui, sans-serif; fill: #6e6e73; text-anchor: middle; }
.c3d-stage:not([data-step="0"]) .pf-top svg { opacity: 1; }
/* cubierta */
.pz-roof { --H: 10px; transform: translateY(calc(4 * (84px + var(--gap)) * -1 - 5px)); }
.pz-roof .pf-top { background: #c9c9ce; box-shadow: inset 0 0 0 6px #e9e9ee; }
.pz-roof .pf-front, .pz-roof .pf-back { background: #e3e3e8; }
.pz-roof .pf-left, .pz-roof .pf-right { background: #bdbdc3; }
/* etiquetas */
.pz-tag { position: absolute; left: 0; top: 0; display: grid; gap: 2px; text-align: left; white-space: nowrap; padding: .55rem .8rem; border: 0; border-radius: 14px; font: inherit; color: var(--text);
  background: rgba(255,255,255,.94); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); cursor: pointer; opacity: 0; pointer-events: none;
  transform: translate3d(calc(var(--W) / 2 + 28px), -50%, calc(var(--D) / 2)) rotateY(calc(var(--ry) * -1)) rotateX(calc(var(--rx) * -1)); transition: opacity .5s ease, background .3s ease, color .3s ease; }
.pz-tag b { font-size: .8125rem; font-weight: 600; color: var(--text-2); }
.pz-tag span { font-size: .9375rem; font-weight: 600; }
.pz-tag em { font-style: normal; font-size: .75rem; font-weight: 600; justify-self: start; margin-top: 4px; padding: .25em .7em; border-radius: 980px; background: #e8e8ed; color: var(--text); }
.c3d-stage:not([data-step="0"]) .pz-tag { opacity: 1; pointer-events: auto; }
.pz-tag[aria-pressed="true"] em { background: var(--blue); color: #fff; }
.c3d-stage:is([data-step="2"],[data-step="4"]) .pz-tag[aria-pressed="true"] { background: var(--blue); color: #fff; }
.c3d-stage:is([data-step="2"],[data-step="4"]) .pz-tag[aria-pressed="true"] b { color: rgba(255,255,255,.75); }
.c3d-stage:is([data-step="2"],[data-step="4"]) .pz-tag[aria-pressed="true"] em { background: #fff; color: var(--blue); }
.c3d-stage[data-step="3"] .pz-tag[aria-pressed="false"] em { background: #1f7a4d; color: #fff; }
.c3d-stage[data-step="2"] .pz.is-rent .pf { filter: brightness(.42) saturate(.6); }
.c3d-stage[data-step="3"] .pz.is-home .pf { filter: brightness(.5); }
.pf { transition: filter .6s ease; }
.c3d-stage:is([data-step="2"],[data-step="4"]) .pz.is-home .pf-front { box-shadow: 0 0 0 3px var(--blue), 0 0 40px rgba(196,22,28,.6); }
/* monedas que suben desde los pisos en arriendo */
.pz-coin { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #1f7a4d; background: #d9f2e4; box-shadow: 0 6px 16px rgba(0,0,0,.35);
  opacity: 0; transform: translate3d(calc(var(--W) / -2 - 50px), -50%, calc(var(--D) / 2)) rotateY(calc(var(--ry) * -1)) rotateX(calc(var(--rx) * -1)); pointer-events: none; }
.c3d-stage[data-step="3"] .pz.is-rent .pz-coin { animation: c3dCoin 2.2s cubic-bezier(.16,1,.3,1) infinite; }
.c3d-stage[data-step="3"] .pz[data-p="3"] .pz-coin { animation-delay: .5s; }
.c3d-stage[data-step="3"] .pz[data-p="4"] .pz-coin { animation-delay: 1s; }
@keyframes c3dCoin { 0% { opacity: 0; translate: 0 10px; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; translate: 0 -46px; } }
/* sombra, foto real y total */
.c3d-shadow { position: absolute; left: 50%; bottom: 15%; width: 380px; height: 70px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.65), transparent); pointer-events: none; }
.c3d-real { position: absolute; right: 0; bottom: 4%; width: 34%; max-width: 220px; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); opacity: 0; translate: 0 30px; transition: opacity .7s ease, translate .9s cubic-bezier(.16,1,.3,1); }
.c3d-real img { width: 100%; height: auto; display: block; }
.c3d-real figcaption { position: absolute; left: 10px; bottom: 10px; font-size: .75rem; font-weight: 600; color: #fff; padding: .3em .7em; border-radius: 980px; background: rgba(0,0,0,.55); }
.c3d-stage[data-step="4"] .c3d-real { opacity: 1; translate: 0 0; }
.c3d-total { position: absolute; left: 50%; top: 2%; translate: -50% 0; margin: 0; padding: .55rem 1rem; border-radius: 980px; font-size: .9375rem; color: #fff; background: rgba(31,122,77,.92); white-space: nowrap; opacity: 0; transition: opacity .5s ease; }
.c3d-total strong { font-size: 1.125rem; }
.c3d-stage[data-step="3"] .c3d-total { opacity: 1; }
/* pasos */
.c3d-steps { list-style: none; margin: 0; padding: 0; }
.c3d-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: .75rem; opacity: .28; transition: opacity .5s ease; }
.c3d-step:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 12vh; }
.c3d-step:last-child { min-height: 70vh; }
.c3d-step.is-active { opacity: 1; }
.c3d-step h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; color: var(--dark-text); }
.c3d-step p { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--dark-text-2); max-width: 46ch; }
.c3d-step strong { color: #fff; }
.c3d-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem !important; }
@media (max-width: 900px) {
  .c3d { grid-template-columns: 1fr; gap: 0; }
  .c3d-sticky { top: 52px; height: 56vh; min-height: 380px; max-height: none; z-index: 1; }
  .c3d-stage { --s: .5; }
  .c3d-steps { position: relative; z-index: 2; }
  .c3d-step, .c3d-step:first-child, .c3d-step:last-child { min-height: 70vh; justify-content: flex-end; padding: 0 0 4vh; gap: 0; opacity: 1; }
  .c3d-step h3, .c3d-step p { background: rgba(11,11,12,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); max-width: none; }
  .c3d-step h3 { padding: 1rem 1rem .5rem; border-radius: 18px 18px 0 0; font-size: 1.5rem; }
  .c3d-step p { padding: 0 1rem 1rem; }
  .c3d-step p:last-child { border-radius: 0 0 18px 18px; }
  .c3d-real { width: 30%; bottom: 0; }
  .c3d-shadow { width: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .c3d-scene, .c3d-house, .pz, .c3d-real { transition: none; animation: none; }
  .c3d-stage[data-step="3"] .pz.is-rent .pz-coin { animation: none; opacity: 1; }
}
@media (max-width: 900px) { .c3d-scene { animation: none; translate: -64px 0; } }
@media (min-width: 901px) { .c3d-scene { margin-right: 150px; } .c3d-real { right: 2%; } }
@media (min-width: 901px) and (max-width: 1180px) { .c3d-stage { --s: .82; } .c3d-scene { margin-right: 110px; } }
.c3d-stage[data-step="4"] .pz-tag[aria-pressed="false"] { opacity: 0; pointer-events: none; }
.c3d-stage[data-step="4"] .pz[data-p] .pf { cursor: pointer; }
.c3d-real { top: 4%; bottom: auto; width: 30%; max-width: 200px; }
.c3d-stage[data-step="4"] .pz[data-p]:hover .pf-front { filter: brightness(1.15); }
@media (min-width: 901px) { .c3d-shadow { translate: calc(-50% - 75px) 0; } }

/* ===== v12: pantallas anchas — más ancho, laterales con planos y texturas más fuertes ===== */
@media (min-width: 1500px) { :root { --max: 1200px; --max-wide: 1440px; } }
@media (min-width: 1800px) { :root { --max: 1240px; --max-wide: 1480px; } html { font-size: 106.25%; } }
/* rejilla y puntos: fuertes en los costados, suaves detrás del texto */
.section::before {
  background-image: linear-gradient(rgba(196,22,28,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(196,22,28,.09) 1px, transparent 1px), linear-gradient(rgba(29,29,31,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,31,.06) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(50% - 640px), rgba(0,0,0,.28) calc(50% - 420px), rgba(0,0,0,.28) calc(50% + 420px), #000 calc(50% + 640px), #000 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(50% - 640px), rgba(0,0,0,.28) calc(50% - 420px), rgba(0,0,0,.28) calc(50% + 420px), #000 calc(50% + 640px), #000 100%); }
.section--gray { background: linear-gradient(180deg, #f3f2f4 0%, #ebeaee 100%); }
.section--gray::before { background-image: radial-gradient(rgba(196,22,28,.22) 1.2px, transparent 1.8px), radial-gradient(rgba(29,29,31,.12) 1px, transparent 1.5px); background-size: 48px 48px, 16px 16px; background-position: 0 0, 8px 8px; }
.section--dark::before { background-image: linear-gradient(rgba(255,90,97,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255,90,97,.10) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.section::after { width: min(60vw, 820px); right: -14%; bottom: -24%; background: radial-gradient(closest-side, rgba(196,22,28,.14), transparent); }
.section--gray::after { left: -14%; right: auto; top: -22%; bottom: auto; }
.section--dark::after { background: radial-gradient(closest-side, rgba(196,22,28,.34), transparent); }
/* planos arquitectónicos en los márgenes laterales */
.deco-side { display: none; }
@media (min-width: 1500px) {
  .section:not(.section--dark):not(.section--gray) { background: url(../img/deco/bp-fachada.svg) no-repeat left max(-80px, calc(50% - var(--max-wide) / 2 - 300px)) center / 300px auto, url(../img/deco/bp-planta.svg) no-repeat right max(-60px, calc(50% - var(--max-wide) / 2 - 300px)) top 30% / 280px auto, #fff; }
  .section--gray { background: url(../img/deco/bp-planta.svg) no-repeat left max(-60px, calc(50% - var(--max-wide) / 2 - 290px)) top 70% / 270px auto, url(../img/deco/bp-fachada.svg) no-repeat right max(-80px, calc(50% - var(--max-wide) / 2 - 300px)) center / 290px auto, linear-gradient(180deg, #f3f2f4 0%, #ebeaee 100%); }
  .section--dark { background: url(../img/deco/bp-fachada-dark.svg) no-repeat left max(-80px, calc(50% - var(--max-wide) / 2 - 300px)) top 60% / 290px auto, url(../img/deco/bp-planta-dark.svg) no-repeat right max(-60px, calc(50% - var(--max-wide) / 2 - 290px)) top 25% / 270px auto, radial-gradient(120% 80% at 0% 0%, #1a0a0b 0%, transparent 55%), linear-gradient(180deg, #0b0b0c, #121214); }
  .c3d-sec { background-position: left max(-80px, calc(50% - var(--max-wide) / 2 - 300px)) top 92%, right max(-60px, calc(50% - var(--max-wide) / 2 - 290px)) top 8%, 0 0, 0 0; }
}
/* hero: planos que se dibujan a los lados + brillo rojo en ambos lados */
.hero-bg::before { width: 46vw; height: 46vw; right: -12vw; top: -14vw; background: radial-gradient(closest-side, rgba(196,22,28,.16), rgba(196,22,28,0)); }
.hero-bg { background: radial-gradient(40vw 40vw at -6vw 95%, rgba(196,22,28,.10), transparent 70%); }
.hero-bg::after { background-image: linear-gradient(rgba(196,22,28,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(196,22,28,.10) 1px, transparent 1px), linear-gradient(rgba(29,29,31,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(29,29,31,.06) 1px, transparent 1px); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(50% - 620px), rgba(0,0,0,.3) calc(50% - 400px), rgba(0,0,0,.3) calc(50% + 400px), #000 calc(50% + 620px)); mask-image: linear-gradient(90deg, #000 0, #000 calc(50% - 620px), rgba(0,0,0,.3) calc(50% - 400px), rgba(0,0,0,.3) calc(50% + 400px), #000 calc(50% + 620px)); }
.hero-deco { display: none; }
@media (min-width: 1720px) {
  .hero-deco { display: block; position: absolute; z-index: -1; pointer-events: none; opacity: 0; animation: heroDeco 1.6s cubic-bezier(.16,1,.3,1) .4s forwards; }
  .hero-deco--l { left: max(-60px, calc(50% - var(--max-wide) / 2 - 250px)); top: 10%; width: 240px; }
  .hero-deco--r { right: max(-50px, calc(50% - var(--max-wide) / 2 - 240px)); top: 24%; width: 230px; animation-delay: .7s; }
  @keyframes heroDeco { from { opacity: 0; translate: 0 30px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
}
@media (prefers-reduced-motion: reduce) { .hero-deco { animation: none; opacity: 1; } }
/* ===== v16: fachadas parallax, antes/después y edificio que sube ===== */
/* antes / después */
.ba { display: grid; grid-template-columns: 1fr minmax(280px, 460px); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: clamp(3.5rem, 8vw, 6rem); padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-lg); background: #0b0b0c; color: #fff; }
.ba-copy { display: grid; gap: 1rem; justify-items: start; }
.ba-h { margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
.ba-copy p { margin: 0; color: rgba(255,255,255,.75); font-size: 1.0625rem; line-height: 1.55; max-width: 46ch; }
.ba-slider { position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: #222; user-select: none; touch-action: pan-y; box-shadow: 0 40px 80px -30px rgba(196,22,28,.45); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; translate: -50% 0; background: #fff; box-shadow: 0 0 18px rgba(0,0,0,.4); pointer-events: none; }
.ba-handle i { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.ba-handle i::before, .ba-handle i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 7px solid transparent; translate: 0 -50%; }
.ba-handle i::before { left: 7px; border-right-color: var(--blue); }
.ba-handle i::after { right: 7px; border-left-color: var(--blue); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + .ba-handle, .ba-slider:has(.ba-range:focus-visible) .ba-handle i { outline: 3px solid var(--blue); outline-offset: 3px; }
.ba-tag { position: absolute; top: 14px; padding: .35em .8em; border-radius: 980px; font-size: .8125rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.ba-tag--a { left: 14px; } .ba-tag--b { right: 14px; background: rgba(196,22,28,.85); }
.ba-slider.is-hint .ba-after, .ba-slider.is-hint .ba-handle { transition: clip-path .9s cubic-bezier(.65,0,.35,1), left .9s cubic-bezier(.65,0,.35,1); }
@media (max-width: 860px) { .ba { grid-template-columns: 1fr; } .ba-slider { max-width: 460px; width: 100%; justify-self: center; } }
/* edificio que sube con el scroll */
.build-rail { display: none; }
@media (min-width: 1100px) {
  .build-rail { display: grid; justify-items: center; gap: 6px; position: fixed; right: 14px; top: 50%; translate: 0 -50%; z-index: 40; padding: 10px 8px 8px; border-radius: 16px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 10px 30px -10px rgba(0,0,0,.25), inset 0 0 0 1px rgba(0,0,0,.06); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
  .build-rail.is-on { opacity: 1; }
  .build-rail svg { width: 44px; height: auto; overflow: visible; }
}
.br-ground { stroke: #1d1d1f; stroke-width: 2; }
.br-found { fill: #6e6e73; }
.br-floor rect:first-child { fill: #c25b43; stroke: #8f3d2c; stroke-width: 1; stroke-dasharray: 0; }
.br-floor .br-win { fill: #bcd8ee; stroke: #1d1d1f; stroke-width: .8; }
.br-floor { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(6px) scaleY(.4); transition: opacity .45s ease, transform .55s cubic-bezier(.16,1,.3,1); }
.br-floor.is-built { opacity: 1; transform: none; }
.br-floor.is-next { opacity: 1; transform: none; }
.br-floor.is-next rect:first-child { fill: none; stroke: #c4161c; stroke-dasharray: 3 2; }
.br-floor.is-next .br-win { opacity: 0; }
.br-floor[data-f="1"].is-built rect:first-child, .br-floor[data-f="3"].is-built rect:first-child, .br-floor[data-f="5"].is-built rect:first-child, .br-floor[data-f="7"].is-built rect:first-child { fill: #f2f2f4; stroke: #b9b9bf; }
.br-roof { opacity: 0; transition: opacity .5s ease; }
.br-roof rect, .br-roof path { fill: #1d1d1f; stroke: #1d1d1f; stroke-width: 1.4; }
.br-roof .br-flag { fill: #c4161c; stroke: none; }
.build-rail.is-done .br-roof { opacity: 1; }
.br-crane path { fill: none; stroke: #f5b301; stroke-width: 2; stroke-linecap: round; }
.br-crane .br-hook { stroke: #1d1d1f; stroke-width: 1; animation: brHook 2.4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: top; }
.build-rail.is-done .br-crane { opacity: 0; transition: opacity .5s ease; }
@keyframes brHook { to { transform: scaleY(1.6); } }
.br-pct { font-size: .6875rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #1d1d1f; letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .br-floor, .br-roof { transition: none; } .br-crane .br-hook { animation: none; } }
/* ===== v17: mapa de obras en Bogotá ===== */
.mapa { background: radial-gradient(70% 60% at 70% 50%, #1a0b0c 0%, transparent 70%), linear-gradient(180deg, #0b0b0c, #121214); color: var(--dark-text); }
.mapa .lead { color: var(--dark-text-2); }
.mapa-grid { display: grid; grid-template-columns: minmax(300px, 0.8fr) 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.mapa-side { display: grid; gap: 1.25rem; align-content: start; }
.mapa-filtros { display: flex; flex-wrap: wrap; gap: .5rem; }
.mapa-filtros button { display: inline-flex; align-items: center; gap: .45em; font: inherit; font-size: .875rem; font-weight: 600; padding: .55em 1em; border-radius: 980px; border: 0; cursor: pointer; color: var(--dark-text); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .2s, color .2s; }
.mapa-filtros button span { opacity: .6; font-variant-numeric: tabular-nums; }
.mapa-filtros button[aria-pressed="true"] { background: #fff; color: var(--text); }
.lg { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lg--d { background: var(--blue); box-shadow: 0 0 0 3px rgba(196,22,28,.3); }
.lg--e { background: #f5f5f7; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.mapa-card { display: grid; grid-template-columns: 132px 1fr; gap: 1rem; align-items: center; padding: .75rem; border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: opacity .25s ease, transform .35s cubic-bezier(.16,1,.3,1); }
.mapa-card.is-swap { opacity: 0; transform: translateY(6px); }
.mapa-card-img { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #1d1d1f url(../img/logo.png) center / 60% no-repeat; }
.mapa-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mapa-card-img img[src=""] { display: none; }
.mapa-card-body { display: grid; gap: .3rem; justify-items: start; }
.mapa-card-body h3 { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.mapa-card-body p { margin: 0; font-size: .9375rem; color: var(--dark-text-2); }
.mapa-card-body .btn { margin-top: .35rem; }
.mapa-chip { font-size: .75rem; font-weight: 700; padding: .25em .7em; border-radius: 980px; background: var(--blue); color: #fff; }
.mapa-chip.is-entr { background: rgba(255,255,255,.14); color: #f5f5f7; }
.mapa-box { position: relative; }
.mapa-svg { width: 100%; height: auto; max-height: 82vh; display: block; overflow: visible; }
.loc { fill: #1c1c1f; stroke: #3a3a40; stroke-width: 1.4; stroke-linejoin: round; transition: fill .3s ease; }
.loc[data-obras] { fill: #2a1416; stroke: #6b2a2d; }
.loc:hover { fill: #2f2f34; }
.loc[data-obras]:hover { fill: #3a1a1d; }
.loc-label { font: 600 13px/1 Inter, system-ui, sans-serif; fill: #6e6e73; text-anchor: middle; letter-spacing: .02em; pointer-events: none; }
.loc-label.is-obras { fill: #c9c9cf; font-size: 15px; }
.pin { cursor: pointer; outline: none; transition: opacity .35s ease; }
.pin-dot { fill: var(--blue); stroke: #fff; stroke-width: 2.4; transition: r .2s ease; }
.pin--entr .pin-dot { fill: #f5f5f7; stroke: #1d1d1f; }
.pin-pulse { fill: none; stroke: var(--blue); stroke-width: 2.4; opacity: 0; transform-box: fill-box; transform-origin: center; animation: pinPulse 2.4s ease-out infinite; animation-delay: var(--d); }
.pin--entr .pin-pulse { stroke: rgba(255,255,255,.7); animation-duration: 3.2s; }
@keyframes pinPulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.pin:hover .pin-dot, .pin:focus-visible .pin-dot, .pin.is-active .pin-dot { r: 9; }
.pin.is-active .pin-dot { stroke: #f5b301; stroke-width: 3; }
.pin.is-off { opacity: .12; pointer-events: none; }
.mapa-svg .pins .pin { opacity: 0; }
.mapa.is-in .pins .pin { opacity: 1; transition: opacity .5s ease calc(var(--d) * 0.6); }
.mapa.is-in .pins .pin.is-off { opacity: .12; }
.mapa-fuente { margin: .5rem 0 0; font-size: .75rem; color: #6e6e73; text-align: right; }
@media (max-width: 900px) { .mapa-grid { grid-template-columns: 1fr; } .mapa-box { order: -1; } .mapa-svg { max-height: 70vh; } .mapa-card { grid-template-columns: 96px 1fr; } }
@media (prefers-reduced-motion: reduce) { .pin-pulse { animation: none; } .mapa-svg .pins .pin { opacity: 1; } }
.pin.is-off .pin-pulse { display: none; }
/* ===== v18: acabados que se mueven solos ===== */
.acab-photos figure { isolation: isolate; }
.acab-photos img { animation: acabKB 10s ease-in-out infinite alternate; }
.acab-photos figure:nth-child(2) img { animation-duration: 12s; animation-delay: -3s; }
.acab-photos figure:nth-child(3) img { animation-duration: 11s; animation-delay: -6s; }
.acab-photos figure:nth-child(4) img { animation-duration: 13s; animation-delay: -2s; }
.acab-photos figure:nth-child(5) img { animation-duration: 12s; animation-delay: -8s; }
@keyframes acabKB { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.acab-photos figure:hover img { animation-play-state: paused; }
.acab-photos img.acab-next { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.1s ease; }
.acab-photos img.acab-next.is-in { opacity: 1; }
.acab-photos figcaption { z-index: 1; transition: opacity .4s ease; }
.acab-photos figcaption.is-swap { opacity: 0; }
.acab-photos .acab-zoom { z-index: 2; }
.acab-photos .acab-more { z-index: 3; }
.acab-dots { display: flex; gap: 6px; justify-content: center; margin-top: .25rem; }
@media (prefers-reduced-motion: reduce) { .acab-photos img { animation: none; } }
/* ===== v19: Quiénes somos + plano realista ===== */
.quienes { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
.quienes-copy { display: grid; gap: 1rem; }
.quienes-copy h3 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.035em; line-height: 1.04; margin: 0; }
.quienes-lead { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--text-2); }
.quienes-lead strong { color: var(--text); }
.quienes-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: .25rem 0; }
.quienes-stats div { display: flex; flex-direction: column-reverse; gap: .15rem; padding: .85rem 1rem; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.quienes-stats dd { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; color: var(--blue); line-height: 1; }
.quienes-stats dt { font-size: .8125rem; color: var(--text-2); }
.plano3d { display: grid; gap: .9rem; }
.p3-plan { position: relative; border-radius: 20px; overflow: hidden; background: #1d1d1f; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.p3-move { position: relative; transform-origin: 50% 50%; animation: p3Drift 18s ease-in-out infinite alternate; }
.p3-plan img { display: block; width: 100%; height: auto; }
@keyframes p3Drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.07) translate(-1.2%, .8%); } }
.p3-spot { position: absolute; translate: -50% -50%; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(196,22,28,.92); box-shadow: 0 0 0 4px rgba(255,255,255,.85), 0 6px 18px rgba(0,0,0,.35); transition: transform .25s cubic-bezier(.16,1,.3,1), background .2s; }
.p3-spot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(196,22,28,.8); animation: p3Ping 2.2s ease-out infinite; }
.p3-spot::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px; line-height: 1; }
.p3-spot span { position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 4px; white-space: nowrap; font-size: .75rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.75); padding: .3em .65em; border-radius: 980px; opacity: 0; pointer-events: none; transition: opacity .2s, translate .25s; }
.p3-spot:hover span, .p3-spot:focus-visible span, .p3-spot.is-on span { opacity: 1; translate: -50% 0; }
.p3-spot:hover, .p3-spot.is-on { transform: scale(1.15); }
.p3-spot.is-on { background: #f5b301; }
.p3-spot.is-on::after { content: ""; width: 8px; height: 8px; margin: auto; border-radius: 50%; background: #1d1d1f; inset: 0; position: absolute; }
@keyframes p3Ping { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.p3-view { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #e8e8ed; }
.p3-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s ease; animation: acabKB 9s ease-in-out infinite alternate; }
.p3-view img.is-fading { opacity: 0; }
.p3-view figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 2.5rem 1.1rem .9rem; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); font-size: .8125rem; }
.p3-view figcaption strong { font-size: 1.125rem; font-weight: 600; }
.p3-hint { margin: 0; font-size: .875rem; color: var(--text-2); }
@media (max-width: 860px) { .quienes { grid-template-columns: 1fr; } .p3-spot { width: 24px; height: 24px; } .p3-spot span { display: none; } .p3-spot.is-on span { display: block; } }
@media (prefers-reduced-motion: reduce) { .p3-move, .p3-view img, .p3-spot::before { animation: none; } }
/* ===== v20: (fondos de mármol retirados) ===== */
/* inicio: video de obras en el celular + fila de confianza */
.hero-obra { position: relative; }
.hero-live { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: .45em; padding: .4em .85em; border-radius: 980px; font-size: .8125rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(196,22,28,.7); animation: liveDot 1.8s ease-out infinite; }
@keyframes liveDot { 0% { box-shadow: 0 0 0 0 rgba(196,22,28,.7); } 100% { box-shadow: 0 0 0 10px rgba(196,22,28,0); } }
.hero-trust { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .5em; font-size: .9375rem; font-weight: 500; color: var(--text-2); }
.hero-trust svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* familias felices */
.familias { margin-top: clamp(3.5rem, 8vw, 6rem); display: grid; gap: 1.5rem; }
.familias-head { display: grid; gap: .6rem; max-width: 46rem; margin: 0 auto; text-align: center; }
.familias-h { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
.familias-head p { margin: 0; color: var(--text-2); font-size: 1.0625rem; }
.familias-rows { display: grid; gap: 14px; margin-inline: calc(var(--gutter) * -1); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.familias-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: famRoll 120s linear infinite; }
.familias-track--rev { animation-direction: reverse; animation-duration: 135s; }
.familias-track li { flex: none; width: clamp(150px, 16vw, 210px); aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #e8e8ed; box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.familias-track li:hover { transform: scale(1.06) rotate(-1deg); }
.familias-track img { width: 100%; height: 100%; object-fit: cover; display: block; }
.familias-rows:hover .familias-track { animation-play-state: paused; }
@keyframes famRoll { to { transform: translateX(calc(-50% - 7px)); } }
/* cómo comprar */
.comprar-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: paso; }
.comprar-steps li { position: relative; display: grid; gap: .6rem; align-content: start; padding: 1.6rem 1.4rem 1.5rem; border-radius: 22px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.comprar-steps li:not(:last-child)::after { content: ""; position: absolute; top: 2.6rem; right: -12px; width: 8px; height: 8px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); rotate: 45deg; z-index: 1; }
.comprar-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.125rem; color: #fff; background: var(--blue); box-shadow: 0 8px 22px -6px rgba(196,22,28,.7); }
.comprar-steps h3 { margin: .3rem 0 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.comprar-steps p { margin: 0; font-size: .9375rem; line-height: 1.5; color: var(--dark-text-2); }
.comprar-cta { text-align: center; margin: clamp(2rem, 4vw, 3rem) 0 0; }
@media (max-width: 900px) { .comprar-steps { grid-template-columns: 1fr 1fr; } .comprar-steps li::after { display: none; } }
@media (max-width: 560px) { .comprar-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .familias-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .familias-track li:nth-child(n+13) { display: none; } .hero-live i { animation: none; } }
/* ===== v21: todas las obras entregadas ===== */
.obras-all { margin-top: clamp(3rem, 7vw, 5rem); display: grid; gap: .8rem; }
.obras-all-h { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; }
.obras-all-h span, .obras-group h4 span { font-size: .55em; vertical-align: .35em; padding: .25em .7em; border-radius: 980px; background: var(--blue); color: #fff; font-weight: 700; margin-left: .3em; }
.obras-group h4 span { font-size: .75em; vertical-align: .1em; background: rgba(29,29,31,.08); color: var(--text); }
.obras-all-sub { margin: 0 0 .6rem; color: var(--text-2); }
.obras-groups { columns: 3 300px; column-gap: 2.2rem; }
.obras-group { break-inside: avoid; margin-bottom: 1.4rem; }
.obras-group h4 { margin: 0 0 .6rem; font-size: 1rem; font-weight: 600; }
.obras-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.obra-chip { font: inherit; font-size: .8125rem; font-weight: 500; padding: .38em .8em; border-radius: 980px; border: 0; cursor: pointer; color: var(--text); background: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s; }
.obra-chip:hover { background: var(--blue); color: #fff; box-shadow: none; }
.obra-chip.is-static { cursor: default; }
.obra-chip.is-static:hover { background: rgba(255,255,255,.85); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.pin--entr .pin-dot { r: 4; }
.footer-social { display: flex; gap: .5rem; margin-top: .9rem; }
.footer-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--text); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, transform .2s; }
.footer-social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-social .icon { width: 18px; height: 18px; }

/* ===== v22: fondos elegantes — marfil cálido, brillos suaves y grano fino ===== */
.hero { background: url(../img/deco/grano.png), radial-gradient(70% 60% at 85% 10%, rgba(196,22,28,.09), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(201,160,110,.14), transparent 70%), linear-gradient(180deg, #fcfbf9, #f7f5f2); }
.section:not(.section--dark):not(.section--gray) { background: url(../img/deco/grano.png), radial-gradient(55% 45% at 0% 0%, rgba(201,160,110,.13), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(196,22,28,.06), transparent 70%), linear-gradient(180deg, #fcfbf9, #f8f6f3); }
.section--gray { background: url(../img/deco/grano.png), radial-gradient(55% 50% at 100% 0%, rgba(196,22,28,.07), transparent 70%), radial-gradient(60% 55% at 0% 100%, rgba(201,160,110,.16), transparent 70%), linear-gradient(180deg, #f4f2ee, #eeebe6); }
.section--dark { background: url(../img/deco/grano-claro.png), radial-gradient(55% 50% at 100% 100%, rgba(196,22,28,.28), transparent 70%), radial-gradient(45% 40% at 0% 0%, rgba(201,160,110,.12), transparent 70%), linear-gradient(180deg, #131215, #0a0a0b); }
@media (min-width: 1500px) {
  .section:not(.section--dark):not(.section--gray) { background: url(../img/deco/bp-fachada.svg) no-repeat left max(-80px, calc(50% - var(--max-wide) / 2 - 300px)) center / 300px auto, url(../img/deco/bp-planta.svg) no-repeat right max(-60px, calc(50% - var(--max-wide) / 2 - 300px)) top 30% / 280px auto, url(../img/deco/grano.png), radial-gradient(55% 45% at 0% 0%, rgba(201,160,110,.13), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(196,22,28,.06), transparent 70%), linear-gradient(180deg, #fcfbf9, #f8f6f3); }
  .section--gray { background: url(../img/deco/bp-planta.svg) no-repeat left max(-60px, calc(50% - var(--max-wide) / 2 - 290px)) top 70% / 270px auto, url(../img/deco/bp-fachada.svg) no-repeat right max(-80px, calc(50% - var(--max-wide) / 2 - 300px)) center / 290px auto, url(../img/deco/grano.png), radial-gradient(55% 50% at 100% 0%, rgba(196,22,28,.07), transparent 70%), radial-gradient(60% 55% at 0% 100%, rgba(201,160,110,.16), transparent 70%), linear-gradient(180deg, #f4f2ee, #eeebe6); }
  .section--dark { background: url(../img/deco/bp-fachada-dark.svg) no-repeat left max(-80px, calc(50% - var(--max-wide) / 2 - 300px)) top 60% / 290px auto, url(../img/deco/bp-planta-dark.svg) no-repeat right max(-60px, calc(50% - var(--max-wide) / 2 - 290px)) top 25% / 270px auto, url(../img/deco/grano-claro.png), radial-gradient(55% 50% at 100% 100%, rgba(196,22,28,.28), transparent 70%), radial-gradient(45% 40% at 0% 0%, rgba(201,160,110,.12), transparent 70%), linear-gradient(180deg, #131215, #0a0a0b); }
}
.section::before { opacity: .55; }
/* ===== v23: inicio con video de fondo ===== */
.hero--video { min-height: min(92vh, 900px); display: grid; align-content: center; color: #fff; background: #0b0b0c; }
.hero--video .hero-grid { grid-template-columns: 1fr; }
.hero--video .hero-copy { max-width: 640px; }
.hero--video .hero-copy::before { display: none; }
.hero-bgvideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11,11,12,.86) 0%, rgba(11,11,12,.62) 42%, rgba(11,11,12,.18) 100%), linear-gradient(0deg, rgba(11,11,12,.55) 0%, transparent 35%); }
.hero--video .hero-bg::before { z-index: 2; background: radial-gradient(closest-side, rgba(196,22,28,.28), rgba(196,22,28,0)); }
.hero--video .hero-bg::after, .hero--video .hero-deco { display: none; }
.hero--video h1, .hero--video .display { color: #fff; }
.hero--video h1 em, .hero--video .accent { color: #ff3b42; }
.hero--video .hero-brand { color: #ff5a61; }
.hero--video .hero-brand::before { background: #ff5a61; }
.hero--video .lead { color: rgba(255,255,255,.86); }
.hero--video .chev { color: #fff; }
.hero--video .hero-trust li { color: rgba(255,255,255,.88); }
.hero--video .hero-trust svg { stroke: #ff5a61; }
@media (max-width: 900px) { .hero--video { min-height: 86vh; } .hero-shade { background: linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,.75) 60%, rgba(11,11,12,.9) 100%); } }
.hero--video .headline { color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.hero--video .headline .red, .hero--video .headline .red * { color: #ff3b42; }
/* ===== v24: acabados en carrusel grande ===== */
.acab-panel { grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 2.25rem); }
.acab-body { max-width: 780px; margin: 0 auto; text-align: center; justify-items: center; }
.acab-chips { justify-content: center; }
.acab-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.acar { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; padding-bottom: 3.2rem; }
.acar-track { display: flex; gap: 18px; will-change: transform; transition: transform 1s cubic-bezier(.65,0,.25,1); }
.acar-slide { position: relative; flex: none; width: min(80vw, 1240px); height: min(74vh, 780px); margin: 0; border-radius: 26px; overflow: hidden; background: #1d1d1f; opacity: .45; transform: scale(.94); transition: opacity .8s ease, transform 1s cubic-bezier(.65,0,.25,1); }
.acar-slide.is-active { opacity: 1; transform: none; box-shadow: 0 40px 80px -40px rgba(0,0,0,.55); }
.acar-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acar-slide.is-active img { animation: acarKB 7s ease-out both; }
@keyframes acarKB { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.acar-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.75rem 1.5rem; color: #fff; font-size: .9375rem; background: linear-gradient(to top, rgba(0,0,0,.65), transparent); opacity: 0; transform: translateY(10px); transition: opacity .6s ease .3s, transform .6s ease .3s; }
.acar-slide.is-active figcaption { opacity: 1; transform: none; }
.acar-slide figcaption strong { display: block; font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.acar-open { position: absolute; inset: 0; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.acar-nav { position: absolute; top: calc(50% - 1.6rem); translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--text); background: rgba(255,255,255,.9); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); z-index: 2; transition: transform .2s, background .2s; }
.acar-nav:hover { transform: scale(1.08); background: #fff; }
.acar-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.acar-prev { left: max(16px, calc(50% - min(40vw, 620px) - 26px)); }
.acar-next { right: max(16px, calc(50% - min(40vw, 620px) - 26px)); }
.acar-bar { position: absolute; left: 50%; bottom: .6rem; translate: -50% 0; display: flex; align-items: center; gap: 1rem; width: min(80vw, 1240px); }
.acar-count { font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-2); min-width: 4.5em; }
.acar-prog { flex: 1; height: 3px; border-radius: 3px; background: rgba(29,29,31,.12); overflow: hidden; }
.acar-prog i { display: block; height: 100%; width: 0; background: var(--blue); transition: width 1s cubic-bezier(.65,0,.25,1); }
@media (max-width: 700px) { .acar-slide { width: 88vw; height: 62vh; border-radius: 20px; } .acar-nav { width: 42px; height: 42px; } .acar-bar { width: 88vw; } }
@media (prefers-reduced-motion: reduce) { .acar-track, .acar-slide { transition: none; } .acar-slide.is-active img { animation: none; } }
/* ===== v25: reseñas ===== */
.resenas { margin-top: clamp(3.5rem, 8vw, 6rem); display: grid; gap: 1.5rem; }
.resenas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.resena { margin: 0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 40px -26px rgba(0,0,0,.35); transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s; }
.resena:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.resena img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.resena-body { display: grid; gap: .3rem; padding: .95rem 1.1rem 1.15rem; }
.resena-badge { display: inline-flex; align-items: center; gap: .35em; justify-self: start; font-size: .75rem; font-weight: 700; color: #1d7a45; background: #e5f5ec; padding: .25em .65em; border-radius: 980px; }
.resena-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.resena h4 { margin: .2rem 0 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.resena p { margin: 0; font-size: .875rem; color: var(--text-2); }
.resenas-cta { text-align: center; margin: .5rem 0 0; }
/* ===== v26: lista de obras dentro del mapa ===== */
.mapa-lista { border-radius: 22px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); overflow: hidden; }
.mapa-lista-head { display: grid; gap: 2px; padding: .9rem 1.1rem .7rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.mapa-lista-head strong { color: #fff; font-size: 1rem; }
.mapa-lista-head span { color: var(--dark-text-2); font-size: .8125rem; }
.mapa-lista-body { max-height: 300px; overflow-y: auto; padding: .9rem 1.1rem 1rem; display: grid; gap: 1rem; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; overscroll-behavior: contain; }
.ml-group h4 { margin: 0 0 .5rem; font-size: .875rem; font-weight: 600; color: #f5f5f7; }
.ml-group h4 span { font-size: .75rem; padding: .1em .55em; border-radius: 980px; background: rgba(255,255,255,.12); color: #f5f5f7; margin-left: .25em; }
.ml-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.ml-chip { font: inherit; font-size: .8125rem; font-weight: 500; padding: .32em .75em; border-radius: 980px; border: 0; cursor: pointer; color: #f5f5f7; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .2s, color .2s; }
.ml-chip--d::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .4em; border-radius: 50%; background: var(--blue); vertical-align: 1px; }
.ml-chip:hover { background: rgba(255,255,255,.18); }
.ml-chip.is-on { background: #f5b301; color: #1d1d1f; box-shadow: none; }
.mapa-grid { align-items: start; }
@media (max-width: 900px) { .mapa-lista-body { max-height: 240px; } }
/* ===== v27: fondos con fotos reales de obra, difuminadas ===== */
.section::before { display: none; }
.section::after { opacity: .6; }
#proyectos   { background: linear-gradient(rgba(246,245,243,.82), rgba(246,245,243,.88)), url(../img/fondos/proyectos.webp) center / cover; }
#acabados    { background: linear-gradient(rgba(255,255,255,.82), rgba(255,255,255,.9)), url(../img/fondos/acabados.webp) center / cover; }
#entregados  { background: linear-gradient(rgba(246,245,243,.82), rgba(246,245,243,.88)), url(../img/fondos/entregados.webp) center / cover; }
#servicios   { background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.88)), url(../img/fondos/quienes.webp) center / cover; }
#asesores    { background: linear-gradient(rgba(246,245,243,.8), rgba(246,245,243,.88)), url(../img/fondos/asesores.webp) center / cover; }
#contacto    { background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.88)), url(../img/fondos/contacto.webp) center / cover; }
#rentables   { background: radial-gradient(55% 50% at 100% 100%, rgba(196,22,28,.25), transparent 70%), linear-gradient(rgba(10,10,11,.8), rgba(10,10,11,.88)), url(../img/fondos/oscuro-pasadena.webp) center / cover; }
#proceso     { background: radial-gradient(55% 50% at 0% 100%, rgba(196,22,28,.22), transparent 70%), linear-gradient(rgba(10,10,11,.78), rgba(10,10,11,.88)), url(../img/fondos/oscuro-obra.webp) center / cover; }
#mapa        { background: radial-gradient(55% 50% at 100% 0%, rgba(196,22,28,.2), transparent 70%), linear-gradient(rgba(10,10,11,.8), rgba(10,10,11,.9)), url(../img/fondos/oscuro-ciudad.webp) center / cover; }
#comprar     { background: radial-gradient(55% 50% at 100% 100%, rgba(196,22,28,.25), transparent 70%), linear-gradient(rgba(10,10,11,.78), rgba(10,10,11,.88)), url(../img/fondos/oscuro-castilla.webp) center / cover; }
@media (min-width: 1100px) and (hover: hover) { #proyectos, #acabados, #entregados, #servicios, #asesores, #contacto, #rentables, #proceso, #mapa, #comprar { background-attachment: fixed; } }
.footer { background: #f2f1ef; }
/* textos grises más oscuros */
:root { --text-2: #48484d; --dark-text-2: #cfcfd4; }
.lead { color: var(--text-2); }
/* ===== v28: acabados reorganizado + reseñas propias ===== */
.acab-panel { gap: 1.5rem; }
.acar { padding-bottom: 3rem; }
.acab-body { max-width: var(--max-wide); width: 100%; margin: 0 auto; padding: 0 var(--gutter); text-align: left; display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: "h chips" "p actions"; gap: .6rem 3rem; align-items: start; justify-items: stretch; }
.acab-body .acab-h { grid-area: h; margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.acab-body .acab-p { grid-area: p; margin: 0; max-width: 60ch; }
.acab-body .acab-chips { grid-area: chips; justify-content: flex-start; margin: .35rem 0 0; }
.acab-body .acab-actions { grid-area: actions; justify-content: flex-start; }
#acabados .seg-wrap { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
@media (max-width: 860px) { .acab-body { grid-template-columns: 1fr; grid-template-areas: "h" "p" "chips" "actions"; } }
#resenas { background: linear-gradient(rgba(255,255,255,.84), rgba(255,255,255,.9)), url(../img/fondos/asesores.webp) center / cover; }
#resenas .resenas { margin-top: 0; }
#resenas .familias-head { text-align: center; }
.resena p { color: var(--text-2); }
.marquee span { color: #5c5c62; }
/* ===== v29: garantías del inicio ===== */
.hero--video { align-content: end; padding-top: clamp(6rem, 14vh, 9rem); padding-bottom: 2rem; }
.hero-garantias-wrap { position: relative; z-index: 3; width: 100%; margin-top: clamp(2rem, 6vh, 3.5rem); }
.hero-garantias { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hero-garantias li { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 18px; color: #fff; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.hg-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); box-shadow: 0 8px 20px -8px rgba(196,22,28,.8); }
.hg-ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hero-garantias strong { display: block; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.hero-garantias li span:not(.hg-ic) { display: block; margin-top: .2rem; font-size: .8125rem; line-height: 1.4; color: rgba(255,255,255,.82); }
@media (max-width: 1000px) { .hero-garantias { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hero-garantias { grid-template-columns: 1fr; } .hero-garantias li { padding: .8rem .9rem; } }
/* ===== v30: mapa con acercamiento y calles ===== */
.mapa-svg { --pz: 1; }
.mapa-svg .pin circle { scale: var(--pz); transform-box: fill-box; transform-origin: center; }
.mapa-svg .loc { vector-effect: non-scaling-stroke; }
.mapa-svg .loc-label { font-size: calc(13px * var(--pz)); }
.mapa-svg .loc-label.is-obras { font-size: calc(15px * var(--pz)); }
.mapa-svg circle[fill^="url"] { transition: opacity .6s; }
.mapa.is-zoom .mapa-svg circle[fill^="url"] { opacity: 0; }
.vias { opacity: 0; transition: opacity .8s ease .3s; pointer-events: none; }
.mapa.is-zoom .vias { opacity: 1; }
.via { fill: none; stroke: rgba(255,255,255,.22); stroke-width: .9px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.via--av { stroke: rgba(245,179,1,.55); stroke-width: 2.4px; }
.via-labels text { font: 600 calc(11px * var(--pz)) / 1 Inter, system-ui, sans-serif; fill: #f5d27a; paint-order: stroke; stroke: rgba(10,10,11,.85); stroke-width: calc(3px * var(--pz)); text-anchor: middle; }
.mapa.is-zoom .loc { fill-opacity: .55; }
.mapa-reset { position: absolute; top: 12px; right: 12px; z-index: 3; display: inline-flex; align-items: center; gap: .45em; font: inherit; font-size: .8125rem; font-weight: 600; padding: .55em .95em; border: 0; border-radius: 980px; cursor: pointer; color: #1d1d1f; background: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.mapa-reset svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mapa-box { overflow: hidden; border-radius: 22px; }
.mapa-svg { overflow: hidden; }
.mapa-reset[hidden], .mapa-card .btn[hidden], [hidden] { display: none !important; }
.mapa.is-zoom .pin-pulse { display: none; }
.mapa.is-zoom .pin.is-active .pin-dot { stroke-width: 3; }
.pin-tag { pointer-events: none; opacity: 0; transition: opacity .4s ease .6s; }
.mapa.is-zoom .pin-tag { opacity: 1; }
.pin-tag rect { fill: #fff; }
.pin-tag text { font: 700 13px/1 Inter, system-ui, sans-serif; fill: #1d1d1f; }
.mz { fill: rgba(255,255,255,.075); stroke: rgba(255,255,255,.16); stroke-width: .6px; vector-effect: non-scaling-stroke; }
.via { stroke: rgba(255,255,255,.3); }
.pin-tag text { white-space: pre; letter-spacing: .01em; }

/* ===== v33: inicio rediseñado (video de obra + etapas) ===== */
.hero--video { min-height: 100svh; padding-top: clamp(6.5rem, 16vh, 10rem); }
.hero--video .hero-grid { grid-template-columns: minmax(0, 1fr) 330px; align-items: end; gap: clamp(2rem, 4vw, 4rem); max-width: var(--max-wide); }
.hero--video .hero-copy { max-width: 760px; gap: 1.25rem; }
.hero--video .headline { font-size: clamp(2.9rem, 7.4vw, 6.4rem); line-height: .94; letter-spacing: -0.045em; }
.hero-shade { background: linear-gradient(90deg, rgba(8,8,9,.88) 0%, rgba(8,8,9,.6) 45%, rgba(8,8,9,.15) 100%), linear-gradient(0deg, rgba(8,8,9,.8) 0%, transparent 45%), linear-gradient(180deg, rgba(8,8,9,.55) 0%, transparent 22%); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6em; margin: 0; padding: .45em 1em .45em .8em; border-radius: 980px; font-size: .875rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.hero-eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: #ff3b42; box-shadow: 0 0 0 0 rgba(255,59,66,.7); animation: liveDot 1.8s ease-out infinite; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .3rem; }
.btn--lg { min-height: 56px; padding: 0 1.7em; font-size: 1.0625rem; box-shadow: 0 14px 34px -10px rgba(196,22,28,.75); }
.btn--glass { min-height: 56px; padding: 0 1.5em; font-size: 1.0625rem; gap: .55em; color: #fff; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--glass:hover { background: rgba(255,255,255,.22); }
.btn--glass svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.hero-nums { display: flex; flex-wrap: wrap; gap: 0; margin: .6rem 0 0; }
.hero-nums div { padding: 0 1.6rem; border-left: 1px solid rgba(255,255,255,.25); }
.hero-nums div:first-child { padding-left: 0; border-left: 0; }
.hero-nums dt { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.hero-nums dd { margin: .3rem 0 0; font-size: .875rem; color: rgba(255,255,255,.78); }
.hero-etapas { position: relative; z-index: 3; padding: 1.2rem 1.2rem 1rem; border-radius: 22px; color: #fff; background: rgba(12,12,13,.45); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 30px 60px -30px rgba(0,0,0,.8); }
.he-kicker { margin: 0 0 .8rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ff5a61; }
.hero-etapas ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.hero-etapas li { position: relative; display: grid; grid-template-columns: 2.2rem 1fr; align-items: center; padding: .65rem .2rem .75rem; opacity: .5; transition: opacity .4s ease; }
.hero-etapas li b { font-size: .8125rem; font-weight: 700; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.hero-etapas li span { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.hero-etapas li i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; }
.hero-etapas li i::after { content: ""; position: absolute; inset: 0; background: #ff3b42; transform-origin: left; transform: scaleX(var(--p, 0)); }
.hero-etapas li.is-on { opacity: 1; }
.hero-etapas li.is-on b { color: #ff5a61; }
.hero-etapas li.is-done i::after { transform: scaleX(1); background: rgba(255,255,255,.55); }
.he-obra { margin: .9rem 0 0; font-size: .8125rem; color: rgba(255,255,255,.75); }
.he-obra strong { color: #fff; }
@media (max-width: 1000px) {
  .hero--video .hero-grid { grid-template-columns: 1fr; }
  .hero-etapas { padding: .9rem 1rem; }
  .he-kicker { margin-bottom: .5rem; }
  .hero-etapas ol { grid-template-columns: repeat(4, 1fr); gap: .5rem; }
  .hero-etapas li { grid-template-columns: 1fr; padding: .2rem 0 .6rem; }
  .hero-etapas li span { font-size: .75rem; line-height: 1.2; }
}
@media (max-width: 560px) { .hero-nums div { padding: 0 .9rem; } .hero-etapas li span { display: none; } .hero-etapas li.is-on span { display: block; position: absolute; left: 0; top: 100%; white-space: nowrap; } .hero-etapas ol { margin-bottom: 1.2rem; } .btn--lg, .btn--glass { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero-eyebrow i { animation: none; } }
[data-etapa-nom] { display: none; }
@media (max-width: 560px) { [data-etapa-nom] { display: inline; color: #fff; font-weight: 600; } .hero-etapas li.is-on span { display: none; } .hero-etapas ol { margin-bottom: 0; } }

/* ===== v33: casa 3D con la fachada de Castilla ===== */
.c3d-stage { --brick: #dcc79d; --brick-l: rgba(255,250,235,.55); --brick-d: rgba(120,90,50,.18); --negro: #19191b; --rojo: #b3231d; }
.c3d-stage .pz:not(.pz-roof) .pf-right, .c3d-stage .pz:not(.pz-roof) .pf-left, .fz-up, .fz-g {
  background-color: var(--brick);
  background-image: linear-gradient(var(--brick-l) 1px, transparent 1px), linear-gradient(90deg, var(--brick-d) 1px, transparent 1px), linear-gradient(90deg, var(--brick-d) 1px, transparent 1px);
  background-size: 100% 7px, 18px 14px, 18px 14px; background-position: 0 0, 0 0, 9px 7px; }
.c3d-stage .pz:not(.pz-roof) .pf-right { filter: brightness(.86); }
.c3d-stage .pz:not(.pz-roof) .pf-left { filter: brightness(.72); }
.c3d-stage .pz:not(.pz-roof) .pf-right::before, .c3d-stage .pz:not(.pz-roof) .pf-left::before { content: ""; position: absolute; top: 0; bottom: 0; width: 30%; background: var(--negro); }
.c3d-stage .pz:not(.pz-roof) .pf-right::before { left: 0; }
.c3d-stage .pz:not(.pz-roof) .pf-left::before { right: 0; }
.c3d-stage .pz[data-p="1"] .pf-right::before, .c3d-stage .pz[data-p="1"] .pf-left::before { display: none; }
.fz-up { display: block; padding: 0; border-bottom: 0; }
.fzc-box { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--negro); box-shadow: inset 0 3px 0 rgba(255,255,255,.08); }
.fzc-win { position: absolute; left: 16%; right: 16%; top: 12%; height: 46%; border: 2px solid #f2f2f2; background: linear-gradient(155deg, #a9c3d8 0%, #5d7a93 40%, #24323f 75%, #18212a 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.4); }
.fzc-win::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: #f2f2f2; }
.fzc-win::after { content: ""; position: absolute; left: 0; right: 0; top: 34%; height: 2px; background: #f2f2f2; }
.fzc-panel { position: absolute; left: 16%; right: 16%; top: 64%; height: 24%; background: #f4f4f2; }
.fzc-tall { position: absolute; top: 10%; bottom: 10%; left: 60%; width: 13%; border: 3px solid var(--rojo); background: linear-gradient(160deg, #9fb6c9, #3b4c5c 60%, #1f2933); }
.fzc-tall::after { content: ""; position: absolute; left: 0; right: 0; top: 45%; height: 2px; background: rgba(255,255,255,.6); }
.fzc-tall--b { left: 80%; width: 11%; border-color: var(--negro); }
.fz-2 { box-shadow: inset 0 -5px 0 var(--rojo), inset 0 -11px 0 var(--negro); }
.fz-g { display: flex; align-items: flex-end; gap: 6%; padding: 0 8% 0; border-bottom: 4px solid #8f8f94; }
.fzc-gar { flex: 0 0 38%; height: 80%; background: repeating-linear-gradient(90deg, #1b1b1d 0 5px, #2c2c2f 5px 7px); box-shadow: inset 0 3px 0 #000; }
.fzc-door { flex: 0 0 13%; height: 80%; background: linear-gradient(90deg, #202022, #2e2e31); position: relative; }
.fzc-door::after { content: ""; position: absolute; right: 18%; top: 48%; width: 2px; height: 10px; background: #bbb; }
.fzc-reja { flex: 0 0 20%; height: 44%; align-self: center; margin-bottom: 6%; border: 2px solid #19191b; background: repeating-linear-gradient(90deg, #19191b 0 2px, transparent 2px 7px), linear-gradient(160deg, #8ea5b8, #2a3743); }
.pz-roof .pf-top { background: #d9d9dc; box-shadow: inset 0 0 0 6px #19191b; }
.pz-roof .pf-front, .pz-roof .pf-back, .pz-roof .pf-left, .pz-roof .pf-right { background: #19191b; }

/* ===== v33: proceso con lista + carrusel de entregas con flechas ===== */
.step-list { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .45rem; }
.step-list li { position: relative; padding-left: 1.6rem; font-size: .9688rem; line-height: 1.45; color: var(--dark-text-2); }
.step-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.05em; height: 1.05em; border-radius: 50%; background: rgba(255,59,66,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5' fill='none' stroke='%23ff5a61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.reel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.reel-head .h3 { margin: 0; }
.reel-sub { margin: .35rem 0 0; font-size: .9375rem; color: var(--text-2); }
.reel-nav { display: flex; gap: .6rem; flex: none; }
.reel-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: var(--text); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); transition: background .2s ease, transform .2s ease, opacity .2s ease; }
.reel-btn:hover { background: var(--blue); }
.reel-btn:active { transform: scale(.94); }
.reel-btn:disabled { opacity: .3; cursor: default; background: var(--text); }
.reel-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.reel { scroll-behavior: smooth; }
.reel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 1rem; }
.reel-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(0,0,0,.18); transition: width .3s ease, background .3s ease; }
.reel-dots i.on { width: 22px; border-radius: 4px; background: var(--blue); }
@media (max-width: 560px) { .reel-btn { width: 44px; height: 44px; } }

/* ===== v33: mapa fluido — capa de calles oculta durante el vuelo ===== */
.vias { visibility: hidden; opacity: 0; transition: opacity .45s ease, visibility 0s linear .45s; }
.mapa.is-zoom:not(.is-flying) .vias { visibility: visible; opacity: 1; transition: opacity .45s ease; }
.mapa.is-flying .pin-tag { opacity: 0 !important; }
.mapa-svg { will-change: contents; contain: layout paint; }
.mapa-svg .loc { transition: fill-opacity .6s ease; }

/* ===== v33: aliados con fondo limpio de obra ===== */
#aliados { background: radial-gradient(60% 80% at 50% 120%, rgba(196,22,28,.22), transparent 70%), linear-gradient(rgba(10,10,11,.84), rgba(10,10,11,.9)), url(../img/fondos/oscuro-ladrillo.webp) center / cover; }
@media (min-width: 1100px) and (hover: hover) { #aliados { background-attachment: scroll, scroll, fixed; } }
#aliados::before, #aliados::after { display: none !important; }
.aliados-strip { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.aliados-track { --gap: 18px; padding: 1rem 0 1.5rem; }
.aliados-track li { height: 112px; width: 230px; border-radius: 22px; background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); overflow: hidden; transition: background .3s ease; }
.aliados-track li:hover { background: rgba(255,255,255,.12); }
.aliados-track img { opacity: .92; }
@media (max-width: 640px) { .aliados-track li { height: 88px; width: 170px; } }
@media (max-width: 560px) {
  .hero--video { padding-top: 6rem; min-height: 0; }
  .hero-nums { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
  .hero-nums div { padding: 0 .85rem; }
  .hero-nums dt { font-size: 1.75rem; }
  .hero-nums dd { font-size: .75rem; }
  .hero-garantias li span:not(.hg-ic) { display: none; }
  .hero-garantias { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-garantias li { align-items: center; padding: .7rem .75rem; gap: .6rem; }
  .hero-garantias strong { font-size: .8125rem; }
}
@media (max-width: 1000px) { .hero--video .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero--video > *, .hero--video .hero-grid > * { min-width: 0; }
.hero--video .hero-grid { width: 100%; box-sizing: border-box; }
.hero-etapas li { min-width: 0; }
@media (max-width: 1000px) { .hero-etapas ol { grid-template-columns: repeat(3, 1fr); } }

/* ===== v35: página en pestañas ===== */
.js .tab-panel:not(.is-active) { display: none; }
.tab-panel.is-active { animation: tabIn .5s cubic-bezier(.16,1,.3,1); }
@keyframes tabIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tab-panel.is-active { animation: none; } }
html { scroll-padding-top: 72px; }
/* pestañas en la barra superior (computador) */
.nav-tabs { gap: 4px; padding: 4px; border-radius: 980px; background: rgba(0,0,0,.05); }
.nav-tabs a { position: relative; padding: .5rem 1rem; border-radius: 980px; font-size: .875rem; font-weight: 500; color: rgba(0,0,0,.72); transition: background .25s ease, color .25s ease; }
.nav-tabs a:hover { color: #000; background: rgba(0,0,0,.05); text-decoration: none; }
.nav-tabs a[aria-selected="true"] { color: #fff; background: #111113; box-shadow: 0 6px 16px -8px rgba(0,0,0,.6); }
.nav-tabs a[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 14px; height: 2px; translate: -50% 0; border-radius: 2px; background: var(--blue); }
@media (max-width: 1100px) and (min-width: 821px) { .nav-tabs a { padding: .45rem .7rem; font-size: .8125rem; } }
@media (max-width: 820px) { .nav-tabs { display: none; } }
@media (min-width: 821px) { .nav-tabs { display: flex; } }
/* barra inferior (celular) */
.tabbar { display: none; }
@media (max-width: 820px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 -1px 0 rgba(0,0,0,.08), 0 -10px 30px -12px rgba(0,0,0,.2); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; min-width: 0; padding: 6px 2px 4px; border-radius: 12px; color: #55555a; text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .tabbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .6563rem; font-weight: 600; letter-spacing: -0.01em; }
  .tabbar a[aria-selected="true"] { color: var(--blue); background: rgba(196,22,28,.08); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .wa-float { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .lista { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
/* tarjetas "Explora" del inicio */
.explora { background: #f6f5f3; }
.xp-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, minmax(230px, 1fr)); gap: 14px; }
.xp-card { position: relative; display: block; overflow: hidden; border-radius: 26px; min-height: 230px; color: #fff; text-decoration: none; background: #111113; isolation: isolate; box-shadow: 0 20px 40px -24px rgba(0,0,0,.5); }
.xp-card:hover { text-decoration: none; color: #fff; }
.xp-card--big { grid-row: span 2; }
.xp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.xp-card:hover img { transform: scale(1.05); }
.xp-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 20%, rgba(0,0,0,.85) 100%); }
.xp-body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .3rem; padding: 1.3rem 1.4rem; }
.xp-kicker { justify-self: start; padding: .25em .75em; border-radius: 980px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; background: var(--blue); }
.xp-card strong { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; }
.xp-card--big strong { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.xp-txt { font-size: .9375rem; line-height: 1.4; color: rgba(255,255,255,.85); max-width: 40ch; }
.xp-go { display: inline-flex; align-items: center; gap: .4em; margin-top: .35rem; font-size: .875rem; font-weight: 600; }
.xp-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.xp-card:hover .xp-go svg { transform: translateX(4px); }
.xp-card--cta { background: radial-gradient(120% 120% at 100% 0%, #e0262d 0%, #b3161c 45%, #6d0b0f 100%); }
.xp-card--cta .xp-shade { display: none; }
.xp-card--cta .xp-kicker { background: #fff; color: var(--blue); }
@media (max-width: 900px) { .xp-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; } .xp-card--big { grid-column: span 2; grid-row: auto; min-height: 300px; } }
@media (max-width: 560px) { .xp-grid { grid-template-columns: 1fr; gap: 12px; } .xp-card--big { grid-column: auto; min-height: 260px; } .xp-card { min-height: 190px; } }
#explora { background: linear-gradient(180deg, #f6f5f3, #efedea) !important; }
#explora::before, #explora::after { display: none !important; }

/* ===== v36: predios con foto de fachada ===== */
.card-media .vplay--sm { left: auto; right: 12px; bottom: 12px; top: auto; transform: none; padding: .4em .8em .4em .45em; font-size: .75rem; }
.card-ph em { display: block; margin-top: .5rem; font-style: normal; font-size: .75rem; font-weight: 600; opacity: .7; }

/* ===== v37: inicio con foto fija de fachada y garantías compactas ===== */
.hero--video .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-photo { object-position: 55% 40%; }
.hero-garantias { display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.hero-garantias li { flex: 0 1 auto; align-items: center; gap: .55rem; padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.hero-garantias .hg-ic { width: 28px; height: 28px; border-radius: 8px; box-shadow: none; }
.hero-garantias .hg-ic svg { width: 16px; height: 16px; }
.hero-garantias strong { font-size: .9375rem; font-weight: 600; }
.hero-garantias li span:not(.hg-ic) { display: none; }
@media (max-width: 560px) { .hero-garantias { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; } .hero-garantias strong { font-size: .8125rem; } }

/* ===== v38: planos y recorrido virtual ===== */
.tour { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: clamp(0px, 2vw, 24px); background: rgba(6,6,7,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s ease; }
.tour.is-open { opacity: 1; }
.tour[hidden] { display: none !important; }
.tour-panel { width: min(1320px, 100%); max-height: 100%; overflow: auto; display: grid; gap: 14px; padding: clamp(14px, 2vw, 24px); border-radius: 26px; color: #f5f5f7; background: #111113; box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
.tour-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.tour-kicker { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ff5a61; }
.tour-title { margin: .2rem 0 0; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 650; letter-spacing: -0.03em; color: #fff; }
.tour-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff; background: rgba(255,255,255,.1); }
.tour-close:hover { background: rgba(255,255,255,.2); }
.tour-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.tour-tipos { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tour-tipos[hidden] { display: none; }
.tour-tipos button { flex: none; display: grid; gap: 1px; text-align: left; padding: .55rem 1rem; border: 0; border-radius: 14px; cursor: pointer; font: inherit; color: #d6d6db; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.tour-tipos button strong { font-size: .9375rem; color: #fff; }
.tour-tipos button span { font-size: .8125rem; }
.tour-tipos button[aria-selected="true"] { background: var(--blue); box-shadow: none; color: #fff; }
.tour-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.tour-view { display: grid; gap: 10px; min-width: 0; }
.tour-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; background: #0a0a0b; }
.tour-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.tour-img.is-on { opacity: 1; }
.tour-img.is-tall { object-fit: contain; }
.tour-img.kb { animation: tourKB 6.5s ease-out forwards; }
@keyframes tourKB { from { transform: scale(1.0) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }
.tour-room { position: absolute; left: 14px; top: 14px; padding: .4em .9em; border-radius: 980px; font-size: .9375rem; font-weight: 650; color: #fff; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tour-count { position: absolute; right: 14px; top: 14px; padding: .35em .8em; border-radius: 980px; font-size: .8125rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.45); font-variant-numeric: tabular-nums; }
.tour-nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #111; background: rgba(255,255,255,.9); box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); transition: transform .2s ease; }
.tour-nav:hover { transform: scale(1.06); }
.tour-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tour-prev { left: 12px; } .tour-next { right: 12px; }
.tour-play { position: absolute; left: 14px; bottom: 16px; padding: .45em .95em; border: 0; border-radius: 980px; cursor: pointer; font: inherit; font-size: .8125rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tour-play .tp-play { display: none; }
.tour.is-paused .tour-play .tp-play { display: inline; }
.tour.is-paused .tour-play .tp-pause { display: none; }
.tour-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); }
.tour-bar i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.tour-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.tour-thumbs button { position: relative; flex: none; width: 120px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; background: #000; opacity: .6; transition: opacity .2s ease, box-shadow .2s ease; }
.tour-thumbs button:hover { opacity: .9; }
.tour-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--blue); }
.tour-thumbs img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tour-thumbs span { position: absolute; left: 0; right: 0; bottom: 0; padding: .9em .5em .35em; font-size: .6875rem; font-weight: 600; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.8)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-plan { display: grid; gap: 12px; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.tour-plan-head { display: flex; align-items: center; justify-content: space-between; }
.tour-plan-head h3 { margin: 0; font-size: 1rem; font-weight: 650; color: #fff; }
.tour-seg { display: inline-flex; padding: 3px; border-radius: 980px; background: rgba(255,255,255,.08); }
.tour-seg button { border: 0; padding: .35em .9em; border-radius: 980px; cursor: pointer; font: inherit; font-size: .8125rem; font-weight: 650; color: #d6d6db; background: transparent; }
.tour-seg button[aria-pressed="true"] { color: #111; background: #fff; }
.tour-seg button:disabled { opacity: .35; cursor: default; }
.tour-plan-img { display: block; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #fff; }
.tour-plan-img img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.tour-facts { margin: 0; display: grid; gap: 8px; }
.tour-facts div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.tour-facts dt { font-size: .8125rem; color: #a1a1a6; }
.tour-facts dd { margin: 0; font-size: .875rem; font-weight: 600; color: #fff; text-align: right; }
.tour-cta { justify-content: center; }
.tour-note { margin: 0; font-size: .75rem; line-height: 1.4; color: #8e8e93; }
.tour-zoom { position: fixed; inset: 0; z-index: 2; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.92); cursor: zoom-out; }
.tour-zoom[hidden] { display: none; }
.tour-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; background: #fff; }
.tour-zoom .tour-close { position: absolute; top: 16px; right: 16px; }
@media (max-width: 900px) {
  .tour { padding: 0; place-items: stretch; }
  .tour-panel { border-radius: 0; min-height: 100%; align-content: start; }
  .tour-body { grid-template-columns: 1fr; }
  .tour-stage { aspect-ratio: 4 / 3; border-radius: 16px; }
  .tour-nav { width: 40px; height: 40px; }
  .tour-thumbs button { width: 96px; }
}
@media (prefers-reduced-motion: reduce) { .tour-img { transition: none; } .tour-img.kb { animation: none; } }
/* botón en la tarjeta del predio */
.card-tour { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: .45em; padding: .45em .85em .45em .55em; border: 0; border-radius: 980px; cursor: pointer; font: inherit; font-size: .75rem; font-weight: 650; color: #fff; background: rgba(17,17,19,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s ease; }
.card-tour:hover { background: var(--blue); }
.card-tour svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.tour { z-index: 3000; }
.tour-panel, .tour-view, .tour-plan { grid-auto-rows: max-content; }
.tour-tipos, .tour-thumbs { flex: none; min-height: max-content; }
.tour-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: none; z-index: 1; }
.tour-stage.is-video .tour-vid { display: block; }
.tour-stage.is-video .tour-img, .tour-stage.is-video .tour-bar { visibility: hidden; }
.tour-stage.is-video .tour-room, .tour-stage.is-video .tour-count { z-index: 2; }
.tour-stage.is-video .tour-play { display: none; }
.tour-stage.is-video .tour-nav { z-index: 2; top: 40%; }
.tour-img.is-plan { object-fit: contain; background: #fff; padding: 8px; }
.tour-thumbs button:has(img[src*="/t/vid-"])::after { content: "▶"; position: absolute; left: 50%; top: 38%; translate: -50% -50%; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; color: #fff; background: var(--blue); }
.tour-plan-img { background: #808085; }
.tour-img.is-tall { background: #808085; }
.build-rail { display: none !important; }

/* ===== v44: aliados como nombres (sin logos) ===== */
.aliados-track { animation-duration: 75s; }
.aliado-name { display: block; padding: 0 1.1rem; color: #fff; font: 800 1.05rem/1.15 var(--font); letter-spacing: .06em; text-transform: uppercase; text-align: center; opacity: .9; transition: opacity .3s; }
.aliados-track li:hover .aliado-name { opacity: 1; }
@media (max-width: 640px) { .aliado-name { font-size: .85rem; padding: 0 .7rem; } }

/* ===== v47: imágenes de las tarjetas de Explora ===== */
.xp-ba { position: absolute; top: 14px; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; pointer-events: none; }
.xp-ba i { justify-self: center; font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .3em .8em; border-radius: 980px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.xp-card--cta img { left: auto; width: 60%; object-position: center 18%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.xp-card--cta .xp-shade { display: block; background: linear-gradient(90deg, rgba(109,11,15,.55) 0%, rgba(109,11,15,.15) 55%, rgba(0,0,0,0) 100%), linear-gradient(180deg, transparent 55%, rgba(60,6,9,.55) 100%); }
.xp-card--cta .xp-txt { max-width: 26ch; }
@media (max-width: 560px) { .xp-card--cta img { width: 55%; } }
.xp-card--cta img { width: 62%; object-fit: cover; object-position: center 10%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
.xp-card[href="#ubicaciones"] .xp-shade { background: linear-gradient(180deg, rgba(0,0,0,0) 15%, rgba(0,0,0,.8) 100%); }

/* ===== v49: recorrido 360° ===== */
.card-360 { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: .45em; padding: .3em .8em .3em .3em; border: 0; border-radius: 980px; cursor: pointer; font: inherit; font-size: .75rem; font-weight: 650; color: #fff; background: rgba(17,17,19,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s ease; }
.card-360 b { display: grid; place-items: center; min-width: 2.6em; height: 2.6em; padding: 0 .3em; border-radius: 980px; background: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: -.02em; }
.card-360:hover { background: var(--blue); }
.card-360:hover b { background: #fff; color: var(--blue); }
.v360 { position: fixed; inset: 0; z-index: 3100; display: none; background: #0b0b0c; color: #fff; }
.v360.is-open { display: block; }
.v360-pano { position: absolute; inset: 0; }
.v360-pano .pnlm-load-box { background: rgba(17,17,19,.85); border-radius: 16px; }
.v360-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: max(16px, env(safe-area-inset-top)) 16px 2.5rem; background: linear-gradient(180deg, rgba(0,0,0,.65), transparent); pointer-events: none; }
.v360-title { display: grid; gap: .15rem; pointer-events: auto; }
.v360-kicker { justify-self: start; padding: .2em .7em; border-radius: 980px; background: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.v360-title strong { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 650; letter-spacing: -.02em; }
.v360-title span:last-child { font-size: .85rem; color: rgba(255,255,255,.75); }
.v360-close { pointer-events: auto; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(17,17,19,.75); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.v360-close:hover { background: var(--blue); }
.v360-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.v360-hint { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border-radius: 980px; background: rgba(17,17,19,.7); font-size: .85rem; font-weight: 600; pointer-events: none; animation: v360hint 4s ease forwards; }
.v360-hint svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes v360hint { 0%, 70% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.v360-map { position: absolute; right: 16px; bottom: 150px; width: min(340px, 34vw); border-radius: 16px; overflow: hidden; background: rgba(17,17,19,.8); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 18px 40px -20px rgba(0,0,0,.8); }
.v360-map img { display: block; width: 100%; height: auto; opacity: .92; }
.v360-dots { position: absolute; inset: 0; }
.v360-dot { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; padding: 0; border: 2px solid #fff; border-radius: 50%; cursor: pointer; background: rgba(17,17,19,.75); transition: transform .2s ease, background .2s ease; }
.v360-dot span { position: absolute; left: 50%; bottom: 140%; transform: translateX(-50%); white-space: nowrap; padding: .15em .5em; border-radius: 6px; background: rgba(17,17,19,.9); font-size: .7rem; font-weight: 600; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.v360-dot:hover span, .v360-dot.is-on span { opacity: 1; }
.v360-dot:hover { transform: scale(1.2); }
.v360-dot.is-on { background: var(--blue); box-shadow: 0 0 0 6px rgba(196,22,28,.35); }
.v360-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .6rem; padding: 3rem 16px max(14px, env(safe-area-inset-bottom)); background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); }
.v360-room { font-size: 1.05rem; font-weight: 650; }
.v360-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.v360-chips::-webkit-scrollbar { display: none; }
.v360-chip { flex: none; padding: .55em 1em; border: 1px solid rgba(255,255,255,.25); border-radius: 980px; cursor: pointer; font: inherit; font-size: .85rem; font-weight: 600; color: #fff; background: rgba(17,17,19,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.v360-chip:hover { border-color: #fff; }
.v360-chip.is-on { background: #fff; color: #111; border-color: #fff; }
.v360-note { margin: 0; font-size: .72rem; color: rgba(255,255,255,.6); max-width: 70ch; }
@media (max-width: 700px) { .v360-map { width: 46vw; bottom: 170px; right: 12px; } .v360-dot { width: 14px; height: 14px; margin: -7px 0 0 -7px; } }
@media (max-width: 700px) { .v360-dot span { display: none; } }

/* ===== v51: recorrido 360° estilo visor inmersivo ===== */
.v360-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 3; }
.v360-select { position: absolute; top: max(14px, env(safe-area-inset-top)); left: 14px; z-index: 3; display: inline-flex; align-items: center; }
.v360-select select { -webkit-appearance: none; appearance: none; min-width: 210px; padding: .7em 2.6em .7em 1em; border: 0; border-radius: 12px; font: inherit; font-size: .95rem; font-weight: 650; color: #fff; background: rgba(17,17,19,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; }
.v360-select select:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.v360-select svg { position: absolute; right: .8em; width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.v360-map { left: 14px; right: auto; bottom: max(14px, env(safe-area-inset-bottom)); width: min(240px, 42vw); border-radius: 12px; z-index: 3; }
.v360-dot { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: rgba(255,255,255,.85); border: 2px solid rgba(17,17,19,.6); }
.v360-dot.is-on { background: var(--blue); border-color: #fff; box-shadow: 0 0 0 5px rgba(196,22,28,.35); }
.v360-brand { position: absolute; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 3; width: 92px; height: auto; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.9); }
.v360-welcome { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 16px; background: rgba(10,10,11,.35); }
.v360-welcome[hidden] { display: none; }
.v360-card { display: grid; justify-items: center; gap: .55rem; max-width: 380px; padding: 1.6rem 1.5rem; border-radius: 22px; text-align: center; color: #111; background: rgba(255,255,255,.94); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.v360-logo { width: 120px; height: auto; margin-bottom: .2rem; }
.v360-card strong { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.v360-card > span { font-size: .9rem; color: #555; margin-top: -.3rem; }
.v360-howto { display: grid; gap: .45rem; margin: .5rem 0; font-size: .85rem; color: #333; }
.v360-howto span { display: inline-flex; align-items: center; gap: .55em; }
.v360-howto svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v360-start { padding: .75em 1.6em; border: 0; border-radius: 980px; cursor: pointer; font: inherit; font-weight: 700; color: #fff; background: var(--blue); }
.v360-start:hover { filter: brightness(1.08); }
.v360-card small { font-size: .7rem; color: #777; max-width: 32ch; }
@media (max-width: 700px) { .v360-map { width: 44vw; } .v360-brand { width: 74px; } .v360-select select { min-width: 0; max-width: 62vw; } }


/* ===== v57: maqueta virtual (vista aérea con el proyecto) ===== */
.card-maq { position: absolute; top: 56px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: .4em; padding: .45em .8em .45em .55em; border: 0; border-radius: 980px; cursor: pointer; font: inherit; font-size: .75rem; font-weight: 650; color: #fff; background: rgba(17,17,19,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s ease; }
.card-maq:hover { background: var(--blue); }
.card-maq svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.mq { position: fixed; inset: 0; z-index: 3100; display: none; background: #0b0b0c; color: #fff; overflow: hidden; }
.mq.is-open { display: block; }
.mq-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; }
.mq-stage:active { cursor: grabbing; }
.mq-layer { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.mq-img { display: block; max-width: none; user-select: none; -webkit-user-drag: none; }
.mq-pin { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; transform: translate(-50%, -100%) scale(var(--inv, 1)); transform-origin: 50% 100%; display: grid; justify-items: center; gap: 6px; }
.mq-pin-tag { order: -1; white-space: nowrap; padding: .45em .9em; border-radius: 980px; background: #fff; color: #1d1d1f; font-size: 15px; font-weight: 700; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.mq-pin-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); border: 4px solid #fff; box-shadow: 0 0 0 0 rgba(196,22,28,.6); animation: mqPulse 2s ease-out infinite; }
@keyframes mqPulse { 0% { box-shadow: 0 0 0 0 rgba(196,22,28,.6); } 100% { box-shadow: 0 0 0 22px rgba(196,22,28,0); } }
.mq-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: max(12px, env(safe-area-inset-top)) 14px 14px; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.9)); color: #1d1d1f; box-shadow: 0 8px 24px -16px rgba(0,0,0,.5); }
.mq-logo { width: 84px; height: auto; flex: none; }
.mq-menu { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.mq-menu::-webkit-scrollbar { display: none; }
.mq-menu button { flex: none; display: inline-flex; align-items: center; gap: .45em; padding: .55em .9em; border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-size: .875rem; font-weight: 600; color: #1d1d1f; background: transparent; }
.mq-menu button:hover { background: #f1f1f3; }
.mq-menu button.is-on { background: #fde8e8; color: var(--blue); }
.mq-menu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.mq-menu [data-mq="vuelo"] svg { fill: currentColor; stroke: none; }
.mq-menu [hidden] { display: none; }
.mq-close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; background: #1d1d1f; color: #fff; }
.mq-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.mq-zoom { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 3; display: grid; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.95); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.mq-zoom button { width: 42px; height: 42px; border: 0; cursor: pointer; font: 600 22px/1 Inter, system-ui, sans-serif; color: #1d1d1f; background: transparent; }
.mq-zoom button + button { border-top: 1px solid rgba(0,0,0,.08); }
.mq-card { position: absolute; left: 14px; bottom: max(44px, calc(env(safe-area-inset-bottom) + 34px)); z-index: 3; display: grid; justify-items: start; gap: .3rem; width: min(320px, calc(100% - 28px)); padding: 1rem 1.1rem; border-radius: 18px; background: #fff; color: #1d1d1f; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.mq-card[hidden] { display: none; }
.mq-card strong { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.mq-card > span:not(.mq-chip) { font-size: .875rem; color: #6e6e73; }
.mq-chip { padding: .2em .7em; border-radius: 980px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; }
.mq-card-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .4rem; }
.mq-card .btn--ghost { color: #1d1d1f; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.mq-card-x { position: absolute; top: 6px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; color: #6e6e73; background: transparent; }
.mq-note { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 8px 14px max(8px, env(safe-area-inset-bottom)); font-size: .72rem; color: rgba(255,255,255,.85); background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); text-align: center; }
.mq-video { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 80px 14px 40px; background: rgba(8,8,9,.92); }
.mq-video[hidden] { display: none; }
.mq-video video { width: min(1200px, 100%); max-height: 100%; border-radius: 14px; background: #000; }
@media (max-width: 700px) { .mq-logo { width: 64px; } .mq-menu button { font-size: .8rem; padding: .5em .7em; } .mq-zoom { display: none; } }

/* ===== v58: maqueta virtual con giro del vuelo ===== */
.mq-vid { display: block; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.mq-layer { transition: transform .25s ease-out; }
.mq-ctrl { position: absolute; left: 50%; bottom: max(40px, calc(env(safe-area-inset-bottom) + 32px)); transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 980px; background: rgba(255,255,255,.95); box-shadow: 0 12px 28px -14px rgba(0,0,0,.6); }
.mq-ctrl button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; background: transparent; color: #1d1d1f; font: 600 20px/1 Inter, system-ui, sans-serif; }
.mq-ctrl button:hover { background: #f1f1f3; }
.mq-ctrl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mq-ctrl [data-ico-play] { fill: currentColor; stroke: none; }
.mq-sep { width: 1px; height: 24px; background: rgba(0,0,0,.12); margin: 0 4px; }
.mq-zoom { display: none !important; }
.mq-hint { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; display: inline-flex; align-items: center; gap: .5em; padding: .6em 1.1em; border-radius: 980px; background: rgba(17,17,19,.75); font-size: .9rem; font-weight: 600; pointer-events: none; transition: opacity .4s ease; }
.mq-hint.is-gone { opacity: 0; }
.mq-hint svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mq-load { position: absolute; left: 50%; top: 92px; transform: translateX(-50%); z-index: 3; padding: .4em .9em; border-radius: 980px; background: rgba(17,17,19,.8); font-size: .8rem; }
.mq-load[hidden] { display: none; }
.mq-card { bottom: max(100px, calc(env(safe-area-inset-bottom) + 92px)); }
@media (min-width: 900px) { .mq-card { bottom: max(40px, calc(env(safe-area-inset-bottom) + 32px)); } }
@media (max-width: 700px) { .mq-ctrl button { width: 36px; height: 36px; } }
.mq-3d { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; pointer-events: none; }
.mq > .mq-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 4; width: 44px; height: 44px; background: rgba(17,17,19,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mq > .mq-close:hover { background: var(--blue); }
.mq-load { top: 20px; }
.mq-hint { top: auto; bottom: max(96px, calc(env(safe-area-inset-bottom) + 88px)); transform: translateX(-50%); }
@media (max-width: 899px) { .mq-hint { bottom: auto; top: max(70px, env(safe-area-inset-top)); } }
.mq-layer { transition: none !important; will-change: transform; } .mq-3d { display: none; }
.mq-stage > .mq-pin { left: 0; top: 0; z-index: 2; will-change: transform; } .mq-vid { will-change: transform; }

/* ===== v63: casa rentable con render real, piso por piso ===== */
.c3d-scene.cx { transform: none; transform-style: flat; animation: c3dFloat 7s ease-in-out infinite; }
.cx-house { --hh: clamp(320px, calc(100vh - 330px), 500px); position: relative; width: calc(var(--hh) / 2.496); height: auto; display: flex; flex-direction: column; transform: translateY(calc(var(--gap) * 1)); transform-style: flat; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.cx .pz { position: relative; left: auto; top: auto; transform: translateY(calc(var(--gap) * -0.5 * var(--i))); transform-style: flat; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.cx .pf { position: static; display: block; width: 100%; height: auto; transform: none; backface-visibility: visible; user-select: none; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); transition: filter .6s ease, outline-color .4s ease; outline: 3px solid transparent; outline-offset: 2px; border-radius: 3px; }
.cx .cx-roof .pf { filter: none; }
.c3d-stage[data-step="2"] .cx .pz.is-rent .pf { filter: brightness(.38) saturate(.55) drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.c3d-stage[data-step="3"] .cx .pz.is-home .pf { filter: brightness(.45) drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.c3d-stage:is([data-step="2"],[data-step="4"]) .cx .pz.is-home .pf { outline-color: var(--blue); filter: drop-shadow(0 0 28px rgba(196,22,28,.55)); }
.c3d-stage[data-step="4"] .cx .pz[data-p] .pf { cursor: pointer; }
.c3d-stage[data-step="4"] .cx .pz[data-p]:hover .pf { filter: brightness(1.12) drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.cx .pz-tag { left: calc(100% + 22px); top: 50%; transform: translateY(-50%); }
.cx .pz-coin { left: -48px; top: 50%; transform: translateY(-50%); }
.cx + .c3d-shadow, .c3d-stage .c3d-shadow { bottom: 12%; }
@media (max-width: 900px) {
  .cx-house { --hh: calc(56vh - 90px); }
  .c3d-scene.cx { translate: -70px 0; }
  .cx .pz-tag { left: calc(100% + 12px); padding: .45rem .65rem; }
  .cx .pz-tag span { font-size: .8125rem; }
  .cx .pz-coin { left: -40px; }
}
@media (prefers-reduced-motion: reduce) { .cx-house, .cx .pz { transition: none; } .c3d-scene.cx { animation: none; } }
.c3d-stage .c3d-real { top: auto; bottom: 5%; right: 0; width: 26%; max-width: 180px; }

/* ===== v65: autorización de datos, política y pie de página ===== */
.link { padding: 0; border: 0; background: none; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.field--check .check { display: grid; grid-template-columns: 20px 1fr; gap: .6rem; align-items: start; font-size: .8125rem; line-height: 1.45; color: var(--text-2); cursor: pointer; }
.field--check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.field--check input[aria-invalid="true"] { outline: 2px solid var(--blue); outline-offset: 2px; }
.legal { position: fixed; inset: 0; z-index: 3200; display: grid; place-items: center; padding: 16px; background: rgba(10,10,11,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.legal[hidden] { display: none; }
.legal-panel { position: relative; width: min(760px, 100%); max-height: min(86vh, 900px); overflow-y: auto; overscroll-behavior: contain; border-radius: 22px; background: #fff; color: var(--text); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); outline: none; }
.legal-body { padding: clamp(1.5rem, 4vw, 2.6rem); }
.legal-kicker { margin: 0 0 .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
.legal-body h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; line-height: 1.15; }
.legal-date { margin: .4rem 0 1.4rem; font-size: .8125rem; color: var(--text-2); }
.legal-body h3 { margin: 1.4rem 0 .4rem; font-size: 1rem; }
.legal-body p, .legal-body li { font-size: .9375rem; line-height: 1.6; color: #3a3a3c; }
.legal-body p { margin: 0; }
.legal-body ul { margin: .2rem 0 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.legal-close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer; background: #f1f1f3; color: var(--text); z-index: 1; }
.legal-close:hover { background: var(--blue); color: #fff; }
.ft { background: #121214 !important; color: rgba(255,255,255,.72); font-size: .875rem; padding-block: clamp(3rem, 6vw, 4.5rem) 7rem; }
.ft a { color: rgba(255,255,255,.82); }
.ft a:hover { color: #fff; }
.ft-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.4rem); border-radius: 26px; background: radial-gradient(120% 140% at 100% 0%, #e0262d 0%, #b3161c 50%, #6d0b0f 100%); color: #fff; box-shadow: 0 30px 60px -30px rgba(196,22,28,.6); }
.ft-cta h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.ft-cta p { margin: .5rem 0 0; color: rgba(255,255,255,.85); max-width: 44ch; }
.ft-cta-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.ft-cta .btn { background: #fff; color: var(--blue); display: inline-flex; align-items: center; gap: .5em; }
.ft-cta .btn .icon { width: 18px; height: 18px; }
.ft-cta .btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.ft-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2rem; padding-block: clamp(2.2rem, 5vw, 3.2rem); border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-brand img { height: 44px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.ft-brand p { margin: 0; max-width: 34ch; line-height: 1.6; }
.ft h4 { margin: 0 0 .9rem; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.ft-contact li { display: grid; grid-template-columns: 18px 1fr; gap: .6rem; align-items: start; }
.ft-contact .icon { width: 16px; height: 16px; margin-top: 2px; color: #ff5a61; }
.ft-contact a { word-break: break-word; }
.ft .footer-social { margin-top: 1.2rem; }
.ft .footer-social a { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.ft .footer-social a:hover { background: var(--blue); }
.ft-note { margin: 1.4rem 0 0; font-size: .75rem; color: rgba(255,255,255,.5); }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-top: 1rem; font-size: .8125rem; color: rgba(255,255,255,.55); }
.ft-bottom .link { color: rgba(255,255,255,.8); }
@media (max-width: 900px) { .ft-cols { grid-template-columns: 1fr 1fr; } .ft-brand, .ft-contact { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ft-cta-btns, .ft-cta-btns .btn { width: 100%; justify-content: center; } }
.ft-cols { grid-template-columns: 1.4fr .85fr .85fr 1.7fr; } @media (max-width: 900px) { .ft-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .c3d-scene.cx { translate: -80px 0; } .cx .pz-tag span { display: none; } .cx .pz-tag { left: calc(100% + 10px); } }

/* ===== v68: casa rentable en 3D con volumen y movimiento ===== */
.c3d-stage { --mx: 0deg; --my: 0deg; }
.c3d-scene.cx { --cs: 1; transform: scale(var(--cs)) rotateX(calc(var(--rx) * .7 + var(--mx))) rotateY(calc(var(--ry) * .9 + var(--my))); transform-style: preserve-3d; transition: transform 1.2s cubic-bezier(.16,1,.3,1); animation: none; }
.cx-house { --w: calc(var(--hh) / 2.496); --dep: calc(var(--w) * .62); transform-style: preserve-3d; animation: cxSway 9s ease-in-out infinite; }
@keyframes cxSway { 0%, 100% { rotate: y -7deg; translate: 0 0; } 50% { rotate: y 7deg; translate: 0 -10px; } }
.cx .pz { transform-style: preserve-3d; }
/* costado de ladrillo y losa de cada piso */
.cx .pz[data-p]::after { content: ""; position: absolute; top: 0; right: 0; width: var(--dep); height: 100%; transform-origin: right center; transform: rotateY(-90deg);
  background: linear-gradient(90deg, #c9b48b, #b49d74), repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 1px, transparent 1px 9px); background-blend-mode: multiply; box-shadow: inset 0 -6px 0 #1d1d1f, inset 0 6px 0 rgba(0,0,0,.25); transition: filter .6s ease; }
.cx .pz[data-p]::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: var(--dep); transform-origin: center top; transform: rotateX(-90deg); background: linear-gradient(#8f8f94, #6c6c71); transition: filter .6s ease; }
.cx .cx-roof { transform-style: preserve-3d; }
.cx .cx-roof::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: var(--dep); transform-origin: center top; transform: rotateX(-90deg); background: linear-gradient(#d6d6da, #b9b9be); box-shadow: inset 0 0 0 5px #1d1d1f; }
.cx .cx-roof::after { content: ""; position: absolute; top: 0; right: 0; width: var(--dep); height: 100%; transform-origin: right center; transform: rotateY(-90deg); background: #1d1d1f; }
.c3d-stage[data-step="2"] .cx .pz.is-rent::after, .c3d-stage[data-step="2"] .cx .pz.is-rent::before { filter: brightness(.4); }
.c3d-stage[data-step="3"] .cx .pz.is-home::after, .c3d-stage[data-step="3"] .cx .pz.is-home::before { filter: brightness(.45); }
/* al separar, cada piso sale un poco hacia el frente para que se vea su losa */
.c3d-stage:not([data-step="0"]):not([data-step="4"]) .cx .pz[data-p] { transform: translateY(calc(var(--gap) * -0.5 * var(--i))) translateZ(calc(var(--i) * 6px)); }
.cx .pz-tag { transform: translateY(-50%) translateZ(10px) rotateY(calc(var(--ry) * -.9 - var(--my))) rotateX(calc(var(--rx) * -.7 - var(--mx))); }
.cx .pz-coin { transform: translateY(-50%) translateZ(10px) rotateY(calc(var(--ry) * -.9 - var(--my))); }
.cx .pf { filter: drop-shadow(0 22px 26px rgba(0,0,0,.4)); }
@media (max-width: 900px) { .c3d-scene.cx { --cs: .92; translate: -70px 0; } }
@media (prefers-reduced-motion: reduce) { .cx-house { animation: none; } }
.cx .pz-tag { left: calc(100% + var(--dep) * .75 + 14px); } @media (max-width: 900px) { .cx .pz-tag { left: calc(100% + var(--dep) * .7 + 6px); } }

/* ===== v70: espaciado más compacto en toda la página ===== */
.section { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section-head, .aliados .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); gap: .75rem; }
.stats { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.ba, .familias, .resenas { margin-top: clamp(2rem, 4vw, 3rem); }
.obras-all { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.hero-media { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
/* pasos con scroll: menos recorrido vacío entre uno y otro */
.c3d-step { min-height: 56vh; }
.c3d-step:first-child { min-height: 46vh; padding-top: 6vh; }
.c3d-step:last-child { min-height: 56vh; }
.step { min-height: 44vh; }
@media (max-width: 900px) { .c3d-step, .c3d-step:first-child, .c3d-step:last-child { min-height: 58vh; } }
.section { padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.card-media { position: relative; }
.card-media img.dia-over { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; z-index: 1; pointer-events: none; }
.card-media img.dia-over.is-in { opacity: 1; }

/* ===== v74: casa rentable en celular — el texto va debajo de la casa ===== */
.c3d-caption { display: none; }
@media (max-width: 900px) {
  .c3d-sticky { top: 56px; height: calc(100svh - 56px - 64px); min-height: 0; max-height: none; }
  .c3d-stage { display: flex; flex-direction: column; align-items: stretch; height: 100%; }
  .c3d-stage > .c3d-scene { flex: 1 1 auto; min-height: 0; display: grid; place-items: center; align-self: center; }
  .cx-house { --hh: min(calc(100svh - 56px - 64px - 230px), 420px); }
  .c3d-caption { display: block; flex: none; margin: 0 0 8px; padding: .9rem 1rem 1rem; border-radius: 18px; background: rgba(11,11,12,.9); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
  .c3d-caption.is-in { opacity: 1; transform: none; }
  .c3d-caption h3 { margin: 0 0 .35rem; padding: 0; font-size: 1.25rem; line-height: 1.15; color: #fff; background: none; border-radius: 0; }
  .c3d-caption p { margin: 0; padding: 0; font-size: .9375rem; line-height: 1.45; color: var(--dark-text-2); background: none; }
  .c3d-caption .c3d-actions { margin-top: .7rem !important; display: flex; gap: .5rem; flex-wrap: wrap; }
  .c3d-caption .btn { font-size: .875rem; padding: .6em 1em; }
  /* los pasos que hacen avanzar el scroll quedan invisibles */
  .c3d-steps .c3d-step > * { visibility: hidden; }
  .c3d-step, .c3d-step:first-child, .c3d-step:last-child { min-height: 60vh; padding: 0; }
  .c3d-total { top: 0; font-size: .8125rem; padding: .4rem .8rem; }
  .c3d-stage .c3d-real { display: none; }
  .c3d-shadow { display: none; }
}
@media (max-width: 900px) { .c3d-caption .btn:not(.btn--ghost) { color: #fff; } .c3d-caption .btn--ghost { color: #fff; } }

/* ===== v76: acabados en formato vertical (las fotos son verticales) ===== */
.acar { --sh: min(72vh, 720px); --sw: calc(var(--sh) * 9 / 14); }
.acar-slide { width: var(--sw); height: var(--sh); aspect-ratio: auto; opacity: .55; transform: scale(.9); }
.acar-slide.is-wide { width: calc(var(--sh) * 4 / 3); }
.acar-slide.is-active { transform: none; }
.acar-slide figcaption { padding: 3.5rem 1.25rem 1.2rem; }
.acar-slide figcaption strong { font-size: clamp(1.15rem, 1.8vw, 1.5rem); }
.acar-prev { left: max(12px, calc(50% - var(--sw) / 2 - 26px)); }
.acar-next { right: max(12px, calc(50% - var(--sw) / 2 - 26px)); }
.acar-bar { width: min(80vw, 760px); }
@media (max-width: 700px) {
  .acar { --sh: min(64vh, 560px); --sw: min(calc(var(--sh) * 9 / 14), 80vw); }
  .acar-slide { width: var(--sw); height: var(--sh); border-radius: 20px; }
  .acar-slide.is-wide { width: 88vw; height: calc(88vw * 3 / 4); align-self: center; }
  .acar-prev { left: 8px; } .acar-next { right: 8px; }
  .acar-bar { width: 88vw; }
}
.acar-track { align-items: center; }
.acar-prev { left: max(8px, calc(50% - var(--aw, var(--sw)) / 2 - 26px)); transition: left .6s ease, transform .2s; } .acar-next { right: max(8px, calc(50% - var(--aw, var(--sw)) / 2 - 26px)); transition: right .6s ease, transform .2s; }

/* ===== v78: protección de imágenes y videos ===== */
img, video, picture, canvas { -webkit-user-drag: none; user-drag: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
@media print { body * { visibility: hidden !important; } body::after { content: "Contenido protegido — Constructora Mi Kasa"; visibility: visible; position: fixed; inset: 40% 0 auto; text-align: center; font: 700 24px sans-serif; } }
.card[data-pid] { cursor: pointer; } .card[data-pid]:hover { transform: translateY(-3px); } .card[data-pid] { transition: transform .3s ease, box-shadow .3s ease; }

/* ===== v80: carrito ===== */
.lista { display: none !important; }
.cart-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin-right: 8px; border: 0; border-radius: 50%; cursor: pointer; background: #f1f1f3; color: #1d1d1f; transition: background .2s, transform .2s; }
.cart-btn:hover { background: #e6e6ea; }
.cart-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn b { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 980px; display: none; place-items: center; font-size: .6875rem; font-weight: 800; color: #fff; background: var(--blue); box-shadow: 0 0 0 2px #fff; }
.cart-btn.has b { display: grid; }
.cart-btn.bump { animation: cartBump .5s cubic-bezier(.16,1,.3,1); }
@keyframes cartBump { 30% { transform: scale(1.25); } }
.cart { position: fixed; inset: 0; z-index: 3300; background: rgba(10,10,11,.45); opacity: 0; transition: opacity .3s ease; }
.cart.is-open { opacity: 1; }
.cart[hidden] { display: none; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: #fff; color: var(--text); box-shadow: -30px 0 60px -30px rgba(0,0,0,.5); transform: translateX(100%); transition: transform .35s cubic-bezier(.16,1,.3,1); outline: none; }
.cart.is-open .cart-panel { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.02em; }
.cart-x { width: 38px; height: 38px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; background: #f1f1f3; }
.cart-x svg, .cart-rm svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.cart-body { flex: 1; overflow-y: auto; padding: 12px 20px; display: grid; align-content: start; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: #f6f6f8; }
.cart-item img, .cart-ph { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: #e5e5ea; }
.cart-info { display: grid; gap: 2px; min-width: 0; }
.cart-info strong { font-size: .9375rem; }
.cart-info span { font-size: .8125rem; color: var(--text-2); }
.cart-info em { font-style: normal; font-weight: 700; font-size: .9375rem; color: var(--blue); }
.cart-rm { width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; background: #fff; color: #6e6e73; }
.cart-rm:hover { color: var(--blue); }
.cart-empty { display: grid; justify-items: center; gap: .8rem; padding: 3rem 1rem; text-align: center; color: var(--text-2); }
.cart-empty svg { width: 56px; height: 56px; fill: none; stroke: #c7c7cc; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cart-empty strong { display: block; color: var(--text); font-size: 1.0625rem; margin-bottom: .3rem; }
.cart-foot { display: grid; gap: 10px; padding: 16px 20px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.cart-foot[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: .875rem; color: var(--text-2); }
.cart-total strong { font-size: 1.25rem; color: var(--text); }
.cart-to { display: grid; gap: 4px; font-size: .8125rem; color: var(--text-2); }
.cart-to select { padding: .6em .8em; border-radius: 12px; border: 1px solid var(--line); font: inherit; font-size: .9375rem; color: var(--text); background: #fff; }
.cart-send { display: inline-flex; justify-content: center; align-items: center; gap: .5em; color: #fff !important; }
.cart-send .icon { width: 18px; height: 18px; }
.cart-clear { border: 0; background: none; font: inherit; font-size: .8125rem; color: var(--text-2); text-decoration: underline; cursor: pointer; }
.cart-note { margin: 0; font-size: .75rem; color: var(--text-2); text-align: center; }
.unit-cart { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 6px; border: 0; border-radius: 50%; cursor: pointer; vertical-align: middle; background: #f1f1f3; color: #1d1d1f; transition: background .2s, color .2s; }
.unit-cart svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.unit-cart.is-on { background: var(--blue); color: #fff; }
.card .save[aria-pressed="true"] { background: var(--blue); color: #fff; }
@media (max-width: 700px) { .cart-btn { width: 36px; height: 36px; margin-right: 6px; } }
.cart-btn { margin-left: auto; }
/* planos por piso en las casas */
.tour-plan-head { flex-wrap: wrap; gap: 8px; }
.tour-seg.is-pisos { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; }
.tour-seg.is-pisos button { flex: 1 1 auto; white-space: nowrap; font-size: .8125rem; }

/* ===== v83: mapa en celular ===== */
@media (max-width: 900px) {
  .mapa-grid { display: flex; flex-direction: column; gap: 14px; }
  .mapa-side { display: contents; }
  .mapa-side > .h2 { order: 1; margin: 0; }
  .mapa-side > .lead { order: 2; margin: 0; font-size: 1rem; }
  .mapa-filtros { order: 3; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
  .mapa-filtros::-webkit-scrollbar { display: none; }
  .mapa-filtros button { flex: none; }
  .mapa-box { order: 4; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
  .mapa-svg { max-height: none; }
  .mapa-card { order: 5; grid-template-columns: 84px 1fr; gap: .8rem; padding: .6rem; border-radius: 18px; }
  .mapa-card-img { border-radius: 12px; }
  .mapa-card-body h3 { font-size: 1.1rem; }
  .mapa-card-body p { font-size: .8125rem; }
  .mapa-lista { order: 6; }
  .mapa-lista-body { max-height: 240px; }
  .mapa-fuente { font-size: .6875rem; text-align: center; padding: 0 8px 8px; }
  /* puntos y nombres más grandes para tocarlos con el dedo */
  .mapa-svg .pin circle { scale: calc(var(--pz) * 1.7); }
  .mapa-svg .loc-label { font-size: calc(24px * var(--pz)); }
  .mapa-svg .loc-label.is-obras { font-size: calc(28px * var(--pz)); }
  .mapa-reset { top: 8px; right: 8px; font-size: .75rem; padding: .45em .8em; }
}
@media (max-width: 900px) { .mapa-card { width: 100%; box-sizing: border-box; } .mapa-lista { width: 100%; box-sizing: border-box; } }

/* ===== v85: carteles de últimas unidades y nuevo lanzamiento ===== */
.card-flag { position: absolute; z-index: 3; top: 14px; left: 50%; transform: translateX(-50%); padding: .42em .95em; border-radius: 980px; font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; color: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); pointer-events: none; }
.card-flag--last { background: var(--blue); animation: flagPulse 1.8s ease-in-out infinite; }
.card-flag--new { background: #111; box-shadow: inset 0 0 0 1.5px #f5b301, 0 8px 20px -8px rgba(0,0,0,.5); color: #f5b301; }
@keyframes flagPulse { 50% { box-shadow: 0 0 0 6px rgba(196,22,28,.25), 0 8px 20px -8px rgba(0,0,0,.5); } }
@media (max-width: 420px) { .card-flag { top: auto; bottom: 56px; } }
@media (prefers-reduced-motion: reduce) { .card-flag--last { animation: none; } }

/* ===== v86: última unidad en la etiqueta y cinta de nuevo lanzamiento ===== */
.card-flag { display: none !important; }
.card-label--last { color: #fff; background: var(--blue); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; box-shadow: 0 6px 16px -6px rgba(196,22,28,.7); animation: lastPulse 1.6s ease-in-out infinite; }
.card-label--last::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .45em; border-radius: 50%; background: #fff; vertical-align: 1px; animation: lastDot 1.6s ease-in-out infinite; }
@keyframes lastPulse { 50% { box-shadow: 0 0 0 6px rgba(196,22,28,.28), 0 6px 16px -6px rgba(196,22,28,.7); } }
@keyframes lastDot { 50% { opacity: .35; } }
/* cinta diagonal en la esquina */
.card-media { overflow: hidden; }
.card-ribbon { position: absolute; z-index: 3; top: 26px; right: -46px; width: 200px; padding: .55em 0; transform: rotate(45deg); text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, #8f0f14, #e0262d 45%, #ff5a61 50%, #e0262d 55%, #8f0f14); background-size: 250% 100%; box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); animation: ribbonShine 2.8s linear infinite; pointer-events: none; }
.card-ribbon b { display: block; font-size: 1.05rem; letter-spacing: .12em; line-height: 1; color: #fff3c4; }
@keyframes ribbonShine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@media (prefers-reduced-motion: reduce) { .card-label--last, .card-label--last::before, .card-ribbon { animation: none; } }

/* ===== v87: inicio con la fachada completa de Castilla (día soleado) ===== */
@media (min-width: 901px) {
  .hero--video { background: linear-gradient(90deg, #0b0b0c 0%, #0b0b0c 40%, #1b2a3f 100%); }
  .hero-castilla { left: auto; right: 0; width: auto; max-width: 62%; height: 100%; object-fit: cover; object-position: center 40%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
  .hero--video .hero-shade { background: linear-gradient(90deg, rgba(11,11,12,.9) 0%, rgba(11,11,12,.55) 40%, rgba(11,11,12,0) 62%), linear-gradient(0deg, rgba(11,11,12,.6) 0%, transparent 35%); }
}
@media (max-width: 900px) { .hero-castilla { object-position: 62% 30%; } }
@media (min-width: 901px) { .hero-castilla { max-width: none; width: auto; height: 100%; aspect-ratio: 1744 / 2336; object-fit: contain; right: 4%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); } }

/* ===== v89: inicio con la foto panorámica de Castilla (sin espacios negros) ===== */
@media (min-width: 701px) {
  .hero-castilla { left: 0; right: 0; width: 100%; max-width: none; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 100% 60%; -webkit-mask-image: none; mask-image: none; }
  .hero--video .hero-shade { background: linear-gradient(90deg, rgba(11,11,12,.88) 0%, rgba(11,11,12,.6) 32%, rgba(11,11,12,.1) 58%, rgba(11,11,12,0) 70%), linear-gradient(0deg, rgba(11,11,12,.55) 0%, transparent 30%); }
}

/* ===== v90: foto real de Castilla completa, enmarcada a la derecha (sin IA, sin franjas) ===== */
@media (min-width: 901px) {
  .hero--video { background: radial-gradient(60% 80% at 78% 45%, rgba(200,30,40,.28), transparent 60%), radial-gradient(50% 60% at 95% 100%, rgba(40,80,150,.35), transparent 70%), linear-gradient(120deg, #0b0b0c 0%, #121418 55%, #18202c 100%); }
  .hero-castilla { left: auto; right: 5%; top: 92px; bottom: 36px; width: auto; height: calc(100% - 128px); max-width: 44%; aspect-ratio: 1344 / 1800; object-fit: cover; object-position: center; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); -webkit-mask-image: none; mask-image: none; }
  .hero--video .hero-shade { background: linear-gradient(90deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 45%); }
}
@media (min-width: 901px) {
  .hero-castilla { top: 96px; bottom: auto; height: min(calc(100% - 132px), calc(100vh - 130px)); max-width: 38%; right: 4%; }
  .hero--video .hero-copy { max-width: min(54%, 720px); }
  .hero--video .headline { font-size: clamp(2.6rem, 5vw, 5.4rem); }
}
@media (min-width: 901px) { .hero-castilla { top: 70px; height: min(calc(100% - 110px), calc(100vh - 170px)); } }

/* ===== v87: foto de Castilla a todo el ancho en el inicio ===== */
.hero-bg .hero-castilla { position: absolute; inset: 0; left: 0; right: 0; top: 0; bottom: auto; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; object-fit: cover; object-position: 70% 50%; border-radius: 0; box-shadow: none; -webkit-mask-image: none; mask-image: none; }
@media (max-width: 700px) { .hero-bg .hero-castilla { object-position: 50% 40%; } }
.hero-bg .hero-castilla { object-position: 100% 50%; }
.hero--video .hero-shade { background: linear-gradient(90deg, rgba(11,11,12,.86) 0%, rgba(11,11,12,.62) 38%, rgba(11,11,12,.12) 70%, rgba(11,11,12,0) 100%), linear-gradient(0deg, rgba(11,11,12,.55) 0%, transparent 35%); }
@media (max-width: 900px) { .hero--video .hero-shade { background: linear-gradient(180deg, rgba(11,11,12,.35) 0%, rgba(11,11,12,.7) 55%, rgba(11,11,12,.9) 100%); } .hero-bg .hero-castilla { object-position: 75% 40%; } }

/* v94: maquetas con video vertical */
.mq-pin[hidden] { display: none !important; }
.mq-stage { background: #0b0b0c; }

/* ===== v95: auditoría — filtros, cuota inicial, entrega inmediata, simulador, preguntas ===== */
.seg-more { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.seg-sel { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .5rem .35rem .9rem; border-radius: 980px; background: rgba(0,0,0,.06); font-size: .85rem; font-weight: 600; }
.seg-sel span { color: var(--muted, #6e6e73); }
.seg-sel select { border: 0; background: #fff; border-radius: 980px; padding: .45rem .9rem; font: inherit; font-weight: 600; color: var(--text); cursor: pointer; }
.trm-ext { display: inline-block; font-weight: 600; color: var(--blue); }
.card-ya { position: absolute; z-index: 2; left: 14px; top: 48px; padding: .3em .75em; border-radius: 980px; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: #1f8f4e; box-shadow: 0 6px 16px -6px rgba(31,143,78,.8); }
.card-cuota { margin: .35rem 0 0; font-size: .9rem; }
.card-cuota b { color: var(--text); }
.card-cuota span { color: var(--muted, #6e6e73); font-size: .8rem; }
.card-sub { margin: .35rem 0 0; font-size: .8rem; line-height: 1.35; color: #1f8f4e; font-weight: 600; }

.simu-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1rem, 3vw, 2rem); background: #fff; border-radius: 28px; padding: clamp(1.2rem, 3vw, 2.4rem); box-shadow: 0 20px 50px -30px rgba(0,0,0,.35); }
.simu-in { display: grid; gap: 1.1rem; }
.simu-in label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 600; }
.simu-in label span { display: flex; justify-content: space-between; }
.simu-in b { color: var(--blue); }
.simu-in select, .simu-in input[type=text], .simu-in input[type=number] { font: inherit; font-size: 1rem; padding: .75rem 1rem; border-radius: 14px; border: 1px solid rgba(0,0,0,.15); background: #fafafa; color: var(--text); }
.simu-in input[type=range] { accent-color: var(--blue); width: 100%; }
.simu-out { display: grid; gap: .9rem; align-content: start; background: #0b0b0c; color: #fff; border-radius: 22px; padding: clamp(1.2rem, 3vw, 2rem); }
.simu-out small { display: block; font-size: .8rem; opacity: .7; }
.simu-out strong { font-size: 1.35rem; }
.simu-main strong { font-size: clamp(2rem, 4.5vw, 2.8rem); color: #fff; }
.simu-main { padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.15); }
.simu-note { font-size: .78rem; opacity: .7; margin: 0; }
.simu-out .btn { justify-self: start; }
@media (max-width: 760px) { .simu-box { grid-template-columns: 1fr; } }

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: .7rem; }
.faq-list details { background: var(--gray, #f5f5f7); border-radius: 18px; padding: 0 1.3rem; }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 700; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 1.2rem; line-height: 1.55; }

/* celular: el botón de WhatsApp no tapa las cifras del inicio */
@media (max-width: 700px) {
  .hero--video { padding-bottom: 96px; }
  .hero-nums { padding-right: 70px; }
}
@media (max-width: 700px) {
  .hero--video { padding-top: 72px; }
  .hero-nums { padding-right: 0; }
  body.hero-on .wa-float { opacity: 0; transform: scale(.8); pointer-events: none; }
}
.ft-proy { max-width: 1200px; margin: 0 auto 1.5rem; padding: 0 16px; display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .82rem; opacity: .8; }
.ft-proy a { color: inherit; }

/* ===== inicio — Castilla real llenando todo el fondo (solo cielo y piso extendidos) ===== */
@media (min-width: 701px) {
  .hero--video { background: #0b0b0c; }
  .hero-castilla { inset: 0; left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; object-fit: cover; object-position: 85% 55%; border-radius: 0; box-shadow: none; -webkit-mask-image: none; mask-image: none; }
  .hero--video .hero-shade { background: linear-gradient(90deg, rgba(11,11,12,.85) 0%, rgba(11,11,12,.55) 35%, rgba(11,11,12,.05) 60%, rgba(11,11,12,0) 70%), linear-gradient(0deg, rgba(11,11,12,.5) 0%, transparent 30%); }
}
.seg-calc { display: inline-block; margin-left: .3rem; padding: .25rem .8rem; border-radius: 980px; background: var(--blue); color: #fff !important; font-weight: 700; font-size: .85rem; }
.simu .simu-box { background: #f5f5f7; }
@media (min-width: 701px) { .hero-castilla { object-position: 70% 50%; } }

/* calculadora: fondo oscuro de marca */
.simu { background: radial-gradient(60% 70% at 85% 10%, rgba(196,22,28,.35), transparent 65%), radial-gradient(50% 60% at 0% 100%, rgba(196,22,28,.18), transparent 70%), #0b0b0c !important; color: #fff; }
.simu .h2, .simu .lead { color: #fff; }
.simu .lead { opacity: .8; }
.simu .simu-box { background: #fff; color: var(--text); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); }
.simu .simu-out { background: linear-gradient(150deg, #c4161c, #7d0b10); }
.simu .simu-out .btn { background: #fff; color: #c4161c; }
.simu .simu-main { border-top-color: rgba(255,255,255,.3); }

/* reseñas de Google */
.gres { margin: clamp(2rem, 4vw, 3rem) 0 1.5rem; }
.gres-head { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-bottom: 1.2rem; }
.gres-head .g-logo { width: 34px; height: 34px; }
.gres-head strong { font-size: 1.6rem; margin-right: .3rem; }
.gres-head .g-stars { font-size: 1.2rem; }
.gres-n { display: block; font-size: .85rem; color: var(--muted, #6e6e73); }
.gres-head .btn { margin-left: auto; }
.g-stars { color: #fbbc04; letter-spacing: .08em; }
.gres-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .6rem; scrollbar-width: thin; }
@media (min-width: 1100px) { .gres-row { grid-auto-columns: calc((100% - 3rem) / 4); } }
.gres-card { margin: 0; scroll-snap-align: start; background: #fff; border-radius: 20px; padding: 1.2rem 1.2rem 1.3rem; box-shadow: 0 14px 36px -24px rgba(0,0,0,.35); border: 1px solid rgba(0,0,0,.06); display: flex; flex-direction: column; gap: .5rem; }
.gres-top { display: flex; align-items: center; gap: .7rem; }
.gres-top > div { flex: 1; min-width: 0; }
.gres-top strong { display: block; font-size: .95rem; }
.gres-top small { color: var(--muted, #6e6e73); font-size: .78rem; }
.gres-top .g-logo { width: 20px; height: 20px; }
.gres-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; }
.gres-card blockquote { margin: 0; font-size: .92rem; line-height: 1.5; }
.resenas-cta { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.gres-head .btn { margin-left: .4rem; }

/* preguntas frecuentes: fondo oscuro de marca, tarjetas blancas */
.faq { background: radial-gradient(55% 70% at 10% 0%, rgba(196,22,28,.32), transparent 65%), radial-gradient(50% 60% at 100% 100%, rgba(196,22,28,.2), transparent 70%), #0b0b0c !important; color: #fff; }
.faq .h2 { color: #fff; }
.faq .faq-list details { background: #fff; color: var(--text); border-radius: 18px; box-shadow: 0 18px 40px -28px rgba(0,0,0,.9); transition: box-shadow .25s; }
.faq .faq-list details[open] { box-shadow: 0 0 0 2px #c4161c, 0 18px 40px -28px rgba(0,0,0,.9); }
.faq .faq-list summary { color: var(--text); }
.faq .faq-list summary::after { color: #c4161c; }

/* 360: tira de espacios */
.v360-strip { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; display: flex; gap: .6rem; overflow-x: auto; padding: 1.4rem 16px max(14px, env(safe-area-inset-bottom)); background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); scrollbar-width: none; }
.v360-strip::-webkit-scrollbar { display: none; }
.v360-th { flex: 0 0 auto; width: 132px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #000; color: #fff; cursor: pointer; text-align: left; transition: border-color .2s, transform .2s; }
.v360-th img { display: block; width: 100%; height: 66px; object-fit: cover; opacity: .75; }
.v360-th span { display: block; padding: .35rem .5rem .45rem; font-size: .72rem; font-weight: 600; line-height: 1.2; }
.v360-th:hover img, .v360-th.is-on img { opacity: 1; }
.v360-th.is-on { border-color: #c4161c; transform: translateY(-3px); }
.v360-map[hidden], .v360-strip[hidden] { display: none !important; }

/* pantallas grandes: todo un poco más grande (el contenido se veía pequeño/lejos) */
@media (min-width: 1280px) { .wrap, .hero-grid { zoom: 1.07; } }
@media (min-width: 1500px) { .wrap, .hero-grid { zoom: 1.13; } }

/* calculadora en celular: no se sale de la pantalla */
.simu-box { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.simu-in, .simu-out, .simu-in label { min-width: 0; }
.simu-in select, .simu-in input { width: 100%; min-width: 0; }
@media (max-width: 760px) {
  .simu-box { grid-template-columns: minmax(0, 1fr); padding: 1rem; border-radius: 22px; }
  .simu-out { padding: 1.2rem; }
  .simu-out .btn { justify-self: stretch; justify-content: center; text-align: center; }
  .simu-main strong { font-size: 2rem; }
}

/* filtros y dólar en celular: ordenados */
@media (max-width: 700px) {
  .seg-wrap { align-items: stretch; }
  .seg-more { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; width: 100%; }
  .seg-sel { flex-direction: column; align-items: stretch; gap: .3rem; padding: .55rem; border-radius: 16px; font-size: .75rem; }
  .seg-sel span { padding-left: .4rem; }
  .seg-sel select { width: 100%; padding: .55rem .6rem; font-size: .85rem; }
  .seg-count { text-align: center; }
  .seg-count .trm { display: inline-block; margin-top: .3rem; }
  .seg-calc { display: table; margin: .7rem auto .2rem; padding: .6rem 1.4rem; font-size: .95rem; }
  .trm-ext { display: block; font-size: .8rem; font-weight: 500; color: var(--text-2); }
}
.simu-out { grid-template-columns: minmax(0, 1fr); }
.simu-out .btn { white-space: normal; }

