/* ==========================================================================
   Coacalco · Design System
   Inspirado en plantilla-coacalco.html (paleta 4 colores + tipos Sora/Inter)
   Tokens + reset + componentes. Reemplaza la dependencia de Tailwind para
   los archivos rediseñados. Coexiste con Tailwind para los aún no migrados.
   ========================================================================== */

:root {
  /* ====== Paleta institucional ====== */
  --c-red:        #E63329;
  --c-red-700:    #B81B14;
  --c-yellow:     #F4B91A;
  --c-yellow-600: #D89E0B;
  --c-cyan:       #3BAFE0;
  --c-cyan-700:   #1F88B5;
  --c-navy:       #1E2A5E;
  --c-navy-800:   #2A3A78;
  --c-navy-900:   #0A1029;

  /* ====== Neutros ====== */
  --c-bg:       #F6F7FB;
  --c-surface:  #FFFFFF;
  --c-ink:      #0E1430;
  --c-ink-2:    #4A5274;
  --c-ink-3:    #8B91A9;
  --c-line:     #E6E8F0;
  --c-line-2:   #EEF0F7;

  /* Estado */
  --c-ok:      #2EAB55;
  --c-warn:    #C89200;
  --c-err:     #DC2626;
  --c-info:    var(--c-cyan);

  /* ====== Radii ====== */
  --radius-sm:  10px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-pill: 9999px;

  /* ====== Shadows ====== */
  --shadow-sm: 0 1px 2px rgba(14,20,48,.04), 0 2px 6px rgba(14,20,48,.04);
  --shadow-md: 0 4px 12px rgba(14,20,48,.06), 0 12px 32px rgba(14,20,48,.06);
  --shadow-lg: 0 12px 40px rgba(30,42,94,.18);
  --shadow-xl: 0 25px 60px -15px rgba(30,42,94,.30);

  /* ====== Tipografías ====== */
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-text:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'Menlo', monospace;

  /* ====== Layout ====== */
  --container-max: 1320px;
  --container-pad: 32px;
  --header-h: 84px;
}

/* ====== Reset / base ====== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--c-yellow); color: var(--c-navy); }

/* ====== Layout helpers ====== */
.container {
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 0 var(--container-pad);
}
@media (max-width: 760px) { .container { padding: 0 20px; } }

/* ============================================================
   TOPSTRIP — Cinta superior institucional
   ============================================================ */
.topstrip {
  background: var(--c-navy);
  color: #fff;
  font-size: 12px;
  letter-spacing: .02em;
}
.topstrip .container {
  display: flex; justify-content: space-between; align-items: center;
  height: 38px; gap: 24px;
}
.topstrip .left { display: flex; gap: 22px; align-items: center; opacity: .85; }
.topstrip .left b { color: var(--c-yellow); font-weight: 600; }
.topstrip .right { display: flex; gap: 18px; align-items: center; }
.topstrip .right a { opacity: .8; transition: opacity .2s; }
.topstrip .right a:hover { opacity: 1; }
.topstrip .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px;
  background: rgba(255,255,255,.08); font-weight: 500;
}
.topstrip .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ADE80;
  box-shadow: 0 0 0 4px rgba(74,222,128,.2);
}
@media (max-width: 760px) { .topstrip .left { display: none; } }

/* ============================================================
   HEADER + MEGA MENU
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .container {
  display: flex; align-items: center; height: var(--header-h); gap: 36px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 56px; width: auto; transition: transform .3s ease; }
.brand:hover .brand-logo { transform: scale(1.03); }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 500; font-size: 14.5px;
  color: var(--c-ink);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.nav-item:hover, .nav-item.active { background: var(--c-line-2); }
.nav-item .chev {
  width: 10px; height: 10px;
  transition: transform .2s; opacity: .6;
}
.nav-item.open .chev,
.megamenu-wrap.open .nav-item .chev { transform: rotate(180deg); }

.header-cta { display: flex; gap: 10px; align-items: center; }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--c-line);
  transition: background .2s, border-color .2s;
  background: transparent;
}
.icon-btn:hover { background: var(--c-line-2); border-color: var(--c-line-2); }
.icon-btn svg { width: 18px; height: 18px; color: var(--c-ink-2); }

.menu-toggle { display: none; }
@media (max-width: 980px) {
  .nav { display: none; }
  .header-cta .btn-accent .label { display: none; }
  .menu-toggle { display: grid; }
}

/* Mega menu */
.megamenu-wrap { position: relative; }
.megamenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(1100px, calc(100vw - 48px));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 200;
}
.megamenu.open,
.megamenu-wrap:hover .megamenu,
.megamenu-wrap:focus-within .megamenu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.megamenu-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.mm-feature {
  background: linear-gradient(160deg, var(--c-navy) 0%, var(--c-navy-800) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  min-height: 220px;
}
.mm-feature.red    { background: linear-gradient(160deg, var(--c-red) 0%, var(--c-red-700) 100%); }
.mm-feature.cyan   { background: linear-gradient(160deg, var(--c-cyan) 0%, var(--c-navy) 100%); }
.mm-feature.yellow { background: linear-gradient(160deg, var(--c-yellow) 0%, var(--c-yellow-600) 100%); color: var(--c-navy); }
.mm-feature::before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, var(--c-yellow) 0%, transparent 70%);
  opacity: .25; pointer-events: none;
}
.mm-feature h4 {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  line-height: 1.2; margin-bottom: 10px;
}
.mm-feature p { font-size: 13px; opacity: .85; line-height: 1.5; margin-bottom: 18px; }
.mm-feature .mm-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--c-yellow);
}
.mm-feature.yellow .mm-arrow { color: var(--c-navy); }
.mm-col h5 {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--c-ink-3); margin-bottom: 14px; font-weight: 500;
}
.mm-col ul { display: flex; flex-direction: column; gap: 4px; }
.mm-col a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; margin: -8px -10px;
  border-radius: 8px; font-size: 14px;
  color: var(--c-ink);
  transition: background .15s;
}
.mm-col a:hover { background: var(--c-line-2); color: var(--c-navy); }
.mm-col a .ic {
  width: 28px; height: 28px;
  border-radius: 8px; display: grid; place-items: center;
  background: var(--c-line-2); flex-shrink: 0;
}
.mm-col a .ic svg,
.mm-col a .ic .material-symbols-outlined { width: 14px; height: 14px; color: var(--c-navy); font-size: 16px; }
.mm-col a:hover .ic { background: var(--c-navy); }
.mm-col a:hover .ic svg,
.mm-col a:hover .ic .material-symbols-outlined { color: var(--c-yellow); }

@media (max-width: 980px) { .megamenu { display: none; } }

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.mobile-menu.open { display: block; }
.mobile-menu .container { padding-top: 16px; padding-bottom: 16px; }
.mobile-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 15px; color: var(--c-ink);
}
.mobile-menu a:hover { background: var(--c-line-2); }
.mobile-menu .sub { padding-left: 24px; border-left: 2px solid var(--c-line); margin-left: 12px; }
.mobile-menu .sub a { font-size: 14px; color: var(--c-ink-2); }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--c-navy); color: #fff; }
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(30,42,94,.30); }
.btn-accent { background: var(--c-red); color: #fff; }
.btn-accent:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(230,51,41,.35); }
.btn-yellow { background: var(--c-yellow); color: var(--c-navy); }
.btn-yellow:hover:not(:disabled) { background: #FFD24A; box-shadow: 0 8px 24px rgba(244,185,26,.30); transform: translateY(-1px); }
.btn-cyan { background: var(--c-cyan); color: #fff; }
.btn-cyan:hover:not(:disabled) { background: var(--c-cyan-700); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--c-ink); border-color: var(--c-line); }
.btn-ghost:hover:not(:disabled) { background: var(--c-line-2); border-color: var(--c-line-2); }
.btn-outline-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.btn-outline-dark:hover { background: rgba(255,255,255,.1); }
.btn-link { background: transparent; color: var(--c-navy); padding: 6px 0; }
.btn-link:hover { color: var(--c-red); }
.btn-danger { background: var(--c-err); color: #fff; }
.btn-danger:hover { background: #B91C1C; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ============================================================
   PILLS / BADGES
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px; padding: 3px 8px;
  border-radius: 99px;
  background: var(--c-yellow); color: var(--c-navy);
  font-weight: 600; letter-spacing: .02em;
}
.badge-navy   { background: var(--c-navy); color: #fff; }
.badge-red    { background: var(--c-red); color: #fff; }
.badge-cyan   { background: var(--c-cyan); color: #fff; }
.badge-soft   { background: var(--c-line-2); color: var(--c-ink-2); }
.badge-ok     { background: rgba(46,171,85,.15); color: #1E7A3D; }
.badge-warn   { background: rgba(244,185,26,.18); color: #8A6A00; }
.badge-err    { background: rgba(220,38,38,.12); color: #B91C1C; }

/* ============================================================
   SECTION / EYEBROW
   ============================================================ */
section.block { padding: 88px 0; }
@media (max-width: 760px) { section.block { padding: 56px 0; } }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 40px; gap: 24px; flex-wrap: wrap;
}
.section-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-red); font-weight: 500;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow .line {
  width: 28px; height: 1px; background: var(--c-red);
  display: inline-block;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 600; letter-spacing: -.02em;
  line-height: 1.05; max-width: 600px;
}
.section-head .sub {
  color: var(--c-ink-2); font-size: 15px;
  max-width: 380px; line-height: 1.5;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; padding: 56px 0 80px; overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--c-bg) 100%);
}
.hero::before {
  content: ""; position: absolute; right: -200px; top: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,175,224,.18) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -150px; bottom: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244,185,26,.12) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 99px;
  background: rgba(30,42,94,.06);
  font-size: 13px; color: var(--c-navy); font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 700; line-height: 1.02; letter-spacing: -.025em;
  margin-bottom: 22px; text-wrap: balance;
}
.hero h1 .accent { color: var(--c-red); }
.hero h1 .accent-2 {
  background: linear-gradient(120deg, var(--c-cyan), var(--c-navy));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 18px; line-height: 1.55;
  color: var(--c-ink-2);
  margin-bottom: 32px; max-width: 520px;
}
.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-ctas .btn { padding: 14px 22px; font-size: 15px; }
.hero-stats {
  display: flex; gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700; letter-spacing: -.02em;
  color: var(--c-navy);
}
.hero-stat .lbl { font-size: 12px; color: var(--c-ink-3); margin-top: 2px; }

/* Hero visual stack */
.hero-visual { position: relative; height: 540px; }
@media (max-width: 980px) { .hero-visual { height: 460px; } }
.hv-card {
  position: absolute;
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.hv-card.main {
  inset: 20px 40px 60px 0;
  background: linear-gradient(150deg, var(--c-navy) 0%, var(--c-navy-800) 60%, var(--c-cyan) 130%);
  color: #fff; padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hv-card.main::before {
  content: ""; position: absolute;
  right: -60px; top: -60px; width: 240px; height: 240px;
  border: 1px solid rgba(255,255,255,.10); border-radius: 50%;
}
.hv-card.main::after {
  content: ""; position: absolute;
  right: -120px; top: -120px; width: 360px; height: 360px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 50%;
}
.hv-tag {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .15em; text-transform: uppercase;
  opacity: .7; margin-bottom: 14px;
}
.hv-card.main h3 {
  font-family: var(--font-display); font-size: 28px; font-weight: 600;
  line-height: 1.15; margin-bottom: 12px; max-width: 320px;
}
.hv-card.main p { font-size: 14px; opacity: .85; line-height: 1.5; max-width: 340px; }
.hv-card.main .hv-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; opacity: .85;
}
.hv-meta .pill-yellow {
  background: var(--c-yellow); color: var(--c-navy);
  padding: 4px 10px; border-radius: 99px; font-weight: 600;
}
.hv-card.alert {
  bottom: 0; right: 0;
  width: 280px; padding: 18px;
  background: #fff;
}
.hv-card.alert .ttl {
  font-size: 11px; font-family: var(--font-mono);
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--c-red); margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.hv-card.alert .ttl .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-red); position: relative;
}
.hv-card.alert .ttl .pulse::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%; background: var(--c-red); opacity: .3;
  animation: hvPulse 1.6s ease-out infinite;
}
@keyframes hvPulse {
  from { transform: scale(1); opacity: .3; }
  to   { transform: scale(2.5); opacity: 0; }
}
.hv-card.alert h4 { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.hv-card.alert p { font-size: 12px; color: var(--c-ink-3); }
.hv-card.weather {
  top: 0; right: 0;
  width: 200px; padding: 16px 18px;
  background: #fff;
}
.hv-card.weather .row { display: flex; justify-content: space-between; align-items: center; }
.hv-card.weather .temp {
  font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1;
}
.hv-card.weather .city { font-size: 13px; color: var(--c-ink-2); margin-top: 4px; }
.hv-card.weather .date {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-ink-3); margin-top: 8px;
}

.hero-slider-nav {
  position: absolute; left: 0; bottom: 30px;
  display: flex; gap: 8px; align-items: center;
}
.hero-slider-nav .dot {
  width: 28px; height: 4px; border-radius: 99px;
  background: rgba(30,42,94,.15);
  transition: background .25s, width .25s;
  cursor: pointer;
}
.hero-slider-nav .dot.active { background: var(--c-red); width: 44px; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services {
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.services-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
.service {
  position: relative;
  padding: 28px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column; gap: 18px;
  overflow: hidden;
  color: inherit;
}
.service::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--bar, var(--c-red));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service .ic-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--ic-bg, rgba(230,51,41,.08));
}
.service .ic-wrap svg,
.service .ic-wrap .material-symbols-outlined {
  width: 22px; height: 22px; font-size: 24px;
  color: var(--ic-color, var(--c-red));
}
.service h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; line-height: 1.25;
}
.service p { font-size: 13px; color: var(--c-ink-3); line-height: 1.45; }
.service .arrow {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--c-ink-2);
  transition: gap .2s, color .2s;
}
.service:hover .arrow { gap: 10px; color: var(--ic-color, var(--c-red)); }

/* Variantes de acento por servicio */
.service.acc-red    { --ic-color: var(--c-red);    --ic-bg: rgba(230,51,41,.10); --bar: var(--c-red); }
.service.acc-navy   { --ic-color: var(--c-navy);   --ic-bg: rgba(30,42,94,.10);  --bar: var(--c-navy); }
.service.acc-cyan   { --ic-color: var(--c-cyan);   --ic-bg: rgba(59,175,224,.14);--bar: var(--c-cyan); }
.service.acc-yellow { --ic-color: var(--c-yellow-600); --ic-bg: rgba(244,185,26,.18); --bar: var(--c-yellow); }

/* ============================================================
   GOBIERNO / ORGANISMOS
   ============================================================ */
.gobierno { background: var(--c-bg); }
.gob-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: stretch;
}
@media (max-width: 980px) { .gob-grid { grid-template-columns: 1fr; } }
.gob-card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.gob-portrait {
  position: relative; aspect-ratio: 16/10;
  background: repeating-linear-gradient(135deg, #d8dce8 0 8px, #e6e9f0 8px 16px);
  display: flex; align-items: end; padding: 28px;
  overflow: hidden;
}
.gob-portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.gob-portrait .ph-label {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.95);
  padding: 5px 9px; border-radius: 6px; color: var(--c-ink-3);
}
.gob-card-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.gob-card-body .role {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--c-ink-3); margin-bottom: 8px;
}
.gob-card-body h3 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 600;
  margin-bottom: 14px; letter-spacing: -.01em;
}
.gob-card-body blockquote {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 400; line-height: 1.45;
  color: var(--c-ink);
  border-left: 3px solid var(--c-yellow);
  padding-left: 18px; margin: 0 0 24px;
}
.gob-card-body .signature {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--c-line);
}
.gob-card-body .signature .name { font-weight: 600; }
.gob-card-body .signature .title { font-size: 12px; color: var(--c-ink-3); }

.organismos h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600; margin-bottom: 18px;
}
.organismos p.intro {
  color: var(--c-ink-2); font-size: 14px;
  line-height: 1.5; margin-bottom: 22px;
}
.org-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.org-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  transition: all .25s;
}
.org-card:hover {
  border-color: var(--c-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.org-card .badge {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--c-navy); color: var(--c-yellow);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.org-card.acc-red    .badge { background: var(--c-red);    color: #fff; }
.org-card.acc-cyan   .badge { background: var(--c-cyan);   color: #fff; }
.org-card.acc-yellow .badge { background: var(--c-yellow); color: var(--c-navy); }
.org-card .info .nm { font-weight: 600; font-size: 14px; }
.org-card .info .ds { font-size: 12px; color: var(--c-ink-3); }

/* ============================================================
   NOTICIAS
   ============================================================ */
.noticias {
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
}
.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}
@media (max-width: 1100px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  transition: transform .3s, box-shadow .3s;
  color: inherit;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card .img {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  background: var(--c-line-2);
}
.news-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .img img { transform: scale(1.04); }
.news-card.feat { grid-row: span 2; }
.news-card.feat .img { aspect-ratio: 16/12; }
.img.ph-1 { background: repeating-linear-gradient(135deg, #fbe1de 0 8px, #f6cdc8 8px 16px); }
.img.ph-2 { background: repeating-linear-gradient(135deg, #fdeec1 0 8px, #fbe49a 8px 16px); }
.img.ph-3 { background: repeating-linear-gradient(135deg, #d6ecf7 0 8px, #b9def0 8px 16px); }
.img.ph-4 { background: repeating-linear-gradient(135deg, #d4d8e8 0 8px, #b2b8d0 8px 16px); }
.img.ph-5 { background: repeating-linear-gradient(135deg, #e0eaff 0 8px, #c2d2fa 8px 16px); }
.news-card .img .ph-tag {
  position: absolute; bottom: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.95);
  padding: 4px 8px; border-radius: 6px; color: var(--c-ink-3);
}
.news-card .img .cat {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; font-weight: 600;
  padding: 5px 11px; border-radius: 99px;
  background: var(--c-navy); color: #fff;
}
.news-card .img .cat.red    { background: var(--c-red);    color: #fff; }
.news-card .img .cat.yellow { background: var(--c-yellow); color: var(--c-navy); }
.news-card .img .cat.cyan   { background: var(--c-cyan);   color: #fff; }
.news-card .body {
  padding: 22px; flex: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.news-card .meta {
  font-size: 12px; color: var(--c-ink-3);
  display: flex; gap: 8px; align-items: center;
}
.news-card .meta .dot {
  width: 3px; height: 3px; border-radius: 50%; background: var(--c-ink-3);
}
.news-card h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600; line-height: 1.25;
  letter-spacing: -.005em;
}
.news-card.feat h3 { font-size: 26px; }
.news-card p { font-size: 14px; color: var(--c-ink-2); line-height: 1.5; }
.news-card .arrow {
  margin-top: auto; padding-top: 8px;
  font-size: 13px; font-weight: 600; color: var(--c-navy);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.news-card:hover .arrow { gap: 12px; }

/* ============================================================
   MAPA / ALERTAS
   ============================================================ */
.mapa { background: var(--c-bg); }
.mapa-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}
@media (max-width: 980px) { .mapa-grid { grid-template-columns: 1fr; } }
.map-canvas {
  position: relative; aspect-ratio: 16/10;
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #f0f3fa 0%, #e6ebf5 100%);
  border: 1px solid var(--c-line);
}
.map-canvas iframe,
.map-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.alertas-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column;
}
.alertas-panel h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 4px;
}
.alertas-panel h3::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 4px rgba(74,222,128,.2);
}
.alertas-panel .sub {
  font-size: 13px; color: var(--c-ink-3); margin-bottom: 20px;
}
.alerta-item {
  padding: 14px 0;
  border-top: 1px solid var(--c-line);
  display: flex; gap: 14px; align-items: start;
}
.alerta-item:last-child { padding-bottom: 0; }
.alerta-item .ic {
  width: 36px; height: 36px;
  border-radius: 10px; display: grid; place-items: center;
  flex-shrink: 0;
}
.alerta-item .ic svg,
.alerta-item .ic .material-symbols-outlined { width: 16px; height: 16px; font-size: 18px; }
.alerta-item.warn .ic { background: rgba(244,185,26,.15); }
.alerta-item.warn .ic svg, .alerta-item.warn .ic .material-symbols-outlined { color: var(--c-warn); }
.alerta-item.info .ic { background: rgba(59,175,224,.12); }
.alerta-item.info .ic svg, .alerta-item.info .ic .material-symbols-outlined { color: var(--c-cyan); }
.alerta-item.success .ic { background: rgba(74,222,128,.12); }
.alerta-item.success .ic svg, .alerta-item.success .ic .material-symbols-outlined { color: var(--c-ok); }
.alerta-item .body { flex: 1; }
.alerta-item .body .ttl { font-weight: 600; font-size: 14px; }
.alerta-item .body .desc { font-size: 12.5px; color: var(--c-ink-2); margin-top: 2px; line-height: 1.4; }
.alerta-item .body .time {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-ink-3); margin-top: 6px;
}
.alertas-panel .footer-act {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--c-line);
  display: flex; gap: 10px;
}
.alertas-panel .footer-act .btn { flex: 1; justify-content: center; padding: 10px; font-size: 13px; }

/* ============================================================
   STRIP CTA (transparencia, banner ancho oscuro)
   ============================================================ */
.strip-cta {
  background: var(--c-navy); color: #fff;
  padding: 60px 0;
  position: relative; overflow: hidden;
}
.strip-cta::before {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--c-red) 0%, transparent 70%);
  opacity: .3; pointer-events: none;
}
.strip-cta::after {
  content: ""; position: absolute; left: 30%; bottom: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--c-cyan) 0%, transparent 70%);
  opacity: .25; pointer-events: none;
}
.strip-cta .container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
}
@media (max-width: 760px) { .strip-cta .container { grid-template-columns: 1fr; } }
.strip-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.15;
  max-width: 720px;
}
.strip-cta p { color: rgba(255,255,255,.7); font-size: 15px; margin-top: 10px; max-width: 560px; }
.strip-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.strip-cta .btn-primary { background: var(--c-yellow); color: var(--c-navy); }
.strip-cta .btn-primary:hover { background: #FFD24A; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-navy-900);
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 56px;
}
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img {
  background: #fff; padding: 14px;
  border-radius: 14px;
  max-width: 220px; margin-bottom: 20px;
}
.foot-brand p { font-size: 13px; line-height: 1.55; }
.foot-col h5 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  margin-bottom: 16px; letter-spacing: .02em;
}
.foot-col ul { display: flex; flex-direction: column; gap: 8px; }
.foot-col a { font-size: 13px; transition: color .2s; }
.foot-col a:hover { color: var(--c-yellow); }
.foot-col .contact-row { font-size: 13px; line-height: 1.55; margin-bottom: 12px; }
.foot-col .contact-row b {
  display: block; color: #fff; font-weight: 500;
  margin-bottom: 2px; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
}

.foot-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; font-size: 12px;
}
.social { display: flex; gap: 8px; }
.social a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  transition: background .2s, color .2s;
  color: rgba(255,255,255,.85);
}
.social a:hover { background: var(--c-yellow); color: var(--c-navy); }
.social a svg,
.social a .material-symbols-outlined { width: 16px; height: 16px; font-size: 18px; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   CARDS / SURFACES (genéricos para páginas internas)
   ============================================================ */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px;
}
.card-lg { padding: 32px; border-radius: var(--radius-lg); }
.card-hover { transition: transform .3s, box-shadow .3s, border-color .2s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.surface { background: var(--c-surface); }
.divider { height: 1px; background: var(--c-line); border: 0; margin: 24px 0; }

/* ============================================================
   FORMULARIOS
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-ink-3);
  font-weight: 600;
}
.input, .select, .textarea {
  width: 100%;
  background: var(--c-surface);
  color: var(--c-ink);
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--c-navy);
  box-shadow: 0 0 0 4px rgba(30,42,94,.10);
}
.input::placeholder { color: var(--c-ink-3); }
.textarea { min-height: 110px; resize: vertical; }
.input-pill { letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.field-error .input,
.field-error .select,
.field-error .textarea { border-color: var(--c-err); }
.help { font-size: 12px; color: var(--c-ink-3); margin-top: 4px; }
.err  { font-size: 12px; color: var(--c-err); margin-top: 4px; }

.checkbox-row {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; user-select: none;
  font-size: 14px;
}
.checkbox-row input[type="checkbox"] { accent-color: var(--c-navy); width: 16px; height: 16px; }

/* ============================================================
   TABLAS
   ============================================================ */
.table-wrap {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface);
}
table.table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
table.table th {
  text-align: left;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--c-ink-3);
  padding: 12px 14px;
  background: var(--c-line-2);
  border-bottom: 1px solid var(--c-line);
}
table.table td {
  padding: 14px;
  border-bottom: 1px solid var(--c-line-2);
  vertical-align: middle;
}
table.table tr:last-child td { border-bottom: 0; }
table.table tbody tr { transition: background .15s; }
table.table tbody tr:hover { background: var(--c-line-2); }
table.table .num { font-variant-numeric: tabular-nums; }

/* ============================================================
   TOAST / FLASH
   ============================================================ */
.toast {
  position: fixed; top: 24px; right: 24px; z-index: 9999;
  background: var(--c-navy); color: #fff;
  padding: 14px 18px; border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  animation: toastIn .35s cubic-bezier(.2,.9,.25,1);
}
.toast.err { background: var(--c-err); }
.toast.ok  { background: var(--c-ok); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(14,20,48,.55);
  backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%; max-width: 540px;
  max-height: 86vh; overflow-y: auto;
  padding: 28px;
  animation: modalIn .3s cubic-bezier(.2,.9,.25,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* ============================================================
   FLOATING SIDE BAR (chat, redes)
   ============================================================ */
.fl-bar {
  position: fixed; right: 14px; top: 50%;
  transform: translateY(-50%); z-index: 60;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: all .35s cubic-bezier(.2,.9,.25,1);
}
.fl-bar.collapsed .fl-items { max-height: 0; opacity: 0; overflow: hidden; padding: 0; margin: 0; pointer-events: none; }
.fl-items {
  display: flex; flex-direction: column; gap: 10px;
  padding: 12px 8px;
  background: #fff;
  border-radius: 9999px;
  box-shadow: var(--shadow-md);
  transition: all .35s ease;
}
.fl-item { position: relative; }
.fl-link {
  width: 44px; height: 44px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--c-navy);
  border: 1.5px solid var(--c-line);
  background: #fff;
  transition: all .2s ease;
}
.fl-link:hover { color: #fff; background: var(--fl-color, var(--c-navy)); border-color: transparent; transform: scale(1.08); }
.fl-item.fl-chat .fl-link { background: var(--c-red); color: #fff; border-color: transparent; }
.fl-item.fl-chat .fl-link:hover { background: var(--c-red-700); }
.fl-tooltip {
  position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--c-navy); color: #fff;
  padding: 5px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
  pointer-events: none; opacity: 0;
  transition: all .2s ease;
}
.fl-item:hover .fl-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }
.fl-collapse {
  width: 32px; height: 32px; border-radius: 9999px;
  background: #fff; border: 1.5px solid var(--c-line); color: var(--c-navy);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .25s ease, background .2s ease;
}
.fl-collapse:hover { background: var(--c-line-2); }
.fl-bar.collapsed .fl-collapse .material-symbols-outlined { transform: rotate(180deg); }
.fl-collapse .material-symbols-outlined { font-size: 20px; transition: transform .25s ease; }
@media (max-width: 640px) {
  .fl-bar { right: 10px; top: auto; bottom: 10px; transform: none; }
  .fl-link { width: 40px; height: 40px; }
}

/* ============================================================
   CHAT WIDGET
   ============================================================ */
.chat-widget { position: fixed; right: 14px; bottom: 14px; z-index: 70; pointer-events: none; }
.chat-widget.open { pointer-events: auto; }
.chat-panel {
  width: 340px; max-width: calc(100vw - 28px);
  max-height: 520px; height: 70vh;
  background: var(--c-surface);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(20px) scale(.95); opacity: 0;
  transition: all .3s cubic-bezier(.2,.9,.25,1);
}
.chat-widget.open .chat-panel { transform: translateY(0) scale(1); opacity: 1; }
.chat-head {
  background: linear-gradient(135deg, var(--c-navy), var(--c-navy-900));
  color: #fff;
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.2; }
.chat-sub { font-size: 11px; opacity: .8; margin-top: 2px; }
.chat-close {
  width: 32px; height: 32px; border-radius: 9999px;
  background: rgba(255,255,255,.15); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.chat-close:hover { background: rgba(255,255,255,.25); }
.chat-body {
  flex: 1; overflow-y: auto;
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  background: var(--c-bg);
}
.chat-msg {
  max-width: 80%; padding: 8px 12px;
  border-radius: 14px;
  font-size: 14px; line-height: 1.4; word-wrap: break-word;
}
.chat-msg-bot, .chat-msg-admin {
  background: #fff; color: var(--c-ink);
  border: 1px solid var(--c-line);
  align-self: flex-start; border-bottom-left-radius: 4px;
}
.chat-msg-user {
  background: var(--c-navy); color: #fff;
  align-self: flex-end; border-bottom-right-radius: 4px;
}
.chat-msg-time { font-size: 10px; opacity: .6; margin-top: 2px; }
.chat-identify {
  display: flex; gap: 6px; padding: 8px;
  background: #fff; border-top: 1px solid var(--c-line);
}
.chat-input-identify {
  flex: 1; border: 1px solid var(--c-line); border-radius: 8px;
  padding: 6px 10px; font-size: 12px; background: var(--c-bg);
}
.chat-form { display: flex; padding: 10px; background: #fff; border-top: 1px solid var(--c-line); gap: 6px; }
.chat-input {
  flex: 1; border: 1px solid var(--c-line);
  border-radius: 9999px;
  padding: 8px 14px; font-size: 14px; background: var(--c-bg); outline: none;
}
.chat-input:focus { border-color: var(--c-navy); background: #fff; }
.chat-send {
  width: 40px; height: 40px; border-radius: 9999px;
  background: var(--c-navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.chat-send:hover { background: var(--c-navy-900); }

/* ============================================================
   UTILIDADES (subset, mantener compacto)
   ============================================================ */
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 17px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-navy { color: var(--c-navy); }
.text-red { color: var(--c-red); }
.text-cyan { color: var(--c-cyan); }
.text-yellow { color: var(--c-yellow-600); }
.text-muted { color: var(--c-ink-3); }
.text-ink-2 { color: var(--c-ink-2); }
.text-white { color: #fff; }
.bg-bg { background: var(--c-bg); }
.bg-surface { background: var(--c-surface); }
.bg-navy { background: var(--c-navy); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none !important; }
@media (max-width: 760px) {
  .md\\:hidden { display: none !important; }
}
@media (min-width: 761px) {
  .md\\:block { display: block; }
}

/* ============================================================
   IMPRESIÓN
   ============================================================ */
@media print {
  .site-header, .site-footer, .topstrip, .fl-bar, .chat-widget, .no-print { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .container { max-width: 100% !important; padding: 0 !important; }
}
