/* =========================================================
   Matias Astorga Negocios Inmobiliarios — hoja de estilos
   Identidad: negro y oro de la marca (#151515, #C2A162, #F1DA9B, #F4DEB7).
   Para cambiar colores, editá solo las variables de :root.
   ========================================================= */

:root {
  --gold: #C2A162;
  --gold-light: #F1DA9B;
  --gold-dark: #8c6f3d;
  --champagne: #F4DEB7;
  --black: #151515;
  --panel: #201e19;
  --panel-line: #4a4132;
  --ink: #1c1b19;
  --stone: #6f6a62;
  --line: #e4ded3;
  --ivory: #f8f5ef;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --radius: 2px;
  --shadow: 0 18px 40px -24px rgba(15, 15, 15, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.section { padding-left: 24px; padding-right: 24px; }
@media (max-width: 480px) { .wrap, .wrap.section { padding-left: 16px; padding-right: 16px; } }
.eyebrow {
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 600; margin-bottom: 1rem; display: block;
}
.muted { color: var(--stone); }
.lead { font-size: 1.15rem; color: var(--stone); max-width: 640px; }
.gold-rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 1.5rem 0; }

/* ---------- Aviso de demostración ---------- */
.demo-bar {
  background: var(--black); color: var(--gold-light);
  font-size: .75rem; letter-spacing: .08em; text-align: center; padding: 7px 16px;
}
.demo-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(15,15,15,.82); color: var(--gold-light);
  font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; padding: 4px 9px;
}

/* ---------- Encabezado flotante (cápsula oscura con borde dorado) ---------- */
.hw { position: sticky; top: 0; z-index: 50; height: 0; }
.site-header {
  position: absolute; left: 50%; transform: translateX(-50%); top: 16px;
  width: min(1120px, calc(100% - 32px)); border-radius: 999px;
  background: rgba(14,14,14,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(194,161,98,.7);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: none; padding: 8px 10px 8px 18px; }
.brand { display: flex; align-items: center; gap: 10px; line-height: 1; }
.brand-mono { height: 40px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { white-space: nowrap; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne); }
.brand-sub { white-space: nowrap; font-size: .5rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

.nav { display: flex; gap: 22px; align-items: center; }
.nav a { font-size: .8rem; letter-spacing: .05em; color: var(--champagne); position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--gold-light); }
.nav a.nav-cta { padding: 11px 20px; color: var(--black); }
.nav a.nav-cta::after { display: none; }

.menu-btn { display: none; background: none; border: 0; padding: 8px 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 1px; background: var(--champagne); margin: 6px 0; transition: .3s; }

@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .site-header .wrap { position: relative; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(14,14,14,.96); padding: 10px 22px 22px; gap: 0; border: 1px solid rgba(194,161,98,.7); border-radius: 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .3s var(--ease);
  }
  .nav a { font-size: 1rem; padding: 13px 0; width: 100%; border-bottom: 1px solid rgba(244,222,183,.14); }
  .nav a::after { display: none; }
  .nav a.nav-cta { margin-top: 14px; border-bottom: 0; }
  body.menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  body.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}
@media (max-width: 520px) {
  .site-header { top: 10px; width: calc(100% - 20px); }
  .site-header .wrap { padding: 6px 6px 6px 12px; }
  .brand-mono { height: 34px; }
  .brand-name { font-size: .95rem; }
  .brand-sub { font-size: .44rem; letter-spacing: .22em; }
}

/* ---------- Botones (texto oscuro sobre dorado: contraste 7,5:1) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  border: 1px solid var(--black); background: var(--black); color: var(--white);
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, filter .3s;
  border-radius: 999px; text-align: center;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn-gold, .nav a.nav-cta { background: linear-gradient(135deg, #F1DA9B 0%, #C2A162 55%, #D6BB7A 100%); border-color: var(--gold); color: var(--black); }
.btn-gold:hover, .nav a.nav-cta:hover { background: linear-gradient(135deg, #F1DA9B 0%, #C2A162 55%, #D6BB7A 100%); border-color: var(--gold-light); color: var(--black); filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-dark); border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
.link-arrow:hover { color: var(--black); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end;
  color: var(--white); background: var(--black); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 20%, rgba(184,151,90,.28), transparent 55%),
    linear-gradient(160deg, #23211d 0%, #0f0f0f 60%);
}
.hero-bg::after { /* líneas arquitectónicas sutiles */
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 160px 100%;
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}
.hero { align-items: center; justify-content: center; text-align: center; color: var(--champagne); min-height: min(92vh, 780px); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1); transition: transform 4.5s ease-out; }
.hero-slide.on img { transform: scale(1.07); }
.hero.con-fotos::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(10,10,10,.62) 0%, rgba(10,10,10,.5) 45%, rgba(10,10,10,.9) 100%); }
.hero-in { position: relative; z-index: 2; width: 100%; max-width: 860px; padding: 120px 24px 120px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { max-width: 860px; margin: 0 auto 16px; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .lead { color: #e3d2ab; margin: 0 auto 26px; max-width: 560px; }

.hero-search { display: flex; align-items: center; gap: 6px; background: rgba(14,14,14,.82); border: 1px solid var(--gold); border-radius: 999px; padding: 6px 6px 6px 8px; max-width: 680px; margin: 0 auto 18px; }
.hero-search .tabs { display: flex; gap: 2px; flex: none; }
.hero-search .tab { border: 0; background: transparent; color: var(--champagne); padding: 10px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; cursor: pointer; }
.hero-search .tab[aria-pressed="true"] { background: var(--gold-light); color: var(--black); }
.hero-search .f { flex: 1; min-width: 0; padding: 10px 12px; border: 0; border-left: 1px solid var(--panel-line); border-radius: 0; background: transparent; color: var(--champagne); font-size: .85rem; }
.hero-search .f::placeholder { color: #cdbb96; opacity: 1; }
.hero-search select.f option { background: #151515; color: var(--champagne); }
.hero-search .f:focus { outline: none; box-shadow: inset 0 -2px 0 var(--gold); }
.hero-search .btn { padding: 12px 22px; font-size: .74rem; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hero-chips a { display: inline-flex; border: 1px solid rgba(241,218,155,.7); color: var(--champagne); font-size: .82rem; padding: 9px 15px; border-radius: 999px; background: rgba(14,14,14,.45); transition: background .25s, color .25s; }
.hero-chips a:hover { background: var(--gold); color: var(--black); }
.hero-chips a.hot { background: var(--gold-light); color: var(--black); border-color: var(--gold-light); font-weight: 700; }

.hero-cap { position: absolute; z-index: 2; left: 30px; bottom: 26px; text-align: left; font-size: .75rem; color: #e3d2ab; max-width: 55%; }
.hero-cap a { display: block; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; color: var(--champagne); }
.hero-cap a:hover { color: var(--gold-light); }
.hero-dots { position: absolute; z-index: 2; right: 30px; bottom: 30px; display: flex; gap: 6px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold-light); background: transparent; padding: 0; cursor: pointer; }
.hero-dot[aria-current="true"] { background: var(--gold-light); }
.hero-pause { position: absolute; z-index: 3; right: 30px; top: 100px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(14,14,14,.7); color: var(--gold-light); font-size: .7rem; cursor: pointer; padding: 0; }
.hero-prog { position: absolute; z-index: 3; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold-light); }
.hero.corriendo .hero-prog { animation: heroprog 3s linear forwards; }
@keyframes heroprog { from { width: 0; } to { width: 100%; } }
.hero.sin-carrusel .hero-cap, .hero.sin-carrusel .hero-dots, .hero.sin-carrusel .hero-pause, .hero.sin-carrusel .hero-prog { display: none; }
@media (max-width: 680px) {
  .hero { min-height: 620px; }
  .hero-in { padding: 100px 16px 110px; }
  .hero-search { flex-wrap: wrap; border-radius: 22px; }
  .hero-search .tabs { width: 100%; }
  .hero-search .tab { flex: 1; }
  .hero-search .f { flex: 1 1 40%; border-left: 0; border-top: 1px solid var(--panel-line); }
  .hero-search .btn { flex: 1 1 100%; }
  .hero-cap { left: 16px; bottom: 22px; max-width: 62%; }
  .hero-dots { right: 16px; bottom: 26px; }
  .hero-pause { right: 16px; top: 86px; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide img { transition: none; } .hero-slide.on img { transform: none; } .hero.corriendo .hero-prog { animation: none; } }

.page-hero { background: var(--ivory); padding: 128px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero.dark { background: var(--black); color: var(--white); border: 0; }
.page-hero.dark .lead { color: rgba(255,255,255,.7); }
.page-hero.dark .eyebrow { color: var(--gold-light); }

/* ---------- Secciones ---------- */
.section { padding: 104px 0; }
.section.alt { background: var(--ivory); }
.section.dark { background: var(--black); color: var(--white); }
.section.dark .muted, .section.dark .lead { color: rgba(255,255,255,.65); }
.section.dark .eyebrow { color: var(--gold-light); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 640px; }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 72px 0; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* Pilares / tarjetas de texto */
.pillar { border-top: 1px solid var(--gold); padding-top: 24px; }
.pillar .num { font-family: var(--font-display); font-size: 1rem; color: var(--gold-dark); display: block; margin-bottom: 12px; }
.pillar h3 { font-size: 1.45rem; }
.pillar p { color: var(--stone); font-size: .95rem; }
.section.dark .pillar p { color: rgba(255,255,255,.62); }

.access-card {
  display: block; padding: 40px 32px; background: var(--white); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
}
.access-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.access-card h3 { margin-top: 18px; }
.access-card p { color: var(--stone); font-size: .95rem; }

/* ---------- Tarjetas de propiedades / proyectos ---------- */
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: box-shadow .4s, transform .4s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #d9d2c4; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img, .card:hover .ph { transform: scale(1.04); }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.5rem; margin-bottom: .3em; }
.card-meta { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-bottom: 10px; }
.card-loc { color: var(--stone); font-size: .92rem; margin-bottom: 18px; }
.card-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-family: var(--font-display); font-size: 1.4rem; color: var(--black); }
.status { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--line); color: var(--stone); white-space: nowrap; }

.specs { list-style: none; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .86rem; color: var(--stone); }

/* Imagen provisoria cuando todavía no hay fotos */
.ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08) 25%, transparent 25%) 0 0 / 28px 28px,
    linear-gradient(160deg, hsl(var(--h, 38) 18% 72%), hsl(var(--h, 38) 14% 46%));
  color: rgba(255,255,255,.85); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  transition: transform .8s var(--ease);
}

/* ---------- Filtros ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip {
  border: 1px solid var(--line); background: var(--white); padding: 9px 18px; cursor: pointer;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; transition: .25s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.empty { padding: 48px; text-align: center; border: 1px dashed var(--line); color: var(--stone); }

/* ---------- Ficha detalle ---------- */
.detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 980px) { .detail { grid-template-columns: 1fr; } }
/* Galería de la ficha: mosaico en PC (1, 2 o 3+ fotos) y carrusel deslizable en celular */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 16 / 10; }
.gallery--n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery--n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.gal-tile, .gal-slide { position: relative; display: block; padding: 0; border: 0; background: #d9d2c4; overflow: hidden; cursor: zoom-in; min-width: 0; }
.gallery .gal-tile:first-child { grid-row: span 2; }
.gallery--n1 .gal-tile:first-child, .gallery--n2 .gal-tile:first-child { grid-row: auto; }
.gal-tile img, .gal-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-tile:hover img { transform: scale(1.03); }
.gal-tile:focus-visible, .gal-slide:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.gal-mas { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; background: rgba(15,15,15,.55); color: var(--white); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.gal-carrusel { display: none; position: relative; }
.gal-pista { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.gal-pista::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: center; }
.gal-contador { position: absolute; right: 12px; bottom: 12px; background: rgba(15,15,15,.78); color: var(--white); font-size: .75rem; letter-spacing: .1em; padding: 4px 10px; pointer-events: none; }
@media (max-width: 680px) { .gallery { display: none; } .gal-carrusel { display: block; } }
/* Con 2 o más fotos la galería es un carrusel también en PC: flechas, miniaturas y teclado (← →) */
.galeria--c .gallery { display: none; }
.galeria--c .gal-carrusel { display: block; }
.galeria--c .gal-slide { aspect-ratio: 3 / 2; }
@media (max-width: 680px) { .galeria--c .gal-slide { aspect-ratio: 4 / 3; } }
.gal-pista:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(194,161,98,.55); background: rgba(15,15,15,.72); color: var(--white); cursor: pointer; transition: background .2s, border-color .2s; }
.gal-btn:hover, .gal-btn:focus-visible { background: rgba(15,15,15,.92); border-color: var(--gold); outline: none; }
.gal-btn svg { width: 22px; height: 22px; }
.gal-prev { left: 12px; }
.gal-next { right: 12px; }
@media (max-width: 680px) { .gal-btn { display: none; } }
.gal-minis { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; padding-bottom: 4px; }
.gal-mini { flex: 0 0 auto; width: 84px; height: 62px; padding: 0; border: 2px solid transparent; background: #1a1a1a; opacity: .62; cursor: pointer; overflow: hidden; transition: opacity .2s, border-color .2s; }
.gal-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-mini:hover, .gal-mini:focus-visible { opacity: 1; outline: none; }
.gal-mini.activa { opacity: 1; border-color: var(--gold); }
@media (max-width: 680px) { .gal-minis { display: none; } }

/* Ficha sin fotos: bloque neutro (sin imágenes ficticias) */
.sin-foto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; background: var(--ivory); color: var(--stone); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.sin-foto-ficha { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 260px; padding: 32px 16px; text-align: center; background: var(--ivory); border: 1px solid var(--line); }
.sin-foto-ficha .eyebrow { margin: 0; }

/* Ampliación de fotos (<dialog> nativo) */
html.lb-abierto { overflow: hidden; }
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,10,10,.97); color: var(--white); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lb-fig { position: relative; width: 100%; height: 100%; margin: 0; padding: 64px 72px 56px; display: flex; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-cuenta { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: .8rem; letter-spacing: .14em; color: rgba(255,255,255,.75); }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; transition: background .25s; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-cerrar { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-uno .lb-prev, .lb-uno .lb-next { display: none; }
@media (max-width: 680px) {
  .lb-fig { padding: 64px 0 64px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; width: 44px; height: 44px; }
  .lb-prev { left: 14px; }
  .lb-next { right: 14px; }
}

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 32px 0; }
.facts div { background: var(--white); padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.facts dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.3rem; }
.feature-list { columns: 2; padding-left: 18px; color: var(--stone); }
.feature-list li::marker { color: var(--gold); }
@media (max-width: 560px) { .feature-list { columns: 1; } }

.aside-box { position: sticky; top: 100px; border: 1px solid var(--line); padding: 32px; background: var(--ivory); }
.aside-box .price { font-size: 2rem; display: block; margin-bottom: 6px; }
.aside-box .btn { width: 100%; margin-top: 10px; }
.aside-note { font-size: .8rem; color: var(--stone); margin-top: 16px; }
.breadcrumb { font-size: .78rem; letter-spacing: .08em; color: var(--stone); margin-bottom: 18px; }
.breadcrumb a { color: var(--gold-dark); }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); margin-bottom: 8px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--white);
  border-radius: var(--radius); transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.form-card { background: var(--white); border: 1px solid var(--line); padding: 40px; }
@media (max-width: 600px) { .form-card { padding: 26px 20px; } }
.form-hint { font-size: .82rem; color: var(--stone); }

/* ---------- Pasos / proceso ---------- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { counter-increment: s; display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.section.dark .step { border-color: rgba(255,255,255,.14); }
.step::before { content: "0" counter(s); font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.35rem; margin-bottom: .25em; }
.step p { margin: 0; color: var(--stone); }
.section.dark .step p { color: rgba(255,255,255,.62); }

.notice { border-left: 2px solid var(--gold); background: var(--ivory); padding: 18px 22px; font-size: .9rem; color: var(--stone); }

.cta-band { background: var(--black); color: var(--white); padding: 88px 0; text-align: center; }
.cta-band .lead { margin: 0 auto 2rem; color: rgba(255,255,255,.7); }
.cta-band .btn-row { justify-content: center; }

.portrait { position: relative; aspect-ratio: 4 / 5; background: #d9d2c4; overflow: hidden; }

/* ---------- Pie ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); padding: 80px 0 32px; font-size: .9rem; }
.site-footer .brand-name { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 18px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .78rem; color: rgba(255,255,255,.45); }

/* ---------- WhatsApp flotante (solo ícono, siempre a la vista) ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #06301a;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.55), 0 0 0 2px var(--gold-light); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 520px) { .wa-float { right: 14px; bottom: 16px; width: 56px; height: 56px; } }

/* Aparición suave al hacer scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { transition: none !important; } }

/* ---------- Accesibilidad y redes (agregado) ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--black); color: var(--white); padding: 12px 18px; font-size: .85rem; letter-spacing: .08em; }
.skip-link:focus { left: 12px; top: 12px; }
.social { display: flex; gap: 12px; margin-top: 22px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.8); transition: border-color .3s var(--ease), color .3s var(--ease); }
.social a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.social svg { width: 18px; height: 18px; }

/* ---------- Vista previa interna y etiquetas (agregado) ---------- */
.vista-bar { background: #b3261e; color: #fff; }
.demo-tag.vista-tag { background: #b3261e; color: #fff; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Formas redondeadas del diseño «negro y oro» ---------- */
.chip, .status { border-radius: 999px; }
.card, .access-card, .aside-box, .form-card, .notice { border-radius: 10px; }
.card { overflow: hidden; }

/* ---------- Tema negro y oro en TODO el sitio (antes solo la portada) ---------- */
body { background: var(--black); color: var(--champagne); }
body .section { background: var(--black); }
body .section.alt { background: #1c1b18; }
body .section.dark { background: #0e0e0e; }
body h2, body h3 { color: var(--champagne); }
body .eyebrow { color: var(--gold); }
body .lead, body .muted { color: #cdbb96; }
body .gold-rule { background: var(--gold); }
body .link-arrow { color: var(--gold-light); border-bottom-color: var(--gold); }
body .link-arrow:hover { color: var(--white); }
body .pillar { border-top-color: var(--gold); }
body .pillar .num { color: var(--gold); }
body .pillar p, body .section.dark .pillar p { color: #bfae8c; }
body .card, body .access-card { background: var(--panel); border-color: var(--panel-line); }
body .card:hover, body .access-card:hover { border-color: var(--gold); box-shadow: 0 16px 34px rgba(0,0,0,.5); }
body .card-media { background: #241f17; }
body .card-meta, body .access-card .eyebrow { color: var(--gold); }
body .card-loc, body .specs, body .access-card p { color: #bfae8c; }
body .card-foot { border-top-color: var(--panel-line); }
body .price { color: var(--gold-light); }
body .status { border-color: var(--panel-line); color: #e3d2ab; }
body .step { border-color: var(--panel-line); }
body .step p { color: #bfae8c; }
body .empty { border-color: var(--panel-line); color: #bfae8c; }
body .cta-band { background: #201e19; }
body .access-card.hot { background: linear-gradient(135deg, #F1DA9B, #C2A162 60%, #D6BB7A); border-color: var(--gold-light); }
body .access-card.hot h3, body .access-card.hot p, body .access-card.hot .eyebrow, body .access-card.hot .link-arrow { color: var(--black); }
body .access-card.hot .link-arrow { border-bottom-color: var(--black); }

/* Zonas */
.zones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.zones.zones-una { grid-template-columns: 1fr; }   /* una sola zona con propiedades: ocupa todo el ancho */
.zone[hidden] { display: none; }
.zone { position: relative; min-height: 180px; border: 1px solid var(--panel-line); border-radius: 10px; overflow: hidden; display: flex; align-items: flex-end; padding: 22px; background: linear-gradient(160deg, #3a3225, #16140f); transition: transform .3s var(--ease), border-color .3s; }
.zone:hover { transform: translateY(-4px); border-color: var(--gold); }
.zone small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.zone h3 { margin: 0; font-size: 1.9rem; color: var(--champagne); }
.zone::after { content: "\2192"; position: absolute; right: 20px; top: 16px; color: var(--gold-light); font-size: 1.4rem; }
@media (max-width: 680px) { .zones { grid-template-columns: 1fr; } .zone { min-height: 110px; } }

/* Buscador del catálogo */
.fbar { margin-bottom: 36px; padding: 22px 24px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.fbar-main { display: grid; grid-template-columns: auto repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; }
.fbar .tabs-op { display: flex; gap: 6px; flex-wrap: wrap; }
.fbar .field label { margin-bottom: 6px; }
.fbar .field input, .fbar .field select { padding: 11px 14px; border-radius: 999px; font-size: .9rem; }
.fmas { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.fmas summary { cursor: pointer; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-dark); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; margin-top: 16px; }
.fchecks { border: 0; padding: 0; margin: 18px 0 4px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.fchecks legend { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); font-weight: 600; margin-bottom: 8px; padding: 0; }
.fcheck { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; cursor: pointer; }
.fcheck:has(input:checked) { background: var(--black); color: var(--gold-light); border-color: var(--black); }
.fcheck input { accent-color: var(--gold); }
.fresumen { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: .9rem; color: var(--stone); }
@media (max-width: 980px) { .fbar-main { grid-template-columns: 1fr 1fr; } .fbar .tabs-op { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fbar { padding: 16px 14px 14px; } .fbar-main { grid-template-columns: 1fr; } }

/* ---------- Página «Vender»: tasaciones y formulario por pasos ---------- */
.servicio { display: flex; flex-direction: column; gap: 4px; padding: 34px 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color .3s, box-shadow .4s, transform .4s var(--ease); }
.servicio:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.servicio h3 { font-size: 1.9rem; margin-bottom: .4em; }
.servicio .btn { margin-top: 20px; align-self: flex-start; }
.wiz { max-width: 840px; margin: 0 auto; }
.wiz-prog { height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; margin-bottom: 20px; }
.wiz-prog span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width .4s var(--ease); }
.wiz-paso { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin: 0 0 6px; }
.wiz-titulo { margin: 0 0 24px; outline: none; }
.wiz-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wiz-campos > fieldset, .wiz-campos > .field:has(textarea), .wiz-campos > .field:has(.consent), .wiz-campos > .field:has(input[name="zona"]) { grid-column: 1 / -1; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.wiz-acciones { display: flex; gap: 10px; flex-wrap: wrap; }
.v-radios, .v-checks { border: 0; padding: 0; margin: 0; }
.v-radios { display: grid; gap: 12px; }
.v-checks { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.v-radios legend, .v-checks legend { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); font-weight: 600; margin-bottom: 10px; padding: 0; }
.opcion { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .25s, background .25s; }
.opcion:hover { border-color: var(--gold); }
.opcion.on, .opcion:has(input:checked) { border-color: var(--gold); background: var(--ivory); box-shadow: inset 0 0 0 1px var(--gold); }
.opcion input { margin-top: 5px; accent-color: var(--gold); }
.opcion small { display: block; color: var(--stone); font-size: .88rem; margin-top: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.5; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 400; }
.consent input { margin-top: 4px; accent-color: var(--gold); flex: none; width: auto; }
.consent a { text-decoration: underline; }
.field label.consent { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.v-err { color: #b3261e; font-size: .85rem; margin: 6px 0 0; }
.v-ok { color: var(--gold-dark); font-size: .9rem; margin-top: 14px; }
.req { color: var(--gold-dark); }
.wiz-final { text-align: center; }
.wiz-final .btn-row { justify-content: center; }
@media (max-width: 680px) { .wiz-campos { grid-template-columns: 1fr; } .wiz-nav .btn { flex: 1; } .wiz-acciones { width: 100%; } .wiz-acciones .btn { flex: 1; } }

/* Páginas legales */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.6rem; margin: 2.2em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { line-height: 1.75; }
.legal ul { padding-left: 20px; display: grid; gap: 10px; }
.legal a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* Aviso de búsqueda en el catálogo */
.filtro-activo { margin: -16px 0 28px; font-size: .9rem; color: var(--stone); }
.filtro-activo a { color: var(--gold-dark); border-bottom: 1px solid var(--gold); margin-left: 8px; }

/* Descripciones con varios párrafos y listas (los saltos de línea del texto se respetan) */
.pre-line { white-space: pre-line; }

/* Distrito Canning */
.dc-hero { position: relative; min-height: min(78vh, 640px); display: flex; align-items: flex-end; padding: 140px 0 56px; color: var(--champagne);
  background: linear-gradient(90deg, rgba(14,14,14,.82) 0%, rgba(14,14,14,.35) 55%, rgba(14,14,14,.1) 100%), linear-gradient(180deg, rgba(14,14,14,.15) 0%, rgba(14,14,14,.7) 100%), url("../img/distrito/distrito-01.jpg") center / cover no-repeat; background-color: #151515; }
.dc-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: var(--champagne); margin: .2em 0 .3em; }
.dc-hero h1 em { font-style: italic; color: var(--gold-light); }
.dc-hero .eyebrow { color: var(--gold); }
.dc-hero .lead { color: var(--champagne); opacity: .92; }
.dc-facts { background: #151515; color: var(--champagne); border-top: 1px solid rgba(194,161,98,.35); }
.dc-facts .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding-top: 22px; padding-bottom: 22px; text-align: center; }
.dc-facts strong { display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 1.9rem); color: var(--gold-light); font-weight: 500; }
.dc-facts span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.dc-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dc-gallery figure { margin: 0; overflow: hidden; border-radius: 12px; background: #151515; }
.dc-gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.dc-gallery figure:hover img { transform: scale(1.04); }
.dc-gallery figcaption { padding: 12px 14px; font-size: .85rem; color: var(--champagne); background: #151515; }
.card-chip { display: inline-block; align-self: flex-start; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: linear-gradient(135deg, #F1DA9B, #C2A162); color: #1c1b19; font-weight: 600; margin-top: 8px; }
@media (max-width: 760px) {
  .dc-facts .wrap { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .dc-gallery { grid-template-columns: repeat(2, 1fr); }
}
/* Tarjetas de proyectos: precio y financiación en etiquetas; tabla de tipologías */
.card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.card-chips .card-chip { margin-top: 0; }
.card-chip.alt { background: transparent; border: 1px solid var(--gold); color: var(--gold-dark); }
.tabla-tip { width: 100%; border-collapse: collapse; margin: 6px 0 22px; font-size: .98rem; }
.tabla-tip th, .tabla-tip td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabla-tip th { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.tabla-tip td:first-child { font-weight: 600; white-space: nowrap; }
/* Celulares: la tipología puede cortar en dos líneas (antes un nombre largo empujaba la tabla y la página se deslizaba de costado) */
@media (max-width: 600px) {
  .tabla-tip { table-layout: fixed; font-size: .92rem; }
  .tabla-tip th, .tabla-tip td { padding: 9px 8px; overflow-wrap: anywhere; }
  .tabla-tip th { letter-spacing: .06em; }
  .tabla-tip td:first-child { white-space: normal; }
}

/* ---------- Resto de las páginas con los colores de la marca (sin blanco) ---------- */
:root { --surface: #201e19; --surface-2: #1a1814; --soft: #bfae8c; }
.btn { background: transparent; border-color: var(--gold); color: var(--champagne); }
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn-gold { color: var(--black); }
.btn-ghost { background: transparent; color: var(--champagne); border-color: rgba(244,222,183,.45); }
.btn-ghost:hover { background: var(--champagne); color: var(--black); border-color: var(--champagne); }
.page-hero { background: linear-gradient(180deg, #1d1b16 0%, #151515 100%); border-bottom: 1px solid var(--panel-line); color: var(--champagne); }
.page-hero h1, .page-hero.dark h1 { color: var(--champagne); }
.page-hero .lead, .page-hero.dark .lead { color: #cdbb96; }
.page-hero .eyebrow, .page-hero.dark .eyebrow { color: var(--gold); }
.page-hero.dark { background: linear-gradient(180deg, #1d1b16 0%, #151515 100%); }
.section.alt { background: var(--surface-2); }
.eyebrow { color: var(--gold); }
.breadcrumb, .breadcrumb a { color: var(--soft); }
.breadcrumb a:hover { color: var(--gold-light); }
.facts div { background: var(--surface); border-color: var(--panel-line); }
.facts dt { color: var(--soft); }
.facts dd { color: var(--champagne); }
.feature-list { color: #cdbb96; }
.aside-box { background: var(--surface); border-color: var(--panel-line); }
.aside-note { color: var(--soft); }
.sin-foto, .sin-foto-ficha { background: var(--surface); border-color: var(--panel-line); color: var(--soft); }
.portrait { background: #241f17; }
.field label, .form-hint, .fchecks legend, .v-radios legend, .v-checks legend, .fresumen, .filtro-activo { color: var(--soft); }
.field input, .field select, .field textarea, .fbar input, .fbar select, .form input, .form select, .form textarea, .wiz input, .wiz select, .wiz textarea { background: #151515; color: var(--champagne); border-color: var(--panel-line); }
.field input::placeholder, .field textarea::placeholder, .fbar input::placeholder { color: #8f8266; }
select option { background: #1a1814; color: var(--champagne); }
.form-card, .fbar, .servicio, .chip { background: var(--surface); border-color: var(--panel-line); color: var(--champagne); }
.fbar { box-shadow: 0 18px 40px -24px rgba(0,0,0,.7); }
.servicio:hover, .chip:hover { border-color: var(--gold); }
.opcion { border-color: var(--panel-line); }
.opcion.on, .opcion:has(input:checked) { background: #2a251b; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.opcion small, .step p, .consent { color: var(--soft); }
.consent a, .form a { color: var(--gold-light); text-decoration: underline; }
.notice { background: var(--surface); color: #cdbb96; }
.card-chip.alt { color: var(--gold-light); border-color: var(--gold); }
.tabla-tip th { color: var(--gold); border-color: var(--panel-line); }
.tabla-tip td { border-color: var(--panel-line); color: var(--champagne); }
.demo-bar { background: #0e0e0e; }
.pre-line { color: #cdbb96; }
.v-ok { color: var(--gold-light); }
/* Planos por tipología y carpetas de colecciones */
.planos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin: 8px 0 24px; }
.plano { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--panel-line); border-radius: 10px; background: var(--surface); padding: 8px; transition: border-color .3s, transform .3s var(--ease); }
.plano:hover { border-color: var(--gold); transform: translateY(-3px); }
.plano img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 50%; border-radius: 6px; background: #f4efe4; }
.plano span { font-size: .8rem; line-height: 1.35; color: #cdbb96; padding: 0 4px 4px; }
.card-folder .card-media { aspect-ratio: 4 / 3; }
.card-folder .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-folder { border-color: var(--gold); }
.dc-equipo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dc-equipo article { border-top: 1px solid var(--gold); padding-top: 18px; }
.dc-equipo small { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.dc-equipo h3 { font-size: 1.5rem; margin-bottom: .3em; color: var(--champagne); }
.dc-equipo p { font-size: .9rem; color: #bfae8c; margin: 0; }
.dc-verde { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.dc-verde div { border: 1px solid var(--panel-line); border-radius: 10px; background: var(--surface); padding: 18px; text-align: center; }
.dc-verde strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--gold-light); font-weight: 500; }
.dc-verde span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #bfae8c; }
.dc-mapa { width: 100%; border-radius: 12px; border: 1px solid var(--panel-line); display: block; }
@media (max-width: 880px) { .dc-equipo, .dc-verde { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .dc-equipo, .dc-verde { grid-template-columns: 1fr; } }
/* El botón dorado conserva su degradé con el tema oscuro */
.btn.btn-gold { background: linear-gradient(135deg, #F1DA9B 0%, #C2A162 55%, #D6BB7A 100%); border-color: var(--gold); color: var(--black); }
.btn.btn-gold:hover { background: linear-gradient(135deg, #F1DA9B 0%, #C2A162 55%, #D6BB7A 100%); border-color: var(--gold-light); color: var(--black); filter: brightness(1.08); }
/* Zonas con movimiento: Canning (lago, árboles y sol) y CABA (skyline con luces) */
.zone > div { position: relative; z-index: 2; }
.zone::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,13,10,.78) 0%, rgba(14,13,10,.35) 55%, rgba(14,13,10,0) 100%); pointer-events: none; }
.zone-art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; pointer-events: none; transition: transform .8s var(--ease), opacity .4s; }
.zone:hover .zone-art { transform: scale(1.05); opacity: 1; }
.zone-canning .sol { opacity: .28; animation: sol 7s ease-in-out infinite; }
.zone-canning .ola { animation: ola 6s linear infinite; }
.zone-canning .ola.o2 { animation-duration: 9s; animation-direction: reverse; stroke-opacity: .35; }
.zone-canning .arbol { transform-box: fill-box; transform-origin: 50% 100%; animation: mecer 4.5s ease-in-out infinite; }
.zone-canning .arbol:nth-child(2) { animation-delay: -1.2s; } .zone-canning .arbol:nth-child(3) { animation-delay: -2.4s; } .zone-canning .arbol:nth-child(4) { animation-delay: -.7s; } .zone-canning .arbol:nth-child(5) { animation-delay: -3.1s; }
.zone-caba .v { opacity: .15; animation: titila 3.2s ease-in-out infinite; }
.zone-caba .v1 { animation-delay: -.6s; opacity: .55; } .zone-caba .v2 { animation-delay: -1.4s; } .zone-caba .v3 { animation-delay: -2.1s; opacity: .4; animation-duration: 4.4s; } .zone-caba .v4 { animation-delay: -2.8s; animation-duration: 2.6s; }
.zone-caba .auto { animation: pasar 7s linear infinite; opacity: .85; }
.zone-caba .a2 { animation-duration: 10s; animation-direction: reverse; animation-delay: -3s; opacity: .6; } .zone-caba .a3 { animation-duration: 8.5s; animation-delay: -5s; }
@keyframes ola { from { transform: translateX(0); } to { transform: translateX(-40px); } }
@keyframes sol { 0%, 100% { transform: translateY(0); opacity: .26; } 50% { transform: translateY(-5px); opacity: .42; } }
@keyframes mecer { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes titila { 0%, 100% { opacity: .12; } 50% { opacity: .85; } }
@keyframes pasar { from { transform: translateX(-10px); } to { transform: translateX(410px); } }
@media (prefers-reduced-motion: reduce) { .zone-art *, .zone-art { animation: none !important; transition: none !important; } .zone-caba .v { opacity: .4; } }
/* ---------- Carrusel de la portada ---------- */
.carr-sec { padding-bottom: 8px; }
.carr { position: relative; max-width: 1400px; margin: 0 auto; }
.carr-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 24px 12px; scroll-padding: 0 24px; }
.carr-track::-webkit-scrollbar { display: none; }
.carr-track:focus-visible { outline-offset: -2px; }
.carr-item { position: relative; flex: 0 0 min(460px, 84%); aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--panel-line); background: #241f17; transition: border-color .3s, transform .4s var(--ease); }
.carr-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.carr-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.carr-item:hover img { transform: scale(1.05); }
.carr-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,10,0) 45%, rgba(14,13,10,.88) 100%); pointer-events: none; }
.carr-cap { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.carr-cap small { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.carr-cap strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--champagne); font-weight: 500; }
.carr-cap em { align-self: flex-start; font-style: normal; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: linear-gradient(135deg, #F1DA9B, #C2A162); color: #1c1b19; font-weight: 700; margin-top: 4px; }
.carr-btn { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(14,14,14,.78); color: var(--gold-light); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; transition: background .25s, color .25s; }
.carr-btn:hover { background: var(--gold); color: var(--black); }
.carr-prev { left: 8px; } .carr-next { right: 8px; }
@media (max-width: 680px) { .carr-btn { display: none; } .carr-track { padding: 4px 16px 12px; } .carr-item { flex-basis: 86%; } }
@media (prefers-reduced-motion: reduce) { .carr-track { scroll-behavior: auto; } .carr-item img, .carr-item { transition: none; } }
/* Nosotros: retrato y foto con epígrafe */
.portrait { margin: 0; border-radius: 14px; border: 1px solid var(--panel-line); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.foto-cap { margin: 0; }
.foto-cap img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--panel-line); }
.foto-cap figcaption { margin-top: 10px; font-size: .85rem; color: var(--soft); line-height: 1.4; }