/* Fuentes locales, con licencias en fuentes/. */
@font-face { font-family: 'Montserrat'; src: url('../fuentes/Montserrat-Variable.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fuentes/Jost-Variable.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fuentes/DM-Sans-Variable.ttf') format('truetype'); font-weight: 100 1000; font-style: normal; font-display: swap; }
:root {
  --cream: #f7f4ee; --brick: #773e32; --terracotta: #482820;
  --sand: #d9cabc; --ink: #2f2925; --muted: #71645b; --line: #d9cfc4;
  --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;
  --gutter: clamp(24px, 6vw, 100px); --header-height: 96px;
  /* Posiciones de portada: 0% vertical conserva los pisos superiores. */
  --hero-position: 50% 0%; --hero-mobile-position: 50% 0%; --hero-fit: cover;
  --photo-position: 50% 45%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; color: var(--ink); background: var(--cream); font: 18px/1.75 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
figure, p { margin: 0; }
p + p { margin-top: 20px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a, button { transition: color .25s, background-color .25s, border-color .25s, opacity .25s; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1, h2, h3 { margin: 0; font-family: var(--font-heading); font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(36px, 3.8vw, 52px); letter-spacing: -1.1px; color: var(--brick); margin-bottom: 28px; }
h3 { font-size: 25px; }
.title-accent { color: #8c7160; }
.section { padding: clamp(72px, 8vw, 112px) var(--gutter); }
.section > *, footer > * { min-width: 0; }
.eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--brick); margin-bottom: 24px; }
.small-label { display: block; font-size: 12px; letter-spacing: 1.5px; color: var(--muted); }
.text-link { display: inline-flex; gap: 24px; align-items: center; border-bottom: 1px solid currentColor; padding: 12px 0; margin-top: 20px; font-size: 16px; color: var(--brick); }
.text-link:hover { color: var(--terracotta); }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--cream); padding: 12px; z-index: 100; }
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Encabezado fijo: cristal oscuro al inicio, crema al desplazarse. */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; min-height: var(--header-height); padding: 20px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 25px; color: var(--cream); background: #201915ad; border-bottom: 1px solid #f7f4ee38; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background-color .45s, color .45s, box-shadow .45s, border-color .45s; }
.header.is-scrolled { background: var(--cream); color: var(--brick); box-shadow: 0 6px 24px #48282012; border-color: #d9cabc; }
.brand { display: inline-block; font: 400 27px/1 var(--font-heading); letter-spacing: 3.5px; white-space: nowrap; }
.brand span { display: block; text-align: center; margin-top: 10px; font: 10px/1.3 var(--font-body); letter-spacing: 3px; }
.header nav { display: flex; align-items: center; gap: clamp(15px, 1.7vw, 28px); }
.header nav a { font-weight: 600; font-size: 16px; padding: 10px 0; border-bottom: 1px solid transparent; }
.header nav a:hover { border-color: currentColor; background: #d9cabc12; }
.menu-toggle { border: 1px solid currentColor; background: transparent; padding: 9px 14px; font-size: 16px; }
[hidden] { display: none !important; }
/* Portada inmersiva: fotografía responsive completa y texto superpuesto.
   Ajustar --hero-position / --hero-mobile-position sin deformar la foto. */
.hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 680px; min-height: max(680px, 100svh); padding: calc(var(--header-height) + 80px) var(--gutter) 110px; color: var(--cream); background: var(--terracotta); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #1b16136b 0%, #1b16136b 35%, #1b161394 70%, #1b1613a6 100%); }
.hero-copy { max-width: 960px; min-width: 0; text-align: center; text-shadow: 0 3px 22px #0007; }
.hero .eyebrow { color: var(--cream); font-weight: 600; font-size: 12px; letter-spacing: 3px; margin-bottom: 32px; }
.hero h1 { font: 700 clamp(60px, 7.4vw, 104px)/1.1 'Montserrat', 'Segoe UI', sans-serif; letter-spacing: .075em; padding-left: .075em; color: var(--cream); }
.hero-tagline { max-width: 810px; font: 600 clamp(25px, 3vw, 40px)/1.4 'Montserrat', 'Segoe UI', sans-serif; letter-spacing: -.6px; color: var(--cream); margin: 28px auto 35px; text-wrap: balance; }
.hero-button { display: inline-flex; align-items: center; gap: 32px; background: #f7f4eef5; border: 1px solid var(--cream); color: var(--terracotta); font-size: 16px; font-weight: 600; padding: 17px 28px; text-shadow: none; transition: background .3s, color .3s, transform .3s, box-shadow .3s; }
.hero-button:hover { background: var(--brick); border-color: var(--brick); color: var(--cream); transform: translateY(-2px); box-shadow: 0 8px 25px #0002; }
.hero-button span { transition: transform .3s; }
.hero-button:hover span { transform: translate(2px,-2px); }
.hero-photo { position: absolute; inset: 0; z-index: -2; margin: 0; overflow: hidden; }
.hero-photo picture { display: block; width: 100%; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: var(--hero-fit); object-position: var(--hero-position); }
.hero-photo figcaption { position: absolute; z-index: 1; bottom: 26px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; gap: 20px; color: var(--cream); font-size: 11px; letter-spacing: 1px; text-shadow: 0 2px 12px #0008; }
.hero h1 { animation: hero-enter .9s cubic-bezier(.2,.65,.3,1) both; }
.hero-tagline { animation: hero-enter 1s .15s ease both; }
.hero-button { animation: hero-enter 1s .3s ease both; }
.hero-photo img { animation: photo-enter 1.5s ease both; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes photo-enter { from { opacity: .5; } to { opacity: 1; } }
/* El edificio: fotografía moderada junto al texto. */
.building { display: grid; grid-template-columns: 1fr 1fr; gap: 35px 7%; align-items: start; }
.building .section-heading { grid-column: 1/-1; max-width: 800px; }
.building-copy { grid-column: 1; grid-row: 2; }
.building-copy .lead { font-size: 20px; color: var(--ink); }
.building-copy p:not(.lead) { color: var(--muted); }
.editorial-photo { position: relative; overflow: hidden; background: var(--sand); }
.editorial-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-position); transition: transform .7s ease; }
.building-photo { grid-column: 2; grid-row: 2; width: 100%; aspect-ratio: 4/3; margin-top: 8px; }
/* Servicios desplegables, sin grilla de tarjetas. */
.services { background: #eee6db; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 65px; margin-bottom: 42px; }
.section-top h2 { margin-bottom: 0; }
.section-description { max-width: 420px; color: var(--muted); font-size: 17px; }
.service-list { border-top: 1px solid #bda695; }
.service-list details { border-bottom: 1px solid #cdbbad; }
.service-list summary { display: flex; align-items: center; gap: 30px; padding: 23px 0; list-style: none; cursor: pointer; }
.service-list summary::-webkit-details-marker { display: none; }
.item-number { font-size: 13px; color: var(--brick); min-width: 25px; }
.detail-toggle { margin-left: auto; font-size: 26px; color: var(--brick); transition: transform .3s; }
details[open] .detail-toggle { transform: rotate(45deg); }
.service-list details p { margin: 0 50px 26px 55px; max-width: 680px; color: #65564b; font-size: 17px; }
.service-list summary:hover h3 { color: var(--brick); }
/* Tipologías: información institucional sin promesas de equipamiento. */
.apartments { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 9%; }
.apartment-copy > p:not(.eyebrow) { color: var(--muted); }
.apartment-types { border-top: 2px solid var(--brick); padding-top: 28px; }
dl { margin: 20px 0 0; }
dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
dt { font: 400 22px/1.4 var(--font-heading); }
dd { margin: 0; font-size: 15px; color: var(--muted); text-align: right; }
.institutional-note { font-size: 14px; color: var(--muted); margin-top: 24px; }
/* Entorno: dos fotografías uniformes, alineadas y contenidas. */
.surroundings { border-top: 1px solid var(--line); }
.surroundings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.surroundings .editorial-photo { aspect-ratio: 3/2; }
.city-photo { --photo-position: 50% 42%; }
.surroundings figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 35px 22px 16px; background: linear-gradient(transparent,#2319139c); color: white; font-size: 15px; }
/* Carrusel nativo: scroll-snap mantiene el gesto táctil fluido y la altura fija. */
.gallery { padding-top: 30px; }
.carousel { min-width: 0; }
.carousel-track { display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 5px 0; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 87%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.gallery-item { position: relative; display: block; width: 100%; height: clamp(270px, 34vw, 440px); overflow: hidden; border: 0; padding: 0; background: var(--sand); text-align: left; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .7s ease; }
.gallery-item::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,#211711b3); }
.gallery-caption { position: absolute; z-index: 1; left: 26px; bottom: 24px; right: 24px; font: 400 26px/1.3 var(--font-heading); color: white; }
.gallery-caption small { display: block; font: 13px/1.5 var(--font-body); margin-top: 8px; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 25px; }
.carousel-arrows, .carousel-dots, .lightbox-controls { display: flex; align-items: center; gap: 12px; }
.round-button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #bba395; border-radius: 50%; color: var(--brick); background: transparent; font-size: 23px; }
.round-button:hover { background: var(--brick); color: var(--cream); border-color: var(--brick); }
.carousel-dots button { width: 30px; height: 40px; border: 0; padding: 0; background: transparent; display: grid; place-items: center; }
.carousel-dots button::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #c7b8a9; transition: background .25s, transform .25s; }
.carousel-dots button[aria-current='true']::after { background: var(--brick); transform: scale(1.3); }
.carousel-status { font-size: 13px; letter-spacing: 2px; color: var(--muted); min-width: 65px; text-align: right; }
/* Contacto y pie de página. */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; background: var(--terracotta); color: var(--cream); }
.contact h2, .contact .eyebrow { color: var(--cream); }
.contact .title-accent, .contact .small-label { color: var(--sand); }
.contact-note { font-size: 17px; color: #e0d1c5; margin-top: 15px; }
.contact .text-link { color: var(--cream); }
.contact-details > div { border-bottom: 1px solid #d9cabc50; padding: 20px 0; }
.contact-details > div:first-child { padding-top: 0; }
.contact-details p { margin-top: 8px; overflow-wrap: anywhere; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-details .contact-disclaimer { font-size: 13px; color: var(--sand); margin-top: 25px; }
footer { padding: 50px var(--gutter) 25px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: center; }
footer .brand { color: var(--brick); justify-self: start; }
footer p, .back-top { font-size: 14px; }
footer > small { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 22px; font-size: 13px; color: var(--muted); }
/* Visor: imagen completa, navegación y cierre por teclado. */
.lightbox { width: min(1100px, 94vw); max-width: 94vw; max-height: 94dvh; padding: 22px; color: var(--ink); background: var(--cream); border: 0; }
.lightbox::backdrop { background: #211711ed; }
.lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.lightbox-count { font-size: 14px; color: var(--muted); }
.lightbox-close { position: static; padding: 8px 12px; border: 1px solid var(--line); background: transparent; font-size: 15px; }
.lightbox img { width: 100%; height: 62dvh; object-fit: contain; }
.lightbox figcaption { text-align: center; padding-top: 15px; font-size: 16px; }
.lightbox-controls { justify-content: center; margin-top: 14px; }
body.modal-open { overflow: hidden; }
/* Apariciones progresivas sin ocultar contenido si falla JavaScript. */
.reveal { animation: appear .8s ease both; }
@keyframes appear { from { opacity: .25; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .editorial-photo:hover img, .gallery-item:hover img { transform: scale(1.025); }
}
@media (max-width: 1150px) {
  .header { padding-inline: 28px; }
  .header nav { gap: 15px; }
  .header nav a { font-size: 14px; }
}
@media (max-width: 1000px) {
  :root { --header-height: 90px; }
  .header { flex-wrap: wrap; }
  .header nav { width: 100%; flex-wrap: wrap; }
  .header nav.mobile-nav { display: none; }
  .header nav.mobile-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; max-height: calc(100dvh - 100px); overflow-y: auto; }
  .header nav a { font-size: 16px; padding: 10px 0; }
  .section-top { gap: 35px; }
  .section-description { max-width: 360px; }
  .building { column-gap: 5%; }
  .building-copy .lead { font-size: 18px; }
}
@media (max-width: 700px) {
  :root { --header-height: 82px; }
  body { font-size: 17px; }
  .header { padding: 18px 24px; }
  .brand { font-size: 23px; }
  .brand span { font-size: 9px; margin-top: 8px; }
  .building, .apartments, .contact { grid-template-columns: 1fr; gap: 32px; }
  .building .section-heading, .building-copy, .building-photo { grid-column: auto; grid-row: auto; }
  .building h2 { margin-bottom: 0; }
  .building-photo { margin-top: 0; max-width: 520px; }
  .section-top { display: block; }
  .section-description { max-width: none; margin-top: 24px; font-size: 16px; }
  .service-list summary { gap: 14px; padding-block: 22px; }
  .service-list h3 { font-size: 22px; }
  .service-list details p { margin: 0 20px 24px 39px; font-size: 16px; }
  dt { font-size: 20px; }
  dd { font-size: 14px; }
  .surroundings-grid { gap: 20px; }
  .surroundings .editorial-photo { aspect-ratio: 3/4; }
  .surroundings figcaption { font-size: 12px; padding-inline: 12px; }
  .gallery { padding-top: 0; }
  .carousel-track { gap: 16px; }
  .carousel-slide { flex-basis: 90%; }
  .gallery-item { height: 310px; }
  .gallery-caption { left: 18px; bottom: 20px; font-size: 22px; }
  .carousel-controls { gap: 12px; }
  .round-button { width: 44px; height: 44px; }
  footer { grid-template-columns: 1fr auto; padding-top: 40px; gap: 25px 15px; }
  footer p { grid-column: 1/-1; grid-row: 2; }
  .lightbox { padding: 16px; }
  .lightbox img { height: 55dvh; }
}
/* Firma institucional: PNG original transparente, sin alterar el diseño. */
.institutional-signature { grid-column: 1/-1; display: flex; align-items: center; justify-content: center; gap: 35px; border-top: 1px solid var(--line); padding-top: 35px; margin-top: 10px; }
.logo-frame { flex: 0 0 220px; width: 220px; padding: 0; }
.logo-frame img { width: 100%; height: auto; }
.institutional-signature p { font: 400 25px/1.4 var(--font-heading); color: var(--brick); margin-top: 8px; }
/* Carrusel de instalaciones y detalles, con navegación independiente. */
.services-layout { display: grid; grid-template-columns: 1.12fr 1fr; align-items: start; gap: 6%; }
.services-layout > * { min-width: 0; }
.facilities-carousel .carousel-slide { flex-basis: 94%; }
.facilities-carousel .gallery-item { height: clamp(300px, 29vw, 410px); }
.facilities-carousel .pool-photo img { object-position: 50% 72%; }
.facilities-carousel .gallery-caption { font-size: 23px; }
.facility-note { font-size: 15px; color: #65564b; line-height: 1.65; padding-top: 18px; min-height: 94px; }
.facilities-carousel .carousel-controls { gap: 12px; margin-top: 10px; }
.facilities-carousel .carousel-dots { gap: 1px; }
.facilities-carousel .carousel-dots button { width: 23px; }
.services-layout .service-list summary { padding: 19px 0; gap: 18px; }
.services-layout .service-list h3 { font-size: 22px; }
.services-layout .service-list details p { margin-left: 43px; font-size: 16px; }
@media (max-width: 1000px) {
  .services-layout { gap: 30px; grid-template-columns: 1fr 1fr; }
  .facilities-carousel .carousel-controls { flex-wrap: wrap; }
  .facilities-carousel .carousel-status { flex: 1; }
}
@media (max-width: 700px) {
  .institutional-signature { gap: 20px; padding-top: 28px; justify-content: flex-start; }
  .logo-frame { flex-basis: 140px; width: 140px; padding: 0; }
  .institutional-signature .small-label { font-size: 10px; letter-spacing: 1px; }
  .institutional-signature p { font-size: 21px; }
  .services-layout { grid-template-columns: 1fr; gap: 38px; }
  .facilities-carousel .gallery-item { height: 300px; }
  .facility-note { min-height: 85px; }
  .facilities-carousel .carousel-controls { flex-wrap: nowrap; }
  .facilities-carousel .carousel-status { flex: none; }
}
/* Montserrat se limita a la portada y la marca del encabezado. */
.header .brand { font: 600 27px/1 'Montserrat', 'Segoe UI', sans-serif; letter-spacing: 2.8px; }
.header .brand span { font: 500 10px/1.3 var(--font-body); letter-spacing: 3.5px; }
.header:has(.is-open):not(.is-scrolled) { background: #201915f5; }
@media (max-width: 1000px) {
  .hero h1 { font-size: clamp(55px, 8.5vw, 88px); }
  .hero-tagline { max-width: 650px; font-size: 32px; }
}
@media (max-width: 700px) {
  .header .brand { font-size: 22px; letter-spacing: 2px; }
  .header .brand span { font-size: 9px; letter-spacing: 3px; }
  .hero { min-height: max(620px, 100svh); padding: calc(var(--header-height) + 70px) 24px 100px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1.7px; margin-bottom: 28px; }
  .hero h1 { font-size: clamp(35px, 9.6vw, 64px); letter-spacing: .055em; }
  .hero-tagline { font-size: clamp(24px, 5.7vw, 31px); line-height: 1.45; letter-spacing: -.4px; margin: 25px auto 30px; }
  .hero-photo img { object-position: var(--hero-mobile-position); }
  .hero-photo figcaption { font-size: 9px; gap: 15px; bottom: 22px; }
  .hero-button { padding: 15px 23px; gap: 25px; }
}
/* El edificio: composición editorial acotada a esta sección. */
.building { grid-template-columns: 1.12fr .88fr; align-items: center; gap: 54px 7%; background: var(--cream); }
.building .building-intro, .building .building-media { min-width: 0; }
.building .section-heading { max-width: none; }
.building h2 { font: 600 clamp(30px, 3vw, 43px)/1.25 'Montserrat', 'Segoe UI', sans-serif; letter-spacing: -1px; margin-bottom: 28px; color: var(--brick); text-wrap: balance; }
.building .building-copy { font-size: 17px; line-height: 1.85; }
.building .building-copy .lead { font-size: 18px; line-height: 1.8; }
.building .building-copy p + p { margin-top: 18px; }
.building .building-photo { grid-column: auto; grid-row: auto; aspect-ratio: auto; width: 100%; max-width: 470px; margin: 0 auto; background: transparent; }
.building .building-photo img { height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: 50% 45%; }
.building .building-photo figcaption { padding-top: 14px; font-size: 12px; letter-spacing: .5px; color: var(--muted); }
.building .institutional-signature { border-top: 0; padding-top: 0; margin: 26px auto 0; max-width: 470px; gap: 22px; justify-content: flex-start; }
.building .logo-frame { flex-basis: 125px; width: 125px; }
.building .institutional-signature .small-label { font-size: 10px; letter-spacing: 1px; }
.building .institutional-signature p { font: 500 16px/1.6 'Montserrat', 'Segoe UI', sans-serif; margin-top: 6px; }
.building .building-highlights { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 30px; gap: 0; }
.building .building-feature { min-width: 0; padding: 0 26px; }
.building .building-feature:first-child { padding-left: 0; }
.building .building-feature:last-child { padding-right: 0; }
.building .building-feature + .building-feature { border-left: 1px solid var(--line); }
.building .feature-index { display: block; font-size: 11px; letter-spacing: 1.5px; color: var(--brick); margin-bottom: 16px; }
.building .building-feature h3 { font: 600 18px/1.45 'Montserrat', 'Segoe UI', sans-serif; color: var(--brick); margin-bottom: 12px; }
.building .building-feature p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.building .building-feature:nth-child(2).reveal { animation-delay: .1s; }
.building .building-feature:nth-child(3).reveal { animation-delay: .2s; }
@media (max-width: 1000px) {
  .building { gap: 40px 5%; }
  .building h2 { font-size: 32px; }
  .building .building-copy, .building .building-copy .lead { font-size: 17px; }
  .building .institutional-signature { flex-wrap: wrap; gap: 12px; }
  .building .building-feature { padding-inline: 18px; }
  .building .building-feature h3 { font-size: 16px; }
}
@media (max-width: 700px) {
  .building { grid-template-columns: 1fr; gap: 36px; }
  .building h2 { font-size: clamp(28px, 6.5vw, 36px); letter-spacing: -.6px; margin-bottom: 25px; }
  .building .building-photo { max-width: 470px; }
  .building .institutional-signature { flex-wrap: nowrap; gap: 18px; margin-top: 22px; }
  .building .logo-frame { flex-basis: 110px; width: 110px; }
  .building .institutional-signature p { font-size: 14px; }
  .building .building-highlights { grid-template-columns: 1fr; padding-top: 0; }
  .building .building-feature, .building .building-feature:first-child, .building .building-feature:last-child { padding: 24px 0; }
  .building .building-feature + .building-feature { border-left: 0; border-top: 1px solid var(--line); }
  .building .feature-index { margin-bottom: 10px; }
  .building .building-feature h3 { font-size: 18px; margin-bottom: 8px; }
}
/* Instalaciones: cuatro imágenes y sólo la información esencial. */
.services-visual { background: var(--cream); border-top: 1px solid var(--line); }
.amenities-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 25px; }
.amenity { min-width: 0; }
.amenity figure { position: relative; aspect-ratio: 4/3; padding: 5px; border: 1px solid #773e3266; overflow: hidden; margin-bottom: 24px; }
.amenity img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.amenity figcaption { position: absolute; bottom: 6px; left: 6px; right: 6px; padding: 16px 10px 6px; background: linear-gradient(transparent,#241711aa); color: white; font-size: 10px; }
.amenity h3 { font: 500 25px/1.25 var(--font-heading); color: var(--brick); margin-bottom: 12px; }
.amenity p { font-size: 15px; line-height: 1.8; color: var(--muted); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .amenity figure:hover img { transform: scale(1.025); } }
/* Las tarjetas de acceso a tipologías se definen en renovacion.css. */
/* Página de departamentos: misma identidad, cabecera crema y galerías futuras. */
.departments-page .header { background: var(--cream); color: var(--brick); border-color: var(--line); }
.department-intro { padding-top: calc(var(--header-height) + 65px); padding-bottom: 55px; }
.department-intro .text-link { margin: 0 0 35px; }
.department-intro h1 { max-width: 820px; font: 600 clamp(34px,4vw,56px)/1.2 'Montserrat',sans-serif; color: var(--brick); margin-bottom: 28px; }
.department-intro > p:not(.eyebrow) { max-width: 710px; color: var(--muted); }
.type-navigation { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 35px; font-size: 15px; color: var(--brick); }
.type-navigation a { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.department-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; border-top: 1px solid var(--line); }
.department-detail > div { min-width: 0; }
.department-detail p { color: var(--muted); }
.department-photo-placeholder { min-height: 260px; background: #eae0d3; border: 1px solid #c5ab99; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 30px; text-align: center; font-size: 15px; color: var(--muted); }
@media (max-width: 1000px) {
  .amenities-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 35px 25px; }
}
@media (max-width: 700px) {
  .department-detail { grid-template-columns: 1fr; gap: 32px; }
  .amenities-grid { gap: 30px 18px; }
  .amenity h3 { font-size: 23px; }
  .amenity p { font-size: 14px; }
  .amenity figure { margin-bottom: 18px; }
}
@media (max-width: 420px) { .amenities-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
