.page {
    width: 100%;            /* La página ocupa el 100% del ancho disponible */
    max-width: 1200px;       /* El ancho máximo de la página */
    margin: 0 auto;          /* Centrar la página horizontalmente */
    padding: 10px;           /* Espacio interno */
    background-color: #fff;  /* Color de fondo blanco */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra suave para dar relieve */
}
 
/* Estilos básicos para la sección */
.legal-section {
    position: relative; /* Necesario para que el ::before esté posicionado correctamente */
    max-width: auto;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    height: auto;
    margin: 0;
    z-index: 1; /* Asegura que el texto esté sobre el pseudo-elemento */
}

h4 {
    text-align:center;
    font-weight: bold;
}

.title_doc {
    text-align:justify;
    margin-left:100px;
    margin-right:100px;
}

.legal-section::before {
    content: ""; /* Necesario para generar el pseudo-elemento */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/Backgroud.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4; /* Ajusta el nivel de opacidad deseado */
    z-index: -1; /* Envía el pseudo-elemento detrás del contenido */
    pointer-events: none; /* Asegura que no interfiera con la interacción del usuario */
}

.legal-title {
    color: black;
    margin-bottom: 10px;
    text-align: center;
}

.highlight {
    color: red; /* rojo*/
}

.legal-description {
    font-size: 16px;
    line-height: 1.5;
    color: #0b141a;
    max-width: 850px;
    margin: 0 auto;
    text-align:center;
}

.legal-title:after {
    content: "";
    display: block;
    width: 80%;
    height: 8px;
    background-color: red;
    margin: 10px auto;
    border-radius:10px;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.icon-link {
    text-decoration: none;
    text-align: center;
    color: #0077A7;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.icon-circle {
    background: linear-gradient(to top, black, #e6eaf0);
    color: white;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.7);
}

.icon-leg:before, .icon-doc:before, .icon-privacy:before, .icon-tag:before, .icon-sale:before {
    content: "";
    display: inline-block;
    width: 150px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-leg:before {
    background-image: url('images/icono-terminos y condiciones.png');
}

.icon-doc:before {
    background-image: url('images/icono-terminos y condiciones.png');
}

.icon-privacy:before {
    background-image: url('images/A3.png');
}

.icon-tag:before {
    background-image: url('images/terminos-ofertas.png');
    margin-left:8%;
	
}

.icon-sale:before {
    background-image: url('images/sales.png');
	
	
}
.tabla {
      font-family: Arial, sans-serif;
      padding: 20px;
	  color:#3c3c3c;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px 0;
	  color:#3c3c3c;
    }

    th, td {
      border: 1px solid #ccc;
      padding: 12px;
      text-align: left;
      vertical-align: top;
    }

    th {
      background-color: #0A3D62;
      color: #fff;
    }

    .tabla ul {
      margin: 0;
      padding-left: 20px;
	  color:#3c3c3c;
	  
    }

    @media (max-width: 768px) {
      table, thead, tbody, th, td, tr {
        display: block;
      }

      thead tr {
        display: none;
      }

      tr {
        margin-bottom: 15px;
        border: 1px solid #ccc;
        padding: 10px;
      }

      td {
        border: none;
        padding: 10px;
        position: relative;
      }

      td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
        color: #0A3D62;
      }
    }






/* Estilos responsivos */
@media (max-width: 1024px) {
    .title_doc {
        margin-left: 50px;
        margin-right: 50px;
    }

    .legal-description {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .title_doc {
        margin-left: 20px;
        margin-right: 20px;
    }

    .legal-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .icon-circle {
        width: 100px;
        height: 100px;
    }

    .icon-leg:before, .icon-doc:before, .icon-privacy:before, .icon-tag:before {
        width: 100px;
        height: 100px;
    }

    .legal-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .title_doc {
        margin-left: 10px;
        margin-right: 10px;
    }

    .legal-title {
        font-size: 18px;
    }

    .legal-description {
        font-size: 12px;
    }


    .icon-circle {
        width: 80px;
        height: 80px;
    }

    .icon-leg:before, .icon-doc:before, .icon-privacy:before, .icon-tag:before {
        width: 80px;
        height: 80px;
    }
}
