*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#111;
    color:white;
    line-height:1.6;
}

/* HERO */

.hero{
    min-height:100vh;
    padding:30px 8%;
    background:
    linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
    url('/img/main_page.jpg')
    center/cover no-repeat;

    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:1.2rem;
    font-weight:bold;
    max-width:500px;
}

.top-contact a{
    color:white;
    text-decoration:none;
    font-size:1.1rem;
    font-weight:bold;
    padding:12px 20px;
    border:1px solid rgba(255,255,255,.2);
    border-radius:14px;
    transition:.3s;
}

.top-contact a:hover{
    background:#f0b400;
    color:black;
}

.hero-content{
    max-width:700px;
    margin-bottom:120px;
}

.hero-mini-title{
    color:#f0b400;
    letter-spacing:2px;
    font-size:.9rem;
}

.hero-content h1{
    font-size:4rem;
    line-height:1.1;
    margin:20px 0;
}

.hero-content p{
    color:#d1d1d1;
    margin-bottom:35px;
}

/* BUTTON */

.btn-primary{
    display:inline-block;
    background:#f0b400;
    color:black;
    text-decoration:none;
    padding:14px 28px;
    border-radius:14px;
    font-weight:bold;
    transition:.3s;
}

.btn-primary:hover{
    transform:translateY(-4px);
    background:#ffd34d;
}

/* SECTIONS */

section{
    padding:100px 8%;
}

.section-title{
    margin-bottom:60px;
}

.section-title span{
    color:#f0b400;
    letter-spacing:2px;
    font-size:.9rem;
}

.section-title h2{
    font-size:2.5rem;
    margin-top:10px;
}

/* ABOUT */

.about-layout{
    display:grid;
    grid-template-columns:1fr 1.7fr;
    gap:30px;
    align-items:center;
}

.about-box{
    background:#1b1b1b;
    border-radius:20px;
    padding:35px;
    border:1px solid #2a2a2a;
    height:fit-content;
}

.about-box p{
    color:#cfcfcf;
    margin-bottom:18px;
    font-size: 24px;
}

/* CAROUSEL */

.carousel{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    height:550px;
    width:100%;
    border:1px solid #2a2a2a;
}

.carousel-track{
    display:flex;
    height:100%;
    transition:transform .6s ease;
}

.carousel img{
    min-width:100%;
    width:100%;
    height:100%;
    object-fit:cover;
    flex-shrink:0;
}

/* BOTONES */

.carousel-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:rgba(0,0,0,.55);
    color:white;
    font-size:1.4rem;
    cursor:pointer;
    z-index:20;
    transition:.3s;
    backdrop-filter:blur(4px);

    display:flex;
    align-items:center;
    justify-content:center;
}

.carousel-btn:hover{
    background:#f0b400;
    color:black;
}

.carousel-btn.prev{
    left:15px;
}

.carousel-btn.next{
    right:15px;
}

/* SERVICES */

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
    gap:25px;
}

.service-card{
    background:#1b1b1b;
    border:1px solid #2a2a2a;
    border-radius:20px;
    padding:35px;
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-6px);
    border-color:#f0b400;
}

.service-card h3{
    margin-bottom:15px;
    font-size:1.3rem;
}

.service-card p{
    color:#c9c9c9;
}

/* MAP */

.map-box{
    display:block;
    border-radius:22px;
    overflow:hidden;
    border:1px solid #2a2a2a;
    transition:.3s;
}

.map-box:hover{
    transform:translateY(-5px);
}

.map-box iframe{
    width:100%;
    height:450px;
    border:none;
}

/* CONTACT */

.contact-container{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
    gap:25px;
}

.contact-card{
    background:#1b1b1b;
    border:1px solid #2a2a2a;
    border-radius:20px;
    padding:35px;
    transition:.3s;
}

.contact-card:hover{
    transform:translateY(-5px);
    border-color:#f0b400;
}

.contact-card h3{
    margin-bottom:10px;
}

.contact-card p{
    color:#d0d0d0;
}

.company-data{
    margin-top:40px;
    color:#8f8f8f;
}

/* FOOTER */

.footer{
    padding:30px;
    text-align:center;
    border-top:1px solid #2a2a2a;
    color:#9a9a9a;
}

/* RESPONSIVE */

@media(max-width:900px){

    .about-layout{
        grid-template-columns:1fr;
    }

    .carousel{
        height:280px;
    }

}

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:20px;
        align-items:flex-start;
    }

    .hero-content h1{
        font-size:2.8rem;
    }

    .section-title h2{
        font-size:2rem;
    }

}