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

/*
 * ENTELEIA EDUCATIVA â€” SISTEMA VISUAL MAESTRO
 * VersiÃ³n 1.0 Â· Basado en docentes.html
 *
 * Esta hoja contiene la Ãºnica fuente de verdad visual.
 * Las pÃ¡ginas pueden aÃ±adir estilos de composiciÃ³n propios, pero no deben
 * redefinir los tokens, la cabecera, la tipografÃ­a ni los componentes base.
 */

:root {
  /* Marca */
  --color-navy: #1a233a;
  --color-navy-deep: #0f172a;
  --color-teal: #14b8a6;
  --color-teal-dark: #0f766e;

  /* Texto y superficies */
  --color-text: #1f2937;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-white: #ffffff;
  --color-surface: #ffffff;
  --color-surface-soft: #f8fafc;

  /* Estados */
  --color-focus: rgba(20, 184, 166, 0.32);
  --color-teal-soft: rgba(20, 184, 166, 0.10);
  --color-navy-hover: rgba(26, 35, 58, 0.06);

  /* TipografÃ­a */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --heading-sm: clamp(1.375rem, 2vw, 1.75rem);
  --heading-md: clamp(1.875rem, 3.2vw, 2.625rem);
  --heading-lg: clamp(2.75rem, 6vw, 4.25rem);

  /* GeometrÃ­a */
  --container: 1200px;
  --radius-control: 10px;
  --radius-card: 24px;
  --radius-panel: 32px;
  --radius-pill: 999px;

  /* Espaciado */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5.5rem;

  /* ElevaciÃ³n */
  --shadow-sm: 0 8px 20px rgba(26, 35, 58, 0.06);
  --shadow-md: 0 16px 38px rgba(26, 35, 58, 0.10);
  --shadow-lg: 0 28px 64px rgba(26, 35, 58, 0.14);

  /* Movimiento */
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration-fast: 180ms;
  --duration-base: 260ms;
  --duration-slow: 420ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background-color: var(--color-white);
  background-image:
    radial-gradient(100% 100% at 0% 0%, rgba(20, 184, 166, 0.25) 0%, transparent 85%),
    radial-gradient(100% 100% at 100% 100%, rgba(26, 35, 58, 0.15) 0%, transparent 85%),
    radial-gradient(100% 100% at 50% 100%, rgba(99, 102, 241, 0.08) 0%, transparent 80%);
  background-attachment: fixed;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.wrap,
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* JerarquÃ­a tipogrÃ¡fica */
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  margin: 0 0 var(--space-5);
  font-size: var(--heading-lg);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0 0 var(--space-4);
  font-size: var(--heading-md);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 var(--space-3);
  font-size: var(--heading-sm);
  line-height: 1.22;
  letter-spacing: -0.018em;
}

p {
  margin: 0 0 var(--space-4);
}

.lead {
  max-width: 860px;
  color: var(--color-muted);
  font-size: var(--text-xl);
  line-height: 1.55;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 6px 14px;
  color: var(--color-teal-dark);
  background: var(--color-teal-soft);
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Cabecera y navegaciÃ³n */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 96px;
  padding: 0;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: box-shadow var(--duration-base) var(--ease-standard);
}

.topbar.scrolled {
  box-shadow: 0 4px 24px rgba(26, 35, 58, 0.06);
}

.topbar .wrap,
.header-content {
  min-height: 96px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  height: 64px;
  z-index: 1001;
  transition: transform var(--duration-base) var(--ease-standard);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo img {
  width: auto;
  height: 100%;
}

.nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-radius: var(--radius-control);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard);
}

.btn-ghost {
  position: relative;
  color: var(--color-navy);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--color-navy-hover);
}

.btn-ghost.active,
.btn-ghost[aria-current="page"] {
  color: var(--color-navy);
  background: transparent;
  box-shadow: none;
}

.btn-ghost.active::after,
.btn-ghost[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-teal);
  transform: translateX(-50%);
}

.btn-primary {
  color: var(--color-white);
  background: var(--color-navy);
  box-shadow: 0 8px 18px rgba(26, 35, 58, 0.14);
}

.nav .btn-primary {
  min-width: 148px;
}

.btn-primary:hover {
  background: var(--color-teal);
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.22);
  transform: translateY(-1px);
}

.btn-primary.active,
.btn-primary[aria-current="page"] {
  background: var(--color-navy);
  box-shadow:
    inset 0 -2px 0 var(--color-teal),
    0 8px 18px rgba(26, 35, 58, 0.14);
}

.btn-secondary {
  color: var(--color-teal-dark);
  background: var(--color-teal-soft);
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.btn-secondary:hover {
  background: rgba(20, 184, 166, 0.18);
  transform: translateY(-1px);
}

.btn-large {
  min-height: 52px;
  padding: 16px 32px;
  font-size: var(--text-base);
}

.btn-teal {
  background: var(--color-teal);
  color: var(--color-white);
}

.btn-on-dark {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-on-dark:hover {
  color: var(--color-navy);
  background: var(--color-white);
}

.flush {
  margin: 0;
}

.nav-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  user-select: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::marker {
  content: "";
}

.dropdown-arrow {
  flex: 0 0 auto;
  transition: transform var(--duration-base) var(--ease-standard);
}

.nav-dropdown[open] .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 1200;
  width: 280px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: dropdown-appear 220ms var(--ease-standard);
}

.dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  color: var(--color-navy);
  border-radius: var(--radius-control);
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible,
.dropdown-menu a.active,
.dropdown-menu a[aria-current="page"] {
  background: var(--color-teal-soft);
  transform: translateX(2px);
}

.dropdown-menu strong {
  font-size: var(--text-sm);
}

.dropdown-menu span {
  color: var(--color-muted);
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.4;
}

.hamburger-btn {
  display: none;
  width: 30px;
  height: 24px;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-navy);
  border-radius: 3px;
  transform-origin: center;
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    opacity var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard);
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Estructura de pÃ¡gina */
.page-hero,
.hero-sub {
  max-width: 900px;
  padding: 86px 0 60px;
}

.page-hero p,
.hero-sub p {
  max-width: 860px;
  color: var(--color-muted);
  font-size: var(--text-xl);
  line-height: 1.55;
}

.section {
  padding-block: var(--space-10);
}

.section-heading {
  max-width: 820px;
  margin-bottom: var(--space-7);
}

.section-heading p {
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px;
}

.card,
.surface-panel {
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.card {
  padding: 32px;
  border-radius: var(--radius-card);
  transition:
    border-color var(--duration-base) var(--ease-standard),
    box-shadow var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard);
}

.card:hover {
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card p {
  color: var(--color-muted);
}

.surface-panel {
  padding: 48px;
  border-radius: var(--radius-panel);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  color: var(--color-navy);
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.20);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
}

.cta-panel {
  padding: 64px 56px;
  color: var(--color-white);
  background:
    radial-gradient(90% 160% at 100% 0%, rgba(20, 184, 166, 0.35) 0%, transparent 55%),
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
  border-radius: var(--radius-panel);
  box-shadow: 0 32px 70px rgba(26, 35, 58, 0.20);
  text-align: center;
}

.cta-panel h2 {
  color: var(--color-white);
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-lg);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.section-kicker-on-dark {
  color: #99f6e4;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
}

.custom-solutions {
  margin: 100px 0;
  padding: 64px 48px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.custom-solutions p {
  max-width: 700px;
  margin: 0 auto 32px;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.services-lead {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: var(--text-xl);
}

.category-index-navy {
  color: var(--color-navy);
}

.category-index-teal {
  color: var(--color-teal);
}

.trust-band-spacious {
  padding-top: 80px;
  padding-bottom: var(--space-10);
}

.delay-1 { --delay: 0.05s; }
.delay-2 { --delay: 0.12s; }
.delay-3 { --delay: 0.19s; }
.delay-4 { --delay: 0.26s; }
.delay-5 { --delay: 0.33s; }
.delay-6 { --delay: 0.40s; }

.copyright-line {
  display: inline-block;
  margin-top: 6px;
}

footer {
  padding: 46px 0;
  color: var(--color-muted);
  text-align: center;
}

@keyframes dropdown-appear {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .topbar,
  .topbar .wrap,
  .header-content {
    min-height: 80px;
  }

  .brand-logo {
    height: 54px;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--color-border);
    border-radius: 0 0 16px 16px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 999;
  }

  .nav.active {
    display: flex;
  }

  .nav .btn,
  .nav .btn-primary,
  .nav-dropdown,
  .nav-dropdown summary {
    width: 100%;
  }

  .nav .btn {
    min-height: 44px;
  }

  .nav-dropdown {
    position: static;
  }

  .nav-dropdown summary {
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 4px;
    background: var(--color-surface-soft);
    border-radius: var(--radius-control);
    box-shadow: none;
  }
}

@media (max-width: 720px) {
  .wrap,
  .container {
    width: calc(100% - 32px);
  }

  .topbar,
  .topbar .wrap,
  .header-content {
    min-height: 72px;
  }

  .brand-logo {
    height: 48px;
  }

  .page-hero,
  .hero-sub {
    padding: 64px 0 44px;
  }

  .page-hero p,
  .hero-sub p,
  .lead {
    font-size: var(--text-lg);
  }

  .section {
    padding-block: 56px;
  }

  .card-grid {
    gap: 20px;
  }

  .card {
    padding: 26px;
  }

  .surface-panel {
    padding: 30px 24px;
  }

  .cta-panel {
    padding: 48px 24px;
  }

  .custom-solutions {
    margin: 72px 0;
    padding: 48px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================
 * CAPA DE COMPATIBILIDAD PARA LAS PÃGINAS EXISTENTES
 * Mantiene una sola apariencia aunque la composiciÃ³n cambie.
 * ========================================================== */

body.site-page {
  /* Alias para neutralizar las distintas variables heredadas de pÃ¡ginas antiguas */
  --bg: var(--color-white);
  --paper: var(--color-white);
  --surface: var(--color-white);
  --soft: var(--color-surface-soft);
  --mist: var(--color-surface-soft);
  --navy: var(--color-navy);
  --navy-2: var(--color-navy-deep);
  --navy-soft: var(--color-navy);
  --ink: var(--color-text);
  --text-main: var(--color-text);
  --text-muted: var(--color-muted);
  --muted: var(--color-muted);
  --stroke: var(--color-border);
  --line: var(--color-border);
  --teal: var(--color-teal);
  --teal-dark: var(--color-teal-dark);
  --teal-strong: var(--color-teal-dark);
  --teal-light: var(--color-teal-soft);

  color: var(--color-text);
  background-color: var(--color-white);
  background-image:
    radial-gradient(100% 100% at 0% 0%, rgba(20, 184, 166, 0.25) 0%, transparent 85%),
    radial-gradient(100% 100% at 100% 100%, rgba(26, 35, 58, 0.15) 0%, transparent 85%),
    radial-gradient(100% 100% at 50% 100%, rgba(99, 102, 241, 0.08) 0%, transparent 80%);
  background-attachment: fixed;
  font-family: var(--font-sans);
}

.site-page .topbar {
  min-height: 96px;
  padding: 0;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.site-page .topbar .wrap {
  width: min(var(--container), calc(100% - 48px));
  max-width: none;
  min-height: 96px;
  margin-inline: auto;
  padding-inline: 0;
}

.site-page .topbar .header-content {
  min-height: 96px;
  gap: 24px;
}

.site-page .topbar .brand-logo {
  width: auto;
  height: 64px;
}

.site-page .topbar .nav {
  gap: 4px;
}

.site-page .topbar .nav .btn {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
}

.site-page .topbar .nav .btn-ghost.active,
.site-page .topbar .nav .btn-ghost[aria-current="page"] {
  position: relative;
  color: var(--color-navy);
  background: transparent;
  box-shadow: none;
}

.site-page .topbar .nav .btn-ghost.active::after,
.site-page .topbar .nav .btn-ghost[aria-current="page"]::after {
  right: auto;
  bottom: 5px;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--color-teal);
  transform: translateX(-50%);
}

.site-page .topbar .nav .btn-primary {
  min-width: 148px;
  padding: 10px 14px;
  background: var(--color-navy);
  color: var(--color-white);
}

.site-page :is(h1, h2, h3) {
  color: var(--color-navy);
  font-family: var(--font-sans);
  font-weight: 700;
  text-wrap: balance;
}

.site-page :is(
    .hero,
    .hero-sub,
    .about-hero,
    .vision-hero,
    .services-header,
    .hero-repo,
    .contact-header
  )
  h1 {
  font-size: var(--heading-lg);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.site-page :is(
    .hero,
    .hero-sub,
    .about-hero,
    .vision-hero,
    .services-header,
    .hero-repo,
    .contact-header
  )
  :is(p, .hero-subtitle, .vision-subtext) {
  color: var(--color-muted);
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  line-height: 1.55;
}

.site-page :is(
    .resources-section,
    .expertise-section,
    .leadership-section,
    .section-head,
    .repo-section-header
  )
  h2 {
  font-size: var(--heading-md);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.site-page :is(
    .service-card,
    .resource-card,
    .phase,
    .pillar-card,
    .expertise-card,
    .leadership-card,
    .form-card,
    .card
  ) {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--duration-base) var(--ease-standard),
    box-shadow var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard);
}

.site-page :is(
    .service-card,
    .resource-card,
    .phase,
    .pillar-card,
    .expertise-card,
    .leadership-card,
    .form-card,
    .card
  ):hover {
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.site-page :is(
    .service-card,
    .resource-card,
    .phase,
    .pillar-card,
    .expertise-card,
    .leadership-card,
    .form-card,
    .card
  )
  :is(h2, h3) {
  color: var(--color-navy);
  font-family: var(--font-sans);
}

.site-page :is(
    .service-card,
    .resource-card,
    .phase,
    .pillar-card,
    .expertise-card,
    .leadership-card,
    .form-card,
    .card
  )
  p {
  color: var(--color-muted);
}

.site-page :is(.resources-box, .unified-content-panel, .resources-panel) {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-page :is(.cta-presentation, .cta-box, .vision-cta) {
  color: var(--color-white);
  background:
    radial-gradient(90% 160% at 100% 0%, rgba(20, 184, 166, 0.35) 0%, transparent 55%),
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
  border: 0;
  border-radius: var(--radius-panel);
  box-shadow: 0 32px 70px rgba(26, 35, 58, 0.20);
}

.site-page :is(.cta-presentation, .cta-box, .vision-cta) :is(h2, h3) {
  color: var(--color-white);
  font-family: var(--font-sans);
}

.site-page :is(.cta-presentation, .cta-box, .vision-cta) p {
  color: rgba(255, 255, 255, 0.78);
}

.site-page :is(.section-kicker, .eyebrow, .kicker) {
  color: var(--color-teal-dark);
  background: var(--color-teal-soft);
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
}

.site-page :is(.tag, .feature-tag, .card-tag, .resource-meta span, .resource-type) {
  color: var(--color-navy);
  background: rgba(20, 184, 166, 0.08);
  border-color: rgba(20, 184, 166, 0.20);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
}

.site-page :is(.reveal, .service-card, .resource-card, .expertise-card, .leadership-card) {
  animation-duration: var(--duration-slow);
  transition-duration: var(--duration-base);
}

@media (max-width: 1040px) {
  .site-page .topbar,
  .site-page .topbar .wrap,
  .site-page .topbar .header-content {
    min-height: 80px;
  }

  .site-page .topbar .brand-logo {
    height: 54px;
  }

  .site-page .topbar .nav {
    display: none;
    gap: 4px;
  }

  .site-page .topbar .nav.active {
    display: flex;
  }

  .site-page .topbar .nav .btn {
    min-height: 44px;
    width: 100%;
    padding: 10px 14px;
    font-size: var(--text-sm);
  }

  .site-page .topbar .nav .btn-ghost.active::after,
  .site-page .topbar .nav .btn-ghost[aria-current="page"]::after {
    right: auto;
    left: 50%;
    display: block;
    width: 20px;
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .site-page .topbar,
  .site-page .topbar .wrap,
  .site-page .topbar .header-content {
    min-height: 72px;
  }

  .site-page .topbar .wrap {
    width: calc(100% - 32px);
  }

  .site-page .topbar .brand-logo {
    height: 48px;
  }
}