:root {
  --primary: #161513;
  --accent: #cfc3b0;
  --bg: #f3efe9;
  --surface: #fffcf8;
  --text: #1c1b19;
  --muted: #6d675f;
  --border: #e3dbd1;
  --ink: #0b0b0b;
  --stone: #d7cbb8;
  --radius: 0px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 { font-size: 2.15rem; margin: 0 0 0.6rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.35rem; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid #b7a890;
  outline-offset: 3px;
}

::selection {
  background: #d7cbb8;
  color: #141311;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.65rem 4.5vw;
  background: var(--ink);
  color: #f4f1ec;
  border-bottom: 1px solid rgba(215, 203, 184, 0.2);
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo-clip {
  width: 54px;
  height: 56px;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}

.logo-clip .logo {
  position: absolute;
  width: 104px;
  height: 104px;
  max-width: none;
  left: 50%;
  top: -4px;
  transform: translateX(-50%);
  object-fit: cover;
}

.brand-text { display: grid; gap: 0.12rem; }

.brand-name {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 0.92rem;
  line-height: 1;
}

.brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c9bfb2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  color: #e6e0d6;
  padding: 0.7rem 0.85rem;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a.active,
.nav a:hover {
  color: #fff;
  box-shadow: inset 0 -1px 0 var(--stone);
  background: transparent;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(215, 203, 184, 0.35);
  background: transparent;
  color: #f4f1ec;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8a7b68;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  gap: 2rem 3rem;
  align-items: center;
  padding: 3.5rem 6vw 4.5rem;
  background: #070707;
  color: #f6f3ee;
}

.hero h1 {
  font-size: clamp(3.1rem, 6.2vw, 5.5rem);
  line-height: 0.9;
  margin: 0 0 1.15rem;
  max-width: 10ch;
  font-weight: 500;
  color: #f7f4ef;
}

.hero .eyebrow { color: var(--stone); }

.hero p {
  max-width: 42ch;
  color: #d9d2c8;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.hero-mark {
  display: flex;
  justify-content: flex-end;
  perspective: 1200px;
}

.hero-mark img,
.logo-3d {
  width: min(480px, 100%);
  height: auto;
  aspect-ratio: 1;
  display: block;
  background: transparent;
}

.hero.hero-photo {
  display: block;
  position: relative;
  min-height: calc(100vh - 84px);
  padding: 0;
  overflow: hidden;
  background: #070707;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-slides-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.hero.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.28) 0%, rgba(7, 7, 7, 0.04) 34%, rgba(7, 7, 7, 0.62) 72%, rgba(7, 7, 7, 0.86) 100%),
    linear-gradient(90deg, rgba(7, 7, 7, 0.5) 0%, rgba(7, 7, 7, 0.08) 58%, rgba(7, 7, 7, 0) 100%);
  pointer-events: none;
}

.hero-photo-layout {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.8fr);
  align-items: end;
  gap: 1.5rem 2rem;
  padding: 4.5rem 6vw 4.2rem;
  box-sizing: border-box;
}

.hero.hero-photo .hero-copy {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 0.4rem;
  max-width: 680px;
  box-sizing: border-box;
}

.hero.hero-photo .hero-mark {
  align-self: center;
  justify-content: center;
  perspective: 1100px;
  position: relative;
}

.hero.hero-photo .hero-mark::before {
  content: "";
  position: absolute;
  width: 72%;
  height: 72%;
  left: 14%;
  top: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 7, 7, 0.78) 0%, rgba(7, 7, 7, 0.42) 48%, rgba(7, 7, 7, 0) 74%);
  pointer-events: none;
}

.hero.hero-photo .logo-spin {
  width: min(440px, 36vw);
  height: auto;
  aspect-ratio: 1;
  transform-style: preserve-3d;
  animation: logo-spin 14s linear infinite;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.45));
}

@keyframes logo-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.hero.hero-photo h1 { max-width: 12ch; }

.mosaic {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 0.45rem;
}

.mosaic a {
  display: block;
  overflow: hidden;
  background: #111;
  min-height: 210px;
  line-height: 0;
}

.mosaic a:first-child {
  grid-row: span 2;
  min-height: 460px;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.mosaic a:hover img { transform: scale(1.035); }

.gallery-note {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.gallery-section { padding-bottom: 2.2rem; }

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.section { padding: 4.4rem 6vw; }

.section-title {
  margin: 0.15rem 0 0;
  color: var(--primary);
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 500;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.section-head .eyebrow { margin-bottom: 0.45rem; }

.section-link {
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  white-space: nowrap;
}

.band-dark {
  background: var(--ink);
  color: #f4f1ec;
  padding: 5rem 6vw;
}

.band-dark .eyebrow { color: var(--stone); }

.band-dark h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin: 0 0 1rem;
  max-width: 14ch;
  font-weight: 500;
}

.band-dark .lead {
  color: #d5cec4;
  line-height: 1.7;
  max-width: 48ch;
  margin: 0;
  font-size: 1.02rem;
}

.band-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.pillars { border-top: 1px solid rgba(215, 203, 184, 0.28); }

.pillars article {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.75rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(215, 203, 184, 0.28);
}

.pillars span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  color: var(--stone);
}

.pillars h3 { margin: 0 0 0.25rem; font-size: 1.6rem; }
.pillars p { margin: 0; color: #cfc7bd; font-size: 0.95rem; line-height: 1.55; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step {
  padding: 0.2rem 0.2rem 0.4rem;
  border-top: 1px solid #1c1b19;
}

.step strong {
  display: block;
  margin-top: 0.85rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: #8a7b68;
}

.step h3 { margin: 0.35rem 0 0.4rem; font-size: 1.55rem; }
.step p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 0.94rem; }

.kpi-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 6vw 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.kpi-band .kpi {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--border);
  padding: 1.5rem 1.15rem 1.6rem;
  box-shadow: none;
}

.kpi-band .kpi:last-child { border-right: 0; }

.home-note {
  margin: 0.2rem 6vw 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.home-lead {
  margin: -0.4rem 0 0;
  max-width: 42rem;
  color: var(--ink, #1c1b19);
}

.quienes-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 2.2rem 2.8rem;
  align-items: start;
}

.quienes-photo {
  margin: 0;
  position: sticky;
  top: 6.2rem;
}

.quienes-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.quienes-photo figcaption {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.quienes-copy {
  display: grid;
  gap: 0.85rem;
  max-width: 46rem;
}

.quienes-copy h3 {
  margin: 0.6rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.15;
}

.quienes-copy h3:first-child { margin-top: 0; }

.quienes-copy p {
  margin: 0;
  line-height: 1.75;
}

.quienes-close {
  margin: 2.2rem 0 0.35rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
}

.quienes-tag {
  margin: 0;
  color: var(--muted);
}

.kpi-band strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.9rem;
  font-weight: 500;
  line-height: 1;
  color: var(--primary);
}

.kpi-band span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.cta-band {
  margin: 1rem 6vw 4.5rem;
  padding: 3.4rem 3rem;
  background: var(--ink);
  color: #f4f1ec;
}

.cta-band .eyebrow { color: var(--stone); }

.cta-band h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 0.7rem;
  max-width: 16ch;
  font-weight: 500;
}

.cta-band p { margin: 0; color: #d5cec4; max-width: 46ch; }

.page-hero {
  padding: 4.2rem 6vw 2.6rem;
  background: #0c0c0c;
  color: #f6f3ee;
}

.page-hero .eyebrow { color: var(--stone); }

.page-hero h1 {
  margin: 0 0 0.7rem;
  color: #f7f4ef;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 500;
  max-width: 16ch;
}

.page-hero .muted { color: #cfc6bb; font-size: 1.02rem; max-width: 52ch; }

.kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
}

.kpi {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
}

.kpi strong { font-size: 1.6rem; color: var(--primary); display: block; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.15rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: none;
  padding: 1.15rem;
}

.card:hover { border-color: #cfc3b0; }

.promo-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.promo-card:hover { transform: translateY(-4px); }

.promo-media { display: block; background: #111; line-height: 0; }

.promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  display: block;
}

.promo-card .promo-image { height: 240px; }

.promo-cover { height: min(62vh, 520px); }

.promo-placeholder {
  height: 240px;
  display: grid;
  place-items: center;
  background: #0b0b0b;
}

.promo-placeholder img {
  width: 168px;
  height: 168px;
  object-fit: contain;
}

.promo-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.promo-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8a7b68;
}

.promo-card h3,
.blog-card h3 { margin: 0.15rem 0 0.2rem; font-size: 2rem; }

.promo-card h3 a { text-decoration: none; color: inherit; }

.promo-location { margin: 0; color: var(--muted); }

.promo-price {
  margin: 0.35rem 0 0.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.promo-excerpt {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.94rem;
  margin: 0.35rem 0 0;
}

.blog-card { display: flex; flex-direction: column; gap: 0.35rem; min-height: 100%; }
.blog-card h3 { font-size: 1.85rem; }

.promo-thumbs {
  display: flex;
  gap: 0.4rem;
  margin: 0.45rem 0 0.15rem;
}

.promo-thumbs img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.promo-stage { background: #0c0c0c; }

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #111;
  cursor: zoom-in;
  overflow: hidden;
  line-height: 0;
}

.gallery-item img { transition: transform 0.45s ease; }
.gallery-item:hover img { transform: scale(1.03); }

.gallery-item--cover .promo-cover {
  width: 100%;
  height: min(72vh, 680px);
}

.promo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin: 0.35rem 0 0;
}

.promo-gallery-grid .promo-image { height: 190px; }

.gallery-hint {
  margin: 0;
  padding: 0.75rem 6vw 1.15rem;
  color: #b7aea3;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lightbox {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: transparent;
  color: #f6f3ee;
}

.lightbox::backdrop { background: rgba(7, 7, 7, 0.94); }

.lightbox form,
.lightbox figure {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.lightbox img {
  width: min(92vw, 1440px);
  height: min(82vh, 860px);
  object-fit: contain;
  background: transparent;
}

.lightbox figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.3rem;
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #d9d2c8;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #f6f3ee;
  cursor: pointer;
  font-family: inherit;
}

.lightbox-close {
  top: 1rem;
  right: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  line-height: 1;
  padding: 0.4rem 0.7rem;
}

.lightbox-prev { left: 0.4rem; }
.lightbox-next { right: 0.4rem; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0;
}

.chip {
  background: transparent;
  color: #4a453f;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 0.28rem 0.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.btn {
  background: var(--primary);
  color: #f7f4ef;
  border: 1px solid var(--primary);
  padding: 0.82rem 1.15rem;
  border-radius: 0;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover { background: #2a2825; }

.btn.secondary {
  background: transparent;
  color: var(--primary);
}

.btn.secondary:hover {
  background: var(--primary);
  color: #f7f4ef;
}

.btn.gold,
.btn-stone {
  background: var(--stone);
  border-color: var(--stone);
  color: #141311;
}

.btn.gold:hover,
.btn-stone:hover {
  background: #b7a890;
  border-color: #b7a890;
  color: #141311;
}

.btn-ghost {
  background: transparent;
  color: #f4f1ec;
  border-color: rgba(244, 241, 236, 0.45);
}

.btn-ghost:hover {
  background: #f4f1ec;
  color: #141311;
  border-color: #f4f1ec;
}

.btn-header {
  background: transparent;
  color: #f4f1ec;
  border-color: rgba(215, 203, 184, 0.55);
  padding: 0.75rem 0.95rem;
}

.btn-header:hover {
  background: var(--stone);
  color: #141311;
  border-color: var(--stone);
}

.card-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.9rem;
}

.filters {
  padding: 1.15rem;
  margin-bottom: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.field { display: grid; gap: 0.35rem; }

.field span,
.form-label {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

form { display: grid; gap: 0.8rem; }

input, textarea, select {
  width: 100%;
  border: 1px solid #d9d1c6;
  border-radius: 0;
  padding: 0.82rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #161513;
}

.contact-layout { align-items: start; }

.contact-card h2,
.aside-card h2 { margin-top: 0; font-size: 2rem; }

.contact-note { margin: 0; font-size: 0.88rem; }

.contact-note a { text-underline-offset: 3px; }

.aside-card p { margin: 0.35rem 0; }
.aside-card .btn { margin-top: 0.8rem; }

.prose { max-width: 68ch; }
.prose p { line-height: 1.75; }
.prose a { text-underline-offset: 3px; }

.empty-state {
  margin: 0;
  padding: 1.4rem 0;
  color: var(--muted);
  max-width: 52ch;
}

.footer {
  background: #070707;
  color: #f4f1ec;
  padding: 3rem 6vw 1.4rem;
  margin-top: 0;
  text-align: left;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr 0.8fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(215, 203, 184, 0.2);
}

.footer-logo {
  width: 180px;
  height: auto;
  display: block;
}

.footer-label {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 700;
}

.footer-col {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  font-size: 0.95rem;
}

.footer-col a { text-decoration: none; color: #f4f1ec; }
.footer-col a:hover { color: var(--stone); }
.footer-col span { color: #b7b0a6; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  color: #9d968d;
  font-size: 0.82rem;
}

.footer-admin {
  display: flex;
  justify-content: center;
  padding: 1.35rem 0 0.35rem;
}

.footer-admin .btn {
  min-width: 16rem;
}

.legal-links { display: none; }

.admin-wrapper {
  max-width: 1100px;
  margin: 1.5rem auto 3rem;
  display: grid;
  gap: 1rem;
  padding: 0 1rem;
}

.muted { color: var(--muted); font-size: 0.92rem; }

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 3.35rem;
  height: 3.35rem;
  display: grid;
  place-items: center;
  background: #1b4332;
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  z-index: 50;
}

.whatsapp-float:hover { background: #143528; }

.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  width: min(420px, calc(100vw - 6.4rem));
  background: #141311;
  color: #f4f1ec;
  border: 1px solid rgba(215, 203, 184, 0.28);
  border-radius: 0;
  padding: 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.cookie-banner p { margin: 0; font-size: 0.9rem; color: #e6e0d6; }

.cookie-banner .btn {
  background: var(--stone);
  color: #141311;
  border-color: var(--stone);
}

.cookie-banner .btn.secondary {
  background: transparent;
  color: #f4f1ec;
  border-color: rgba(244, 241, 236, 0.4);
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.15rem;
  align-items: start;
}

.sticky { position: sticky; top: 6.6rem; }

.promo-side-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.7rem;
  font-weight: 500;
  line-height: 1;
  margin: 0.35rem 0 0.2rem;
  color: var(--primary);
}

.promo-side-range { margin: 0 0 1rem; }

.promo-side-actions {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.promo-side-actions .btn {
  width: 100%;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero,
  .band-grid,
  .steps,
  .kpi-band,
  .footer-inner,
  .filters-grid {
    grid-template-columns: 1fr 1fr;
  }
  .band-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .kpi-band .kpi:nth-child(2) { border-right: 0; }
  .kpi-band .kpi:nth-child(1),
  .kpi-band .kpi:nth-child(2) { border-bottom: 1px solid var(--border); }
  .hero-mark { justify-content: center; }
}

@media (max-width: 860px) {
  .quienes-layout { grid-template-columns: 1fr; }
  .quienes-photo { position: static; max-width: 420px; }
  .header { flex-wrap: wrap; padding: 0.55rem 1.1rem; gap: 0.45rem; }
  .brand { margin-right: auto; }
  .btn-header { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.25rem 0 0.45rem;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.9rem 0.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2.2rem 1.25rem 2.8rem;
  }
  .hero-mark { order: -1; }
  .hero-mark img,
  .logo-3d { width: min(300px, 78vw); }
  .hero h1 { max-width: none; }
  .hero.hero-photo { min-height: 88vh; padding: 0; }
  .hero-photo-layout {
    min-height: 88vh;
    grid-template-columns: 1fr;
    align-items: end;
    padding: 2.4rem 1.25rem 2.2rem;
  }
  .hero.hero-photo .hero-copy {
    min-height: 0;
    padding: 0;
    max-width: none;
  }
  .hero.hero-photo .hero-mark { order: 0; margin-bottom: 0.4rem; }
  .hero.hero-photo .logo-spin { width: min(220px, 58vw); }
  .hero.hero-photo h1 { max-width: 12ch; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic a:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 280px;
  }
  .promo-gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--cover .promo-cover { height: 52vh; }
  .gallery-hint { padding-left: 1.25rem; padding-right: 1.25rem; }
  .section, .band-dark, .page-hero { padding-left: 1.25rem; padding-right: 1.25rem; }
  .kpi-band, .cta-band, .home-note { margin-left: 1.25rem; margin-right: 1.25rem; }
  .cta-band { padding: 2.2rem 1.3rem; }
  .footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  .two-col { grid-template-columns: 1fr; }
  .sticky { position: static; }
}

@media (max-width: 640px) {
  .filters-grid,
  .steps,
  .kpi-band,
  .footer-inner { grid-template-columns: 1fr; }
  .kpi-band .kpi { border-right: 0; border-bottom: 1px solid var(--border); }
  .kpi-band .kpi:last-child { border-bottom: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .promo-card, .btn, .mosaic img, .gallery-item img, .logo-spin { transition: none; }
  .logo-spin { animation: none; }
  .hero-slides-track { transition: none !important; }
  .promo-card:hover, .mosaic a:hover img, .gallery-item:hover img { transform: none; }
}

.promo-detail-wrap { padding-top: 2rem; }

.units-section {
  padding-top: 0.5rem;
  background: var(--bg);
}

.units-head { margin-bottom: 1rem; }
.units-head .section-title { margin-bottom: 0.35rem; }

.units-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.units-kpis .kpi strong { font-size: 1.35rem; }

.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(278px, 1fr));
  gap: 1.15rem;
}

.unit-card {
  border-left: 4px solid var(--accent);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: var(--surface);
}

.unit-card:hover { border-left-color: var(--primary); }
.unit-card--disponible { border-left-color: #1f9254 !important; }
.unit-card--reservada { border-left-color: #e8943c !important; }
.unit-card--vendida { border-left-color: #c03636 !important; }

.unit-status-badge {
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.unit-status-badge--disponible { background: #e8f5ee; color: #166534; }
.unit-status-badge--reservada { background: #fff4e8; color: #b45309; }
.unit-status-badge--vendida { background: #fdecec; color: #9b1c1c; }

.units-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 0.65rem;
  align-items: center;
}

.units-legend-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
}

.units-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.units-dot--disponible { background: #1f9254; }
.units-dot--reservada { background: #e8943c; }
.units-dot--vendida { background: #c03636; }

.unit-cta-muted {
  display: inline-block;
  text-align: center;
  padding: 0.7rem 1.1rem;
  border-radius: 0;
  font-weight: 600;
  background: #edf2f9;
  color: var(--muted);
  border: 1px solid var(--border);
}

.unit-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.unit-code {
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--primary);
  letter-spacing: 0.03em;
}

.unit-planta {
  font-size: 0.78rem;
  max-width: 100%;
  text-align: right;
}

.unit-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.1rem 0.45rem;
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.15rem 0 0;
  line-height: 1.25;
}

.unit-price-iva {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.unit-price-total {
  flex-basis: 100%;
  display: block;
  margin-top: 0.12rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.unit-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
}

.unit-specs li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.38rem 0;
  border-bottom: 1px dashed var(--border);
}

.unit-specs li:last-child { border-bottom: none; }
.unit-specs span { color: var(--muted); }
.unit-spec-hint {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.unit-card-visual {
  margin-top: 0.35rem;
  border-radius: 0;
  min-height: 76px;
  padding: 0.4rem;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
}

.unit-plans {
  display: grid;
  gap: 0.55rem;
  width: 100%;
}

.unit-plan {
  margin: 0;
}

.unit-plan figcaption {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.unit-photos {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.unit-render {
  margin: 0;
}

.unit-render figcaption {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.unit-photos img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: #f6f3ee;
}

.unit-plan-thumb {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
  background: #fff;
}

.unit-visual-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.unit-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.unit-actions .btn { text-align: center; text-decoration: none; }

.units-footnote {
  margin-top: 1.35rem;
  font-size: 0.86rem;
  max-width: 72ch;
}

.unit-modal { position: fixed; inset: 0; z-index: 90; }
.unit-modal[hidden] { display: none; }

.unit-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.72);
}

.unit-modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, 94vw);
  max-height: 88vh;
  overflow: auto;
  margin: 5vh auto;
  background: #fff;
  border-radius: 0;
  border: 1px solid var(--border);
  padding: 1rem;
}

.unit-modal-close {
  position: sticky;
  top: 0.2rem;
  margin-left: auto;
  display: block;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 0;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.unit-modal-plan {
  border: 1px solid var(--border);
  border-radius: 0;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  display: grid;
  gap: 0.75rem;
  padding: 0.45rem;
}

.unit-modal-plan img {
  width: 100%;
  height: auto;
  display: block;
}

.unit-modal-plan iframe {
  width: 100%;
  min-height: 56vh;
  border: 0;
}

body.modal-open { overflow: hidden; }

.admin-collapsible summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--primary);
  margin: -0.1rem 0 0.9rem;
}

.admin-collapsible summary::-webkit-details-marker { display: none; }

.admin-collapsible-icon::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 1.15rem;
  line-height: 1;
  font-family: "Manrope", sans-serif;
}

.admin-collapsible[open] .admin-collapsible-icon::before { content: "−"; }
.admin-collapsible-content { padding-top: 0.2rem; }

#admin-protected-content { gap: 1rem; }

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.admin-top h1 { margin: 0 0 0.35rem; }

.admin-hello { margin: 0; }

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-tab {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--primary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
}

.admin-tab.is-active {
  background: var(--primary);
  color: #f7f4ef;
  border-color: var(--primary);
}

.admin-field {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-price-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem;
  gap: 0.65rem 1rem;
  align-items: end;
  grid-column: 1 / -1;
}
.admin-price-total {
  margin: 0.15rem 0 0.4rem;
  font-weight: 700;
  color: var(--ink, #1c1b19);
}
.admin-help {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-list { display: grid; gap: 0.75rem; margin-top: 1rem; }

.admin-promo-card h3,
.admin-message h3 { margin: 0 0 0.25rem; font-size: 1.7rem; }

.admin-promo-card p,
.admin-message p { margin: 0.2rem 0; }

.admin-extra,
.admin-forgot { margin: 0.4rem 0 1rem; }

.admin-extra summary,
.admin-forgot summary {
  cursor: pointer;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.admin-file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem;
  margin: 0.5rem 0 1rem;
}

.admin-file {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.admin-file img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  background: #111;
}

.admin-guide summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
}

.admin-guide ol {
  margin: 0.7rem 0 0.2rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.admin-guide li {
  font-weight: 500;
  line-height: 1.45;
}

.unit-visibility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
}

.unit-visibility strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.1;
}

.unit-visibility span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.unit-visibility.is-hidden { background: #f6f1ea; }
.unit-visibility.is-visible { background: #fff; }
.unit-visibility .btn { flex: 0 0 auto; }
.unit-admin-row.is-unit-hidden { opacity: 0.72; }

.admin-step {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  margin: 1.15rem 0 0.45rem;
}

.admin-next {
  background: #f7f4ef;
  border: 1px solid #e4dccd;
  padding: 0.75rem 0.9rem;
  margin: 0 0 0.4rem;
  font-weight: 500;
  line-height: 1.45;
}
