﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: #ffffff;
}

p {
    text-align: justify;
    text-align-last: left;
}

button,
input,
textarea,
select {
    font: inherit;
}


:root {
    --content-max: 2200px;
    --page-gutter: clamp(28px, 4vw, 64px);
    --mega-strip-height: 56px;
    --logo-verde: #72B947;
    --logo-verde-oscuro: #3F7D36;
    --logo-verde-claro: #EEF7E8;
    --logo-amarillo: #F2A62A;
    --logo-gris: #303735;
    --logo-blanco: #FFFFFF;
    --texto-secundario: #59625F;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes megaStripMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px var(--page-gutter);
}


.section h2 {
    font-size: 18px;
    margin-bottom: 30px;
    text-align: left;
}

.section-kicker {
    display: inline-block;
    color: var(--logo-verde-oscuro);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 45px;
    border: 2px solid var(--logo-verde);
    border-radius: 8px;
    background: var(--logo-verde);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(63, 125, 54, 0.22);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.btn:hover,
.btn:focus-visible {
    border-color: var(--logo-verde-oscuro);
    background: var(--logo-verde-oscuro);
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(63, 125, 54, 0.28);
    transform: translateY(-3px);
}

.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    z-index: 99999;
    background: linear-gradient(90deg, var(--logo-amarillo), var(--logo-verde));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    transition: width 0.08s linear;
}

.motion-item {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
        transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--motion-delay, 0ms);
    will-change: opacity, transform;
}

.motion-item.motion-left { transform: translateX(-34px); }

.motion-item.motion-right { transform: translateX(34px); }

.motion-item.motion-zoom { transform: scale(0.96); }

.motion-item.motion-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.beneficio-item,
.feature,
.contacto-dato,
.map-container,
.project-visual {
    transition:
        transform 0.38s cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 0.38s ease,
        border-color 0.38s ease;
}

.feature:hover,
.contacto-dato:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.map-container:hover,
.project-visual:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 58px rgba(0, 0, 0, 0.2);
}

.logo img,
.hero-logo {
    transition: transform 0.45s ease, filter 0.45s ease;
}

.project-copy .section-kicker,
.lotes-content .section-kicker,
.beneficio-content .section-kicker,
.contacto-intro .section-kicker,
.location-main-title {
    position: relative;
    display: inline-block;
    padding-left: 18px;
    font-size: clamp(0.95rem, 1.3vw, 1.15rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    text-transform: none;
}

.project-copy .section-kicker::before,
.lotes-content .section-kicker::before,
.beneficio-content .section-kicker::before,
.contacto-intro .section-kicker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 26px;
    border-radius: 6px;
    background: var(--logo-amarillo);
    transform: translateY(-50%);
}

/* ==================== 4. NAVEGACIÓN ==================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.is-scrolled {
    padding: 10px 0;
    background: rgba(48, 55, 53, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.nav-container {
    width: 100%;
    max-width: calc(var(--content-max) + (2 * var(--page-gutter)));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 0 var(--page-gutter);
}

.logo {
    display: block;
    width: 190px;
    height: 58px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    flex-shrink: 0;
    text-decoration: none;
    order: 1;
}

.logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.logo-mega {
    width: 150px;
    height: 50px;
    order: 4;
}

.nav-menu {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    list-style: none;
    gap: clamp(18px, 3vw, 40px);
    order: 2;
}

.hamburger {
    order: 3;
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-link {
    position: relative;
    color: var(--logo-blanco);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--logo-verde);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #9edb72;
    transform: translateY(-3px);
    text-shadow: 0 5px 12px rgba(0, 0, 0, 0.28);
}

.nav-link:hover::after {
    width: 100%;
}

.logo:hover img {
    transform: scale(1.045);
}

/* ==================== 5. INICIO / HERO ==================== */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100vh;
    height: 100svh;
    margin-top: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(100px, 14vh, 140px) var(--page-gutter) clamp(40px, 7vh, 72px);
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    max-width: 600px;
    animation: fadeInLeft 1s ease-out;
}

.hero-logo {
    display: block;
    width: min(100%, 600px);
    height: auto;
    margin-bottom: 28px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.48));
}

.hero-logo:hover {
    transform: translateY(-4px) scale(1.015);
}

.hero .description {
    max-width: 500px;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    color: #ffffff;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.65;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.btn-contactanos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 45px;
    border: 2px solid var(--logo-verde);
    border-radius: 8px;
    background: var(--logo-verde);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(63, 125, 54, 0.22);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hero .btn-contactanos {
    margin-top: auto;
}

.btn-contactanos:hover,
.btn-contactanos:focus-visible {
    border-color: var(--logo-verde-oscuro);
    background: var(--logo-verde-oscuro);
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(63, 125, 54, 0.28);
    transform: translateY(-4px);
}

.btn-contactanos:active {
    transform: translateY(-1px);
}

/* ==================== 6. PROYECTO ==================== */

.project-section {
    padding: 120px var(--page-gutter) 80px;
}

.project-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 64px;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    text-align: left;
}

.project-copy {
    max-width: none;
    margin: 0;
    text-align: left;
}

.project-copy h2 {
    margin-bottom: 28px;
    color: #000000;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.1;
}

.project-copy p {
    max-width: 700px;
    margin: 0 0 16px;
    color: #59625f;
    font-size: 1.08rem;
    line-height: 1.75;
}

.project-actions {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin-top: 32px;
}

.project-actions .btn-primary,
.project-actions .btn-secondary {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    border-color: var(--logo-verde);
    background: var(--logo-verde);
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
}

.project-actions .btn-primary:hover,
.project-actions .btn-secondary:hover,
.project-actions .btn-primary:focus-visible,
.project-actions .btn-secondary:focus-visible {
    border-color: var(--logo-verde-oscuro);
    background: var(--logo-verde-oscuro);
    color: #ffffff;
}

.project-visual {
    width: 100%;
    max-width: 1080px;
    aspect-ratio: 1 / 1;
    justify-self: center;
    overflow: hidden;
    border: 4px solid var(--logo-verde);
    border-radius: 20px;
    background: #000000;
    box-shadow: 0 18px 42px rgba(63, 69, 72, 0.16);
}

.project-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* ==================== 7. LOTES Y PLANO INTERACTIVO ==================== */

.lotes-section {
    padding: 90px var(--page-gutter) 100px;
}

.lotes-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    text-align: center;
}

.lotes-content h2 {
    max-width: 850px;
    margin: 0 auto 14px;
    color: #000000;
    font-size: clamp(2rem, 3.4vw, 3.3rem);
    line-height: 1.15;
    text-align: center;
}

.lotes-content > p {
    width: 100%;
    margin: 0 auto 26px;
    color: #56605c;
    text-align: center;
    text-align-last: center;
}

.lotes-leyenda {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
    margin-bottom: 28px;
    color: #56605c;
    font-size: 0.95rem;
}

.leyenda-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.leyenda-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(48, 55, 53, 0.22);
}

.dot-disponible { background-color: #4caf50; }
.dot-vendido { background-color: #e53935; }
.dot-reservado { background-color: #ff9800; }
.dot-actualizar { background-color: #9e9e9e; }

.plano-wrapper {
    position: relative;
    display: block;
    width: 100%;
    min-height: 320px;
    max-height: 78vh;
    overflow: auto;
    border: 3px solid rgba(114, 185, 71, 0.55);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 45px rgba(63, 125, 54, 0.12);
    cursor: grab;
    overscroll-behavior: contain;
    touch-action: none;
    user-select: none;
}

.plano-wrapper.arrastrando {
    cursor: grabbing;
}

.plano-canvas {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}

.plano-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: var(--logo-gris);
    font-size: 1rem;
}

.plano-overlay {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.lote-marcador {
    fill: var(--lote-color, #9e9e9e);
    fill-opacity: 0.32;
    stroke: var(--lote-color, #9e9e9e);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    outline: none;
    cursor: grab;
    transition: fill-opacity 0.2s ease, stroke-width 0.2s ease, transform 0.2s ease;
}

.lote-marcador:hover,
.lote-marcador:focus-visible,
.lote-marcador.lote-activo {
    fill-opacity: 0.75;
    stroke-width: 2.5;
    transform: scale(1.08);
    transform-box: fill-box;
    transform-origin: center;
}

.plano-stage {
    position: relative;
    min-width: 100%;
    overflow: hidden;
}

.plano-wrapper.arrastrando .lote-marcador {
    cursor: grabbing;
}

.plano-tooltip {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    border: 2px solid var(--logo-amarillo);
    border-radius: 12px;
    background: #ffffff;
    color: var(--logo-gris);
    box-shadow: 0 12px 30px rgba(29, 59, 29, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.plano-tooltip strong,
.plano-tooltip .tooltip-precio {
    color: var(--logo-verde-oscuro);
    font-weight: 700;
}

.plano-tooltip strong {
    font-size: 0.98rem;
}

.plano-tooltip .tooltip-estado {
    font-weight: 700;
}

.plano-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

.plano-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

/* ==================== 8. BENEFICIOS ==================== */

.beneficio-section {
    padding: 90px var(--page-gutter) 100px;
}

.beneficio-content {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    text-align: center;
}

.beneficio-content h2 {
    max-width: 850px;
    margin: 0 auto 34px;
    color: #000000;
    font-size: clamp(2rem, 3.4vw, 3.3rem);
    line-height: 1.15;
    text-align: left;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.beneficio-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 174px;
    overflow: hidden;
    padding: 24px 20px;
    border: 1px solid rgba(114, 185, 71, 0.3);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(63, 69, 72, 0.08);
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.beneficio-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--logo-verde);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.beneficio-item:hover {
    border-color: var(--logo-verde);
    box-shadow: 0 20px 38px rgba(63, 125, 54, 0.16);
    transform: translateY(-8px);
}

.beneficio-item:hover::before {
    transform: scaleY(1);
}

.beneficio-item h3,
.beneficio-item p {
    position: relative;
    transition: transform 0.4s ease, color 0.4s ease;
}

.beneficio-item:hover h3,
.beneficio-item:hover p {
    transform: translateX(6px);
}

.beneficio-item h3 {
    margin: 2px 0 8px;
    color: var(--logo-gris);
    font-size: 1.08rem;
    line-height: 1.3;
}

.beneficio-item:hover h3 {
    color: var(--logo-verde-oscuro);
}

.beneficio-item p {
    margin: 0;
    color: #59625f;
    font-size: 0.94rem;
    line-height: 1.6;
}

.beneficio-icon {
    display: inline-flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--logo-verde-claro);
    font-size: 1.45rem;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.4s ease, box-shadow 0.4s ease;
}

.beneficio-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--logo-verde-oscuro);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.beneficio-item:hover .beneficio-icon {
    background: #d8efc0;
    box-shadow: 0 8px 18px rgba(63, 125, 54, 0.22);
    transform: translateX(4px) rotate(7deg) scale(1.1);
}

.beneficio-action {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.beneficio-action .btn-primary,
.beneficio-action .btn-primary:hover,
.beneficio-action .btn-primary:focus-visible {
    border-color: var(--logo-verde);
    background: var(--logo-verde);
    color: #ffffff;
}

.beneficio-action .btn-primary:hover,
.beneficio-action .btn-primary:focus-visible {
    border-color: var(--logo-verde-oscuro);
    background: var(--logo-verde-oscuro);
}

/* ==================== 9. UBICACIÓN ==================== */

.section.section-ubicacion {
    position: relative;
    padding: 90px var(--page-gutter);
    overflow: hidden;
    background: #ffffff;
}

.section-ubicacion .location-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
}

.location-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.location-main-title {
    position: relative;
    margin-bottom: 12px;
    padding-left: 18px;
    color: var(--logo-verde-oscuro);
    font-size: clamp(0.95rem, 1.3vw, 1.15rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.location-main-title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 26px;
    border-radius: 6px;
    background: var(--logo-amarillo);
    transform: translateY(-50%);
}

.location-subtitle {
    max-width: 680px;
    margin-bottom: 16px;
    color: #000000;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
}

.location-description {
    max-width: 560px;
    margin-bottom: 28px;
    color: #53605a;
    font-size: 1.06rem;
    line-height: 1.8;
}

.location-features {
    display: grid;
    gap: 16px;
    width: 100%;
}

.feature {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
    padding: 16px 18px;
    border: 1px solid rgba(114, 185, 71, 0.22);
    border-left: 5px solid var(--logo-verde);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--logo-gris);
    box-shadow: 0 10px 24px rgba(38, 58, 51, 0.08);
    font-weight: 600;
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.feature:nth-child(2) {
    border-left-color: var(--logo-verde);
}

.feature:nth-child(3) {
    border-left-color: var(--logo-verde);
}

.feature:hover {
    transform: translateX(7px) translateY(-2px);
    box-shadow: 0 16px 34px rgba(38, 58, 51, 0.14);
}

.feature-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(114, 185, 71, 0.26);
    border-radius: 50%;
    background: var(--logo-verde-claro);
    font-size: 1.3rem;
}

.location-actions {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: 100%;
    margin-top: 26px;
}

.location-actions .btn {
    flex: 1 1 0;
    min-width: 0;
}

.map-container {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    border: 3px solid var(--logo-verde);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(242, 166, 42, 0.16), 0 20px 48px rgba(38, 58, 51, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.map-container:hover {
    transform: translateY(-5px) scale(1.008);
    box-shadow: 0 0 0 4px rgba(114, 185, 71, 0.17), 0 26px 54px rgba(38, 58, 51, 0.18);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
}

/* ==================== 10. GALERÍA ==================== */

#galeria {
    scroll-margin-top: clamp(70px, 7vw, 90px);
    overflow: hidden;
    background: #ffffff;
}

.gallery-heading,
.gallery-categories,
.gallery-results,
.testimonials-media {
    width: min(var(--content-max), 100%);
    margin-inline: auto;
}

.gallery-heading h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
    padding-left: 18px;
    color: var(--logo-verde-oscuro);
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    font-weight: 800;
}

.gallery-heading h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 26px;
    border-radius: 6px;
    background: var(--logo-amarillo);
    transform: translateY(-50%);
}

.gallery-heading p {
    max-width: 900px;
    color: #111111;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.gallery-panel[hidden],
.gallery-lightbox[hidden],
.panorama-modal[hidden] {
    display: none;
}

.gallery-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.gallery-category {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 18px;
    background: transparent;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gallery-category img {
    display: block;
    width: 100%;
    height: 290px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.panorama-category-motion {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
}

.panorama-category-track {
    display: flex;
    width: max-content;
    height: 100%;
    animation: panorama-category-360 32s linear infinite;
    will-change: transform;
}

.gallery-category .panorama-category-track img {
    width: auto;
    height: 100%;
    max-width: none;
    flex: 0 0 auto;
    object-fit: initial;
    transform: none;
}

@keyframes panorama-category-360 {
    to {
        transform: translateX(-50%);
    }
}

.gallery-category-label {
    position: absolute;
    inset: auto 0 0;
    padding: 46px 16px 18px;
    background: linear-gradient(transparent, rgba(20, 31, 27, 0.92));
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
}

.gallery-category:hover,
.gallery-category:focus-visible,
.gallery-category.is-active {
    border-color: var(--logo-verde);
    outline: none;
    transform: translateY(-6px);
}

.gallery-category:hover img,
.gallery-category.is-active img {
    transform: scale(1.06);
}

.gallery-category:hover .panorama-category-track img,
.gallery-category.is-active .panorama-category-track img {
    transform: none;
}

.gallery-results {
    margin-top: 30px;
}

.plano-zoom {
    position: sticky;
    z-index: 8;
    top: 14px;
    left: 14px;
    width: max-content;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 -58px 14px;
    padding: 6px;
    border: 1px solid rgba(63, 125, 54, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 22px rgba(38, 58, 51, 0.16);
    backdrop-filter: blur(8px);
}

.plano-zoom button {
    min-width: 46px;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid var(--logo-verde);
    border-radius: 8px;
    background: #ffffff;
    color: var(--logo-verde-oscuro);
    font-weight: 700;
    cursor: pointer;
}

.plano-zoom button:hover,
.plano-zoom button:focus-visible {
    background: var(--logo-verde-claro);
}

.plano-zoom button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.gallery-panel h3 {
    margin-bottom: 18px;
    color: var(--logo-gris);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.gallery-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.gallery-photo {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
    cursor: zoom-in;
}

.gallery-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-photo:hover img,
.gallery-photo:focus-visible img {
    filter: saturate(1.08);
    transform: scale(1.06);
}

.panorama-open::after {
    content: "360°";
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    background: rgba(18, 27, 24, 0.82);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
}

.panorama-modal {
    position: fixed;
    z-index: 3200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 54px 20px 20px;
    background: rgba(7, 11, 10, 0.94);
}

.panorama-viewer {
    width: min(1500px, 96vw);
    height: min(860px, 88vh);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    background: #111714;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.panorama-close {
    position: absolute;
    z-index: 4;
    top: 10px;
    right: 18px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    background: rgba(18, 27, 24, 0.9);
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.panorama-close:hover,
.panorama-close:focus-visible {
    background: var(--logo-verde-oscuro);
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .panorama-modal {
        padding: 58px 10px 10px;
    }

    .panorama-viewer {
        width: 100%;
        height: calc(100dvh - 68px);
        border-radius: 8px;
    }
}

.gallery-subheading {
    margin-top: 64px;
}

.testimonials-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.testimonial-video {
    overflow: hidden;
    border-radius: 18px;
}

.testimonial-video video {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.gallery-lightbox {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 60px 76px 24px;
    background: rgba(10, 15, 13, 0.92);
    touch-action: pan-y;
}

.lightbox-image {
    max-width: min(1200px, 94vw);
    max-height: 86vh;
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    z-index: 1;
    border: 0;
    color: #ffffff;
    cursor: pointer;
}

.lightbox-close {
    top: 16px;
    right: 26px;
    background: transparent;
    font-size: 3rem;
    line-height: 1;
}

.lightbox-nav {
    top: 50%;
    width: 52px;
    height: 64px;
    border-radius: 12px;
    background: rgba(10, 15, 13, 0.62);
    font-size: 2rem;
    transform: translateY(-50%);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    background: rgba(63, 125, 54, 0.9);
    outline: 2px solid #ffffff;
}

.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

@media (max-width: 900px) {
    .gallery-categories,
    .gallery-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials-media {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .gallery-categories,
    .gallery-photo-grid {
        grid-template-columns: 1fr;
    }

    .gallery-category,
    .gallery-category img,
    .gallery-photo {
        height: 230px;
        min-height: 230px;
    }

    .gallery-subheading { margin-top: 48px; }

    .testimonial-video video {
        height: 250px;
    }

    .gallery-lightbox { padding: 56px 12px 80px; }
    .lightbox-nav { top: auto; bottom: 18px; width: 48px; height: 48px; transform: none; }
    .lightbox-prev { left: calc(50% - 58px); }
    .lightbox-next { right: calc(50% - 58px); }
}

/* ==================== 11. CONTACTO ==================== */

.cta {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--mega-strip-height));
    min-height: calc(100svh - var(--mega-strip-height));
    padding: 100px var(--page-gutter);
    background: #ffffff;
}

.contacto-content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    align-items: center;
    gap: 70px;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    text-align: left;
}

.contacto-intro {
    text-align: left;
}

.cta h2 {
    margin-bottom: 20px;
    color: #000000;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.cta p {
    color: #59625f;
    font-size: 18px;
}

.contacto-datos {
    display: grid;
    gap: 14px;
    margin-top: 30px;
    text-align: left;
}

.contacto-dato {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 0;
    border-radius: 10px;
    background: var(--logo-verde);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contacto-dato:hover,
.contacto-dato:focus-visible {
    background: var(--logo-verde-oscuro);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(63, 125, 54, 0.24);
    outline: none;
    transform: translateY(-2px);
}

.contacto-dato svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.contacto-imagen {
    position: relative;
    min-height: 380px;
    overflow: hidden;
    border: 4px solid var(--logo-verde);
    border-radius: 20px;
    background: #eef5e9;
    box-shadow: 0 18px 45px rgba(29, 59, 29, 0.15);
}

.contacto-imagen .contacto-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1.1s ease, transform 5.5s ease;
}

.contacto-imagen .contacto-slide.is-active {
    z-index: 1;
    opacity: 1;
    transform: scale(1);
}

/* ==================== 12. FRANJA MEGA ==================== */

.mega-strip {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid rgba(29, 59, 29, 0.08);
    border-bottom: 1px solid rgba(29, 59, 29, 0.08);
}

.mega-strip-track {
    display: flex;
    width: 200vw;
    gap: 0;
    animation: megaStripMove 22s linear infinite;
    will-change: transform;
}

.mega-strip-track img {
    display: block;
    width: 100vw;
    height: var(--mega-strip-height);
    object-fit: cover;
    flex: 0 0 100vw;
    line-height: 0;
}

/* ==================== 13. PIE DE PÁGINA ==================== */

.site-footer {
    padding: 30px var(--page-gutter) 16px;
    background: var(--logo-gris);
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr auto;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
}

.footer-contact {
    display: grid;
    gap: 8px;
}

.footer-signature {
    display: block;
    width: clamp(280px, 24vw, 420px);
    max-width: 100%;
    height: auto;
}

.footer-contact span {
    color: #dce7e3;
    font-size: 0.92rem;
    line-height: 1.5;
}

.footer-contact strong {
    color: #ffffff;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    color: #ffffff;
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
    transform: translateY(-3px);
}

.footer-social .social-facebook:hover,
.footer-social .social-facebook:focus-visible { background: #1877f2; }

.footer-social .social-whatsapp:hover,
.footer-social .social-whatsapp:focus-visible { background: #25d366; }

.footer-social .social-instagram:hover,
.footer-social .social-instagram:focus-visible { background: #e1306c; }

.footer-social .social-tiktok:hover,
.footer-social .social-tiktok:focus-visible { background: #000000; }

.footer-social svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    stroke: none;
}

.footer-social .social-instagram svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.footer-social .social-instagram .footer-icon-dot {
    fill: currentColor;
    stroke: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: var(--content-max);
    margin: 22px auto 0;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #bfcbc7;
    font-size: 0.8rem;
}

/* ==================== 14. RESPONSIVE Y ACCESIBILIDAD ==================== */

@media (min-width: 1800px) {
    :root {
        --page-gutter: clamp(64px, 4vw, 96px);
    }

    .project-content,
    .section-ubicacion .location-content,
    .contacto-content {
        gap: clamp(64px, 5vw, 110px);
    }

    .project-copy p,
    .location-description {
        max-width: 820px;
        font-size: 1.16rem;
    }

    .beneficios-grid {
        gap: 28px;
    }

    .beneficio-item {
        min-height: 190px;
        padding: 28px 24px;
    }

    .map-container,
    .map-container iframe {
        min-height: 580px;
    }

    .gallery-category,
    .gallery-category img {
        min-height: 340px;
        height: 340px;
    }

    .gallery-photo {
        height: 290px;
    }

    .testimonial-video video {
        height: 430px;
    }

    .contacto-imagen {
        min-height: 480px;
    }
}

@media (max-width: 1024px) {
    :root {
        --mega-strip-height: 88px;
    }

    .project-section {
        padding-top: 100px;
    }

    .project-copy {
        max-width: 100%;
    }

    .section-ubicacion {
        padding: 70px 36px;
    }

    .section-ubicacion .location-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta {
        padding: 60px 36px !important;
    }

    .cta h2 {
        font-size: 40px;
    }

}

@media (max-width: 900px) {
    :root {
        --mega-strip-height: 46px;
    }

    .beneficios-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .navbar {
        padding: 12px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        padding: 20px 0;
        backdrop-filter: blur(10px);
        background-color: rgba(40, 54, 50, 0.98);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 11px;
        display: block;
        padding: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-container {
        padding: 0 28px;
        gap: 12px;
    }

    .logo {
        width: 112px;
        height: 38px;
    }

    .logo-mega {
        width: 88px;
        height: 30px;
    }


    .hero-content {
        padding: 82px 18px 28px;
    }

    .hero-logo {
        width: min(100%, 430px);
        margin-bottom: 22px;
    }

    .btn-contactanos {
        padding: 12px 30px;
        font-size: 14px;
    }

    .hero .btn-contactanos {
        margin-top: 36px;
    }

    .text-container {
        max-width: 100%;
    }


    .project-section {
        padding: 72px 24px 64px;
    }

    .project-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .project-copy {
        max-width: 100%;
        text-align: left;
    }

    .project-copy h2 {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin-bottom: 20px;
        text-align: left;
    }

    .project-copy p {
        max-width: none;
        font-size: 1rem;
        line-height: 1.7;
    }

    .project-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .project-visual {
        border-radius: 16px;
    }

    .lotes-section {
        padding: 70px 24px 80px;
    }

    .plano-tooltip {
        max-width: 220px;
        white-space: normal;
    }

    .beneficio-section {
        padding: 70px 24px 80px;
    }

    .beneficios-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .beneficio-item {
        min-height: 0;
        padding: 20px 18px;
    }


    .section-ubicacion {
        padding: 60px 24px;
    }

    .location-left {
        align-items: flex-start;
    }

    .location-main-title {
        font-size: 1.15rem;
    }

    .location-subtitle {
        font-size: 1.9rem;
    }

    .location-description {
        font-size: 0.98rem;
    }


    .cta {
        padding: 50px 24px !important;
        gap: 25px;
    }

    .cta h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .cta p {
        font-size: 16px;
    }

    .contacto-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contacto-intro {
        text-align: left;
    }

    .contacto-imagen {
        min-height: 260px;
    }


    .site-footer {
        padding: 26px 24px 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .footer-signature {
        margin-inline: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 18px;
    }

}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 0;
    }

    .nav-menu {
        top: 60px;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 999;
    }

    .nav-link {
        font-size: 13px;
        padding: 15px;
    }

    .nav-container {
        padding: 0 10px;
        gap: 10px;
    }

    .logo {
        width: 96px;
        height: 34px;
    }

    .logo-mega {
        width: 72px;
        height: 25px;
    }

    .hero-content {
        padding: 72px 12px 22px;
    }

    .hero-logo {
        width: min(100%, 300px);
        margin-bottom: 18px;
    }

    .hero .description {
        line-height: 1.5;
    }

    .btn-contactanos {
        padding: 10px 22px;
        font-size: 12px;
    }

    .project-copy p {
        font-size: 0.98rem;
    }
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2500;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background: #1ebe5d;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
    outline: 3px solid rgba(37, 211, 102, 0.28);
    outline-offset: 4px;
    transform: translateY(-4px) scale(1.05);
}

@media (max-width: 560px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 560px) {
    :root {
        --mega-strip-height: 38px;
    }
}

@media (max-width: 700px) {
    .location-actions {
        flex-wrap: wrap;
    }

    .location-actions .btn {
        flex: 1 1 100%;
        width: 100%;
        white-space: normal;
    }

    .project-actions {
        gap: 10px;
    }

    .project-actions .btn-primary,
    .project-actions .btn-secondary {
        padding: 12px 8px;
        font-size: 0.78rem;
        white-space: normal;
    }
}
