.TituloPrincipal {
    font-size: 60px;
    line-height: normal;
}

.gallery-container {
    max-width: 100%;
    position: relative;
}
html .scroll-to-top{display:none;}
.owl-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
}
.text-start{text-align:justify !important;}
.BotonLlamada {
    position: fixed;
    right: 0px;
    bottom: 0;
    z-index: 9;
    height: 50px;
}
.main-image {
    position: relative;
    overflow: hidden;
}

    .main-image img {
        max-width: 100%;
        height: auto;
        display: block;
        opacity: 1;
        transition: opacity 0.7s ease-in-out;
    }

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0 12px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
    user-select: none;
}

    .nav-arrow:hover {
        background-color: rgba(0,0,0,0.7);
    }

.nav-left {
    left: 10px;
}

.nav-right {
    right: 10px;
}

.thumbnails {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .thumbnails img {
        width: 80px;
        height: 50px;
        object-fit: cover;
        border-radius: 5px;
        cursor: pointer;
        opacity: 0.6;
        transition: opacity 0.3s, transform 0.3s;
        border: 2px solid transparent;
    }

        .thumbnails img.active {
            opacity: 1;
            border-color: #007BFF;
            transform: scale(1.05);
        }
.TextoItem{}
    .TextoItem ul{
    }
    .TextoItem ul li{
    }
.TextoItem p{

}
    .TextoItem h2 {
        font-size: 20px;
        margin: 0;
        font-weight: 600;
    }
.Mapa iframe {
    width: 100%;
    height: 100%;
}
.carousel {
    width: 100%;
    max-width: 980px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
   
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 12px;
    align-items: start;
}

/* Video stage */
.stage {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    min-height: 320px;
}

    .stage video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        background: #000;
    }

/* Controls overlay */
.controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    background: #fff;
}

    .controls .left, .controls .right {
        pointer-events: auto;
        display: flex;
        gap: 8px;
        align-items: center;
    }



.progress {
    height: 6px;
    width: 100%;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    overflow: hidden;
    margin-left: 12px;
    margin-right: 12px;
}

    .progress > i {
        display: block;
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg,var(--accent),#7dd3fc);
        transition: width 0.15s linear;
    }

/* Thumbnails column */
.thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: auto;
    max-height: 460px;
    padding-right: 6px;
}

.thumb {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 6px;
    cursor: pointer;
    border: 2px solid transparent;
}

    .thumb.active {
        border-color: var(--accent);
        background: linear-gradient(90deg, rgba(6,182,212,0.06), rgba(125,211,252,0.02));
    }

    .thumb img {
        width: 100px;
        object-fit: cover;

        flex-shrink: 0;
        background: #000;
    }

    .thumb .meta {
        font-size: 13px;
        color: var(--muted);
    }

        .thumb .meta b {
            color: #e6eef5;
            display: block;
            font-weight: 600;
            margin-bottom: 4px;
        }

/* Prev/Next big buttons */
.nav-large {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    padding: 0 6px;
}

    .nav-large button {
        pointer-events: auto;
        background: rgba(0,0,0,0.35);
        border: 0;
        width: 46px;
        height: 46px;
        border-radius: 10px;
        display: inline-grid;
        place-items: center;
        color: #fff;
        cursor: pointer;
        transition: transform .12s;
    }

        .nav-large button:active {
            transform: scale(.95)
        }

/* Responsive */
@media (max-width:860px) {
    .carousel {
        grid-template-columns: 1fr;
    }

    .thumbs {
        flex-direction: row;
        max-height: none;
        overflow: auto;
        padding: 6px 0;
    }

    .thumb img {
        width: 160px;
        height: 88px;
    }

    .thumb {
        min-width: 180px;
    }
}
@media (max-width: 500px) {
    .thumbnails img {
        width: 60px;
        height: auto !important;
    }
    .text-6{
        font-size:25px !important;
    }

    h1.text-end{text-align:left !important;}

    .Ingeniero {
        display: none;
    }
    .nav-arrow {
        font-size: 1.5rem;
        padding: 0 8px;
    }
    .TituloPrincipal {
        font-size: 35px;
    }
    .diamonds .content{
        transform:none;
    }
        .diamonds .content img{margin:0;}
    .diamonds-wrapper .diamonds .diamond{margin:0;width:100%;}
    .diamonds .content {
        transform: none;
        width: 100% !important;
        padding: 30px 40px;
    }
    .diamonds .diamond:before{}
    .diamonds .diamond:after{}
    .diamonds .diamond-sm {
        height: 100%;
        width: auto;
    }
    .diamonds .diamond {
        height: 100%;
        width: auto;
        transform: none;
    }
    .ContenedorVideo {
        padding: 20px !important;
    }
}