/* ===== Tokens ===== */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f4f4;
  --color-text: #111111;
  --color-muted: #5a5a5a;
  --color-primary: #af272f; /* Pantone 1805 C */
  --color-primary-dark: #7e1c22;
  --color-ink: #111111;
  --color-accent: #af272f;
  --color-whatsapp: #2f8a4e;
  --color-border: #e4e4e4;

  --font-display: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container-width: 1140px;
  --radius: 0;
}

/* ===== Reset base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) var(--color-bg-alt);
}
*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
*::-webkit-scrollbar-track {
  background: var(--color-bg-alt);
  border-radius: 0;
}
*::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 0;
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-dark);
}
*::-webkit-scrollbar-corner {
  background: var(--color-bg-alt);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--color-muted); }
.small { font-size: .85rem; }

/* ===== Accesibilidad: skip link ===== */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  font-size: .9rem;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: calc(16px + env(safe-area-inset-top));
  padding-bottom: 16px;
}
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 38px; width: auto; display: block; }
.brand--footer .brand__logo { height: 48px; }

.nav {
  display: flex;
  gap: 28px;
  font-size: .9rem;
  font-weight: 500;
}
.nav a { position: relative; padding: 4px 0; transition: color .15s ease; }
.nav a:hover { color: var(--color-primary); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transition: right .2s ease;
}
.nav__cta { display: none; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #1fb959; }
.btn--small { padding: 10px 20px; font-size: .8rem; }

/* ===== Header interno de páginas secundarias ===== */
.page-hero {
  padding: 24px 0 64px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 760px; }
.page-hero .section__lead { max-width: 680px; }

.section-title-spaced { margin-top: 72px; }

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  padding: 18px 24px;
  font-size: .82rem;
  color: var(--color-muted);
}
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs__sep { margin: 0 8px; opacity: .5; }
.breadcrumbs span[aria-current] { color: var(--color-text); font-weight: 500; }

/* ===== Hero / carrusel ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--color-ink);
}
.hero__slides {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 140%;
  will-change: transform;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,25,22,.35) 0%, rgba(20,25,22,.55) 55%, rgba(16,20,18,.88) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 88px;
  max-width: 720px;
}
.hero__title { margin: 0 0 18px; }
.hero__logo {
  display: block;
  width: min(460px, 86vw);
  height: auto;
}
.hero__lead { font-size: 1.1rem; color: rgba(255,255,255,.88); max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.hero__dots {
  position: absolute;
  z-index: 2;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255,255,255,.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hero__dot.is-active { background: #fff; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: .7em;
}
.hero .eyebrow { color: #fff; }

/* ===== Secciones ===== */
.section { padding: 96px 0; }
.section--alt { background: var(--color-bg-alt); }
.section--highlight {
  background: var(--color-ink);
  color: #f1efe8;
}
.section--highlight .eyebrow { color: var(--color-accent); }
.section--highlight h2 { color: #fff; }

.section__lead { max-width: 680px; font-size: 1.05rem; color: var(--color-muted); }
.section__lead a,
.faq-item a,
.check-list a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section--highlight .section__lead { color: rgba(241,239,232,.85); }

h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); text-transform: uppercase; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 2px;
  max-width: 520px;
  background: rgba(255,255,255,.15);
}
.benefits-list li {
  padding: 16px 20px;
  background: #1c1c1c;
  border-left: 3px solid var(--color-accent);
  color: #f1efe8;
  font-weight: 500;
}

/* ===== Barra de estadísticas ===== */
.stats-bar {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0;
  background: transparent;
  border: 0;
}
.stats-bar li {
  background: #fff;
  padding: 24px 16px;
  text-align: center;
}
.stats-bar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stats-bar span {
  font-size: .78rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ===== Galerías ===== */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 40px;
  overflow: hidden;
}
.gallery__item--photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.gallery__item--photo:first-child {
  grid-column: 1 / -1;
  height: 460px;
}

/* ===== Features ===== */
.features { margin-top: 64px; }
.features-grid {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--color-border);
}
.features-grid li {
  padding: 14px 18px;
  background: #fff;
  font-size: .88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.features-grid li i { color: var(--color-primary); width: 18px; text-align: center; }

/* ===== Rendimiento de la unidad ===== */
.unit-perf {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: 2px;
  background: var(--color-border);
}
.unit-perf__plan,
.unit-perf__info {
  background: #fff;
  padding: 0;
}
.unit-perf__plan img { width: 100%; display: block; }
.unit-perf__info { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.unit-perf__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 12px;
}
.unit-perf__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.unit-perf__list i { color: var(--color-primary); width: 20px; text-align: center; font-size: 1.05rem; }

/* ===== Memoria constructiva (acordeón) ===== */
.memoria-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--color-border);
}
.memoria-item {
  background: #fff;
  padding: 18px 22px;
}
.memoria-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.memoria-item summary::-webkit-details-marker { display: none; }
.memoria-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: auto;
  font-size: .8rem;
  color: var(--color-muted);
  transition: transform .2s ease;
}
.memoria-item[open] summary::after { transform: rotate(180deg); }
.memoria-item summary i { color: var(--color-primary); width: 18px; text-align: center; }
.memoria-item p { margin: 14px 0 0; font-size: .92rem; color: var(--color-muted); }

/* ===== Ubicación / mapa (a sangre, estilo O2) ===== */
.location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
}
.location__text {
  padding: 96px 48px 96px max(48px, calc((100vw - var(--container-width)) / 2 + 24px));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location__address {
  font-weight: 600;
  margin: 8px 0 24px;
  line-height: 1.6;
}
.location__map {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.location__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.location__map:hover img { transform: scale(1.04); }

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  align-self: flex-start;
}
.btn--outline:hover { background: var(--color-primary); color: #fff; }

.map-embed {
  border: 1px solid var(--color-border);
  line-height: 0;
}
.map-embed iframe { display: block; width: 100%; }

.poi-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.poi-list li {
  background: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.poi-list i { color: var(--color-primary); width: 18px; text-align: center; }

/* ===== Planos ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.plan-card {
  background: #fff;
  overflow: hidden;
  border: 1px solid var(--color-border);
  padding-bottom: 12px;
}
.plan-card img { width: 100%; display: block; }
.plan-card h2,
.plan-card h3 {
  padding: 28px 28px 4px;
  font-size: 1.15rem;
  text-transform: uppercase;
}
.plan-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 8px;
  font-size: .92rem;
}
.plan-table th,
.plan-table td {
  padding: 16px 28px;
  text-align: left;
  border-top: 1px solid var(--color-border);
  vertical-align: baseline;
}
.plan-table th:not(:first-child),
.plan-table td:not(:first-child) {
  text-align: right;
  padding-left: 12px;
}
.plan-table th { color: var(--color-muted); font-weight: 600; font-size: .78rem; letter-spacing: .03em; }

.vista { margin: 48px 0 0; }
.vista img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
}
.vista figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.masterplan-img {
  width: 100%;
  margin-top: 48px;
  border: 1px solid var(--color-border);
}

.plan-card__zoom,
.masterplan-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
}
.plan-card__zoom::after,
.masterplan-zoom::after {
  content: 'Ampliar ⤢';
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(30,36,32,.75);
  color: #fff;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 6px 10px;
  opacity: 0;
  transition: opacity .2s ease;
}
.plan-card__zoom:hover::after,
.plan-card__zoom:focus-visible::after,
.masterplan-zoom:hover::after,
.masterplan-zoom:focus-visible::after { opacity: 1; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(16,20,18,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.1); }

.info-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  max-width: 760px;
}
.info-callout i { color: var(--color-accent); font-size: 1.3rem; margin-top: 2px; }
.info-callout p { margin: 0; color: var(--color-muted); }
.info-callout a { color: var(--color-primary); font-weight: 600; }

/* ===== Precios ===== */
.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  margin-top: 40px;
  background: rgba(255,255,255,.15);
}
.price-card {
  background: #1c1c1c;
  padding: 32px;
}
.price-card__label {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.price-card__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  margin: 0;
}
.price-card__note {
  margin: 10px 0 0;
  color: rgba(241,239,232,.8);
  font-size: .88rem;
}

.contact-info {
  margin: 20px 0;
  line-height: 2.1;
  color: var(--color-text);
}
.contact-info i { color: var(--color-primary); margin-right: 6px; }
.contact-info a { color: inherit; font-weight: 600; }
.contact-info a:hover { color: var(--color-primary); }

/* Honeypot anti-bot: oculto visualmente pero presente en el DOM */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== Formulario ===== */
.contact-form {
  display: grid;
  gap: 18px;
  background: #fff;
  padding: 36px;
  border: 1px solid var(--color-border);
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.form-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  text-transform: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.contact-form button { justify-self: start; margin-top: 4px; }

/* ===== WhatsApp flotante ===== */
.whatsapp-float {
  position: fixed;
  bottom: calc(22px + env(safe-area-inset-bottom));
  right: calc(22px + env(safe-area-inset-right));
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 60;
  transition: transform .2s ease;
}
.whatsapp-float i { font-size: 32px; color: #fff; line-height: 1; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Footer ===== */
.site-footer {
  background: var(--color-ink);
  color: rgba(241,239,232,.8);
  padding: 64px 0 0;
}
.site-footer .brand { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-col__title {
  color: #fff;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.footer-col--brand .muted { margin-top: 16px; max-width: 320px; }

.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(241,239,232,.8);
  transition: color .2s ease, transform .2s ease;
}
.footer-social a:hover { color: #fff; transform: translateY(-2px); }
.footer-social i { font-size: 1.3rem; }

.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { transition: color .15s ease; }
.footer-nav a:hover { color: #fff; }

.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.footer-contact i { color: var(--color-accent); width: 16px; margin-top: 4px; flex-shrink: 0; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding: 24px 0;
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(241,239,232,.55);
}
.footer-bottom p { margin: 0; max-width: 42rem; }

/* ===== Empresas / partners ===== */
.partners { background: #fff; border-top: 1px solid var(--color-border); }
.partners__inner {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  align-items: start;
  column-gap: 72px;
  padding: 48px 24px;
}
.partners__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  height: 72px;
}
.partners__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.partners__label {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 1.2em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  line-height: 1.2;
  color: var(--color-muted);
  font-weight: 600;
  white-space: nowrap;
}
.partners__item > a,
.partners__logos {
  height: 72px;
}
.partners__item a { display: flex; align-items: center; opacity: .9; transition: opacity .2s ease; }
.partners__item a:hover { opacity: 1; }
.partners__item img {
  height: 64px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* ===== Animaciones al scroll ===== */
.reveal {
  opacity: 0;
  transition: opacity .5s ease;
  transition-delay: calc(var(--i, 0) * 60ms);
}
.reveal.is-visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transition: none; }
  .faq-item__panel,
  .steps::after { transition: none; }
  .steps::after { transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  body.nav-open .site-header { border-bottom-color: transparent; }
  .nav-toggle { display: inline-flex; }
  .site-header .btn--small { display: none; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .nav {
    display: none;
    position: fixed;
    z-index: 45;
    top: var(--header-h, 77px);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 8px 40px;
    background: var(--color-bg);
    overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 18px 20px;
    font-size: 1.05rem;
    border-bottom: none;
  }
  .nav a::after { display: none; }
  .nav__cta {
    display: block;
    margin: 16px 24px 0;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    border-bottom: none;
  }

  .hero { min-height: 100svh; }
  .hero__content { padding-top: 36px; padding-bottom: 120px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .hero__logo { width: min(340px, 86vw); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__dots { display: none; }

  .two-col { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 22px 88px 28px 0;
  }
  .unit-perf { grid-template-columns: 1fr; }
  .location { grid-template-columns: 1fr; }
  .location__text { padding: 56px 24px; }
  .location__map { min-height: 320px; }

  .plans-grid { grid-template-columns: 1fr; }
  .plan-table { table-layout: fixed; font-size: .8rem; }
  .plan-table th,
  .plan-table td { padding: 12px 8px; }
  .plan-table th:first-child,
  .plan-table td:first-child { width: 32%; }
  .plan-card h2,
  .plan-card h3 { padding: 22px 16px 4px; }
  .gallery__item--photo { height: 160px; }
  .gallery__item--photo:first-child { height: 220px; }
  .price-card__value { font-size: 1.6rem; }
  .contact-form { padding: 24px; }
  .contact-form button { width: 100%; justify-self: stretch; }
  .page-links,
  .doc-links { flex-direction: column; align-items: stretch; }
  .page-links .btn,
  .doc-links .btn { width: 100%; }
  .stats-bar strong { font-size: 1.5rem; }
  .partners__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .partners__label { white-space: normal; }
  .whatsapp-float { bottom: 16px; right: 16px; }
  body.nav-open .whatsapp-float { display: none; }
}

.faq-list {
  margin: 32px 0 36px;
  border-top: 1px solid var(--color-border);
  max-width: 820px;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: auto;
  font-size: .75rem;
  color: var(--color-muted);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .2s ease;
}
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel > div { overflow: hidden; }
.faq-item p {
  margin: 0;
  padding: 0 36px 22px 4px;
  max-width: 68ch;
  color: var(--color-muted);
}

.explorer {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}
.explorer__map { position: relative; }
.explorer__map img { width: 100%; display: block; border: 1px solid var(--color-border); }
.pin {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.pin__dot {
  display: block;
  width: 14px;
  height: 14px;
  margin: 15px auto 0;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 5px rgba(175, 39, 47, .28);
}
.pin__label {
  position: absolute;
  left: 50%;
  top: calc(100% - 6px);
  transform: translateX(-50%);
  background: #fff;
  padding: 2px 7px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--color-border);
}
.pin:hover .pin__dot,
.pin:focus-visible .pin__dot,
.pin.is-active .pin__dot {
  background: var(--color-accent);
  box-shadow: 0 0 0 8px rgba(201, 162, 106, .4);
}
.pin.is-active .pin__label {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.legend-hit {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}
.legend-hit:hover,
.legend-hit:focus-visible,
.legend-hit.is-active {
  border-color: var(--color-primary);
  background: rgba(175, 39, 47, .14);
}
.explorer__panel {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 22px;
  position: sticky;
  top: 88px;
}
.explorer__switch button,
.explorer__floors button {
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
}
.explorer__switch button.is-active,
.explorer__floors button.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.explorer__floors,
.explorer__units {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.explorer__floors[hidden],
.explorer__units[hidden] { display: none; }
.unit-chip {
  min-width: 52px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
  font-size: .85rem;
}
.unit-chip.is-active {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: var(--color-primary-dark);
}
.explorer__detail { margin-top: 18px; }
.explorer__detail h3 { margin-bottom: 10px; }
.explorer__detail img { width: 100%; margin: 12px 0; border: 1px solid var(--color-border); }
.explorer__specs { margin: 0; }
.explorer__specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid var(--color-border);
  font-size: .92rem;
}
.explorer__specs dt { color: var(--color-muted); }
.explorer__specs dd { margin: 0; font-weight: 600; }

.unit-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: calc(100vw - 8px);
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text);
  overflow: visible;
}
.unit-dialog::backdrop { background: rgba(17, 17, 17, .55); }
.unit-dialog__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.unit-dialog__card {
  position: relative;
  width: min(520px, calc(100vw - 112px));
  max-height: min(86vh, 760px);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 48px rgba(17, 17, 17, .18);
}
.unit-dialog__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(17, 17, 17, .12);
}
.unit-dialog__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 0;
  background: #fff;
  color: var(--color-text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.unit-dialog__arrow:hover,
.unit-dialog__close:hover { color: var(--color-primary); }
.unit-dialog__body {
  padding: 28px 24px 24px;
  overflow: auto;
  max-height: min(86vh, 760px);
}
.unit-dialog h3 { margin: 0 0 12px; padding-right: 28px; }
.unit-dialog img {
  display: block;
  width: 100%;
  max-height: 38vh;
  object-fit: contain;
  margin: 16px 0;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}
.unit-dialog .btn { width: 100%; }

@media (max-width: 860px) {
  .unit-dialog__frame { gap: 8px; }
  .unit-dialog__card {
    width: min(520px, calc(100vw - 104px));
    max-height: min(88vh, 760px);
  }
  .unit-dialog__arrow {
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
  }
  .unit-dialog__body {
    padding: 24px 16px 20px;
    max-height: min(88vh, 760px);
  }
  .unit-dialog img { max-height: 32vh; }
}

.place {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}
.place__frame { position: relative; }
.place__frame img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; border: 1px solid var(--color-border); }
.place__card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: #fff;
  padding: 22px 24px;
  max-width: 280px;
  display: grid;
  gap: 6px;
}
.place__card strong { font-family: var(--font-display); font-size: 1.15rem; }
.place__card span { color: var(--color-muted); margin-bottom: 8px; }
.place__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  align-content: start;
}
.place__list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.place__list span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent);
}
.place__list p { margin: 2px 0 0; color: var(--color-muted); font-size: .92rem; }

@media (max-width: 860px) {
  .explorer { grid-template-columns: 1fr; }
  .explorer__panel { position: static; }
  .place { grid-template-columns: 1fr; }
  .place__frame img { min-height: 280px; }
  .place__card { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-list i {
  color: var(--color-primary);
  margin-top: 4px;
  width: 16px;
  text-align: center;
}

.steps {
  position: relative;
  z-index: 0;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  counter-reset: step;
  display: grid;
  gap: 2px;
  background: var(--color-border);
  max-width: 760px;
}
.steps li {
  background: #fff;
  padding: 18px 20px 18px 64px;
  position: relative;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 16px;
  width: 24px;
  background: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.2rem;
  line-height: 1.2;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 28px;
  top: 32px;
  width: 1px;
  height: calc(100% - 64px);
  pointer-events: none;
}
.steps::before { background: var(--color-border); }
.steps::after {
  background: var(--color-primary);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform .9s ease;
}
.steps.is-drawn::after { transform: scaleY(1); }

.table-scroll { overflow-x: auto; margin-top: 12px; }
.unit-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .92rem;
  min-width: 640px;
}
.unit-table th,
.unit-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.unit-table th {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-muted);
  background: var(--color-bg-alt);
}
.unit-table td.num,
.unit-table th.num { text-align: right; }
.floor-block { margin-top: 40px; }
.floor-block h2 { font-size: 1.2rem; text-transform: none; }

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
