/* ==========================================================================
   Curaduría Urbana Primera de Dosquebradas — ITA Design System
   Based on: https://ita.vlanko.com.co/
   ========================================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
  /* Primary palette */
  --primary-dark: #1a2332;
  --primary: #1e2d3d;
  --primary-medium: #243447;
  --primary-light: #2a3f55;
  --primary-lighter: #3a5068;

  /* Accent (gold) */
  --accent: #c8943e;
  --accent-hover: #b07d30;
  --accent-light: #d4a856;
  --accent-bg: rgba(200, 148, 62, 0.1);

  /* Neutrals */
  --text-dark: #1a1a2e;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;

  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f0f4f8;
  --bg-lighter: #f8fafc;
  --bg-section: #eef2f6;
  --bg-card: #ffffff;

  /* Borders */
  --border: #e5e7eb;
  --border-light: #f0f0f0;
  --border-accent: var(--accent);

  /* GOV.CO */
  --govco-blue: #3366cc;
  --govco-bar-bg: #e8ecef;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);

  /* Layout */
  --container-max: 1280px;
  --container-padding: 1.5rem;
  --header-height: 70px;
  --section-padding: 5rem;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* ---------- Accessibility: High Contrast Mode ---------- */
body.high-contrast {
  background-color: #000 !important;
  color: #ff0 !important;
}

body.high-contrast a {
  color: #0ff !important;
  text-decoration: underline !important;
}

body.high-contrast .govco-bar,
body.high-contrast .info-bar,
body.high-contrast .site-header,
body.high-contrast .site-footer,
body.high-contrast .hero-section,
body.high-contrast .pqrs-banner {
  background-color: #111 !important;
  color: #ff0 !important;
}

body.high-contrast .card,
body.high-contrast .quick-card,
body.high-contrast .license-card,
body.high-contrast .contact-card {
  background-color: #222 !important;
  color: #ff0 !important;
  border-color: #ff0 !important;
}

body.high-contrast button,
body.high-contrast input,
body.high-contrast select,
body.high-contrast textarea {
  background-color: #333 !important;
  color: #ff0 !important;
  border: 2px solid #ff0 !important;
}

body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6 {
  color: #fff !important;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--container-padding);
}

/* ---------- GOV.CO Bar ---------- */
.govco-bar {
  background-color: var(--primary-dark);
  padding: 6px 0;
  font-size: 0.8rem;
  color: var(--text-white);
}

.govco-bar .container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.govco-bar a {
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
}

.govco-bar img {
  height: 18px;
  width: auto;
  display: inline-block;
}

.govco-bar .govco-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
}

/* ---------- Info Bar ---------- */
.info-bar {
  background-color: var(--govco-bar-bg);
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
}

.info-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.info-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-body);
  white-space: nowrap;
}

.info-bar-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  flex-shrink: 0;
}

/* ---------- Site Header ---------- */
.site-header {
  background-color: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--accent);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header-brand:hover {
  opacity: 0.9;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ---------- Main Navigation ---------- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav a {
  padding: 0.5rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: var(--accent);
  transition: transform var(--transition-base);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown>a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 4px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform var(--transition-fast);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 220px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 1.2rem;
  font-size: 0.82rem;
  color: var(--text-body);
  border-radius: 0;
}

.nav-dropdown-menu a:hover {
  background-color: var(--bg-light);
  color: var(--accent);
}

.nav-dropdown-menu a::after {
  display: none;
}

/* Mega Menu (Transparencia) */
.nav-dropdown-mega {
  position: static;
}

.nav-mega-menu {
  min-width: 680px !important;
  right: 0;
  left: auto;
  padding: 1rem !important;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.mega-menu-inner > a {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mega-menu-inner > a:hover {
  background: var(--accent-bg);
  color: var(--accent);
}

.mega-menu-inner > a::after {
  display: none;
}

.mega-menu-group {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-light);
  padding-top: 0.6rem;
  margin-top: 0.4rem;
}

.mega-menu-group-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 1rem 0.2rem;
  margin-bottom: 0;
}

.mega-menu-group a {
  display: block;
  padding: 0.4rem 1rem 0.4rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mega-menu-group a:hover {
  background: var(--accent-bg);
  color: var(--accent);
}

.mega-menu-group a::after {
  display: none;
}

@media (max-width: 1024px) {
  .nav-mega-menu {
    min-width: auto !important;
    position: static;
    padding: 0 !important;
    box-shadow: none;
    border: none;
  }

  .mega-menu-inner {
    grid-template-columns: 1fr;
  }

  .mega-menu-group {
    grid-column: 1;
  }
}

/* CTA Button in nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem !important;
  background: var(--accent);
  color: var(--text-white) !important;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  border: 2px solid var(--accent);
  transition: all var(--transition-base);
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--text-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 148, 62, 0.3);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Nav */
@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
    z-index: 999;
    gap: 0;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.8rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    min-width: auto;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-cta {
    margin: 1rem 0;
    justify-content: center;
    width: 100%;
  }

  .mobile-close {
    position: fixed;
    top: 1.2rem;
    right: 1.5rem;
    z-index: 1001;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    display: none;
  }

  .main-nav.open~.mobile-close {
    display: block;
  }
}

/* ---------- Vigencia Badge ---------- */
.vigencia-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--text-white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

/* ---------- Hero Section ---------- */
.hero-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, #dce5ef 60%, #c7d4e2 100%);
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26, 35, 50, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
}

.hero-label {
  display: inline-block;
  background: var(--accent);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-card-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid rgba(255, 255, 255, 0.15);
  background: var(--primary-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.hero-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-line {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 1rem;
  border-radius: 2px;
}

.hero-card-label {
  display: inline-block;
  background: rgba(200, 148, 62, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-card {
    max-width: 350px;
    margin: 0 auto;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  font-family: inherit;
  line-height: 1.4;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 148, 62, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-white);
}

/* ---------- Section ---------- */
.section {
  padding: var(--section-padding) 0;
}

.section-light {
  background: var(--bg-light);
}

.section-white {
  background: var(--bg-white);
}

.section-dark {
  background: var(--primary-dark);
  color: var(--text-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-header .section-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* ---------- Quick Access Cards ---------- */
.quick-access {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quick-card {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid var(--border);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.quick-card:last-child {
  border-right: none;
}

.quick-card:hover {
  background: var(--bg-light);
  color: var(--accent);
}

.quick-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  opacity: 0.7;
  transition: all var(--transition-base);
}

.quick-card:hover .quick-card-icon {
  color: var(--accent);
  opacity: 1;
  transform: scale(1.1);
}

.quick-card-icon svg {
  width: 32px;
  height: 32px;
}

.quick-card-title {
  font-size: 0.88rem;
  font-weight: 600;
}

.quick-card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .quick-access {
    grid-template-columns: repeat(3, 1fr);
  }

  .quick-card:nth-child(3) {
    border-right: none;
  }
}

@media (max-width: 560px) {
  .quick-access {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-card:nth-child(odd):last-child {
    grid-column: 1 / -1;
  }

  .quick-card:nth-child(2n) {
    border-right: none;
  }

  .quick-card:nth-child(3) {
    border-right: 1px solid var(--border);
  }
}

/* ---------- License Cards ---------- */
.license-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.license-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.license-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.license-card-icon {
  width: 72px;
  height: 72px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all var(--transition-base);
}

.license-card:hover .license-card-icon {
  background: var(--accent-bg);
}

.license-card-icon svg {
  width: 36px;
  height: 36px;
  color: var(--primary-dark);
}

.license-card-badge {
  display: inline-block;
  background: var(--accent-bg);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.license-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.license-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.license-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.5rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.license-card-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}

@media (max-width: 900px) {
  .license-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .license-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Profile Section ---------- */
.profile-section {
  padding: var(--section-padding) 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: start;
}

.profile-photo-card {
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--text-white);
}

.profile-photo {
  width: 200px;
  height: 240px;
  margin: 0 auto 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--primary-medium);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo-line {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.profile-photo-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 1rem;
  background: rgba(200, 148, 62, 0.15);
  border: 1px solid rgba(200, 148, 62, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-light);
}

.profile-info-label {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.profile-info h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.profile-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.profile-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.profile-stat {
  text-align: center;
}

.profile-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.profile-stat-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo-card {
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ---------- Schedule & Contact ---------- */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.contact-card-title svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row-label {
  color: var(--text-body);
}

.contact-row-value {
  color: var(--text-dark);
  font-weight: 600;
  text-align: right;
}

.contact-row-value a {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 768px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- PQRS Banner ---------- */
.pqrs-banner {
  background: var(--primary-dark);
  padding: 2.5rem 0;
  color: var(--text-white);
}

.pqrs-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.pqrs-banner-text h3 {
  color: var(--text-white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.pqrs-banner-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  margin: 0;
}

.pqrs-banner-contacts {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.pqrs-contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pqrs-contact-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.pqrs-contact-label svg {
  width: 14px;
  height: 14px;
}

.pqrs-contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .pqrs-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .pqrs-banner-contacts {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* ---------- Entities Section ---------- */
.entities-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.entity-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 160px;
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--text-dark);
}

.entity-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--accent);
}

.entity-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.entity-card-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.entity-card-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-align: center;
}

/* ---------- Accessibility / Relevo ---------- */
.relay-section {
  background: var(--bg-section);
  padding: 3rem 0;
}

.relay-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.relay-link {
  display: inline-block;
  transition: transform var(--transition-base);
}

.relay-link:hover {
  transform: scale(1.03);
}

.relay-link img {
  height: 50px;
  width: auto;
}

/* ---------- Site Footer ---------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  color: var(--text-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--accent-light);
}

.footer-col-title {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--text-white);
  padding-left: 4px;
}

.footer-bottom {
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--text-white);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 998;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: white;
}

/* ---------- Accessibility Float ---------- */
.accessibility-float {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 998;
  width: 48px;
  height: 48px;
  background: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  color: var(--text-white);
}

.accessibility-float:hover {
  background: var(--primary-light);
  transform: scale(1.08);
}

.accessibility-float svg {
  width: 24px;
  height: 24px;
}

.accessibility-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background: var(--primary-dark);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  transition: right var(--transition-base);
  padding: 2rem;
  z-index: 1001;
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accessibility-panel.open {
  right: 0;
}

.accessibility-panel h3 {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.accessibility-panel button {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  font-family: inherit;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.accessibility-panel button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.accessibility-panel .btn-close-panel {
  background: #e74c3c;
  border-color: #e74c3c;
  margin-top: auto;
}

.accessibility-panel .btn-close-panel:hover {
  background: #c0392b;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 84px;
  right: 76px;
  width: 40px;
  height: 40px;
  background: var(--primary-dark);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 997;
  border: none;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Accordion ---------- */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.accordion-item:hover {
  border-color: var(--accent);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-white);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: all var(--transition-fast);
}

.accordion-header:hover {
  background: var(--bg-lighter);
}

.accordion-header .accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
  flex-shrink: 0;
  color: var(--accent);
}

.accordion-item.open .accordion-header .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-body-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.accordion-body-inner a {
  color: var(--accent);
  font-weight: 500;
}

.accordion-body-inner a:hover {
  text-decoration: underline;
}

/* ---------- Page Header / Banner ---------- */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
  padding: 3.5rem 0;
  text-align: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 148, 62, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  color: var(--text-white);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.page-header .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
}

.page-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb a:hover {
  color: var(--text-white);
}

/* ---------- Content Page Layout ---------- */
.content-page {
  padding: 3rem 0 5rem;
}

.content-page .content-body {
  max-width: 900px;
  margin: 0 auto;
}

.content-body h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-body p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ---------- Form Styles ---------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  color: var(--text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 148, 62, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Tables ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.88rem;
}

.data-table thead {
  background: var(--primary-dark);
  color: var(--text-white);
}

.data-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.data-table tbody tr:hover {
  background: var(--bg-lighter);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Search ---------- */
.search-box {
  display: flex;
  gap: 0;
  max-width: 400px;
}

.search-box input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  color: var(--text-dark);
}

.search-box input:focus {
  border-color: var(--accent);
}

.search-box button {
  padding: 0.6rem 1rem;
  background: var(--primary-dark);
  color: var(--text-white);
  border: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background var(--transition-fast);
}

.search-box button:hover {
  background: var(--primary-light);
}

/* ---------- Google Map ---------- */
.map-container {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Cards Grid (generic) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

/* ---------- Utility classes ---------- */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-accent {
  color: var(--accent);
}

.text-white {
  color: var(--text-white);
}

.text-muted {
  color: var(--text-muted);
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

/* ---------- Print Styles ---------- */
@media print {

  .govco-bar,
  .info-bar,
  .site-header,
  .site-footer,
  .whatsapp-float,
  .accessibility-float,
  .accessibility-panel,
  .back-to-top {
    display: none !important;
  }
}