/* =========================
   Estilos generales
   ========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: #fff;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

ul li a {
  color: #9c223c;
  list-style: none;
  text-decoration: none;
}

h1 {
  font-size: 55px;
  color: white;
  letter-spacing: 2.5px;
  transform: scaleX(1.15);
  display: inline-block;
  transition: transform 0.3s ease;
}

h2, h4 {
  color: #9c223c;
}

/* Párrafos globales (sin forzar ancho ni inline-block) */
p {
  color: #000;
  line-height: 1.6;
}

/* =========================
   Header
   ========================= */
header {
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 35px rgba(0, 0.5, 0.5, 0.18);
}

.toogle {
  color: black; /* (Si no se usa, puedes eliminar esta clase) */
}

#header-top {
  background-image: url('../images/CINTILLO-PRINCIPAL.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 10px;
  color: white;
  box-shadow: 0 25px 55px rgba(0, 0.5, 0.9, 0.45);
  position: relative;
}

#header-bottom {
  background: #9c223c;
  padding: 20px 0;
  box-shadow: 30px -5px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

#header-bottom ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  height: 50px;
  align-items: center;
}

#header-bottom ul li {
  margin: 0 15px;
}

#header-bottom ul li a {
  text-decoration: none;
  color: white;
}

#header-bottom ul li a:hover {
  color: white;
  font-weight: bold;
}

a img:hover {
  transform: scale(1.025);
  transition: transform 0.3s ease;
  -webkit-filter: opacity(.6);
  filter: opacity(.6);
}

/* =========================
   Main / Sections
   ========================= */
main {
  background-image: url('../images/BACKGROUND.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #000;
}

section {
  width: 100%;
  padding-bottom: 0;
  align-content: center;
  text-align: center;
  margin-bottom: 80px;
}

.nav2 {
  background-color: darkred;
}

/* =========================
   Grid de portada
   ========================= */
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.top-text { margin-top: 50px; grid-column: 1 / 2; grid-row: 1 / 2; }
.top-image { margin-top: 90px; grid-column: 2 / 3; grid-row: 1 / 2; }
.bottom-image { margin-top: 70px; margin-left: -400px; grid-column: 1 / 2; grid-row: 2 / 3; }
.bottom-text { margin-top: 60px; grid-column: 2 / 3; grid-row: 2 / 3; }

.grid-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.inicio h2 { color: #9c223c; }

/* =========================
   Subfooter (info)
   ========================= */
.info-contenedor {
  display: flex;
  background-color: #d3d3d3;
  max-width: 1200px;
  margin: 0 auto;
}

.info-section {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-section h4 { color: #9c223c; }

/* =========================
   Tarjetas (mosaico)
   ========================= */
.tarjeta-contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 65px;
  max-width: 1400px;
  margin: 0 auto;
}

.tarjeta {
  width: 360px;
  height: 390px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s ease-in-out;
  overflow: hidden;
  flex-direction: column;
  backdrop-filter: blur(5px);
}

.dorso {
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 10px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.frente,
.frente2 {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  text-align: justify;
}

.frente {
  font-size: 24px;
  font-weight: bold;
  color: #9c223c;
}

.frente2 a {
  z-index: 1;
  font-size: 16px;
  font-weight: bold;
  color: #9c223c;
}

.tarjeta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}

.tarjeta:hover .frente { opacity: 0; }
.tarjeta:hover .dorso { opacity: .6; }

.dorso h3 { margin-bottom: 15px; }
.dorso ul { list-style: none; padding: 0; margin: 0; }
.dorso ul li { margin: 10px 0; }
.dorso a { color: #fff; font-size: 15px; list-style: none; }
.ul a { font-size: 14.5px; }
.dorso ul li a:hover { font-weight: bold; }

.svg { width: 115%; opacity: 0.075; }
.svg2 { width: 75%; opacity: 0.1; }

/* =========================
   DOCUMENTOS (cards/lista)
   ========================= */
.documentos {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.documentos h2,
.documentos h3 {
  text-align: left;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.documentos p,
.documentos li {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.65;
}

.documentos ul {
  margin-left: 1.5rem;
  padding-left: 0.5rem;
}

.documentos .accordion {
  max-width: 100%;
  padding: 0;
  margin-top: 1.25rem;
}

.documentos-contenedor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.document-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.document-card h3 {
  color: #9c223c;
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: 600;
}

.document-card p {
  color: #333;
  font-size: 0.9em;
  margin-bottom: 15px;
  line-height: 1.5;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background-color: #9c223c;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.download-btn i { margin-left: 5px; }

.download-btn:hover {
  background-color: #7a1b31;
  transform: translateY(-2px);
}

.document-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* =========================
   Archivo / Historial (archive)
   ========================= */
.archive-section {
  margin-top: 50px;
  padding: 0 20px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.archive-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.archive-card h3 {
  color: #9c223c;
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: 600;
}

.archive-card a {
  display: inline-flex;
  align-items: center;
  background-color: #9c223c;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: auto;
}

.archive-card a i { margin-left: 5px; }

.archive-card a:hover {
  background-color: #7a1b31;
  transform: translateY(-2px);
}

.archive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* =========================
   Paginación (archive)
   ========================= */
.archive-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  gap: 15px;
}

.archive-pagination button {
  background-color: #9c223c;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.archive-pagination button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.archive-pagination button:hover:not(:disabled) {
  background-color: #7a1b31;
  transform: translateY(-2px);
}

.archive-pagination button i {
  font-size: 0.9em;
}

.archive-pagination span {
  font-size: 1em;
  color: #333;
}

/* =========================
   Footer
   ========================= */
footer {
  color: #fff;
  text-align: center;
  gap: 30px;
  position: relative;
  width: 100%;
  bottom: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

footer p {
  font-size: 16px;
  color: white;
  align-items: center;
}

#footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #d3d3d3;
  padding: 30px 20px;
  flex-wrap: wrap;
  box-shadow: 0 -0.5px 8px rgba(50, 5, 5, 0.9);
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  font-size: 14px;
}

.footer-content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  min-height: 60px;
}

.footer-section,
.footer-section2,
.footer-section3,
.footer-section4,
.footer-section5 {
  flex: 1;
  padding: 0 10px;
  text-align: left;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.footer-title {
  color: #9c223c;
  font-size: 1.5em;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  margin: 0 100px;
}

.footer-section ul,
.footer-section2 ul,
.footer-section3 ul,
.footer-section5 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.footer-section ul li,
.footer-section2 ul li,
.footer-section3 ul li,
.footer-section5 ul li {
  color: #333;
  font-size: 1em;
  margin-bottom: 12px;
  position: relative;
  padding-left: 10px;
  line-height: 1.4;
}

.footer-section ul li::before,
.footer-section2 ul li::before,
.footer-section3 ul li::before,
.footer-section5 ul li::before {
  content: '•';
  position: absolute;
  left: -15px;
  color: #9c223c;
  font-size: 1.3em;
}

.footer-separator {
  width: 5px;
  background-color: #9c223c;
  margin: 0 30px;
  height: 120px;
  align-self: center;
}

/* =========================
   ✅ Footer bottom dividido en 2 bloques
   Requiere HTML con:
   <div class="footer-bottom-left">...</div>
   <div class="footer-bottom-right">...</div>
   ========================= */
#footer-bottom{
  height: auto;
  min-height: 90px;
  background-color: #9c223c;
  color: white;
  width: 100%;
  box-shadow: 0 -3px 8px rgba(50, 5, 5, 0.9);
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 mitades */
  align-items: center;

  padding: 10px 20px;
}

/* Bloque IZQUIERDO centrado dentro de su mitad */
.footer-bottom-left{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-bottom-left p{
  margin: 0;
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
}

/* Redes (única definición) */
.social-icons{
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.social-link{
  color: white;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.65s ease, transform 0.2s ease;
  text-decoration: none;
}

.social-link:hover{
  color: #ca9b5c;
  transform: translateY(-1px);
}

/* Bloque DERECHO centrado dentro de su mitad */
.footer-bottom-right{
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom-right ul{
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right; /* texto a la derecha */
}

.footer-bottom-right li{
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
}

/* =========================
   Formularios
   ========================= */
form {
  max-width: 650px;
  margin: 30px auto;
  padding: 20px;
  background-color: rgba(20, 0, 0, 0.25);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Montserrat', sans-serif;
}

form:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

form label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

form input,
form textarea,
form button {
  width: 90%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: #9c223c;
  box-shadow: 0 0 5px rgba(156, 34, 60, 0.5);
}

form textarea {
  resize: none;
  height: 100px;
}

form button {
  background-color: #9c223c;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

form button:hover {
  background-color: #7a1b31;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

form button:active { transform: scale(0.98); }

form .error {
  color: red;
  font-size: 14px;
  margin-top: -10px;
  margin-bottom: 10px;
}

/* =========================
   Descargas (tarjetas)
   ========================= */
.contenedor-descargas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
}

.tarjeta-descarga {
  width: 250px;
  height: 150px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tarjeta-descarga:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.tarjeta-descarga h3 { color: #9c223c; margin: 10px 0; }

.btn-descarga {
  text-decoration: none;
  background-color: #9c223c;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-descarga:hover { background-color: #7a1b31; }

/* =========================
   Modal simple
   ========================= */
#modalPassword {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  text-align: center;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

/* =========================
   Menú móvil
   ========================= */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
}

/* =========================
   Acordeón
   ========================= */
.accordion {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 15px;
  display: block;
}

.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.accordion-item:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }

.accordion-header {
  background-color: #f5f5f5;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.accordion-header:hover {
  background-color: #e8e8e8;
  transform: translateY(-1px);
}

.accordion-header i {
  font-size: 18px;
  color: #006837;
  transition: transform 0.3s ease;
}

.accordion-header i.fa-chevron-up { transform: rotate(180deg); }

.accordion-content {
  display: none;
  padding: 20px;
  background-color: #fafafa;
  border-top: 1px solid #e0e0e0;
  border-radius: 0 0 6px 6px;
}

.accordion-content.active {
  display: block;
  animation: slideDown 0.3s ease;
}

.accordion-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.accordion-content li { margin: 12px 0; }

.accordion-content a {
  color: #9c223c;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.accordion-content a:hover {
  color: #004d2a;
  text-decoration: underline;
}

.accordion-header i.rotated { transform: rotate(180deg); }

/* Subacordeón */
.subaccordion {
  list-style: none;
  margin-top: 10px;
  text-align: center;
}

.subaccordion-header {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  padding: 10px;
}

.subaccordion-header i { transition: transform 0.3s ease; }
.subaccordion.open .subaccordion-header i { transform: rotate(90deg); }

.subaccordion-content {
  display: none;
  text-align: center;
  margin-top: 10px;
  transition: all 0.3s ease-in-out;
}

.subaccordion.open .subaccordion-content {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 799px) {
  .accordion { max-width: 100%; padding: 0 10px; }
  .accordion-header { font-size: 16px; padding: 12px 15px; }
  .accordion-header i { font-size: 16px; }
  .accordion-content { padding: 15px; }
  .accordion-content a { font-size: 14px; }
}

/* Tablet */
@media (max-width: 1024px) {
  #header-bottom {
    background: #9c223c;
    padding: 20px 0;
    box-shadow: 20px -15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    height: 60px;
  }

  .tarjeta-contenedor { gap: 20px; }
  .tarjeta { width: 85%; height: 300px; }

  .grid-container { grid-template-columns: 1fr; }

  .top-text  { grid-column: 1 / 2; grid-row: 1 / 2; margin-top: 30px; }
  .top-image { grid-column: 1 / 2; grid-row: 2 / 3; margin-top: 30px; margin-left: 0; }
  .bottom-image { grid-column: 1 / 2; grid-row: 3 / 4; margin-top: 30px; margin-left: 0; }
  .bottom-text  { grid-column: 1 / 2; grid-row: 4 / 5; margin-top: 30px; }

  #header-bottom ul {
    display: none;
    flex-direction: column;
    background: #691d33;
    width: 100%;
    height: auto;
    padding: 10px 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  #header-bottom ul.active { display: flex; }

  #header-bottom ul li {
    margin: 5px 10px;
    width: 100%;
    text-align: left;
  }

  .menu-toggle { display: block; }

  #footer-top { padding: 20px 10px; }

  .footer-content-wrapper { flex-direction: row; gap: 15px; }

  .footer-section,
  .footer-section2,
  .footer-section3,
  .footer-section4,
  .footer-section5 {
    padding: 0 5px;
    min-width: 150px;
  }

  .footer-title {
    margin: 0 20px;
    font-size: 1.3em;
    text-align: right;
  }

  .footer-separator {
    margin: 0 15px;
    height: 60px;
  }
}

/* Móvil mediano */
@media (max-width: 768px) {
  .tarjeta-contenedor {
    gap: 15px;
    max-width: auto;
    margin: 0 auto;
  }

  .tarjeta {
    width: 85%;
    height: 200px;
    box-shadow: 0 2px 50px rgba(0, 0, 0, 0.3);
  }

  .tarjeta:hover { transform: translateY(-3px); }

  form { width: 90%; padding: 15px; }

  .menu-toggle { display: block; z-index: 1000; }

  #header-bottom { padding: 10px 10px; }

  #header-bottom ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #691d33;
    padding: 15px 0;
  }

  #header-bottom ul li { margin: 10px 20px; }
  #header-bottom ul.active { display: flex; }

  .footer-content-wrapper { flex-direction: column; align-items: center; }

  .footer-section,
  .footer-section2,
  .footer-section3,
  .footer-section4,
  .footer-section5 {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    min-width: 100%;
  }

  .footer-title { margin: 0; justify-content: center; }
  .footer-separator { display: none; }

  /* Footer-bottom apilado en móvil */
  #footer-bottom{
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom-left{
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .footer-bottom-right ul{
    text-align: center;
  }
}

/* Móvil chico */
@media (max-width: 600px) {
  .contenedor-descargas { flex-direction: column; align-items: center; }

  .grid-container { grid-template-columns: 1fr; }

  .top-text { grid-column: 1 / 2; grid-row: 1 / 2; margin-top: 20px; }
  .top-image { grid-column: 1 / 2; grid-row: 2 / 3; margin-top: 20px; margin-left: 0; }
  .bottom-image { grid-column: 1 / 2; grid-row: 3 / 4; margin-top: 20px; margin-left: 0; }
  .bottom-text { grid-column: 1 / 2; grid-row: 4 / 5; margin-top: 20px; }

  #footer-top { padding: 15px; }

  /* Documentos: uso de ancho completo y menos padding */
  .documentos {
    max-width: 100%;
    padding: 1.25rem 1rem;
  }
}

/* Muy pequeño */
@media (max-width: 480px) {
  h1 {
    font-size: 24px;
    color: white;
    letter-spacing: 2.5px;
    transform: scaleX(1.15);
    display: inline-block;
    transition: transform 0.3s ease;
  }

  #header-top { padding: 50px 10px; }

  #header-bottom {
    column-gap: 20px;
    padding: 5px;
  }

  .documentos-contenedor { padding: 10px; }

  .info-contenedor {
    max-width: 100%;
    padding: 10px;
  }

  .footer-section ul li,
  .footer-section2 ul li,
  .footer-section3 ul li,
  .footer-section5 ul li {
    padding-left: 0;
    text-align: center;
  }

  .footer-section ul li::before,
  .footer-section2 ul li::before,
  .footer-section3 ul li::before,
  .footer-section5 ul li::before {
    display: none;
  }

  #footer-bottom p { font-size: 14px; padding: 5px; }
}