:root {
    --primary: #F4BD50;
    --background: #191919;
    --navbar-height: 48px;
    --accent: white;
    --accent-hover: white;
    --accent-active: #65cf21;
    --control: #163300;
    --scrollbar-thumb: #c6cdc1;
    --secondary: #ecefeb;
    --secondary-hover: #e0e4de;
    --secondary-active: #6c6c6b;
    --content-primary: #0e0f0c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}

body,
html {
    display: flex;
    background-color: #F8F8FF;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins';
    height: 100vh;
    padding: 1rem;
}

#section_1 {
    right: 0px;
    left: 0px;
}

.background {
    display: block;
    width: 100vw;
    height: 100vh;
    opacity: 1;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
}

.menu__wrapper {
    display: flex;
    position: relative;
    flex-direction: row;
    z-index: 2;
}

.menu__bar {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 0 16px;
    gap: 40px;
    background-color: white;
    height: 70px;
    /*Se ajusta lo ancho del menú*/
    opacity: 0.9;
    left: 0px;
}

.menu-icon {
    cursor: pointer;
    display: flex;
    height: 60px;
    width: 60px;
}

.navigation {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    align-items: center;
    gap: 24px;
    padding: 0px;
    background-color: white;
}

.logo svg {
    width: 32px;
    height: 80px;
}

.navigation>li {
    display: flex;
    position: relative;
    cursor: pointer;
    font-size: 1.05rem;
}

.navigation>li>a {
    color: white;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    background-image: linear-gradient(to right,
            var(--primary),
            var(--primary) 50%,
            black 50%);
    background-size: 200% 120%;
    background-position: -100%;
    display: inline-block;
    padding: 3px 2px;
    position: relative;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.2s ease-in-out;
}

.navigation>li>a::before {
    content: '';
    background: var(--primary);
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    transition: all 0.2s ease-in-out;
}

.navigation>li>a:hover {
    background-position: 0;
}

.navigation>li>a:hover::before {
    width: 100%;
}

@media(min-width: 600px) {
    .menu-icon {
        display: none;
    }
}

@media (max-width: 600px) {
    .navigation {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .navigation--mobile {
        top: var(--navbar-height);
        position: absolute;
        right: 0;
        display: flex;
        padding: 80px 60px;
        min-height: 100%;
        background-color: white;
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
        opacity: 0.95;
        animation: fadein 0.3s forwards;
    }

    @keyframes fadein {
        0% {
            opacity: 0;
            width: 0;
            height: 0;
        }

        100% {
            opacity: 1;
            width: 100%;
            height: calc(100vh - var(--navbar-height));
        }

    }

    .navigation--mobile--fadeout {
        animation: fadeout 300ms forwards;
    }

    @keyframes fadeout {
        0% {
            opacity: 1;
            width: 100%;
            height: calc(100vh - var(--navbar-height));
        }

        100% {
            opacity: 0;
            width: 0;
            height: 0;
        }
    }
}

.main-logo {
    display: flex;
    max-width: 135px;
    height: auto;
    text-decoration: none;
}


.link-item {
    margin-top: 2rem;
    color: #444444;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.link-item::after {
    position: absolute;
    content: "";
    background-color: black;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 3px;
    transition: 0.3s ease all;
}

.link-item:hover::after {
    width: 100%;
}

.button-menu {
    z-index: 200;
    width: 40px;
    height: 40px;
    border: none;
    display: flex;
    background: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.button-menu span {
    width: 37px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #444444;
    border-radius: 3px;
    transform-origin: 4px 0px;
    transition: all .2s linear;
}

.button-menu.close span {
    opacity: 1;
    transform: rotate(45deg) translate(0px, 0px);
    background: #ffffff;
}

.button-menu.close span:nth-child(2) {
    transform: rotate(-45deg) translate(-8px, 5px);
}

.button-menu.close span:nth-child(3) {
    display: none;
}

@media screen and (max-width:768px) {
    .cta-button {
        font-size: 14px;
        justify-content: center;
        text-align: center;
    }

    .map-container {
        overflow: hidden;
    }

    .frame {
        width: 100%;
        height: 300px;
    }

    .columns.contact {
        padding: 16px;
    }

    .input-box .input-field {
        width: 100%;
    }

    .action-button--horizontal-scroll {
        display: none;
    }
}

@media (min-width: 768px) {
    .card__service {
        max-width: calc(33.333% - 1.5rem);
    }

    .direction {
        margin-left: 1rem;
    }
}

.hero.is-link_ {
    position: relative;
    overflow: hidden;
    place-items: center;
    height: 20vh;
}

.hero.is-link_ .hero-image_1 {
    background-image: url('resource/hero_1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    filter: brightness(50%);
}

.hero-image_2 {
    background-image: url('resource/hero_2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    filter: brightness(20%);
}

.hero.is-link_ .hero-body {
    z-index: 1;
}

.custom-hero-height {
    height: 300px;
}

.gallery_carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1rem;
    max-width: 75rem;
    margin: 0 auto;
}

.card {
    position: relative;
    left: 0px;
    width: 20rem;
    border-radius: 1.2rem;
    height: 30rem;
    overflow: hidden;
    background-color: #F8F8FF;
    transition: 0.9s ease-in-out;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    flex: 0.25;
}

.card img {
    position: relative;
    height: 40rem;
    object-fit: cover;
}

.card:hover {
    flex: 3;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2rem;
}

.card_ {
    position: relative;
    left: 0px;
    width: 15rem;
    border-radius: 1.2rem;
    height: 30rem;
    overflow: hidden;
    background-color: #F8F8FF;
    transition: 0.9s ease-in-out;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    flex: 0.25;
}

.card_ img {
    position: absolute;
    height: 100%;
    object-fit: cover;
    top: 0%;
    width: 100%;
}

.card_:hover {
    flex: 1;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2rem;
}


.is-carousel {
    place-items: center;
    height: 20vh;
}

.hero.is-carousel {
    height: auto;
}

.cta-button.is-size-1 {
    font-size: 2rem;
    justify-content: center;
    text-align: center;
}

.cta-button.is-size-2 {
    font-size: 1.75rem;
    justify-content: center;
    text-align: center;
}

.cta-button.is-size-3 {
    font-size: 1.5rem;
    justify-content: center;
    text-align: center;
}

.cta-button {
    box-shadow: 0 0 0 0 #1F2336;
    outline: 2px solid;
    color: white;
    outline-color: white;
    outline-offset: 0px;
    text-shadow: none;
    cursor: pointer;
    line-height: 2.5rem;
    width: max-content;
    letter-spacing: 0.3rem;
    position: relative;
    transition: all 700ms cubic-bezier(.36, .63, .5, .73);
    text-align: center;
    width: 50%;
    margin: 0 auto;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cta-button:hover {
    box-shadow: 0 0 0 2px #1F2336;
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
    color: #bfb49e;
    font-size: clamp(1rem, 1.5vh, 2rem);
}

.cta-button_ {
    box-shadow: 0 0 0 0 #1F2336;
    outline: 2px solid;
    color: black;
    outline-color: black;
    outline-offset: 0px;
    text-shadow: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 2.5rem;
    width: max-content;
    letter-spacing: 0.3rem;
    font-weight: 600;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    transition: all 700ms cubic-bezier(.36, .63, .5, .73);
}

.cta-button_:hover {
    box-shadow: 0 0 0 2px #1F2336;
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
    color: #bfb49e;
}

.frame {
    width: 60rem;
    max-width: 100%;
    height: 450px;
    background-color: #F8F8FF;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    border-radius: 1.2rem;
    overflow: hidden;
    transition: 0.9s ease-in-out;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.title_servicios {
    box-shadow: 0 0 0 0 #1F2336;
    outline: 2px solid;
    color: white;
    outline-color: white;
    outline-offset: 0px;
    text-shadow: none;
    cursor: pointer;
    line-height: 2.5rem;
    width: max-content;
    letter-spacing: 0.3rem;
    position: relative;
    transition: all 700ms cubic-bezier(.36, .63, .5, .73);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cta-title_servicios:hover {
    box-shadow: 0 0 0 2px white;
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
    color: #bfb49e;
    font-size: clamp(1rem, 1.5vh, 2rem);
}

.div_title {
    margin-top: -50px;
    text-align: center;/
}

.card__description.is-hidden-mobile {
    display: none;
}

.cards-container {
    scroll-padding-inline: 1em 0.5em;
}

.cards {
    display: flex;
    flex-wrap: nowrap;
    /* Asegura que las tarjetas no se envuelvan */
    margin-top: 1rem;
    width: auto;
}

.card__preview {
    height: 20rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card__preview img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    transition: all 0.7s ease-out;
    border-radius: 0.5rem;
    filter: brightness(80%);
    position: relative;
}

.card__adress {
    margin-top: 0.1rem;
}

.card__title {
    background-color: white;
    color: #1F2336;
    z-index: 2;
    position: absolute;
    bottom: 1.2rem;
    padding: 0.30rem 0.5rem;
    border-radius: 0.5rem;
    left: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 13px;
}

.card__content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    color: #262626;
}

.card__description {
    margin-top: 0rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    font-size: 10px;
}

.columns.contact {
    background-color: #191919;
    padding-top: 1vh;
    padding-left: 20vh;
    text-align: center;
    background-color: #191919;
    padding: 16px 20px;
    text-align: center;
}

.title.contact {
    color: white;
    text-transform: uppercase;
}

.contact h2 {
    font-size: 40px;
    color: #EDEDED;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Poppins';
    text-transform: uppercase;
}

.contact form {
    max-width: 550px;
    margin: 0 auto;

}

form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: center;
}

.input-box .input-field {
    width: 48%;
    margin-bottom: 10px;
}

.input-field.field textarea {
    width: 100%;
}

.field .item {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid #bfb49e;
    outline: none;
    border-radius: 6px;
    font-size: 14px;
    color: #EDEDED;
    margin: 3px 0;
}

.field.error .item {
    border-color: #D93025;
}

.field .item::placeholder {
    color: rgba(255, 255, 255, .3);
    font-family: 'Poppins';
}

.field .error-txt {
    font-size: 9.5px;
    color: #D93025;
    text-align: left;
    margin: -5px 0 10px;
    padding-top: 3px;
    display: none;
}

.field.error .error-txt {
    display: block;
}

form .textarea-field .error-txt {
    margin-top: -10px;
}

form .textarea-field .item {
    resize: none;
}

form button {
    padding: 12px 32px;
    background: #bfb49e;
    border: none;
    outline: none;
    border-radius: 6px;
    box-shadow: 0 0 10px #bfb49e;
    font-size: 10px;
    color: #333;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: .5s;
    font-family: 'Poppins';
    text-transform: uppercase;
}

form button:hover {
    box-shadow: none;
}

.title_sucursal {
    font-size: 10px;
    color: #EDEDED;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Poppins';
}

.contact h3 {
    font-size: 30px;
    color: #EDEDED;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Poppins';
    text-transform: uppercase;
}

.direction {
    color: #bfb49e;
    font-size: 16px;
    margin-top: auto;
    line-height: 1.5rem;
    text-align: center;
}

.column.sucursal {
    justify-content: center;
    align-items: center;
}

.social-icons {
    padding: 30px;
    text-align: center;
}

.social-icons a {
    color: #fff;
    line-height: 30px;
    font-size: 30px;
    margin: 0 5px;
    text-decoration: none;

}

.social-icons a i {
    line-height: 30px;
    font-size: 30px;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1);
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1);
    transition: all 200ms ease-in;
    transform: scale(1);
}

.social-icons a:hover i {
    box-shadow: 0px 0px 150px #000000;
    z-index: 2;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.5);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1.5);
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1.5);
    transition: all 200ms ease-in;
    transform: scale(1.5);
}

#bank-accounts::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: transparent;
}

#bank-accounts::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
}

#bank-accounts::-webkit-scrollbar-thumb {
    background-color: transparent;
}

.action-button {
    color: #163300;
    border-radius: 1rem;
    height: 2rem;
    gap: 0.25rem;
    cursor: pointer;
    display: flex;
    padding: 0 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    align-items: center;
    text-decoration: none;
    background-color: var(--secondary);
    right: 0%;
}


.action-button--primary:active {
    background-color: var(--accent-active);
}

.action-button:active {
    background-color: var(--secondary-active);
}

.action-button--horizontal-scroll {
    border-radius: 50%;
    cursor: pointer;
    border: none;
    outline: none;
    width: 2rem;
    height: 2rem;
    background-color: var(--accent);
    right: 0%;
}

@media screen and (max-width: 768px) {
    .action-button--horizontal-scroll {
        display: none;
    }
}

.action-button--horizontal-scroll:hover {
    background-color: var(--accent-hover);
}

.action-button--horizontal-scroll:active {
    background-color: var(--accent-active);
}

.action-button--horizontal-scroll:disabled {
    cursor: not-allowed;
    background-color: var(--secondary);
}

.action-button--horizontal-scroll:disabled:hover {
    background-color: var(--secondary);
}

.action-button--horizontal-scroll:disabled:active {
    background-color: var(--secondary);
}

#action-button--previous {
    margin-left: auto;
    transform: rotate(-90deg);
}

#action-button--next {
    transform: rotate(90deg);
}

.action-button:hover {
    background-color: var(--secondary-hover);
}

.action-button--primary {
    background-color: var(--accent);
}

.action-button--primary:hover {
    background-color: var(--accent-hover);
}

.action-button--primary:active {
    background-color: var(--accent-active);
}


#bank-accounts {
    display: flex;
    gap: 2rem;
    padding: 1rem 15px;
    width: 100%;
    flex-direction: row;
    overflow: auto;
}

.bank-account {
    appearance: none;
    text-decoration: none;
    position: relative;
    background: var(--secondary);
    padding: 0.2rem;
    border-radius: 1rem;
    height: 27rem;
    transition: all 0.2s ease-in-out;
    width: 25rem;
    display: flex;
    flex: 0 0 25rem;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
    margin-right: 1rem;
    display: flex;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    border-radius: 1.5rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px;
}


.bank-account:hover {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 6px 16px;
}

.bank-account:hover .card__preview img {
    transform: scale(1.35);
    border-radius: 0.5rem;
    filter: brightness(100%);
}

.bank-account h2 {
    color: var(--content-primary);
    font-size: 1.375rem;
    letter-spacing: normal;
    overflow-wrap: normal;
    white-space: nowrap;
    font-weight: 700;
    line-height: 1.25rem;
}

.bank-account .currency {
    color: var(--content-primary);
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: -.006em;
    line-height: 133%;
}

.bank-account:hover {
    background: var(--secondary-hover);
}

.container {
    max-width: 50rem;
    width: 100%;
    min-width: 20rem;
    margin: 7.5rem auto;
}