* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}





html {
    scroll-behavior: smooth;
}

/* .presentacion_contenedor,
.especialidades_contenedor,
.clientes_contenedor,
.nosotros_contenedor,
.contacto_contenedor {
    scroll-margin-top: 100px;
} */





body{
    padding-top: 180px;

    background-image:
        linear-gradient(
            rgba(56, 28, 14, 0.5),
            rgba(56, 28, 14, 0.5)
        ),
        url("../img/fondo_body_Carbonerito.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    min-height: 100vh;
}





.loader_contenedor {
    position: fixed;
    inset: 0;
    background-color: #171818;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
}

.loader_contenido{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.loader_contenido img {
    width: 180px;
}

.loader_contenido .spinner {
    border: 5px solid rgba(0, 33, 90, 0.5);
    border-left-color: #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.general_contenedor_oculto {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-out;
}

.general_contenedor_visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease-out;
}




header{
    margin-top: -180px;
    width: 100%;

    position: fixed;
    z-index: 1000;

    transition: 0.3s;
}

header.scrolled {
    background-color:#171818ef;;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .25);
}

.header_contenedor {
    height: 120px;
    width: 100%;
    padding: 0 30px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.header_contenido {
    width: 100%;
    max-width: 1200px;
    height: 100px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_contenido .logo {
    display: flex;
    align-items: center;
}

.header_contenido .logo img {
    height: 100px;

    transition: 0.3s;
}

.header_contenido .menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header_contenido .menu nav ul {
    display: flex;
    gap: 10px;

    list-style: none;
}

.header_contenido .menu nav ul a {
    padding: 5px 10px;
    border-bottom: 2px solid rgba(28, 50, 68, 0);

    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #fff;

    transition: 0.3s;
}

.header_contenido .menu nav ul a:hover {
    border-bottom: 2px solid #AB9067;
    color: #AB9067;
}

.header_contenido .menu .boton_hamburguesa {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 30px;
    height: 20px;
    cursor: pointer;

    transition: 0.3s;
}

.header_contenido .menu .boton_hamburguesa span {
    display: block;

    height: 4px;
    width: 100%;
    background-color: #FCCA29;
    transition: all 0.3s ease;
}

.header_contenido .menu .boton_hamburguesa.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header_contenido .menu .boton_hamburguesa.active span:nth-child(2) {
    opacity: 0;
}

.header_contenido .menu .boton_hamburguesa.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.header_contenido .menu .boton_hamburguesa,
.header_contenido .menu #nav-menu {
    display: none;
}

.header_contenido .botones {
    display: flex;
    gap: 10px;
}

.header_contenido .botones a {
    position: relative;

    text-decoration: none;
    font-size: 20px;
    color: #000;

    padding: 10px 20px;
    border-radius: 20px;
    background-color: #FCCA29;
}

.header_contenido .botones span {
    position: absolute;
    top: -10px;

    font-size: 11px;
    color: #fff;
    font-weight: 600;

    padding: 5px 10px;
    border-radius: 50%;
    background-color: #BF1C22;
}

.menuSlider_contenedor {
    width: 100%;
    height: 60px;
    padding: 0 30px;
    border-top: 1px solid #6F3612;
    border-bottom: 1px solid #6F3612;
    background-color: #171818;

    display: flex;
    justify-content: center;
    align-items: center;
}

.menuSlider_contenido {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.menuSlider_contenido .splide__track .splide__list .splide__slide{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;

    color: #fff;
    font-size: 15px;
    font-weight: 500;

    padding: 10px 20px;
    border-radius: 20px;

    transition: 0.3s;
}

.menuSlider_contenido .splide__track .splide__list .splide__slide:hover{
    background-color: #FCCA29;

    color: #171818;
}

.menuSlider_contenido .splide__track .splide__list .masPedidos{
    background-color: #FCCA29;

    color: #171818;
}


@media (max-width: 900px) {
    .header_contenido .logo{
        order: 1;
    }

    .header_contenido .whatsapp{
        order: 2;
    }

    .header_contenido .menu{
        order: 3;
    }

    .header_contenido .menu .boton_hamburguesa{
        display: flex;
    }

    .header_contenido .menu nav {
        position: fixed;
        right: -100%;
        top: 100px;

        height: 100vh;
        width: 100%;
        background-color: #073036;
        border-top: 2px solid #AB9067;

        transition: 0.3s;

        z-index: 1000;
    }

    .header_contenido .menu nav ul {
        padding: 30px 20px;

        flex-direction: column;
    }

    .header_contenido .menu nav ul li a{
        display: block;
        width: 100%;
    }

    .header_contenido .menu nav.show-menu{
        right: 0;
    }
}

@media (max-width: 600px) {

}


.presentacion_contenedor {
    width: 100%;
    height: 550px;

    background-image: url("../img/presentacion/presentacion_fondo_escritorio_Carbonerito.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.presentacion_contenido {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;

    text-decoration: none;

    background-color: transparent;
    transition: background-color 0.4s ease;
}

.presentacion_contenido:hover {
    background-color: rgba(0, 0, 0, 0.48);
}

.presentacion_contenido div{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    background-color: #FCCA29;
    padding: 15px 30px;
    border-radius: 10px;

    color: #000;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px) scale(0.95);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;
}

.presentacion_contenido:hover div {
    opacity: 1;
    visibility: visible;

    transform: translateY(0) scale(1);
}

.presentacion_contenido div i{
    font-size: 25px;
}

.presentacion_contenido div span{
    font-size: 20px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .presentacion_contenedor {
        height: 250px;
    }
    
    .presentacion_contenido div{
        padding: 10px 25px;
    }

    .presentacion_contenido div i{
        font-size: 20px;
    }

    .presentacion_contenido div span{
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .presentacion_contenedor {
        height: 150px;
    }

    .presentacion_contenido div{
        padding: 10px 22px;
    }

    .presentacion_contenido div i{
        font-size: 18px;
    }

    .presentacion_contenido div span{
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .presentacion_contenedor {
        height: 130px;
    }
}





.masPedidos_contenedor{
    width: 100%;
    padding: 50px 30px;
    border-top: 1px solid #6F3612;
}

.masPedidos_contenido{
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.masPedidos_contenido .titulo{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.masPedidos_contenido .titulo img{
    height: 50px;
}

.masPedidos_contenido .titulo a{
    text-decoration: underline;
    text-underline-offset: 5px;
    font-size: 15px;
    color: #FCCA29;
    font-weight: 600;
}

.masPedidos_contenido .masPedidos{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.masPedidos_contenido .masPedidos .producto{
    border-radius: 10px;
    border: 1px solid #B29585;
    background-color: #F7EFE3;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.masPedidos_contenido .masPedidos .producto img{
    width: 100%;
    height: 150px;
    border-radius: 10px 10px 0 0;

    object-fit: cover;
}

.masPedidos_contenido .masPedidos .producto h2{
    font-size: 16px;
    font-weight: 700;
    padding: 0 20px;
}

.masPedidos_contenido .masPedidos .producto p{
    height: 30px;

    font-size: 14px;
    padding: 0 20px;
    color: #4A4C52;
}

.masPedidos_contenido .masPedidos .producto h3{
    font-size: 20px;
    font-weight: 700;
    padding: 0 20px;
}

.masPedidos_contenido .masPedidos .producto .acciones {
    display: flex;
    align-items: center;
    gap: 20px;

    width: 100%;
    padding: 0 20px 20px;
}

.masPedidos_contenido .masPedidos .producto .acciones .control {
    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 40px;

    padding: 5px;

    border: 2px solid #E5E0D5;
    border-radius: 22px;

    background-color: #F8F5EC;
}

.masPedidos_contenido .masPedidos .producto .acciones .control button {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 30px;
    height: 30px;

    border: none;
    border-radius: 50%;

    background-color: transparent;
    color: #263238;

    font-size: 13px;

    cursor: pointer;
    transition: background-color 0.2s ease;
}

.masPedidos_contenido .masPedidos .producto .acciones .control button:hover {
    background-color: #EDE8DC;
}

.masPedidos_contenido .masPedidos .producto .acciones .control span {
    min-width: 30px;

    text-align: center;

    font-size: 15px;
    font-weight: 600;
    color: #263238;
}

.masPedidos_contenido .masPedidos .producto .acciones .boton_agregar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex: 1;

    height: 40px;
    border: 1px solid #FCCA29;
    border-radius: 22px;
    background-color: #FCCA29;

    color: #18251E;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}

.masPedidos_contenido .masPedidos .producto .acciones .boton_agregar i {
    font-size: 15px;
}

.masPedidos_contenido .masPedidos .producto .acciones .boton_agregar:hover {
    background-color: #F5B900;
}

.masPedidos_contenido .masPedidos .producto .acciones .boton_agregar:active {
    transform: scale(0.98);
}

@media (max-width: 900px) {
    .masPedidos_contenido .titulo img{
        height: 45px;
    }

    .masPedidos_contenido .masPedidos{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .masPedidos_contenido .titulo img{
        height: 40px;
    }
    .masPedidos_contenido .masPedidos{
        grid-template-columns: repeat(1, 1fr);
    }
}





.boton_whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #2cbd61;
    width: 60px;
    height: 60px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;

    transition: 0.2s;

    overflow: visible;
}

.boton_whatsapp:hover {
    transform: scale(1.1);
}

.boton_whatsapp::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(44, 189, 97, 0.5);
    border-radius: 50%;
    z-index: -1;
    animation: movimientoWhatsApp 1.1s infinite;
}

.boton_whatsapp i {
    color: #fff;
    font-size: 28px;
}

@keyframes movimientoWhatsApp {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}