/* Páginas internas — Proyectos, detalle, Inversión, Conócenos */

.page-title {
  margin: .35rem 0 1.4rem;
  font-weight: 300;
  font-size: clamp(2.2rem, 3.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}
.page-title em {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--st-blue);
}
.page-title.is-inline em { display: inline; }

.inv-porque-title {
  letter-spacing: .04em;
  line-height: 1.06;
}
.inv-porque-title em {
  display: inline;
  font-style: italic;
  font-weight: 300;
  color: var(--st-blue);
}

.page-inner {
  --page-inline-pad: clamp(1.4rem, 4vw, 3.2rem);
}
.page-inner .section-pad,
.page-inner .pintro-sec {
  padding-left: var(--page-inline-pad);
  padding-right: var(--page-inline-pad);
}
.section-pad {
  padding: 2.2rem clamp(1.4rem, 4vw, 3.2rem) 2.6rem;
}

.comuna-label {
  margin: 0 0 1rem;
  min-height: 1.15em;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
}
.comuna-label.is-empty { visibility: hidden; }

.listing-sec,
.comuna-label[id] {
  scroll-margin-top: calc(var(--header-h) + 4.6rem);
}
.comuna-label:target {
  color: var(--st-blue);
  transition: color .4s ease;
}
.comuna-filter {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  display: flex;
  gap: .5rem;
  margin: 0 calc(var(--page-inline-pad, 1.4rem) * -1) 1.6rem;
  padding: .75rem var(--page-inline-pad, 1.4rem);
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(10, 29, 43, .94);
  backdrop-filter: blur(8px);
}
.comuna-filter::-webkit-scrollbar { display: none; }
.comuna-pill {
  flex: none;
  padding: .5rem 1.05rem;
  border: 1.5px solid rgba(14, 153, 206, .55);
  border-radius: 99px;
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s ease, border-color .25s ease;
}
.comuna-pill:hover { border-color: var(--st-blue); }
.comuna-pill.is-active {
  border-color: var(--st-blue);
  background: var(--st-blue);
}

.listing-groups { display: block; }
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 1.85rem;
}
.listing-cell {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.listing-cell .pcard { flex: 1; }

.pcard {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  min-height: 260px;
  aspect-ratio: 1.18 / 1;
  color: #fff;
  text-decoration: none;
}
.pcard-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Los PNG de logos son a color y pensados para fondo blanco: sobre la foto
   se muestran en blanco sobre un respaldo navy translúcido. */
.pcard-logo,
.pcard-brand {
  position: absolute;
  top: 1.05rem;
  right: 1.15rem;
  z-index: 2;
  padding: .45rem .65rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(10, 29, 43, .62);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.pcard-logo {
  display: flex;
  max-width: 42%;
}
.pcard-logo img {
  display: block;
  height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.pcard-brand {
  line-height: 1;
  text-align: right;
}
.pcard-brand strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: .22em;
  color: #d4b46a;
}
.pcard-brand span {
  display: block;
  margin-top: .2rem;
  font-size: .62rem;
  letter-spacing: .28em;
  color: #fff;
}
.pcard-panel {
  position: absolute;
  left: .75rem;
  right: auto;
  bottom: .75rem;
  z-index: 2;
  width: min(72%, 19.5rem);
  padding: .8rem .85rem .75rem;
  border-radius: 14px;
  background: rgba(8, 22, 34, .72);
  backdrop-filter: blur(8px);
}
.pcard-estado {
  display: block;
  color: var(--st-blue);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.15;
}
.pcard-meta {
  margin: .22rem 0 .55rem;
  font-size: .84rem;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.25;
}
.pcard-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: nowrap;
}
.wa-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 99px;
  background: #25d366;
  color: #fff;
  flex-shrink: 0;
  text-decoration: none;
}
.wa-dot svg { width: 17px; height: 17px; display: block; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: .28rem .85rem;
  border: 1.5px solid #fff;
  border-radius: 99px;
  color: #fff;
  text-decoration: none;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
}
.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: .28rem 1.05rem;
  border: 0;
  border-radius: 99px;
  background: var(--st-blue);
  color: #fff;
  text-decoration: none;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ----- Detalle de proyecto ----- */
.pintro-sec {
  padding-top: 2.4rem;
  padding-bottom: 2.8rem;
}
.pintro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  gap: clamp(1.8rem, 4.5vw, 3.8rem);
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
}
.pintro-copy {
  padding: 0;
  min-width: 0;
}
.pintro-copy .kicker {
  margin: 0 0 .7rem;
  font-size: .72rem;
  letter-spacing: .26em;
  white-space: nowrap;
}
.pintro-copy .kicker span:first-child {
  width: 10px;
  height: 10px;
}
.pintro-copy .kicker span:last-child {
  width: auto;
  height: auto;
  background: none;
}
.pintro-copy .p-status {
  margin: 0 0 .7rem;
  font-size: .92rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #fff;
}
.pintro-copy .page-title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.45rem, 4.2vw, 3.7rem);
  line-height: 1.02;
}
.pintro-copy #pCopy {
  max-width: none;
  margin: 0;
  font-size: .98rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-soft);
}
.pintro-media {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 240px;
  min-width: 0;
  background: #08121c;
}
.pintro-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}
.pintro-copy .pintro-addr {
  display: grid;
  gap: .55rem;
  margin: 1.6rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: clamp(1.08rem, 1.35vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.pintro-dir,
.pintro-copy .pintro-addr small {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.pintro-dir[hidden] { display: none; }
.pin-icon {
  width: 1.45rem;
  height: 1.45rem;
  flex-shrink: 0;
  color: var(--st-blue);
}
.pintro-copy .pintro-addr small {
  margin: 0;
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  font-weight: 600;
  color: #fff;
}
.metro-logo {
  width: 1.6rem;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.pintro-copy .pintro-price {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin: 1.1rem 0 0;
  max-width: none;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  color: #fff;
}
.pintro-price-line1,
.pintro-price-line2 {
  display: block;
}
.pintro-price-line1 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}
.pintro-price-line2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--st-blue);
}
.pintro-copy .pintro-folleto.btn-cyan {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 1rem;
  min-height: 2.55rem;
  padding: .55rem 1.35rem;
  border-radius: var(--radius-pill);
}

.plantas-head {
  width: 100%;
  margin: 0 0 .85rem;
}
.plantas-banner {
  width: min(100%, 56rem);
  margin-inline: auto;
}
.plantas-sec .kicker { margin: 0 0 .4rem; }
.plantas-sec .page-title {
  margin: 0;
}
.plantas-card {
  width: 100%;
  background: #fff;
  color: var(--navy);
  border-radius: 22px;
  padding: 1rem 1.25rem .7rem;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
}
.plantas-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .55rem;
  margin: 0 0 .65rem;
}
.plantas-filters[hidden] { display: none; }
.plantas-filter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .12rem;
  min-width: 9.2rem;
  padding: .55rem .85rem .48rem;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: #5c6770;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease;
}
.plantas-filter strong {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--navy);
}
.plantas-filter span {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #8b949c;
}
.plantas-filter:hover { border-color: rgba(14, 153, 206, .45); }
.plantas-filter.is-active { border-color: var(--st-blue); }
.plantas-filter.is-active strong { color: var(--st-blue); }
.plantas-swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.plantas-swiper .swiper-slide { height: auto; }
.plan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.35rem, 2.2vw, 2.25rem);
  align-items: center;
}
.plan-media-open {
  position: relative;
  display: block;
  justify-self: stretch;
  width: 100%;
  margin: 0;
  padding: .35rem;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.plan-media-open::before,
.plan-media-open::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--st-blue);
  border-style: solid;
  pointer-events: none;
}
.plan-media-open::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}
.plan-media-open::after {
  right: 0;
  bottom: 0;
  border-width: 0 2px 2px 0;
}
.plan-media-open:focus-visible {
  outline: 2px solid var(--st-blue);
  outline-offset: 3px;
  border-radius: 8px;
}
.plan-media-open img {
  display: block;
  width: 100%;
  height: clamp(17.5rem, 24vw, 22.5rem);
  object-fit: contain;
  object-position: center;
}
.plan-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.plan-info-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}
.plan-info h3 {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--navy);
}
.plan-meta {
  margin: .4rem 0 0;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b949c;
}
.plan-total { text-align: right; flex-shrink: 0; }
.plan-total strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1;
  color: var(--st-blue);
}
.plan-total small {
  display: block;
  margin-top: .28rem;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b949c;
}
.plan-specs {
  width: max-content;
  max-width: 100%;
  margin: .8rem 0 0;
  padding: .7rem 0 0;
  border-top: 1px solid #e6ebef;
}
.plan-specs div {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: baseline;
  column-gap: 1.65rem;
  padding: .28rem 0;
}
.plan-specs dt {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b949c;
}
.plan-specs dd {
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
}
.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .95rem;
  min-height: 2.65rem;
  padding: .6rem 1.35rem;
  border-radius: 99px;
  background: var(--st-blue);
  color: #fff;
  text-decoration: none;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.plan-cta:hover { background: var(--st-blue-dark); }
.plantas-swiper-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin-top: .35rem;
}
.plantas-swiper-foot[hidden] { display: none; }
.plantas-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1.5px solid #d5dee4;
  border-radius: 99px;
  background: #fff;
  color: var(--st-blue);
  cursor: pointer;
}
.plantas-nav:hover { border-color: var(--st-blue); }
.plantas-nav svg {
  width: 1rem;
  height: 1rem;
  display: block;
}
.plantas-nav.swiper-button-disabled {
  opacity: .35;
  cursor: default;
}
.plantas-swiper .swiper-pagination {
  position: static;
  width: auto;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.plantas-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: #c5d0d6;
  opacity: 1;
}
.plantas-swiper .swiper-pagination-bullet-active {
  background: var(--st-blue);
}

#pAmenSec.section-pad {
  padding-top: clamp(3rem, 5.5vw, 4.75rem);
  padding-bottom: clamp(3.25rem, 6vw, 5.25rem);
}
.amen-block {
  display: grid;
  grid-template-columns: minmax(15rem, 26rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.2vw, 2.75rem);
  align-items: start;
  min-height: clamp(26rem, 50vh, 34rem);
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
.amen-block > div:first-child {
  padding-top: 0;
}
.amen-block .kicker {
  margin: 0 0 .9rem;
}
.amen-block .page-title {
  margin: 0 0 1.35rem;
}
.amen-block #pAmenCopy {
  margin: 0 0 .35rem;
  max-width: 38ch;
  line-height: 1.6;
}
.amen-swiper {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding-bottom: 2.4rem;
}
.amen-swiper .swiper-slide {
  height: auto;
}
.amen-swiper img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(26rem, 58vh, 40rem);
  object-fit: contain;
  object-position: center bottom;
  border-radius: 16px;
}
.amen-next {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 44px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--st-blue);
  cursor: pointer;
}
.amen-next svg {
  width: 28px;
  height: 14px;
  display: block;
}
.amen-list {
  margin-top: 1.1rem;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.55;
}

.casa-block {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(15rem, 21rem);
  gap: clamp(1.35rem, 3.2vw, 2.65rem);
  align-items: center;
}
.casa-copy {
  grid-column: 2;
  grid-row: 1;
}
.casa-copy .kicker {
  margin: 0 0 .9rem;
}
.casa-copy .kicker span:last-child {
  width: auto;
  height: auto;
  background: none;
}
.casa-copy .page-title {
  margin: 0 0 1.25rem;
}
.mapa-sec .kicker span:last-child,
#pEntornoSec .kicker span:last-child {
  width: auto;
  height: auto;
  background: none;
}
.casa-photos {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: clamp(11.25rem, 22vw, 13.75rem) clamp(11.25rem, 22vw, 13.75rem);
  gap: .75rem;
}
.casa-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.casa-photos img:first-child { grid-column: 1 / 2; grid-row: 1; }
.casa-photos img:nth-child(4) { grid-column: 1; grid-row: 2; }
.casa-photos img:nth-child(5) { grid-column: 2 / 4; grid-row: 2; }

.entorno-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin-top: .15rem;
}
.entorno-grid img {
  width: 100%;
  height: clamp(12.5rem, 22vw, 15.5rem);
  min-height: 12.5rem;
  object-fit: cover;
  border-radius: 16px;
}
/* Más de 4 fotos: misma medida por foto, la fila se desplaza en horizontal. */
.entorno-grid.is-scroll {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * .85rem) / 4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.entorno-grid.is-scroll::-webkit-scrollbar { display: none; }
.entorno-grid.is-scroll img { scroll-snap-align: start; }
.entorno-nav {
  display: flex;
  justify-content: flex-end;
  gap: .4rem;
  margin-top: .75rem;
}
.entorno-nav[hidden] { display: none; }
.entorno-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--st-blue);
  cursor: pointer;
}
.entorno-arrow svg { width: 28px; height: 14px; display: block; }
.entorno-arrow:disabled { opacity: .3; cursor: default; }

.mapa-sec[hidden] { display: none; }
.mapa-frame {
  overflow: hidden;
  height: clamp(20rem, 32vw, 29rem);
  border-radius: 16px;
  background: #08121c;
}
.mapa-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.mapa-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .9rem;
}
.mapa-links a {
  padding: .5rem 1.05rem;
  border: 1.5px solid rgba(14, 153, 206, .55);
  border-radius: 99px;
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s ease, border-color .25s ease;
}
.mapa-links a:hover {
  border-color: var(--st-blue);
  background: var(--st-blue);
}

.page-inner .contact { padding-top: 2.4rem; }
.page-inner .contact-kicker {
  display: flex;
  justify-content: flex-start;
  width: min(var(--contact-max), 100%);
  margin-inline: auto;
  margin-bottom: .35rem;
}
.contact-head-mobile {
  display: none;
}
@media (max-width: 900px) {
  .contact-head-default {
    display: none;
  }
  .contact-head-mobile {
    display: block;
  }
}
@media (min-width: 901px) {
  .page-inner .contact h2 {
    text-align: left;
    width: min(var(--contact-max), 100%);
    margin-inline: auto;
    font-size: clamp(2.1rem, 3.6vw, 3.15rem);
  }
  .page-inner .contact h2 em {
    white-space: nowrap;
  }
  .page-inner .contact > p:not(.kicker) {
    text-align: left;
    width: min(var(--contact-max), 100%);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ----- Inversión ----- */
.inv-hero {
  padding: 1.1rem clamp(1.4rem, 4vw, 3.2rem) 0;
}
.inv-hero-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-hero);
  isolation: isolate;
}
.inv-hero-photo {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
.inv-hero-title {
  display: none;
}

.inv-porque {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
}
.inv-box {
  margin-top: 1.1rem;
  padding: 1.6rem 1.7rem;
  border-radius: 18px;
  background: #1b3348;
}
.inv-box li {
  list-style: none;
  padding: .42rem 0;
  font-weight: 300;
  font-size: clamp(1.18rem, 1.45vw, 1.28rem);
  line-height: 1.45;
  color: var(--white);
}
.inv-box li::before {
  content: "+";
  color: var(--st-blue);
  margin-right: .4em;
}
.inv-porque-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  height: 380px;
}
.inv-porque-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

@media (max-width: 900px) {
  #alternativas .inv-alts-title em {
    display: inline;
  }
}
@media (min-width: 901px) {
  #alternativas .inv-alts-title > br {
    display: none;
  }
  #alternativas .inv-alts-title em br {
    display: none;
  }
  #alternativas .inv-alts-title em {
    display: block;
  }
}

.inv-alts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.inv-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  min-height: 340px;
  height: 420px;
  color: #fff;
}
.inv-card-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.inv-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inv-card-panel {
  position: absolute;
  left: .65rem;
  right: .65rem;
  bottom: .65rem;
  z-index: 1;
  padding: .85rem .9rem .8rem;
  border-radius: 14px;
  background: rgba(8, 22, 34, .72);
}
.inv-card-panel .pcard-actions {
  position: relative;
  z-index: 2;
}
.inv-card-panel strong {
  display: block;
  font-size: clamp(.92rem, 1.05vw, 1.02rem);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.2;
}
.inv-card-panel span {
  display: block;
  margin: .22rem 0 .6rem;
  font-weight: 300;
  font-size: clamp(.95rem, 1.08vw, 1.05rem);
  line-height: 1.3;
  color: #d5dde3;
}
.inv-card-panel .pcard-actions {
  margin-top: .25rem;
  gap: .45rem;
}
.inv-card-panel .wa-dot {
  width: 32px;
  height: 32px;
}
.inv-card-panel .wa-dot svg {
  width: 18px;
  height: 18px;
}
.inv-card-panel .btn-outline {
  min-height: 34px;
  padding: .35rem 1rem;
  font-size: clamp(.68rem, .85vw, .76rem);
  letter-spacing: .14em;
}

/* ----- Conócenos ----- */
.cono-hero .kicker {
  margin: 0 0 .4rem;
}
.cono-hero .page-title {
  margin: 0 0 .6rem;
}
.cono-hero p.lead {
  max-width: 66ch;
  margin: 0;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.72;
  text-align: left;
  color: var(--text-soft);
}
.cono-hero .cono-stats {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.35rem clamp(1.5rem, 3.2vw, 3.25rem);
  margin-top: 2.85rem;
  text-align: left;
}
.cono-hero .cono-stats > div {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  max-width: 15rem;
}
.cono-hero .cono-stats dt {
  color: var(--st-blue);
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 1;
}
.cono-hero .cono-stats dd {
  margin: .45rem 0 0;
  font-size: var(--fs-body);
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.35;
}
.cono-hero .cono-stats dd::first-line {
  color: #fff;
  font-weight: 400;
}
.cono-history p {
  margin: 0;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-soft);
}
.cono-banner-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-weight: 300;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(10, 29, 43, .62) 0, rgba(10, 29, 43, .2) 70%, rgba(10, 29, 43, 0) 100%);
  pointer-events: none;
}
.cono-banner-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--st-blue);
}
.cono-banner .inv-hero-photo {
  aspect-ratio: 1800 / 796;
  object-fit: cover;
}
.page-conocenos main p.lead,
.page-conocenos .legal {
  max-width: none;
}
.page-conocenos .cono-hero p.lead {
  max-width: 66ch;
}
.cono-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto);
  gap: .7rem;
  margin-top: 1.35rem;
}
.cono-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #1b242c;
}
.cono-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transform-origin: center;
  transition: opacity 1.3s ease-in-out, transform 1.3s ease-in-out;
}
.cono-card img.is-leaving {
  z-index: 0;
  opacity: 0;
  transform: scale(1.06);
}
.cono-card img.is-on {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}
.cono-card > span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  padding: .7rem .75rem .55rem;
  background: linear-gradient(transparent, rgba(10, 16, 22, .78));
}
.cono-card > span > span {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .08rem;
  opacity: 0;
  transition: opacity 1.3s ease-in-out;
}
.cono-card > span > span.is-on { opacity: 1; }
.cono-card strong {
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.15;
}
.cono-card small {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .88;
}
.cono-team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.8rem);
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.cono-member-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-photo);
  background:
    radial-gradient(circle at 50% 36%, rgba(14, 153, 206, .38) 0 17%, transparent 17.5%),
    radial-gradient(ellipse at 50% 92%, rgba(14, 153, 206, .3) 0 36%, transparent 36.5%),
    var(--navy-mid);
  border: 1px solid rgba(14, 153, 206, .35);
}
.cono-member-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cono-member-name {
  margin: .9rem 0 0;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  font-weight: 700;
  color: #fff;
}
.cono-member-role {
  margin: .2rem 0 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--st-blue);
}
.cono-contact p {
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-soft);
}
.legal {
  margin-top: 1.8rem;
  max-width: 72ch;
  font-size: .72rem;
  font-weight: 300;
  line-height: 1.5;
  color: #8b98a3;
}

.page-inner .plight {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(8, 16, 24, .86);
  padding: 2rem;
}
.page-inner .plight[hidden] { display: none; }
.page-inner .plight img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
}
.page-inner .plight-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 99px;
  background: #fff;
  color: var(--navy);
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .entorno-grid,
  .inv-alts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entorno-grid.is-scroll {
    grid-template-columns: none;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: calc((100% - .85rem) / 2);
  }
  .casa-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 175px 175px 175px;
  }
  .casa-photos img:first-child,
  .casa-photos img:nth-child(4),
  .casa-photos img:nth-child(5) { grid-column: auto; grid-row: auto; }
}

@media (max-width: 900px) {
  .listing-grid { grid-template-columns: 1fr; }
  .comuna-label.is-empty { display: none; }
  .pcard { aspect-ratio: 16 / 11; min-height: 220px; }
  .pintro,
  .amen-block,
  .casa-block,
  .inv-porque { grid-template-columns: 1fr; }
  .cono-history p {
    font-size: clamp(.92rem, 2.7vw, 1rem);
    line-height: 1.5;
  }
  .inv-hero.cono-banner {
    padding-left: var(--page-inline-pad);
    padding-right: var(--page-inline-pad);
  }
  .cono-banner-title {
    font-size: clamp(1.95rem, 8.4vw, 2.55rem);
  }
  .cono-banner .inv-hero-photo {
    aspect-ratio: 5 / 6;
    max-height: min(118vw, 480px);
    object-position: 30% 50%;
  }
  .cono-board { gap: .4rem; }
  .cono-card {
    aspect-ratio: 1 / 1.05;
    border-radius: 8px;
  }
  .cono-card > span { padding: .38rem .32rem .28rem; }
  .cono-card strong { font-size: .62rem; }
  .cono-card small { font-size: .5rem; letter-spacing: .04em; }
  .cono-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem .85rem;
    margin-top: 1.4rem;
  }
  .casa-copy,
  .casa-photos {
    grid-column: auto;
    grid-row: auto;
  }
  .pintro-media {
    display: none;
  }
  .plantas-head,
  .plantas-banner,
  .plantas-card {
    width: 100%;
    max-width: none;
  }
  .plantas-card {
    padding: .9rem .85rem .65rem;
  }
  .plantas-filters {
    width: 100%;
    justify-content: flex-start;
  }
  .plantas-filter { min-width: 0; flex: 1 1 8.5rem; }
  .plan-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: .85rem;
  }
  .plan-media-open {
    justify-self: stretch;
    width: 100%;
  }
  .plan-media-open img {
    width: 100%;
    height: min(72vw, 20rem);
  }
  .plan-info,
  .plan-info-top { width: 100%; }
  .plantas-swiper { touch-action: pan-x pan-y pinch-zoom; }
  .inv-porque-media { display: none; }
  .section-pad:has(.inv-porque) {
    padding-bottom: 1.25rem;
  }
  #alternativas.section-pad {
    padding-top: 1.1rem;
  }
  .inv-box {
    margin-top: .85rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  #pAmenSec.section-pad {
    padding-top: 2.5rem;
    padding-bottom: 2.85rem;
  }
  .amen-block {
    min-height: 0;
    gap: 1.35rem;
  }
  .amen-swiper img {
    max-height: clamp(18rem, 78vw, 26rem);
  }
  .casa-photos { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .casa-photos img { height: 215px; }
  .entorno-grid { grid-template-columns: 1fr 1fr; }
  .entorno-grid img {
    height: clamp(9.5rem, 42vw, 11.5rem);
    min-height: 9.5rem;
  }
  .entorno-grid.is-scroll {
    grid-template-columns: none;
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: calc((100% - .85rem) / 2);
  }
  .inv-hero {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
  .inv-hero-figure {
    border-radius: 26px;
    width: 100%;
    aspect-ratio: 5 / 6;
    max-height: min(118vw, 480px);
  }
  .inv-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: 68% 42%;
  }
  .inv-hero-title {
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .06em;
    position: absolute;
    inset: 0;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1rem 1.1rem;
    overflow: hidden;
    text-align: center;
    font-weight: 300;
    font-size: clamp(1.95rem, 8.4vw, 2.55rem);
    line-height: 1.02;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
    pointer-events: none;
  }
  .inv-hero-title > span,
  .inv-hero-title > em {
    display: block;
    line-height: 1.02;
  }
  .inv-hero-title > em + span {
    margin-top: -.22em;
  }
  .inv-hero-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--st-blue);
  }
  .inv-alts { grid-template-columns: 1fr 1fr; }
  .inv-card { height: 280px; min-height: 240px; }
  .inv-card-panel strong {
    font-size: clamp(.82rem, 2.4vw, .92rem);
  }
  .inv-card-panel span {
    font-size: clamp(.84rem, 2.5vw, .94rem);
  }
  .inv-card-panel .btn-outline {
    font-size: clamp(.64rem, 2vw, .72rem);
  }
  .cono-hero .cono-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: start;
    gap: 1.4rem 1.15rem;
    margin-top: 2rem;
  }
  .cono-hero .cono-stats > div {
    flex: none;
    max-width: none;
    min-width: 0;
  }
  .cono-hero p.lead {
    max-width: 66ch;
    font-size: clamp(1rem, 2.85vw, 1.05rem);
    line-height: 1.65;
  }
  .cono-hero .cono-stats dt {
    font-size: 1.45rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 0;
  }
  .cono-hero .cono-stats dd {
    font-size: clamp(.92rem, 3.5vw, 1rem);
    line-height: 1.35;
    max-width: none;
    width: auto;
    letter-spacing: 0;
  }
  .cono-hero.section-pad {
    padding-bottom: 1.15rem;
  }
  .section-pad:has(.cono-history) {
    padding-top: 1rem;
    padding-bottom: 1.1rem;
  }
  .section-pad:has(.cono-history) + .section-pad {
    padding-top: 1rem;
  }
  .page-inner .contact-kicker { margin-top: .4rem; }
  .page-proyectos .hero {
    display: none;
  }
}

@media (max-width: 560px) {
  .inv-alts {
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
  }
  .inv-card {
    height: 255px;
    min-height: 235px;
    border-radius: 16px;
  }
  .inv-card-panel {
    left: .45rem;
    right: .45rem;
    bottom: .45rem;
    padding: .65rem .6rem .58rem;
    border-radius: 12px;
  }
  .inv-card-panel strong {
    font-size: clamp(.78rem, 3.2vw, .86rem);
    letter-spacing: .08em;
  }
  .inv-card-panel span {
    margin: .12rem 0 .4rem;
    font-size: clamp(.8rem, 3.35vw, .88rem);
    line-height: 1.28;
  }
  .inv-card-panel .wa-dot {
    width: 28px;
    height: 28px;
  }
  .inv-card-panel .wa-dot svg {
    width: 16px;
    height: 16px;
  }
  .inv-card-panel .btn-outline {
    min-height: 30px;
    padding: .26rem .62rem;
    font-size: clamp(.6rem, 2.45vw, .68rem);
    letter-spacing: .11em;
  }
  .inv-card-panel .pcard-actions {
    gap: .32rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cono-card img,
  .cono-card img.is-leaving,
  .cono-card img.is-on,
  .cono-card > span > span {
    transition: none;
    transform: none;
  }
}
