/* =========================================
   1. FUENTES Y BASE
========================================= */
@font-face {
    font-family: "Athena";
    src: url("assets/fonts/ATHENA/Athena-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Adelle Sans";
    src: url("assets/fonts/ADELLE/fonnts.com-Adelle_Sans_Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Adelle Sans";
    src: url("assets/fonts/ADELLE/fonnts.com-Adelle_Sans_ARA_Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Adelle Sans";
    src: url("assets/fonts/ADELLE/fonnts.com-Adelle_Sans_Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-size: 16px;
    margin: 0;
    padding: 0;
    font-family: "Adelle Sans", system-ui, -apple-system, sans-serif;
    color: #111;
}

main {
    overflow-x: hidden;
    max-width: 100%;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: 400;
}

.font-athena {
    font-family: "Athena", serif;
}

/* LOGICA VISUALIZACIÓN DE ETAPAS (NUEVO) */
.stage-view {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.stage-view.active-view {
    display: block;
    opacity: 1;
}

/* BOTONES COMO TABS (Ajustes para que parezcan botones clicables) */
.nosotros-tabs button {
    cursor: pointer;
    border: none;
    font-size: 1rem;
    /* Heredar o resetear si es necesario */
}


/* --- REGLA MAESTRA: SECCIONES --- */
/* IMPORTANTE: Quitamos el símbolo ">" para que aplique a las secciones anidadas dentro de los divs de etapa */
main section:not(.footer) {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 4rem 0;
}

/* Contenedores internos */
[class$="-inner"],
.contenido-hero {
    width: min(1400px, 92%);
    margin: 0 auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
}

/* =========================================
   2. NAVBAR
========================================= */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, .20);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.nav-contain {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.nav-bar img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    text-transform: uppercase;
}

.nav-bar a {
    text-decoration: none;
    color: #111;
    transition: color 0.3s;
}

.nav-bar a:hover,
.nav-bar a.nav-cta {
    color: rgb(215, 174, 58);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 1rem;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    border-radius: 2px;
}

/* =========================================
   3. HERO
========================================= */
.hero {
    background-image: url(assets/01HOME/FONDOHOME.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left bottom;
    padding: 0;
}

.contenido-hero {
    text-align: left;
}

h1 {
    font-family: "Adelle Sans", sans-serif;
    font-size: clamp(3.2rem, 5vw, 6rem);
    text-transform: uppercase;
    letter-spacing: clamp(2px, 0.8vw, 11px);
    /* line-height: 1.05;  <-- PUEDES QUITAR O COMENTAR ESTA LÍNEA, ya no será la principal responsable */
    line-height: 1; /* Un valor de 1 suele ser un buen punto de partida si usas el método de bloques */
}

h1 span {
    display: block;
}

.text-short {
    font-size: clamp(2rem, 2.5vw, 3.5rem);
    letter-spacing: clamp(1px, 0.6vw, 6px);
   
    margin-top: 0.3em; 
    margin-bottom: 0.3em; /* Espacio hacia la línea de abajo */
}

.text-large {
    font-size: clamp(5rem, 9vw, 11rem);
    /* NUEVO: Ajuste fino para la última línea */
    margin-top: 0em;
    line-height: 0.9; /* A veces los textos muy grandes necesitan un line-height propio menor a 1 para no generar mucho espacio extra arriba y abajo */
}

/* =========================================
   4. NOSOTROS
========================================= */
.nosotros,
.nosotros--v1 {
    background-image: url("new-assets/Master-Plan-Background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.nosotros::before,
.nosotros--v1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .70);
    z-index: 0;
}

.nosotros-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 5rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

.nosotros-tabs {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: clamp(1.2rem, 3vw, 2.6rem);
    margin-bottom: 2rem;
}

.nosotros-tabs .tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(11rem, 14vw, 20rem);
    height: clamp(2.6rem, 3.2vw, 5.2rem);
    border-radius: 14px;
    text-decoration: none;
    font-family: "Athena", serif;
    font-size: clamp(1.3rem, 1.6vw, 2.8rem);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(90deg, rgba(40, 40, 40, .95) 0%, rgba(96, 96, 96, .75) 45%, rgba(180, 130, 80, .85) 70%, rgba(80, 100, 105, .90) 100%);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 255, 255, .20);
    backdrop-filter: blur(6px);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.nosotros-tabs .tab:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.nosotros-tabs .tab.tab--active {
    transform: scaleX(1.08);
    filter: brightness(1.12);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .34), 0 0 22px rgba(205, 151, 1, 0.9);
    border-color: rgba(255, 255, 255, .45);
}

.nosotros-left {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nosotros-logo {
    height: clamp(7rem, 8vw, 11rem);
    width: auto;
    margin: 0 0 2rem;
}

.nosotros-text {
    text-align: center;
    max-width: 30ch;
    margin: 0 auto;
    font-size: clamp(2rem, 1.8vw, 2.4rem);
    line-height: 1.4;
}

.nosotros-badge,
.nosotros-count {
    margin-top: 2rem;
    display: grid;
    gap: .6rem;
    justify-items: center;
    text-align: center;
}

.badge-number,
.count-number {
    font-family: "Athena", serif;
    font-weight: 700;
    font-size: clamp(3rem, 4.2vw, 6rem);
    line-height: 1;
}

.badge-sub,
.count-label {
    font-family: "Athena", serif;
    text-transform: uppercase;
    letter-spacing: .35em;
    font-size: clamp(1.25rem, 2.25vw, 2.4rem);
}

.nosotros-right {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nosotros-plan {
    width: min(980px, 100%);
    height: auto;
    filter: drop-shadow(0 18px 35px rgba(0, 0, 0, .20));
}

/* =========================================
   5. INTERIORES (Etapa 1)
========================================= */
.interiores {
    background-image: url("new-assets/Interiores-Background.jpg");
    background-size: cover;
    background-position: center;
}

.interiores2{
    background-image: url("new-assets/CAS_INTERIORES_BG.png");
    background-size: cover;
    background-position: center;
}

.interiores-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.interior-card {
    text-align: left;
}

.interior-title {
    margin: 0 0 1.2rem;
    font-family: "Athena", serif;
    font-size: clamp(1.6rem, 2vw, 2.4rem);
    letter-spacing: .08em;
    display: inline-block;
    border-bottom: 2px solid rgba(0, 0, 0, .18);
    padding-bottom: .4rem;
}

.interior-media img {
    border-radius: 10px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .18);
}

.interiores-note {
    grid-column: 1 / -1;
    margin: 3rem auto 0;
    text-align: center;
    font-size: clamp(1.2rem, 1.2vw, 1.6rem);
    color: #ffffff;
}

/* =========================================
   6. EXAMPLES (IMÁGENES JUNTAS)
========================================= */
.examples {
    background-image: url(new-assets/Interiores-Background.jpg);
    background-size: cover;
    background-position: center;
}

.examples-contain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
    justify-content: center;
    height: 100%;
}

.examples-contain .image1,
.examples-contain .image2 {
    position: relative;
    height: clamp(400px, 65vh, 800px);
    width: 100%;
}

.examples-contain h3 {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: .08em;
    margin: 0;
    text-transform: uppercase;
    font-family: "Athena", serif;
    font-size: clamp(1.6rem, 2vw, 2.4rem);
}

.examples-contain img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
    object-fit: cover;
}

.examples-text {
    width: min(1400px, 92%);
    margin: 2rem auto 0;
    text-align: center;
    font-size: clamp(1.1rem, 1.2vw, 1.6rem);
}

/* =========================================
   7. MODELOS - SOLUCIÓN "ALTA" Y SIN BORDES BLANCOS
========================================= */
section.modelos {
    padding: 0 !important;
    display: block;
}

.modelos-merge {
    background-image: url("new-assets/Plantas-tipo- casas-Background.jpg");
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.modelos-heading {
    position: absolute;
    top: clamp(1.6rem, 2.2vw, 2.8rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 21;
    margin: 0;
    font-family: "Athena", serif;
    font-size: clamp(2.8rem, 4.5vw, 6rem);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 8px 26px rgba(0, 0, 0, .35);
    pointer-events: none;
}

.mc-viewport {
    width: 100%;
    height: 100%;
}

.mc-track {
    display: flex;
    transition: transform .45s ease;
    will-change: transform;
    height: 100%;
}

.mc-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mc-layout {
    width: auto;
    max-width: 1600px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.mc-plantas {
    display: flex;
    align-items: flex-end;
    gap: 0;
    z-index: 1;
}

.mc-planta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

.mc-planta-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, .92);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 5px;
}

.mc-planta-img.mc-baja {
    height: clamp(400px, 65vh, 800px);
    width: auto;
}

.mc-planta-img.mc-alta {
    height: clamp(320px, 55vh, 700px);
    width: auto;
}

.mc-info,
.mc-info2 {
    width: clamp(340px, 35vw, 480px);
    padding: clamp(2.5rem, 3vw, 4rem);
    background: rgba(255, 255, 255, .20);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: #fff;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mc-info {
    margin-left: 10px;
}

.mc-info2 {
    margin-left: -20px;
}

.mc-info2-stack {
    position: relative;
    width: clamp(280px, 25vw, 380px);
    margin-left: -20px;
    min-height: 430px;
}

.ppc-info-card {
    position: absolute;
    inset: 0;
    margin-left: 0;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity .45s ease, transform .45s ease;
}

.ppc-info-card.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mc-title {
    font-family: "Athena", serif;
    font-size: clamp(3.5rem, 5vw, 6rem);
    text-transform: uppercase;
    margin: .6rem 0 1.4rem;
    line-height: 1.05;
}

.mc-title-note {
    font-size: clamp(1.2rem, 1.45vw, 1.6rem) !important;
    line-height: 1.15;
    letter-spacing: .03em;
}

.mc-list {
    padding: 0;
    list-style: none;
    display: grid;
    gap: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: clamp(1.3rem, 1.3vw, 1.8rem);
}

.mc-btn {
    position: absolute;
    z-index: 20;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, .3);
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.mc-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.mc-btn.prev {
    left: 30px;
}

.mc-btn.next {
    right: 30px;
}

.mc-dots {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.mc-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .30);
}

.mc-dot.is-active {
    background: rgba(255, 255, 255, .80);
}

/* =========================================
   8. AMENIDADES, CRÉDITO, UBICACIÓN, CONTACTO
========================================= */
.amenidades {
    background-image: url(new-assets/Amenidades.jpg);
    background-size: cover;
    background-position: center;
    align-items: center;
    justify-content: flex-start;
}

.amenidades-contain {
    margin-left: clamp(2rem, 15vw, 300px);
}

.amenidades-contain h2 {
    text-transform: uppercase;
    background-color: #2c463f;
    color: #fff;
    padding: 0 20px;
    border-radius: 10px;
    font-size: clamp(2rem, 3vw, 3rem);
}

.credito {
    background: #f6f1ea;
}

.credito-inner {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.credito-head h2 {
    font-family: "Athena", serif;
    font-size: clamp(3.2rem, 4vw, 6rem);
    color: #2c463f;
    text-transform: uppercase;
}

.credito-head a {
    display: inline-block;
    margin-top: .6rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #2c463f;
    font-weight: 700;
}

.credito-media {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* UBICACION */

.ubicacion {
    background: #f6f4f1;
}

.ubicacion-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.ubicacion-title {
    font-family: "Athena", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #000000;
}

.ubicacion-cta {
    position: absolute;
    right: 0;
    color: #000000;
    opacity: 0.9;
    font-size: 0.95rem;
}

.ubicacion-media {
    width: 100%;
    border-radius: 6px;
    box-shadow: 20px 20px 20px 20px rgba(0, 0, 0, 0.5);
    
}


/* CONTACTO */

.contacto {
    background-image: url("assets/08FORMULARIO/10kO75zNDZUszROvXSbpuMVqtjs.avif");
    background-size: cover;
    background-position: center;
}

.contacto::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.65) 75%, rgba(255, 255, 255, 0.11) 100%);
    pointer-events: none;
}

.contacto-inner {
    grid-template-columns: 380px 1fr;
    gap: 4rem;
    align-items: center;
    display: grid;
}

.contacto-card {
    /* background: rgba(255, 255, 255, 0.85);
    border-radius: 22px;
    padding: 2.5rem;
    color: #1f2b27;
    backdrop-filter: blur(6px);
    text-align: center; */

    width: clamp(340px, 35vw, 300px);
    padding: clamp(2.5rem, 3vw, 4rem);
    background: rgba(255, 255, 255, .20);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: #fff;
    z-index: 10;

    /* display: flex;
    flex-direction: column;
    justify-content: center; */

    text-align: center;
}

.contacto-card p{
    color: #000000;
}

.contacto-title {
    font-family: "Athena", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0.5rem 0;
    color: #000000;
}

.contacto-text {
    font-family: "Athena", serif;
    font-size: 17px;
}

.contacto-panel {
    width: 100%;
    display: flex;
    justify-content: center;
}

.contacto-form {
    width: min(520px, 100%);
    display: grid;
    gap: 1.1rem;
}

.contacto-form input {
    padding: 1.2rem;
    border-radius: 10px;
    border: 0;
    outline: none;
    background: rgba(255, 255, 255, 0.8);
}

.contacto-btn {
    padding: 0.9rem 3.2rem;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    background: #f2c300;
    color: #1f2b27;
    justify-self: center;
    font-weight: bold;
}

/* =========================================
   9. FOOTER
========================================= */
.footer {
    background-color: #f6f4f1;
    padding: 4.5rem 0;
    color: #000000;
    min-height: auto;
}

.footer-inner {
    width: min(1400px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.footer-address p {
    font-size: 1.7rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.social {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.social img {
    width: 34px;
    height: 34px;
}

.footer-brand {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.footer-logo {
    height: 42px;
    width: auto;
}

.wa-float {
    position: fixed;
    right: 2.2rem;
    bottom: 10px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 9999;
}

.wa-float img {
    width: 50px;
    height: 50px;
}

.wa-float:hover {
    transform: translateY(-2px);
}

/* =========================================
   10. MEDIA QUERIES
========================================= */

/* --- TABLETS Y MENÚ HAMBURGUESA (Hasta 810px) --- */
@media (max-width: 810px) {

    /* 1. Navegación */
    .nav-toggle {
        display: block;
    }

    .nav-bar img {
        margin-left: 0;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        background: rgba(255, 255, 255, .90); /* Ajusté opacidad para legibilidad */
        padding: 1rem 2rem;
        border-top: 1px solid rgba(255, 255, 255, .15);
        backdrop-filter: blur(20px);
    }

    .nav-bar.is-open .nav-list {
        display: flex;
    }

    /* 2. Hero y Textos Generales */
    .hero {
        background-size: cover;
        background-position: 100% bottom;
    }

    .contenido-hero {
        text-align: center;
        justify-content: center;
    }

    /* 3. Grids y Layouts (Colapsar a 1 columna) */
    .nosotros-inner,
    .interiores-inner,
    .credito-inner,
    .ubicacion-inner,
    .contacto-inner,
    .footer-inner,
    .examples-contain {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        justify-items: center; /* Centra elementos grid */
    }

    /* Ajustes específicos de Nosotros */
    .nosotros-left {
        max-width: 100%;
    }
    .nosotros-right {
        justify-content: center;
    }

    /* Ajustes específicos de Ubicación */
    .ubicacion-head {
        flex-direction: column;
        position: static;
    }
    .ubicacion-cta {
        position: static;
        transform: none;
        margin-top: 1rem;
    }

    /* Ajustes específicos de Footer */
    .footer-brand,
    .footer-address {
        justify-self: center;
        text-align: center;
    }

    /* 4. Carruseles (Modelos) */
    .mc-layout {
        flex-direction: column;
        gap: 1rem;
    }

    .modelos-merge {
        padding: 7rem 1.2rem 3rem;
    }

    .modelos-heading {
        top: 1.4rem;
        letter-spacing: .12em;
    }

    .mc-plantas {
        gap: 5px;
    }

    .mc-planta-img.mc-baja {
        height: 45vh;
        margin-left: -20px;
    }

    .mc-planta-img.mc-alta {
        height: 35vh;
        margin-left: -20px;
    }

    .mc-info,
    .mc-info2 {
        margin-left: 0px;
        margin-top: -15px; /* Superposición vertical */
        width: 90%;
        height: auto;
        padding: 2rem;
    }

    .mc-info2-stack {
        margin-left: 0;
        margin-top: -15px;
        width: 90%;
        min-height: 360px;
    }

    /* 5. Contacto Formulario */
    .contacto-inner {
        width: min(560px, 92%);
    }

    /* 6. Galería Examples */
    .examples-contain {
        display: block; /* Fallback */
        height: auto;
    }
    .examples-contain .image1,
    .examples-contain .image2 {
        height: 50vh;
        margin-bottom: 2rem;
        width: 100%;
    }

    /* 7. AMENIDADES - TABLET */
    .amenidades {
        background-image: url("new-assets/Amenidades_tablet.jpg");
        background-position: center top; /* Alineado arriba para que no corte el título */
    }

    .amenidades-contain {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    /* Opcional: Ocultar el título H2 si la imagen ya trae el texto "AMENIDADES" */
    .amenidades-contain h2 {
        display: none; 
    }
}

/* --- MOVILES (Hasta 480px) --- */
@media (max-width: 480px) {
    
    /* 1. AMENIDADES - MÓVIL */
    .amenidades {
        background-image: url("new-assets/Amenidades_movil.jpg");
        background-position: center top;
    }

    .hero {
        background-size: cover;
        background-position: 90% bottom;
    }

    .modelos-merge {
        padding-top: 6.2rem;
    }

    .modelos-heading {
        top: 1.2rem;
        font-size: clamp(2.4rem, 9vw, 3.2rem);
    }

    /* 2. Ajustes finos para pantallas muy pequeñas */
    h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem); /* Títulos más pequeños */
    }

    .text-large {
        font-size: clamp(3.5rem, 10vw, 5rem);
    }

    /* Ajuste de altura en plantas para que quepan en pantallas chicas */
    .mc-planta-img.mc-baja {
        height: 35vh; 
    }
    .mc-planta-img.mc-alta {
        height: 25vh;
    }

    /* Ajuste de padding en secciones */
    main section:not(.footer) {
        padding: 2rem 0;
    }

    .mc-info, .mc-info2 {
        margin-top: -10px;
    }

    .mc-info2-stack {
        margin-top: -10px;
        min-height: 340px;
    }

    .ubicacion-media{
        min-height: 50vh;
    }

    
}

/* .mapa-interactivo iframe {
    width: 100%;
    height: 400px; /* Altura fija que se ve bien en móvil 
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

@media (max-width: 480px) {
    .mapa-interactivo iframe {
        height: 500px; /* Más alto en móviles si quieres llenar espacio 
    }
} */

/* --- AJUSTES ETAPA 2 --- */

.mc-plantas.single-view {
    align-items: center; /* Centrado vertical para que luzca mejor junto a la card */
    justify-content: center;
}

/* Estilo para la imagen única */
.mc-planta-img.mc-single {

    height: clamp(450px, 65vh, 750px);
    width: auto;
    object-fit: contain;
    margin-right: 30px;
    /* Sombra opcional para darle profundidad */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* Mini carrusel de PNG solo para MODELO PB (Etapa 2) */
.pb-png-carousel {
    position: relative;
    width: fit-content;
}

.pb-png-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s ease;
}

.pb-png-slide.is-active {
    opacity: 1;
    position: relative;
}

.pb-png-label {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    padding: .5rem .8rem;
    border-radius: 6px;
}

/* Ajuste móvil */
@media (max-width: 810px) {
    .mc-planta-img.mc-single {
        height: 50vh; /* Altura controlada en celular */
        margin-left: 0; /* Quitamos márgenes negativos si existían */
    }
}

/* =========================================
   REDUCCIÓN DE CARDS (ETAPA 1 Y 2)
========================================= */

/* 1. Reducir tamaño de la caja en ambas etapas */
.mc-info,
.mc-info2 {
    /* Hacemos la tarjeta más angosta (Max 380px) */
    width: clamp(280px, 25vw, 380px) !important; 
    
    /* Quitamos un poco de relleno interno */
    padding: 2rem 2.5rem !important;
    
    /* La centramos verticalmente respecto a la imagen */
    align-self: center;
}

/* 2. Reducir ligeramente los textos para que quepan bien */
.mc-title {
    font-size: clamp(2.5rem, 3.5vw, 4rem) !important;
    margin-bottom: 1rem !important;
}

.mc-list {
    font-size: clamp(1.1rem, 1vw, 1.4rem) !important;
    gap: 0.5rem !important;
}

/* Titulo especial (Etapa 2) mas pequeno que el resto de modelos */
.mc-title.mc-title-note {
    font-size: clamp(1.6rem, 2vw, 2.3rem) !important;
    line-height: 1.12 !important;
    margin-bottom: 0.6rem !important;
}

.mc-title-note-sub {
    display: inline-block;
    font-size: 0.82em;
    line-height: 1.05;
}

