/* Banner informativo PQR */
.banner-pqr-info {
  background: linear-gradient(90deg, #22c55e 0%, #2563a8 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  font-weight: 600;
  text-align: center;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
/* Banner informativo CCU */
.banner-ccu-info {
  background: linear-gradient(90deg, #22c55e 0%, #2563a8 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
  font-weight: 600;
  text-align: center;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

/* Botón deshabilitado para descarga CCU */
.btn-disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}
/* ============================================
   15. ESTILOS PÁGINA LEGALIZACIÓN
   ============================================ */
.legalizacion-page .hero.section-with-watermark {
  background: linear-gradient(135deg, #f9fafb 60%, #e6f4ee 100%);
  min-height: 340px;
  position: relative;
}
.legalizacion-page .hero-badge {
  background: rgba(37, 99, 168, 0.08);
  border-color: var(--color-secondary-light);
  color: var(--color-secondary-dark);
}
.legalizacion-page .hero-title-highlight {
  color: var(--color-primary);
  font-size: 2.5rem;
  font-weight: 800;
}
.legalizacion-page .hero-tagline {
  color: var(--color-secondary);
  font-size: 1.2rem;
}
.legalizacion-page .section-with-watermark {
  background: var(--surface-100);
}
.legalizacion-page h2 {
  border-left: 5px solid var(--color-primary);
  padding-left: 0.75rem;
  color: var(--color-primary);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}
.legalizacion-page h2[style*="color: var(--color-secondary)"] {
  border-left: 5px solid var(--color-secondary);
  color: var(--color-secondary);
}
.legalizacion-page .card,
.legalizacion-page .alert {
  box-shadow: var(--shadow-md);
}
.legalizacion-page .table {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.legalizacion-page .badge {
  font-size: 1rem;
  padding: 0.35rem 1rem;
}
.legalizacion-page .services-grid {
  gap: 2.5rem;
}
.legalizacion-page .card-content h4,
.legalizacion-page .card-content h3 {
  margin-bottom: 0.5rem;
}
.legalizacion-page .alert-info,
.legalizacion-page .alert-success {
  box-shadow: var(--shadow-sm);
}
@media (max-width: 600px) {
  .legalizacion-page .hero.section-with-watermark {
    min-height: 200px;
    padding: 2rem 0;
  }
  .legalizacion-page h2 {
    font-size: 1.3rem;
    padding-left: 0.5rem;
  }
}
/* ==========================================================================
   PLANTILLA B&M INGENIERÍA Y SOLUCIONES AMBIENTALES
   Tipografía: Poppins / Open Sans
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap");

/* ============================================
   1. VARIABLES Y TOKENS DE COLOR
   ============================================ */
:root {
  /* Paleta Corporativa */
  --color-primary: #2d8659;
  --color-primary-dark: #1f5d3d;
  --color-primary-light: #4fa878;

  --color-secondary: #2563a8;
  --color-secondary-dark: #1a4c7e;
  --color-secondary-light: #3b82cc;

  --color-accent: #10b981;
  --color-accent-dark: #059669;
  --color-accent-light: #34d399;

  /* Estados */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-danger: #ef4444;
  --color-info: #3b82f6;

  /* Superficies y Texto */
  --surface-base: #ffffff;
  --surface-100: #fafafa;
  --surface-200: #f5f5f5;
  --surface-300: #f0f0f0;
  --bg-light: #f9fafb;
  --bg-dark: #111827;

  --text-primary: rgba(17, 24, 39, 1);
  --text-secondary: rgba(55, 65, 81, 0.8);
  --text-tertiary: rgba(107, 114, 128, 0.7);
  --text-muted: rgba(156, 163, 175, 0.6);

  --border-default: rgba(0, 0, 0, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.05);
  --border-strong: rgba(0, 0, 0, 0.12);

  /* Tipografía */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Open Sans", sans-serif;

  /* Espaciado */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;

  /* Bordes y Sombras */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   2. ESTILOS BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--surface-base);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Evita el scroll horizontal */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   3. NAVBAR Y HEADER
   ============================================ */
.navbar {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  order: 3;
}

.navbar-logo {
  height: 60px;
  width: auto;
  background: white;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.navbar-text {
  display: flex;
  flex-direction: column;
}
.navbar-company {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}
.navbar-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

.navbar-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  order: 1;
}

.navbar-menu > a,
.navbar-item > a {
  color: white;
  font-weight: 500;
  padding: var(--spacing-2) var(--spacing-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.navbar-menu > a:hover,
.navbar-item > a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.btn-nav-pqr {
  background-color: var(--color-warning) !important;
  color: white !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-item {
  position: relative;
}

.dropdown {
  display: block;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface-base);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: var(--spacing-2) 0;
  margin-top: 0.5rem; /* Re-añadido un pequeño espacio */
  z-index: 1000;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s 0.2s;
  pointer-events: none;
}

.navbar-item > a {
  padding-bottom: 0.5rem; /* Puente para el cursor */
}

.navbar-item:hover .dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s; /* Anula el retardo de visibilidad al mostrar */
  pointer-events: auto;
}

.dropdown a {
  display: block;
  padding: var(--spacing-3) var(--spacing-5);
  color: var(--text-primary);
  font-size: 0.9rem;
}
.dropdown a:hover {
  background-color: var(--surface-200);
  color: var(--color-primary);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  order: 2;
}
.navbar-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* Estilos para submenús anidados */
.navbar-item.has-submenu {
  position: relative;
}

.dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: var(--surface-base);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: var(--spacing-2) 0;
  z-index: 1001;
}

.navbar-item.has-submenu:hover > .dropdown-submenu {
  display: block;
}

.dropdown-submenu a {
  display: block;
  padding: var(--spacing-3) var(--spacing-5);
  color: var(--text-primary);
  font-size: 0.9rem;
}
.dropdown-submenu a:hover {
  background-color: var(--surface-200);
  color: var(--color-primary);
}

.dropdown-submenu.antioquia-submenu {
  width: 660px; /* Ancho para 3 columnas */
  columns: 3;
  -webkit-columns: 3;
  -moz-columns: 3;
}

/* Ajustes para el menú principal */
.navbar-menu .dropdown {
  min-width: 200px; /* Ancho del primer nivel de dropdown */
}

/* ============================================
   4. HERO Y SPLIT CONTENT
   ============================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  align-items: center;
  background: linear-gradient(135deg, #2d8659 0%, #2563a8 100%);
}

.hero-text {
  padding: 4rem 10%;
  z-index: 2;
  height: 100%;
  width: 100%;
}
.hero-image {
  height: 50%;
  width: 70%;
  background: transparent;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(45, 134, 89, 0.1);
  border: 2px solid rgba(45, 134, 89, 0.3);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--surface-base);
  margin-bottom: 1.5rem;
}
.hero-badge-green {
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--surface-base);
}
.hero-badge-blue {
  border-color: rgba(37, 99, 168, 0.3);
  color: var(--surface-base);
}

.hero-title-main {
  font-size: 2rem;
  font-weight: 400;
  display: block;
}
.hero-title-highlight {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary-light);
  display: block;
  line-height: 1.1;
}
.hero-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--surface-base);
}
.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--surface-base);
}

.hero-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.hero-feature .material-symbols-outlined {
  color: var(--color-primary);
}

.hero-highlights,
.hero-info-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-highlight-item,
.hero-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface-100);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Image overlay/gradients */
.hero-image-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 134, 89, 0.15) 0%,
    rgba(45, 134, 89, 0.08) 100%
  );
}
.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   5. BOTONES (Generales)
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-secondary);
  color: white;
}
.btn-secondary:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ============================================
   6. CAROUSELS (Hero y Cards)
   ============================================ */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-default);
}
.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 10;
  pointer-events: none;
}
.carousel-btn {
  pointer-events: all;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}
.carousel-btn:hover {
  background-color: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}
.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
}
.carousel-indicator.active {
  background-color: var(--color-primary);
  width: 32px;
  border-radius: 6px;
}

/* Cards Carousel */
.cards-carousel {
  position: relative;
  overflow-x: auto;
  padding: 2rem 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.cards-carousel-container {
  display: flex;
  gap: 1.5rem;
  padding: 0 1rem;
  width: max-content;
}
.cards-carousel-slide {
  width: 320px;
  scroll-snap-align: start;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 0;
}

/* ============================================
   7. SECCIONES Y CARDS
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-4);
}
.section {
  padding: 5rem 0;
}
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.services-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.card:hover {
  border-color: var(--color-primary);
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(45, 134, 89, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: var(--color-primary);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -1.5rem -1.5rem 1.5rem -1.5rem;
  width: calc(100% + 3rem);
}
.card-date {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* ============================================
   8. FORMULARIOS
   ============================================ */
.form-group {
  margin-bottom: var(--spacing-6);
}
.form-label {
  display: block;
  margin-bottom: var(--spacing-2);
  font-weight: 600;
  font-size: 0.9rem;
}
.form-label.required::after {
  content: " *";
  color: var(--color-danger);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--surface-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: inherit;
  transition: all 0.3s ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 134, 89, 0.1);
}
.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox,
.form-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.form-checkbox input,
.form-radio input {
  accent-color: var(--color-primary);
  width: 18px;
  height: 18px;
}

/* ============================================
   9. TABLAS, BADGES Y ALERTAS
   ============================================ */
.table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.table thead {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: white;
}
.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-default);
}
.table tbody tr:hover {
  background-color: var(--surface-100);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
}
.badge-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--color-warning);
}
.badge-error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--color-error);
}
.badge-info {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-info);
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border-left: 4px solid;
}
.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--color-success);
  color: #065f46;
}
.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--color-warning);
  color: #92400e;
}
.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--color-error);
  color: #991b1b;
}

/* ============================================
   10. PÁGINA CCU
   ============================================ */
.ccu-document {
  background: white;
  padding: 3rem;
  margin: 2rem auto;
  max-width: 900px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  position: relative;
}
.ccu-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 3px solid var(--color-primary);
  margin-bottom: 2rem;
}
.ccu-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}
.ccu-section h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.ccu-section ul {
  list-style: none;
  padding-left: 0;
}
.ccu-section ul li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
}
.ccu-section ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}
.ccu-download {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-default);
}

/* ============================================
   11. FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 1rem;
}
.footer-logo {
  height: 60px;
  background: white;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-column h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}
.footer-column a:hover {
  color: var(--color-primary-light);
  padding-left: 5px;
}
.footer-nit {
  color: var(--color-warning);
  font-weight: 600;
}
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.footer-social a:hover {
  background: var(--color-primary);
  transform: scale(1.1);
  padding-left: 0;
}
.footer-legal {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
.footer-legal-list {
  list-style: none;
  padding: 0;
}
.footer-legal-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   12. MATERIAL SYMBOLS (Iconos)
   ============================================ */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}
.material-symbols-outlined[data-filled="1"],
.icon-filled {
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

/* ============================================
   13. UTILIDADES Y WATERMARKS
   ============================================ */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.bg-light {
  background: var(--bg-light);
}
.bg-dark {
  background: var(--bg-dark);
  color: white;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.p-2 {
  padding: 1rem;
}
.p-3 {
  padding: 1.5rem;
}

.section-with-watermark {
  position: relative;
  overflow: hidden;
}
.section-with-watermark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background-image: url("../img/image.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
}
.section-with-watermark > * {
  position: relative;
  z-index: 1;
}
.hero-with-watermark::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 800px;
  height: 800px;
  background-image: url("../img/image.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

/* ============================================
   14. RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .navbar-text {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary-dark);
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }
  .navbar-menu.is-open {
    display: flex;
  }
  .navbar-toggle {
    display: flex;
  }
  .navbar-item .dropdown {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
  }

  .hero,
  .hero.split-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-image {
    height: 350px;
    order: -1;
  }
  .hero-title-highlight {
    font-size: 2.2rem;
  }
  .hero-text {
    padding: 3rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.department-section {
  margin-bottom: 3rem;
}

.department-section h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-default);
}
.ccu-download {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-default);
}

/* ============================================
   11. FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 1rem;
}
.footer-logo {
  height: 60px;
  background: white;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-column h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}
.footer-column a:hover {
  color: var(--color-primary-light);
  padding-left: 5px;
}
.footer-nit {
  color: var(--color-warning);
  font-weight: 600;
}
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.footer-social a:hover {
  background: var(--color-primary);
  transform: scale(1.1);
  padding-left: 0;
}
.footer-legal {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
.footer-legal-list {
  list-style: none;
  padding: 0;
}
.footer-legal-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   12. MATERIAL SYMBOLS (Iconos)
   ============================================ */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}
.material-symbols-outlined[data-filled="1"],
.icon-filled {
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

/* ============================================
   13. UTILIDADES Y WATERMARKS
   ============================================ */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.bg-light {
  background: var(--bg-light);
}
.bg-dark {
  background: var(--bg-dark);
  color: white;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.p-2 {
  padding: 1rem;
}
.p-3 {
  padding: 1.5rem;
}

.section-with-watermark {
  position: relative;
  overflow: hidden;
}
.section-with-watermark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background-image: url("../img/image.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
}
.section-with-watermark > * {
  position: relative;
  z-index: 1;
}
.hero-with-watermark::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 800px;
  height: 800px;
  background-image: url("../img/image.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

/* ============================================
   14. RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .navbar-text {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary-dark);
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }
  .navbar-menu.is-open {
    display: flex;
  }
  .navbar-toggle {
    display: flex;
  }
  .navbar-item .dropdown {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
  }

  .hero,
  .hero.split-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-image {
    height: 350px;
    order: -1;
  }
  .hero-title-highlight {
    font-size: 2.2rem;
  }
  .hero-text {
    padding: 3rem 1.5rem;
  }

  .services-grid,
  .news-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Nuevos estilos para el rediseño de páginas de municipios */

.info-hero {
  background-color: var(--color-primary);
  color: white;
  padding: 3rem 0;
  border-bottom: 5px solid var(--color-accent);
}

.territory-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .territory-hero {
    grid-template-columns: 2fr 1fr;
  }
}

.municipality-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.municipality-badge {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.info-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}

.info-subtitle {
  font-size: 1.125rem;
  margin-top: 1rem;
  max-width: 60ch;
  opacity: 0.9;
}

.territory-media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.page-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.municipality-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.mini-card {
  background-color: var(--surface-100, #f9fafb);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--surface-300, #e5e7eb);
}

.mini-card strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.mini-card p {
  margin: 0;
}

.info-grid {
  display: grid;
  gap: 1.5rem;
}

.info-grid.two-columns {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .info-grid.two-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-card {
  background-color: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-card h2 {
  margin-top: 0;
  color: var(--color-primary-dark);
}

.feature-list,
.reference-list {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li::marker,
.reference-list li::marker {
  color: var(--color-accent);
}

.reference-card {
  background-color: var(--surface-100, #f9fafb);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--surface-300, #e5e7eb);
}

.reference-card h2 {
  margin-top: 0;
}

.cta-panel {
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-secondary-dark)
  );
  color: white;
  padding: 2.5rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cta-panel {
    flex-direction: row;
    text-align: left;
  }
}

.cta-panel h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.cta-panel p {
  margin: 0;
  max-width: 65ch;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-actions {
    margin-left: auto;
    flex-shrink: 0;
  }
}

/* Regla de diagnóstico para el footer */
.footer {
  background-color: red !important;
  color: white !important;
  padding: 20px;
}
.footer-logo-super {
  max-width: 150px;
}
