:root {
  --color1: rgb(219, 144, .5);
  --color2: rgba(23, 180, 83, 0.877);
  --color3: rgba(11, 194, 211, 0.623);
  --azul: #242b57;
  --fondo: #fff;
  --titulos: 33px;
  --margenes: 60px;
  --espacios: 10px;
  --espacios-contenido: 45px;
  --color-principal: #5b9be6;
  --color-principal-hover: #4287d8;
  --color-fondo: #f4f8fd;
  --color-borde: #dbe7f3;
}

html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Preloader */
.hidden {
  overflow: hidden;
}

.centrado {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lds-dual-ring {
  display: inline-block;
  width: 80px;
  height: 80px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* CSS Nuevo Diseño */

.document-card {
  background: #fff;
  transition: all 0.2s ease;
}

.document-card:hover {
  background: #f2f6ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.year-header {
  background: var(--color-principal);
  color: white;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.document-card {
  background: white;
  border: 1px solid var(--color-borde);
  border-radius: 14px;
  padding: 16px;
  transition: all 0.2s ease;
}

.document-card:hover {
  background: var(--color-fondo);
  border-color: var(--color-principal);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(79, 143, 217, 0.15);
}

.document-card i {
  color: #d93025;
}

.document-card span {
  color: #2d3748;
  font-weight: 500;
}

.main-content {
  padding-top: 0px;
  padding-bottom: 60px;
}

.actas-accordion .accordion-button.year-header {
  background: linear-gradient(135deg, #5b9be6, #7db2ee);
  color: #fff;
  border-radius: 16px !important;
  padding: 18px 22px;
  box-shadow: none;
}

.actas-accordion .accordion-button.year-header:not(.collapsed) {
  color: #fff;
}

.actas-accordion .accordion-button.year-header::after {
  filter: brightness(0) invert(1);
}

.actas-accordion .accordion-item {
  overflow: hidden;
}

.actas-accordion .accordion-body {
  padding-top: 20px;
}

.actas-accordion,
.actas-accordion .accordion-item,
.actas-accordion .accordion-button {
  position: relative;
  z-index: 1;
}

/* Footer */

.footer-municipio {
  background: linear-gradient(135deg,
      #242b57,
      #33407a);
  color: white;
  margin-top: 80px;
}

.footer-card {
  height: 100%;
  text-align: center;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.footer-card-link {
  cursor: pointer;
  color: #ffffff !important;
}

.footer-card-link:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.15);
  color: #ffffff !important;
}

.footer-card-link .footer-card,
.footer-card-link .footer-card h5,
.footer-card-link .footer-card p,
.footer-card-link .footer-card i {
  color: white;
}

.footer-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-icon i {
  font-size: 24px;
}

.footer-card h5 {
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-card p,
.footer-card a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  margin: 0;
}

.footer-link:hover,
.footer-privacy:hover {
  color: white;
  text-decoration: underline;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 40px 0 24px;
}

.footer-privacy {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.footer-email {
  word-break: break-word;
}

/* Transparencia */
.section-label {
  display: inline-block;
  background: #f3f5fb;
  color: #242b57;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.transparency-card {
  display: block;
  height: 100%;
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  text-decoration: none;
  color: #1f2937;
  transition: all 0.2s ease;
}

.transparency-card:hover {
  transform: translateY(-5px);
  border-color: #242b57;
  box-shadow: 0 12px 28px rgba(36, 43, 87, 0.14);
  color: #1f2937;
}

.transparency-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f3f5fb;
  color: #242b57;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.transparency-icon i {
  font-size: 24px;
}

.transparency-card h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.transparency-card p {
  color: #6b7280;
  font-size: 15px;
  margin-bottom: 18px;
}

.transparency-card span {
  color: #242b57;
  font-weight: 600;
  font-size: 14px;
}

.transparency-card span i {
  margin-left: 6px;
}

/* Navbar */
#menuNav {
  background: #242b57 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  z-index: 1050;
  min-height: 150px;
  padding: 12px 0;
}

#menuNav .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  padding: 10px 13px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

#menuNav .nav-link:hover,
#menuNav .nav-link:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
}

#menuNav .dropdown-menu {
  border: 0;
  border-radius: 16px;
  padding: 10px;
  background: #ffffff !important;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18);
}

#menuNav .dropdown-item {
  color: #242b57 !important;
  font-weight: 500;
  border-radius: 10px;
  padding: 10px 14px;
  transition: all 0.2s ease;
}

#menuNav .dropdown-item:hover,
#menuNav .dropdown-item:focus {
  background: #242b57 !important;
  color: #ffffff !important;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
  flex-shrink: 0;
}

.logo img {
  height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
}

#menuNav .nav-transparencia {
  background: #ffffff;
  color: #242b57 !important;
  font-weight: 700;
}

#menuNav .nav-transparencia:hover {
  background: #eef2ff;
  color: #242b57 !important;
}

@media (max-width: 991px) {
  #menuNav {
    padding: 8px 0;
  }

  .logo img {
    max-height: 62px;
  }

  #menuNav .navbar-collapse {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    background: #242b57;
  }

}

@media (max-width: 425px) {
  .home-hero {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent;
  }

  .home-hero img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
  }

  .home-hero::after {
    display: none !important;
  }

  .home-hero-overlay {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    max-width: 100% !important;
    background: #242b57;
    padding: 20px 18px;
  }

  .home-hero-overlay h1 {
    font-size: 28px;
  }

}

#menuNav svg {
  fill: #ffffff;
  transition: all 0.2s ease;
}

#menuNav svg:hover {
  fill: #dbe4ff;
  transform: scale(1.08);
}

/* Index */
.home-hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  background: #242b57;
}

.home-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(36, 43, 87, 0.85),
      rgba(36, 43, 87, 0.25));
}

.home-hero-overlay {
  position: absolute;
  z-index: 1;
  left: 8%;
  bottom: 70px;
  color: #fff;
  max-width: 560px;
}

.home-hero-overlay span {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.home-hero-overlay h1 {
  font-size: 48px;
  font-weight: 800;
}

.section-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f3f5fb;
  color: #242b57;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-icon i {
  font-size: 24px;
}

.notice-card {
  display: block;
  height: 100%;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid #e7eaf3;
  text-decoration: none;
  color: #1f2937;
  transition: all 0.2s ease;
  background: #ffffff;
}

.notice-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 16px;
  background: #f8fafc;
  padding: 12px;
  margin-bottom: 16px;
}

.notice-card-body h5 {
  font-weight: 700;
}

.notice-card-body p {
  color: #6b7280;
  margin-bottom: 8px;
}

.notice-card-body span {
  color: #242b57;
  font-weight: 600;
}

@media (max-width: 576px) {
  .notice-card img {
    height: 180px;
  }
}

.notice-card:hover,
.interest-card:hover {
  transform: translateY(-4px);
  border-color: #242b57;
  box-shadow: 0 12px 28px rgba(36, 43, 87, 0.14);
  color: #1f2937;
}

.notice-card,
.interest-card {
  transition: all 0.2s ease;
}

.interest-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e7eaf3;
  background: #ffffff;
  transition: all 0.2s ease;
}

.interest-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* Contacto */
.contact-section {
  background: #ffffff;
}

.contact-info-card {
  background: linear-gradient(135deg, #242b57, #33407a);
  color: #ffffff;
  border-radius: 24px;
  padding: 28px;
}

.contact-info-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-header .section-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  flex-shrink: 0;
}

.contact-info-header p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-info-item>i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.contact-info-item h6 {
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.contact-email {
  word-break: break-word;
}

.contact-form {
  background: #f8fafc;
  border: 1px solid #e7eaf3;
  border-radius: 24px;
  padding: 28px;
}

.contact-form .form-label {
  font-weight: 600;
  color: #242b57;
}

.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #6b7280;
}

.input-icon .form-control {
  padding-left: 44px;
}

.contact-form .form-control {
  border-radius: 14px;
  border: 1px solid #d9deea;
  padding-top: 12px;
  padding-bottom: 12px;
}

.contact-form textarea.form-control {
  padding-left: 14px;
}

.contact-form .form-control:focus {
  border-color: #242b57;
  box-shadow: 0 0 0 0.2rem rgba(36, 43, 87, 0.14);
}

.btn-contact {
  background: #242b57;
  color: #ffffff;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 18px;
}

.btn-contact:hover {
  background: #33407a;
  color: #ffffff;
}

@media (max-width: 576px) {
  .contact-section {
    padding: 20px !important;
  }

  .contact-info-card,
  .contact-form {
    padding: 22px;
  }
}

/* Padrón contratistas, Documentos ayuntamiento */
.single-document-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid #e7eaf3;
  text-decoration: none;
  color: #1f2937;
  transition: all 0.2s ease;
}

.single-document-card:hover {
  transform: translateY(-4px);
  border-color: #242b57;
  box-shadow: 0 12px 28px rgba(36, 43, 87, 0.14);
  color: #1f2937;
}

.single-document-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: #fff0f0;
  color: #dc3545;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.single-document-icon i {
  font-size: 36px;
}

.single-document-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.single-document-content p {
  margin-bottom: 10px;
  color: #6b7280;
}

.single-document-content span {
  color: #242b57;
  font-weight: 700;
}

@media (max-width: 576px) {
  .single-document-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

/* Turismo */
.turismo-tabs {
  gap: 10px;
}

.turismo-tabs .nav-link {
  border-radius: 999px;
  padding: 12px 18px;
  color: #242b57;
  font-weight: 700;
  background: #f3f5fb;
}

.turismo-tabs .nav-link.active {
  background: #242b57;
  color: #ffffff;
}

.content-card,
.tour-card,
.hotel-card {
  border: 1px solid #e7eaf3;
  border-radius: 24px;
  background: #ffffff;
  padding: 24px;
}

.history-shield {
  max-width: 160px;
}

.turismo-accordion .accordion-button {
  color: #242b57;
  font-weight: 700;
  box-shadow: none;
}

.turismo-accordion .accordion-button:not(.collapsed) {
  background: #f3f5fb;
  color: #242b57;
}

.turismo-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
}

.tour-card {
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  transition: all 0.25s ease;
  background: #ffffff;
  border: 1px solid #e7eaf3;
}

.tour-card:hover,
.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(36, 43, 87, 0.14);
}

.tour-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tour-card:hover img {
  transform: scale(1.04);
}

.tour-card-body {
  padding: 24px;
  text-align: left;
}

.tour-card-body h3,
.hotel-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #242b57;
}

.tour-card-body p,
.hotel-card p {
  color: #6b7280;
  margin-bottom: 8px;
}

.hotel-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  transition: all 0.25s ease;
  height: 100%;
}

.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 28px rgba(36, 43, 87, 0.14);
}

.hotel-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.hotel-card:hover img {
  transform: scale(1.04);
}

.hotel-card-content {
  padding: 24px;
}

.hotel-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #242b57;
  margin-bottom: 14px;
}

.hotel-card p {
  color: #6b7280;
  margin-bottom: 10px;
}

@media (max-width: 576px) {
  .turismo-tabs .nav-link {
    width: 100%;
  }

  .hotel-card {
    flex-direction: column;
  }

  .hotel-card img {
    width: 100%;
    height: 190px;
  }
}

/* Ayuntamiento */
.president-card {
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border: 1px solid #e7eaf3;
  border-radius: 28px;
  padding: 32px;
}

.president-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 8px solid #ffffff;
  box-shadow:
    0 16px 36px rgba(36, 43, 87, 0.18);
}

.section-title {
  color: #242b57;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
}

.official-card {
  height: 100%;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  text-align: center;
  transition: all 0.2s ease;
}

.official-card:hover,
.official-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(36, 43, 87, 0.14);
  border-color: #242b57;
}

.official-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: #f3f5fb;
  color: #242b57;
  display: flex;
  align-items: center;
  justify-content: center;
}

.official-icon i {
  font-size: 24px;
}

.official-card h3,
.official-list-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 6px;
}

.official-card p,
.official-list-card p {
  color: #6b7280;
  margin: 0;
}

.official-list-card {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  transition: all 0.2s ease;
}

.official-list-card>i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #f3f5fb;
  color: #242b57;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Funciones de Área */
.funciones-accordion .accordion-button {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #242b57;
  font-weight: 800;
  background: #ffffff;
  box-shadow: none;
  padding: 20px;
}

.funciones-accordion .accordion-button:not(.collapsed) {
  background: #f3f5fb;
  color: #242b57;
}

.function-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #242b57;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.funciones-accordion .accordion-body {
  padding: 24px 28px;
  text-align: left;
  color: #4b5563;
  line-height: 1.8;
}

.function-list {
  padding-left: 20px;
  margin-bottom: 0;
}

.function-list li {
  margin-bottom: 10px;
}

@media (max-width: 576px) {
  .funciones-accordion .accordion-button {
    align-items: flex-start;
  }
}

/* Directorio */
.directory-card {
  height: 100%;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  transition: all 0.2s ease;
}

.directory-card:hover {
  transform: translateY(-4px);
  border-color: #242b57;
  box-shadow: 0 12px 28px rgba(36, 43, 87, 0.14);
}

.directory-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #f3f5fb;
  color: #242b57;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.directory-icon i {
  font-size: 24px;
}

.directory-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: #242b57;
  margin-bottom: 18px;
}

.directory-info p {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: #4b5563;
  font-size: 15px;
}

.directory-info i {
  color: #242b57;
  margin-top: 4px;
  flex-shrink: 0;
}

.directory-info a {
  color: #4b5563;
  text-decoration: none;
  word-break: break-word;
}

.directory-info a:hover {
  color: #242b57;
  text-decoration: underline;
}

/* Registro Regularización */
.document-category-accordion .accordion-button {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  color: #242b57;
  font-weight: 800;
  box-shadow: none;
  padding: 20px;
}

.document-category-accordion .accordion-button:not(.collapsed) {
  background: #f3f5fb;
  color: #242b57;
}

.document-category-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #242b57;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.document-category-accordion .accordion-body {
  padding: 24px;
}

/* Inspectores */
.inspector-card {
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border: 1px solid #e7eaf3;
  border-radius: 28px;
  padding: 34px;
}

.inspector-img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  border: 8px solid #ffffff;
  box-shadow:
    0 16px 36px rgba(36, 43, 87, 0.18);
}

.inspector-badge {
  display: inline-block;
  background: #242b57;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.inspector-name {
  font-size: 30px;
  font-weight: 800;
  color: #242b57;
  margin-bottom: 4px;
}

.inspector-position {
  font-size: 18px;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 24px;
}

.inspector-info {
  display: grid;
  gap: 14px;
}

.inspector-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  border-radius: 18px;
  padding: 16px;
}

.inspector-info-item i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f3f5fb;
  color: #242b57;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.inspector-info-item h6 {
  font-weight: 800;
  color: #242b57;
  margin-bottom: 4px;
}

.inspector-info-item p {
  margin: 0;
  color: #4b5563;
}

@media (max-width: 576px) {
  .inspector-card {
    padding: 24px;
  }

  .inspector-img {
    width: 210px;
    height: 210px;
  }

  .inspector-name {
    font-size: 24px;
    text-align: center;
  }

  .inspector-position {
    text-align: center;
  }

  .inspector-badge {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Jubilaciones */
.notice-document-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid #e7eaf3;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.notice-document-card:hover {
  transform: translateY(-4px);
  border-color: #242b57;
  box-shadow:
    0 12px 28px rgba(36, 43, 87, 0.14);
}

.notice-document-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #f3f5fb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notice-document-icon i {
  font-size: 30px;
}

.notice-document-icon .fa-file-pdf {
  color: #dc3545;
}

.notice-document-icon .fa-file-word {
  color: #2563eb;
}

.empty-state-card {
  text-align: center;
  padding: 50px 30px;
  border: 2px dashed #dbe2f1;
  border-radius: 24px;
  background: #fafbff;
}

.empty-state-card i {
  font-size: 54px;
  color: #242b57;
  margin-bottom: 18px;
}

.empty-state-card h4 {
  color: #242b57;
  font-weight: 700;
}

.empty-state-card p {
  color: #6b7280;
  margin-bottom: 0;
}

/* Gaceta */
.gaceta-list {
  display: grid;
  gap: 14px;
}

.gaceta-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid #e7eaf3;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.gaceta-item:hover {
  transform: translateY(-3px);
  border-color: #242b57;
  box-shadow: 0 12px 28px rgba(36, 43, 87, 0.14);
}

.gaceta-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #f3f5fb;
  color: #242b57;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gaceta-icon i {
  font-size: 24px;
}

.gaceta-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #242b57;
  margin-bottom: 6px;
}

.gaceta-content span {
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 576px) {
  .gaceta-item {
    align-items: flex-start;
  }
}

/* Informes gobierno */
.government-period-card {
  height: 100%;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  transition: all 0.2s ease;
}

.government-period-card:hover {
  transform: translateY(-4px);
  border-color: #242b57;
  box-shadow:
    0 12px 28px rgba(36, 43, 87, 0.14);
}

.government-period-header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.government-period-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #242b57;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.government-period-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #242b57;
  margin-bottom: 2px;
}

.government-period-header p {
  margin: 0;
  color: #6b7280;
}

.government-documents {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.government-document-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  text-decoration: none;
  color: #374151;
  transition: all 0.2s ease;
}

.government-document-link:hover {
  background: #eef2ff;
  color: #242b57;
}

/* Actas contratos */
.month-block {
  padding: 22px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid #e7eaf3;
}

.month-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #242b57;
}

.month-title i {
  font-size: 22px;
}

.month-title h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
}

.public-work-document {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.public-work-document:hover {
  transform: translateY(-3px);
  border-color: #242b57;
  box-shadow: 0 12px 28px rgba(36, 43, 87, 0.14);
}

.public-work-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: #fff0f0;
  color: #dc3545;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.public-work-icon i {
  font-size: 24px;
}

.public-work-content h4 {
  font-size: 16px;
  font-weight: 800;
  color: #242b57;
  margin-bottom: 6px;
}

.public-work-content p {
  color: #6b7280;
  margin: 0;
  font-size: 14px;
}

.public-work-content h4 {
  font-size: 16px;
  font-weight: 800;
  color: #242b57;
  margin-bottom: 6px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 576px) {
  .public-work-document {
    flex-direction: column;
  }
}

/* Ley contabilidad */
.document-category-accordion .accordion-button {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  color: #242b57;
  font-weight: 800;
  box-shadow: none;
  padding: 20px;
}

.document-category-accordion .accordion-button:not(.collapsed) {
  background: #f3f5fb;
  color: #242b57;
}

.document-category-accordion .accordion-item {
  border: 1px solid #e7eaf3 !important;
  border-radius: 22px !important;
  overflow: hidden;
  margin-bottom: 14px;
}

.document-category-accordion .accordion-body {
  padding: 22px;
  background: #f8fafc;
}

.document-category-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #242b57;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accounting-doc-grid {
  display: grid;
  gap: 12px;
}

.accounting-doc-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  overflow: hidden;
}

.accounting-doc-link:hover {
  transform: translateY(-3px);
  border-color: #242b57;
  box-shadow: 0 12px 28px rgba(36, 43, 87, 0.14);
}

.accounting-doc-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff0f0;
  color: #dc3545;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.accounting-doc-icon i {
  font-size: 22px;
}

.accounting-doc-icon-word {
  background: #eff6ff;
  color: #2563eb;
}

.accounting-doc-icon-excel {
  background: #ecfdf5;
  color: #16a34a;
}

.accounting-doc-content {
  min-width: 0;
}

.accounting-doc-content strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #242b57;
  margin-bottom: 4px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.accounting-doc-content small {
  color: #6b7280;
  font-weight: 600;
}

@media (max-width: 576px) {
  .accounting-doc-link {
    flex-direction: column;
  }

  .document-category-accordion .accordion-button {
    align-items: flex-start;
  }
}

/* Ley transparencia */
.back-button {
  color: #242b57;
  text-decoration: none;
}

.document-category-accordion .accordion-button {
  color: #242b57;
  font-weight: 800;
  box-shadow: none;
}

.document-category-accordion .accordion-button:not(.collapsed) {
  background: #f3f5fb;
  color: #242b57;
}

.document-category-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #242b57;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.transparency-nested-accordion .accordion-item {
  border: 1px solid #e7eaf3;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 12px;
}

.transparency-nested-accordion .accordion-button {
  color: #242b57;
  font-weight: 700;
  background: #ffffff;
  box-shadow: none;
}

.transparency-nested-accordion .accordion-button:not(.collapsed) {
  background: #eef2ff;
}

.transparency-article-note {
  background: #f8fafc;
  border: 1px solid #e7eaf3;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  color: #242b57;
}

.transparency-document-list {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.transparency-document-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #e7eaf3;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.transparency-document-link:hover {
  transform: translateY(-3px);
  border-color: #242b57;
  box-shadow: 0 12px 28px rgba(36, 43, 87, 0.14);
}

.transparency-file-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.transparency-file-icon.excel {
  background: #ecfdf5;
  color: #16a34a;
}

.transparency-file-icon.pdf {
  background: #fff0f0;
  color: #dc3545;
}

.transparency-file-icon.external {
  background: #eef2ff;
  color: #242b57;
}

.transparency-file-content {
  min-width: 0;
}

.transparency-file-content strong {
  display: block;
  color: #242b57;
  font-size: 15px;
  font-weight: 800;
  overflow-wrap: break-word;
  word-break: break-word;
}

.external-quarter-button::after {
  display: none;
}

.external-quarter-link {
  color: #242b57;
  text-decoration: none;
  font-weight: 800;
}

.external-quarter-link:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .transparency-document-link {
    flex-direction: column;
  }

  .document-category-accordion .accordion-button,
  .transparency-nested-accordion .accordion-button {
    align-items: flex-start;
  }
}

.transparency-document-list,
.transparency-document-list ul,
.transparency-document-list li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.transparency-nested-accordion ul,
.transparency-nested-accordion li {
  list-style: none !important;
}

/* Actas Cabildo */
.back-button {
  color: #242b57;
  text-decoration: none;
}

.back-button:hover {
  color: #1b2145;
}

.section-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef2ff;
  color: #242b57;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.actas-accordion .year-accordion-item {
  border: 1px solid #e7eaf3 !important;
  border-radius: 24px !important;
  overflow: hidden;
  margin-bottom: 18px;
  background: #ffffff !important;
}

.actas-accordion .year-button {
  background: #ffffff !important;
  color: #242b57 !important;
  font-weight: 800;
  box-shadow: none !important;
  padding: 22px;
}

.actas-accordion .year-button:not(.collapsed) {
  background: #f3f5fb !important;
}

.actas-accordion .year-button span {
  color: #242b57;
  font-weight: 800;
}

.trimester-card {
  border: 1px solid #e7eaf3;
  border-radius: 22px;
  background: #ffffff;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(36, 43, 87, 0.08);
}

.trimester-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #242b57;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

.document-card {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e7eaf3;
  transition: all 0.2s ease;
}

.document-card:hover {
  transform: translateY(-3px);
  border-color: #242b57;
  box-shadow: 0 12px 28px rgba(36, 43, 87, 0.14);
}

.document-card span {
  font-weight: 600;
  word-break: break-word;
}

.empty-trimester-card {
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px dashed #cfd6e6;
  color: #6b7280;
  font-weight: 600;
}