/* ═══════════════════════════════════════════════════════════
   Antiguo Morelos – Portal Municipal
   Paleta institucional + DM Sans / Playfair Display
   ═══════════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --navy: #0D2B58;
  --navy-dark: #081A38;
  --blue: #1565C0;
  --blue-mid: #1976D2;
  --cyan: #00ACC1;
  --cyan-hover: #00BCD4;
  --teal: #2A9D8F;
  --cyan-light: #E0F7FA;
  --navy-light: #E8EEF7;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #EEF2F7;
  --gray-200: #D5DDE8;
  --gray-400: #94A3B8;
  --gray-700: #374151;
  --text-main: #0D1B2E;
  --text-muted: #4A6080;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(13,43,88,0.08);
  --shadow-lg: 0 12px 32px rgba(13,43,88,0.12);
  --max-w: 1200px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ── UTILITIES ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--blue-mid); display: block; }
.section-lead {
  font-size: 17px; font-weight: 300; line-height: 1.75;
  color: var(--text-muted); max-width: 600px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cyan); color: var(--navy);
  font-weight: 600; font-size: 15px;
  padding: 0.85rem 2rem; border-radius: 8px;
  transition: all 0.2s; border: none; cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover { background: var(--cyan-hover); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.25); color: white;
  font-weight: 400; font-size: 15px;
  padding: 0.85rem 2rem; border-radius: 8px;
  transition: all 0.2s; background: transparent; cursor: pointer;
  font-family: inherit;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--gray-200); color: var(--navy);
  font-weight: 500; font-size: 14px;
  padding: 0.7rem 1.5rem; border-radius: 8px;
  transition: all 0.2s; background: transparent; cursor: pointer;
  font-family: inherit;
}
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }

/* ── NAVIGATION ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13, 43, 88, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,172,193,0.2);
  height: 68px;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  height: 100%;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo-mark {
    width: 40px;
    height: 40px;
    background-image: url('../img/escudo.jpg');
    background-size: cover; /* O 'contain' para que la imagen no se recorte */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    flex-shrink: 0;
}
.nav-brand-text span:first-child {
  display: block; font-size: 15px; font-weight: 600; color: white;
  letter-spacing: 0.02em;
}
.nav-brand-text span:last-child {
  display: block; font-size: 10px; font-weight: 400; color: var(--cyan);
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* Desktop menu */
.nav-menu {
  display: flex; align-items: center; gap: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.75);
  font-size: 14px; font-weight: 400;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: white; background: rgba(255,255,255,0.08); }
.nav-menu > li > a.cta {
  background: var(--cyan); color: var(--navy);
  font-weight: 600; padding: 0.45rem 1.1rem;
  margin-left: 0.5rem;
}
.nav-menu > li > a.cta:hover { background: var(--cyan-hover); }

/* Dropdown arrow */
.nav-menu > li > a .arrow {
  display: inline-block; font-size: 10px;
  transition: transform 0.2s;
}

/* Desktop dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--navy-dark);
  border: 1px solid rgba(0,172,193,0.2);
  border-radius: var(--radius-md);
  padding: 0.5rem 0;
  min-width: 220px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.nav-menu > li:hover > .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-menu > li:hover > a .arrow { transform: rotate(180deg); }
.nav-dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 13px; color: rgba(255,255,255,0.65);
  transition: all 0.15s;
}
.nav-dropdown a:hover {
  background: rgba(0,172,193,0.1); color: var(--cyan);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px;
  position: relative;
  width: 36px; height: 36px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: white;
  border-radius: 2px;
  position: absolute; left: 7px;
  transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 17px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle.open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

/* Mobile overlay */
.mobile-menu {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--navy-dark);
  z-index: 999;
  overflow-y: auto;
  padding: 1rem 0;
}
.mobile-menu.open { display: block; }
.mobile-menu > li > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 2rem;
  color: rgba(255,255,255,0.8);
  font-size: 15px; font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s;
}
.mobile-menu > li > a:hover { background: rgba(255,255,255,0.04); }
.mobile-menu > li > a .arrow {
  font-size: 12px; transition: transform 0.3s;
}
.mobile-menu > li.sub-open > a .arrow { transform: rotate(180deg); }
.mobile-menu > li > a.cta-mobile {
  margin: 1rem 2rem; padding: 0.8rem;
  background: var(--cyan); color: var(--navy);
  font-weight: 600; border-radius: 8px;
  text-align: center; border: none;
  justify-content: center;
}
.mobile-sub {
  max-height: 0; overflow: hidden;
  background: rgba(0,0,0,0.15);
  transition: max-height 0.35s ease;
}
.mobile-sub.open { max-height: 300px; }
.mobile-sub a {
  display: block;
  padding: 0.7rem 2rem 0.7rem 3rem;
  font-size: 14px; color: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: all 0.15s;
}
.mobile-sub a:hover { color: var(--cyan); background: rgba(0,172,193,0.05); }

/* ── PAGE HERO (internal pages) ── */
.page-hero {
  background: var(--navy);
  padding: 8rem 0 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 450px; height: 450px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,172,193,0.12) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,172,193,0.15);
  border: 1px solid rgba(0,172,193,0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px; font-weight: 500; color: var(--cyan);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; color: white; line-height: 1.1;
  margin-bottom: 1rem;
}
.page-hero h1 em { font-style: italic; color: var(--cyan); display: block; }
.page-hero p {
  font-size: 17px; font-weight: 300; line-height: 1.7;
  color: rgba(255,255,255,0.6); max-width: 600px;
}

/* ── HOMEPAGE HERO ── */
.home-hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.home-hero .hero-geo {
  position: absolute; inset: 0; pointer-events: none;
}
.home-hero .hero-geo circle { opacity: 0.06; }
.home-hero-content {
  position: relative; z-index: 2;
  padding: 8rem 3rem 5rem;
  max-width: 720px;
}
.home-hero-content .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,172,193,0.15);
  border: 1px solid rgba(0,172,193,0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px; font-weight: 500; color: var(--cyan);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.home-hero-content .hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.home-hero-content .hero-sub {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.home-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700; color: white; line-height: 1.08;
  margin-bottom: 0.4rem;
}
.home-hero-content h1 em { font-style: italic; color: var(--cyan); display: block; }
.home-hero-content .hero-desc {
  font-size: 17px; font-weight: 300; line-height: 1.7;
  color: rgba(255,255,255,0.65); max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero floating cards */
.hero-visual {
  position: absolute; right: 0; bottom: 0; top: 0;
  width: 45%;
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.hero-map-bg {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,172,193,0.12) 0%, rgba(21,101,192,0.08) 50%, transparent 70%);
}
.hero-card-float {
  position: absolute;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}
.hero-card-float.card-1 { right: 8rem; top: 25%; }
.hero-card-float.card-2 { right: 4rem; top: 52%; }
.hero-card-float.card-3 { right: 11rem; top: 72%; }
.float-stat { text-align: center; }
.float-stat .n {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 700;
  color: var(--cyan); line-height: 1;
}
.float-stat .l {
  font-size: 12px; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px;
}
.float-item { display: flex; align-items: center; gap: 10px; }
.float-icon {
  width: 36px; height: 36px;
  background: rgba(0,172,193,0.2); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.float-icon svg { width: 18px; height: 18px; stroke: var(--cyan); fill: none; stroke-width: 1.8; }
.float-item-text .t { font-size: 13px; font-weight: 500; color: white; }
.float-item-text .s { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 1px; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.35); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--cyan);
  padding: 1.5rem 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
}
.stat-item { text-align: center; padding: 1rem; }
.stat-item .n {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.stat-item .l {
  font-size: 12px; color: var(--navy); opacity: 0.65;
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px;
}

/* ── CONTENT SECTIONS ── */
.content-section { padding: 5rem 0; }
.content-section.alt { background: var(--gray-50); }
.content-section.dark { background: var(--navy); }
.content-section.dark .section-title { color: white; }
.content-section.dark .section-lead { color: rgba(255,255,255,0.55); }

/* ── ABOUT GRID ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-body {
  font-size: 15px; line-height: 1.85; color: var(--text-muted);
  margin-top: 1.5rem;
}
.about-body p + p { margin-top: 1rem; }
.about-highlight {
  margin-top: 2rem; padding: 1.5rem;
  border-left: 3px solid var(--cyan);
  background: var(--cyan-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 15px; font-style: italic; color: var(--navy); line-height: 1.6;
}
.about-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.about-card {
  background: white; border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.about-card:hover { transform: translateY(-3px); }
.about-card:first-child { grid-column: 1 / -1; }
.about-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.about-card-icon svg { width: 22px; height: 22px; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.about-card h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.about-card p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.icon-blue { background: var(--navy-light); }
.icon-blue svg { stroke: var(--blue); }
.icon-cyan { background: var(--cyan-light); }
.icon-cyan svg { stroke: var(--teal); }

/* ── SERVICES GRID ── */
.servicios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.servicio-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-100); transition: all 0.3s; cursor: pointer;
}
.servicio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.servicio-top {
  padding: 2rem; position: relative;
}
.servicio-top.bg-navy { background: var(--navy); }
.servicio-top.bg-blue { background: var(--blue); }
.servicio-top.bg-teal { background: var(--teal); }
.servicio-top.bg-cyan { background: var(--cyan); }
.servicio-num {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; font-weight: 700;
  color: rgba(255,255,255,0.12);
  position: absolute; right: 1.5rem; top: 1rem; line-height: 1;
}
.servicio-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.servicio-icon svg { width: 24px; height: 24px; stroke: white; fill: none; stroke-width: 1.8; }
.servicio-top h3 { font-size: 18px; font-weight: 600; color: white; }
.servicio-bottom { padding: 1.5rem 2rem; background: white; }
.servicio-bottom p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.servicio-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 1rem; font-size: 13px; font-weight: 500;
  color: var(--blue); transition: gap 0.2s;
}
.servicio-link:hover { gap: 10px; }

/* ── TRANSPARENCY ITEMS ── */
.transp-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.transp-items { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.transp-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.2s; cursor: pointer;
}
.transp-item:hover { background: rgba(0,172,193,0.1); border-color: rgba(0,172,193,0.3); }
.transp-item-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(0,172,193,0.15); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.transp-item-icon svg { width: 20px; height: 20px; stroke: var(--cyan); fill: none; stroke-width: 1.8; }
.transp-item-text .t { font-size: 14px; font-weight: 500; color: white; }
.transp-item-text .s { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.transp-item-arrow { margin-left: auto; color: rgba(255,255,255,0.25); font-size: 18px; }
.transp-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.transp-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 1.5rem; text-align: center;
}
.transp-stat-card:first-child { grid-column: 1 / -1; }
.transp-stat-card .n {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; font-weight: 700; color: var(--cyan); line-height: 1;
}
.transp-stat-card .l {
  font-size: 12px; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.07em; margin-top: 6px;
}

/* ── GABINETE ── */
.gabinete-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.gab-card {
  background: white; border-radius: 16px;
  padding: 2rem 1.5rem; text-align: center;
  border: 1px solid rgba(0,0,0,0.05); transition: all 0.2s;
}
.gab-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gab-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700; color: white;
  background-size: cover; background-position: center;
}
.av-navy { background-color: var(--navy); }
.av-blue { background-color: var(--blue); }
.av-teal { background-color: var(--teal); }
.av-cyan { background-color: var(--cyan); color: var(--navy); }
.gab-card h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.gab-card .gab-role { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.gab-badge {
  display: inline-block; margin-top: 0.75rem;
  padding: 3px 10px; border-radius: 100px;
  background: var(--navy-light); color: var(--blue);
  font-size: 11px; font-weight: 500;
}

/* ── NOTICIAS ── */
.noticias-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 3rem;
}
.noticias-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem;
}
.noticia-card {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--gray-100); transition: all 0.2s; cursor: pointer;
}
.noticia-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.noticia-img {
  height: 200px;
  display: flex; align-items: flex-end;
  padding: 1rem; position: relative; overflow: hidden;
}
.noticia-img.bg1 { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.noticia-img.bg2 { background: linear-gradient(135deg, var(--teal), var(--cyan)); }
.noticia-img.bg3 { background: linear-gradient(135deg, var(--blue), var(--teal)); }
.noticia-cat {
  background: rgba(0,0,0,0.35); backdrop-filter: blur(8px);
  color: white; font-size: 11px; font-weight: 500;
  padding: 3px 10px; border-radius: 100px;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.noticia-body { padding: 1.25rem 1.5rem; }
.noticia-body h3 { font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 0.5rem; }
.noticia-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.noticia-meta { margin-top: 0.75rem; font-size: 12px; color: var(--gray-400); }
.noticia-card.featured .noticia-img { height: 280px; }
.noticia-card.featured h3 { font-size: 20px; font-family: 'Playfair Display', serif; }

/* ── CONTACTO ── */
.contacto-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
}
.contacto-form {
  background: white; border-radius: var(--radius-lg);
  padding: 2.5rem; border: 1px solid var(--gray-100);
}
.contacto-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; color: var(--navy); margin-bottom: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.7rem 1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: var(--text-main);
  background: white; transition: border-color 0.2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--cyan); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; padding: 0.9rem;
  background: var(--navy); color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500;
  border: none; border-radius: 8px;
  cursor: pointer; transition: background 0.2s;
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--blue); }
.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--navy-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.contact-item-text .t { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.contact-item-text .s { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.redes { display: flex; gap: 0.75rem; margin-top: 2rem; }
.red-btn {
  width: 42px; height: 42px;
  border-radius: 10px; border: 1.5px solid var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; cursor: pointer; background: white;
}
.red-btn:hover { background: var(--navy); border-color: var(--navy); }
.red-btn:hover svg { stroke: white; }
.red-btn svg { width: 18px; height: 18px; stroke: var(--navy); fill: none; stroke-width: 1.8; }

/* ── TRANSPARENCY PAGE CONTENT ── */
.transp-page-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.transp-page-card {
  background: white; border-radius: 16px;
  padding: 2rem; border: 1px solid var(--gray-100);
  transition: all 0.2s;
}
.transp-page-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.transp-page-card .card-icon {
  width: 52px; height: 52px;
  border-radius: 12px; margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.transp-page-card .card-icon.ci-navy { background: var(--navy); }
.transp-page-card .card-icon.ci-blue { background: var(--blue); }
.transp-page-card .card-icon.ci-teal { background: var(--teal); }
.transp-page-card .card-icon svg { width: 24px; height: 24px; stroke: white; fill: none; stroke-width: 1.8; }
.transp-page-card h3 { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.transp-page-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.transp-page-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--cyan);
  transition: gap 0.2s;
}
.transp-page-card .card-link:hover { gap: 10px; }

/* ── ESCUDO PAGE ── */
.escudo-display {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 4rem; align-items: center; margin-top: 3rem;
}
.escudo-img {
  width: 100%; max-width: 320px; margin: 0 auto;
  aspect-ratio: 3/4;
  background: var(--gray-50);
  border-radius: 16px; border: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted);
  padding: 2rem; text-align: center;
}
.escudo-desc h3 { font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 1rem; }
.escudo-desc p { font-size: 15px; color: var(--text-muted); line-height: 1.85; }
.escudo-desc p + p { margin-top: 1rem; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 2rem; font-size: 13px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: white; font-weight: 500; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-dark);
  padding: 3rem 0;
  border-top: 1px solid rgba(0,172,193,0.15);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand-text span:first-child {
  display: block; font-size: 16px; font-weight: 600; color: white;
}
.footer-brand-text span:last-child {
  display: block; font-size: 11px; color: var(--cyan);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 12px; }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .hero-visual { display: none; }
  .home-hero-content { padding: 6rem 1.5rem 4rem; }
  .about-grid,
  .transp-grid,
  .contacto-grid,
  .escudo-display { grid-template-columns: 1fr; gap: 2.5rem; }
  .servicios-grid { grid-template-columns: 1fr 1fr; }
  .gabinete-grid { grid-template-columns: 1fr 1fr; }
  .noticias-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 1rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .transp-page-cards { grid-template-columns: 1fr; }
  .noticias-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
@media (max-width: 600px) {
  .servicios-grid,
  .gabinete-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-visual { grid-template-columns: 1fr; }
  .about-card:first-child { grid-column: auto; }
  .transp-visual { grid-template-columns: 1fr; }
  .transp-stat-card:first-child { grid-column: auto; }
}



