@media (max-width: 700px) {
  /* NavComponent */
  .nav-MAIN {
    flex-direction: column;
    align-items: unset;
    justify-content: unset;
    position: fixed;
    width: calc(100% - 40px);
    height: calc(100vh - 40px);
    padding: 20px;
    z-index: 2;
    display: none;
  }
  .nav-MAIN.active {
    display: flex;
  }
  .nav-MAIN > img {
    height: 10vh;
    width: fit-content;
    margin-bottom: 10px;
  }
  .nav-MAIN > div {
    display: flex;
    flex-direction: column;
    margin: 5vh 0;
  }
  .nav-MAIN > div a {
    margin: 10px 0;
  }
  .nav-MAIN .close {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute !important;
    top: 20px;
    right: 20px;
    font-size: 5vw;
    width: 5vw;
    height: 5vw;
    margin: 0;
    rotate: 45deg;
    cursor: pointer;
  }
  .nav-cel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 20px;
  }
  .nav-cel > img {
    height: 60%;
  }
  .nav-cel > img:first-child {
    scale: 0.8;
    cursor: pointer;
  }

  /* CoverComponent */
  .cover-MAIN {
    overflow: hidden;
    padding: 40px 0;
    height: fit-content;
  }
  .cover-MAIN h1 {
    font-size: 10vw;
  }
  .cover-MAIN .glass-tiles {
    flex-direction: column;
  }
  .cover-MAIN .glass-tiles > div {
    width: calc(100vw - 60px - 30px) !important;
    margin: 10px 0;
  }

  /* FormComponent */
  .form-MAIN .band {
    flex-direction: column;
    height: fit-content;
    padding: 0 20px;
    width: calc(100% - 40px);
  }
  .form-MAIN .band > h2 {
    width: 100%;
  }
  .form-MAIN .band > div {
    width: 100%;
    margin-bottom: 40px;
  }
  .form-MAIN .form {
    flex-direction: column;
    margin: 0;
    width: 100%;
  }
  .form-MAIN .form > div {
    width: calc(100% - 60px) !important;
    padding: 30px;
  }

  /* AmenitiesComponent */
  .amenities-MAIN .amenities-grid {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
  }
  .amenities-MAIN .amenities-grid > div {
    aspect-ratio: 2/1;
  }
  .amenities-MAIN .amenities-grid > div .amenities-description {
    margin-bottom: 0;
  }

  /* TypologiesComponent */
  .typologies-MAIN .typology-card {
    flex-direction: column;
    width: calc(100% - 20px);
  }
  .typologies-MAIN .typology-card > .typology-back {
    width: 100%;
    aspect-ratio: 5/4;
  }
  .typologies-MAIN .typology-card > .typology-data {
    width: calc(100% - 80px);
  }
  .typologies-MAIN .typology-card > .typology-data .typology-btn {
    flex-direction: column;
    width: calc(100% - 40px);
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .typologies-MAIN .typology-card > .typology-data .typology-btn > .typology-cta {
    width: 100%;
    margin: 5px 0;
  }

  .typologies-MAIN .typology-card > .typology-data .typology-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    margin: 20px 0;
  }
  .typologies-MAIN .typology-card > .typology-data .typology-numbers > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .typologies-MAIN
    .typology-card
    > .typology-data
    .typology-numbers
    > div
    p:first-child {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 4px 0;
    opacity: 0.7;
    letter-spacing: 0.5px;
  }
  .typologies-MAIN
    .typology-card
    > .typology-data
    .typology-numbers
    > div
    p:last-child {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
  }
  .typologies-MAIN
    .typology-card
    > .typology-data
    .typology-numbers
    > div
    p:last-child
    span {
    font-size: 14px;
    font-weight: 600;
    margin-left: 0;
  }
/*otro*/
  #todas-tipologias-container .typology-card {
    flex-direction: column;
    width: calc(100% - 13px);
    margin: 0 auto 30px auto;
    max-width: none; /* Hereda el mismo ancho que las de arriba */
  }
  
  #todas-tipologias-container .typology-card > .typology-back {
    width: 100%;
    aspect-ratio: 5/4;
  }
  
  #todas-tipologias-container .typology-card > .typology-data {
    width: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #todas-tipologias-container .typology-card > .typology-data h3 {
    text-align: center;
    width: 100%;
    margin: 0 0 15px 0;
  }
  
  #todas-tipologias-container .typology-card > .typology-data hr {
    width: 80%;
    margin: 15px auto;
  }
  
  #todas-tipologias-container .typology-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    margin: 20px auto;
    width: 100%;
    max-width: 240px;
  }
  
  #todas-tipologias-container .typology-numbers > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  #todas-tipologias-container .typology-numbers > div p:first-child {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 4px 0;
    opacity: 0.7;
    letter-spacing: 0.5px;
  }
  
  #todas-tipologias-container .typology-numbers > div p:last-child {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
  }
  
  #todas-tipologias-container .typology-numbers > div p:last-child span {
    font-size: 14px;
    font-weight: 600;
    margin-left: 2px;
  }
  
  #todas-tipologias-container .typology-data > p {
    text-align: center;
    margin: 24px 0 12px 0;
    font-weight: 700;
    width: 100%;
  }
  
  #todas-tipologias-container .typology-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto 25px auto;
    width: 100%;
    max-width: 220px;
    align-items: flex-start;
  }
  
  #todas-tipologias-container .typology-grid > div {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  #todas-tipologias-container .typology-grid > div img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }
  
  #todas-tipologias-container .typology-btn {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  #todas-tipologias-container .typology-btn > .typology-cta {
    width: 100%;
    margin: 5px 0;
    padding: 14px;
  }
}

@media (max-width: 768px) {
  /* Rediseño global 2026: secciones que sí cambian */
  .amenities-MAIN,
  .typologies-MAIN,
  .PorQueInvertir-MAIN,
  .GaleriaDesarrollo-MAIN,
  .DondeEmpiezaHistoria-MAIN {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .amenities-MAIN {
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .amenities-MAIN > h2,
  .typologies-MAIN > h2,
  .GaleriaDesarrollo-MAIN > h2 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.1;
  }
  .amenities-MAIN > p,
  .typologies-MAIN > p {
    margin-right: 0;
    margin-left: 0;
    font-size: 13px;
  }
  .amenities-MAIN .amenities-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 14px;
    width: 100%;
  }
  .amenities-MAIN .amenities-grid > div,
  .amenities-MAIN .amenities-grid > div:first-child {
    grid-column: auto;
    min-height: 0;
    padding: 20px;
    aspect-ratio: 16 / 10;
  }
  .amenities-MAIN .amenities-grid > div:first-child {
    aspect-ratio: 2 / 1;
  }
  .amenities-MAIN .amenities-grid > div > div > img {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .amenities-MAIN .amenities-grid > div > div p,
  .amenities-MAIN .amenities-grid > div:hover > div > p {
    font-size: 17px;
  }
  .amenities-MAIN .amenities-grid > div .amenities-description,
  .amenities-MAIN .amenities-grid > div:hover .amenities-description {
    width: calc(100% - 46px);
    margin-left: 46px;
    font-size: 11px;
  }

  .PopupAmenity-MAIN {
    padding: 12px;
  }
  .PopupAmenity-MAIN > section {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 24px 18px;
    border-radius: 14px;
  }
  .PopupAmenity-MAIN > section > h3 {
    max-width: calc(100% - 44px);
    font-size: 26px;
  }
  .PopupAmenity-MAIN > section > .PopupAmenity-close {
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
  }
  .PopupAmenity-MAIN > section .PopupAmenity-grid {
    grid-template-areas: "A A" "B C";
    gap: 10px;
    aspect-ratio: 1 / 1;
  }
  .PopupAmenity-MAIN > section > hr {
    margin: 18px 0;
  }

  .typologies-MAIN {
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .typologies-brochure {
    margin-bottom: 28px;
  }
  .typologies-MAIN .typologies-grid,
  .typologies-MAIN .tipologia-wrapper.visible {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: 100%;
  }
  .typologies-MAIN .typology-card,
  .typologies-MAIN .typology-card-reverse,
  .typologies-MAIN .tipologia-card-wrapper .typology-card {
    flex-direction: column;
    width: 100%;
    margin: 0;
  }
  .typologies-MAIN .typology-card > .typology-back {
    width: 100%;
    min-height: 0 !important;
    aspect-ratio: 1.08 / 1;
    background-position: center;
  }
  .typologies-MAIN .typology-card > .typology-data,
  #todas-tipologias-container .typology-card > .typology-data {
    align-items: stretch;
    width: 100%;
    padding: 28px 24px;
    text-align: left;
  }
  .typologies-MAIN .typology-data h3,
  #todas-tipologias-container .typology-card > .typology-data h3 {
    text-align: left;
    font-size: 22px;
  }
  .typologies-MAIN .typology-data .typology-numbers,
  #todas-tipologias-container .typology-numbers {
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
    width: 100%;
    max-width: none;
    margin: 0 0 20px;
  }
  .typologies-MAIN .typology-data .typology-numbers > div,
  #todas-tipologias-container .typology-numbers > div {
    align-items: flex-start;
    text-align: left;
  }
  .typologies-MAIN .typology-data .typology-numbers > div > p:last-child,
  #todas-tipologias-container .typology-numbers > div p:last-child {
    color: #fff;
    font-size: 17px;
  }
  .typologies-MAIN .typology-data > p,
  #todas-tipologias-container .typology-data > p {
    margin: 12px 0;
    text-align: left;
  }
  .typologies-MAIN .typology-data .typology-grid,
  #todas-tipologias-container .typology-grid {
    width: 100%;
    max-width: none;
    margin: 0 0 20px;
  }
  .typologies-MAIN .typology-data .typology-grid > div {
    font-size: 12px;
  }
  .typologies-MAIN .typology-data .typology-btn,
  #todas-tipologias-container .typology-btn {
    width: 100%;
    margin: 16px 0 0;
  }
  .typologies-MAIN .typology-data .typology-btn > .typology-cta,
  #todas-tipologias-container .typology-btn > .typology-cta {
    margin: 0;
    padding: 11px;
  }
  .typologies-toggle {
    margin: 30px auto;
  }

  .PorQueInvertir-MAIN {
    padding-top: 58px;
    padding-bottom: 58px;
  }
  .PorQueInvertir-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    width: 100%;
    margin-bottom: 28px;
  }
  .PorQueInvertir-header h2 {
    margin: 10px 0;
    font-size: 32px;
  }
  .PorQueInvertir-header p {
    font-size: 13px;
  }
  .PorQueInvertir-header > img {
    max-height: none;
    aspect-ratio: 4 / 3;
  }
  .PorQueInvertir-MAIN .PorQueInvertir-tiles {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: 14px;
    width: 100%;
  }
  .PorQueInvertir-MAIN .PorQueInvertir-tiles > div {
    min-height: 0;
    padding: 22px;
  }

  .GaleriaDesarrollo-MAIN {
    padding-top: 58px;
    padding-bottom: 52px;
  }
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid,
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid-exteriores {
    width: 100%;
  }
  .GaleriaDesarrollo-MAIN .botones-wrapper {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }
  .GaleriaDesarrollo-MAIN .btn-icon {
    padding: 10px 18px;
    font-size: 12px;
  }

  .DondeEmpiezaHistoria-MAIN {
    padding-top: 58px;
    padding-bottom: 64px;
  }
  .DondeEmpiezaHistoria-MAIN > h2 {
    max-width: 100%;
    font-size: 30px;
  }
  .DondeEmpiezaHistoria-MAIN > p {
    margin: 10px 0 26px;
    font-size: 12px;
  }
  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    grid-template-areas: none !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: auto !important;
    gap: 20px;
  }
  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > article > span {
    left: 12px;
    bottom: 12px;
    font-size: 11px;
  }

  footer.footer-MAIN > section {
    width: calc(100% - 40px);
  }
  footer.footer-MAIN > section:first-child {
    gap: 24px;
    margin-top: 44px;
  }
  footer.footer-MAIN > section:first-child > div:nth-child(2) > div {
    padding: 9px 0;
    font-size: 12px;
  }
  footer.footer-MAIN > section:last-child {
    gap: 14px;
    padding: 20px 0;
    text-align: center;
    font-size: 11px;
  }
  footer.footer-MAIN > section:last-child > div {
    margin: 0;
  }
}

/* Ajustes finales de las secciones inferiores en móvil. */
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }

  /* Tipologías: carrusel horizontal de tarjetas compactas. */
  .typologies-MAIN {
    overflow: hidden;
  }

  .typologies-MAIN .typologies-grid {
    display: flex;
    grid-template-columns: none;
    gap: 18px;
    width: 100%;
    max-width: none;
    padding: 0 9vw 18px;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 9vw;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .typologies-MAIN .typologies-grid::-webkit-scrollbar {
    display: none;
  }

  .typologies-MAIN .typologies-grid > .typology-card,
  .typologies-MAIN .typologies-grid > .typology-card.typology-card-reverse {
    display: flex;
    flex: 0 0 82vw;
    flex-direction: column;
    max-width: 410px;
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .typologies-MAIN .typologies-grid .typology-back {
    position: relative;
    flex: none;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    overflow: visible;
    border-radius: 10px 10px 0 0;
    background-position: center;
    background-size: cover;
  }

  .typologies-MAIN .typologies-grid .typology-back > div:first-child {
    position: absolute;
    z-index: 4;
    top: calc(100% + 17px);
    left: 50%;
    width: max-content;
    padding: 9px 20px;
    border-radius: 999px;
    background: #fff;
    color: #0798d1;
    font-size: 13px;
    font-weight: 600;
    transform: translateX(-50%);
  }

  .typologies-MAIN .typologies-grid .typology-data {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-height: 0;
    padding: 66px 22px 28px;
    box-sizing: border-box;
    text-align: center;
    background: linear-gradient(145deg, #079bd4 0%, #0875ad 100%);
  }

  .typologies-MAIN .typologies-grid .typology-data h3 {
    margin: 0;
    color: #fff;
    font-size: 29px;
    font-weight: 400;
    line-height: 1.15;
    text-align: center;
  }

  .typologies-MAIN .typologies-grid .typology-data > hr:first-of-type,
  .typologies-MAIN .typologies-grid .typology-data > hr:last-of-type {
    display: none;
  }

  .typologies-MAIN .typologies-grid .typology-numbers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 22px 0 18px;
    gap: 0;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
  }

  .typologies-MAIN .typologies-grid .typology-numbers > div {
    padding: 10px 3px 13px;
    border-top: 1px solid rgb(255 255 255 / 12%);
  }

  .typologies-MAIN .typologies-grid .typology-numbers p,
  .typologies-MAIN .typologies-grid .typology-numbers > div > p:first-child,
  .typologies-MAIN .typologies-grid .typology-numbers > div > p:last-child {
    margin: 0;
    color: #fff;
    text-align: center;
  }

  .typologies-MAIN .typologies-grid .typology-numbers > div > p:first-child {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .06em;
  }

  .typologies-MAIN .typologies-grid .typology-numbers > div > p:last-child {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 700;
  }

  .typologies-MAIN .typologies-grid .typology-data > p {
    display: none;
  }

  .typologies-MAIN .typologies-grid .typology-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 0 0 24px;
    gap: 12px 8px;
  }

  .typologies-MAIN .typologies-grid .typology-grid > div {
    display: flex;
    min-width: 0;
    gap: 7px;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    text-align: left;
  }

  .typologies-MAIN .typologies-grid .typology-grid img {
    width: 17px;
    height: 17px;
    object-fit: contain;
  }

  .typologies-MAIN .typologies-grid .typology-btn {
    display: block;
    width: 100%;
    margin: 0;
  }

  .typologies-MAIN .typologies-grid .typology-btn > .typology-cta:first-child {
    width: 100%;
    min-height: 46px;
    border: 1px solid #fff;
    border-radius: 3px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
  }

  .typologies-MAIN .typologies-grid .typology-btn > .typology-cta:not(:first-child) {
    display: none;
  }

  .typologies-mobile-dots.mobile-only {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 18px 0 24px;
  }

  .typologies-mobile-dots span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #a8e4f8;
  }

  .typologies-mobile-dots span.active {
    background: #078cf0;
  }

  /* Por qué invertir. */
  .PorQueInvertir-MAIN {
    display: block;
    padding: 64px 24px;
    background: #eefaff;
  }

  .PorQueInvertir-MAIN .PorQueInvertir-header {
    display: block;
    width: 100%;
    margin: 0;
  }

  .PorQueInvertir-MAIN .PorQueInvertir-header > div {
    width: 100%;
  }

  .PorQueInvertir-MAIN .investment-copy-desktop,
  .PorQueInvertir-MAIN .investment-photo-desktop,
  .PorQueInvertir-MAIN .PorQueInvertir-tiles,
  .PorQueInvertir-MAIN > .investment-cta {
    display: none;
  }

  .PorQueInvertir-MAIN .section-kicker {
    font-size: 13px;
  }

  .PorQueInvertir-MAIN .PorQueInvertir-header h2 {
    margin: 18px 0 22px;
    font-size: 34px;
    line-height: 1.08;
  }

  .PorQueInvertir-MAIN .PorQueInvertir-header h2 span {
    display: block;
  }

  .PorQueInvertir-MAIN .investment-copy-mobile {
    margin: 0;
    color: #6f778c;
    font-size: 17px;
    line-height: 1.6;
  }

  .PorQueInvertir-MAIN .investment-photo-mobile {
    width: 100%;
    margin-top: 34px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgb(14 36 65 / 8%);
  }

  /* Galería del desarrollo. */
  .GaleriaDesarrollo-MAIN {
    padding: 64px 24px;
    background: #fff;
  }

  .GaleriaDesarrollo-MAIN > br,
  .GaleriaDesarrollo-MAIN .botones-wrapper {
    display: none;
  }

  .GaleriaDesarrollo-MAIN > .section-kicker,
  .GaleriaDesarrollo-MAIN > h2,
  .GaleriaDesarrollo-MAIN .gallery-mobile-copy {
    text-align: center;
  }

  .GaleriaDesarrollo-MAIN > h2 {
    margin: 15px 0 18px;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.15;
  }

  .GaleriaDesarrollo-MAIN .gallery-mobile-copy {
    max-width: 330px;
    margin: 0 auto 24px;
    color: #747b91;
    font-size: 16px;
    line-height: 1.5;
  }

  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn {
    width: 100%;
    margin: 0 0 28px;
  }

  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid,
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid-exteriores {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: none;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: auto;
    gap: 16px;
  }

  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid[hidden],
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid-exteriores[hidden] {
    display: none;
  }

  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid > div,
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid-exteriores > div {
    grid-area: auto !important;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid img,
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid-exteriores img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
  }

  /* Puntos de interés: tarjetas existentes, encabezado móvil. */
  .PuntosDeInteres-MAIN {
    padding-top: 64px;
  }

  .PuntosDeInteres-MAIN > br,
  .PuntosDeInteres-MAIN .pdi-title-desktop,
  .PuntosDeInteres-MAIN .pdi-copy-desktop {
    display: none;
  }

  .PuntosDeInteres-MAIN .pdi-mobile-kicker {
    width: calc(100% - 40px);
    margin: 0 auto;
    text-align: center;
  }

  .PuntosDeInteres-MAIN .pdi-title-mobile {
    width: calc(100% - 40px);
    margin: 15px auto 18px;
    color: #152443;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.15;
    text-align: center;
  }

  .PuntosDeInteres-MAIN .pdi-title-mobile span {
    color: #079bd4;
  }

  .PuntosDeInteres-MAIN .pdi-copy-mobile {
    width: calc(100% - 48px);
    margin: 0 auto 36px;
    padding: 0;
    color: #737b90;
    font-size: 16px;
    line-height: 1.55;
    text-align: center;
  }

  /* Ubicación. */
  .PuntosDeInteres-MAIN .ubicacion {
    align-items: flex-start;
    width: 100%;
    margin-top: 64px;
    padding: 60px 24px 68px;
    box-sizing: border-box;
    background: #fff;
  }

  .PuntosDeInteres-MAIN .ubicacion > br,
  .PuntosDeInteres-MAIN .ubicacion-address,
  .PuntosDeInteres-MAIN .ubicacion > .map-link {
    display: none;
  }

  .PuntosDeInteres-MAIN .ubicacion-mobile-kicker {
    margin: 0;
    text-align: left;
  }

  .PuntosDeInteres-MAIN .ubicacion > h3 {
    width: 100%;
    margin: 18px 0 24px;
    color: #152443;
    font-size: 31px;
    font-weight: 400;
    line-height: 1.18;
    text-align: left;
  }

  .PuntosDeInteres-MAIN .ubicacion-mobile-copy {
    width: 100%;
    margin: 0;
    color: #737b90;
    font-size: 16px;
    line-height: 1.58;
    text-align: left;
  }

  .PuntosDeInteres-MAIN .ubicacion > img {
    width: 100%;
    max-width: none;
    margin-top: 30px;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 14px 28px rgb(19 41 70 / 10%);
  }

  /* Otros desarrollos. */
  .DondeEmpiezaHistoria-MAIN {
    padding: 64px 24px 72px;
  }

  .DondeEmpiezaHistoria-MAIN > .section-kicker {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .2em;
    text-align: center;
  }

  .DondeEmpiezaHistoria-MAIN > h2 {
    max-width: 360px;
    margin: 18px auto 24px;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.12;
    text-align: center;
  }

  .DondeEmpiezaHistoria-MAIN > h2 span {
    display: block;
    font-weight: 400;
  }

  .DondeEmpiezaHistoria-MAIN > p {
    max-width: 360px;
    margin: 0 auto 42px;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.55;
    text-align: center;
  }

  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    gap: 22px;
  }

  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > article,
  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > div {
    width: 100% !important;
    height: 380px !important;
    min-height: 380px;
    flex: none !important;
    grid-area: auto !important;
    border-radius: 16px;
  }
  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid > div img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid .card-data{
    padding: 20px;
  }
  
  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid .card-data h3{
    font-size: 16px;
  }
  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid .card-data small{
    display: block;
    margin-top: 8px;
    color: #4aa3d5;
  }
}

/* Rediseño móvil: Cover, banda, formulario y amenidades */
@media (max-width: 768px) {
  .cover-MAIN {
    box-sizing: border-box;
    display: flex;
    height: auto;
    min-height: calc(100dvh - 60px);
    padding: 0;
    overflow: hidden;
  }

  .cover-MAIN .cover-video {
    height: 100%;
    object-position: center;
  }

  .cover-MAIN::after {
    background: linear-gradient(180deg, rgba(2, 12, 29, 0.38), rgba(2, 12, 29, 0.82));
  }

  .cover-MAIN .cover-layout {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    padding: 52px 22px 30px;
  }

  .cover-MAIN .cover-kicker {
    display: block;
    max-width: 32ch;
    font-size: 12px;
    line-height: 1.55;
  }

  .cover-MAIN .cover-left h1 {
    max-width: none;
    margin: 16px 0 22px;
    font-size: clamp(38px, 11.5vw, 54px);
    line-height: 1.02;
  }

  .cover-MAIN .cover-left > p {
    max-width: none;
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
  }

  .cover-MAIN .cover-btn {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin-top: 30px;
  }

  .cover-MAIN .cover-btn > button {
    box-sizing: border-box;
    justify-content: center;
    width: 100%;
    min-height: 62px;
    font-size: 16px;
  }

  .cover-MAIN .cover-right {
    width: 100%;
  }

  .cover-MAIN .glass-card {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 34px 0 0;
    padding: 28px;
    border-radius: 20px;
    background: rgba(4, 19, 55, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .cover-MAIN .glass-card .glass-card-heading {
    font-size: 13px;
  }

  .cover-MAIN .g-item b {
    font-size: 14px;
  }

  .cover-MAIN .g-item p {
    font-size: 13px;
  }

  .cover-MAIN .cover-bottom {
    flex-direction: column;
    gap: 0;
    padding: 12px 46px 28px;
    background: rgba(2, 12, 29, 0.72);
  }

  .cover-MAIN .cover-bottom > div {
    box-sizing: border-box;
    width: 100%;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .cover-MAIN .cover-bottom > div:last-child {
    border-bottom: 0;
  }

  .cover-MAIN .cover-bottom b {
    font-size: 27px;
  }

  .cover-MAIN .cover-bottom p {
    font-size: 12px;
  }

  .form-MAIN .band {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    padding: 44px 24px 48px;
  }

  .form-MAIN .band-left,
  .form-MAIN .band-center {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .form-MAIN .band-left {
    text-align: center;
  }

  .form-MAIN .band-left .band-heading {
    margin: 18px 0;
    font-size: 38px;
    line-height: 0.98;
  }

  .form-MAIN .band-left .band-heading span {
    margin-top: 10px;
    font-size: 18px;
  }

  .form-MAIN .band-line {
    justify-content: center;
  }

  .form-MAIN .band-left p {
    max-width: 34ch;
    margin: 22px auto 36px;
    font-size: 16px;
  }

  .form-MAIN .band-center {
    align-items: stretch;
    border: 0;
    background: transparent;
  }

  .form-MAIN .band-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
    width: 100%;
    margin: 0 0 38px;
  }

  .form-MAIN .band-features > div {
    width: auto;
  }

  .form-MAIN .band-features p {
    font-size: 15px;
  }

  .form-MAIN .band-image {
    display: none;
  }

  .form-MAIN .btn-black,
  .form-MAIN .band-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 58px;
    margin: 0 0 14px;
    border-radius: 8px;
    font-size: 13px;
    letter-spacing: 1.2px;
  }

  .form-MAIN .band-contact-btn {
    border: 2px solid #aeb6c2;
    background: transparent;
    color: #344054;
  }

  .form-MAIN .form {
    flex-direction: column;
    box-sizing: border-box;
    width: calc(100% - 40px);
    max-width: 520px;
    margin: 0 auto 48px;
    box-shadow: none;
  }

  .form-MAIN .form > div {
    box-sizing: border-box;
    width: 100% !important;
    padding: 28px 32px;
  }

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

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

  .form-MAIN .form > div:first-child .form-brand-heading {
    color: #1767b7;
    font-size: 31px;
    line-height: 1.12;
  }

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

  .form-MAIN .form > div:first-child h4 {
    font-size: 22px;
  }

  .form-MAIN .form > div:first-child > p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
  }

  .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;
  }

  .form-MAIN .form > div:first-child .form-wa {
    box-sizing: border-box;
    width: 100%;
    padding: 0 14px;
  }

  .form-MAIN .form > div:last-child {
    padding-top: 36px;
  }

  .form-MAIN .form > div:last-child .form-title {
    font-size: 25px;
    line-height: 1.25;
  }

  .form-MAIN .form > div:last-child .form-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "nombre" "apellido" "tel" "email" "msg" "check" "btn" "status";
    gap: 14px;
    margin-top: 32px;
  }

  .form-MAIN .form > div:last-child .form-grid > div input,
  .form-MAIN .form > div:last-child .form-grid > div textarea {
    box-sizing: border-box;
    width: 100%;
  }

  .form-MAIN .form > div:last-child .form-grid > div textarea {
    min-height: 90px;
  }

  .amenities-MAIN .amenities-grid > div,
  .amenities-MAIN .amenities-grid > div:first-child {
    justify-content: flex-end;
    min-height: 0;
    padding: 20px;
    aspect-ratio: 4 / 5;
    background-position: center;
  }

  .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: 100%;
    padding: 20px;
    border: 1px solid rgba(103, 165, 214, 0.24);
    border-radius: 12px;
    background: rgba(6, 20, 48, 0.78);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    transform: none;
  }

  .amenities-MAIN .amenities-grid .amenities-heading {
    display: flex;
    align-items: center;
  }

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

  .amenities-MAIN .amenities-grid .amenities-heading > p,
  .amenities-MAIN .amenities-grid > div:hover .amenities-heading > p {
    margin: 0;
    color: #2db5ff;
    opacity: 1;
    font-size: 22px;
    font-weight: 600;
  }

  .amenities-MAIN .amenities-grid > div .amenities-description,
  .amenities-MAIN .amenities-grid > div:hover .amenities-description {
    width: auto;
    margin: 12px 0 0 58px;
    padding: 0;
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
  }

  .botones-flotantes {
    right: 12px;
    bottom: 18px;
    z-index: 50;
  }

  body > button[aria-label="Open chat"] {
    right: 12px !important;
    bottom: 222px !important;
  }
}
  /* Grid de características en vertical */
  .typologies-MAIN .typology-card > .typology-data .typology-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 15px 0 25px 0;
  }
  .typologies-MAIN .typology-card > .typology-data .typology-grid > div {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .typologies-MAIN .typology-card > .typology-data .typology-grid > div img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
@media (max-width: 768px) {
  #todas-tipologias-container .tipologia-card-wrapper {
    width: 100%;
    margin: 0 auto 30px auto;
  }
  #todas-tipologias-container .typology-card {
    flex-direction: column;
    width: calc(100% - 20px);
    margin: 0 auto;
  }
  
  #todas-tipologias-container .typology-data > p {
    text-align: center;
    margin: 24px auto 12px auto;
    width: 100%;
    font-weight: 700;
  }
  
  #todas-tipologias-container .typology-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto 25px auto;
    width: 100%;
    max-width: 220px;
    align-items: flex-start; 
  }
  
  #todas-tipologias-container .typology-grid > div {
    display: flex;
    align-items: center;
    gap: 12px;
  }


  /* PorQueInvertir */
  .PorQueInvertir-MAIN > p {
    max-width: 90vw;
  }
  .PorQueInvertir-MAIN .PorQueInvertir-tiles {
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
    width: 90vw;
  }
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid {
    grid-template-areas: "A A" "A A" "C B" "D D";
    aspect-ratio: 1/2;
  }
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid-exteriores {
    grid-gap: 10px;
    width: calc(100% - 40px);
  }
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn-end {
    flex-direction: column;
    margin-bottom: 20px;
    width: calc(100% - 100px);
  }
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-btn-end > button {
    width: 100%;
    margin-bottom: 15px;
  }

  /* PuntosDeInteres */
  .PuntosDeInteres-MAIN .PuntosInteres-grid {
    width: calc(100% - 40px);
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .PuntosDeInteres-MAIN .PuntosInteres-grid > div {
    width: auto;
    padding: 15px;
    aspect-ratio: auto;
    min-height: 210px;
    min-width: 0;
  }
  .PuntosDeInteres-MAIN .PuntosInteres-grid > div > ul {
    padding-left: 16px;
    font-size: 1.6ch;
  }
  .PuntosDeInteres-MAIN .ubicacion > img {
    width: 100%;
    max-width: unset;
  }

  /* DondeEmpiezaHistoria */
  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid {
    grid-template-areas: "A A" "A A" "D D" "B C" "B C" "E C";
    aspect-ratio: 1/2;
    width: 90vw;
    max-width: unset;
  }

  /* FooterComponent */
  footer > section:first-child {
    flex-direction: column;
  }
  footer > section:first-child > div {
    width: 100%;
  }
  footer > section:first-child > div:nth-child(1) br {
    display: none;
  }
  footer > section:first-child > div:nth-child(1) > img {
    margin: 0;
  }
  footer > section:first-child > div:nth-child(3) {
    margin-top: 30px;
  }
  footer > section:last-child {
    flex-direction: column;
    align-items: center;
  }
  footer > section:last-child > div:last-child {
    flex-direction: column;
    margin-top: 10px;
  }
  footer > section:last-child > div:last-child img {
    margin-top: 10px;
  }
  footer > section:last-child > div:last-child .footer-conocenos {
    margin-top: 15px;
  }
}

/* Salvaguardas finales del rediseño móvil. Estas reglas cierran la cascada. */
@media (max-width: 768px) {
  .PorQueInvertir-MAIN .PorQueInvertir-tiles {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    width: 100%;
  }

  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: none;
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
  }
}

/* Cierre de cascada para los layouts que sustituyen grids históricos. */
@media (max-width: 768px) {
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid,
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid-exteriores {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: none;
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    gap: 16px;
  }

  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid[hidden],
  .GaleriaDesarrollo-MAIN .GaleriaDesarrollo-grid-exteriores[hidden] {
    display: none;
  }

  .DondeEmpiezaHistoria-MAIN .DondeEmpiezaHistoria-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    gap: 22px;
  }

  .typologies-MAIN .typologies-grid .typology-card > .typology-data .typology-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 0 0 24px;
    gap: 12px 8px;
  }

  .typologies-MAIN .typologies-grid .typology-card > .typology-data .typology-grid > div {
    gap: 7px;
    min-width: 0;
    font-size: 12px;
  }

  .typologies-MAIN .typologies-grid .typology-card > .typology-data .typology-grid > div img {
    width: 17px;
    height: 17px;
  }

  .GaleriaDesarrollo-MAIN .gallery-mobile-copy {
    font-family: "Inter", sans-serif;
  }

  .PuntosDeInteres-MAIN .ubicacion > .ubicacion-mobile-copy {
    text-align: left;
  }

  /* Footer */
  footer.footer-MAIN > .footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 42px 16px 40px;
  }

  footer.footer-MAIN > .footer-content > * {
    width: 100%;
  }

  footer.footer-MAIN .footer-brand > img {
    width: 195px;
    margin: 0 0 26px;
  }

  footer.footer-MAIN .footer-brand > p {
    max-width: none;
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
    line-height: 1.65;
  }

  footer.footer-MAIN .footer-navigation .footer-heading,
  footer.footer-MAIN .footer-contact .footer-heading {
    margin-bottom: 22px;
    font-size: 15px;
  }

  footer.footer-MAIN .footer-navigation > a {
    margin-bottom: 12px;
    font-size: 14px;
  }

  footer.footer-MAIN .footer-contact address,
  footer.footer-MAIN .footer-contact > p,
  footer.footer-MAIN .footer-email {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.62;
  }

  footer.footer-MAIN .footer-socials {
    margin-top: 12px;
  }

  footer.footer-MAIN > .footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 20px 20px 28px;
    text-align: center;
  }

  footer.footer-MAIN > .footer-legal > p {
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
  }

  footer.footer-MAIN > section.footer-content {
    margin: 0;
    padding: 42px 16px 40px;
  }

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

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

  /* Ajuste final del encabezado y el primer bloque del cover. */
  .nav-cel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    height: 88px;
    padding: 12px 18px;
    background: #fff;
  }

  nav.nav-cel > img.nav-cel-logo:first-child {
    width: auto;
    height: 58px;
    scale: 1;
    cursor: pointer;
  }

  .nav-cel > .nav-cel-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 27px;
    height: 21px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-cel > .nav-cel-menu > span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #2f94ee;
  }

  .cover-MAIN {
    min-height: calc(100dvh - 88px);
  }

  .cover-MAIN .cover-layout {
    padding: 46px 18px 30px;
  }

  .cover-MAIN .cover-left {
    width: 100%;
    min-width: 0;
  }

  .cover-MAIN .cover-kicker {
    max-width: 31ch;
    font-size: 12px;
    line-height: 1.55;
  }

  .cover-MAIN .cover-left h1 {
    margin: 16px 0 22px;
    font-size: clamp(36px, 9.5vw, 39px);
    line-height: 1.04;
  }

  .cover-MAIN .cover-left > p {
    width: 100%;
    font-size: 16px;
    line-height: 1.4;
  }

  .cover-MAIN .cover-btn {
    margin-top: 32px;
  }

  .cover-MAIN .cover-btn > button {
    display: flex;
    flex: 0 0 auto;
    align-self: stretch;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none;
    min-height: 54px;
    font-size: 15px;
  }

  .cover-MAIN .cover-btn > a {
    display: block;
    width: 100%;
    max-width: none;
    text-decoration: none;
  }

  .cover-MAIN .cover-btn > a > button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 54px;
    font-size: 15px;
  }

  /* Donde empieza tu historia homologado. */
  section.DondeEmpiezaHistoria-MAIN.sand-empieza-historia {
    padding: 50px 22px 30px;
  }

  .sand-empieza-historia > .eyebrow {
    margin-bottom: 16px;
    font-size: 9px;
    letter-spacing: 3px;
  }

  .sand-empieza-historia > h2 {
    max-width: 12ch;
    margin: 0 auto 16px;
    font-size: 28px;
    line-height: 1.15;
  }

  .sand-empieza-historia > p {
    max-width: 32ch;
    margin: 0 auto 32px;
    font-size: 13px;
    line-height: 1.5;
  }

  .sand-empieza-historia .empieza-historia-grid {
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    width: 100%;
    max-width: none;
    gap: 18px;
  }

  .sand-empieza-historia .empieza-historia-grid > div {
    width: 100%;
    height: 340px;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 16px;
  }

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

  /* Proporciones y tipografía de amenidades en móvil. */
  .amenities-MAIN .amenities-grid > div,
  .amenities-MAIN .amenities-grid > div:first-child {
    position: relative;
    min-height: 0;
    padding: 20px;
    aspect-ratio: 14 / 15;
  }

  .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 > div > .amenities-copy,
  .amenities-MAIN .amenities-grid > div:hover > .amenities-copy {
    width: calc(100%);
    max-width: none;
    padding: 18px;
    font-family: "Poppins", sans-serif;
    background: rgba(6, 20, 48, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .amenities-MAIN .amenities-grid .amenities-heading > p,
  .amenities-MAIN .amenities-grid > div:hover .amenities-heading > p {
    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 {
    max-width: none;
    margin: 10px 0 0;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
  }

  .amenities-MAIN .amenities-grid .amenities-copy > .amenities-gallery-cta {
    display: block;
    align-self: center;
    width: min(266px, 100%);
    max-width: 100%;
    height: auto;
    margin: 12px auto 0;
    object-fit: contain;
    content: url("./assets/ver-galeria-cel.png");
  }

  .amenities-title-visible{
    color:#2db5ff !important;
  }

  .typology-grid,
  .typology-grid > div {
    font-family: "Manrope", sans-serif;
  }

  .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 {
    padding: 0 20px 24px;
  }

  .sand-empieza-historia .card-data h3 {
    font-size: 22px;
  }

  .sand-empieza-historia .card-data span {
    font-size: 15px;
  }

  .sand-empieza-historia .card-data small {
    margin-top: 16px;
    font-size: 16px;
  }

  .development-gallery-modal {
    padding: 20px;
  }

  .development-gallery-dialog {
    display: block;
    width: 100%;
    max-width: 560px;
  }

  .development-gallery-dialog figure {
    width: 100%;
  }

  .development-gallery-image {
    width: 100%;
    max-height: 72vh;
    border-radius: 10px;
  }

  .development-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    transform: translateY(-50%);
  }

  .development-gallery-arrow:hover {
    transform: translateY(-50%) scale(1.06);
  }

  .development-gallery-arrow-prev {
    left: 8px;
  }

  .development-gallery-arrow-next {
    right: 8px;
  }

  .development-gallery-close {
    top: -15px;
    right: -10px;
  }

  .development-gallery-dialog figcaption {
    margin-top: 9px;
    font-size: 11px;
  }

  .project-image-modal {
    padding: 20px;
  }

  .project-image-dialog {
    width: 100%;
    max-width: 560px;
  }

  .project-image-full {
    width: 100%;
    max-height: 76vh;
    border-radius: 10px;
  }

  .project-image-close {
    top: -14px;
    right: -10px;
  }

  .PopupTypology-MAIN {
    padding: 20px;
  }

  .PopupTypology-MAIN > section {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
  }

  .PopupTypology-MAIN .PopupTypology-label {
    top: 14px;
    left: 16px;
    min-width: 88px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .PopupTypology-MAIN .PopupTypology-plan {
    max-height: 76vh;
  }

  .PopupTypology-MAIN .PopupTypology-close {
    top: 7px;
    right: 7px;
  }
}
