
/*/////////////////////////////////////////////////Variables//////////////////////////////////////////*/

:root{

    --azul:#14243D;
    --azul-2:#233652;

    --dorado:#A37947;
    --dorado-light:#C49B69;

    --gris:#F7F7F7;
    --gris-texto:#707070;

    --blanco:#FFFFFF;

    --radius:24px;

    --shadow:
    0 15px 40px rgba(0,0,0,.08);

}


/*/////////////////////////////////////////////////Base//////////////////////////////////////////*/

html{

    scroll-behavior:smooth;
   /*overflow-x: auto;*/
}


@font-face {
  font-family: 'Dubai';
  src: url('/fonts/DUBAI-LIGHT.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Dubai';
  src: url('/fonts/DUBAI-REGULAR.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Dubai';
  src: url('/fonts/DUBAI-MEDIUM.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Dubai';
  src: url('/fonts/DUBAI-BOLD.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


body{

    font-family:'poppins',sans-serif!important;

    color:#222;

    overflow-x:hidden;
}

h1, h2{

    font-family:'Bodoni Moda',serif!important;
    /*text-transform: uppercase;*/

    font-weight:700;

    color:var(--azul);
}

a{

    text-decoration:none;
}

section{

    position:relative;

    padding:120px 0;
}


/*/////////////////////////////////////////////////Deco//////////////////////////////////////////*/


.decoracion-bg{

    position:absolute;

    width:700px;

    opacity:.03;

    pointer-events:none;
}

.decoracion-right{

    right:-150px;
    top:0;
}

.decoracion-left{

    left:-150px;
    bottom:0;
}



/*/////////////////////////////////////////////////Header//////////////////////////////////////////*/

.navbar-sofia{

    background:rgba(20,36,61,.75);

    backdrop-filter:blur(15px);

    transition:.4s;

    padding:10px 0;
}

.navbar-sofia-2
 {
    background: rgb(20 36 61);
    backdrop-filter: blur(15px);
    transition: .4s;
    padding: 20px 0;
}


.navbar-scrolled{

    background:#fff;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    padding:12px 0;
}

.navbar-brand img{

    height:80px;

    transition:.3s;
}

.navbar-scrolled .navbar-brand img{

    height:80px;
}

.navbar-toggler{
    color: #fff;
}

.navbar-scrolled .navbar-toggler{
    color: var(--azul);
}
.nav-link{

    color:#fff!important;

    text-transform:uppercase!important;

    font-size:13px!important;

    letter-spacing:2px!important;

    margin-left:20px!important;

    position:relative!important;
}

.navbar-scrolled .nav-link{

    color:var(--azul)!important;
}

.nav-link::after{

    content:'';

    position:absolute;

    width:0;
    height:2px;

    background:var(--dorado)!important;

    left:0;
    bottom:-5px;

    transition:.3s;
}

.nav-link:hover::after{

    width:100%;
}



/*/////////////////////////////////////////////////Hero//////////////////////////////////////////*/

.hero{

    position:relative;

    height:100vh;

    min-height:100vh;

    overflow:hidden;

    display:flex;
    align-items:center;
}

.hero-video{

    position:absolute;

    top:50%;
    left:50%;

    min-width:100%;
    min-height:100%;

    width:auto;
    height:auto;

    transform:translate(-50%,-50%);

    object-fit:cover;

    z-index:1;
}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        rgba(20,36,61,.4),
        rgba(20,36,61,.5)
    );

    z-index:2;
}

.hero .container{

    position:relative;
    z-index:3;
}

.hero-content{

    /*max-width:850px;*/

    color:white;
}

.hero-content h1{

    font-size:5rem;

    color:white;

    /*line-height:1;*/

    margin-bottom:25px;
}

.hero-content p{

    font-size:1.2rem;

    color:rgba(255,255,255,.85);

    max-width:650px;
}

.hero-buttons{

    display:flex;
    gap:15px;

    margin-top:40px;
}

.hero-scroll{

    position:absolute;

    bottom:30px;
    left:50%;

    transform:translateX(-50%);

    z-index:4;

    display:flex;
    flex-direction:column;
    align-items:center;

    color:white;

    font-size:12px;

    letter-spacing:3px;

    text-transform:uppercase;
}

.hero-scroll i{

    font-size:28px;

    margin-top:5px;

    animation:scrollDown 2s infinite;
}

@keyframes scrollDown{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(10px);
    }
}

/*/////////////////////////////////////////////////Botones//////////////////////////////////////////*/

.btn-dorado{

    background:var(--dorado);

    color:white;

    padding:14px 35px;

    border:none;

    border-radius:40px;

    transition:.3s;
}

.btn-dorado:hover{

    background:var(--azul);

    color:white;
}


.btn-light{
  
    padding: 14px 35px;
    border: none;
    border-radius: 40px;
    transition: .3s;
}

.btn-outline-sofia{

    border:1px solid white;

    color:white;

    border-radius:40px;

    padding:14px 35px;
}

.btn-outline-sofia:hover{

    background:white;

    color:var(--azul);
}


/*/////////////////////////////////////////////////Buscador//////////////////////////////////////////*/


.buscador{

    margin-top:0px;

    z-index:20;
}

.buscador-box{

    background:white;

    padding:25px;

    border-radius:28px;

    box-shadow:
    0 25px 60px rgba(0,0,0,.12);
}

.form-control,
.form-select{

    border:none;

    height:60px;

    background:#f7f7f7;

    border-radius:14px;
}

.form-control:focus,
.form-select:focus{

    box-shadow:none;

    border:1px solid var(--dorado);
}


/*/////////////////////////////////////////////////Titulos//////////////////////////////////////////*/


.section-tag{

    color:var(--dorado);

    text-transform:uppercase;

    letter-spacing:3px;

    font-size:24px;
}

.section-title{

    font-size:50px;
text-transform: uppercase;
    margin-bottom:20px;
}

.section-description{

    color:var(--gris-texto);

    line-height:1.9;
}


/*///////////////////////////////////////////////////////Nosotros////////////////////////////////////////*/


.nosotros{background: var(--azul);}



.nosotros .img-fluid {
    border-radius: 28px;
    height:90%;
    object-fit: cover;
}


.nosotros p{text-align: justify;
    hyphens: auto;}

/*/////////////////////////////////////////////////Destacadas y propiedades//////////////////////////////////////////*/

.property-card{

    background:white;

    border-radius:28px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.4s;
}

.property-card:hover{

    transform:translateY(-12px);

    box-shadow:
    0 30px 70px rgba(0,0,0,.15);
}

.property-image{

    position:relative;

    overflow:hidden;
    background: #14243d;
}

.property-image img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:1s;
    opacity: 0.7;
}

.property-card:hover img{

    transform:scale(1.08);
    opacity: 1;
}

.property-status{

    position:absolute;

    top:20px;
    left:20px;

    background:white;

    padding:8px 18px;

    border-radius:30px;

    font-size:12px;

    text-transform:uppercase;
}

.property-price{

    position:absolute;

    bottom:20px;
    left:20px;

    color:white;

    font-size:30px;

    font-weight:600;
}

.property-body{

    padding:30px;
}

.property-location{

    color:#888;

    display:flex;

    gap:8px;

    align-items:center;
}

.property-location i{

    color:var(--dorado);
}

.property-body h3 {
    font-size: 28px;
    /* text-transform: uppercase; */
    font-weight: 400;
    color: #14243d;
    margin: 7px 0;
    /* font-family: 'Bodoni Moda', serif !important; */
}
.property-features{

    display:flex;

    justify-content: flex-start;

    margin:25px 0;

    padding:20px 0;

    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
}

.feature-item{

    display:flex;

    align-items:center;

    gap:8px;
}

.feature-item i{

    color:var(--dorado);
}

.property-link{

    color:var(--azul);

    font-weight:600;
}


/*///////////////////////////////////////EMPRENDIMIENTOS///////////////////////////////////////////////////*/
.emprendimientos{
    background: var(--azul);
}


.emprendimientos .decoracion-bg {
    width: auto;}
.project-card{

    background:white;

    border-radius:28px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.4s;
}

.project-card:hover{

    transform:translateY(-10px);
}

.project-image{

    height:350px;

    overflow:hidden;

    position:relative;
}

.project-image img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:1s;
}

.project-card:hover img{

    transform:scale(1.08);
}
.project-badge{

    position:absolute;

    top:20px;
    left:20px;

    background:white;

    border-radius:30px;

    padding:10px 18px;

    font-size:12px;

    text-transform:uppercase;
}

.project-badge-2 {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #a77f50;
    color: #fff;
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 12px;
    text-transform: uppercase;
}
.project-content{

    padding:35px;
}

.project-zone{

    display:flex;

    gap:8px;

    align-items:center;

    color:#777;
}

.project-zone i{

    color:var(--dorado);
}

.project-content h3{

    font-size:40px;

    margin:15px 0;
}

.project-features{

    display:flex;
    flex-wrap: wrap;
    /*grid-template-columns:repeat(2,1fr);*/

    gap:15px;

    margin:15px 0;
}

.project-feature{

    display:flex;

    align-items:center;

    gap:10px;

    border:1px solid #eee;

    padding:12px;

    border-radius:14px;

    transition:.3s;
}

.project-feature:hover{

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

.project-feature i{

    color:var(--dorado);
}

.project-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-top:1px solid #eee;

    padding-top:25px;
}

.project-price strong{

    display:block;

    color:var(--azul);

    font-size:24px;
}



/*///////////////////////////////Tasaciones//////////////////////////////////////////////////////*/


.tasacion{

background:
linear-gradient(rgba(163, 121, 71, .95), rgb(163 121 71 / 48%)), url(../img/tasaciones.jpg);

background-size: cover;
background-position: center;
background-repeat: no-repeat;

    color:white;

    text-align:center;
    min-height: 70vh;
}

.tasacion h2{

    color:white;

    font-size:70px;
}

/*///////////////////////////////propeidades/////////////////////////////////////////////////////////*/


.page-header{
    padding:100px 0 100px;
    background:linear-gradient(rgba(20,36,61,.85),rgba(20,36,61,.85)),
    url(../img/SOFIA_fachada.jpeg);
    background-size:cover;
    background-position:center;
    text-align:center;
    color:#fff;
}

.section-kicker{
    color:var(--dorado);
    letter-spacing:3px;
    font-size:.85rem;
}

.page-header h1{
    font-family:'Bodoni Moda',serif;
    font-size:4rem;
    margin:15px 0;
}

.page-header p{
    max-width:700px;
    margin:auto;
}

.advanced-search{
    margin-top:-50px;
    position:relative;
    z-index:20;
}

.search-form{
    background:#fff;
    padding:30px;
    border-radius:24px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
}

.btn-search{
    background:var(--dorado);
    color:#fff;
    border:none;
    height:100%;
}

.stats-strip{
    padding:50px 0;
}

.stat-item{
    background:#fff;
    text-align:center;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 40px rgba(0,0,0,.05);
}

.stat-item strong{
    display:block;
    font-size:2rem;
    color:var(--azul);
}

.properties-section{
    padding:20px 0;
}

.map-card{
    position:sticky;
    top:10px;
    overflow:hidden;
    border-radius:24px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
}

#map{
    height:100vh;
    background:#e9ecef;
}

.results-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

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

.pagination-sofia{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:50px;
}

.pagination-sofia a{
    width:45px;
    height:45px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    background:#fff;
    color:var(--azul);
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.pagination-sofia a.active{
    background:var(--dorado);
    color:#fff;
}

@media(max-width:991px){



.page-header h1 {
    font-size: 2rem;
}

.tasacion h2{

    color:white;

    font-size:40px;
}


    .page-header img{
width: 90%!important;
    }

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

    .map-card{
        position:relative;
        top:auto;
        margin-bottom:40px;
    }

    #map{
        height:450px;
    }

    .results-bar{
        flex-direction:column;
        gap:15px;
    }

}


/*//////////////////////////////////Contacto/////////////////////////////////////////////////////////*/

.hero-contacto{
    position:relative;
    height:700px;
    overflow:hidden;
    display:flex;
    align-items:center;
}

.hero-contacto iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
}

.hero-contacto-overlay{
    position:absolute;
    inset:0;
    background:rgba(20,36,61,.55);
    backdrop-filter:blur(2px);
}

.hero-contacto .container{
    position:relative;
    z-index:2;
}

.hero-contacto-card{
    max-width:620px;
    background:rgba(255,255,255,.95);
    padding:50px;
    border-radius:24px;
}

.hero-contacto-card h1{
    font-family:'Bodoni Moda',serif;
    color:var(--azul);
    font-size:clamp(42px,5vw,72px);
    margin:15px 0;
}

.contact-data{
    margin-top:35px;
}

.contact-data-item{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:18px;
}

.contact-data-item:last-child{
    margin-bottom:0;
}

.contact-data-item i{
    color:var(--dorado);
    width:24px;
    text-align:center;
}

.contact-form-box{
    background:#fff;
    padding:60px;
    border-radius:24px;
}

.contact-form-box textarea{
    resize:none;
    min-height: 200px;
}

@media(max-width:991px){

    .hero-contacto{
        height:auto;
        min-height:650px;
        padding:120px 0;
    }

    .hero-contacto-card{
        padding:35px;
    }

    .contact-form-box{
        padding:35px;
    }

}
/*/////////////////////////////////Footer////////////////////////////////////////////////////////////*/


footer{

    background:var(--azul);

    color:white;

    padding:0px 0 0px;
}
.footer-2{
    background: #a77f50;
}
footer h4{

    color:white;

    margin-bottom:25px;
}

.footer-logo{

    width:80%;
}

.footer-social{

    display:flex;

    gap:15px;
}

.footer-social a{

    width:45px;
    height:45px;

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

    border-radius:50%;

    display:flex;

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

    color:white;

    transition:.3s;
}

.footer-social a:hover{

    background:var(--dorado);

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



.whatsapp-btn {
  position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #075e54bd;
    color: white;
    border-radius: 50%;
    padding: 10px 21px;
    font-size: 33px;
    width: 70px;
    height: 70px;
    z-index: 9;
}

.whatsapp-btn:hover{
  background-color: #25d366;
}
@media(max-width:991px){

    .hero-content h1{

        font-size:60px;
    }

    .section-title{

        font-size:50px;
    }

    .project-features{

        grid-template-columns:repeat(2,1fr);
    }

    .property-features{

        flex-wrap:wrap;
        gap:15px;
    }
}

@media(max-width:767px){

    section{

        padding:80px 0;
    }

    .hero{

        min-height:700px;
    }

    .hero-content h1{

        font-size:45px;
    }

    .section-title{

        font-size:38px;
    }

    .project-features{

        grid-template-columns:1fr;
    }

    .buscador-box{

                padding: 15px;
        border-radius: 16px;

    }

    .btn-dorado {

    padding: 8px 35px;
    }

    #toggle-filtros {

    height: 40px!important;
    }
}



.news-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    margin:15px;
    transition:.4s;
    height:100%;
}

.news-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.news-card a{
    text-decoration:none;
    color:inherit;
    display:block;
}

.news-image{
    position:relative;
    overflow:hidden;
}

.news-image img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:.6s;
}

.news-card:hover .news-image img{
    transform:scale(1.08);
}

.news-date{
    position:absolute;
    top:20px;
    left:20px;

    background:rgba(20,36,61,.95);
    color:#fff;

    padding:10px 18px;

    border-radius:50px;

    font-size:.8rem;
    letter-spacing:1px;
}

.news-body{
    padding:35px;
}

.news-body h3{
    font-size:1.45rem;
    color:var(--azul);
    line-height:1.3;
    margin-bottom:20px;
}

.news-body p{
    color:#777;
    margin-bottom:25px;
}

.news-link{
    color:var(--dorado);
    font-weight:600;
    display:flex;
    align-items:center;
    gap:8px;
}

.news-link i{
    transition:.3s;
}

.news-card:hover .news-link i{
    transform:translateX(5px);
}

.slick-prev-custom,
.slick-next-custom{

    width:60px;
    height:60px;

    border:none;
    border-radius:50%;

    background:#fff;

    position:absolute;
    top:-110px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    transition:.3s;
}

.slick-prev-custom{
    right:80px;
}

.slick-next-custom{
    right:0;
}

.slick-prev-custom:hover,
.slick-next-custom:hover{
    background:var(--dorado);
    color:#fff;
}