button:focus {
    box-shadow: none !important;
}

button {
    border: none !important;
}

.nav-footer a:hover {
    text-decoration: underline;
    color: #f2c438 !important;
}

.bg-dark {
    background-color: #000000 !important;
    color: #fff !important;
}

#carousel-inicio .carousel-item img {
    height: 800px;
    background-position: center center;
    object-position: center;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 200px;
    }
}

.text-allwars {
    color: #f2c438;
}

.text-help {
    color: #e16600;
}

.text-justify {
    text-align: justify;
}

.img-match-height {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
}

.icono-animado {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icono-animado:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.scroll img {
    width: 150px;
    margin: 0 20px;
    transition: 0.5s;
    cursor: pointer;
}

.scroll img:not(:hover) {
    filter: grayscale(100%);
}

.scroll {
    position: relative;
    display: flex;
    width: 1500px;
    overflow: hidden;
    mask-image: linear-gradient(
        90deg,
        transparent,
        #fff 20%,
        #fff 80%,
        transparent
    );
}

.scroll div {
    white-space: nowrap;
    animation: animate 45s linear infinite;
}

@keyframes animate {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.scroll:hover div {
    animation-play-state: paused;
}

.sample-header {
    left: 0;
    top: 0;
    width: 100%;
    /* background-image: url("/img/bannerCar.jpg"); */
    background-image: linear-gradient(to right, #1d3d3c, #007574);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.sample-header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgb(94, 94, 94);
    opacity: 0.3;
}

.sample-header-section {
    position: relative;
    padding: 15% 0 10%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-family: "Nunito", sans-serif;
}

.bg-normatividad {
    background-image: url("../images/landing/bg-normativa.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-valores {
    background-image: url("../images/landing/bg-valores.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 550px;
}

@media (max-width: 768px) {
    .bg-valores {
        height: 750px;
    }
}

#carousel-empresa .carousel-item img {
    height: 180px;
    object-fit: cover;
    object-position: center;
}

#carousel-empresa .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.731);
    justify-content: center;
    padding: 40px;
}

.fade-grid-row {
    position: relative;
    background-color: #fcfbf8;
    overflow: hidden; /* Para que el fondo no se desborde */
}

.fade-grid-row::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(to right, #f0efe2 1px, transparent 1px),
        linear-gradient(to bottom, #f0ece2 1px, transparent 1px);
    background-size: 20px 30px;
    -webkit-mask-image: radial-gradient(
        ellipse 70% 60% at 50% 0%,
        #000 60%,
        transparent 100%
    );
    mask-image: radial-gradient(
        ellipse 70% 60% at 50% 0%,
        #000 60%,
        transparent 100%
    );
    pointer-events: none;
}

.fade-grid-row > * {
    position: relative;
    z-index: 1;
}

.list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.list .num {
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: background-color 0.25s ease;
    background-color: rgba(0, 0, 0, 0.239);
    position: relative;
    width: 100%;
}

.list .num::before {
    font-size: 4rem;
    font-weight: bold;
    color: #f2c438;
    width: 2rem;
    opacity: 0.09;
    transition: opacity 0.25s ease;
    position: absolute;
    left: 0;
}

.list .num:nth-child(1)::before {
    content: "1";
}
.list .num:nth-child(2)::before {
    content: "2";
}
.list .num:nth-child(3)::before {
    content: "3";
}
.list .num:nth-child(4)::before {
    content: "4";
}
.list .num:nth-child(5)::before {
    content: "5";
}
.list .num:nth-child(6)::before {
    content: "6";
}
.list .num:nth-child(7)::before {
    content: "7";
}
.list .num:nth-child(8)::before {
    content: "8";
}
.list .num:nth-child(9)::before {
    content: "9";
}
.list .num:nth-child(10)::before {
    content: "10";
}

.list .num h3 {
    position: relative;
    left: -1.5rem;
    color: #c5c5c5;
    font-size: 0.85rem;
    transition: left 0.25s ease;
    text-align: left;
}

.list .num:hover {
    background-color: rgba(0, 0, 0, 0.484);
    cursor: pointer;
}

.list .num:hover::before {
    opacity: 0.2;
}

.list .num:hover h3 {
    left: 1rem;
}

hr {
    height: 1px;
    background: white;
    border: none;
    outline: none;
}

/* Variante #two con fondo degradado y posición ajustada */
hr#two {
    background-image: linear-gradient(to right, black, white);
}

hr#two::before {
    left: 90%;
    width: 40%;
    padding: 1em;
    top: 1px;
}

.max-text-resume {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #f2c438 #fff;
}

#carousel-normatividad .carousel-item img {
    height: 180px;
    object-fit: cover;
    object-position: center;
}

#carousel-normatividad .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.731);
    justify-content: center;
    padding: 40px;
}

.grid-fade-background {
    position: absolute;
    inset: 0;
    z-index: -1; /* Asegura que quede detrás del contenido */
    background-image: linear-gradient(to right, #f0efe2 1px, transparent 1px),
        linear-gradient(to bottom, #f0efe2 1px, transparent 1px);
    background-size: 20px 30px;
    background-repeat: repeat;

    /* Difuminado en la parte inferior */
    -webkit-mask-image: radial-gradient(
        ellipse 70% 60% at 50% 100%,
        #000 60%,
        transparent 100%
    );
    mask-image: radial-gradient(
        ellipse 70% 60% at 50% 100%,
        #000 60%,
        transparent 100%
    );
}

.dashed-gradient-container {
    width: 100%;
    position: relative;
}

.dashed-gradient-background {
    position: absolute;
    inset: 0;
    z-index: -1; /* Asegura que quede detrás del contenido */

    background-image: linear-gradient(to right, #e7e5e4 1px, transparent 1px),
        linear-gradient(to bottom, #e7e5e4 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 0 0;

    /* Máscara punteada */
    -webkit-mask-image: repeating-linear-gradient(
            to right,
            black 0px,
            black 3px,
            transparent 3px,
            transparent 8px
        ),
        repeating-linear-gradient(
            to bottom,
            black 0px,
            black 3px,
            transparent 3px,
            transparent 8px
        );
    mask-image: repeating-linear-gradient(
            to right,
            black 0px,
            black 3px,
            transparent 3px,
            transparent 8px
        ),
        repeating-linear-gradient(
            to bottom,
            black 0px,
            black 3px,
            transparent 3px,
            transparent 8px
        );

    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.actualizado a {
    text-decoration: none;
    color: #fff;
}

.actualizado a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.bg-negro {
    background-color: #1b1b1b !important;
    color: #fff;
}

.bg-amarillo {
    background-color: rgba(242, 195, 56, 0.784);
}

.card-img-top {
    object-fit: cover;
}
.img-circle {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

#carousel-servicios .carousel-item img {
    height: 180px;
    object-fit: cover;
    object-position: center;
}

#carousel-servicios .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.731);
    justify-content: center;
    padding: 40px;
}

.shadow-custom {
    box-shadow: 5px 0 5px rgba(0, 0, 0, 0.3); /* sombra hacia la derecha */
}

@media (min-width: 1440px) {
    .superponer {
        position: relative;
        z-index: 2;
        margin-right: -10%;
    }

    .min-vh-50 {
        min-height: 50vh;
    } /* o 60vh según necesidad */
    .image-col {
        background-image: url("/images/landing/trabaja-con-nosotros.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 420px;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }
}

@media (max-width: 991px) {
    .min-vh-50 {
        min-height: auto;
    }
    .image-col {
        min-height: 280px;
    }
}

.carousel-equipo .carousel-item {
    height: 450px;
    background-size: cover;
    background-position: center center;
    background: url("/images/empresa/side-waves.png");
    border-radius: 10px 10px 10px 10px !important;
}
