:root {
    --negro: #161616;
    --blanco: #fff;
    --rojo: #DA0612;
    --gris-oscuro: #7A7D7E;
    --gris-claro: #EDEDED;
    --verde-oscuro: #1E3434;
    --verde-claro: #93B0B0;
    --rojo-8: rgba(218, 6, 18, 0.08);
    --rojo-oscuro: #680208;
    --rojo-mas-oscuro: #300003;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Stara', sans-serif;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    color: var(--negro);
    margin-bottom: 0;
}

p, span, a, li, button, input, textarea {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: var(--negro);
    margin-bottom: 0;
}

a {
    text-decoration: none;
}

p {
    font-size: 1.125rem;
}

h1 {
    font-size: 5.375rem;
    line-height: 94px;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
}

section {
    margin: 100px 0px;
}

body.no-scroll {
    overflow: hidden;
}

.only-desktop {
    display: block !important;
}

.only-mobile {
    display: none !important;
}

.only-tablet {
    display: none !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border-left-color: #fff;
    animation: spin 1s ease infinite;
    display: inline-block;
    vertical-align: middle;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--blanco);
}

.mobile-menu-toggle {
    display: none;
}

.dark-header {
    background-color: #353536;
}

.dark-header .header-nav-item a {
    color: var(--blanco);
}

.dark-header .header-nav-item a:hover {
    color: var(--rojo);
}

.header-nav-list {
    display: flex;
    justify-content: space-between  ;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.header-nav-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.header-nav-item {
    margin: 0;
    padding: 0;
}

.header-nav-item.logo-item a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-nav-item a {
    text-decoration: none;
    color: var(--negro);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    transition: color 0.3s ease;
}

.header-nav-item a:hover:not(.logo-item a) {
    color: var(--rojo);
}

.footer {
    background-color: var(--rojo);
    padding: 50px 0;
}

.footer p, .footer a {
    color: var(--blanco);
    margin: 0;
}

.footer a {
    text-decoration: underline;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-right-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .only-desktop {
        display: none !important;
    }

    .only-tablet {
        display: block !important;
    }

    .only-mobile {
        display: none !important;
    }
}

@media ( max-width: 768px) {

    .header-nav {
        height: 60px;
    }

    .only-desktop {
        display: none !important;
    }

    .only-tablet {
        display: block !important;
    }

    .only-mobile {
        display: none !important;
    }

    .container {
        padding: 0 30px;
    }

    .header-nav-list {
        justify-content: space-between;
        padding: 15px 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    #menu-toggle {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        position: relative;
        z-index: 1001;
    }

    #menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        margin-bottom: 5px;
        position: relative;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    #menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    #menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .header-nav-items {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: start;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .header-nav-item.logo-item a img {
        width: 100px;
    }

    .header-nav-items.active {
        right: 0;
    }

    .header-nav-item {
        margin: 10px 0;
        width: 100%;
        text-align: left;
    }

    .header-nav-item a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
    }

}

@media (max-width: 599px) {
    .container {
        padding: 0 10px;
    }

    .only-mobile {
        display: block !important;
    }

    .only-tablet {
        display: none !important;
    }

    .only-desktop {
        display: none !important;
    }

}
