/* =========================================================
   FEDEPAPA
   TÉRMINOS, CONDICIONES Y EXONERACIÓN DE RESPONSABILIDAD
   SISTEMA VISUAL UNIFICADO
   ========================================================= */


/* =========================================================
   CONFIGURACIÓN GENERAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;

    width: 100%;
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #24415f;

    font-size: 13px;
    line-height: 1.75;

    overflow-x: hidden;
}


/* =========================================================
   DOCUMENTO
   ========================================================= */

.documento {
    width: 100%;
    min-height: 100vh;

    background: #ffffff;
}


/* =========================================================
   ENCABEZADO
   Mismo estilo visual del documento
   "Compromisos Legales y Declaraciones"
   ========================================================= */

.documento-header {
    width: 100%;
    min-height: 66px;

    display: flex;
    align-items: center;

    padding: 0 22px;

    background: #287bc1;

    color: #ffffff;
}

.documento-header h1 {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    color: #ffffff;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.25;
}


/* =========================================================
   CONTENIDO PRINCIPAL
   ========================================================= */

.documento-contenido {
    width: min(1000px, calc(100% - 44px));

    margin: 0 auto;

    padding: 34px 22px 30px;

    background: #ffffff;

    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* =========================================================
   SECCIONES PRINCIPALES
   ========================================================= */

.seccion {
    margin: 0 0 22px;

    padding: 0 0 22px;

    border-bottom: 1px solid #eeeeee;
}

.seccion:last-of-type {
    border-bottom: none;
}


/* =========================================================
   TÍTULOS PRINCIPALES
   ========================================================= */

.seccion > h2 {
    margin: 0 0 12px;

    color: #1268b3;

    font-size: 18px;
    font-weight: 500;

    line-height: 1.4;
}


/* =========================================================
   SUBSECCIONES
   ========================================================= */

.subseccion {
    margin: 0 0 20px;

    overflow-wrap: break-word;
    word-wrap: break-word;
}

.subseccion:last-child {
    margin-bottom: 0;
}


/* =========================================================
   TÍTULOS INTERNOS
   ========================================================= */

.subseccion > h3,
.clausula h4 {
    margin: 0 0 10px;

    color: #24415f;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.5;
}

.subseccion h4 {
    margin-top: 16px;
    margin-bottom: 6px;

    color: #24415f;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.5;
}


/* =========================================================
   PÁRRAFOS
   ========================================================= */

.documento-contenido p {
    margin: 0 0 13px;

    color: #24415f;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;

    line-height: 1.75;

    /* Justificación del texto */
    text-align: justify;
    text-justify: inter-word;

    overflow-wrap: break-word;
    word-wrap: break-word;
}

.documento-contenido p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   TEXTO EN NEGRITA
   ========================================================= */

.documento-contenido strong {
    color: #24415f;

    font-weight: 700;
}


/* =========================================================
   CLÁUSULAS
   ========================================================= */

.clausula {
    margin: 0 0 20px;

    overflow-wrap: break-word;
    word-wrap: break-word;
}

.clausula:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LISTAS
   ========================================================= */

.documento-contenido ul,
.documento-contenido ol {
    margin: 10px 0 15px;

    padding-left: 28px;

    color: #24415f;

    font-size: 13px;

    line-height: 1.7;
}

.documento-contenido li {
    margin-bottom: 4px;

    padding-left: 2px;

    /* Justificación de los elementos */
    text-align: justify;
    text-justify: inter-word;

    overflow-wrap: break-word;
    word-wrap: break-word;
}

.documento-contenido li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LISTA CON GUIÓN
   ========================================================= */

.lista-guion {
    list-style: none;

    padding-left: 0 !important;
}

.lista-guion li {
    position: relative;

    padding-left: 16px;
}

.lista-guion li::before {
    content: "-";

    position: absolute;

    left: 0;
    top: 0;

    color: #24415f;
}


/* =========================================================
   LISTA NUMERADA
   ========================================================= */

.lista-numerada {
    padding-left: 25px !important;

    list-style-position: outside;
}

.lista-numerada li {
    padding-left: 3px;
}


/* =========================================================
   ENLACES
   ========================================================= */

.documento-contenido a {
    color: #1268b3;

    text-decoration: none;

    overflow-wrap: break-word;
    word-wrap: break-word;
}

.documento-contenido a:hover {
    text-decoration: underline;
}


/* =========================================================
   ACEPTACIÓN
   ========================================================= */

.aceptacion {
    margin-top: 24px;

    padding-top: 18px;

    border-top: 1px solid #eeeeee;
}

.aceptacion label {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    cursor: pointer;

    color: #24415f;

    font-size: 13px;

    line-height: 1.6;
}

.aceptacion input[type="checkbox"] {
    width: 17px;
    height: 17px;

    flex: 0 0 auto;

    margin: 2px 0 0;

    accent-color: #287bc1;

    cursor: pointer;
}


/* =========================================================
   PIE DE PÁGINA
   ========================================================= */

.documento-footer {
    padding: 20px;

    text-align: center;

    color: #718096;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .documento-header {
        min-height: 60px;

        padding: 0 18px;
    }

    .documento-header h1 {
        font-size: 16px;
    }

    .documento-contenido {
        width: 100%;

        padding: 28px 22px 24px;
    }

    .seccion > h2 {
        font-size: 17px;
    }

    .subseccion > h3,
    .subseccion h4,
    .clausula h4 {
        font-size: 13px;
    }

    .documento-contenido p,
    .documento-contenido ul,
    .documento-contenido ol {
        font-size: 13px;
    }

}


/* =========================================================
   IMPRESIÓN
   ========================================================= */

@media print {

    html,
    body {
        background: #ffffff;
    }

    .documento-header {
        box-shadow: none;
    }

    .documento-contenido {
        width: 100%;

        margin: 0;

        padding: 20px;
    }

    .documento-footer {
        display: none;
    }

    .aceptacion {
        break-inside: avoid;
    }

}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    .documento {
        width: 100%;
    }


    /* -----------------------------------------------------
       ENCABEZADO
       ----------------------------------------------------- */

    .documento-header {
        width: 100%;
        min-height: 60px;

        padding: 0 16px;
    }

    .documento-header h1 {
        width: 100%;

        font-size: 16px;
        line-height: 1.3;
    }


    /* -----------------------------------------------------
       CONTENIDO
       ----------------------------------------------------- */

    .documento-contenido {
        width: 100%;

        margin: 0;

        padding: 26px 16px 24px;

        overflow-x: hidden;
    }


    /* -----------------------------------------------------
       SECCIONES
       ----------------------------------------------------- */

    .seccion {
        width: 100%;

        margin-bottom: 20px;
        padding-bottom: 20px;
    }


    /* -----------------------------------------------------
       TÍTULOS
       ----------------------------------------------------- */

    .seccion > h2 {
        font-size: 17px;

        line-height: 1.4;

        margin-bottom: 12px;
    }

    .subseccion > h3 {
        font-size: 13px;

        line-height: 1.5;
    }

    .subseccion h4,
    .clausula h4 {
        font-size: 13px;

        line-height: 1.5;
    }


    /* -----------------------------------------------------
       PÁRRAFOS
       ----------------------------------------------------- */

    .documento-contenido p {
        width: 100%;

        font-size: 13px;

        line-height: 1.7;

        text-align: justify;
        text-justify: inter-word;

        overflow-wrap: break-word;
        word-wrap: break-word;
    }


    /* -----------------------------------------------------
       LISTAS
       ----------------------------------------------------- */

    .documento-contenido ul,
    .documento-contenido ol {
        width: 100%;

        padding-left: 24px;

        font-size: 13px;

        line-height: 1.65;
    }

    .documento-contenido li {
        padding-left: 2px;

        text-align: justify;

        overflow-wrap: break-word;
        word-wrap: break-word;
    }


    /* -----------------------------------------------------
       ACEPTACIÓN
       ----------------------------------------------------- */

    .aceptacion {
        width: 100%;

        margin-top: 22px;

        padding-top: 16px;
    }

    .aceptacion label {
        font-size: 13px;
    }

    .aceptacion input[type="checkbox"] {
        width: 17px;
        height: 17px;
    }


    /* -----------------------------------------------------
       PIE
       ----------------------------------------------------- */

    .documento-footer {
        padding: 18px 16px;

        font-size: 11px;
    }
}