:root {
    --primary: #635e5d;
    --bs-primary: var(--primary);
    --primary-rgb: 99, 94, 93;
    --bs-primary-rgb: var(--primary-rgb);

    --secondary: #12b0a1;
    --bs-secondary: var(--secondary);
    --secondary-rgb: 135, 195, 41;
    --secondary-light: color-mix(in srgb, var(--secondary) 24%, white);
    --secondary-dark: color-mix(in srgb, var(--secondary) 24%, black);

    --swiper-theme-color: var(--primary);
    --swiper-pagination-bullet-size: 16px;
    --swiper-pagination-bottom: -6px;
}

@font-face {
    font-family: "Inter-Regular";
    src: url("../fonts/Inter-Regular.ttf");
}

@font-face {
    font-family: "Inter-Medium";
    src: url("../fonts/Inter-Medium.ttf");
}

@font-face {
    font-family: "Inter-SemiBold";
    src: url("../fonts/Inter-SemiBold.ttf");
}

@font-face {
    font-family: "Inter-Bold";
    src: url("../fonts/Inter-Bold.ttf");
}

/* general */
.text-secondary-dark {
    color: var(--secondary-dark);
}

.bg-secondary-light {
    color: var(--secondary-dark);
}

body {
    font-family: "Inter-Regular";
    background-color: #f8f8f8;
}

/* inicio header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s color 0.3s;
}

.header .container-right ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header .container-right ul li a {
    text-transform: capitalize;
    text-decoration: none;
    padding: 1.38rem 0.8rem;
    font-size: 1.05rem;
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.header .container-right ul li a:hover {
    color: var(--secondary);
}

.header.scrolled {
    background-color: #fff;
    box-shadow: 0px 0.13rem 1.25rem #635e5d97;
}

.header.scrolled ul li a {
    color: var(--secondary);
}

.header.scrolled ul li a:hover {
    color: var(--primary);
}

@media screen and (width < 768px) {
    .navbar-brand img {
        object-fit: contain;
        max-width: 8.75rem;
    }
}

/* menu mobile */

.btn-mobile {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
}

@media screen and (max-width: 760px) {
    .btn-mobile {
        display: block;
    }

    .container-right {
        position: fixed;
        top: 0;
        right: -100%;
        height: 24%;
        width: 30%;
        background-color: var(--secondary-light);
        border-bottom-left-radius: 0.625rem;
        padding-top: 1.25rem;
    }

    .container-right.show {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: end;
        line-height: 2;
    }

    .nav-list li a {
        color: #635e5d !important;
        transition: all 0.1s ease-out;
    }

    .nav-list li a:hover {
        color: var(--secondary) !important;
        font-size: 1.1rem !important;
        font-weight: 600;
    }
}

@media screen and (max-width: 610px) {
    .header .container {
        width: 90%;
    }

    .container-right {
        height: 24%;
        width: 40%;
    }
}

@media screen and (max-width: 440px) {
    .container-right {
        height: 28%;
        width: 50%;
    }
}

/* fin header */

/* index */

.section {
    --padding-y: 6rem;
    padding-top: var(--padding-y);
    padding-bottom: var(--padding-y);
    position: relative;
}
.seccion-marcas{
    --padding-y: 6rem;
    padding-top: var(--padding-y);
    padding-bottom: var(--padding-y);
    position: relative;
}
.seccion-marcas::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/background1.webp);
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 1;
}

@media screen and (width < 767px) {
    .section {
        --padding-y: 3rem;
    }
}

/* Inicio hero banner principal */

.hero .container {
    max-width: 94%;
}

.swiper-hero {
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.hero .swiper-slide {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.hero .content-swiper {
    position: absolute;
    display: flex;
    flex-direction: column;
    color: #f2f2f2;
    top: 50%;
    left: 6%;
    width: 40%;
    height: max-content;
    padding: 1.25rem;
    opacity: 0;
    z-index: 2;
    text-transform: uppercase;
}

.hero .content-swiper h1 {
    font-size: 5rem;
    margin-bottom: 1.25rem;
    opacity: 0;
}

.hero .content-swiper p {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 500;
    opacity: 0;
}

.hero .swiper-slide-active .content-swiper {
    opacity: 1;
}

.hero .swiper-slide-active .content-swiper h1 {
    animation: moveDown 0.8s ease-in forwards;
}

.hero .swiper-slide-active .content-swiper p {
    animation: moveDown 1s ease-in forwards;
    animation-delay: 1s;
}

@keyframes moveDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero .background[data-item="one"] {
    background: url(../img/banner.webp);
    background-size: cover;
    background-position: 50% 40%;
}
.hero .background[data-item="two"] {
    background: url(../img/banner11.webp);
    background-size: cover;
    background-position: 50% 40%;
}
.hero .background[data-item="three"] {
    background: url(../img/banner6.webp);
    background-size: cover;
    background-position: 50% 40%;
}
.hero .background[data-item="four"] {
    background: url(../img/banner10.webp);
    background-size: cover;
    background-position: 50% 40%;
}

.hero .background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: transform 1s ease-in-out;
    z-index: 1;
}

.hero .background::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease-in-out;
    z-index: 2;
}

.hero .scale-up {
    transform: scale(1.5);
    opacity: 1;
    transition: transform 5s ease-in-out;
}

@media screen and (max-width: 1300px) {
    .hero .content-swiper {
        width: 50%;
    }
}

@media screen and (max-width: 1100px) {
    .swiper-hero {
        height: 80vh;
    }
    .hero .content-swiper {
        width: 70%;
    }
}

@media screen and (max-width: 790px) {
    .swiper-hero {
        height: 70vh;
    }
    .hero .content-swiper {
        width: 80%;
    }
}

@media screen and (max-width: 660px) {
    .swiper-hero {
        height: 54vh;
    }

    .hero .content-swiper h1 {
        font-size: 2.5rem;
        margin-bottom: 0.875rem;
    }

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

@media screen and (max-width: 440px) {
    .swiper-hero {
        height: 70vh;
    }

    .hero .content-swiper h1 {
        font-size: 2.5rem;
        margin-bottom: 0.875rem;
    }

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

/* Fin hero banner principal */

/* Inicio customer */

.customer .container {
    max-width: 94%;
}

.customer .spacing {
    position: relative;
    padding: 4rem 0;
    background-color: #f8f8f8;
}

.title-marcas{
    color: var(--secondary);
    font-size: 2.25rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.customer h2 .line {
    display: block;
}

.customer .background {
    background: url(../img/background1.webp);
    background-position: center center;
    background-size: cover;
    opacity: 1;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    top: 0;
    opacity: 1;
    z-index: 1;
}

@media (max-width: 1100px) {
    .customer .row {
        flex-direction: column;
    }

    .customer .col-md-4 {
        order: 1;
        margin-bottom: 1rem;
        text-align: center;
        width: 100%;
    }

    .customer .col-md-8 {
        order: 2;
    }

    .customer h2 {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .customer h2 .line {
        display: inline-block;
        margin: 0 0.31rem;
    }
}

@media (max-width: 768px) {
    .customer .spacing {
        padding: 2rem 0;
    }

    .customer h2 {
        font-size: 2rem;
    }
}

@media (max-width: 660px) {
    .customer h2 {
        display: block;
        font-size: 2rem;
    }
}

/*Fin customer */

/* Inicio aboutus */

.container-aboutus {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    padding: 40px;
    /* max-width: 1200px; */
    margin: 0 auto;
    column-gap: 2.5rem;
    border-radius: 1.25rem;
}

.aboutus .container-images-column {
    position: relative;
    width: 50%;
}

.aboutus .container-image {
    position: relative;
}

.aboutus .image {
    width: 100%;
    height: auto;
    display: block;
}

.aboutus .image-top {
    width: 80%;
}

.aboutus .image-bottom {
    position: absolute;
    top: 60%;
    left: 44%;
    width: 60%;
    z-index: 1;
    border: 0.63rem solid #fff;
}

.aboutus .container-text-column {
    width: 50%;
    padding: 1.25rem 2.5rem 0 1.25rem;
}

.aboutus .title-aboutus {
    color: var(--secondary);
    font-size: 36px;
    font-weight: 600;
}

.aboutus .text-aboutus {
    font-size: 0.94rem;
    margin-bottom: 1.25rem;
}

.business-philosophy {
    display: flex;
    flex-direction: column;
    /* gap: 30px; */
}

.item-business-philosophy {
    position: relative;
    padding-top: 3.13rem;
    margin-bottom: -1.56rem;
}

.container-icon-business {
    position: absolute;
    left: 0;
    top: 0;
}

.container-icon-business img {
    width: 3.13rem;
    height: 3.13rem;
}

.container-text-business {
    position: relative;
    top: -1.25rem;
    left: 1.88rem;
    padding-left: 2rem;
}

.subtitle-business {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.63rem;
    color: var(--primary);
    font-weight: 600;
}

.text-business {
    font-size: 0.94rem;
}

@media screen and (max-width: 1000px) {
    .container-aboutus {
        flex-direction: column;
        column-gap: 0;
        align-items: center;
    }

    .aboutus .container-images-column {
        width: 90%;
    }

    .aboutus .container-text-column {
        width: 100%;
        padding: 14.38rem 2.5rem 1.25rem 1.25rem;
    }
}

@media screen and (max-width: 740px) {
    .aboutus .container-text-column {
        width: 100%;
        padding: 8.13rem 2.5rem 1.25rem 1.25rem;
    }
}

/* Fin aboutus */

/* Inicio Services */
.services {
    position: relative;
}

.title-services {
    color: var(--secondary);
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.25rem;
    justify-content: center;
    padding: 1.25rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 1.25rem;
    /* box-shadow: 0px 0px 0.38rem 0px
        rgba(91.81956521739131, 155.50817580340265, 171.00000000000003, 0.33); */
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    padding: 1rem;
}

.service-card-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
}

.service-title {
    color: var(--secondary);
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 0.63rem;
}

.service-card-content img {
    width: 50%;
    height: 200px;
    object-fit: cover;
    border-radius: .75rem;
}

.service-description {
    flex: 1;
    font-size: 0.94rem;
}

.services-line {
    background-color: #eaf0f5;
    height: 10rem;
    width: 100%;
    position: absolute;
    bottom: 1px;
    z-index: -1;
}

@media screen and (max-width: 1200px) {
    .grid-services {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 990px) {
    .grid-services {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .grid-services {
        grid-template-columns: 1fr;
    }

    .service-card-content {
        flex-direction: column;
    }

    .service-title {
        text-align: center;
        margin-left: 0;
    }

    .service-card-content img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.63rem;
    }

    .service-description {
        text-align: center;
    }
}

/* Fin Services */

/* Inicio Projects */

.title-projects {
    color: var(--secondary);
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.grid-project {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-top: 2rem;
}

.grid-item-project {
    position: relative;
    cursor: pointer;
}

.grid-item-project .img-project {
    width: 100%;
    height: 25rem;
    aspect-ratio: 73/100;
    object-fit: cover;
}

.icon-project {
    background: rgb(0, 0, 0, 0.4);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s linear;
    width: 3.13rem;
    height: 3.13rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.icon-project img {
    width: 2.5rem !important;
    height: 2.5rem !important;
}

.grid-item-project:hover .icon-project {
    opacity: 1;
}

@media (max-width: 1200px) {
    .grid-project {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .grid-project {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .grid-project {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .icon-project {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 375px) {
    .grid-item-project .img-project {
        aspect-ratio: 1/1;
    }
}

/* Inicio Modal Projects */
@media (min-width: 576px) {
    .modal-projects .modal-dialog {
        max-width: calc(100% - 400px);
        margin: 0 auto;
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
    }
}
.modal-projects .modal-dialog {
    margin: 2.5vh auto;
}
.modal-projects .modal-content {
    max-height: 85vh;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}
.modal-projects .modal-body {
    max-height: 80vh;
    padding: 3rem;
    position: relative;
}

.modal-projects .btn-close {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    background-color: #dcdcdc;
    width: 1.88rem;
    height: 1.88rem;
    border-radius: 50%;
    z-index: 2;
}

.modal-body {
    height: 100vh;
    overflow-y: auto;
}

.container-modal-project {
    margin-top: 1.88rem;
}

.container-modal-image {
    border-radius: 1.25rem;
    overflow: hidden;
    width: 100%;
    height: 26.25rem;
}

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

.modal-title-principal {
    color: var(--primary);
    font-size: 2.25rem;
    font-weight: bold;
    letter-spacing: 0.02rem;
    line-height: 1.3;
    text-align: left;
    width: 60%;
    margin-top: 0.88rem;
    margin-bottom: 1.25rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
}

.modal-description {
    text-align: justify;
    font-size: 0.94rem;
    letter-spacing: 1px;
}

.title-specifications {
    color: var(--primary);
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.88rem;
    text-transform: uppercase;
}

.container-specifications ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 2rem;
}

.container-specifications li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--secondary-light);
    border-radius: 0.63rem;
}

.title-text-specifications {
    font-size: 1rem;
    letter-spacing: 0.02rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 400;
}

.text-specifications {
    font-size: 1.02rem;
    letter-spacing: 0.02rem;
    font-weight: bold;
    margin-bottom: 0;
    text-align: center;
}

@media screen and (min-width: 880px) and (max-width: 1220px) {
    .container-specifications ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 1rem;
        column-gap: 1rem;
    }
}

@media screen and (max-width: 880px) {
    .container-specifications ul {
        flex-direction: column;
        row-gap: 1rem;
    }

    .container-modal-image {
        height: 18.75rem;
    }

    .modal-title-principal {
        font-size: 2rem;
    }

    .modal-description {
        font-size: 1rem;
    }

    .container-specifications li {
        width: 11.13rem;
        height: 7.31rem;
    }

    .title-specifications {
        font-size: 1.5rem;
    }

    .title-text-specifications {
        font-size: 1rem;
    }

    .text-specifications {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 576px) {
    .modal-body {
        padding: 1.5rem;
    }

    .container-modal-image {
        height: 12.5rem;
    }

    .modal-title-principal {
        font-size: 1.5rem;
    }

    .modal-description {
        font-size: 0.9rem;
    }

    .title-specifications {
        font-size: 1.2rem;
    }

    .title-text-specifications {
        font-size: 0.9rem;
    }

    .text-specifications {
        font-size: 0.8rem;
    }
}

/* Fin Modal Projects */

/* Inicio contacto */

.title-contact {
    color: var(--secondary);
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
}

.container-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-row-gap: 1rem;
    padding: 2rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    list-style: none;
    text-align: center;
}

.link-info-contacto {
    display: inline-grid;
    gap: 1rem;
    color: #000;
    font-size: 0.88rem;
    align-items: start;
    text-decoration: none;
}

.link-info-contacto img {
    width: 1.25rem;
    height: 1.25rem;
}

.container-icon-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    /* border: 1px solid var(--secondary); */
    background: #fff;
    margin: 0 auto;
}

.contact-form {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group label {
    font-weight: bold;
}

.form-control,
.form-select,
.form-control:focus,
.form-select:focus {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #000;
    border-color: var(--primary);
    box-shadow: none;
}

.btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-primary:hover {
    background-color: #0e8e78;
    border-color: #0e8e78;
}

.map-iframe {
    overflow: hidden;
    padding-bottom: 80%;
    position: relative;
    height: 100%;
}

.map-iframe iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: .5rem;
}

@media (max-width: 767.98px) {
    .container-info {
        padding: 1rem;
    }
}

/* Fin contacto */

/* Inicio button whatsapp */

.btn-whatsapp {
    position: fixed;
    right: 0.63rem;
    bottom: 1.56rem;
    z-index: 10;
}

.btn-whatsapp img {
    width: 3.75rem;
}

/* Fin button whatsapp */

/* Inicio Footer */

.footer {
    background: url("../img/background1.webp") no-repeat center center;
    background-size: cover;
    color: white;
    margin-top: 2.5rem;
}

.container-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.logo-fineglass {
    max-width: 6rem;
    object-fit: cover;
}

.logo-fineza {
    max-width: 10rem;
    object-fit: cover;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
}

.social-icon img {
    width: 2rem;
    height: 2rem;
}

.social-icon img:hover {
    transform: scale(0.8);
}

.footer-nav ul {
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.container-porta {
    font-size: 0.88rem;
    border-top: 1px solid #e3dfde;
    padding-top: 1.8rem;
    margin-top: 2.2rem;
    letter-spacing: 1px;
}

/* Fin Footer */

/* Fin Projects */

.wrapper-slider {
    width: 90%;
    height: auto;
    aspect-ratio: 2/1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 1rem;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    transition: all .3s;
}
.img-marcas{
    width: auto;
    height: 50px;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    transition: all 1s;
}
@media screen and (max-width: 767px) {
    .title-marcas{
        text-align: center;
        justify-content: center;
        margin-bottom: 3rem;
    }
}
