:root {
  --agora-bg: #eaf3fb;
  --agora-surface: #f5fafd;
  --agora-surface-2: #dcebf7;

  --agora-primary: #0b4f8a;
  --agora-primary-dark: #083b67;
  --agora-primary-soft: #eaf2f9;

  --agora-accent: #d79a57;
  --agora-accent-dark: #b57c3f;
  --agora-accent-soft: #f7efe6;

  --agora-text: #5a5d62;
  --agora-text-strong: #2f3135;
  --agora-text-muted: #7c7f84;

  --agora-border: #d8dadd;
  --agora-border-soft: #e7e9ec;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 6px 18px rgba(11, 79, 138, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 79, 138, 0.08);

  --container: 1180px;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px circle at 92% -5%, rgba(215, 154, 87, 0.14), transparent 55%),
    radial-gradient(700px circle at 3% 60%, rgba(215, 154, 87, 0.09), transparent 55%),
    var(--agora-bg);
  background-attachment: fixed;
  color: var(--agora-text);
  font-family: "General Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--agora-primary);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  color: var(--agora-primary-dark);
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.5rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  color: var(--agora-primary);
  line-height: 1.15;
  font-family: "Zodiak", Georgia, serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
}

strong {
  color: var(--agora-text-strong);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  background: var(--agora-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(234, 243, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--agora-border-soft);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--agora-text-strong);
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--agora-text-strong);
}

.brand-sub {
  font-size: 0.82rem;
  color: var(--agora-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--agora-text-strong);
  font-size: 0.96rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--agora-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--agora-border);
  border-radius: 999px;
  color: var(--agora-text-strong);
  font-size: 0.9rem;
  font-weight: 600;
}

.icon-btn,
.nav-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--agora-border);
  background: var(--agora-surface);
  color: var(--agora-text-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.icon-btn:hover,
.nav-toggle:hover {
  border-color: var(--agora-primary);
  color: var(--agora-primary);
}

.nav-toggle {
  display: none;
}

.hero {
  padding: 5rem 0 3rem;
  background:
    radial-gradient(800px circle at 88% 0%, rgba(215, 154, 87, 0.16), transparent 60%),
    linear-gradient(180deg, var(--agora-bg) 0%, var(--agora-surface) 100%);
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow,
.kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--agora-accent-dark);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  max-width: 64ch;
  font-size: 1.12rem;
  color: var(--agora-text);
}

.hero-panel,
.card,
.contact-card,
.article-card {
  background: var(--agora-surface);
  border: 1px solid var(--agora-border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.hero-panel {
  padding: 1.6rem;
}

.hero-panel h2 {
  font-size: 1.55rem;
  margin-bottom: 0.9rem;
}

.stats {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stats div {
  padding-top: 1rem;
  border-top: 1px solid var(--agora-border-soft);
}

.stats strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--agora-primary);
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: end;
}

.grid-2,
.grid-3,
.contact-grid,
.article-list,
.steps {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-list {
  grid-template-columns: 1fr;
}

.card,
.contact-card {
  padding: 1.5rem;
}

.article-card {
  padding: 0;
  overflow: hidden;
}

.card h3,
.contact-card h3,
.article-card h3 {
  margin-bottom: 0.8rem;
}

.article-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem;
  border: none;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.article-toggle:hover {
  background: var(--agora-surface-2);
}

.article-toggle-text h3 {
  margin-bottom: 0.4rem;
}

.article-toggle-text p {
  margin: 0;
  color: var(--agora-text-muted);
}

.article-toggle-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 0.2rem;
  border-radius: 50%;
  border: 1px solid var(--agora-border-soft);
  color: var(--agora-primary);
  transition: transform 0.2s ease;
}

.article-card.is-open .article-toggle-icon {
  transform: rotate(180deg);
}

.article-body {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--agora-border-soft);
}

.article-body p {
  margin-top: 1.25rem;
}

.article-body p:first-child {
  margin-top: 1.25rem;
}

.article-permalink {
  margin-top: 1.5rem !important;
  font-weight: 600;
}

.article-permalink a {
  color: var(--agora-primary);
}

.chip,
.lang-banner {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--agora-accent-soft);
  border: 1px solid #ead8c2;
  color: var(--agora-accent-dark);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-btn,
.secondary-btn,
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
}

.cta-btn,
.btn,
.button {
  background: var(--agora-primary);
  color: #fff;
  border: 1px solid var(--agora-primary);
}

.cta-btn:hover,
.btn:hover,
.button:hover {
  background: var(--agora-primary-dark);
  border-color: var(--agora-primary-dark);
  color: #fff;
}

.secondary-btn {
  background: var(--agora-surface);
  color: var(--agora-primary);
  border: 1px solid var(--agora-border);
}

.secondary-btn:hover {
  background: var(--agora-primary-soft);
  border-color: var(--agora-primary);
  color: var(--agora-primary-dark);
}

.steps {
  grid-template-columns: 1fr;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.3rem 1.4rem;
  background: var(--agora-surface);
  border: 1px solid var(--agora-border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.num {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--agora-primary-soft);
  color: var(--agora-primary);
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid #cfe0ef;
}

.article-meta {
  color: var(--agora-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.legal {
  display: grid;
  gap: 1.5rem;
}

.legal section {
  padding: 1.5rem;
  border: 1px solid var(--agora-border-soft);
  border-radius: var(--radius-md);
  background: var(--agora-surface);
}

.legal h3 {
  margin-bottom: 0.75rem;
}

.legal p {
  margin-bottom: 1rem;
}

.legal p:last-child {
  margin-bottom: 0;
}

.legal ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.legal ol:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0;
  background: var(--agora-surface-2);
  border-top: 1px solid var(--agora-border-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.footer-grid.small p {
  font-size: 0.95rem;
}

hr,
.divider,
.section-line {
  border: 0;
  border-top: 1px solid var(--agora-border);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--agora-border);
  background: var(--agora-surface);
  color: var(--agora-text-strong);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus,
button:focus,
a:focus {
  outline: 2px solid rgba(11, 79, 138, 0.2);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 1rem;
    background: var(--agora-bg);
    border-bottom: 1px solid var(--agora-border-soft);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: center;
  }

  .hero-grid,
  .split-grid,
  .section-head,
  .grid-2,
  .grid-3,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .header-inner {
    gap: 0.75rem;
    min-height: 76px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 0.95rem;
  }

  .brand-sub {
    font-size: 0.74rem;
  }

  .hero {
    padding: 3rem 0 2rem;
  }

  .section {
    padding: 2.6rem 0;
  }

  .card,
  .contact-card,
  .article-card,
  .hero-panel,
  .legal section,
  .step {
    padding: 1.2rem;
  }

  .step {
    grid-template-columns: 52px 1fr;
  }

  .num {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    transition: none !important;
  }
}

/* ===== AGORA - AJUSTES VISUALES (20-sep-2026): logo x2 y fondos mas vivos. Para volver al diseno anterior, borrar todo desde esta linea hasta el final ===== */
:root {
  --agora-bg: #d3e8fc;
  --agora-surface: #ffffff;
  --agora-surface-2: #b9d9f5;
  --agora-accent: #f0a04b;
  --agora-accent-soft: #ffe9cf;
  --shadow-sm: 0 8px 22px rgba(11, 79, 138, 0.13);
  --shadow-md: 0 14px 34px rgba(11, 79, 138, 0.20);
}

body {
  background:
    radial-gradient(900px circle at 92% -5%, rgba(255, 166, 64, 0.38), transparent 55%),
    radial-gradient(800px circle at 3% 55%, rgba(30, 144, 255, 0.30), transparent 55%),
    radial-gradient(700px circle at 60% 110%, rgba(255, 166, 64, 0.22), transparent 55%),
    var(--agora-bg);
  background-attachment: fixed;
}

/* Logo el doble de grande */
.header-inner { min-height: 180px; }
.brand { gap: 1.1rem; }
.brand img { width: 156px; height: 156px; }
.brand-title { font-size: 1.6rem; }
.brand-sub { font-size: 1rem; }

/* Menu superior: negrita y mas grande */
.site-nav { gap: 1.7rem; }
.site-nav a { font-size: 1.15rem; font-weight: 700; color: var(--agora-accent-dark); }

.site-header {
  background: rgba(255, 255, 255, 0.90);
  border-bottom: 3px solid var(--agora-accent);
}

.hero {
  background:
    radial-gradient(800px circle at 88% 0%, rgba(255, 166, 64, 0.40), transparent 60%),
    radial-gradient(700px circle at 0% 100%, rgba(30, 144, 255, 0.28), transparent 60%),
    linear-gradient(135deg, #c6e1fa 0%, #e4f1fd 55%, #ffeed9 100%);
}

.section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.60), rgba(255, 255, 255, 0.25));
}

.hero-panel,
.card,
.contact-card,
.article-card,
.step {
  background: #ffffff;
  border-top: 4px solid var(--agora-accent);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-panel:hover,
.card:hover,
.contact-card:hover,
.article-card:hover,
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.num {
  background: var(--agora-accent);
  color: #ffffff;
  border-color: var(--agora-accent-dark);
}

.cta-btn,
.btn,
.button {
  background: linear-gradient(135deg, #0b4f8a, #1a7fdc);
  box-shadow: 0 6px 16px rgba(11, 79, 138, 0.28);
}

.cta-btn:hover,
.btn:hover,
.button:hover {
  background: linear-gradient(135deg, #083b67, #0b4f8a);
  transform: translateY(-2px);
}

.site-footer {
  background: linear-gradient(135deg, #083b67, #0b4f8a);
  color: #e8f2fb;
  border-top: 4px solid var(--agora-accent);
}
.site-footer a { color: #ffd9a8; }
.site-footer a:hover { color: #ffffff; }
.site-footer strong,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4 { color: #ffffff; }

@media (max-width: 640px) {
  .header-inner { min-height: 132px; }
  .brand img { width: 112px; height: 112px; }
  .brand-title { font-size: 1.25rem; }
  .brand-sub { font-size: 0.85rem; }
}
/* Pie de pagina: marca legible sobre fondo azul */
.site-footer .brand img {
  width: 72px;
  height: 72px;
  background: #ffffff;
  border-radius: 14px;
  padding: 6px;
}
.site-footer .brand-title { color: #ffffff; font-size: 1.1rem; }
.site-footer .brand-sub { color: #cfe3f5; font-size: 0.82rem; }

/* Animaciones suaves al hacer scroll (las activa site.js; solo si el navegador las permite) */
@keyframes agoraFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
html.reveal-on .reveal { opacity: 0; }
html.reveal-on .reveal.is-visible {
  opacity: 1;
  animation: agoraFadeUp 0.7s ease-out backwards;
  animation-delay: var(--reveal-delay, 0s);
}
@media print {
  html.reveal-on .reveal { opacity: 1 !important; animation: none !important; }
}

/* Iconos de las tarjetas de servicios (los inserta site.js), inspirados en el logo: trazo azul marino, punto naranja y linea base */
.svc-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #e3effb, #ffffff);
  border: 1px solid #cfe0ef;
  box-shadow: 0 8px 18px rgba(11, 79, 138, 0.12);
  transition: background var(--transition), transform var(--transition);
}
.svc-icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: #0c2555;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-icon .base { stroke: #b9c2d0; stroke-width: 2.4; }
.svc-icon .dot { fill: #ea7a2c; stroke: none; }
.svc-icon .ring { stroke: #ffffff; stroke-width: 3; }
.svc-icon .tick { stroke: #ffffff; stroke-width: 3.4; }
.card:hover .svc-icon {
  background: linear-gradient(135deg, #ffe9cf, #ffffff);
  transform: translateY(-2px) rotate(-3deg);
}

/* Alineacion: las tarjetas de la portada quedan dentro del contenedor centrado, como el resto de la web */
.section > .grid-3 {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}
@media (max-width: 640px) {
  .section > .grid-3 { width: min(100% - 1.25rem, var(--container)); }
}

/* Franja de contacto antes del pie (la inserta site.js) */
.cta-band { padding: 0.5rem 0 0; }
.cta-band-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding: 2.6rem 3rem;
  border-radius: 24px;
  color: #eaf3fb;
  background:
    radial-gradient(520px circle at 92% 0%, rgba(240, 160, 75, 0.55), transparent 60%),
    radial-gradient(420px circle at 0% 100%, rgba(30, 144, 255, 0.45), transparent 60%),
    linear-gradient(135deg, #083b67 0%, #0b4f8a 55%, #1a7fdc 100%);
  box-shadow: 0 18px 40px rgba(11, 79, 138, 0.28);
}
.cta-band-inner::before {
  content: "";
  position: absolute;
  right: 16%;
  bottom: -18%;
  width: 320px;
  height: 320px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2064%2064'%3E%3Cpath%20d%3D'M4%2056C18%2056%2022%2016%2032%2016C42%2016%2046%2056%2060%2056'%20fill%3D'none'%20stroke%3D'white'%20stroke-width%3D'2.4'%20stroke-linecap%3D'round'%2F%3E%3Cpath%20d%3D'M32%2022V56'%20fill%3D'none'%20stroke%3D'white'%20stroke-width%3D'2.4'%20stroke-linecap%3D'round'%2F%3E%3Ccircle%20cx%3D'32'%20cy%3D'11'%20r%3D'4.2'%20fill%3D'%23f0a04b'%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  opacity: 0.18;
  pointer-events: none;
}
.cta-band-text, .cta-band-btn { position: relative; z-index: 1; }
.cta-band-text h2 {
  margin: 0 0 0.6rem;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}
.cta-band-text p {
  margin: 0;
  max-width: 56ch;
  color: #d6e8f8;
  font-size: 1.05rem;
}
.cta-band-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  background: var(--agora-accent);
  color: #0c2555;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.cta-band-btn::after {
  content: "\2192";
  margin-left: 0.6rem;
  transition: transform var(--transition);
}
.cta-band-btn:hover,
.cta-band-btn:focus-visible {
  background: #ffb35e;
  color: #0c2555;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}
.cta-band-btn:hover::after { transform: translateX(4px); }
.cta-band-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  color: #ffd9a8;
  font-size: 1.05rem;
  font-weight: 700;
}
.cta-band-phone svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta-band-phone:hover,
.cta-band-phone:focus-visible { color: #ffffff; }
@media (max-width: 980px) {
  .cta-band-inner { grid-template-columns: 1fr; padding: 2.1rem 1.6rem; }
  .cta-band-btn { justify-self: start; }
}
@media print { .cta-band { display: none; } }

/* ===== FIN AJUSTES VISUALES AGORA ===== */

/* ===== AGORA - BANDERAS DE IDIOMA E IDIOMAS FR/ZH (21-sep-2026). Para quitarlo, borrar este bloque (hasta FIN BANDERAS) ===== */
.lang-switch{display:grid;grid-template-columns:repeat(2,auto);gap:.55rem .6rem;align-items:center;justify-items:center}
.lang-flag{position:relative;display:inline-flex;flex:0 0 auto;width:34px;height:23px;border-radius:5px;box-shadow:0 0 0 1px rgba(11,79,138,.22),0 2px 6px rgba(11,79,138,.14);opacity:.72;transition:transform .2s ease,opacity .2s ease,box-shadow .2s ease}
.lang-flag::after{content:"";position:absolute;inset:-7px}
.lang-flag svg{display:block;width:100%;height:100%;border-radius:5px}
.lang-flag:hover,.lang-flag:focus-visible{opacity:1;transform:translateY(-2px) scale(1.08)}
.lang-flag:focus-visible{outline:2px solid var(--agora-primary,#0b4f8a);outline-offset:3px}
.lang-flag.is-current{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px var(--agora-accent,#d79a57),0 3px 8px rgba(215,154,87,.35)}
@media (max-width:640px){.lang-switch{gap:.4rem .45rem}.lang-flag{width:28px;height:19px;border-radius:4px}.lang-flag svg{border-radius:4px}}
@media (prefers-reduced-motion:reduce){.lang-flag{transition:none}.lang-flag:hover,.lang-flag:focus-visible{transform:none}}
@media print{.lang-switch{display:none}}
html[lang^="zh"] body{font-family:"General Sans","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Source Han Sans SC",Arial,sans-serif}
html[lang^="zh"] h1,html[lang^="zh"] h2,html[lang^="zh"] h3,html[lang^="zh"] h4{font-family:"Zodiak","Noto Serif SC","Songti SC","Source Han Serif SC","PingFang SC","Microsoft YaHei",Georgia,serif;letter-spacing:0;line-height:1.3}
html[lang^="zh"] p,html[lang^="zh"] li{line-height:1.85}
html[lang^="zh"] .site-nav a{letter-spacing:.05em}
html[lang="fr"] .site-nav{gap:1.2rem}
html[lang="fr"] .site-nav a{font-size:1.08rem}
/* ===== FIN BANDERAS ===== */

/* ===== AGORA - LOGO QUE SE ENCOGE AL HACER SCROLL (22-sep-2026). Para quitarlo, borrar este bloque hasta FIN LOGO QUE SE ENCOGE AL HACER SCROLL ===== */
.header-inner {
  transition: min-height 0.25s ease;
}
.brand img {
  transition: width 0.25s ease, height 0.25s ease;
}
.brand-title {
  transition: font-size 0.25s ease;
}
.site-header.is-scrolled .header-inner {
  min-height: 104px;
}
.site-header.is-scrolled .brand img {
  width: 92px;
  height: 92px;
}
.site-header.is-scrolled .brand-title {
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .site-header.is-scrolled .header-inner {
    min-height: 92px;
  }
  .site-header.is-scrolled .brand img {
    width: 68px;
    height: 68px;
  }
  .site-header.is-scrolled .brand-title {
    font-size: 1.1rem;
  }
}
/* ===== FIN LOGO QUE SE ENCOGE AL HACER SCROLL ===== */
