@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"); /*: "Inter", sans-serif */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap"); /*: "Montserrat", sans-serif */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); /*: "Poppins", sans-serif */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap"); /* roboto */
@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap"); /*: "Bodoni Moda", serif */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap"); /*: "Manrope", sans-serif */

body {
  margin: 0;
  scroll-behavior: smooth;
}

main {
  overflow-x: hidden;
}

/* NavComponent */
.nav-MAIN {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  background-color: #fff;
  padding: 0 50px;
}
.nav-MAIN > img {
  height: 55%;
  cursor: pointer;
}
.nav-MAIN > div a {
  color: #45464e;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  margin: 0 10px;
  font-size: 1.75ch;
}
.nav-MAIN > button {
  border: none;
  color: #fff;
  background-color: #1e2746;
  padding: 8px 14px;
  font-family: "Poppins", sans-serif;
  border-radius: 3px;
}
.nav-MAIN .close {
  display: none;
}
.nav-cel {
  display: none;
}

/* CoverComponent */
.cover-MAIN {
  position: relative;
  width: 100%;
  height: calc(100dvh - 96px);
  font-family: "Inter", sans-serif;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.cover-MAIN::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: -1;
}

/* NUEVO LAYOUT */
.cover-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 50px 6%;
  flex: 1;
}
.cover-kicker {
  color: #5db8ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}
.cover-left h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.95;
  text-align: left;
  margin: 14px 0 16px;
  max-width: 100%;
  font-weight: 800;
}
.cover-left > p {
  text-align: left;
  max-width: 42ch;
  font-weight: 300;
  color: #dbe6f1;
  text-wrap: pretty;
}
.cover-left > p span {
  color: #5db8ff;
  font-weight: 700;
}
.cover-btn{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:24px;
}

.btn-blue{
  background: linear-gradient(180deg, #4db2ff 0%, #1e8ae0 100%);
  color:#fff;
  border:none;
  padding: 12px 22px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor:pointer;
  box-shadow: 0 8px 20px rgba(30,138,224,.4);
  display:flex;
  align-items:center;
  gap:8px;
  transition:.2s;
}
.btn-blue:hover{ transform:translateY(-1px); box-shadow: 0 12px 24px rgba(30,138,224,.5); }
.btn-blue span{ font-size:16px; }

.btn-ghost{
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
  color:#fff;
  border:1.5px solid rgba(255,255,255,.85);
  padding: 11px 22px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 15px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px;
  transition:.2s;
}
.btn-ghost:hover{ background: rgba(255,255,255,.12); }
.btn-ghost img{ width:16px; height:16px; filter: brightness(0) invert(1); }

/* CARD DERECHA COMO LA IMAGEN */
.glass-card {
  background: rgba(7, 24, 100, 0.224);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(88, 82, 82, 0.028);
  border-radius: 20px;
  padding: 26px;
  max-width: 360px;
  margin-left: auto;
}
.glass-card .glass-card-heading {
  font-size: 12px;
  letter-spacing: 2.5px;
  margin: 0 0 20px;
  font-weight: 700;
}
.glass-card .glass-card-heading span {
  color: #5db8ff;
}
.g-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.g-item b {
  font-size: 13px;
}
.g-item p {
  font-size: 11px;
  color: #9fb4c9;
  margin: 3px 0 0;
}
.g-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(93, 184, 255, 0.25);
  border-radius: 8px;
}
.g-icon img {
  width: 30px;
  height: 30px;
}

/* BARRA ABAJO COMO LA IMAGEN */
.cover-bottom {
  display: flex;
  justify-content: center;
  gap: 80px;
  background: rgba(0, 0, 0, 0.201);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding:30px 5%;
}
.cover-bottom > div {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cover-bottom b {
  display: block;
  font-size: 25px;
  line-height: 1;
}
.cover-bottom p {
  margin: 0;
  font-size: 20px;
  color: #a8bdce;
  letter-spacing: 1px;
}

/* ELIMINA TU ESTILO VIEJO CENTRADO */
.cover-content,
.glass-tiles,
.cover-MAIN .p-blue {
  display: none;
}
/* FormComponent */
.form-MAIN {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f8f9fb;
  width: 100%;
  padding-bottom: 1px;
}
/* cinta */
.band{
  display: flex;
  width: 100%;
  background: #f7f9fc;
  overflow: hidden;
  min-height: 285px;
  font-family: "Inter", sans-serif;
  position: relative;
}

.band-left{
  width: 33%;
  padding: 45px 10px 40px 130px;
}
.band-kicker{
  color: #6bb7e9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}
.band-left .band-heading{
  font-family: "Montserrat", sans-serif;
  font-size: 52px;
  line-height: .9;
  font-weight: 300;
  color: #0f172a;
  margin: 15px 0;
}
.band-left .band-heading span{
  color: #6bb7e9;
  font-size: 18px;
  letter-spacing: 4px;
  display: block;
  margin-top: 6px;
  font-weight: 400;
}
.band-line{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0 18px;
}
.band-line span{ width: 70px; height: 1px; background: #d1dbe6; display: block; }
.band-line i{ color: #6bb7e9; font-style: normal; font-size: 10px; }
.band-left p{
  color: #6b7280;
  font-size: 15px;
  line-height: 1.5;
  max-width: 36ch;
}

/* MAS PEGADO */
.band-center{
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 8px;
  margin-left: -100px;
  border-left: 1px solid #e5eaf0;
  background: #f7f9fc;
  z-index: 2;
}
.band-features{
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
}
.band-features div{ text-align: center; width: 75px; }
.band-features img{
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: invert(64%) sepia(28%) saturate(718%) hue-rotate(175deg) brightness(92%) contrast(87%);
}
.band-features p{ font-size: 13px; color: #374151; font-weight: 500; line-height: 1.2; margin: 0; }
.btn-black{
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
}

.band-image{
  position: absolute;
  right: 0;
  top: 0;
  width: 46%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%);
}
.band-image img{ 
  width: 100%; 
  height: 100%; 
  object-fit: cover; }
/* form */
.form {
  display: flex;
  margin: 100px;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(128, 128, 128, 0.25);
  max-width: 1080px;
  border-radius: 10px;
}
.form > div {
  width: 50%;
  padding: 50px;
}
.form > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background-image: url("./assets/form-bg.png");
  background-position: center;
  background-size: cover;
}
.form > div:first-child .form-brand-heading,
.form > div:first-child h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}
.form > div:first-child .form-brand-heading {
  font-size: 5ch;
  margin: 0;
}
.form > div:first-child h4 {
  font-size: 3ch;
  margin-top: 15px;
  margin-bottom: 0;
}
.form > div:first-child > p {
  font-family: "Inter", sans-serif;
  font-weight: 200;
  text-wrap: pretty;
}
.form > div:first-child > p span {
  color: #4daadf;
  font-weight: bold;
}
.form > div:first-child .form-tel {
  display: flex;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 25px;
}
.form > div:first-child .form-tel > img {
  width: 48px;
  height: 48px;
  margin-right: 20px;
  border-radius: 3px;
}
.form > div:first-child .form-tel > div p {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 1.5ch;
}
.form > div:first-child .form-tel > div p:first-child {
  color: #e0e3e5;
}
.form > div:first-child .form-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #fff;
  background-color: #25d366;
  width: fit-content;
  padding: 0 15px;
  border-radius: 3px;
  cursor: pointer;
}
.form > div:first-child .form-wa > img {
  height: 1.5ch;
  margin: 10px 0;
  margin-right: 10px;
}
.form > div:last-child > p {
  font-family: "Montserrat", sans-serif;
  color: #1e2746;
}
.form > div:last-child .form-title {
  font-size: 3ch;
  margin: 0;
}
.form > div:last-child .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "nombre apellido" "tel email" "msg msg" "check check" "btn btn" "status status";
  grid-gap: 10px;
  margin-top: 30px;
}
.form > div:last-child .form-grid > div p {
  margin: 0;
  margin-bottom: 5px;
  color: #45464e;
  font-family: "Poppins", sans-serif;
  font-size: 1.75ch;
}
.form > div:last-child .form-grid > div input,
.form > div:last-child .form-grid > div textarea {
  background-color: #f2f4f6;
  border: 1px solid #e0e3e5;
  resize: vertical;
  width: calc(100% - 10px - 2px);
  padding: 10px 5px;
}
.form > div:last-child .form-grid label {
  display: flex;
  align-items: center;
  color: #45464e;
  font-family: "Inter", sans-serif;
  font-size: 1.5ch;
  cursor: pointer;
  margin: 5px 0;
}
.form > div:last-child .form-grid label > input {
  margin-right: 10px;
}
.form > div:last-child .form-grid button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: #1e2746;
  color: #fff;
  font-family: "Poppins", sans-serif;
  padding: 8px 0;
}
.form > div:last-child .form-grid button > img {
  height: 1.25ch;
  margin-right: 5px;
}

/* AmenitiesComponent */
.amenities-MAIN {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  width: 100%;
  padding-bottom: 75px;
}
.amenities-MAIN > h2 {
  font-size: 6ch;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  text-wrap: pretty;
  color: #1e2746;
  max-width: 90%;
  margin-bottom: 0;
}
.amenities-MAIN > p {
  color: #1e2746;
  font-family: "Inter", sans-serif;
  text-align: center;
  text-wrap: pretty;
  max-width: 60ch;
  font-weight: 300;
}
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-gap: 10px;
  max-width: 1080px;
  width: calc(100% - 50px);
  margin-top: 20px;
}
.amenities-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  position: relative;
  padding: 5px 10px;
  aspect-ratio: 2/1;
  border: 1px solid #e0e3e5;
  background-color: #fff;
}
.amenities-grid > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transition: opacity 0.3s;
  z-index: 0;
}
.amenities-grid > div::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}
.amenities-grid > div:hover::before {
  opacity: 0;
}
.amenities-grid > div:hover::after {
  opacity: 1;
}
.amenities-grid > div:nth-child(1)::before {
  background-image: url("./assets/bg-roof.png");
}
.amenities-grid > div:nth-child(2)::before {
  background-image: url("./assets/bg-coworking.png");
}
.amenities-grid > div:nth-child(3)::before {
  background-image: url("./assets/bg-seguridad.png");
}
.amenities-grid > div:nth-child(4)::before {
  background-image: url("./assets/bg-pet.png");
}
.amenities-grid > div > div {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90%;
  min-width: 0;
  height: fit-content;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s;
}
.amenities-grid > div > div > img {
  width: 48px;
  height: 48px;
  margin-right: 10px;
}
.amenities-grid > div > div p {
  margin: 0;
  color: #fff;
  line-height: 1.1;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}
.amenities-grid > div .amenities-title-hidden {
  margin-bottom: 0;
  width: calc(100% - 48px);
  opacity: 0;
  transition: all 0.3s;
}
.amenities-grid > div .amenities-description {
  font-size: 1.25ch;
  text-wrap: pretty;
  opacity: 0;
  transition: all 0.3s;
}
.amenities-grid > div:hover {
  background-color: #fff;
}
.amenities-grid > div:hover > div {
  top: 10px;
  left: 10px;
  transform: translate(0, 0);
  z-index: 2;
}
.amenities-grid > div:hover > div > p {
  opacity: 0;
  transition: all 0.1s;
}
.amenities-grid > div:hover .amenities-title-hidden,
.amenities-grid > div:hover .amenities-description {
  color: #45464e;
  opacity: 1;
  transition: all 0.3s;
  z-index: 2;
}

/* PopupAmenity */
.PopupAmenity-MAIN {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(217, 240, 255, 0.5);
  backdrop-filter: blur(5px);
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
.PopupAmenity-MAIN > section {
  border-radius: 20px;
  padding: 40px;
  background-color: #07122f;
  position: relative;
  width: calc(100% - 100px);
  max-width: 1080px;
}
.PopupAmenity-MAIN > section > .PopupAmenity-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.PopupAmenity-MAIN > section > h3 {
  color: #fff;
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  margin-top: 0;
  font-size: 5.5ch;
  position: relative;
  width: fit-content;
}
.PopupAmenity-MAIN > section > h3::after {
  content: "";
  background-color: #7bc9ff;
  width: 64px;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: -12px;
}
.PopupAmenity-MAIN > section .PopupAmenity-grid {
  display: grid;
  grid-template-areas: "A A B" "A A C";
  gap: 20px;
  aspect-ratio: 2/1;
}
.PopupAmenity-MAIN > section .PopupAmenity-grid > div {
  border-radius: 10px;
}
.PopupAmenity-MAIN > section .PopupAmenity-grid > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.PopupAmenity-MAIN > section > hr {
  border: 1px solid #202944;
  margin-top: 30px;
  margin-bottom: 30px;
}
.PopupAmenity-MAIN > section .PopupAmenity-arrows-dots {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.PopupAmenity-MAIN > section .PopupAmenity-arrows-dots > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.PopupAmenity-MAIN > section .PopupAmenity-arrows-dots > div:first-child > img {
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.PopupAmenity-MAIN
  > section
  .PopupAmenity-arrows-dots
  > div:first-child
  > img:first-child {
  margin-right: 20px;
  rotate: 180deg;
}
.PopupAmenity-MAIN > section .PopupAmenity-arrows-dots > div:last-child > div {
  width: 10px;
  height: 10px;
  border-radius: 100vw;
  background-color: #52586d;
  margin-left: 10px;
}
.PopupAmenity-MAIN
  > section
  .PopupAmenity-arrows-dots
  > div:last-child
  .active-dot {
  background-color: #7bc9ff;
}

/* TypologiesComponent */
.typologies-MAIN {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #EFF4FD !important;
  width: 100%;
}
.typologies-MAIN > h2 {
  font-size: 6ch;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  text-wrap: pretty;
  color: #1e2746;
  max-width: 90%;
  margin-bottom: 0;
}
.typologies-MAIN > p {
  color: #1e2746;
  font-family: "Inter", sans-serif;
  text-align: center;
  text-wrap: pretty;
  max-width: 60ch;
  font-weight: 300;
}
.typologies-MAIN .typology-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-radius: 20px;
  width: calc(100% - 50px);
  overflow: hidden;
  max-width: 1080px;
  box-shadow: 0 5px 10px rgba(128, 128, 128, 0.25);
  margin-bottom: 50px;
}
.typologies-MAIN .typology-card > .typology-back {
  width: 45%;
  background-size: cover;
  background-position: center;
}
.typologies-MAIN .typology-card > .typology-data {
  width: 55%;
}
.typologies-MAIN .typology-card-reverse {
  flex-direction: row-reverse;
}

/* typology back and data */
.typology-back {
  padding: 20px;
  background-color: #fff;
  min-height: 100% !important;
}
.typology-back > div:first-child {
  width: fit-content;
  padding: 5px 15px;
  font-family: "Poppins", sans-serif;
  color: #fff;
  background-color: #1e2746;
  border-radius: 100vw;
}
.typology-data {
  width: 60%;
  background-color: #e9f6ff;
  color: #0b0e2c;
  padding: 48px 40px;
}
.typology-data > h2 {
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  font-size: 3.3ch;
  color: #07112f;
}
.typology-data > hr {
  border: 1px solid #dbe4ed;
}
.typology-data .typology-numbers {
  display: flex;
  justify-content: space-between;
}
.typology-data .typology-numbers > div {
  width: 25%;
  font-family: "Inter", sans-serif;
  margin-top: 30px;
  margin-bottom: 15px;
}
.typology-data .typology-numbers > div > p {
  margin: 0;
}
.typology-data .typology-numbers > div > p:first-child {
  color: #45464e;
  font-size: 1.25ch;
}
.typology-data .typology-numbers > div > p:last-child {
  color: #07112f;
  font-weight: bold;
  font-size: 1.75ch;
  margin-top: 5px;
}
.typology-data > p {
  color: #45464e;
  font-family: "Inter", sans-serif;
}
.typology-data .typology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-gap: 10px 0;
  margin-bottom: 30px;
}
.typology-data .typology-grid > div {
  display: flex;
  align-items: center;
  color: #141d23;
  font-family: "Inter", sans-serif;
  font-size: 1.75ch;
  font-weight: 300;
}
.typology-data .typology-grid > div > img {
  max-width: 1.5ch;
  max-height: 1.5ch;
  margin-right: 10px;
}
.typology-data .typology-btn {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  margin-bottom: 20px;
}
.typology-data .typology-btn > .typology-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(33.3% - 5px);
  font-family: "Inter", sans-serif;
  font-weight: 300;
  padding: 15px 0;
  cursor: pointer;
}
.typology-data .typology-btn > .typology-cta a {
  color: white;
  text-decoration: none;
}
.typology-data .typology-btn > .typology-cta:nth-child(1) {
  color: #fff;
  background-color: #07112f;
  border: 1px solid #07112f;
}
.typology-data .typology-btn > .typology-cta:nth-child(2) {
  color: #006491;
  background-color: #fff;
  border: 1px solid #7bc9ff;
}
.typology-data .typology-btn > .typology-cta:nth-child(3) > img {
  height: 1.25ch;
  margin-right: 5px;
}

/*vendidos*/
.tipologia-wrapper {
  display: none;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.tipologia-wrapper.visible {
  display: block;
}
.tipologia-card-wrapper {
  width: calc(100% - -63px);
  margin: 0 auto 40px auto;
}

.typology-card {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.typology-back {
  width: 40%;
  background-size: cover;
  background-position: center;
}

.typology-data {
  width: 60%;
  background-color: #e9f6ff;
  color: #1e2746;
  padding: 40px;
}

.typology-data h3 {
  color: #1e2746;
  margin: 0 0 16px 0;
}

.typology-data hr {
  border: none;
  border-top: 1px solid #c5e2f6;
  margin: 24px 0;
}

.typology-numbers {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.typology-numbers p:first-child {
  color: #5a7a96;
  font-size: 12px;
  margin: 0 0 4px 0;
  text-transform: uppercase;
}

.typology-numbers p:last-child {
  color: #1e2746;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.typology-data > p {
  color: #1e2746;
  font-weight: 600;
  margin: 24px 0 16px 0;
}

.typology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.typology-grid div {
  color: #1e2746;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.typology-grid img {
  width: 18px;
  height: 18px;
}

/* Botones */
.typology-btn {
  display: flex;
  margin-top: 32px;
}
.typology-btn .typology-cta {
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.typology-btn .typology-cta:first-child {
  background: #1e2746;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

.typology-btn .typology-cta:last-child {
  background: #fff;
  color: #1e2746;
  border: 1px solid #1e2746;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
}

/* */
.PopupTypology-MAIN {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(47, 55, 84, 0.75);
  backdrop-filter: blur(5px);
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
.PopupTypology-MAIN > section {
  border-radius: 20px;
  padding: 40px;
  background-color: #08184c;
  position: relative;
  width: calc(100% - 100px);
  max-width: 1080px;
  /* images */
}
.PopupTypology-MAIN > section > .PopupTypology-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.PopupTypology-MAIN > section > p {
  color: #5dade2;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 1.5ch;
}
.PopupTypology-MAIN > section > h1 {
  color: #fff;
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  margin-top: 0;
  position: relative;
  width: fit-content;
}
.PopupTypology-MAIN > section .PopupTypology-current-img {
  display: flex;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 2.5/1;
  position: relative;
}
.PopupTypology-MAIN > section .PopupTypology-current-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.PopupTypology-MAIN > section .PopupTypology-current-img > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  width: 96%;
  margin: 0 auto;
  left: 0;
  right: 0;
}
.PopupTypology-MAIN > section .PopupTypology-current-img > div > img {
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.PopupTypology-MAIN
  > section
  .PopupTypology-current-img
  > div
  > img:first-child {
  rotate: 180deg;
}
.PopupTypology-MAIN > section .PopupTypology-current-img > p {
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 15px;
}
.PopupTypology-MAIN
  > section
  .PopupTypology-current-img
  > p
  > span:first-child {
  color: #f8f9fa;
  font-family: "Bodoni Moda", serif;
  font-size: 2.5ch;
}
.PopupTypology-MAIN > section .PopupTypology-current-img > p > span:last-child {
  color: #d3d3d3;
  font-family: "Inter", sans-serif;
  font-size: 1.5ch;
  font-weight: 300;
}
.PopupTypology-MAIN > section .popupTypology-images {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.PopupTypology-MAIN > section .popupTypology-images > div {
  width: calc(25% - 10px);
  border-radius: 10px;
  aspect-ratio: 3/1;
  position: relative;
  cursor: pointer;
}
.PopupTypology-MAIN > section .popupTypology-images > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  cursor: pointer;
}
.PopupTypology-MAIN > section .popupTypology-images > div > p {
  position: absolute;
  left: 8px;
  bottom: 0;
  font-family: "Inter", sans-serif;
  font-size: 1.5ch;
  font-weight: 200;
  color: #fff;
}

/* PopupTypology */
.PopupTypology-MAIN {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(47, 55, 84, 0.75);
  backdrop-filter: blur(5px);
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
.PopupTypology-MAIN > section {
  border-radius: 20px;
  padding: 40px;
  background-color: #08184c;
  position: relative;
  width: calc(100% - 100px);
  max-width: 1080px;
  /* images */
}
.PopupTypology-MAIN > section > .PopupTypology-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.PopupTypology-MAIN > section > p {
  color: #5dade2;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 1.5ch;
}
.PopupTypology-MAIN > section > h1 {
  color: #fff;
  font-family: "Bodoni Moda", serif;
  font-weight: 500;
  margin-top: 0;
  position: relative;
  width: fit-content;
}
.PopupTypology-MAIN > section .PopupTypology-current-img {
  display: flex;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 2.5/1;
  position: relative;
}
.PopupTypology-MAIN > section .PopupTypology-current-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.PopupTypology-MAIN > section .PopupTypology-current-img > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  width: 96%;
  margin: 0 auto;
  left: 0;
  right: 0;
}
.PopupTypology-MAIN > section .PopupTypology-current-img > div > img {
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.PopupTypology-MAIN
  > section
  .PopupTypology-current-img
  > div
  > img:first-child {
  rotate: 180deg;
}
.PopupTypology-MAIN > section .PopupTypology-current-img > p {
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 15px;
}
.PopupTypology-MAIN
  > section
  .PopupTypology-current-img
  > p
  > span:first-child {
  color: #f8f9fa;
  font-family: "Bodoni Moda", serif;
  font-size: 2.5ch;
}
.PopupTypology-MAIN > section .PopupTypology-current-img > p > span:last-child {
  color: #d3d3d3;
  font-family: "Inter", sans-serif;
  font-size: 1.5ch;
  font-weight: 300;
}
.PopupTypology-MAIN > section .PopupTypology-images {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.PopupTypology-MAIN > section .PopupTypology-images > div {
  width: calc(25% - 10px);
  border-radius: 10px;
  aspect-ratio: 3/1;
  position: relative;
  opacity: 0.75;
  cursor: pointer;
}
.PopupTypology-MAIN > section .PopupTypology-images > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.PopupTypology-MAIN > section .PopupTypology-images > div > p {
  position: absolute;
  left: 8px;
  bottom: 0;
  font-family: "Inter", sans-serif;
  font-size: 1.5ch;
  font-weight: 200;
  color: #fff;
}
.PopupTypology-MAIN > section .PopupTypology-images .typology-img-active {
  opacity: 1;
  border: 1px solid #5dade2;
}

/* PorQueInvertir */
.PorQueInvertir-MAIN {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #EEF1F6 !important;
  width: 100%;
  background-image: url("./assets/PorQueInvertir-bg.png");
  background-size: cover;
  background-position: center;
  /* tiles */
}
.PorQueInvertir-MAIN > h2 {
  font-size: 6ch;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  text-wrap: pretty;
  color: #fff;
  max-width: 90%;
  margin-bottom: 0;
}
.PorQueInvertir-MAIN > h2 > span {
  color: #0580c3;
}
.PorQueInvertir-MAIN > p {
  color: #fff;
  font-family: "Inter", sans-serif;
  text-align: center;
  text-wrap: pretty;
  max-width: 60ch;
  font-weight: 300;
}
.PorQueInvertir-MAIN .PorQueInvertir-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-gap: 20px;
  width: calc(100% - 100px);
  max-width: 1080px;
}
.PorQueInvertir-MAIN .PorQueInvertir-tiles > div {
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(3px);
  border: 1px solid #808385;
}
.PorQueInvertir-MAIN .PorQueInvertir-tiles > div > img {
  width: 40px;
  height: 40px;
}
.PorQueInvertir-MAIN .PorQueInvertir-tiles > div > p:nth-child(2) {
  font-family: "Montserrat", sans-serif;
}
.PorQueInvertir-MAIN .PorQueInvertir-tiles > div > p:nth-child(3) {
  font-family: "Inter", sans-serif;
}
.PorQueInvertir-MAIN > .investment-cta {
  background-color: #fff;
  color: #1e2746;
  font-family: "Poppins", sans-serif;
  border: none;
  padding: 8px 14px;
  font-size: 2ch;
  margin: 40px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.PorQueInvertir-MAIN > .investment-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
}
.PorQueInvertir-MAIN > .investment-cta img{
  margin-right: 5px;
}
.GaleriaDesarrollo-MAIN {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f0faff;
  width: 100%;
}
.GaleriaDesarrollo-MAIN > h2 {
  font-size: 6ch;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  text-wrap: pretty;
  color: #1e2746;
  max-width: 90%;
  margin-bottom: 0;
}
.GaleriaDesarrollo-MAIN > h2 > span {
  color: #0580c3;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn,
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 40px;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn > button,
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn-end > button {
  font-family: "Poppins", sans-serif;
  color: #45464e;
  background-color: transparent;
  border: 1px solid #c6c6ce;
  border-radius: 10px;
  padding: 5px 15px;
  margin: 0 10px;
  cursor: pointer;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn .galeria-active-btn,
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn-end .galeria-active-btn {
  color: #285fa2 !important;
  border: 1px solid #285fa2 !important;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
  width: calc(100% - 100px);
  max-width: 1080px;
}

.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid > div > img {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid-exteriores {
  display: grid;
  grid-gap: 20px;
  grid-template-areas: "A A B C" "A A D C";
  width: calc(100% - 100px);
  max-width: 1080px;
  aspect-ratio: 2 / 1;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid-exteriores > div {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid-exteriores > div > img {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid[hidden],
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid-exteriores[hidden] {
  display: none;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid > div:nth-child(1) {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid > div:nth-child(2) {
  grid-column: 5 / 9;
  grid-row: 1;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid > div:nth-child(3) {
  grid-column: 9 / 13;
  grid-row: 1 / 3;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid > div:nth-child(4) {
  grid-column: 5 / 9;
  grid-row: 2;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid > div:nth-child(5) {
  grid-column: 1 / 5;
  grid-row: 3;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid > div:nth-child(6) {
  grid-column: 5 / 8;
  grid-row: 3;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid > div:nth-child(7) {
  grid-column: 8 / 13;
  grid-row: 3;
}
.PuntosDeInteres-MAIN {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f8f9fb;
  width: 100%;

  /*botones extra*/
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-cta {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 48px auto 40px auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-cta button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    min-width: 240px;
    padding: 0 32px;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    line-height: 1;
    white-space: nowrap;
  }

  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-cta button img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
  }

  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-cta .btn-cta-360 {
    background: #1a2b4a !important;
    color: #ffffff !important;
    border: 2px solid #1a2b4a !important;
  }

  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-cta .btn-cta-360:hover {
    background: #0f1a2e !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 43, 74, 0.25);
  }

  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-cta .btn-cta-agendar {
    background: #ffffff !important;
    color: #1a2b4a !important;
    border: 2px solid #1a2b4a !important;
  }

  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-cta .btn-cta-agendar:hover {
    background: #f8fbff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 43, 74, 0.15);
  }

  @media (max-width: 768px) {
    .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-cta {
      flex-direction: column;
      gap: 16px;
    }
    .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-cta button {
      width: 100%;
      min-width: unset;
      height: 52px;
    }
  }
  /* grid */
  /* ubicacion */
}
/*nuevo*/

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 28px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
  background: transparent;
  white-space: nowrap;
}

/* Botón azul sólido */
.btn-azul {
  background-color: #1e2746;
  color: #fff;
  border-color: #1e2746;
}
.btn-azul:hover {
  background-color: #0f1a3a;
  border-color: #0f1a3a;
}

.btn-transparente {
  background-color: transparent;
  color: #1e2746;
  border-color: #1e2746;
}
.btn-transparente:hover {
  background-color: #1e2746;
  color: #ffffff;
}

.btn-icon img {
  height: 20px;
  width: auto;
  display: block;
}

.botones-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 40px;
  background: #f8f9fb;
  justify-content: center;
}
/*flotantes*/
.botones-flotantes {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: fit-content;
  gap: 12px;
  z-index: 1;
  position: fixed;
  right: 20px;
  bottom: 20px;
}

/* Coloca el lanzador de Watsi encima de los tres botones flotantes. */
body > button[aria-label="Open chat"] {
  right: 20px !important;
  bottom: 224px !important;
}

.btn-redondo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-redondo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.btn-whatsapp {
  background: #25d366;
}
.btn-telefono {
  background: #1a2b4a;
}
.btn-formulario {
  background: #555;
}

.PuntosDeInteres-MAIN > h2 {
  font-size: 6ch;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  text-wrap: pretty;
  color: #1e2746;
  max-width: 90%;
  margin-bottom: 0;
}
.PuntosDeInteres-MAIN > h2 > span {
  color: #0580c3;
}
.PuntosDeInteres-MAIN > p {
  color: #1e2746;
  font-family: "Inter", sans-serif;
  text-align: center;
  text-wrap: pretty;
  max-width: 60ch;
  font-weight: 300;
}
.PuntosDeInteres-MAIN > h2,
.PuntosDeInteres-MAIN > p {
  width: calc(100% - 100px);
  max-width: 1080px;
  text-align: left;
}
.PuntosDeInteres-MAIN > p {
  width: calc(100% - 100px - 30%);
  max-width: calc(1080px - 30%);
  padding-right: 30%;
}
.PuntosDeInteres-MAIN .PuntosInteres-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: calc(100% - 100px);
  max-width: 1080px;
  margin-bottom: 70px;
}
.PuntosDeInteres-MAIN .PuntosInteres-grid > div {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 5px 10px rgba(128, 128, 128, 0.25);
  box-sizing: border-box;
  min-width: 0;
}
.PuntosDeInteres-MAIN .PuntosInteres-grid > div > img {
  width: 48px;
  height: 48px;
}
.PuntosDeInteres-MAIN .PuntosInteres-grid > div > b {
  color: #081230;
  font-family: "Montserrat", sans-serif;
  margin-top: 20px;
}
.PuntosDeInteres-MAIN .PuntosInteres-grid > div > ul {
  color: #45464e;
  font-family: "Inter", sans-serif;
  padding-left: 20px;
  font-weight: 300;
  line-height: 20px;
}
.PuntosDeInteres-MAIN .ubicacion {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #edf3ff;
  width: 100%;
}
.PuntosDeInteres-MAIN .ubicacion > h3 {
  font-size: 6ch;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  text-wrap: pretty;
  color: #1e2746;
  max-width: 90%;
  margin-bottom: 0;
}
.PuntosDeInteres-MAIN .ubicacion > p {
  color: #1e2746;
  font-family: "Inter", sans-serif;
  text-align: center;
  text-wrap: pretty;
  font-weight: 300;
}
.PuntosDeInteres-MAIN .ubicacion > p > img {
  max-width: 2ch;
  max-height: 2ch;
  display: inline;
  margin-right: 5px;
  margin-bottom: -0.25ch;
}
.PuntosDeInteres-MAIN .ubicacion > img {
  width: calc(100% - 100px);
  max-width: calc(1080px);
}
.PuntosDeInteres-MAIN .ubicacion > .map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1e2746;
  color: #fff;
  font-family: "Poppins", sans-serif;
  border: none;
  padding: 8px 14px;
  font-size: 2ch;
  margin: 40px 0;
  cursor: pointer;
}
.PuntosDeInteres-MAIN .ubicacion > .map-link > img {
  width: 15px;
  margin-right: 10px;
}

/* DondeEmpiezaHistoria */
.DondeEmpiezaHistoria-MAIN {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0f1a2e;
  width: 100%;
  padding: 60px 0;
  box-sizing: border-box;
}

.DondeEmpiezaHistoria-MAIN > h2 {
  font-size: 6ch;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  text-wrap: pretty;
  color: #ffffff;
  max-width: 90%;
  margin-bottom: 0;
}

.DondeEmpiezaHistoria-MAIN > h2 > span {
  color: #4aa3d5;
}

.DondeEmpiezaHistoria-MAIN > p {
  color: #8a99ad;
  font-family: "Inter", sans-serif;
  text-align: center;
  text-wrap: pretty;
  max-width: 70ch;
  font-weight: 300;
  margin-bottom: 40px;
}

/* 5 EN UNA SOLA FILA */
.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  grid-template-areas: none !important;
  gap: 16px;
  width: calc(100% - 80px);
  max-width: 1300px;
  aspect-ratio: auto !important;
}

.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > div {
  grid-area: auto !important;
  width: 100% !important;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background-image: none !important;
  background-size: cover;
  background-position: center;
}

.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* degradado oscuro para leer texto */
.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15,26,46,0.95) 15%, rgba(15,26,46,0.4) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid .card-data,
.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid .history-card-link .card-data {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 16px;
  text-align: left;
}

.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid .card-data h3 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px 0;
}

.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid .card-data span {
  color: #a0aec0;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  display: block;
  margin-bottom: 6px;
}

.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid .card-data small {
  color: #4aa3d5;
  font-family: "Inter", sans-serif;
  font-size: 11px;
}

.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid .history-card-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

/* responsive - en móvil se hace scroll horizontal */
@media (max-width: 1100px) {
  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid {
    display: flex !important;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > div {
    min-width: 220px;
    flex: 0 0 220px;
  }
}

/* FooterComponent */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-image: url("./assets/footer-bg.png");
  background-size: cover;
  background-position: center;
}
footer > section {
  width: calc(100% - 50px);
  max-width: 1080px;
  color: #fff;
}
footer > section:first-child {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  font-family: "Inter", sans-serif;
}
footer > section:first-child > div {
  width: 30%;
}
footer > section:first-child > div:nth-child(1) > img {
  filter: brightness(0) invert(1);
  width: 190px;
  margin: 20px 0;
}
footer > section:first-child > div:nth-child(1) > p {
  color: #bcc5ec;
  font-weight: 300;
  margin-top: 25px;
}
footer > section:first-child > div:nth-child(2) > div {
  text-transform: uppercase;
  font-weight: 200;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}
footer > section:first-child > div:nth-child(3) > div {
  display: flex;
  margin-bottom: 20px;
}
footer > section:first-child > div:nth-child(3) > div > img {
  width: 48px;
  height: 48px;
  margin-right: 15px;
}
footer > section:first-child > div:nth-child(3) > div > div > p:first-child {
  color: #bcc5ec;
  font-family: "Poppins", sans-serif;
  margin: 0;
}
footer > section:first-child > div:nth-child(3) > div > div > p:last-child {
  margin-top: 5px;
  font-weight: 300;
}
footer > section:last-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #404760;
  border-radius: 10px;
  background-color: #2a324e;
  padding: 20px 0;
  margin: 30px 0;
  font-family: "Inter", sans-serif;
}
footer > section:last-child > div {
  margin: 0 20px;
}
footer > section:last-child > div:first-child {
  color: #bcc5ec;
}
footer > section:last-child > div:first-child > span {
  color: #fff;
}
footer > section:last-child > div:last-child {
  display: flex;
  align-items: center;
}
footer > section:last-child > div:last-child img {
  margin-left: 10px;
  height: 40px;
}
footer > section:last-child > div:last-child .footer-conocenos {
  height: 30px;
}

/* Rediseño global 2026 */
.section-kicker {
  color: #138dcc;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Amenidades */
.amenities-MAIN {
  padding: 88px 0 96px;
}
.amenities-MAIN > br {
  display: none;
}
.amenities-MAIN > h2 {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 48px);
}
.amenities-MAIN > p {
  margin: 12px 20px 28px;
  line-height: 1.6;
}
.amenities-MAIN .amenities-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 18px;
  width: calc(100% - 100px);
  max-width: 1080px;
  margin-top: 0;
}
.amenities-MAIN .amenities-grid > div {
  justify-content: flex-end;
  box-sizing: border-box;
  min-height: 285px;
  padding: 24px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #0d203c;
  aspect-ratio: auto;
}
.amenities-MAIN .amenities-grid > div:first-child {
  grid-column: 1 / -1;
  min-height: 320px;
}
.amenities-MAIN .amenities-grid > div::before {
  opacity: 1;
  transition: transform 0.35s ease;
}
.amenities-MAIN .amenities-grid > div::after {
  z-index: 1;
  opacity: 1;
  background: linear-gradient(180deg, rgba(5, 18, 41, 0.02) 30%, rgba(5, 18, 41, 0.9) 100%);
}
.amenities-MAIN .amenities-grid > div:nth-child(1)::before {
  background-image: url("./assets/amenities-background-roof.png");
}
.amenities-MAIN .amenities-grid > div:nth-child(2)::before {
  background-image: url("./assets/amenities-background-coworking.png");
}
.amenities-MAIN .amenities-grid > div:nth-child(3)::before {
  background-image: url("./assets/amenities-background-seguridad.png");
}
.amenities-MAIN .amenities-grid > div:nth-child(4)::before {
  background-image: url("./assets/amenities-background-pet.png");
}
.amenities-MAIN .amenities-grid > div:hover::before {
  opacity: 1;
  transform: scale(1.025);
}
.amenities-MAIN .amenities-grid > div:hover::after {
  opacity: 1;
}
.amenities-MAIN .amenities-grid > div > div,
.amenities-MAIN .amenities-grid > div:hover > div {
  position: relative;
  inset: auto;
  z-index: 2;
  justify-content: flex-start;
  max-width: none;
  transform: none;
}
.amenities-MAIN .amenities-grid > div > div > img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}
.amenities-MAIN .amenities-grid > div > div p,
.amenities-MAIN .amenities-grid > div:hover > div > p {
  color: #fff;
  opacity: 1;
  font-size: 19px;
  font-weight: 600;
}
.amenities-MAIN .amenities-grid .amenities-title-hidden {
  display: none;
}
.amenities-MAIN .amenities-grid > div .amenities-description,
.amenities-MAIN .amenities-grid > div:hover .amenities-description {
  position: relative;
  z-index: 2;
  width: min(38ch, 90%);
  margin: 10px 0 0 52px;
  color: rgba(255, 255, 255, 0.75) !important;
  opacity: 1;
  font-family: "Inter", sans-serif;
  font-size: 14px !important;
  font-weight: 300 !important;
  line-height: 1.5;
}
.PopupAmenity-MAIN {
  z-index: 60;
  padding: 24px;
  box-sizing: border-box;
}
.PopupAmenity-MAIN > section {
  box-sizing: border-box;
  max-height: calc(100dvh - 48px);
  overflow: auto;
}
.PopupAmenity-MAIN > section > h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

/* Tipologías */
.typologies-MAIN {
  padding: 88px 0 96px;
  background: #eaf2ff;
}
.typologies-MAIN > br {
  display: none;
}
.typologies-MAIN > h2 {
  max-width: 760px;
  margin: 0 20px;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.08;
}
.typologies-MAIN > p {
  margin: 14px 20px 20px;
  line-height: 1.6;
}
.typologies-brochure,
.typologies-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  cursor: pointer;
}
.typologies-brochure {
  margin-bottom: 34px;
  padding: 10px 18px;
  background: #159cd6;
  color: #fff;
}
.typologies-brochure img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}
.typologies-MAIN .typologies-grid,
.typologies-MAIN .tipologia-wrapper.visible {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: calc(100% - 100px);
  max-width: 1080px;
}
.typologies-MAIN .typology-card,
.typologies-MAIN .tipologia-card-wrapper .typology-card {
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(18, 48, 84, 0.12);
}
.typologies-MAIN .typology-card > .typology-back {
  box-sizing: border-box;
  width: 48%;
  min-height: 390px !important;
  padding: 14px;
}
.typologies-MAIN .typology-card > .typology-data {
  box-sizing: border-box;
  width: 52%;
  padding: 26px 22px;
  background: #078fc8;
  background: linear-gradient(#2479B6, #1C6296);
  color: #fff;
}
.typologies-MAIN .typology-back > div:first-child {
  padding: 5px 10px;
  border-radius: 5px;
  background: #101b3a;
  font-size: 9px;
}
.typologies-MAIN .typology-data h3,
.typologies-MAIN .typology-data > p,
.typologies-MAIN .typology-data .typology-numbers p,
.typologies-MAIN .typology-data .typology-grid > div {
  color: #fff;
}
.typologies-MAIN .typology-data h3 {
  margin: 0 0 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 500;
}
.typologies-MAIN .typology-data hr {
  margin: 14px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.typologies-MAIN .typology-data .typology-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  margin: 0 0 18px;
}
.typologies-MAIN .typology-data .typology-numbers > div {
  width: auto;
  margin: 0;
}
.typologies-MAIN .typology-data .typology-numbers > div > p:first-child {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 10px !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 300 !important;
}
.typologies-MAIN .typology-data .typology-numbers > div > p:last-child {
  margin-top: 3px;
  font-size: 14px;
}
.typologies-MAIN .typology-data > p {
  margin: 12px 0;
  font-size: 12px;
  font-weight: 600;
}
.typologies-MAIN .typology-data > .typology-price {
  margin: 0 0 12px;
  font-size: 14px;
}
.typologies-MAIN .typology-data .typology-grid {
  grid-template-columns: 1fr;
  grid-template-rows: none;
  gap: 7px;
  margin-bottom: 18px;
}
.typologies-MAIN .typology-data .typology-grid > div {
  font-size: 11px;
}
.typologies-MAIN .typology-data .typology-grid img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}
.typologies-MAIN .typology-data .typology-btn {
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 0;
}
.typologies-MAIN .typology-data .typology-btn > .typology-cta {
  width: 100%;
  padding: 9px 8px;
  border-radius: 4px;
  font-size: 10px;
}
.typologies-MAIN .typology-data .typology-btn > .typology-cta:first-child {
  background: #101b3a;
  border-color: #101b3a;
}
.typologies-MAIN .typology-data .typology-btn > .typology-cta:last-child {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}
.typologies-toggle {
  margin: 42px auto;
  padding: 11px 28px;
  background: #101b3a;
  color: #fff;
}
.typologies-MAIN .tipologia-wrapper {
  margin: 0 auto;
}
.typologies-MAIN .tipologia-card-wrapper {
  width: 100%;
  margin: 0;
}

/* Por qué invertir */
.PorQueInvertir-MAIN {
  padding: 90px 0 50px;
  background: #f6f9fd;
  background-image: none;
}
.PorQueInvertir-header {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 64px;
  width: calc(100% - 100px);
  max-width: 1080px;
  margin-bottom: 38px;
}
.PorQueInvertir-header h2 {
  max-width: 560px;
  margin: 12px 0;
  color: #142242;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.05;
}
.PorQueInvertir-header h2 span {
  display: block;
  color: #118dce;
}
.PorQueInvertir-header p {
  max-width: 52ch;
  margin: 0;
  color: #5c6778;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}
.PorQueInvertir-header > img {
  width: 100%;
  max-height: 330px;
  border-radius: 8px;
  object-fit: cover;
}
.PorQueInvertir-MAIN .PorQueInvertir-tiles {
  gap: 18px;
}
.PorQueInvertir-MAIN .PorQueInvertir-tiles > div {
  box-sizing: border-box;
  min-height: 180px;
  padding: 24px;
  border: 1px solid #e5eaf1;
  border-radius: 8px;
  background: #fff;
  color: #142242;
  box-shadow: 0 8px 24px rgba(28, 54, 89, 0.08);
  backdrop-filter: none;
}
.PorQueInvertir-MAIN .PorQueInvertir-tiles > div > img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.PorQueInvertir-MAIN .PorQueInvertir-tiles > div > p:nth-child(2) {
  margin: 16px 0 8px;
  color: #142242;
  font-weight: 600;
}
.PorQueInvertir-MAIN .PorQueInvertir-tiles > div > p:nth-child(3) {
  margin: 0;
  color: #697487;
  font-size: 12px;
  line-height: 1.5;
}
.PorQueInvertir-MAIN > .investment-cta {
  margin: 34px 0 0;
  padding: 11px 20px;
  border-radius: 5px;
  background: #101b3a;
  color: #fff;
  font-size: 13px;
}

/* Galería */
.GaleriaDesarrollo-MAIN {
  padding: 80px 0 64px;
}
.GaleriaDesarrollo-MAIN > br {
  display: none;
}
.GaleriaDesarrollo-MAIN > .section-kicker {
  margin: 0 0 8px;
}
.GaleriaDesarrollo-MAIN > h2 {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 48px);
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn {
  margin: 22px 0 34px;
}
.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn > button {
  min-width: 96px;
  margin: 0 5px;
  border-radius: 20px;
}
.GaleriaDesarrollo-MAIN .botones-wrapper {
  padding: 34px 20px 0;
  background: transparent;
}

/* Otros desarrollos */
.DondeEmpiezaHistoria-MAIN {
  padding: 82px 0 88px;
  background: #07162f;
  color: #fff;
}
.DondeEmpiezaHistoria-MAIN > .section-kicker {
  margin-bottom: 10px;
  color: #62b8ef;
}
.DondeEmpiezaHistoria-MAIN > h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 3.2vw, 46px);
}
.DondeEmpiezaHistoria-MAIN > h2 > span {
  color: #62b8ef;
}
.DondeEmpiezaHistoria-MAIN > p {
  margin: 12px 20px 34px;
  color: #aebbd0;
}
.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas: none;
  gap: 18px;
  width: calc(100% - 100px);
  max-width: 1080px;
  aspect-ratio: auto;
}
.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > article {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 309 / 364;
}
.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > article::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(2, 12, 30, 0.9));
}
.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > article > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > article:hover > img {
  transform: scale(1.03);
}
.DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > article > span {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

/* Footer */
footer.footer-MAIN {
  background: #061229;
  background-image: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer.footer-MAIN > section:first-child {
  margin-top: 54px;
}
footer.footer-MAIN > section:last-child {
  box-sizing: border-box;
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
  margin: 38px 0 0;
  padding: 22px 0;
}

footer.footer-MAIN > section:last-child > .footer-desktop-legal {
  display: none;
}

.form-MAIN .form-top-view {
  display: none;
}

/* Ajustes desktop — julio 2026 */
@media (min-width: 769px) {
  /* La imagen queda por encima de la columna central para conservar el corte diagonal. */
  .form-MAIN .band-image {
    z-index: 3;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }

  .form-MAIN .form > div:first-child {
    box-sizing: border-box;
    justify-content: flex-start;
    color: #111a39;
  }

  .form-MAIN .form-top-view {
    display: block;
    width: 100%;
    height: auto;
    max-height: 235px;
    margin: -16px 0 24px;
    object-fit: cover;
  }

  .form-MAIN .form > div:first-child .form-brand-heading {
    color: #1767b7;
  }

  .form-MAIN .form > div:first-child h4,
  .form-MAIN .form > div:first-child > p {
    color: #171d3d;
  }

  .form-MAIN .form > div:first-child > p {
    font-weight: 400;
  }

  .form-MAIN .form > div:first-child > p span,
  .form-MAIN .form > div:first-child .form-tel > div p:first-child {
    color: #159fdf;
  }

  .form-MAIN .form > div:first-child .form-tel a {
    color: #111a39;
    font-weight: 600;
    text-decoration: none;
  }

  .PopupAmenity-MAIN {
    background-color: rgba(1, 8, 24, 0.82);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }

  /* Caja translúcida para el bloque de texto de cada amenidad. */
  .amenities-MAIN .amenities-grid > div > div,
  .amenities-MAIN .amenities-grid > div:hover > div {
    box-sizing: border-box;
    width: 100%;
    padding: 18px 20px 2px;
    border: 1px solid rgba(103, 165, 214, 0.18);
    border-radius: 12px 12px 0 0;
    background: rgba(6, 20, 48, 0.72);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }

  .amenities-MAIN .amenities-grid > div .amenities-description,
  .amenities-MAIN .amenities-grid > div:hover .amenities-description {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 8px 20px 20px 72px;
    border: 1px solid rgba(103, 165, 214, 0.18);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    background: rgba(6, 20, 48, 0.72);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }

  /* Métricas en una sola fila; el override móvil conserva el grid 2x2. */
  .typologies-MAIN .typology-data .typology-numbers,
  #todas-tipologias-container .typology-numbers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .typologies-MAIN .typology-card > .typology-back {
    width: 42%;
  }

  .typologies-MAIN .typology-card > .typology-data {
    width: 58%;
  }

  .typologies-MAIN .typology-data .typology-numbers > div > p,
  #todas-tipologias-container .typology-numbers > div > p,
  .typologies-MAIN .typology-data .typology-numbers > div > p:first-child,
  .typologies-MAIN .typology-data .typology-numbers > div > p:last-child,
  #todas-tipologias-container .typology-numbers > div > p:first-child,
  #todas-tipologias-container .typology-numbers > div > p:last-child {
    color: #fff;
    font-weight: 700;
  }

  .typologies-MAIN .typology-data .typology-numbers > div > p:first-child,
  #todas-tipologias-container .typology-numbers > div > p:first-child {
    font-size: 8px;
    white-space: nowrap;
  }

  /* Pie legal de escritorio: sólo texto, sin botones ni iconos. */
  footer.footer-MAIN > section:last-child > .footer-current-item {
    display: none;
  }

  footer.footer-MAIN > section:last-child > .footer-desktop-legal {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    font-weight: 300;
  }
}

/* La imagen constituye por completo el botón del brochure. */
.typologies-MAIN .typologies-brochure {
  display: block;
  width: min(267px, calc(100% - 40px));
  height: auto;
  margin: 0 auto 34px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 0;
}

.typologies-MAIN .typologies-brochure > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Tipografía y enlaces del formulario */
.form-MAIN,
.form-MAIN h2,
.form-MAIN h3,
.form-MAIN h4,
.form-MAIN p,
.form-MAIN label,
.form-MAIN input,
.form-MAIN textarea,
.form-MAIN button,
.form-MAIN a {
  font-family: "Poppins", sans-serif;
}

.form-MAIN a,
.form-MAIN a:link,
.form-MAIN a:visited,
.form-MAIN a:hover,
.form-MAIN a:active {
  text-decoration: none;
}

.form-MAIN .form > div:last-child .form-grid {
  grid-template-areas:
    "nombre apellido"
    "tel email"
    "msg msg"
    "check check"
    "btn btn"
    "status status";
}

.form-MAIN .form-verification {
  grid-area: check;
  min-width: 0;
}

.form-MAIN .form-verification .recaptcha-container {
  min-width: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 14px;
}

.form-MAIN .form-status {
  display: none;
  grid-area: status;
  margin: 2px 0 0;
  color: #1e2746;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.form-MAIN .form-status.is-visible {
  display: block;
}

.form-MAIN .form-status.is-success {
  color: #16743a;
}

.form-MAIN .form-status.is-error {
  color: #b42318;
}

.form-MAIN .form-grid button:disabled {
  cursor: wait;
  opacity: 0.7;
}

/* Tarjetas enlazables de otros desarrollos */
.sand-empieza-historia .empieza-historia-grid > div::before {
  pointer-events: none;
}

.sand-empieza-historia .history-card-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.sand-empieza-historia .history-card-link img {
  transition: transform 0.3s ease;
}

.sand-empieza-historia .history-card-link:hover img,
.sand-empieza-historia .history-card-link:focus-visible img {
  transform: scale(1.03);
}

.sand-empieza-historia .history-card-link:focus-visible {
  outline: 2px solid #5ca3e6;
  outline-offset: -3px;
}

/* Ajuste final de las tarjetas de amenidades */
.amenities-MAIN .amenities-grid > div {
  position: relative;
}

.amenities-MAIN .amenities-grid > div > .amenities-icon {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  margin: 0;
  object-fit: contain;
}

.amenities-MAIN .amenities-grid .amenities-copy,
.amenities-MAIN .amenities-grid .amenities-heading,
.amenities-MAIN .amenities-grid .amenities-heading > p,
.amenities-MAIN .amenities-grid .amenities-description {
  font-family: "Poppins", sans-serif;
}

.amenities-MAIN .amenities-grid .amenities-heading > p,
.amenities-MAIN .amenities-grid > div:hover .amenities-heading > p {
  margin: 0;
  color: #2db5ff;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
}

.amenities-MAIN .amenities-grid > div .amenities-description,
.amenities-MAIN .amenities-grid > div:hover .amenities-description {
  width: auto;
  max-width: 32ch;
  margin: 10px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.amenities-MAIN .amenities-grid .amenities-copy > .amenities-gallery-cta {
  display: block;
  flex: none;
  width: 129px;
  max-width: 100%;
  height: auto;
  margin: 12px 0 0;
  object-fit: contain;
}

.band-contact-btn {
  display: none;
}

.mobile-only {
  display: none;
}

/* Footer 2026 */
footer.footer-MAIN {
  display: block;
  box-sizing: border-box;
  width: 100%;
  background: #0b1425;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: "Poppins", sans-serif;
}

footer.footer-MAIN > .footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(150px, .7fr) minmax(280px, 1fr);
  gap: clamp(50px, 9vw, 145px);
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 46px 48px 52px;
}

footer.footer-MAIN > .footer-content > * {
  width: auto;
  min-width: 0;
}

footer.footer-MAIN .footer-brand > img {
  display: block;
  width: 172px;
  height: auto;
  margin: 0 0 24px;
  filter: brightness(0) invert(1);
}

footer.footer-MAIN .footer-brand > p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.62;
}

footer.footer-MAIN .footer-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

footer.footer-MAIN .footer-navigation .footer-heading,
footer.footer-MAIN .footer-contact .footer-heading {
  margin: 0 0 24px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
}

footer.footer-MAIN .footer-navigation a,
footer.footer-MAIN .footer-contact a,
footer.footer-MAIN .footer-contact address,
footer.footer-MAIN .footer-contact p {
  font-style: normal;
  text-decoration: none;
}

footer.footer-MAIN .footer-navigation > a {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 300;
  transition: color .2s ease;
}

footer.footer-MAIN .footer-navigation > a:hover,
footer.footer-MAIN .footer-email:hover {
  color: #fff;
}

footer.footer-MAIN .footer-contact address,
footer.footer-MAIN .footer-contact > p,
footer.footer-MAIN .footer-email {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
}

footer.footer-MAIN .footer-contact > p > a {
  color: #078fe5;
}

footer.footer-MAIN .footer-email {
  display: inline-block;
}
.footer-email{
  color: #4aa3d5 !important;
  text-decoration: none;
}

footer.footer-MAIN .footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

footer.footer-MAIN .footer-socials > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  line-height: 0;
}

footer.footer-MAIN .footer-socials img {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0;
  object-fit: contain;
}

footer.footer-MAIN > .footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: calc(100% - 96px);
  max-width: 1344px;
  margin: 0 auto;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
}

footer.footer-MAIN > .footer-legal > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.39);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
}

footer.footer-MAIN > .footer-legal > p .link-privacidad {
  color: #4f8ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Neutraliza márgenes del footer anterior con la misma especificidad. */
footer.footer-MAIN > section.footer-content {
  margin: 0 auto;
  padding-top: 36px;
  padding-bottom: 38px;
}

footer.footer-MAIN > section.footer-content > div.footer-brand > img {
  margin: 0 0 24px;
}

footer.footer-MAIN > section.footer-legal {
  margin: 0 auto;
  padding: 20px 0;
}

/* Bloque homologado: Donde empieza tu historia */
section.DondeEmpiezaHistoria-MAIN.sand-empieza-historia {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 70px 0 45px;
  background: #131f35;
  text-align: center;
}

.sand-empieza-historia > .eyebrow {
  display: block;
  margin-bottom: 20px;
  color: #5ca3e6;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.sand-empieza-historia > h2 {
  width: 100%;
  margin: 0 0 18px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.1;
  text-align: center;
}

.sand-empieza-historia > h2 span {
  color: #5ca3e6;
  font-weight: 300;
}

.sand-empieza-historia > p {
  width: 100%;
  max-width: 100%;
  margin: 0 0 45px;
  color: #8b96a8;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 300;
  text-align: center;
}

.sand-empieza-historia .empieza-historia-grid {
  display: grid;
  grid-template-areas: "a b c d";
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 410px;
  gap: 20px;
  width: min(1280px, 92%);
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: auto;
  text-align: left;
}

.sand-empieza-historia .empieza-historia-grid > div {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
}

.sand-empieza-historia .empieza-historia-grid > div[hidden] {
  display: none !important;
}

@media (min-width: 1101px) {
  .sand-empieza-historia .empieza-historia-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.sand-empieza-historia .empieza-historia-grid > div::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg, #111f36 10%, rgba(17, 31, 54, 0.6) 40%, transparent 70%);
}

.sand-empieza-historia .empieza-historia-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sand-empieza-historia .card-data {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  width: 100%;
  padding: 0 18px 18px;
  text-align: left;
}

.sand-empieza-historia .card-data h3 {
  margin: 0;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-weight: 500;
}

.sand-empieza-historia .card-data span {
  display: block;
  margin: 4px 0 0;
  color: #8a94a8;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 300;
}

.botones-flotantes {
  z-index: 50;
}

/* Refinamientos finales de escritorio */
@media (min-width: 769px) {
  .form-MAIN .band-left {
    box-sizing: border-box;
    width: 32%;
    padding-left: 6%;
  }

  .form-MAIN .band-center {
    box-sizing: border-box;
    width: 36%;
    margin-left: 0;
    padding: 28px 24px;
  }

  .form-MAIN .band-features {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .form-MAIN .band-image {
    width: 34%;
  }

  .amenities-MAIN .amenities-grid > div > .amenities-copy,
  .amenities-MAIN .amenities-grid > div:hover > .amenities-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    position: relative;
    inset: auto;
    z-index: 2;
    width: fit-content;
    max-width: calc(100% - 8px);
    padding: 14px 18px;
    border: 1px solid rgba(103, 165, 214, 0.22);
    border-radius: 12px;
    background: rgba(6, 20, 48, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transform: none;
  }

  .amenities-MAIN .amenities-grid .amenities-heading {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    font-family: "Montserrat", sans-serif;
  }

  .amenities-MAIN .amenities-grid .amenities-heading > img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin-right: 10px;
  }

  .amenities-MAIN .amenities-grid .amenities-heading > p {
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 600;
  }

  .amenities-MAIN .amenities-grid > div .amenities-description,
  .amenities-MAIN .amenities-grid > div:hover .amenities-description {
    width: auto;
    margin: 0 0 0 52px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    opacity: 1;
    font-family: "Poppins", sans-serif;
  }
}

/* Cierre de cascada para amenidades en escritorio. */
@media (min-width: 769px) {
  .amenities-MAIN .amenities-grid .amenities-heading {
    font-family: "Poppins", sans-serif;
  }

  .amenities-MAIN .amenities-grid .amenities-heading > p,
  .amenities-MAIN .amenities-grid > div:hover .amenities-heading > p {
    margin: 0;
    color: #2db5ff;
    font-family: "Poppins", sans-serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.25;
  }

  .amenities-MAIN .amenities-grid > div .amenities-description,
  .amenities-MAIN .amenities-grid > div:hover .amenities-description {
    width: auto;
    max-width: 32ch;
    margin: 10px 0 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
  }
}

.amenities-title-visible{
  color: white !important;
}

/* Ajustes finales: tipologías, galería y proyectos. */
.typology-grid,
.typology-grid > div {
  font-family: "Manrope", sans-serif;
}

.typologies-MAIN .typologies-brochure {
  text-decoration: none;
}

.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn > button {
  min-width: 96px;
  margin: 0;
  padding: 7px 18px;
  border: 1px solid #cbd5df;
  border-radius: 9px;
  background: #f7fbff;
  color: #45464e;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn > button.galeria-active-btn {
  border-color: #286db1;
  background: #286db1;
  color: #fff !important;
  font-weight: 600;
}

.sand-empieza-historia .card-data {
  bottom: 0;
  padding: 0 24px 28px;
  font-family: "Montserrat", sans-serif;
}

.sand-empieza-historia .card-data h3 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 400;
}

.sand-empieza-historia .card-data span {
  margin-top: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 300;
}

.sand-empieza-historia .card-data small {
  display: block;
  margin-top: 18px;
  color: #4daadf;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

/* Visor de la galería de interiores. */
body.gallery-modal-open {
  overflow: hidden;
}

.GaleriaDesarrollo-MAIN .development-gallery-trigger {
  cursor: zoom-in;
}

.GaleriaDesarrollo-MAIN .development-gallery-trigger:focus-visible {
  outline: 3px solid #286db1;
  outline-offset: 4px;
}

.development-gallery-modal[hidden] {
  display: none;
}

.development-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(7, 20, 47, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.development-gallery-dialog {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 980px) 58px;
  align-items: center;
  gap: 28px;
  width: min(1180px, 100%);
}

.development-gallery-dialog figure {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.development-gallery-image {
  display: block;
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 14px;
}

.development-gallery-dialog figcaption {
  min-height: 24px;
  margin-top: 12px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

.development-gallery-count {
  margin-right: 5px;
  color: #4daadf;
}

.development-gallery-close,
.development-gallery-arrow {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.development-gallery-close {
  position: absolute;
  z-index: 2;
  top: -10px;
  right: 86px;
  width: 30px;
  height: 30px;
}

.development-gallery-close img,
.development-gallery-arrow img {
  display: block;
  width: 100%;
  height: auto;
}

.development-gallery-arrow {
  width: 48px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.development-gallery-arrow:hover {
  opacity: 0.75;
  transform: scale(1.06);
}

.development-gallery-arrow-prev img {
  transform: rotate(180deg);
}

/* Imagen ampliada de los proyectos sin enlace externo. */
.sand-empieza-historia .project-image-trigger {
  cursor: zoom-in;
}

.sand-empieza-historia .project-image-trigger:focus-visible {
  outline: 3px solid #4daadf;
  outline-offset: 4px;
}

.project-image-modal[hidden] {
  display: none;
}

.project-image-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(7, 20, 47, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.project-image-dialog {
  position: relative;
  width: min(834px, 90vw);
}

.project-image-full {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
}

.project-image-close {
  position: absolute;
  z-index: 2;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.project-image-close img {
  display: block;
  width: 100%;
  height: auto;
}

/* Popup sencillo de planos de tipologías. */
.PopupTypology-MAIN[hidden] {
  display: none !important;
}

.PopupTypology-MAIN {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 34px;
  box-sizing: border-box;
  background: rgba(7, 20, 47, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.PopupTypology-MAIN > section {
  position: relative;
  width: min(760px, 90vw);
  max-width: none;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 12px;
  background: #fff;
}

.PopupTypology-MAIN .PopupTypology-label {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 28px;
  min-width: 98px;
  padding: 8px 17px;
  box-sizing: border-box;
  border-radius: 2px;
  background: #1ca5ff;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.PopupTypology-MAIN .PopupTypology-plan {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.PopupTypology-MAIN .PopupTypology-close {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  width: 30px !important;
  height: 30px !important;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.PopupTypology-MAIN .PopupTypology-close img {
  display: block;
  width: 100%;
  height: auto;
}

.typologies-MAIN .typology-back[onclick] {
  cursor: zoom-in;
}

/* Ajustes del popup de amenidades. */
.PopupAmenity-MAIN > section {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.PopupAmenity-MAIN > section::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.PopupAmenity-MAIN > section > .PopupAmenity-close {
  width: 30px;
  height: 30px;
}

.PopupAmenity-MAIN .PopupAmenity-thumbnail {
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.PopupAmenity-MAIN .PopupAmenity-thumbnail:hover {
  filter: brightness(1.08);
  transform: scale(1.015);
}

.PopupAmenity-MAIN .PopupAmenity-thumbnail:focus-visible {
  outline: 3px solid #7bc9ff;
  outline-offset: 3px;
}
