/* ================================================================
   TEEM 2025 — Sistema de Diseno Institucional
   Manual de Identidad · Tribunal Electoral del Estado de Mexico

   Este archivo se carga DESPUES del CSS existente.
   Aplica la nueva identidad visual (morado, Fira Sans, componentes)
   sin romper la estructura de paginas internas.
================================================================ */

/* ================================================================
   TOKENS
================================================================ */
:root {
  /* Paleta institucional oficial */
  --morado-dark:   #591070;
  --morado:        #722282;   /* Pantone 2603C — acento principal */
  --morado-mid:    #863399;   /* Pantone 2593C */
  --morado-light:  #a25eb5;   /* Pantone 2583C */
  --morado-soft:   #c9a0d8;
  --morado-pale:   #f3eaf7;
  --morado-ghost:  #faf5fc;

  /* Grises institucionales */
  --gris1: #54565a;   /* Cool Gray 11C — texto cuerpo */
  --gris2: #757679;   /* Cool Gray 9C */
  --gris3: #b3b3b7;   /* Cool Gray 5C */
  --gris4: #dcdcde;
  --gris5: #f5f5f6;

  --white: #ffffff;
  --ink:   #1a1a1e;

  /* Tipografia */
  --font: 'Fira Sans', system-ui, -apple-system, sans-serif;

  /* Escala tipografica */
  --tx-xs:   .6875rem;
  --tx-sm:   .8125rem;
  --tx-base: 1rem;
  --tx-lg:   1.125rem;
  --tx-xl:   1.25rem;
  --tx-2xl:  1.5rem;
  --tx-3xl:  1.875rem;
  --tx-4xl:  2.25rem;
  --tx-5xl:  3rem;

  /* Layout */
  --max-w: 1280px;
  --pad:   clamp(1.25rem, 5vw, 3rem);
  --hh:    96px;

  /* Radios */
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px;
  --r-xl: 24px; --r-2xl: 32px; --r-pill: 9999px;

  /* Sombras */
  --sh-xs: 0 1px 3px rgba(0,0,0,.06);
  --sh-sm: 0 2px 8px rgba(0,0,0,.08);
  --sh-md: 0 8px 24px rgba(0,0,0,.1);
  --sh-lg: 0 16px 48px rgba(0,0,0,.12);
  --sh-pur: 0 8px 32px rgba(114,34,130,.18);

  /* Transiciones */
  --ease: cubic-bezier(.16,1,.3,1);
  --tf: 150ms; --tb: 250ms; --ts: 400ms;
}

/* ================================================================
   RESET MINIMO (no destructivo — complementa Bootstrap si existe)
================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, svg { max-width: 100%; }

/* ================================================================
   TIPOGRAFIA GLOBAL
   Sobreescribe Montserrat/Lora del sitio actual con Fira Sans
================================================================ */
body {
  font-family: var(--font) !important;
  color: var(--gris1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.tituloSeccion,
.magistradoTitulo,
.txtInfo,
.card-title {
  font-family: var(--font) !important;
  color: var(--ink);
}

a { transition: color var(--tf); }

/* ================================================================
   ACCESIBILIDAD
================================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 9999;
  padding: .5rem 1.25rem; background: var(--morado); color: var(--white);
  font-family: var(--font); font-weight: 700; border-radius: var(--r-md);
  transform: translateY(calc(-100% - 20px));
  transition: transform var(--tb) var(--ease);
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--morado-light);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ================================================================
   CONTAINER
================================================================ */
.teem-container {
  width: 100%; max-width: var(--max-w);
  margin-inline: auto; padding-inline: var(--pad);
}

/* ================================================================
   TOPBAR
================================================================ */
.teem-topbar {
  background: var(--morado-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.teem-topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px; gap: 1rem;
  max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad);
}
.teem-topbar__left { display: flex; align-items: center; gap: 1.25rem; }
.teem-topbar__gov {
  display: flex; align-items: center; gap: .375rem;
  font-size: 11px; color: rgba(255,255,255,.65); font-weight: 500;
}
.teem-topbar__sep { width: 1px; height: 12px; background: rgba(255,255,255,.18); }
.teem-topbar__links { display: flex; gap: 1.25rem; }
.teem-topbar__links a {
  font-size: 11px; color: rgba(255,255,255,.5); font-weight: 500;
  text-decoration: none; transition: color var(--tf);
}
.teem-topbar__links a:hover { color: rgba(255,255,255,.9); }

.teem-topbar__a11y { display: flex; gap: .375rem; }
.teem-topbar__a11y button {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 3px; padding: 1px 7px; cursor: pointer;
  color: rgba(255,255,255,.6); font-size: 10px; font-family: var(--font);
  font-weight: 600; transition: all var(--tf);
}
.teem-topbar__a11y button:hover {
  background: rgba(255,255,255,.18); color: var(--white);
}

/* ================================================================
   HEADER
================================================================ */
.teem-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gris4);
  height: var(--hh);
  transition: box-shadow var(--tb);
}
.teem-header.scrolled {
  box-shadow: var(--sh-md);
  border-bottom-color: transparent;
}
.teem-header__inner {
  display: flex; align-items: center; height: 100%; gap: 1.5rem;
  max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad);
}

.teem-logo {
  display: flex; align-items: center; flex-shrink: 0; text-decoration: none;
  margin-right: 1rem;
}
.teem-logo img {
  height: 80px; width: auto; max-width: 320px;
}

/* ================================================================
   NAVEGACION PRINCIPAL
================================================================ */
.teem-nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.teem-nav__list {
  display: flex; align-items: center; gap: 1px;
  list-style: none; margin: 0; padding: 0;
}
.teem-nav__item { position: relative; }
.teem-nav__link {
  display: flex; align-items: center; gap: 3px; white-space: nowrap;
  padding: .5rem .75rem; font-size: var(--tx-sm); font-weight: 500;
  color: var(--gris1); border-radius: var(--r-md);
  transition: all var(--tf); text-decoration: none;
}
.teem-nav__link:hover,
.teem-nav__link[aria-current] {
  color: var(--morado); background: var(--morado-ghost);
}
.teem-nav__link svg {
  width: 10px; height: 10px; fill: none; stroke: currentColor;
  stroke-width: 2; transition: transform var(--tf);
}
.teem-nav__item:hover .teem-nav__link svg { transform: rotate(180deg); }

/* Dropdown — bridge invisible para evitar cierre accidental */
.teem-nav__item[aria-haspopup]::after {
  content: ''; position: absolute; left: 0; right: 0;
  top: 100%; height: 12px; /* puente entre link y dropdown */
}
.teem-nav__dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px; background: var(--white);
  border: 1px solid var(--gris4); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: .375rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--tb) var(--ease), transform var(--tb) var(--ease), visibility 0s linear var(--tb);
  list-style: none; margin: 0; z-index: 200;
}
.teem-nav__item:hover > .teem-nav__dropdown,
.teem-nav__item:focus-within > .teem-nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity var(--tb) var(--ease), transform var(--tb) var(--ease), visibility 0s linear 0s;
}
.teem-nav__dropdown a {
  display: block; padding: .5rem .75rem;
  font-size: var(--tx-sm); color: var(--gris1); border-radius: var(--r-md);
  transition: all var(--tf); text-decoration: none;
}
.teem-nav__dropdown a:hover {
  background: var(--morado-ghost); color: var(--morado);
}

.teem-header__actions { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }

/* Hamburger toggle */
.teem-nav-toggle {
  display: none; background: transparent;
  border: 1.5px solid var(--gris4); border-radius: var(--r-md);
  padding: .5rem; cursor: pointer; color: var(--gris1);
}
.teem-nav-toggle svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round;
}

/* ================================================================
   MOBILE MENU
================================================================ */
.teem-mob-menu { display: none; position: fixed; inset: 0; z-index: 200; }
.teem-mob-menu.open { display: block; }
.teem-mob-backdrop {
  position: absolute; inset: 0;
  background: rgba(26,26,30,.7); backdrop-filter: blur(6px);
}
.teem-mob-panel {
  position: absolute; top: 0; right: 0; width: min(340px, 92%);
  height: 100%; background: var(--white); padding: 1.5rem;
  overflow-y: auto; display: flex; flex-direction: column; gap: 1.5rem;
}
.teem-mob-head { display: flex; align-items: center; justify-content: space-between; }
.teem-mob-close {
  background: transparent; border: 1.5px solid var(--gris4);
  border-radius: var(--r-md); padding: .5rem; cursor: pointer; color: var(--gris1);
}
.teem-mob-close svg {
  width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round;
}
.teem-mob-nav { display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 0; }
.teem-mob-link {
  display: block; padding: .75rem 1rem; font-size: var(--tx-base);
  font-weight: 500; color: var(--gris1); border-radius: var(--r-md);
  transition: background var(--tf); text-decoration: none;
}
.teem-mob-link:hover { background: var(--morado-ghost); color: var(--morado); }
.teem-mob-link--hl { color: var(--morado); font-weight: 700; }

/* Submenús móvil expandibles */
.teem-mob-group { border-radius: var(--r-md); }
.teem-mob-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; border: none; background: transparent; cursor: pointer;
  font-family: var(--font); text-align: left;
}
.teem-mob-chevron {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 2; flex-shrink: 0;
  transition: transform var(--tb) var(--ease);
}
.teem-mob-toggle[aria-expanded="true"] .teem-mob-chevron { transform: rotate(180deg); }
.teem-mob-toggle[aria-expanded="true"] { color: var(--morado); background: var(--morado-ghost); }
.teem-mob-sub {
  display: flex; flex-direction: column; gap: 1px;
  padding: .25rem 0 .25rem .75rem;
  border-left: 2px solid var(--morado-pale); margin-left: 1rem;
}
.teem-mob-sublink {
  display: block; padding: .5rem .75rem; font-size: var(--tx-sm);
  color: var(--gris2); border-radius: var(--r-md);
  text-decoration: none; transition: all var(--tf);
}
.teem-mob-sublink:hover { background: var(--morado-ghost); color: var(--morado); }

/* ================================================================
   BOTONES
================================================================ */
.teem-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .625rem 1.25rem; font-family: var(--font); font-size: var(--tx-xs);
  font-weight: 600; line-height: 1; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--tb) var(--ease); white-space: nowrap;
  text-decoration: none;
}
.teem-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.teem-btn--lg { padding: .875rem 2rem; font-size: var(--tx-base); }
.teem-btn--md { padding: .75rem 1.5rem; font-size: var(--tx-sm); }

.teem-btn--primary { background: var(--morado); color: var(--white); border-color: var(--morado); }
.teem-btn--primary:hover {
  background: var(--morado-dark); border-color: var(--morado-dark);
  box-shadow: var(--sh-pur); transform: translateY(-2px); color: var(--white);
}

.teem-btn--outline { background: transparent; color: var(--morado); border-color: var(--morado); }
.teem-btn--outline:hover { background: var(--morado-pale); color: var(--morado); }

.teem-btn--outline-gray { background: transparent; color: var(--gris1); border-color: var(--gris4); }
.teem-btn--outline-gray:hover { border-color: var(--gris3); background: var(--gris5); color: var(--ink); }

.teem-btn--white { background: var(--white); color: var(--morado); border-color: var(--white); }
.teem-btn--white:hover { background: var(--morado-pale); border-color: var(--morado-soft); color: var(--morado); }

.teem-btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.teem-btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); color: var(--white); }

.teem-btn--ghost { background: transparent; border-color: transparent; color: var(--gris1); padding: .75rem; }
.teem-btn--ghost:hover { background: var(--gris5); color: var(--morado); }

/* ================================================================
   EYEBROW (etiqueta de seccion)
================================================================ */
.teem-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--tx-xs); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--morado);
  padding: .25rem .875rem; background: var(--morado-pale);
  border-radius: var(--r-pill); border: 1px solid rgba(114,34,130,.15);
}

/* ================================================================
   CARDS
================================================================ */
.teem-card {
  background: var(--white); border: 1.5px solid var(--gris4);
  border-radius: var(--r-xl); padding: 1.375rem;
  transition: all var(--tb) var(--ease); text-decoration: none;
  display: block;
}
.teem-card:hover {
  border-color: var(--morado-light); box-shadow: var(--sh-pur);
  transform: translateY(-3px);
}

.teem-card__icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--morado-pale); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: background var(--tb);
}
.teem-card__icon svg,
.teem-card__icon img { width: 24px; height: 24px; }
.teem-card:hover .teem-card__icon { background: var(--morado); }
.teem-card:hover .teem-card__icon svg { stroke: var(--white); fill: var(--white); }

.teem-card__title { font-size: var(--tx-sm); font-weight: 700; color: var(--ink); line-height: 1.3; }
.teem-card__desc { font-size: var(--tx-xs); color: var(--gris2); line-height: 1.6; margin-top: .25rem; }

/* ================================================================
   SECTION HEADER
================================================================ */
.teem-section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; gap: 1rem; flex-wrap: wrap;
}
.teem-section-title {
  font-size: clamp(1.875rem, 2.8vw, 2.5rem); font-weight: 800;
  color: var(--ink); margin-top: .5rem; letter-spacing: -.02em;
}

/* ================================================================
   BADGES
================================================================ */
.teem-badge {
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700;
}
.teem-badge--pur { background: var(--morado-pale); color: var(--morado); }
.teem-badge--green { background: rgba(34,197,94,.1); color: #16a34a; }
.teem-badge--gray { background: var(--gris5); color: var(--gris2); }

/* ================================================================
   TEXTURA FLOR — Pattern institucional
   Usa el asset real (degradado.png) exportado del manual de identidad.
================================================================ */
:root {
  --flor-bg: url("../brand/degradado.png");
  --flor-size: 600px auto;
}

.teem-flor-bg {
  background-image: var(--flor-bg);
  background-size: var(--flor-size);
  background-repeat: repeat;
  background-position: top left;
}

/* ================================================================
   FOOTER
================================================================ */
.teem-footer {
  background: var(--ink); color: rgba(255,255,255,.55);
  padding-top: 4rem; position: relative; overflow: hidden;
}
.teem-footer::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--flor-bg);
  background-size: var(--flor-size);
  background-repeat: repeat;
  background-position: top left;
  opacity: .35;
  pointer-events: none; z-index: 0;
}
.teem-footer > * { position: relative; z-index: 1; }

.teem-footer__main {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad);
}
.teem-footer__logo { height: 90px; width: auto; opacity: .95; }
.teem-footer__desc {
  font-size: var(--tx-sm); color: rgba(255,255,255,.4); margin-top: 1rem;
  max-width: 260px; line-height: 1.75; font-weight: 300;
}
.teem-footer__aniv {
  display: inline-flex; align-items: center; gap: .875rem;
  margin-top: 1.25rem; background: rgba(114,34,130,.25);
  border: 1px solid rgba(162,94,181,.3); border-radius: var(--r-xl);
  padding: .5rem 1.25rem .5rem .5rem; width: fit-content;
}
.teem-footer__aniv img { height: 48px; width: auto; filter: brightness(0) invert(1); opacity: .75; }
.teem-footer__aniv span { font-size: var(--tx-xs); color: rgba(255,255,255,.5); line-height: 1.5; }

.teem-footer__social { display: flex; gap: .625rem; margin-top: 1.5rem; }
.teem-footer__soc-link {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tf); text-decoration: none;
}
.teem-footer__soc-link:hover { background: var(--morado); border-color: var(--morado); }
.teem-footer__soc-link svg {
  width: 18px; height: 18px;
  fill: var(--white); stroke: var(--white);
  transition: all var(--tf);
}
.teem-footer__soc-link:hover svg { fill: var(--white); stroke: var(--white); }

.teem-footer__col-title {
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--morado-light); margin-bottom: 1rem;
}
.teem-footer__links { display: flex; flex-direction: column; gap: .625rem; list-style: none; margin: 0; padding: 0; }
.teem-footer__links a {
  font-size: var(--tx-sm); color: rgba(255,255,255,.45);
  transition: color var(--tf); text-decoration: none;
}
.teem-footer__links a:hover { color: rgba(255,255,255,.9); }

.teem-footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem var(--pad); font-size: var(--tx-xs); color: rgba(255,255,255,.25);
  flex-wrap: wrap; gap: .75rem;
  max-width: var(--max-w); margin-inline: auto;
}
.teem-footer__bottom a { color: rgba(255,255,255,.3); transition: color var(--tf); text-decoration: none; }
.teem-footer__bottom a:hover { color: rgba(255,255,255,.7); }

/* ================================================================
   OVERRIDE LAYER — Paginas internas existentes
   Neutraliza colores del CSS viejo sin romper layout
================================================================ */

/* Navbar vieja de Bootstrap — recolorizar */
.navbar {
  background-color: var(--white) !important;
  border-bottom: 1px solid var(--gris4);
}
.nav-link {
  font-family: var(--font) !important;
  color: var(--gris1) !important;
  font-weight: 500 !important;
}
.nav-link:hover { color: var(--morado) !important; }

/* Submenus viejos */
.submenu { background: var(--white); border: 1px solid var(--gris4); border-radius: var(--r-md); }
.subLink {
  font-family: var(--font) !important;
  color: var(--gris1) !important;
  text-decoration: none;
}
.subLink:hover { color: var(--morado) !important; }

/* Links de menu viejos */
.enlaceMenu {
  color: var(--gris1) !important;
  font-family: var(--font) !important;
}
.enlaceMenu:hover { color: var(--morado) !important; }

/* Botones de tarjeta viejos */
.btnTarjeta {
  background-color: var(--morado) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--r-pill) !important;
  font-family: var(--font) !important;
  font-weight: 600 !important;
  padding: .5rem 1.5rem !important;
  transition: all var(--tb) var(--ease) !important;
}
.btnTarjeta:hover {
  background-color: var(--morado-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--sh-pur) !important;
}

/* Titulos de secciones viejos */
.txtInfo {
  font-family: var(--font) !important;
  color: var(--ink) !important;
}
.txtInfo span { color: var(--morado) !important; }

/* Cards de magistrados */
.magistradoTitulo {
  font-family: var(--font) !important;
  color: var(--ink) !important;
}
.txtMagistrado { color: var(--morado) !important; }
.datosMagistrado { font-family: var(--font) !important; }

/* Paginas internas — banner superior */
.imagenHead {
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}
.tituloHead {
  font-family: var(--font) !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
}

/* Breadcrumbs */
.ruta {
  font-family: var(--font) !important;
  font-size: var(--tx-sm) !important;
}
.ruta a { color: var(--morado) !important; text-decoration: none; }
.ruta a:hover { text-decoration: underline; }

/* Contenido general internas */
.contenido {
  font-family: var(--font) !important;
  color: var(--gris1) !important;
  line-height: 1.75 !important;
}

/* Footer viejo — ocultar si se usa el nuevo */
/* (se activa cuando las plantillas se actualicen) */

/* Separadores y HRs */
.hrTarjeta hr {
  border-color: var(--morado-soft) !important;
  opacity: .5;
}

/* Tarjetas de seccion */
.contenedorTarjeta .card-title {
  color: var(--ink) !important;
  font-weight: 700 !important;
}

/* Botones de redes sociales magistrados */
.buttonFb, .buttonX, .buttonIg {
  transition: opacity var(--tf) !important;
}
.buttonFb:hover, .buttonX:hover, .buttonIg:hover {
  opacity: .7 !important;
}

/* Footer viejo — enlaces */
#sitiosEnlaces {
  color: rgba(255,255,255,.6) !important;
  text-decoration: none !important;
}
#sitiosEnlaces:hover { color: var(--white) !important; }

#agradecimiento {
  font-family: var(--font) !important;
  color: rgba(255,255,255,.5) !important;
  font-size: var(--tx-sm) !important;
  line-height: 1.7 !important;
}

#tituloSitios, #tituloRedes {
  font-family: var(--font) !important;
  color: var(--morado-light) !important;
  font-size: 10px !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
}

/* ================================================================
   ANIMACIONES
================================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.teem-aos {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.teem-aos.in { opacity: 1; transform: translateY(0); }
.teem-aos[data-d="1"] { transition-delay: .1s; }
.teem-aos[data-d="2"] { transition-delay: .2s; }
.teem-aos[data-d="3"] { transition-delay: .3s; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
  .teem-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .teem-nav { display: none; }
  .teem-header__actions .teem-btn--outline-gray { display: none; }
  .teem-nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  :root { --hh: 76px; }
  .teem-topbar__links, .teem-topbar__gov { display: none; }
  .teem-logo img { height: 60px; max-width: 240px; }
  .teem-footer__main { grid-template-columns: 1fr; gap: 2rem; }
  .teem-footer__bottom { flex-direction: column; align-items: flex-start; }
  .teem-footer__logo { height: 70px; }
}

@media (max-width: 480px) {
  .teem-logo img { height: 52px; max-width: 200px; }
  .teem-footer__logo { height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
