/* ============================
   RESET & BASE STYLES
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-dark-green: #1f3d2e;
    --color-sage: #8db198;
    --color-tan: #c79a6a;
    --color-cream: #f4ebe0;
    --color-bg: #fdfbf6;
    --color-text: #333;
    --color-text-light: #666;
    --color-white: #ffffff;
    --font-heading: 'Work Sans', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-dark-green);
    line-height: 1.2;
}

/* ============================
   HEADER / NAV
   ============================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-dark-green);
    padding: 16px 0;
    transition: var(--transition);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--color-white);
    font-weight: 500;
    letter-spacing: 1px;
    display: inline-block;
}

.logo img {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    color: var(--color-white);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--color-sage);
}

.nav-social {
    display: flex;
    gap: 14px;
}

.nav-social a {
    color: var(--color-white);
    font-size: 14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: var(--transition);
}

.nav-social a:hover {
    background-color: var(--color-sage);
    border-color: var(--color-sage);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

/* ============================
   HERO
   ============================ */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 70px;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31, 61, 46, 0.55) 0%, rgba(31, 61, 46, 0.1) 50%, rgba(31, 61, 46, 0.3) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: #13302c;
    padding: 80px 24px 40px;
    max-width: 900px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 500;
    color: #13302c;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    color:  whitesmoke;
    font-style: italic;
}

.hero-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 11rem);
    color: rgba(255, 255, 255, 0.18);
    font-weight: 400;
    letter-spacing: 8px;
    pointer-events: none;
    white-space: nowrap;
    z-index: -1;
}

/* ============================
   DESARROLLO
   ============================ */
.desarrollo {
    padding: 80px 0;
    background-color: var(--color-bg);
    position: relative;
    overflow: visible;
}

.desarrollo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.desarrollo-text h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 24px;
    color: var(--color-dark-green);
}

.desarrollo-text p {
    color: var(--color-text-light);
    font-size: 1.2rem;
    max-width: 480px;
}

.desarrollo-image {
    position: relative;
    z-index: 5;
    margin-top: -80px;
    margin-bottom: -30px;
    will-change: transform;
    transition: transform 0.15s ease-out;
}

.desarrollo-image img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* ============================
   SECTION BAND TITLES
   ============================ */
.section-title-band {
    text-align: center;
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 1.1vw, 1rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #13302c;
    font-weight: 400;
    padding: 22px 24px;
}

/* ============================
   CONECTADO
   ============================ */
.conectado {
    background-color: var(--color-sage);
    padding: 0 0 50px;
}

.conectado .section-title-band {
    padding-top: 80px;
    margin-bottom: 30px;
    color: whitesmoke;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.feature {
    text-align: center;
    padding: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.feature:first-child {
    border-left: none;
}

.feature img {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    object-fit: contain;
    /*filter: brightness(0) invert(1);*/
}

.feature p {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
}

/* ============================
   ESPACIOS ABIERTOS
   ============================ */
.espacios {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.espacios-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.espacios-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
}

/* ============================
   ZONA COMERCIAL
   ============================ */
.zona-comercial {
    padding: 0 0 80px;
    background-color: var(--color-bg);
}

.zona-comercial-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.zona-comercial-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
}

.zona-comercial-text h2 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: var(--color-dark-green);
    line-height: 1.4;
    text-align: left;
    font-weight: 200;
    margin-bottom: 20px;
}

.zona-comercial-text p {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: var(--color-dark-green);
    line-height: 1.4;
    text-align: left;
    font-weight: 200;
}

.espacios-text h2 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: var(--color-dark-green);
    line-height: 1.4;
    text-align: right;
    font-weight: 200;
}

/* ============================
   AMENIDADES GRID
   ============================ */
.amenidades-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 0;
}

.amenidad {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    overflow: hidden;
    transition: var(--transition);
}

.amenidad-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(31, 61, 46, 0.4);
    transition: var(--transition);
}

.amenidad:hover .amenidad-overlay {
    background-color: rgba(31, 61, 46, 0.15);
}

.amenidad h4 {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 200;
}

/* ============================
   AUTÉNTICO
   ============================ */
.autentico {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.autentico-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.autentico-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 20px;
}

.autentico-text {
    text-align: right;
    padding: 0;
}

.autentico-text h2 {
    font-size: clamp(2rem, 2vw, 1.7rem);
    color: var(--color-dark-green);
    line-height: 1.4;
    text-align: right;
    font-weight: 500;
    margin-bottom: 20px;
}

.autentico-text p {
    font-size: clamp(1rem, 1vw, 1.rem);
    color: var(--color-dark-green);
    line-height: 1.4;
    text-align: right;
    font-weight: 200;
}

/* ============================
   MODELOS
   ============================ */
.modelos-band {
    background-color: var(--color-tan);
}

.modelos {
    padding: 70px 0;
    background-color: var(--color-bg);
}

.modelo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
}

.modelo:last-child {
    margin-bottom: 0;
}

.modelo-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modelo-images img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
}

.modelo-info {
    text-align: center;
    padding: 20px;
}

.modelo-alba .modelo-info {
    text-align: left;
}

.modelo-ocaso .modelo-info {
    text-align: right;
}

.modelo-specs {
    padding: 0;
    list-style: none;
    margin-bottom: 24px;
}

.btn-planos {
    display: inline-block;
    background-color: var(--color-dark-green);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: 24px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 1px solid var(--color-dark-green);
}

.btn-planos:hover {
    background-color: transparent;
    color: var(--color-dark-green);
    transform: translateY(-2px);
}

.modelo-info h2 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-dark-green);
    margin-bottom: 16px;
}

.modelo-tagline {
    color: var(--color-text-light);
    font-size: 18px;
    margin-bottom: 24px;
}

.modelo-specs li {
    color: var(--color-text);
    font-size: 18px;
    padding: 4px 0;
}

/* ============================
   ENTORNO
   ============================ */
.entorno {
    background-color: var(--color-tan);
    padding: 0 0 50px;
}

.entorno .section-title-band {
    padding-top: 40px;
    margin-bottom: 30px;
    color: var(--color-white);
}

.entorno .feature img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(15%) saturate(1200%) hue-rotate(85deg) brightness(95%) contrast(95%);
}

.entorno .feature p {
    color: var(--color-white);
}

.entorno .feature {
    border-left-color: rgba(31, 61, 46, 0.25);
}

/* ============================
   GALERÍA
   ============================ */
.galeria {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.galeria-intro {
    text-align: center;
    margin-bottom: 40px;
}

.galeria-intro h2 {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-dark-green);
    margin-bottom: 6px;
}

.galeria-intro p {
    color: var(--color-text-light);
    font-size: 20px;
}

.slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    flex: 1;
    padding: 10px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
}

.slide img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 20px;
}

.slider-btn {
    background-color: var(--color-white);
    border: 1px solid #ddd;
    color: var(--color-dark-green);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--color-sage);
    color: var(--color-white);
    border-color: var(--color-sage);
}

/* ============================
   CONTACTO
   ============================ */
.contacto {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background-color: var(--color-cream);
    padding: 50px;
    border-radius: 20px;
    align-items: start;
}

.contacto-info h2 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    margin-bottom: 32px;
    line-height: 1.3;
}

.contacto-logo {
    margin-bottom: 24px;
}

.contacto-logo img {
    max-width: 130px;
}

.contacto-address {
    margin-bottom: 20px;
}

.contacto-address p {
    color: var(--color-text);
    font-size: 13px;
    line-height: 1.6;
}

.contacto-social {
    display: flex;
    gap: 12px;
}

.contacto-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-dark-green);
    color: var(--color-white);
    font-size: 13px;
    transition: var(--transition);
}

.contacto-social a:hover {
    background-color: var(--color-sage);
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    color: var(--color-text);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background-color: #d4d4d4;
    border: none;
    padding: 12px 16px;
    border-radius: 24px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group textarea {
    border-radius: 16px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: var(--color-white);
    box-shadow: 0 0 0 2px var(--color-sage);
}

.btn-submit {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border: none;
    padding: 14px 32px;
    border-radius: 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    align-self: flex-start;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--color-sage);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-feedback {
    font-size: 14px;
    margin-top: 4px;
    min-height: 20px;
}

.form-feedback.success {
    color: var(--color-dark-green);
    font-weight: 500;
}

.form-feedback.error {
    color: #c0392b;
    font-weight: 500;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    padding: 30px 0;
    text-align: center;
}

.footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

/* ============================
   WHATSAPP FLOATING BUTTON
   ============================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
    animation: none;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 26px;
        bottom: 16px;
        right: 16px;
    }
}

/* ============================
   GALERÍA - CURSOR ZOOM
   ============================ */
.slide img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.slide img:hover {
    transform: scale(1.02);
}

/* ============================
   LIGHTBOX
   ============================ */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 24px;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 400;
}

.lightbox-close,
.lightbox-nav {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background-color: var(--color-sage);
    border-color: var(--color-sage);
    transform: scale(1.05);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.lightbox-nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-image {
        max-height: 75vh;
    }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 992px) {
    .nav-list {
        gap: 20px;
    }

    .nav-list a {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .desarrollo-grid,
    .espacios-grid,
    .zona-comercial-grid,
    .autentico-grid,
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .desarrollo-image {
        margin-top: 0;
        margin-bottom: 0;
    }

    .desarrollo-image img {
        height: 320px;
    }

    .modelo,
    .modelo-ocaso {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modelo-ocaso .modelo-info {
        order: -1;
    }

    .amenidades-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 200px);
    }

    .slide {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--color-dark-green);
        flex-direction: column;
        padding: 30px 24px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        text-align: center;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
    }

    .feature:nth-child(odd) {
        border-left: none;
    }

    .feature:nth-child(3) {
        border-left: none;
    }

    .desarrollo,
    .espacios,
    .autentico,
    .modelos,
    .galeria,
    .contacto {
        padding: 50px 0;
    }

    .contacto-grid {
        padding: 30px 24px;
    }

    .modelo-images {
        grid-template-columns: 1fr;
    }

    .modelo-images img {
        height: 200px;
    }

    .desarrollo-image img,
    .espacios-image img,
    .autentico-image img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .amenidades-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 180px);
    }

    .slide {
        flex: 0 0 100%;
    }

    .slide img {
        height: 200px;
    }

    .hero-content {
        padding-top: 50px;
    }

    .hero-content h1 {
        font-size: 1.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.4);
        padding-top: 30px;
    }

    .feature:first-child {
        border-top: none;
    }

    .container {
        padding: 0 16px;
    }
}
