*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

/* VARIABLES */

:root{
    --primary-color: #f47c20;
    --dark-color: #0f0f0f;
    --light-color: #ffffff;
    --gray-color: #d9d9d9;
}

/* BODY */

body{
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    overflow-x: hidden;
}

/* HEADER */

.header{
    width: 100%;
    padding: 10px 5%;

    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 1000;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
}

/* LOGO */

.logo img{
    width: 240px;

    height: auto;

    object-fit: contain;
}

/* NAVBAR */

.navbar{
    display: flex;
    gap: 40px;
}

.navbar a{
    text-decoration: none;
    color: var(--light-color);
    font-size: 1rem;
    font-weight: 400;

    position: relative;

    transition: 0.3s;
}

.navbar a::after{
    content: '';

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background-color: var(--primary-color);

    transition: 0.3s;
}

.navbar a:hover{
    color: var(--primary-color);
}

.navbar a:hover::after{
    width: 100%;
}

/* =========================
        HAMBURGERSA
========================= */

.menu-toggle{
    display: none;

    flex-direction: column;

    gap: 6px;

    cursor: pointer;

    z-index: 2000;
}

.menu-toggle span{
    width: 30px;
    height: 3px;

    background: white;

    border-radius: 10px;

    transition: 0.3s;
}

/* =========================
        MOBILE NAV
========================= */

@media(max-width: 900px){

    .menu-toggle{
        display: flex;
    }

    /* NAVBAR */

    .navbar{
        position: absolute;

        top: 80px;
        right: 5%;

        width: 260px;

        background: rgba(0,0,0,0.92);

        backdrop-filter: blur(15px);

        border: 1px solid rgba(255,255,255,0.08);

        border-radius: 20px;

        padding: 30px;

        display: flex;
        flex-direction: column;

        gap: 25px;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-20px);

        transition: 0.3s;

        z-index: 1500;
    }

    /* ACTIVE */

    .navbar.active{
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    /* LINKS */

    .navbar a{
        font-size: 1rem;

        width: 100%;
    }

}

/* HERO */

.hero{
    width: 100%;
    height: 100vh;
    min-height: 100vh;

    background-image: url('../images/hero-inmo.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    overflow: hidden;
}
/* OVERLAY */

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.55);
}

/* HERO CONTENT */

.hero-content{
    position: relative;
    z-index: 2;

    max-width: 900px;
    padding: 20px;
}

.hero-content h1{
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;

    line-height: 1.1;
}

.hero-content p{
    font-size: 1.2rem;
    color: var(--gray-color);

    margin-bottom: 40px;
}

/* BUTTONS */

.hero-buttons{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 20px;
}

.btn{
    padding: 15px 30px;

    border-radius: 50px;

    text-decoration: none;
    color: white;

    font-weight: 500;

    transition: 0.3s;

    border: 2px solid transparent;
}

/* BOTONES INDIVIDUALES */

.zonaprop{
    background-color: #f85c1f;
}

.mercadolibre{
    background-color: #ffe600;
    color: #000;
}

/* HOVER */

.btn:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* RESPONSIVE */

@media(max-width: 900px){

    .header{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .navbar{
        gap: 20px;
    }

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

}

@media(max-width: 600px){

    .logo img{
        width: 140px;
    }

    .navbar{
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .hero-content p{
        font-size: 1rem;
    }

    .btn{
        width: 100%;
    }

}

/* =========================
        PROPERTIES
========================= */

.properties{
    padding: 120px 8%;

    background-image: url('../images/hero-propiedades.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    position: relative;

    overflow: hidden;
}

.properties::before{
    content: '';

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.78);

    z-index: 1;
}

.properties > *{
    position: relative;
    z-index: 2;
}

.section-title{
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2{
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p{
    color: #bdbdbd;
}

/* TABS */

.property-tabs{
    display: flex;
    justify-content: center;
    gap: 20px;

    margin-bottom: 50px;
}

.tab{
    padding: 12px 28px;

    border: none;
    border-radius: 30px;

    background: #1c1c1c;
    color: white;

    cursor: pointer;

    transition: 0.3s;
}

.tab.active{
    background: var(--primary-color);
}

.tab:hover{
    background: var(--primary-color);
}

/* SWIPER */

.property-swiper{
    width: 100%;
    overflow: visible !important;
}

.property-swiper .swiper-slide{
    padding: 20px 10px 40px;
}

/* SWIPERS */

.alquileres-swiper{
    display: none;
}

.active-swiper{
    display: block;
}

/* CARD */

.property-card{
    display: block;

    background: #181818;

    border-radius: 20px;

    overflow: hidden;

    color: white;

    text-decoration: none;

    transition: 0.4s;
}

.property-card:visited{
    color: white;
}

.property-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(244,124,32,0.25);
}

.property-card img{
    width: 100%;
    height: 260px;

    object-fit: cover;

    transition: 0.4s;
}

.property-card:hover img{
    transform: scale(1.05);
}

/* TITULO */

.property-title{
    color: white;
    font-size: 1.3rem;

    margin-bottom: 10px;
}

/* PRECIO */

.property-price{
    color: var(--primary-color);

    font-size: 1.5rem;

    margin-bottom: 12px;
}

/* INFO */

.property-info{
    padding: 25px;
}

.property-info p{
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: white;
}

.property-info span{
    color: #bdbdbd;
}

/* MOBILE */

@media(max-width: 768px){

    .properties{
        padding: 90px 5%;
    }

    .section-title h2{
        font-size: 2rem;
    }

}

/* =========================
        COUNTRIES
========================= */

.countries {

    padding: 100px 8%;

    background:
        linear-gradient(
            rgba(11,11,11,.92),
            rgba(11,11,11,.92)
        ),
        url("../images/country.png");

    background-size: cover;

    background-position: center;

    background-attachment: fixed;
}
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.country-card{
    background: #181818;

    border-radius: 20px;

    overflow: hidden;
    padding:0;
    transition: 0.4s;
}

.country-card:hover{
    transform: translateY(-10px);

    box-shadow: 0 10px 35px rgba(244,124,32,0.25);
}

.country-card img{
    width:100%;

    height:240px;

    object-fit:cover;

    transition:0.4s;
}

.country-swiper .swiper-slide-active img{
    transition:0.4s;
}

.country-card:hover .swiper-slide-active img{
    transform:scale(1.05);
}

.country-content {
    padding: 25px;
}

.country-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.location {
    color: #ff7a00;
    margin-bottom: 15px;
}

.country-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.country-content ul li {
    margin-bottom: 8px;
    color: #dcdcdc;
}

.price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ff7a00;
    margin-bottom: 20px;
}

.country-btn {
    display: inline-block;
    background: #ff7a00;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.country-btn:hover {
    background: #ff9a3d;
}

.country-badge{
    display:inline-block;

    padding:8px 15px;

    border-radius:20px;

    background:rgba(244,124,32,0.15);

    color:var(--primary-color);

    font-size:.8rem;

    font-weight:600;

    margin-bottom:15px;
}

.country-swiper{
    position:relative;
}

.country-swiper img{
    width:100%;
    height:240px;

    object-fit:cover;
}

.country-swiper .swiper-button-next,
.country-swiper .swiper-button-prev{

    width:40px !important;
    height:40px !important;

    background:rgba(0,0,0,.5);

    border-radius:50%;

    color:white !important;
}

.country-swiper .swiper-button-next::after,
.country-swiper .swiper-button-prev::after{

    font-size:.9rem !important;
}

.country-tabs{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

    margin:50px 0;
}

.country-tab{

    background:transparent;

    border:1px solid rgba(255,255,255,.15);

    color:white;

    padding:12px 24px;

    border-radius:30px;

    cursor:pointer;

    transition:.3s;
}

.country-tab:hover{

    border-color:var(--primary-color);
}

.country-tab.active{

    background:var(--primary-color);

    border-color:var(--primary-color);
}

.country-swiper .swiper-slide,
.country-swiper .swiper-wrapper{
    height:100%;
}

.country-swiper{
    height:240px;
}


/* =========================
        DEVELOPMENTS
========================= */

.developments{
    padding: 120px 8%;
    background: #0f0f0f;
}

/* CARD */

.development-card{
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
    margin-top: 80px;
}

/* REVERSE */

.reverse{
    flex-direction: row-reverse;
}

/* IMAGE */

.development-image{
    flex: 1;
    max-width: 50%;
}

.development-image img{
    width: 100%;
    height: 500px;

    object-fit: cover;

    border-radius: 30px;
}

/* CONTENT */

.development-content{
    flex: 1;
}

.development-status{
    display: inline-block;

    padding: 10px 18px;

    border-radius: 30px;

    background: rgba(244,124,32,0.15);

    color: var(--primary-color);

    font-size: 0.9rem;
    font-weight: 600;

    margin-bottom: 20px;
}

.construction{
    background: rgba(255,255,255,0.08);
    color: white;
}

.development-content h3{
    font-size: 3rem;

    margin-bottom: 25px;
}

.development-content p{
    color: #bdbdbd;

    line-height: 1.8;

    margin-bottom: 35px;
}

.pozo-container{
    height: auto;
}

.pozo-container img{
    width: 100%;
    height: auto !important;

    object-fit: contain;

    border-radius: 30px;
}

/* BUTTON */

.development-btn{
    display: inline-block;

    padding: 16px 30px;

    border-radius: 50px;

    background: var(--primary-color);

    color: white;

    text-decoration: none;

    transition: 0.3s;
}

.development-btn:hover{
    transform: translateY(-5px);

    box-shadow: 0 10px 30px rgba(244,124,32,0.25);
}

.development-swiper img{
    height: 500px;
}

/* RESPONSIVE */

@media(max-width: 900px){

.development-card,
.reverse{
    flex-direction: column;
}

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

.development-image{
    max-width: 100% !important;
}

.development-swiper{
    width: 100%;
}

.development-swiper img{
    width: 100% !important;

    height: 320px !important;

    object-fit: cover;

    border-radius: 30px;
}


}

.developments{
    padding: 120px 8%;

    background-image: url('../images/edificio.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    position: relative;

    overflow: hidden;
}

.developments::before{
    content: '';

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.78);

    z-index: 1;
}

.developments > *{
    position: relative;
    z-index: 2;
}

/* =========================
        CONTACT
========================= */

.contact{
    padding: 120px 8%;

    background-image: url('../images/contacto.png');
    background-size: cover;
    background-position: center;   
    background-attachment: fixed;

    position: relative;

    overflow: hidden;
}

/* OVERLAY */

.contact::before{
    content: '';

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.82);

    z-index: 1;
}

.contact > *{
    position: relative;
    z-index: 2;
}
/* CONTAINER */

.contact-container{
    display: flex;
    gap: 60px;

    align-items: center;
}

/* LEFT */

.contact-info{
    flex: 1;
}

.contact-info span{
    color: var(--primary-color);

    font-weight: 600;

    letter-spacing: 2px;
}

.contact-info h2{
    font-size: 3rem;

    margin: 25px 0;
}

.contact-info p{
    color: #bdbdbd;

    line-height: 1.8;

    max-width: 500px;
}

/* FORM */

.contact-form-container{
    flex: 1;
}

.contact-form{
    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(12px);

    padding: 40px;

    border-radius: 30px;

    display: flex;
    flex-direction: column;

    gap: 20px;
}

/* INPUTS */

.contact-form input,
.contact-form select,
.contact-form textarea{
    width: 100%;

    padding: 18px 20px;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 15px;

    color: white;

    font-family: 'Poppins', sans-serif;

    outline: none;

    transition: 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
    border-color: var(--primary-color);
}

/* PLACEHOLDER */

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color: #9e9e9e;
}

/* SELECT */

.contact-form select{
    color: #bdbdbd;
}

/* BUTTON */

.contact-form button{
    padding: 18px;

    border: none;

    border-radius: 50px;

    background: var(--primary-color);

    color: white;

    font-size: 1rem;
    font-weight: 500;

    cursor: pointer;

    transition: 0.3s;
}

.contact-form button:hover{
    transform: translateY(-5px);

    box-shadow: 0 10px 30px rgba(244,124,32,0.25);
}

/* RESPONSIVE */

@media(max-width: 900px){

    .contact-container{
        flex-direction: column;
    }

    .contact-info h2{
        font-size: 2.2rem;
    }

}

/* =========================
        WHATSAPP FLOAT
========================= */

.whatsapp-float{
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 65px;
    height: 65px;

    background: #25d366;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    color: white;

    font-size: 2rem;

    text-decoration: none;

    z-index: 9999;

    box-shadow: 0 10px 30px rgba(37,211,102,0.4);

    transition: 0.3s;
}

.whatsapp-float:hover{
    transform: scale(1.1);
}

@media(max-width: 768px){

.hero,
.properties,
.developments,
.contact{
    background-attachment: scroll !important;
}

.hero{
        background-position: 65% center;

        background-attachment: scroll;
    }

.developments{
        background-position: 55% center;

        background-attachment: scroll;
    }
}

/* =========================
        DEVELOPMENT SWIPER
========================= */

.development-swiper{
    width: 100%;
    max-width: 100%;
    border-radius: 30px;
    overflow: hidden;
}

.development-swiper .swiper-slide{
    width: 100% !important;
}

.development-swiper img{
    width: 100%;

    display: block;

    object-fit: cover;

    border-radius: 30px;
}

.development-image{
    width: 100%;
    overflow: hidden;
    flex: 1;
    max-width: 50%;
}


/* ARROWS */

.dev-next,
.dev-prev{
    width: 50px !important;
    height: 50px !important;

    background: rgba(0,0,0,0.5);

    backdrop-filter: blur(10px);

    border-radius: 50%;

    color: white !important;

    transition: 0.3s;
}

.dev-next:hover,
.dev-prev:hover{
    background: var(--primary-color);
}

/* ICON SIZE */

.dev-next::after,
.dev-prev::after{
    font-size: 1rem !important;
    font-weight: bold;
}

/* =========================
        FOOTER
========================= */

.footer{
    padding: 30px 8%;

    background: #080808;

    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content{
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    flex-wrap: wrap;
}

.footer p{
    color: #8f8f8f;

    font-size: 0.95rem;
}

.developer span{
    color: var(--primary-color);

    font-weight: 600;
}

/* MOBILE */

@media(max-width: 768px){

    .footer-content{
        flex-direction: column;

        text-align: center;
    }

}

.developer-link{
    color: var(--primary-color);

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;
}

.developer-link:visited{
    color: var(--primary-color);
}

.developer-link:hover{
    opacity: 0.8;
}

.footer-contact{
    display: flex;
    flex-direction: column;

    gap: 5px;

    text-align: center;
}

.footer-link{
    color: var(--primary-color);

    text-decoration: none;

    transition: 0.3s;
}

.footer-link:hover{
    opacity: 0.8;
}

.property-hero{

    position:relative;

    height:80vh;
}

.property-hero img{

    width:100%;

    height:100%;

    object-fit:cover;
}

.property-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:0 10%;
}

.property-overlay h1{

    font-size:4rem;

    color:white;
}

.property-overlay p{

    color:#ddd;

    margin-top:10px;
}

.property-price{

    color:var(--primary-color);

    font-size:2rem;

    font-weight:700;

    margin-top:20px;
}

.property-type{

    display:inline-block;

    width:max-content;

    padding:8px 16px;

    border-radius:20px;

    background:rgba(244,124,32,.15);

    color:var(--primary-color);

    margin-bottom:20px;
}

.property-gallery,
.property-description,
.property-features,
.property-contact{

    padding:80px 8%;
}

.gallery-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:20px;
}

.gallery-grid img{

    width:100%;

    height:250px;

    object-fit:cover;

    border-radius:15px;
}

.features-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:20px;
}

.feature{

    background:#181818;

    padding:20px;

    border-radius:15px;

    text-align:center;
}

.property-btn{

    display:inline-block;

    background:var(--primary-color);

    color:white;

    padding:15px 35px;

    border-radius:40px;

    text-decoration:none;

    margin-top:20px;
}

.property-back{

    text-align:center;

    padding:40px;
}

.property-back a{

    display:inline-block;

    padding:12px 25px;

    border:1px solid rgba(255,255,255,.15);

    border-radius:30px;

    color:white;

    text-decoration:none;

    transition:.3s;
}

.property-back a:visited{

    color:white;
}

.property-back a:hover{

    background:var(--primary-color);

    border-color:var(--primary-color);
}

.property-map{
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.property-map h2{
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.property-map iframe{
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 20px;
}