/* Ajustes propios de la migración Django. Se mantiene intacto el CSS original. */
.jamaro-phone { font-size: 20px; white-space: nowrap; }
.hamburger-menu { border: 0; background: transparent; padding: 0; }
/* El enlace activo debe seguir visible sobre la barra azul. */
.site-menu .menu > li.active > a {
    color: #fff;
    position: relative;
}
.site-menu .menu > li.active > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    background: #fff;
}
/* En el menú lateral móvil el fondo es claro, por eso se usa el azul corporativo. */
.side-widget .menu > li.active > a {
    color: #0c5adb;
}
.side-widget .menu > li.active > a::after {
    display: none;
}
/* Resalta también el servicio actual dentro del desplegable. */
.site-menu .dropdown-menu .dropdown-item.active,
.site-menu .dropdown-menu .dropdown-item:active {
    color: #0c5adb;
    background: #eef4ff;
}
.jamaro-messages { padding-top: 24px; }
.jamaro-contact-card { display: block; color: inherit; text-decoration: none; height: 100%; }
.jamaro-contact-card:hover { color: inherit; text-decoration: none; }
.invalid-feedback { display: block; min-height: 20px; color: #b00020; font-size: 13px; margin-top: 5px; }
.form__input.is-invalid { border-color: #b00020 !important; }
#contact-form-status .alert { margin-bottom: 25px; }
.jamaro-map { border: 0; display: block; }
#top { border: 0; padding: 0; background: transparent; cursor: pointer; }
.jamaro-error-page { min-height: 500px; padding-top: 100px; padding-bottom: 100px; text-align: center; }
.jamaro-error-page h1 { font-size: 110px; line-height: 1; }
.page-header h1 { color: #fff; font-size: 46px; }
@media (max-width: 1199px) { .jamaro-phone { display: none; } }

/* Página Línea de Ética: pestañas de políticas corporativas. */
.jamaro-politicas-section {
    padding: 70px 0 100px;
    background: #fff;
}
.jamaro-policy-tabs {
    border-bottom: 1px solid #333;
    margin: 0;
}
.jamaro-policy-tabs .nav-item {
    margin: 0 40px -1px 0;
}
.jamaro-policy-tabs .nav-link {
    border: 0;
    border-bottom: 5px solid transparent;
    border-radius: 0;
    color: #3a3a3a;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    padding: 15px 20px 13px;
    background: transparent;
}
.jamaro-policy-tabs .nav-link:hover,
.jamaro-policy-tabs .nav-link:focus {
    border-color: transparent transparent #0c5adb;
    color: #0c5adb;
}
.jamaro-policy-tabs .nav-link.active,
.jamaro-policy-tabs .nav-item.show .nav-link {
    color: #0879bd;
    background: transparent;
    border-color: transparent transparent #0879bd;
}
.jamaro-policy-content {
    min-height: 320px;
    padding: 45px 20px 20px;
}
.jamaro-policy-content h3 {
    color: #242424;
    font-size: 27px;
    font-weight: 500;
    margin: 0 0 25px;
}
.jamaro-policy-document {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}
/* Mantiene el menú principal en una sola línea con el nuevo enlace. */
.navbar .site-menu > .menu > li {
    padding-left: 11px;
    padding-right: 11px;
}
.navbar .site-menu > .menu > li > a {
    font-size: 16px;
    white-space: nowrap;
}
@media (max-width: 1399px) {
    .jamaro-phone { display: none; }
}
@media (max-width: 767px) {
    .jamaro-politicas-section {
        padding: 45px 0 70px;
    }
    .jamaro-policy-tabs {
        display: block;
    }
    .jamaro-policy-tabs .nav-item {
        margin: 0;
        width: 100%;
    }
    .jamaro-policy-tabs .nav-link {
        font-size: 17px;
        padding: 14px 10px 11px;
    }
    .jamaro-policy-content {
        min-height: 240px;
        padding: 32px 10px 10px;
    }
    .jamaro-policy-content h3 {
        font-size: 23px;
    }
}


/* Visor de documentos de la Línea de Ética. */
.jamaro-policy-tabs {
    display: flex;
    flex-wrap: wrap;
}
.jamaro-document-header {
    align-items: flex-start;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-bottom: 22px;
}
.jamaro-document-heading {
    max-width: 820px;
}
.jamaro-document-heading h3 {
    margin-bottom: 12px;
}
.jamaro-document-heading p {
    color: #5a5a5a;
    line-height: 1.65;
    margin: 0;
}
.jamaro-document-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}
.jamaro-document-button {
    align-items: center;
    background: #fff;
    border: 1px solid #0c5adb;
    border-radius: 0;
    color: #0c5adb;
    display: inline-flex;
    font-size: 14px;
    font-weight: 500;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    text-decoration: none;
}
.jamaro-document-button:hover,
.jamaro-document-button:focus {
    background: #eef4ff;
    color: #0747ad;
    text-decoration: none;
}
.jamaro-document-button-primary {
    background: #0c5adb;
    color: #fff;
}
.jamaro-document-button-primary:hover,
.jamaro-document-button-primary:focus {
    background: #0747ad;
    color: #fff;
}
.jamaro-document-meta {
    background: #f6f8fb;
    border-left: 4px solid #0c5adb;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 25px;
    padding: 14px 18px;
}
.jamaro-document-meta > div {
    align-items: baseline;
    display: flex;
    margin-right: 34px;
}
.jamaro-document-meta dt {
    color: #333;
    font-weight: 600;
    margin: 0 7px 0 0;
}
.jamaro-document-meta dd {
    color: #555;
    margin: 0;
}
.jamaro-policy-document {
    border: 1px solid #d8dce2;
    background: #f3f4f6;
}
.jamaro-pdf-viewer {
    background: #f3f4f6;
    border: 0;
    display: block;
    height: 820px;
    width: 100%;
}
@media (max-width: 991px) {
    .jamaro-policy-tabs .nav-item {
        margin-right: 12px;
    }
    .jamaro-policy-tabs .nav-link {
        font-size: 17px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .jamaro-document-header {
        display: block;
    }
    .jamaro-document-actions {
        margin-top: 20px;
    }
    .jamaro-pdf-viewer {
        height: 680px;
    }
}
@media (max-width: 767px) {
    .jamaro-policy-tabs {
        display: block;
    }
    .jamaro-document-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .jamaro-document-meta {
        display: block;
    }
    .jamaro-document-meta > div {
        margin: 0 0 6px;
    }
    .jamaro-document-meta > div:last-child {
        margin-bottom: 0;
    }
    .jamaro-pdf-viewer {
        height: 520px;
    }
}
@media (max-width: 430px) {
    .jamaro-document-actions {
        grid-template-columns: 1fr;
    }
}

/* Formulario público de Reportes, Denuncias y PQRS. */
.jamaro-report-intro {
    border-left: 4px solid #0c5adb;
    margin-bottom: 30px;
    padding: 4px 0 4px 20px;
}
.jamaro-report-intro h3 {
    margin-bottom: 10px;
}
.jamaro-report-intro p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    max-width: 950px;
}
.jamaro-report-form {
    background: #f8f9fb;
    border: 1px solid #dce1e8;
    padding: 30px;
}
.jamaro-report-form .form-group {
    margin-bottom: 24px;
}
.jamaro-report-form label {
    color: #2f343b;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}
.jamaro-report-form .form-control {
    background: #fff;
    border: 1px solid #bfc7d1;
    border-radius: 0;
    box-shadow: none;
    color: #25282c;
    font-size: 15px;
    min-height: 48px;
    padding: 10px 12px;
}
.jamaro-report-form textarea.form-control {
    min-height: 170px;
    resize: vertical;
}
.jamaro-report-form .form-control:focus {
    border-color: #0c5adb;
    box-shadow: 0 0 0 2px rgba(12, 90, 219, 0.12);
}
.jamaro-report-form .form-control.is-invalid,
.jamaro-report-form .custom-control-input.is-invalid ~ .custom-control-label {
    border-color: #b00020;
}
.jamaro-evidence-group {
    background: #fff;
    border: 1px dashed #aeb7c3;
    padding: 18px;
}
.jamaro-file-input {
    display: block;
    width: 100%;
}
.jamaro-selected-files {
    color: #3f4854;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px;
    overflow-wrap: anywhere;
}
.jamaro-privacy-consent {
    background: #fff;
    border: 1px solid #cbd3dc;
    margin: 8px 0 0;
    padding: 18px 20px;
}
.jamaro-privacy-consent .custom-control {
    min-height: 26px;
    padding-left: 30px;
}
.jamaro-privacy-consent .custom-control-label {
    color: #343a40;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    margin: 0;
}
.jamaro-privacy-consent .custom-control-label::before,
.jamaro-privacy-consent .custom-control-label::after {
    border-radius: 0;
    height: 19px;
    left: -30px;
    top: 2px;
    width: 19px;
}
.jamaro-privacy-consent a {
    color: #0c5adb;
    font-weight: 600;
    text-decoration: underline;
}
.jamaro-report-actions {
    margin-top: 18px;
}
.jamaro-report-submit {
    background: #0c5adb;
    border: 1px solid #0c5adb;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    min-height: 48px;
    min-width: 190px;
    padding: 11px 24px;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.jamaro-report-submit:hover,
.jamaro-report-submit:focus {
    background: #0747ad;
    border-color: #0747ad;
    color: #fff;
}
.jamaro-report-submit:disabled {
    background: #8d99aa;
    border-color: #8d99aa;
    cursor: not-allowed;
    opacity: 0.7;
}
#report-form-status .alert {
    border-radius: 0;
    margin-bottom: 24px;
}
@media (max-width: 991px) {
    .jamaro-report-form {
        padding: 24px;
    }
}
@media (max-width: 575px) {
    .jamaro-report-form {
        padding: 20px 16px;
    }
    .jamaro-privacy-consent {
        padding: 16px;
    }
    .jamaro-report-submit {
        width: 100%;
    }
}

/* ==========================================================
   Optimización responsive integral
   ========================================================== */
html {
    overflow-x: hidden;
}
body {
    overflow-x: hidden;
}
img,
svg,
video,
iframe {
    max-width: 100%;
}
.mobile-menu-close,
.mobile-submenu-toggle,
.mobile-menu-contact,
.mobile-menu-backdrop {
    display: none;
}

/* El cursor decorativo no debe mostrarse en pantallas táctiles. */
@media (hover: none), (pointer: coarse) {
    #pointer-dot,
    #pointer-ring {
        display: none !important;
    }
}

@media (max-width: 1299px) {
    body {
        padding-top: 86px;
    }

    body.mobile-menu-open {
        overflow: hidden;
        touch-action: none;
    }

    .container {
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    /* Barra superior móvil/tablet. */
    .navbar {
        align-items: center;
        background: #0c5adb;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
        height: 86px;
        left: 0;
        min-height: 86px;
        padding: 0 !important;
        position: fixed;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    .navbar > .container {
        align-items: center;
        display: flex;
        flex-wrap: nowrap !important;
        height: 100%;
        justify-content: space-between;
        width: 100%;
    }

    .navbar .logo {
        flex: 0 1 auto;
        margin: 0 !important;
        padding: 0 !important;
    }

    .navbar .logo a {
        align-items: center;
        display: flex;
        min-height: 64px;
    }

    .navbar .logo a img {
        height: auto !important;
        max-height: 64px;
        max-width: 190px;
        object-fit: contain;
        width: auto;
    }

    .navbar .site-menu,
    .navbar .jamaro-phone {
        display: none !important;
    }

    .navbar .hamburger-menu {
        align-items: center;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        display: flex !important;
        flex: 0 0 48px;
        height: 48px !important;
        justify-content: center;
        margin: 0 0 0 14px !important;
        min-width: 48px;
        outline: 0;
        padding: 0 !important;
        position: relative;
        width: 48px !important;
        z-index: 1003;
    }

    .navbar .hamburger-menu::before,
    .navbar .hamburger-menu::after {
        display: none !important;
    }

    .navbar .hamburger-menu span {
        background: #fff !important;
        height: 3px !important;
        left: 9px !important;
        opacity: 1;
        position: absolute;
        right: auto !important;
        width: 30px !important;
    }

    .navbar .hamburger-menu span:nth-child(1) {
        top: 13px !important;
    }

    .navbar .hamburger-menu span:nth-child(2) {
        top: 22px !important;
    }

    .navbar .hamburger-menu span:nth-child(3) {
        top: 31px !important;
    }

    .navbar .hamburger-menu.open span:nth-child(1) {
        top: 22px !important;
        transform: rotate(45deg) !important;
    }

    .navbar .hamburger-menu.open span:nth-child(2) {
        left: 9px !important;
        opacity: 0 !important;
    }

    .navbar .hamburger-menu.open span:nth-child(3) {
        top: 22px !important;
        transform: rotate(-45deg) !important;
    }

    /* Panel lateral accesible y con área táctil suficiente. */
    .side-widget {
        align-items: stretch !important;
        background: #fff !important;
        box-shadow: 12px 0 38px rgba(0, 0, 0, 0.24);
        color: #26313f !important;
        display: block !important;
        height: 100vh !important;
        height: 100dvh !important;
        left: 0 !important;
        max-width: 390px !important;
        overflow: hidden;
        padding: 0 !important;
        top: 0 !important;
        transform: translateX(-105%);
        transition: transform 0.28s ease !important;
        width: min(90vw, 390px) !important;
        z-index: 1002 !important;
    }

    .side-widget.active {
        left: 0 !important;
        transform: translateX(0);
    }

    .side-widget .inner {
        align-content: flex-start;
        align-items: stretch !important;
        display: flex !important;
        flex-direction: column;
        flex-wrap: nowrap !important;
        height: 100% !important;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 0 0 22px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-menu-header {
        align-items: center;
        background: #0c5adb;
        display: flex;
        flex: 0 0 auto;
        justify-content: space-between;
        min-height: 86px;
        padding: 10px 14px 10px 18px;
        width: 100%;
    }

    .side-widget .mobile-menu-header .logo {
        display: block;
        margin: 0 !important;
        width: auto;
    }

    .side-widget .mobile-menu-header .logo a {
        align-items: center;
        display: flex;
    }

    .side-widget .mobile-menu-header .logo img {
        height: auto;
        max-height: 58px;
        max-width: 176px;
        object-fit: contain;
    }

    .mobile-menu-close {
        align-items: center;
        background: transparent;
        border: 0;
        display: flex;
        flex: 0 0 46px;
        height: 46px;
        justify-content: center;
        padding: 0;
        position: relative;
        width: 46px;
    }

    .mobile-menu-close span {
        background: #fff;
        height: 3px;
        left: 9px;
        position: absolute;
        top: 22px;
        width: 28px;
    }

    .mobile-menu-close span:first-child {
        transform: rotate(45deg);
    }

    .mobile-menu-close span:last-child {
        transform: rotate(-45deg);
    }

    .side-widget .hide-mobile {
        display: none !important;
    }

    .side-widget .show-mobile,
    .side-widget .site-menu {
        display: block !important;
        flex: 0 0 auto;
        margin: 0 !important;
        padding: 12px 0 0;
        width: 100%;
    }

    .side-widget .site-menu .menu {
        display: block !important;
        margin: 0 !important;
        padding: 0 14px !important;
        width: 100%;
    }

    .side-widget .site-menu .menu > li {
        border-bottom: 1px solid #e8edf3;
        display: block !important;
        float: none !important;
        margin: 0 !important;
        opacity: 1 !important;
        padding: 0 !important;
        position: relative;
        width: 100% !important;
    }

    .side-widget .site-menu .menu > li > a {
        align-items: center;
        color: #26313f !important;
        display: flex !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1.35;
        min-height: 54px;
        padding: 13px 12px !important;
        text-decoration: none;
        width: 100%;
    }

    .side-widget .site-menu .menu > li.has-submenu > a {
        padding-right: 58px !important;
    }

    .side-widget .site-menu .menu > li.active > a,
    .side-widget .site-menu .menu > li > a:hover,
    .side-widget .site-menu .menu > li > a:focus {
        background: #eef4ff;
        color: #0c5adb !important;
    }

    .side-widget .site-menu .menu > li.active > a::after {
        display: none !important;
    }

    .side-widget .site-menu .border,
    .side-widget .desktop-submenu-icon {
        display: none !important;
    }

    .mobile-submenu-toggle {
        align-items: center;
        background: transparent;
        border: 0;
        display: flex;
        height: 54px;
        justify-content: center;
        padding: 0;
        position: absolute;
        right: 0;
        top: 0;
        width: 52px;
        z-index: 2;
    }

    .mobile-submenu-icon {
        border-bottom: 2px solid #0c5adb;
        border-right: 2px solid #0c5adb;
        display: block;
        height: 9px;
        transform: rotate(45deg) translate(-2px, -2px);
        transition: transform 0.2s ease;
        width: 9px;
    }

    .submenu-open > .mobile-submenu-toggle .mobile-submenu-icon {
        transform: rotate(225deg) translate(-1px, -1px);
    }

    .side-widget .site-menu .dropdown-menu {
        background: #f7f9fc !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        display: none !important;
        float: none !important;
        left: auto !important;
        margin: 0 !important;
        min-width: 0 !important;
        padding: 6px 0 9px 14px !important;
        position: static !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
    }

    .side-widget .site-menu .submenu-open > .dropdown-menu {
        display: block !important;
    }

    .side-widget .site-menu .dropdown-menu li {
        border: 0;
        display: block !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .side-widget .site-menu .dropdown-menu a {
        background: transparent !important;
        border-left: 3px solid transparent;
        color: #4a5665 !important;
        display: block;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.45;
        min-height: 44px;
        padding: 11px 12px !important;
        white-space: normal;
    }

    .side-widget .site-menu .dropdown-menu a.active,
    .side-widget .site-menu .dropdown-menu a:hover,
    .side-widget .site-menu .dropdown-menu a:focus {
        border-left-color: #0c5adb;
        color: #0c5adb !important;
    }

    .mobile-menu-contact {
        border-top: 1px solid #e1e7ee;
        display: block;
        margin: auto 18px 0;
        padding-top: 16px;
    }

    .mobile-menu-contact a {
        align-items: flex-start;
        color: #334155;
        display: flex;
        font-size: 13px;
        gap: 10px;
        line-height: 1.45;
        margin-bottom: 11px;
        overflow-wrap: anywhere;
        text-decoration: none;
    }

    .mobile-menu-contact i {
        color: #0c5adb;
        flex: 0 0 20px;
        font-size: 19px;
        line-height: 1.2;
        margin-top: 1px;
    }

    .side-widget small {
        color: #687386;
        display: block !important;
        font-size: 11px;
        justify-content: flex-start !important;
        margin: 8px 18px 0 !important;
        text-align: left;
    }

    .mobile-menu-backdrop {
        background: rgba(12, 24, 42, 0.58);
        bottom: 0;
        display: block;
        left: 0;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        right: 0;
        top: 0;
        transition: opacity 0.25s ease;
        visibility: hidden;
        z-index: 1001;
    }

    .mobile-menu-backdrop.active {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    /* Encabezados interiores: menos altos y sin espacios artificiales. */
    .page-header {
        align-items: center !important;
        background-position: center center !important;
        height: 330px !important;
        max-height: none !important;
        min-height: 330px;
        padding: 0 !important;
    }

    .page-header .container {
        padding-top: 0 !important;
    }

    .page-header .container h1,
    .page-header h1 {
        color: #fff;
        font-size: clamp(34px, 7vw, 48px) !important;
        font-weight: 400;
        line-height: 1.16 !important;
        margin: 0 0 22px !important;
        overflow-wrap: anywhere;
    }

    .page-header .bosluk3 {
        display: none;
    }

    .page-header .container p {
        align-items: center;
        display: flex !important;
        flex-wrap: wrap !important;
        font-size: 15px !important;
        gap: 7px;
        line-height: 1.5;
        margin: 0 !important;
        width: 100%;
    }

    .page-header .container p i {
        padding: 0 4px;
    }

    /* Slider principal sin una segunda fila de teléfono. */
    .slider,
    .slider .main-slider {
        height: min(68vh, 600px) !important;
        min-height: 470px;
    }

    .slider .main-slider .swiper-slide {
        padding: 0 !important;
    }

    .slider .main-slider .swiper-slide .slide-image {
        background-position: center center !important;
    }

    .slider .main-slider .swiper-slide:first-child .slide-image {
        background-position: 61% center !important;
    }

    .slider .button-prev,
    .slider .button-next {
        display: none !important;
    }

    /* Neutraliza los márgenes/paddings extremos del tema original. */
    .tablo,
    .tabloozellik,
    .tablohakkimizda,
    .tablohizmetler,
    .tablohizmetlerdetay,
    .tabloyorumlar,
    .tabloservices {
        box-sizing: border-box;
        margin: 0 auto !important;
        max-width: 100% !important;
        padding: 55px 24px !important;
        width: 100% !important;
    }

    .tablo:not(:last-child),
    .tabloozellik:not(:last-child),
    .tablohakkimizda:not(:last-child),
    .tablohizmetler:not(:last-child),
    .tablohizmetlerdetay:not(:last-child),
    .tabloyorumlar:not(:last-child),
    .tabloservices:not(:last-child) {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

    .tablo [class^="tablo--"],
    .tabloozellik [class^="tablo--"],
    .tablohakkimizda [class^="tablo--"],
    .tablohizmetler [class^="tablo--"],
    .tablohizmetlerdetay [class^="tablo--"],
    .tabloyorumlar [class^="tablo--"],
    .tabloservices [class^="tablo--"] {
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
        width: 100% !important;
    }

    .h2-baslik-anasayfa,
    .h2-baslik-anasayfa-ozel,
    .h2-baslik-anasayfa-blog {
        font-size: clamp(28px, 5.5vw, 40px) !important;
        line-height: 1.22 !important;
        margin-top: 0 !important;
        overflow-wrap: anywhere;
    }

    .paragraf,
    .paragraf-info,
    .services-kutu2--yazi,
    .footer-info p {
        overflow-wrap: anywhere;
    }

    .bosluk3h3 {
        margin-top: 0 !important;
    }

    .bosluk8 {
        margin-top: 35px !important;
    }

    /* Pie de página. */
    .footer {
        background-attachment: scroll !important;
        padding: 52px 0 24px !important;
    }

    .footer .row > [class*="col-"] {
        margin-bottom: 28px;
    }

    .footer .logo {
        margin-bottom: 22px !important;
        text-align: center;
    }

    .footer .logo img {
        height: auto !important;
        margin: 0 !important;
        max-height: 74px;
        max-width: 220px;
    }

    .footer .footer-info {
        align-content: stretch !important;
        align-items: stretch !important;
        display: block !important;
        font-size: 15px !important;
        text-align: left !important;
    }

    .footer .footer-info p {
        align-items: flex-start;
        display: flex;
        font-size: 14px;
        justify-content: flex-start;
        line-height: 1.6;
        margin-bottom: 10px;
        text-align: left;
    }

    .footer .footer-info i {
        flex: 0 0 34px;
        float: none !important;
        font-size: 24px !important;
        margin: 0 8px 0 0 !important;
    }

    .footer .footer-social {
        justify-content: center !important;
        margin: 8px 0 0 !important;
    }

    .footer .widget-title {
        font-size: 22px !important;
        margin: 0 0 12px !important;
        text-align: left;
    }

    .footer .footer-menu li {
        align-items: flex-start !important;
        display: block !important;
        padding: 6px 0 !important;
        text-align: left !important;
    }

    .footer .footer-menu li a {
        display: inline-block;
        font-size: 15px !important;
        line-height: 1.5;
    }

    .footer .copyright {
        margin-top: 0 !important;
        text-align: center !important;
    }

    #top {
        bottom: 14px;
        position: fixed;
        right: 14px;
        z-index: 900;
    }

    #top img {
        height: 42px;
        width: 42px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 78px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar {
        height: 78px;
        min-height: 78px;
    }

    .navbar .logo a img {
        max-height: 57px;
        max-width: 168px;
    }

    .navbar .hamburger-menu {
        margin-left: 8px !important;
    }

    .mobile-menu-header {
        min-height: 78px;
    }

    .side-widget .mobile-menu-header .logo img {
        max-height: 53px;
        max-width: 160px;
    }

    .page-header {
        background-position: 58% center !important;
        height: 280px !important;
        min-height: 280px;
    }

    .page-header .container h1,
    .page-header h1 {
        font-size: clamp(31px, 10vw, 42px) !important;
        margin-bottom: 18px !important;
    }

    .page-header .container p {
        font-size: 14px !important;
    }

    .slider,
    .slider .main-slider {
        height: 58vh !important;
        max-height: 520px;
        min-height: 410px;
    }

    .slider .main-slider .swiper-slide:first-child .slide-image {
        background-position: 60% center !important;
    }

    .tablo,
    .tabloozellik,
    .tablohakkimizda,
    .tablohizmetler,
    .tablohizmetlerdetay,
    .tabloyorumlar,
    .tabloservices {
        padding: 38px 16px !important;
    }

    .tablo [class^="tablo--"]:not(:last-child),
    .tabloozellik [class^="tablo--"]:not(:last-child),
    .tablohakkimizda [class^="tablo--"]:not(:last-child),
    .tablohizmetler [class^="tablo--"]:not(:last-child),
    .tablohizmetlerdetay [class^="tablo--"]:not(:last-child),
    .tabloyorumlar [class^="tablo--"]:not(:last-child),
    .tabloservices [class^="tablo--"]:not(:last-child) {
        margin-bottom: 32px !important;
    }

    .galeri1,
    .galeri {
        max-width: 100%;
    }

    .galeri img,
    .galeri1 img {
        height: auto;
        max-width: 100%;
    }

    /* Pestañas horizontales y táctiles. */
    .jamaro-politicas-section {
        padding: 38px 0 58px !important;
    }

    .jamaro-policy-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        margin: 0 -16px !important;
        overflow-x: auto;
        padding: 0 16px;
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .jamaro-policy-tabs .nav-item {
        flex: 0 0 auto;
        margin: 0 8px 0 0 !important;
        scroll-snap-align: start;
        width: auto !important;
    }

    .jamaro-policy-tabs .nav-link {
        align-items: center;
        display: flex;
        font-size: 14px !important;
        line-height: 1.3;
        min-height: 50px;
        padding: 11px 12px 9px !important;
        white-space: nowrap;
    }

    .jamaro-policy-content {
        min-height: 0 !important;
        padding: 28px 0 0 !important;
    }

    .jamaro-document-header {
        margin-bottom: 18px;
    }

    .jamaro-document-heading h3,
    .jamaro-report-intro h3 {
        font-size: 22px !important;
        line-height: 1.3;
    }

    .jamaro-document-heading p,
    .jamaro-report-intro p {
        font-size: 14px;
        line-height: 1.65;
    }

    .jamaro-document-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px;
        width: 100%;
    }

    .jamaro-document-button {
        font-size: 13px;
        min-height: 46px;
        padding: 9px 10px;
        text-align: center;
    }

    .jamaro-document-meta {
        padding: 12px 14px !important;
    }

    .jamaro-document-meta > div {
        display: grid !important;
        grid-template-columns: 74px 1fr;
        margin: 0 0 6px !important;
    }

    .jamaro-pdf-viewer {
        height: 460px !important;
    }

    .jamaro-report-intro {
        padding-left: 14px;
    }

    .jamaro-report-form {
        padding: 18px 14px !important;
    }

    .jamaro-report-form .form-group {
        margin-bottom: 19px;
    }

    .jamaro-report-form .form-control,
    .jamaro-report-form select,
    .jamaro-report-form textarea {
        font-size: 16px !important;
        width: 100%;
    }

    .jamaro-evidence-group,
    .jamaro-privacy-consent {
        padding: 15px !important;
    }

    .jamaro-privacy-consent .custom-control-label {
        font-size: 14px;
        line-height: 1.55;
    }

    .jamaro-report-submit {
        min-height: 50px;
        width: 100%;
    }

    .footer {
        padding-top: 44px !important;
    }

    .footer .row > [class*="col-"] {
        margin-bottom: 24px;
    }
}

@media (max-width: 430px) {
    .navbar .logo a img {
        max-height: 53px;
        max-width: 150px;
    }

    .side-widget {
        width: 92vw !important;
    }

    .page-header {
        height: 260px !important;
        min-height: 260px;
    }

    .page-header .container h1,
    .page-header h1 {
        font-size: 32px !important;
    }

    .slider,
    .slider .main-slider {
        min-height: 390px;
    }

    .jamaro-document-actions {
        grid-template-columns: 1fr !important;
    }

    .jamaro-pdf-viewer {
        height: 400px !important;
    }
}

/* ==========================================================
   Unificación visual del formulario de denuncias con Contacto
   ========================================================== */
.jamaro-report-form {
    background: #fff;
    border: 0;
    box-shadow: 0 10px 28px rgba(15, 45, 90, 0.10);
    padding: 38px 30px 30px;
    position: relative;
}

/* Franja corporativa que identifica todos los formularios. */
.jamaro-report-form::before {
    background: #266de0;
    content: "";
    height: 5px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.jamaro-report-form .form-group {
    margin-bottom: 22px;
}

.jamaro-report-form label {
    color: #343a40;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
}

/* Mismo acabado del formulario de contacto: fondo claro, sombra y franja azul inferior. */
.jamaro-report-form .form-control {
    background-color: rgba(255, 255, 255, 0.78);
    border: 0;
    border-bottom: 3px solid #266de0;
    border-radius: 2px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.10);
    color: #333;
    font-family: inherit;
    font-size: 15px;
    min-height: 50px;
    padding: 13px 16px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

/* Inputs y selectores con exactamente la misma altura visual. */
.jamaro-report-form input.form-control,
.jamaro-report-form select.form-control {
    box-sizing: border-box;
    height: 62px;
    min-height: 62px;
    width: 100%;
}

.jamaro-report-form select.form-control {
    cursor: pointer;
    line-height: 1.5;
    padding: 13px 36px 13px 16px;
}

.jamaro-report-form textarea.form-control {
    min-height: 170px;
    padding-top: 15px;
}

.jamaro-report-form .form-control:focus {
    background-color: #fff;
    border-bottom-color: #0c5adb;
    box-shadow: 0 10px 20px rgba(12, 90, 219, 0.16);
    outline: 0;
}

.jamaro-report-form .form-control.is-invalid {
    border-bottom-color: #b00020;
}

.jamaro-evidence-group,
.jamaro-privacy-consent {
    background: #fff;
    border: 1px solid #dce3ed;
    border-left: 4px solid #266de0;
    box-shadow: 0 8px 18px rgba(15, 45, 90, 0.06);
}

.jamaro-evidence-group {
    padding: 18px 20px;
}

.jamaro-privacy-consent {
    margin-top: 10px;
    padding: 18px 20px;
}

.jamaro-file-input {
    background: transparent;
    border: 0;
    border-bottom: 3px solid #266de0;
    border-radius: 2px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    min-height: 50px;
    padding: 10px 12px;
}

.jamaro-report-actions {
    margin-top: 24px;
}

/* Reutiliza la apariencia del botón de Contacto y conserva el estado deshabilitado. */
.jamaro-report-submit {
    border-radius: 100px;
    min-height: auto;
    min-width: 210px;
}

.jamaro-report-submit:disabled,
.jamaro-report-submit:disabled:hover,
.jamaro-report-submit:disabled:focus {
    background: #8d99aa;
    border-color: #8d99aa;
    box-shadow: none;
    cursor: not-allowed;
    opacity: .72;
    transform: none;
}

@media (max-width: 767px) {
    .jamaro-report-form {
        box-shadow: 0 8px 20px rgba(15, 45, 90, 0.10);
        padding: 28px 16px 20px !important;
    }

    .jamaro-report-form .form-control {
        font-size: 16px !important;
        min-height: 52px;
        padding: 13px 14px;
    }

    .jamaro-evidence-group,
    .jamaro-privacy-consent {
        border-left-width: 4px;
        padding: 15px !important;
    }

    .jamaro-report-submit {
        border-radius: 100px;
        font-size: 16px !important;
        min-height: 52px;
        padding: 13px 24px !important;
        width: 100%;
    }
}

/* ==========================================================
   Documentos legales en HTML - versión continua y sencilla
   ========================================================== */
.jamaro-document-notice {
    background: #eef5ff;
    border-left: 4px solid #0c5adb;
    color: #34445a;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 28px;
    padding: 13px 16px;
}

.jamaro-policy-document--html {
    background: #fff;
    border: 1px solid #e1e6ed;
    border-top: 4px solid #0c5adb;
    color: #303846;
    padding: 34px 38px;
}

.jamaro-legal-document--continuous {
    margin: 0 auto;
    max-width: 1120px;
    width: 100%;
}

.jamaro-legal-section {
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    scroll-margin-top: 105px;
}

.jamaro-legal-section + .jamaro-legal-section {
    margin-top: 34px;
}

.jamaro-legal-section-title {
    border-bottom: 2px solid #0c5adb;
    color: #1f2d40;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 18px;
    padding: 0 0 9px;
}

.jamaro-legal-section-body {
    overflow-wrap: anywhere;
    padding: 0;
}

.jamaro-legal-section-body p {
    color: #3d4756;
    font-size: 15px;
    line-height: 1.82;
    margin: 0 0 16px;
    text-align: justify;
}

.jamaro-legal-section-body h4 {
    color: #1d385d;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    margin: 25px 0 10px;
}

.jamaro-legal-section-body h4:first-child {
    margin-top: 0;
}

.jamaro-legal-section-body ul,
.jamaro-legal-section-body ol {
    color: #3d4756;
    margin: 0 0 18px;
    padding-left: 25px;
}

.jamaro-legal-section-body li {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 8px;
}

.jamaro-legal-section-body li::marker {
    color: #0c5adb;
}

@media (max-width: 767px) {
    .jamaro-document-notice {
        font-size: 13px;
        margin-bottom: 18px;
        padding: 12px 13px;
    }

    .jamaro-policy-document--html {
        border-left: 0;
        border-right: 0;
        padding: 24px 16px;
    }

    .jamaro-legal-section + .jamaro-legal-section {
        margin-top: 28px;
    }

    .jamaro-legal-section-title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .jamaro-legal-section-body p,
    .jamaro-legal-section-body li {
        font-size: 14px;
        line-height: 1.72;
        text-align: left;
    }

    .jamaro-legal-section-body h4 {
        font-size: 15px;
        margin-top: 21px;
    }
}

/* ==========================================================
   Corrección final: flujo continuo de textos legales
   La plantilla original aplica float:left a todos los <li>.
   Este bloque limita y neutraliza esa regla dentro de Línea de Ética.
   ========================================================== */
.jamaro-policy-document--html,
.jamaro-policy-document--html .jamaro-legal-document--continuous,
.jamaro-policy-document--html .jamaro-legal-section,
.jamaro-policy-document--html .jamaro-legal-section-body {
    box-sizing: border-box;
    clear: both !important;
    column-count: 1 !important;
    column-gap: 0 !important;
    columns: auto !important;
    display: block !important;
    float: none !important;
    max-width: 100% !important;
    width: 100% !important;
}

.jamaro-policy-document--html .jamaro-legal-section-title,
.jamaro-policy-document--html .jamaro-legal-section-body p,
.jamaro-policy-document--html .jamaro-legal-section-body h4,
.jamaro-policy-document--html .jamaro-legal-section-body ul,
.jamaro-policy-document--html .jamaro-legal-section-body ol,
.jamaro-policy-document--html .jamaro-legal-section-body li {
    clear: both !important;
    float: none !important;
    max-width: 100% !important;
    position: static !important;
    white-space: normal !important;
    width: auto !important;
}

.jamaro-policy-document--html .jamaro-legal-section-body ul {
    display: block !important;
    list-style: disc outside !important;
    margin: 0 0 18px !important;
    padding-left: 25px !important;
}

.jamaro-policy-document--html .jamaro-legal-section-body ol {
    display: block !important;
    list-style: decimal outside !important;
    margin: 0 0 18px !important;
    padding-left: 25px !important;
}

.jamaro-policy-document--html .jamaro-legal-section-body li {
    cursor: default !important;
    display: list-item !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    text-decoration: none !important;
    transition: none !important;
}

/* Evita que la regla global de submenús oculte listas anidadas del documento. */
.jamaro-policy-document--html .jamaro-legal-section-body ul ul,
.jamaro-policy-document--html .jamaro-legal-section-body ul ol,
.jamaro-policy-document--html .jamaro-legal-section-body ol ul,
.jamaro-policy-document--html .jamaro-legal-section-body ol ol {
    display: block !important;
    left: auto !important;
    margin: 8px 0 8px 20px !important;
    min-width: 0 !important;
    opacity: 1 !important;
    position: static !important;
    visibility: visible !important;
}

.jamaro-policy-document--html .jamaro-legal-section-body ul ul {
    list-style-type: circle !important;
}

.jamaro-policy-document--html .jamaro-legal-section-body p:last-child,
.jamaro-policy-document--html .jamaro-legal-section-body ul:last-child,
.jamaro-policy-document--html .jamaro-legal-section-body ol:last-child {
    margin-bottom: 0 !important;
}


/* ==========================================================
   Checkbox de aceptación de privacidad
   Restablece el control nativo porque style.css aplica
   appearance:none de forma global a todos los checkbox.
   ========================================================== */
.jamaro-privacy-consent .jamaro-consent-row {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    width: 100%;
}

.jamaro-privacy-consent .jamaro-consent-checkbox,
.jamaro-privacy-consent .jamaro-consent-checkbox:checked,
.jamaro-privacy-consent .jamaro-consent-checkbox:focus {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    display: inline-block !important;
    flex: 0 0 20px;
    height: 20px !important;
    margin: 3px 0 0 !important;
    min-height: 20px !important;
    opacity: 1 !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
    width: 20px !important;
    accent-color: #0c5adb;
}

.jamaro-privacy-consent .jamaro-consent-label {
    color: #343a40;
    cursor: pointer;
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    margin: 0;
}

.jamaro-privacy-consent .jamaro-consent-checkbox:focus-visible {
    outline: 3px solid rgba(12, 90, 219, 0.25) !important;
    outline-offset: 2px;
}

.jamaro-privacy-consent .jamaro-consent-checkbox.is-invalid {
    outline: 2px solid #b00020 !important;
    outline-offset: 2px;
}

@media (max-width: 575px) {
    .jamaro-privacy-consent .jamaro-consent-row {
        gap: 10px;
    }

    .jamaro-privacy-consent .jamaro-consent-label {
        font-size: 14px;
        line-height: 1.55;
    }
}

/* Corrección revisión SARLAFT: contenido continuo, tablas y enlaces PDF */
.jamaro-policy-document .jamaro-legal-document {
    width: 100%;
    max-width: 100%;
}
.jamaro-policy-document .jamaro-legal-section {
    display: block;
    width: 100%;
    clear: both;
    margin-bottom: 24px;
}
.jamaro-policy-document .jamaro-legal-section-title {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding: 0 0 8px;
    border-bottom: 1px solid #047ac4;
    line-height: 1.35;
    white-space: normal;
    word-break: normal;
}
.jamaro-policy-document .jamaro-legal-section-body {
    display: block;
    width: 100%;
    clear: both;
}
.jamaro-policy-document .jamaro-legal-section-body p,
.jamaro-policy-document .jamaro-legal-section-body li {
    font-size: 15px;
    line-height: 1.75;
    color: #1f2a44;
    text-align: left;
}
.jamaro-policy-document .jamaro-legal-section-body ul {
    display: block;
    margin: 0 0 16px 22px;
    padding: 0;
    list-style: disc;
}
.jamaro-policy-document .jamaro-legal-section-body li {
    display: list-item;
    float: none !important;
    clear: both;
    width: auto;
    margin-bottom: 8px;
}
.jamaro-document-table-wrap {
    margin: 16px 0 22px;
}
.jamaro-document-table th,
.jamaro-document-table td {
    font-size: 14px;
    vertical-align: top;
}

/* Corrección punto 19 - anexos SARLAFT */
.jamaro-annex-figure {
    margin-top: 1rem;
    text-align: center;
}

.jamaro-annex-image {
    width: 100%;
    max-width: 820px;
    height: auto;
    border: 1px solid #d9dfe8;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

/* Anexo II en tablas sin firmas */
.jamaro-annex-table--ii td,
.jamaro-annex-table--ii th,
.jamaro-annex-meta-table td,
.jamaro-annex-meta-table th,
.jamaro-annex-changes-table td,
.jamaro-annex-changes-table th {
    text-align: center;
    vertical-align: middle;
}

.jamaro-annex-table--ii tbody td:first-child,
.jamaro-annex-changes-table tbody td:first-child {
    text-align: left;
}

.jamaro-annex-table--ii tbody tr:first-child td {
    height: 96px;
}

.jamaro-annex-meta-table td,
.jamaro-annex-changes-table td,
.jamaro-annex-changes-table th {
    font-size: 0.96rem;
}
