/* Darima — sistema visual
   Marca: carbón #2b2b2b, bronce #957b5f, bronce claro #c6a47e.
   Criterio: una sola familia tipográfica, texto legible, foto grande, sin ornamentos. */
:root {
  --bg: #2b2b2b;
  --bg-deep: #232222;
  --line: rgba(236, 232, 226, .13);
  --line-strong: rgba(236, 232, 226, .3);
  --gold: #957b5f;
  --gold-light: #c6a47e;
  --gold-ink: #7a6249;
  --text: #ece8e2;
  --text-dim: #a8a29b;
  --paper: #f2eee8;
  --ink: #232222;
  --ink-dim: #5f5952;
  --font: 'Archivo', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --shell: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 80px;
  --section: clamp(88px, 10vw, 152px);
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.shell { width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--gold-light); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* tipografía */
.t-xl { font-size: clamp(48px, 8.4vw, 132px); font-weight: 400; line-height: .96; letter-spacing: -.035em; margin: 0; }
.t-l { font-size: clamp(36px, 5vw, 76px); font-weight: 400; line-height: 1; letter-spacing: -.03em; margin: 0; }
.t-m { font-size: clamp(28px, 3vw, 44px); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
.t-s { font-size: clamp(21px, 1.7vw, 25px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; margin: 0; }
.muted { color: var(--text-dim); }
.prose { max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }
.big-p { font-size: clamp(24px, 2.6vw, 38px); line-height: 1.28; letter-spacing: -.018em; margin: 0; }
.label { font-size: 14px; color: var(--text-dim); margin: 0 0 14px; }

/* enlaces y botones */
.ul { display: inline-block; border-bottom: 1px solid currentColor; padding-bottom: 2px; line-height: 1.3; transition: color .2s, border-color .2s; }
.ul:hover { color: var(--gold-light); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 1px solid var(--gold-light); background: var(--gold-light); color: var(--ink); font: 500 16px/1 var(--font); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--text); border-color: var(--text); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-line:hover { background: transparent; border-color: var(--text); color: var(--text); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); transition: background .3s, border-color .3s; background: var(--bg); border-bottom: 1px solid var(--line); }
/* Transparente sólo sobre un hero, hasta scrollear (sin JS queda sólido) */
.over-hero .site-header:not(.solid) { background: transparent; border-bottom-color: transparent; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.logo { flex: none; position: relative; z-index: 3; }
.logo img { width: 132px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.main-nav li > a { font-size: 15px; color: var(--text); padding: 10px 0; display: block; border-bottom: 1px solid transparent; }
.main-nav li > a:hover { color: var(--gold-light); }
.main-nav li > a[aria-current] { border-bottom-color: currentColor; }
.nav-foot, .nav-contact, .nav-toggle, .sub-toggle { display: none; }
.header-cta[aria-current] { background: var(--text); border-color: var(--text); }

/* submenú (desktop) */
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: -28px; padding-top: 14px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; }
.sub-inner { display: grid; grid-template-columns: repeat(2, minmax(160px, auto)); gap: 32px; padding: 26px 28px; background: var(--bg-deep); border: 1px solid var(--line); }
.sub-label { font-size: 13px; color: var(--text-dim); margin: 0 0 10px; }
.sub a { display: block; font-size: 16px; line-height: 2; white-space: nowrap; }
.sub a:hover { color: var(--gold-light); }

/* hero con video */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #151414; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .7) 100%), linear-gradient(90deg, rgba(0, 0, 0, .35) 0, rgba(0, 0, 0, 0) 60%); }
.hero.short { min-height: 86vh; min-height: 86svh; }
.hero .t-xl { font-size: min(clamp(48px, 8.4vw, 132px), calc(var(--fit, 12.5) * 1vw)); text-wrap: balance; }
.hero .crumbs { color: rgba(255, 255, 255, .75); }
.hero .crumbs a:hover { color: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.btn-glass { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-glass:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-aside .ul { color: #fff; }
/* emprendimiento sin foto horizontal: render vertical a sangre a la derecha */
.bleed .b-hero { padding-top: 0; }
.bleed .b-hero-grid { width: 100%; margin: 0; grid-template-columns: 1fr 1fr; gap: 0; min-height: 100svh; }
.bleed .b-hero-text { padding: calc(var(--header-h) + 32px) clamp(32px, 5vw, 80px) clamp(48px, 6vw, 88px) max(var(--gutter), (100vw - var(--shell)) / 2); }
.bleed .b-hero-img { position: relative; max-height: none; height: 100svh; }
.bleed .b-hero-img::before { content: ''; position: absolute; inset: 0 0 auto; height: 160px; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); z-index: 1; }
.hero-content { position: relative; z-index: 2; width: min(var(--shell), 100% - 2 * var(--gutter)); margin-inline: auto; padding-bottom: clamp(32px, 6vh, 64px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; color: #fff; }
.hero-content .t-xl { max-width: 100%; }
.hero-aside { text-align: right; font-size: 16px; }
.hero-aside p { margin: 0 0 8px; color: rgba(255, 255, 255, .78); }
.hero-sub { font-size: clamp(19px, 1.6vw, 23px); margin: 20px 0 0; color: rgba(255, 255, 255, .85); }
.hero-place { display: block; font-size: .42em; letter-spacing: -.02em; line-height: 1.2; margin-top: .3em; color: rgba(255, 255, 255, .8); }

/* cabecera de página interna */
.page-head { padding: calc(var(--header-h) + clamp(56px, 9vw, 128px)) 0 clamp(40px, 5vw, 72px); }
.page-head .t-xl { font-size: min(clamp(48px, 8.4vw, 132px), calc(var(--fit, 12.5) * 1vw)); }
.page-head .lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--text-dim); max-width: 46ch; margin: 24px 0 0; }
.page-band { width: min(var(--shell), 100% - 2 * var(--gutter)); margin: 0 auto; aspect-ratio: 21 / 8; overflow: hidden; background: var(--bg-deep); }
.page-band img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-dim); margin-bottom: 28px; }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-style: normal; opacity: .6; }

/* secciones */
.section { padding: var(--section) 0; }
.section.tight { padding: clamp(40px, 5vw, 72px) 0 var(--section); }
.section + .section:not(.light):not(.deep) { padding-top: 0; }
.light + .section, .deep + .section { padding-top: var(--section) !important; }
.light { background: var(--paper); color: var(--ink); }
.light .muted, .light .label, .light .prose p { color: var(--ink-dim); }
.deep { background: var(--bg-deep); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3vw, 44px); }
.page-head.split .shell { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: 48px; align-items: end; }
.page-head.split figure { aspect-ratio: 4 / 5; overflow: hidden; }
.page-head.split img { width: 100%; height: 100%; object-fit: cover; }

/* home: introducción */
.intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.intro .big-p { grid-column: 1 / span 9; }
.intro-img { grid-column: 1 / span 6; margin-top: clamp(56px, 7vw, 104px); aspect-ratio: 4 / 5; overflow: hidden; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; }
.intro-text { grid-column: 8 / span 5; align-self: start; margin-top: clamp(56px, 7vw, 104px); font-size: clamp(17px, 1.3vw, 19px); }
.intro-text .ul { margin-top: 28px; }

/* home: destacados (tríptico) */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.trio-item { display: flex; flex-direction: column; }
.trio-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-deep); }
.trio-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.trio-img:hover img { opacity: .88; }
.trio-item h3 { margin-top: 22px; }
.trio-item .muted { margin: 2px 0 16px; }
.trio-item .prose { font-size: 15.5px; color: var(--text-dim); }
.trio-item .ul { margin-top: auto; padding-top: 18px; align-self: flex-start; border: 0; }
.trio-item .ul span { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.last-units { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.tag { margin: 0; color: var(--gold-light); font-weight: 500; }
.last-q { margin: 0; }

/* índice de emprendimientos */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.light .index, .light .index a { border-color: rgba(35, 34, 34, .14); }
.index figure { width: 72px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-deep); }
.index img { width: 100%; height: 100%; object-fit: cover; }
.index .t-m { transition: color .2s; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.015em; }
.index .go { font-size: 15px; color: var(--text-dim); }
.index a:hover .t-m { color: var(--gold-light); }
.light .index a:hover .t-m { color: var(--gold-ink); }

/* casas */
.houses { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px); }
.house { display: block; grid-column: span 2; }
.house:nth-child(-n+2) { grid-column: span 3; }
.house:nth-child(-n+2) figure { aspect-ratio: 16 / 11; }
.house figure { aspect-ratio: 9 / 7; overflow: hidden; background: #e2ddd5; }
.house img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.house:hover img { opacity: .9; }
.house-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.house-meta span:last-child { font-size: 15px; color: var(--ink-dim); }
.section:not(.light) .house-meta span:last-child { color: var(--text-dim); }

/* banda de consulta */
.cta { background: var(--bg-deep); padding: clamp(80px, 9vw, 136px) 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; align-items: end; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta.with-photo { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.cta.with-photo .cta-inner { position: relative; }
.hero-media.crop-top { object-position: 50% 100%; }
@media (max-width: 640px) { .hero-media.crop-top { transform: scale(1.4); transform-origin: 50% 100%; } .hero .t-xl { font-size: min(clamp(40px, 12.5vw, 64px), calc(var(--fitm, 12.5) * 1vw)); } }
.bleed .site-header:not(.solid) { background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); }
.cta-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 12px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-dim); font-size: 15px; }
.cta-contact a:hover { color: var(--text); }

/* emprendimiento: cabecera */
.b-hero { padding-top: var(--header-h); }
.b-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); min-height: calc(100svh - var(--header-h)); }
.b-hero-text { display: flex; flex-direction: column; padding: clamp(32px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); }
.b-hero-text .crumbs { margin-bottom: auto; padding-bottom: 48px; }
.b-hero-place { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.015em; color: var(--text-dim); margin: 18px 0 0; }
.facts { margin: clamp(36px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 16px 16px 16px 0; }
.facts dt { font-size: 14px; color: var(--text-dim); }
.facts dd { margin: 2px 0 0; }
.b-hero-text .btn { margin-top: 32px; align-self: flex-start; }
.b-hero-img { overflow: hidden; background: var(--bg-deep); max-height: calc(100svh - var(--header-h)); }
.b-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.b-hero.house .b-hero-text { min-height: 0; padding-bottom: clamp(40px, 5vw, 64px); }
.house-head { padding: calc(var(--header-h) + clamp(48px, 7vw, 104px)) 0 clamp(36px, 4vw, 56px); }
.house-head .b-hero-place { margin-top: 14px; }
.house-wide { width: min(1100px, 100% - 2 * var(--gutter)); margin: 0 0 0 max(var(--gutter), (100% - var(--shell)) / 2); overflow: hidden; background: var(--bg-deep); }
.house-wide a { display: block; cursor: zoom-in; }
.house-wide img { width: 100%; max-height: 86vh; object-fit: cover; }

/* emprendimiento: presentación */
.present { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.present.with-gallery { grid-template-columns: 1fr 1fr; align-items: center; }
.present .big-p { font-size: clamp(22px, 2.1vw, 30px); }
.present .prose p:first-child { font-size: clamp(21px, 1.9vw, 27px); line-height: 1.35; letter-spacing: -.012em; }
.sheet { background: #fff; max-width: 500px; width: 100%; justify-self: end; }
.sheet a { display: block; cursor: zoom-in; }
.sheet img { width: 100%; }

/* emprendimiento: bloques */
.block-head { display: grid; grid-template-columns: 1fr; margin-bottom: clamp(32px, 4vw, 56px); }
.block-head .t-l { max-width: 18ch; }
.block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.block-grid.wide { grid-template-columns: 1.4fr 1fr; }
.block.reverse .gallery, .block.reverse .frame { order: 2; }
.spec-h { font-size: 15px; font-weight: 500; color: var(--gold-light); margin: 32px 0 10px; }
.spec-h:first-child { margin-top: 0; }
.light .spec-h { color: var(--gold-ink); }
.spec-list { margin: 0; }
.spec-list > div { display: grid; grid-template-columns: 9em 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.spec-list > div:last-child { border-bottom: 1px solid var(--line); }
.spec-list dt { font-weight: 500; }
.spec-list dd { margin: 0; color: var(--text-dim); }
.light .spec-list > div { border-color: rgba(35, 34, 34, .14); }
.light .spec-list dd { color: var(--ink-dim); }
.spec-lines { list-style: none; margin: 0; padding: 0; }
.spec-lines li { padding: 11px 0; border-top: 1px solid var(--line); }
.spec-lines li:last-child { border-bottom: 1px solid var(--line); }
.light .spec-lines li { border-color: rgba(35, 34, 34, .14); }

/* promo Darima VII */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.promo-item { padding-top: 20px; border-top: 1px solid var(--line-strong); }
.promo-item h3 { margin-bottom: 10px; }
.promo-item p { color: var(--text-dim); margin: 0; }
.amen { margin: clamp(56px, 7vw, 96px) auto; max-width: 900px; }
.promo-video { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: center; }
.promo-video .last-units { flex-direction: column; align-items: flex-start; border: 0; margin: 0; padding: 0; }
.promo-video video { width: 100%; background: #000; aspect-ratio: 16 / 9; }

/* cierre Darima VII */
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }

/* galería */
.gallery { position: relative; }
.gallery .slides { position: relative; overflow: hidden; background: var(--bg-deep); aspect-ratio: 4 / 5; }
.gallery.landscape .slides { aspect-ratio: 3 / 2; }
.light .gallery .slides { background: #e2ddd5; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; }
.slide.on { opacity: 1; pointer-events: auto; }
.slide a { display: block; height: 100%; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.light .slide img, .slide img[src*="986816"], .slide img[src*="e93437"], .slide img[src*="9a9cc9"], .slide img[src*="33f893"], .slide img[src*="3226ba"] { object-fit: contain; }
.g-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; }
.ss-count { margin: 0; font-size: 14px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.light .ss-count { color: var(--ink-dim); }
.g-nav { display: flex; gap: 4px; }
.g-nav button, .pg-prev, .pg-next { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; color: var(--text); transition: border-color .2s, color .2s; }
.light .g-nav button { color: var(--ink); border-color: rgba(35, 34, 34, .25); }
.g-nav button:hover, .pg-prev:hover, .pg-next:hover { border-color: var(--gold-light); color: var(--gold-light); }
.light .g-nav button:hover { border-color: var(--gold-ink); color: var(--gold-ink); }
.g-nav svg, .pg-prev svg, .pg-next svg { width: 18px; height: 18px; }
.frame { overflow: hidden; }
.frame a { display: block; cursor: zoom-in; }
.frame img { width: 100%; }

/* video casa */
.video-embed { aspect-ratio: 16 / 9; background: #000; max-width: 1100px; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.video-caption { margin-top: 14px; color: var(--text-dim); }

/* siguiente emprendimiento */
.next-project { border-top: 1px solid var(--line); }
.next-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: clamp(44px, 6vw, 80px) 0; }
.next-inner .label { margin: 0; }
.next-inner .t-l { transition: color .2s; }
.next-inner:hover .t-l { color: var(--gold-light); }

/* propiedades */
.tabs { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.tabs a { padding: 12px 0; margin-bottom: -1px; color: var(--text-dim); border-bottom: 1px solid transparent; }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current] { color: var(--text); border-bottom-color: var(--text); }
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 64px) clamp(18px, 2vw, 28px); }
.prop { display: block; }
.prop-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-deep); }
.prop-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.prop-img img.alt { opacity: 0; }
.prop:hover .prop-img img.alt { opacity: 1; }
.ribbon { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 500; padding: 6px 10px; }
.prop-meta { padding-top: 16px; }
.prop-status { font-size: 14px; color: var(--gold-light); margin-bottom: 6px; }
.prop-name { margin: 0 0 10px; }
.prop-go { font-size: 15px; color: var(--text-dim); }
.prop:hover .prop-name { color: var(--gold-light); }

/* ficha de propiedad */
.product-head { padding: calc(var(--header-h) + 36px) 0 0; }
.product-head .crumbs { margin: 0; }
.product { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.pgallery { min-width: 0; }
.pmain { position: relative; aspect-ratio: 3 / 2; background: var(--bg-deep); overflow: hidden; }
.pmain > a { display: block; height: 100%; cursor: zoom-in; }
.pmain img { width: 100%; height: 100%; object-fit: cover; }
.pmain .pg-prev, .pmain .pg-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(35, 34, 34, .7); border-color: transparent; z-index: 2; }
.pg-prev { left: 12px; } .pg-next { right: 12px; }
.pg-count { position: absolute; left: 12px; bottom: 12px; margin: 0; z-index: 2; font-size: 13px; color: #fff; background: rgba(35, 34, 34, .7); padding: 4px 8px; font-variant-numeric: tabular-nums; }
.thumbs { position: relative; display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
.thumbs button { flex: none; width: 84px; aspect-ratio: 1; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.thumbs button.on, .thumbs button:hover { opacity: 1; border-color: var(--gold-light); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo { position: sticky; top: calc(var(--header-h) + 24px); }
.pinfo .t-m { margin-bottom: 20px; }
.pstatus { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pstatus p { margin: 0; }
.pstatus p + p { color: var(--gold-light); }
.pactions { display: grid; gap: 10px; margin-top: 24px; }
.pphone { margin: 18px 0 0; font-size: 15px; color: var(--text-dim); }
.pphone a:hover { color: var(--text); }
.pdesc { grid-column: 1; padding-top: clamp(24px, 3vw, 40px); }
.pmore { margin: 0 0 20px; }

/* contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.contact-text .t-s { margin-bottom: 18px; }
.contact-text > p { max-width: 46ch; color: var(--text-dim); }
.contact-list { margin: 36px 0 0; }
.contact-list > div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 15px; color: var(--text-dim); }
.contact-list dd { margin: 0; }
.contact-list a:hover { color: var(--gold-light); }
.contact-form { display: grid; gap: 22px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 14px; color: var(--text-dim); }
.field input, .field textarea { width: 100%; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 400 17px/1.5 var(--font); padding: 12px 14px; border-radius: 0; resize: vertical; transition: border-color .2s; }
.field textarea::placeholder { color: var(--text-dim); opacity: .7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-light); }
.contact-form .btn { justify-self: start; min-width: 200px; }
.map { line-height: 0; }
.map iframe { width: 100%; height: clamp(320px, 40vw, 500px); border: 0; filter: grayscale(1) invert(.9) contrast(.85); }

/* footer */
.site-footer { background: #1d1c1c; padding: clamp(72px, 8vw, 112px) 0 32px; color: var(--text-dim); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; }
.footer-brand > img { width: 150px; height: auto; margin-bottom: 36px; }
.footer-label, .footer-h { color: var(--text); margin-bottom: 14px; font-size: 15px; font-weight: 500; }
.newsletter { display: flex; max-width: 380px; border: 1px solid var(--line-strong); }
.newsletter:focus-within { border-color: var(--gold-light); }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 14px; font: 400 15px var(--font); color: var(--text); }
.newsletter input:focus { outline: none; }
.newsletter input::placeholder { color: var(--text-dim); }
.newsletter button { border: 0; background: var(--gold-light); color: var(--ink); font: 500 15px var(--font); padding: 0 18px; cursor: pointer; }
.newsletter button:hover { background: var(--text); }
.nl-thanks { color: var(--gold-light); margin: 14px 0 0; }
.footer-col > a { display: block; line-height: 2; color: var(--text-dim); }
.footer-col > a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: var(--text); }
.footer-contact { line-height: 1.8; }
.social { display: flex; gap: 6px; margin-top: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); }
.social a:hover { border-color: var(--text-dim); }
.social svg { width: 18px; height: 18px; fill: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: clamp(56px, 7vw, 88px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.m-bar { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: #121111; display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); color: var(--text-dim); font-size: 14px; font-variant-numeric: tabular-nums; }
.lb-close { background: none; border: 0; color: var(--text); font-size: 15px; cursor: pointer; padding: 10px 0; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); width: auto; height: auto; object-fit: contain; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 1px solid var(--line-strong); background: rgba(18, 17, 17, .7); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-prev svg, .lb-next svg { width: 20px; height: 20px; }
.lb-foot { height: 24px; }

/* responsive */
@media (max-width: 1100px) {
  .main-nav ul { gap: 24px; }
  .props { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .logo img { width: 112px; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; z-index: 3; }
  .nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--text); transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; z-index: 2; margin: 0; background: var(--bg); padding: calc(var(--header-h) + 16px) var(--gutter) 28px; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .main-nav.open { opacity: 1; visibility: visible; }
  .site-header:has(.main-nav.open) { background: var(--bg); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li > a { font-size: 30px; letter-spacing: -.02em; padding: 14px 0; border: 0; }
  .main-nav li > a[aria-current] { color: var(--gold-light); }
  .has-sub { display: grid; grid-template-columns: 1fr auto; }
  .sub-toggle { display: grid; place-items: center; width: 52px; background: none; border: 0; cursor: pointer; color: var(--text-dim); }
  .sub-toggle svg { width: 20px; height: 20px; transform: rotate(90deg); transition: transform .25s; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(-90deg); }
  .sub, .has-sub:hover .sub, .has-sub:focus-within .sub { grid-column: 1 / -1; position: static; padding: 0; opacity: 1; visibility: visible; display: none; }
  .has-sub .sub.open, .has-sub:hover .sub.open, .has-sub:focus-within .sub.open { display: block; }
  .sub-inner { grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 0 20px; background: none; border: 0; }
  .sub a { font-size: 17px; }
  .nav-contact { display: block; }
  .nav-foot { display: grid; gap: 6px; margin-top: auto; padding-top: 28px; font-size: 15px; color: var(--text-dim); }
  .trio { grid-template-columns: 1fr; gap: 64px; }
  .trio-img { aspect-ratio: 4 / 5; }
  .intro .big-p, .intro-img, .intro-text { grid-column: 1 / -1; }
  .intro-img { margin-top: 48px; aspect-ratio: 4 / 3; }
  .intro-text { margin-top: 32px; }
  .present, .present.with-gallery, .block-grid, .block-grid.wide, .closing-grid, .contact-grid, .product, .promo-video, .b-hero-grid { grid-template-columns: 1fr; }
  .block.reverse .gallery, .block.reverse .frame { order: 0; }
  .b-hero-grid { min-height: 0; gap: 0; }
  .b-hero-text { padding: 28px 0 36px; }
  .b-hero-text .crumbs { padding-bottom: 28px; }
  .b-hero-img { aspect-ratio: 4 / 5; max-height: 78svh; }
  .bleed .b-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .bleed .b-hero-img { order: -1; height: auto; aspect-ratio: 4 / 5; max-height: 82svh; }
  .bleed .b-hero-text { padding: 28px var(--gutter) 40px; }
  .bleed .b-hero-text .crumbs { padding-bottom: 20px; }
  .sheet { justify-self: start; max-width: 460px; }
  .promo-grid { grid-template-columns: 1fr; }
  .pinfo { position: static; }
  .m-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 55; background: var(--bg-deep); border-top: 1px solid var(--line-strong); padding-bottom: env(safe-area-inset-bottom); }
  .m-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; font-weight: 500; }
  .m-bar a:first-child { background: var(--gold-light); color: var(--ink); }
  .m-bar svg { width: 18px; height: 18px; fill: currentColor; }
  body { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
  .has-wa .m-bar { display: none; }
  body.has-wa { padding-bottom: 0; }
  .houses { grid-template-columns: repeat(2, 1fr); }
  .house, .house:nth-child(-n+2) { grid-column: auto; }
  .house:nth-child(-n+2) figure { aspect-ratio: 9 / 7; }
  .cta-on .m-bar { transform: translateY(110%); }
  .m-bar { transition: transform .25s; }
  .page-head.split .shell { grid-template-columns: 1fr; }
  .page-head.split figure { aspect-ratio: 16 / 10; }
  .pdesc { grid-column: auto; }
  .cta-inner { grid-template-columns: 1fr; align-items: start; }
  .page-band { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .t-xl { font-size: clamp(44px, 12.5vw, 64px); }
  .page-head .t-xl { font-size: min(clamp(40px, 12.5vw, 64px), calc(var(--fit, 12.5) * 1vw)); }
  .t-l { font-size: clamp(32px, 9vw, 40px); }
  .t-m { font-size: clamp(25px, 7vw, 30px); }
  .hero-content { grid-template-columns: 1fr; }
  .hero-aside { text-align: left; }
  .hero.short { min-height: 78svh; }
  .hero-ctas .btn { flex: 1 1 auto; padding: 0 16px; white-space: nowrap; }
  .index a { grid-template-columns: 56px 1fr; gap: 18px; padding: 14px 0; }
  .index figure { width: 56px; }
  .index .go { display: none; }
  .houses { grid-template-columns: 1fr; }
  .house figure { aspect-ratio: 4 / 3; }
  .props { grid-template-columns: 1fr; }
  .spec-list > div, .contact-list > div { grid-template-columns: 1fr; gap: 2px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
  .cta-actions .btn { flex: 1; padding: 0 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .next-inner { flex-direction: column; gap: 8px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .thumbs button { width: 64px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; top: auto; bottom: -56px; transform: none; }
  .lb-prev { left: calc(50% - 50px); } .lb-next { right: calc(50% - 50px); }
  .lb-foot { height: 72px; }
  .amen { overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .amen img { min-width: 680px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
