.page-restauraciones {
    background: #050505;
    color: #f3f3f3;
    font-family: 'BentonSans-Regular', 'BentonSans-Bold';
}

.restauraciones-page {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 18px 20px 56px;
    box-sizing: border-box;
    font-family: 'BentonSans-Regular', 'BentonSans-Bold';
}

/* Ruta: misma línea gris bajo breadcrumbs que style.php (entre ruta y video) */
.restauraciones-page .div-breadcrumbs {
    width: fit-content;
    max-width: 100%;
    padding: 0 10px;
    overflow-x: hidden;
    box-sizing: border-box;
    border-bottom: none !important;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.restauraciones-page h2.ruta2 {
    scroll-padding-left: 100px;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    align-items: center;
    box-sizing: border-box;
    padding: 10px !important;
    margin: 0;
    border-bottom: none !important;
    font-family: 'BentonSans-Regular', 'BentonSans-Bold';
    font-size: 22.5px !important;
    color: #fff;
    text-align: center;
    justify-content: center;
    text-transform: capitalize;
}

.restauraciones-page h2.ruta2 > * {
    flex: 0 0 auto;
    white-space: nowrap;
}

.restauraciones-page h2.ruta2 a {
    color: #fff;
    text-decoration: none;
    text-transform: capitalize;
    font-family: inherit;
    font-size: inherit;
}

.restauraciones-page h2.ruta2 > :nth-last-child(2) {
    color: aqua !important;
}

.restauraciones-page .separator {
    margin-right: 1rem;
    margin-left: 0.5rem;
}

.restauraciones-page a.btn-step-back {
    font: 21px/9px 'BentonSans-Regular', 'BentonSans-Bold' !important;
    color: #fff !important;
    background: #545454;
    text-decoration: none !important;
    padding: 1rem;
    border: 1px solid #d5d0ca;
    border-radius: 4px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    display: inline-block;
    width: auto;
    text-align: center;
}

.restauraciones-page a.btn-step-back:hover {
    background: #493e3a;
    border-color: #988b85;
    color: #d5d0ca !important;
}

/* Video superior: mismo reproductor que designer.php, centrado antes de las secciones */
.restauracion-videos {
    width: 100%;
    margin: 0 0 28px;
    padding: 8px 10px 0;
    box-sizing: border-box;
}

.restauracion-videos__inner {
    display: flex;
    justify-content: center;
    width: min(300px, 36%);
    max-width: 300px;
    margin: 0 auto;
    box-sizing: border-box;
}

.restauraciones-page .div-disenador {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    aspect-ratio: 9 / 16;
    background: #000;
}

.restauraciones-page .div-disenador video,
.restauraciones-page .vid-disenador {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    box-sizing: border-box;
    object-fit: contain;
    background: #000;
}

.restauraciones-page .div-disenador video:not(.is-active) {
    opacity: 0;
    pointer-events: none;
}

.restauraciones-page .div-disenador video.is-active {
    opacity: 1;
    z-index: 1;
}

.restauraciones-page .div-disenador.vtc-fs-active {
    background: #000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    aspect-ratio: auto !important;
}

.restauraciones-page .div-disenador.vtc-fs-active video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.restauraciones-page .vtc-top-icons {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 11;
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
}

.restauraciones-page .vtc-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.restauraciones-page .vid-top-controls {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 100%);
    opacity: 0;
    transition: opacity .25s;
}

.restauraciones-page .div-disenador:hover .vid-top-controls,
.restauraciones-page .div-disenador:focus-within .vid-top-controls,
.restauraciones-page .div-disenador.vtc-show .vid-top-controls {
    opacity: 1;
}

.restauraciones-page .vtc-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.restauraciones-page .vtc-progress {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, .3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.restauraciones-page .vtc-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

.restauraciones-page .vtc-progress::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}

.restauraciones-page .vtc-time {
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
}

.restauraciones-page .vtc-round-play {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .8);
    background: rgba(0, 0, 0, .5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.restauraciones-header {
    padding: 15px 10px;
    border-top: 1px solid #7b7b7b;
    border-bottom: 1px solid #7b7b7b;
    text-align: center;
}

.restauraciones-header h1,
.restauracion-section h2 {
    margin: 0;
    color: #fff;
    font-family: 'BentonSans-Regular', 'BentonSans-Bold';
    font-weight: normal;
}

/* Títulos: mismo tipo/tamaño que designer.php */
.restauraciones-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    text-transform: capitalize;
}

.restauracion-section {
    padding: 34px 0 28px;
    border-bottom: none;
}

.restauraciones-page .restauracion-section.restauracion-section--con-imagenes {
    border-bottom: none;
}

/* Sección solo texto: sin espacio inferior */
.restauracion-section--sin-imagenes {
    padding-bottom: 0;
}

.restauracion-section--sin-imagenes .restauracion-copy {
    margin-bottom: 0;
}

.restauracion-section--sin-imagenes h2:last-child {
    margin-bottom: 0;
}

.restauracion-section h2 {
    margin-bottom: 4rem;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 5px;
    font-size: 30px;
    line-height: 1.2;
}

.restauracion-copy {
    width: min(100%, 900px);
    margin: 0 auto 4rem;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.4;
}

.restauracion-copy,
.restauracion-copy * {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
    color: #fff !important;
}

.restauracion-copy p,
.restauracion-copy h1,
.restauracion-copy h2,
.restauracion-copy h3,
.restauracion-copy h4,
.restauracion-copy blockquote,
.restauracion-copy ul,
.restauracion-copy ol {
    display: block !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0;
    min-height: 0;
}

.restauracion-copy ul,
.restauracion-copy ol {
    padding-left: 1.5em !important;
}

.restauracion-copy li,
.restauracion-copy li[data-list="bullet"],
.restauracion-copy li[data-list="ordered"] {
    display: list-item !important;
    float: none !important;
    width: auto !important;
    list-style-position: outside;
    margin: 0 !important;
    padding-left: 0.35em;
}

.restauracion-copy li[data-list="bullet"],
.restauracion-copy ul > li {
    list-style-type: disc;
}

.restauracion-copy li[data-list="ordered"],
.restauracion-copy ol > li {
    list-style-type: decimal;
}

.restauracion-copy .ql-ui {
    display: none !important;
}

.restauracion-copy a {
    color: #43cad1 !important;
}

.restauracion-copy .ql-indent-1 { padding-left: 3em !important; }
.restauracion-copy .ql-indent-2 { padding-left: 6em !important; }
.restauracion-copy .ql-indent-3 { padding-left: 9em !important; }
.restauracion-copy .ql-indent-4 { padding-left: 12em !important; }
.restauracion-copy .ql-indent-5 { padding-left: 15em !important; }
.restauracion-copy .ql-indent-6 { padding-left: 18em !important; }
.restauracion-copy .ql-indent-7 { padding-left: 21em !important; }
.restauracion-copy .ql-indent-8 { padding-left: 24em !important; }
.restauracion-copy li.ql-indent-1 { padding-left: 0.35em !important; }
.restauracion-copy li.ql-indent-2 { padding-left: 2em !important; }
.restauracion-copy li.ql-indent-3 { padding-left: 4em !important; }
.restauracion-copy li.ql-indent-4 { padding-left: 6em !important; }
.restauracion-copy li.ql-indent-5 { padding-left: 8em !important; }
.restauracion-copy li.ql-indent-6 { padding-left: 10em !important; }
.restauracion-copy li.ql-indent-7 { padding-left: 12em !important; }
.restauracion-copy li.ql-indent-8 { padding-left: 14em !important; }

.restauracion-copy strong,
.restauracion-copy b,
.restauracion-copy strong u,
.restauracion-copy b u {
    color: #00ffff !important;
}

.restauracion-carousel {
    position: relative;
    width: min(100%, 1040px);
    margin: 22px auto 0;
    padding: 0 50px;
    box-sizing: border-box;
}

.restauracion-swiper {
    width: 100%;
    overflow: hidden;
}

.restauracion-swiper .swiper-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(14px, 5vw, 72px);
    width: 100%;
    flex-shrink: 0;
    align-items: start;
}

.restauracion-swiper figure {
    min-width: 0;
    margin: 0;
    text-align: center;
}

.restauracion-image-frame {
    display: flex;
    width: 100%;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.restauracion-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.restauracion-swiper figcaption {
    margin-top: 9px;
    color: #fff;
    font-family: 'BentonSans-Regular', 'BentonSans-Bold';
    font-size: 12px;
    font-weight: normal;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.restauracion-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 38px;
    height: 54px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #efefef;
    cursor: pointer;
    transform: translateY(-65%);
}

.restauracion-arrow span {
    display: block;
    font-family: 'BentonSans-Regular', 'BentonSans-Bold';
    font-size: 44px;
    line-height: 1;
}

.restauracion-arrow:hover,
.restauracion-arrow:focus-visible {
    color: #52c5cd;
}

.restauracion-arrow-prev {
    left: 2px;
}

.restauracion-arrow-next {
    right: 2px;
}

.restauraciones-empty {
    padding: 50px 0;
    text-align: center;
    font-family: 'BentonSans-Regular', 'BentonSans-Bold';
    font-size: 20px;
}

@media (max-width: 1000px) {
    .restauraciones-header h1 {
        font-size: 2rem;
    }

    .restauracion-section h2 {
        font-size: 25px;
    }

    .restauracion-copy,
    .restauracion-copy * {
        font-size: 20px !important;
    }

    .restauraciones-page .vtc-fullscreen {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .restauracion-videos__inner {
        width: 50% !important;
        max-width: 50% !important;
        overflow: visible !important;
    }

    .restauraciones-page .div-disenador {
        width: 100% !important;
        max-width: 100% !important;
        transform: scale(1.25);
        transform-origin: center center;
        overflow: visible !important;
    }

    .restauraciones-page .div-disenador.vtc-fs-active {
        transform: none !important;
        overflow: hidden !important;
    }
}

@media (max-width: 600px) {
    .restauraciones-page {
        padding-right: 10px;
        padding-left: 10px;
    }

    .restauracion-videos {
        margin-bottom: 18px;
        padding-left: 0;
        padding-right: 0;
    }

    .restauraciones-header h1 {
        font-size: 1.5rem;
    }

    .restauracion-section {
        padding-top: 27px;
    }

    .restauracion-section h2 {
        font-size: 20px;
    }

    .restauracion-copy {
        padding: 0 12px;
        box-sizing: border-box;
    }

    .restauracion-copy,
    .restauracion-copy * {
        font-size: 20px !important;
    }

    .restauracion-carousel {
        padding: 0 28px;
    }

    .restauracion-swiper .swiper-slide {
        gap: 10px;
    }

    .restauracion-arrow {
        width: 26px;
    }

    .restauracion-arrow span {
        font-size: 34px;
    }

    .restauracion-swiper figcaption {
        margin-top: 6px;
        font-size: 9px;
    }
}
