
.rpmo-home,
body {
    overflow-x: hidden;
}

.home-news-section .home-section-heading {
    max-width: 720px;
}

.home-news-section .blog-image {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: block;
}

.home-news-section .blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.home-news-section .blog-link {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

.header-carousel .owl-carousel-item {
    min-height: clamp(430px, 62vh, 680px);
}

.header-carousel .owl-carousel-item > video,
.header-carousel .owl-carousel-item > img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.owl-carousel-inner {
    padding: 30px 0;
}

.owl-carousel-inner .container {
    width: min(1140px, calc(100% - 80px));
}

.owl-carousel-inner h2 {
    max-width: 850px;
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 1.08;
}

.owl-carousel-inner p {
    max-width: 720px;
}

.navbar-brand img {
    max-width: 210px;
    height: auto;
}

/* El contenido de la página no debe provocar scroll horizontal. */
.container-xxl,
.container,
.row {
    max-width: 100%;
}

/* Botón Sistema Web */
.navbar > .btn {
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .navbar > .btn {
        display: none;
    }

    .navbar .navbar-brand {
        max-width: 72%;
    }

    .navbar-brand img {
        max-width: 190px;
    }

    .header-carousel .owl-carousel-item {
        min-height: 520px;
    }

    .header-carousel .owl-dots {
        right: 12px;
        width: 45px;
    }

    .header-carousel .owl-dots .owl-dot {
        width: 36px;
        height: 36px;
    }

    .header-carousel .owl-dots .owl-dot.active {
        width: 46px;
        height: 46px;
    }

    .owl-carousel-inner .container {
        width: calc(100% - 90px);
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .navbar-brand {
        margin-left: 0 !important;
    }

    .navbar-brand img {
        max-width: 165px;
    }

    .header-carousel .owl-carousel-item {
        min-height: 460px;
    }

    .owl-carousel-inner {
        padding: 20px 0;
    }

    .owl-carousel-inner .container {
        width: calc(100% - 80px);
    }

    .owl-carousel-inner h2 {
        font-size: clamp(1.9rem, 8vw, 3rem);
    }

    .owl-carousel-inner p {
        font-size: 1rem !important;
        padding-bottom: 8px !important;
    }

    .owl-carousel-inner .btn {
        padding: 10px 16px !important;
    }

    .header-carousel .owl-dots {
        right: 8px;
    }

    .home-news-section .blog-image img {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        max-width: 145px;
    }

    .header-carousel .owl-carousel-item {
        min-height: 420px;
    }

    .owl-carousel-inner .container {
        width: calc(100% - 65px);
    }

    .header-carousel .owl-dots {
        display: none;
    }

    .home-news-section .blog-image img {
        height: 190px;
    }
}



.ubicacion-mapa {
    width: 100%;
    margin: 0;
    padding: 0;
}

.ubicacion-mapa iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}
.rights {
    text-align: center;
    width: 100%;
}
/* Pausa la linea de historia */
.timeline-carousel:hover .carousel-track {
    animation-play-state: paused;
}



/* MODALES DE SERVICIOS REGISTRALES */
.modal-rpmo .modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.modal-rpmo .modal-header {
    padding: 22px 28px;
    border-bottom: 1px solid #e5e9ec;
    background: #f8fafb;
    align-items: center;
}

.modal-rpmo .modal-title {
    margin: 3px 0 0;
    color: black;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
}

.modal-rpmo .modal-subtitle {
    display: block;
    color: #037909;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 1.7px;
}

/*efecto X */
.modal-rpmo .btn-close {
    opacity: .65;
    transition: opacity .2s ease, transform .2s ease;
}

.modal-rpmo .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-rpmo .modal-body {
    padding: 27px 28px;
    background: #fff;
}

.modal-section-title {
    margin-bottom: 7px;
    color: #0f4c5c;
    font-size: 15px;
    font-weight: 700;
}

.modal-section-title i {
    margin-right: 7px;
    color: #c79a3b;
}

.modal-descripcion {
    margin: 0 0 22px;
    color: #52616b;
    font-size: 20px;
    line-height: 1.7;
}

.tramite-datos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.tramite-datos-uno {
    grid-template-columns: 1fr;
}

.tramite-dato {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 70px;
    padding: 13px 15px;
    background: #f4f7f8;
    border: 1px solid #e1e7e9;
    border-radius: 13px;
}

.tramite-dato > i {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgb(0,71,186);
    color: #fff;
    font-size: 15px;
}

.tramite-dato small {
    display: block;
    margin-bottom: 3px;
    color: #687780;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .8px;
}

.tramite-dato strong {
    color: rgb(120, 48, 36);
    font-size: 14px;
    line-height: 1.35;
}

.tramite-documentacion {
    padding: 16px 18px;
    border-left: 4px solid #c79a3b;
    background: #faf8f2;
    border-radius: 10px;
}

.tramite-documentacion-titulo {
    margin-bottom: 6px;
    color: #0f4c5c;
    font-size: 14px;
    font-weight: 700;
}

.tramite-documentacion-titulo i {
    margin-right: 7px;
    color: #c79a3b;
}

.tramite-documentacion p {
    margin: 0;
    color: #52616b;
    font-size: 14px;
    line-height: 1.55;
}

.modal-footer-rpmo {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 17px 28px;
    border-top: 1px solid #e5e9ec;
    background: #f8fafb;
}

.modal-rpmo .modal-footer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
}

.modal-rpmo .modal-footer .btn-primary {
    border-color: white;
    background: rgb(0, 71,186);
}

.modal-rpmo .modal-footer .btn-primary:hover {
    border-color: white;
    background: #093743;
}
.modal-rpmo .modal-footer .btn-primary_r {
    color: white;
    border-color: white;
    background: rgb(0,105,55);
}

.modal-rpmo .modal-footer .btn-primary_r:hover {
    border-color: white;
    background: #12ad03;
}




@media (max-width: 575.98px) {
    .modal-rpmo .modal-header {
        padding: 18px 20px;
    }

    .modal-rpmo .modal-title {
        font-size: 21px;
    }

    .modal-rpmo .modal-body {
        padding: 21px 20px;
    }

    .tramite-datos {
        grid-template-columns: 1fr;
    }

    .modal-footer-rpmo {
        flex-direction: column-reverse;
        padding: 15px 20px;
    }

    .modal-rpmo .modal-footer .btn {
        width: 100%;
    }
}

/* BUZÓN CIUDADANO*/

.buzon-seccion {
    width: 100%;
}


/* Columnas */

.buzon-seccion .row {
    align-items: stretch;
}


/* INFORMACIÓN IZQUIERDA */

.buzon-info {
    height: 100%;
    display: flex;
    flex-direction: column;
}


.buzon-introduccion {
    line-height: 1.6;
}


/* Cada dato */

.buzon-dato {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 28px;
}


/* Iconos */

.buzon-icono {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
}


.buzon-icono i {
    font-size: 1.7rem;
    color: #187c45;
}


/* Texto */

.buzon-texto {
    min-width: 0;
}


.buzon-texto p {
    margin-bottom: 6px;
}


.buzon-texto h3 {
    margin-bottom: 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
}


.buzon-texto span {
    display: block;

    line-height: 1.5;
}


/* PROTECCIÓN DE DATOS*/

.buzon-seguridad {
    margin-bottom: 0;
}

.buzon-seguridad .buzon-texto h3 {
    margin-bottom: 5px;
}


.buzon-correo-datos {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
}


.buzon-correo-datos > i {
    color: #187c45;
    font-size: 1.8rem;
    flex-shrink: 0;
}


.buzon-correo-datos p {
    margin-bottom: 4px;
}


.buzon-correo-datos span {
    overflow-wrap: anywhere;
}


/* COLUMNA DERECHA */

.buzon-visual {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Imagen */

.buzon-imagen {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    margin: 0;
}


/* Botón */

.buzon-boton {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    border-radius: 8px;
    text-decoration: none;
}


/* TABLET */

@media (max-width: 991.98px) {

    .buzon-visual {
        height: auto;
    }

    .buzon-imagen {
        height: 300px;
    }

}


/*CELULAR*/

@media (max-width: 575.98px) {

    .buzon-seccion .container {
        padding-left: 20px;
        padding-right: 20px;
    }


    .buzon-dato {
        grid-template-columns: 55px 1fr;

        gap: 15px;
    }


    .buzon-icono {
        width: 55px;
        height: 55px;
    }


    .buzon-icono i {
        font-size: 1.4rem;
    }


    .buzon-texto h3 {
        font-size: 1.35rem;
    }


    .buzon-imagen {
        height: 240px;
    }


    .buzon-boton {
        min-height: 55px;
    }

}
.proteccion-datos {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    color: #27313b;
}

/* CONTENIDO PRINCIPAL */

.proteccion-contenido {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

/* ICONO ESCUDO + CANDADO */

.proteccion-icono {
    width: 65px;
    min-width: 65px;
    padding-top: 2px;
}

.proteccion-icono i {
    font-size: 58px;
    line-height: 1;
    color: #08796d;
}

/* TEXTO */

.proteccion-texto {
    flex: 1;
}

.proteccion-etiqueta {
    color: #08796d;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.3px;
    margin-bottom: 5px;
}

.proteccion-texto h2 {
    margin: 0;
    color: #27313b;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
}

.proteccion-texto p {
    margin: 9px 0 18px;
    color: #3f464b;
    font-size: 15px;
    line-height: 1.55;
}

/* PARTE INFERIOR */

.proteccion-inferior {
    display: flex;
    align-items: center;
    min-height: 65px;
}

/* CORREO */

.proteccion-correo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.correo-icono {
    width: 40px;
    min-width: 40px;
}

.correo-icono i {
    font-size: 34px;
    color: #198653;
}

.proteccion-correo span {
    display: block;
    color: #4a5054;
    font-size: 13px;
    margin-bottom: 5px;
}

.proteccion-correo a {
    color: #30383e;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.proteccion-correo a:hover {
    color: #08796d;
}

/* SEPARADOR */

.proteccion-separador {
    width: 1px;
    height: 64px;
    background: #d2d8d8;
    margin-left: 32px;
    margin-right: 26px;
}

/* BOTÓN */

.btn-conoce {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 12px 24px;

    background: transparent;
    color: #08796d;

    border: 1px solid #08796d;
    border-radius: 30px;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    transition: all 0.3s ease;
}

.btn-conoce span {
    font-size: 22px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.btn-conoce:hover {
    background-color: #08796d;
    color: #ffffff;
}


.btn-conoce {
    min-width: 140px;
    min-height: 62px;
    padding: 10px 22px;
    border-radius: 32px;
    font-size: 14px;
    line-height: 1.3;
}
/*movil*/
@media (max-width: 768px) {

    .proteccion-datos {
        padding: 20px;
    }

    .proteccion-contenido {
        gap: 18px;
    }

    .proteccion-icono {
        width: 50px;
        min-width: 50px;
    }

    .proteccion-icono i {
        font-size: 45px;
    }

    .proteccion-etiqueta {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .proteccion-texto h2 {
        font-size: 21px;
    }

    .proteccion-texto p {
        font-size: 14px;
    }

    .desktop {
        display: none;
    }

    .proteccion-inferior {
        flex-wrap: wrap;
        gap: 18px;
    }

    .proteccion-separador {
        display: none;
    }

    .proteccion-boton {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 500px) {

    .proteccion-contenido {
        display: block;
    }

    .proteccion-icono {
        margin-bottom: 10px;
    }

    .proteccion-texto h2 {
        font-size: 20px;
    }

    .proteccion-correo a {
        font-size: 14px;
        word-break: break-word;
    }

    .proteccion-boton {
        max-width: 100%;
    }
}




/* ==========================================================
   COMUNICADO INSTITUCIONAL DE INICIO
   ========================================================== */
body.aviso-inicio-abierto {
    overflow: hidden;
}

body.rpmo-home .aviso-inicio {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
}

body.rpmo-home .aviso-inicio--visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

body.rpmo-home .aviso-inicio__fondo {
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 35, .76);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

body.rpmo-home .aviso-inicio__dialogo {
    position: relative;
    z-index: 1;
    width: min(100%, 570px);
    padding: 48px 48px 42px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(190, 157, 91, .45);
    border-radius: 18px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
    outline: none;
    transform: translateY(24px) scale(.97);
    transition: transform .45s cubic-bezier(.2, .75, .25, 1);
}

body.rpmo-home .aviso-inicio--visible .aviso-inicio__dialogo {
    transform: translateY(0) scale(1);
}

body.rpmo-home .aviso-inicio__dialogo::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #a77b36, #e4c98e, #a77b36);
}

body.rpmo-home .aviso-inicio__cerrar {
    position: absolute;
    top: 14px;
    right: 17px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: #687385;
    background: #f2f4f7;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

body.rpmo-home .aviso-inicio__cerrar:hover {
    color: #fff;
    background: #173653;
    transform: rotate(90deg);
}

body.rpmo-home .aviso-inicio__icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    border: 1px solid rgba(174, 133, 63, .35);
    border-radius: 50%;
    color: #a77b36;
    background: #fbf7ef;
    font-size: 27px;
}

body.rpmo-home .aviso-inicio__etiqueta {
    display: block;
    margin-bottom: 9px;
    color: #9a793f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

body.rpmo-home .aviso-inicio__dialogo h2 {
    margin: 0;
    color: #173653;
    font-family: inherit;
    font-size: clamp(27px, 4vw, 34px);
    font-weight: 700;
    letter-spacing: -.5px;
}

body.rpmo-home .aviso-inicio__linea {
    width: 54px;
    height: 2px;
    margin: 19px auto 22px;
    background: #b38b4b;
}

body.rpmo-home .aviso-inicio__dialogo p {
    margin: 0 auto;
    max-width: 455px;
    color: #536174;
    font-size: 16px;
    line-height: 1.85;
}

body.rpmo-home .aviso-inicio__dialogo p strong {
    color: #263f59;
    font-weight: 700;
}

body.rpmo-home .aviso-inicio__descargar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 220px;
    margin-top: 30px;
    padding: 13px 22px;
    border: 1px solid #a77b36;
    border-radius: 6px;
    color: #173653;
    background: #fbf7ef;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    text-decoration: none;
    cursor: pointer;
    transition: color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}

body.rpmo-home .aviso-inicio__descargar:hover {
    color: #fff;
    background: #a77b36;
    box-shadow: 0 8px 22px rgba(167, 123, 54, .22);
    transform: translateY(-2px);
}

body.rpmo-home .aviso-inicio__descargar i {
    font-size: 16px;
}

body.rpmo-home .aviso-inicio__continuar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 170px;
    margin-top: 30px;
    padding: 13px 25px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: #173653;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

body.rpmo-home .aviso-inicio__continuar:hover {
    background: #a77b36;
    box-shadow: 0 8px 22px rgba(167, 123, 54, .25);
    transform: translateY(-2px);
}

@media (max-width: 575px) {
    body.rpmo-home .aviso-inicio {
        padding: 15px;
    }

    body.rpmo-home .aviso-inicio__dialogo {
        padding: 42px 23px 30px;
        border-radius: 14px;
    }

    body.rpmo-home .aviso-inicio__dialogo p {
        font-size: 14px;
        line-height: 1.75;
    }

    body.rpmo-home .aviso-inicio__icono {
        width: 58px;
        height: 58px;
        margin-bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.rpmo-home .aviso-inicio,
    body.rpmo-home .aviso-inicio__dialogo,
    body.rpmo-home .aviso-inicio__cerrar,
    body.rpmo-home .aviso-inicio__continuar,
    body.rpmo-home .aviso-inicio__descargar {
        transition: none;
    }
}
