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

html {
    scroll-behavior: smooth;
}

body {

    font-family: var(--text-font);

    color: var(--text-color);

    overflow-x: hidden;

    background:
        linear-gradient(rgba(26, 26, 26, .78),
            rgba(26, 26, 26, .78)),
        url("../assets/images/pattern.png");

    background-size: 650px;

    background-repeat: repeat;

    background-attachment: fixed;

}

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

ul {
    list-style: none;
}

.container {
    width: min(90%, 1200px);
    margin: auto;
}

/*navBar*/

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    transition: background .35s ease,
        box-shadow .35s ease,
        backdrop-filter .35s ease;
}

.navbar__container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__menu {
    display: flex;
    gap: 50px;
}

.navbar__menu a {
    font-family: var(--title-font);
    color: white;
    font-weight: 600;
    transition:
        background .35s ease,
        box-shadow .35s ease,
        height .35s ease;
}

.navbar__menu a:hover {
    color: var(--accent-color);
}

.navbar__toggle {
    display: none;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, .95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(22, 22, 22, 0.25);
}

.navbar.scrolled .navbar__menu a {
    color: #f3f3f2;
}

.navbar__logo img {
    height: 95px;
    display: block;
    transition: height .35s ease;
    ;
}

.navbar.scrolled .navbar__logo img {
    height: 55px;

}

.navbar__menu a {

    padding: 12px 22px;

    border-radius: 50px;

    transition: .35s ease;

    text-decoration: none;

}

.navbar__menu:hover a {

    opacity: .55;

}

.navbar__menu a:hover {

    opacity: 1;

    color: #111;

    background: linear-gradient(135deg,
            #FFD54A,
            #D4AF37);

    box-shadow:
        0 10px 25px rgba(212, 175, 55, .35),
        0 0 18px rgba(255, 215, 100, .20);

    transform: translateY(-2px);

}


/*============================
            HERO
=============================*/


.hero {
    scroll-margin-top: 100px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 90px;
    background-image: url("../assets/images/hero/hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, .75) 0%,
            rgba(0, 0, 0, .45) 45%,
            rgba(0, 0, 0, .15) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 650px;
    color: white;
}

.hero__title {
    font-family: var(--title-font);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero__title span {
    display: block;
    color: var(--accent-color);
    font-size: .65em;
    margin-top: 8px;
}

.hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, .9);
}

.hero__buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 220px;

    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0),
            #1a1a1a);

    z-index: 1;

}

/*BUTTONS=*/

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.btn--primary {
    background: var(--accent-color);
    color: white;
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .25);
}

.btn--secondary {
    border: 2px solid rgba(255, 255, 255, .8);
    color: white;
}

.btn--secondary:hover {
    background: white;
    color: #1A1A1A;
}



/*============================
        PROJECTS
=============================*/

.services {

    background:
        url("../assets/images/pattern.png");

    background-size: 650px;

    background-repeat: repeat;

}

.section__subtitle {
    text-align: center;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;

}

.section__title {
    text-align: center;
    color: #ffffff;
    font-family: var(--title-font);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 60px;
}

.projectsSwiper {
    width: 100%;
}

.swiper-slide {
    height: 600px;
    overflow: hidden;
    transform: scale(.5);
    transition: .4s;
    opacity: .55;
    transition: transform .4s ease,
        opacity .4s ease,
        box-shadow .4s ease;
    border-radius: 20px;
}

.swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

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

/*============================
        SWIPER BUTTONS
=============================*/

.swiper-button-next,
.swiper-button-prev {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(26, 26, 26, .75);
    backdrop-filter: blur(8px);
    transition: .3s;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 22px;
    color: white;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--accent-color);
    transform: scale(1.08);
}

.swiper-button-next {
    right: 25px;
}

.swiper-button-prev {
    left: 25px;
}




/* =========================
GALERÍA COMPLETA
========================= */

.gallery-modal {

    position: fixed;

    inset: 0;

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

    backdrop-filter: blur(10px);

    display: flex;

    justify-content: center;

    align-items: center;

    opacity: 0;

    visibility: hidden;

    transition: .35s ease;

    z-index: 9999;

}

.gallery-modal.active {

    opacity: 1;

    visibility: visible;

}

.gallery-modal__content {

    width: min(92%, 1200px);

    max-height: 88vh;

    background: #1A1A1A;

    border-radius: 24px;

    padding: 45px;

    overflow-y: auto;

    position: relative;

    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);

    transform: translateY(40px) scale(.96);

    transition: .35s ease;

}

.gallery-modal.active .gallery-modal__content {

    transform: translateY(0) scale(1);

}

.gallery-modal__close {

    position: absolute;

    top: 25px;

    right: 25px;

    width: 48px;

    height: 48px;

    border: none;

    border-radius: 50%;

    background: #262626;

    color: white;

    cursor: pointer;

    font-size: 1.2rem;

    transition: .3s;

}

.gallery-modal__close:hover {

    background: var(--accent-color);

    color: #111;

    transform: rotate(90deg);

}

.gallery-grid{

    display:grid;

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

    gap:20px;

    margin-top:50px;

}

.gallery-grid img{

    width:100%;

    aspect-ratio:1/1;

    object-fit:cover;

    border-radius:18px;

    cursor:pointer;

    transition:.35s;

}

.gallery-grid img:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.35);

}

.gallery__footer{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:18px;

    margin-top:45px;

}

.gallery__text{

    color:#C8C8C8;

    font-size:1rem;

    line-height:1.8;

}

.gallery__button{

    display:flex;

    align-items:center;

    gap:12px;

    padding:18px 34px;

    border-radius:999px;

    background:var(--accent-color);

    color:#111;

    font-weight:700;

    text-decoration:none;

    border:none;

    cursor:pointer;

    transition:.35s;

}

.gallery__button:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 35px rgba(212,175,55,.35);

}

.gallery-grid img{

    transition:.35s;

}

.gallery-grid img:hover{

    transform:scale(1.03);

}

/*=========================
LIGHTBOX
=========================*/

.lightbox{

    position:fixed;

    inset:0;

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

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:10000;

}

.lightbox.active{

    opacity:1;

    visibility:visible;

}

.lightbox img{

    max-width:90%;

    max-height:85vh;

    border-radius:12px;

    object-fit:contain;

    box-shadow:0 30px 60px rgba(0,0,0,.45);

    animation:zoomIn .3s ease;

}

@keyframes zoomIn{

    from{

        transform:scale(.9);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

.lightbox button{

    position:absolute;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    color:white;

    font-size:1.8rem;

    cursor:pointer;

    transition:.3s;

}

.lightbox button:hover{

    background:var(--accent-color);

    color:#111;

}

.lightbox__close{

    top:35px;

    right:35px;

}

.lightbox__prev{

    left:40px;

}

.lightbox__next{

    right:40px;

}


/*============================
        SERVICES
=============================*/

.services {
    background: #1a1a1a00;
    padding: 120px 0;

}

.section__description {
    max-width: 700px;
    margin: 0 auto 70px;
    text-align: center;
    color: #BDBDBD;
    line-height: 1.8;
}

.services__grid {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.service-card {
    width: 350px;
    min-height: 420px;
    background: #242424;
    border-radius: 24px;
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: .35s ease;
    position: relative;
    overflow: hidden;
}

.service-card__icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #2D2D2D;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    transition: .35s;
}

.service-card:hover .service-card__icon {
    background: #303030;
}

.service-card__icon svg {
    width: 70px;
    height: 70px;
    stroke: #bdbdbd;
    stroke-width: 1.8;
    transition: .35s;
}

.service-card h3 {
    font-size: 1.7rem;
    color: white;
    margin-bottom: 20px;
}

.service-card p {
    color: #bdbdbd;
    line-height: 1.8;
    margin-bottom: 35px;
}

.service-card a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: .35s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transition: .35s;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, .35);
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover svg {
    stroke: var(--accent-color);
}

.service-card:hover a {
    color: var(--accent-color);
}

.service-card span {
    transition: .3s;
}

.service-card:hover span {
    transform: translateX(6px);
}

/*============================
      WHY CHOOSE US
=============================*/

.features {
    background: #1a1a1a00;
    padding: 40px 0;
}

.features__grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 80px;
}

.feature {
    flex: 1;
    text-align: center;
}

.feature svg {
    width: 60px;
    height: 60px;
    color: var(--accent-color);
    margin-bottom: 25px;
    transition: .35s ease;
}

.feature h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.feature::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: var(--accent-color);
    margin: 22px auto;
    border-radius: 20px;
    transition: .35s ease;
}

.feature p {
    color: #BDBDBD;
    line-height: 1.8;
    max-width: 250px;
    margin: auto;
}

.feature {
    transition: .35s ease;
    cursor: default;
}

.feature:hover {
    transform: translateY(-8px);
}

.feature:hover svg {
    transform: scale(1.15);
}

.feature:hover::after {
    width: 120px;
}

@media (max-width:992px) {
    .features__grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .feature {
        flex: 0 0 calc(50% - 25px);
    }
}

@media (max-width:768px) {
    .feature {
        flex: 0 0 100%;
    }
}

.feature svg {
    color: #9A9A9A;
}

.feature::after {
    background: #4A4A4A;
}

.feature:hover svg,
.feature:hover h3 {
    color: var(--accent-color);
}

.feature:hover::after {
    background: var(--accent-color);
}

/*=CONTACT=*/

.contact {
    background: linear-gradient(to bottom,
            #1a1a1a00,
            #111111);
    padding: 220px 0 120px;
    margin-top: -90px;
}

.contact .container {
    background: #202020;
    border-radius: 30px;
    padding: 100px 70px;
    text-align: center;
    box-shadow: 0 35px 80px rgba(0, 0, 0, .35);
    position: relative;
    border: 1px solid rgba(255, 255, 255, .05);
}

.contact__description {

    margin-bottom: 20px;

}

.contact__buttons {

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

    margin-top: 45px;

}

.contact__button {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 260px;

    margin: 0;
    max-width: 100%;

    padding: 20px 30px;

    background: #25D366;

    color: white;

    border-radius: 60px;

    text-decoration: none;

    font-size: 1.05rem;

    font-weight: 700;

    transition: .35s;

    box-shadow: 0 15px 35px rgba(37, 211, 102, .28);

}

.contact__button--whatsapp {

    background: #25D366;

    box-shadow: 0 15px 35px rgba(37, 211, 102, .28);

}

.contact__button--whatsapp:hover {

    background: #20ba5a;

}

.contact__button--facebook {

    background: #1877F2;

    box-shadow: 0 15px 35px rgba(24, 119, 242, .28);

}

.contact__button--facebook:hover {

    background: #1668d1;

}

.contact__button:hover {

    transform: translateY(-6px);

}

.contact__button i {

    font-size: 1.5rem;

    transition: .3s;

}

.contact__button:hover i {

    transform: scale(1.15) rotate(-10deg);

}

.contact__phrase {
    color: #9F9F9F;
    margin-bottom: 70px;
    font-style: italic;
}

.contact__info {

    display: grid;

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

    gap: 40px;

    margin-top: 70px;

    padding-top: 55px;

    border-top: 1px solid rgba(255, 255, 255, .08);

}

.contact__item {

    text-align: center;

}

.contact__item svg {
    width: 38px;
    height: 38px;
    color: var(--accent-color);
    margin-bottom: 0px;
}

.contact__item h3 {
    color: white;
    margin-bottom: 10px;
}

.contact__item span {
    color: #BDBDBD;
}

.contact .container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .06);
    pointer-events: none;
}

.contact__trust {

    margin-top: 18px;

    color: #9b9b9b;

    font-size: .95rem;

}

.contact__title {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin-bottom: 15px;

}

.contact__title svg {

    width: 24px;

    height: 24px;

    color: var(--accent-color);

}

.contact__title h3 {

    color: white;

    font-size: 1.15rem;

}

.contact__item span {

    color: #AFAFAF;

    line-height: 1.6;

}

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

.footer {

    background: #0F0F0F;

    padding: 80px 0 40px;

    text-align: center;

}

.footer__logo {

    width: 110px;

    margin: 0 auto 25px;

}

.footer h3 {

    color: white;

    font-size: 1.7rem;

    margin-bottom: 18px;

}

.footer__description {

    max-width: 600px;

    margin: 0 auto 45px;

    color: #9D9D9D;

    line-height: 1.8;

}

.footer__menu {

    display: flex;

    justify-content: center;

    gap: 35px;

    flex-wrap: wrap;

}

.footer__menu a {

    color: white;

    text-decoration: none;

    transition: .3s;

    font-weight: 500;

}

.footer__menu a:hover {

    color: var(--accent-color);

}

.footer__line {

    width: 100%;

    height: 1px;

    margin: 45px auto 30px;

    background: rgba(255, 255, 255, .08);

}

.footer__copy {

    color: #7A7A7A;

    font-size: .95rem;

}

.footer {

    position: relative;

}

.footer::before {

    content: "";

    position: absolute;

    top: 0;

    left: 50%;

    transform: translateX(-50%);

    width: 180px;

    height: 2px;

    background: linear-gradient(90deg,
            transparent,
            var(--accent-color),
            transparent);

}