* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F9F9F9;
    font-family: 'Inter', sans-serif;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(6px);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFFFFF;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav a {
    color: #E5E7EB;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
}

.nav a:hover {
    color: #FFFFFF;
}

.btn-header {
    padding: 8px 16px;
    background-color: #1E3A8A;
    border-radius: 6px;
    color: #FFFFFF !important;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
}

@media screen and (max-width: 460px) {
    .header-container {
        flex-direction: column;
        gap: 12px;
    }

    .nav {
        width: 100%;
        justify-content: center;
    }

    .btn-header {
        padding: 8px 14px;
        font-size: 14px;
    }
}


h1,
h2,
h3,
h4,
h5 {
    margin: 0;
}

h1,
h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
}

section {
    width: 100%;
}

a {
    text-decoration: none;
}

main {
    line-height: 1.5;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

button,
.btn-cta,
.btn-header {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

button:hover,
.btn-cta:hover,
.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.hero {
    width: 100%;
    height: 500px;
    background-color: #CBD5E1;
    position: relative;
    overflow: hidden;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF;
    padding: 16px;
    max-width: 90%;
}

.hero-text h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-text p {
    font-size: 1rem;
    margin-bottom: 16px;
    color: #E5E7EB;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.precio-terreno {
    margin: 16px 0 24px;
    padding: 12px 18px;
    display: inline-block;

    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;

    background: #1f2937;
    border-left: 4px solid #16a34a;
    border-radius: 6px;
}

.precio-terreno i {
    margin-right: 8px;
    color: #16a34a;
}

.hero-text .btn-cta {
    padding: 12px 24px;
    background-color: #1E3A8A;
    border-radius: 6px;
    color: #FFFFFF;
    font-weight: 500;
    text-decoration: none;
}

.hero-text .btn-cta:hover {
    background-color: #3749C3;
}


.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF;
    padding: 16px;
    max-width: 90%;
    font-weight: bold;
}

.hero-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 12px;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);

}

.hero-text p {
    font-size: 1rem;
    margin-bottom: 16px;
    color: #E5E7EB;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}


.hero-text .btn-cta {
    padding: 12px 24px;
    background-color: #1E3A8A;
    border-radius: 6px;
    color: #FFFFFF;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}


.hero-text .btn-cta:hover {
    background-color: #3749C3;
}


@media screen and (min-width:300px) and (max-width: 600px) {
    .hero-text {
        padding: 12px;
        max-width: 95%;
    }

    .hero-text h2 {
        font-size: 1.6rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-text .btn-cta {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .precio-terreno {
        display: flex;
        justify-content: center;
        margin: 5px 0 10px;
        padding: 8px 18px;
        display: inline-block;
        width: 250px;

        font-size: 1.1rem;
        font-weight: 600;
        color: #1f2937;

        background: #1f2937;
        border-left: 4px solid #16a34a;
        border-radius: 6px;
    }

    .precio-terreno i {
        margin-right: 8px;
        color: #16a34a;
    }

}


.zona2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background-color: #F4F4F4;
}

.separador {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 16px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    width: 300px;
    gap: 10px;
    border: 3px solid #0F172A;
    background-color: #FFFFFF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 1.5rem;
    color: #0F172A;
    margin-bottom: 3px;
}

.card .card-text {
    font-size: 1rem;
    color: #334155;
}

.micro-benefit {
    font-size: 1.2rem;
    color: #0F172A;
    margin-bottom: 8px;
    margin-top: auto;
}

.extra-info {
    display: none;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.card button {
    margin-top: auto;
    background-color: #0F172A;
    color: #FFFFFF;
    border-radius: 5px;
    border: none;
    padding: 10px 15px;
}

.card button:hover {
    background-color: #1E293B;
}

.zona3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background-color: #FFFFFF;
}

.contenedor {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 20px;
}

.imagen-beneficios {
    width: 300px;
}

.imagen-beneficios img {
    width: 100%;
    border-radius: 8px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.imagen-beneficios img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.beneficios {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    justify-content: center;
}

@media screen and (min-width: 320px) and (max-width: 400px) {
    .beneficios {
        max-width: 200px;
    }
}

.zona4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 6%;
    gap: 40px;
    background-color: #F4F4F4;
}

.galeria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}

.imagen-galeria {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.imagen-galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeria .caption {
    text-align: center;
    font-size: 0.85rem;
    color: #0F172A;
    margin-top: 6px;
}

.uno {
    grid-column: span 2;
    grid-row: span 2;
}

.dos,
.tres {
    grid-column: span 1;
    grid-row: span 1;
}

.cuatro {
    grid-column: span 2;
    grid-row: span 1;
}

.cinco {
    grid-column: span 4;
    grid-row: span 1;
}

.imagen-galeria:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.imagen-galeria:hover img {
    transform: scale(1.05);
}

.zona5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background-color: #FFFFFF;
}

.mapa {
    width: 80%;
    margin: 16px 0 32px;
}

.mapa iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

@media screen and (min-width: 300px) and (max-width: 400px) {
    .mapa {
        width: 95%;
        margin: 16px 0 32px;
    }

    .mapa iframe {
        width: 100%;
        height: 350px;
        border: 0;
    }
}

.zona6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background-color: #F4F4F4;
    width: 100%;
}

.croquis {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.informacion-croquis {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    line-height: 1.5;
}

.informacion-croquis li {
    list-style: none;
}

.informacion-croquis ul {
    padding-left: 0;
    margin: 0;
}

.imagen-croquis img {
    width: 300px;
    border-radius: 8px;
    margin-top: 20px;
}

figcaption {
    font-size: 0.75rem;
    color: #475569;
    text-align: center;
    margin-top: 8px;
    width: 300px;
}

.zona7 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background-color: #FFFFFF;
}

.lista-tecnica {
    list-style: none;
    max-width: 700px;
    padding: 0;
}

.lista-tecnica li {
    padding: 12px 0;
    border-bottom: 1px solid #E5E7EB;
    font-size: 1rem;
    color: #334155;
}

.lista-tecnica li strong {
    color: #0F172A;
}

.zona8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 80px 24px;
    background-color: #0F172A;
    color: #F8FAFC;
}

.zona8 h2 {
    font-size: 2rem;
    max-width: 700px;
}

.zona8 p {
    font-size: 1rem;
    max-width: 600px;
    color: #CBD5E1;
}

.zona8 .btn-cta {
    padding: 14px 28px;
    background-color: #1E3A8A;
    border-radius: 8px;
    color: #FFFFFF;
    font-weight: 500;
}

.zona8 .btn-cta:hover {
    background-color: #3749C3;
}

.zona9 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 24px;
    background-color: #F8FAFC;
}

.zona9 h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 8px;
    color: #0F172A;
}

.zona9 .subtitulo-form {
    font-size: 16px;
    color: #475569;
    margin-bottom: 40px;
    text-align: center;
    max-width: 520px;
}

.zona9 .formulario form {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.zona9 .formulario label {
    font-size: 13px;
    font-weight: 500;
    color: #0F172A;
}

.zona9 .formulario input {
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    padding: 14px 16px;
    font-size: 15px;
}

.zona9 .formulario input:focus {
    outline: none;
    border-color: #1E3A8A;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

.zona9 .formulario button {
    margin-top: 12px;
    padding: 14px;
    background-color: #1E3A8A;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
}

#mensaje {
    width: 100%;
    min-height: 150px;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    background-color: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#mensaje:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}


.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.lightbox.activo {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.activo img {
    transform: scale(1);
}

.cerrar {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 36px;
    color: white;
    cursor: pointer;
}

@media (max-width: 900px) {
    .galeria {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .uno {
        grid-column: span 2;
        grid-row: span 1;
    }

    .cinco {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .hero-text h2 {
        font-size: 1.6rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .galeria {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
    }

    .uno,
    .dos,
    .tres,
    .cuatro,
    .cinco {
        grid-column: span 1;
        grid-row: span 1;
    }
}


@media screen and (min-width: 300px) and (max-width:400px) {
    h2 {
        font-size: 25px;
    }

}

.footer {
    background-color: #0F172A;
    color: #E5E7EB;
    padding-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px 32px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.footer-info p,
.footer-contacto p {
    font-size: 0.9rem;
    line-height: 1.6;
}

footer .marca a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 500;
}

.footer-copy {
    text-align: center;
    padding: 16px;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}