/* ============================================================
   WOGO — strict BEM design system
   Source: Manual de Identidad WOGO v1.0.0 (NN Estudio, Bogotá 2025)

   Naming: block, block__element, block--modifier, block__element--mod.
   No element/ID selectors as styling hooks; classes only.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family: "Roboto Mono"; font-style: normal;  font-weight: 300; font-display: swap; src: url("/assets/fonts/RobotoMono-Light.woff2")        format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-style: italic;  font-weight: 300; font-display: swap; src: url("/assets/fonts/RobotoMono-LightItalic.woff2")  format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-style: normal;  font-weight: 400; font-display: swap; src: url("/assets/fonts/RobotoMono-Regular.woff2")      format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-style: italic;  font-weight: 400; font-display: swap; src: url("/assets/fonts/RobotoMono-Italic.woff2")       format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-style: normal;  font-weight: 500; font-display: swap; src: url("/assets/fonts/RobotoMono-Medium.woff2")       format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-style: italic;  font-weight: 500; font-display: swap; src: url("/assets/fonts/RobotoMono-MediumItalic.woff2") format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-style: normal;  font-weight: 700; font-display: swap; src: url("/assets/fonts/RobotoMono-Bold.woff2")         format("woff2"); }
@font-face { font-family: "Roboto Mono"; font-style: italic;  font-weight: 700; font-display: swap; src: url("/assets/fonts/RobotoMono-BoldItalic.woff2")   format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --wogo-pino:        #004E52;
  --wogo-ciruela:     #680039;
  --wogo-negro:       #252C30;
  --wogo-aguamarina:  #C5FFF7;
  --wogo-rosa-malva:  #F7DFEB;
  --wogo-blanco:      #FFFFFF;

  --font-mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-display: clamp(48px, 6.5vw, 96px);
  --fs-h1:      clamp(36px, 4.4vw, 56px);
  --fs-h2:      clamp(28px, 3vw, 40px);
  --fs-lead:    clamp(28px, 3.4vw, 44px);
  --fs-body-lg: 17px;
  --fs-body:    16px;
  --fs-small:   14px;
  --fs-micro:   12px;
  --fs-eyebrow: 12px;
  --fs-tag:     11px;

  --ls-tight:   -0.01em;
  --ls-normal:   0;
  --ls-wide:     0.04em;
  --ls-caps:     0.06em;
  --ls-tracked:  0.08em;
  --ls-tracked2: 0.1em;

  --ease: cubic-bezier(.2, .7, .2, 1);

  --pad-x:    48px;
  --max-w:    1280px;
  --stroke:   1.5px;

  --link-fg-on-pino: rgba(197, 255, 247, 0.78);
  --link-fg-on-negro: rgba(255, 255, 255, 0.74);
}

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

html,
body { margin: 0; padding: 0; }

body {
  background: var(--wogo-pino);
  color: var(--wogo-negro);
  font-family: var(--font-mono);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection { background: var(--wogo-aguamarina); color: var(--wogo-pino); }

/* ---------- Block: skip-link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--wogo-pino);
  color: var(--wogo-blanco);
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font: 500 14px/1 var(--font-mono);
}
.skip-link:focus { left: 8px; top: 8px; }

*:focus-visible {
  outline: 2px solid var(--wogo-pino);
  outline-offset: 2px;
}

/* ---------- Block: section (shared layout) ---------- */
.section {
  padding: 96px var(--pad-x);
  position: relative;
  overflow: hidden;
}
.section--pad-loose     { padding-top: 120px; padding-bottom: 120px; }
.section--pad-tall      { padding-top: 140px; padding-bottom: 140px; }
.section--theme-blanco  { background: var(--wogo-blanco); color: var(--wogo-negro); }
.section--theme-negro   { background: var(--wogo-negro);  color: var(--wogo-blanco); }
.section--theme-ciruela { background: var(--wogo-ciruela); color: var(--wogo-blanco); }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-tracked2);
  text-transform: uppercase;
  font-weight: 400;
}
.section__eyebrow {
  color: inherit;
}
.section__eyebrow::before { content: "> "; }
.section__index { opacity: 0.7; }

.section__title {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 32px 0 56px;
  white-space: pre-line;
  color: var(--wogo-pino);
}
.section--theme-negro .section__title,
.section--theme-ciruela .section__title { color: inherit; }

.section__lead {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: var(--fs-lead);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section__body {
  font-size: var(--fs-body-lg);
  line-height: 1.55;
  color: var(--wogo-negro);
  max-width: 60ch;
}

/* ---------- Block: button (.btn) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  border: var(--stroke) solid currentColor;
  background: transparent;
  color: inherit;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: var(--ls-tracked);
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), transform 220ms var(--ease);
}
.btn__icon {
  display: inline-block;
  transition: transform 220ms var(--ease);
}
.btn:hover { background: var(--wogo-aguamarina); color: var(--wogo-pino); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--primary {
  background: var(--wogo-aguamarina);
  color: var(--wogo-pino);
  border-color: var(--wogo-aguamarina);
}
.btn--primary:hover {
  background: transparent;
  color: var(--wogo-aguamarina);
  border-color: var(--wogo-aguamarina);
}

/* ---------- Block: pill (stadium contenedor) ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  line-height: 1;
  font-weight: 500;
  font-size: var(--fs-tag);
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  white-space: nowrap;
  border: var(--stroke) solid currentColor;
}

/* ---------- Block: nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad-x);
  background: var(--wogo-pino);
  color: var(--wogo-blanco);
  border-bottom: var(--stroke) solid rgba(255, 255, 255, 0.18);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo { height: 22px; width: auto; }
.nav__menu {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav__link {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-tracked);
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 160ms var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: var(--stroke) solid currentColor;
  background: transparent;
  font-size: var(--fs-tag);
  letter-spacing: var(--ls-tracked2);
  text-transform: uppercase;
}
.nav__lang-option { opacity: 0.4; transition: opacity 160ms var(--ease); }
.nav__lang-option--active { opacity: 1; }
.nav__lang-sep { opacity: 0.5; }
.nav__pill {
  border-color: var(--wogo-aguamarina);
  color: var(--wogo-aguamarina);
}

/* ---------- Block: hero ---------- */
.hero {
  padding: 72px var(--pad-x) 96px;
  position: relative;
  overflow: hidden;
  background: var(--wogo-pino);
  color: var(--wogo-blanco);
}
.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
}
.hero__decor-svg { width: 100%; height: 100%; display: block; }
.hero__inner {
  position: relative;
  z-index: 1;
}
.hero__head {
  color: var(--wogo-aguamarina);
}
.hero__head .section__eyebrow { color: inherit; }
.hero__body {
  margin-top: 40px;
  max-width: 880px;
}
.hero__logo {
  height: auto;
  width: min(720px, 100%);
  display: block;
}
.hero__typed {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-display);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--wogo-aguamarina);
  min-height: 1.2em;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}
.hero__typed-text { display: inline; }
.hero__caret {
  display: inline-block;
  width: 0.55ch;
  height: 1em;
  margin-left: 4px;
  background: currentColor;
  animation: wogo-caret 900ms steps(2) infinite;
  transform: translateY(0.12em);
}
.hero__sub {
  margin-top: 28px;
  max-width: 620px;
  font-size: var(--fs-body-lg);
  line-height: 1.55;
  color: var(--link-fg-on-pino);
}
.hero__ctas {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: 56px;
  display: flex;
  gap: 32px;
  font-size: var(--fs-tag);
  letter-spacing: var(--ls-tracked2);
  text-transform: uppercase;
  color: var(--link-fg-on-pino);
  flex-wrap: wrap;
}

/* ---------- Block: services (accordion) ---------- */
.services { }
.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.services__item {
  border-top: var(--stroke) solid var(--wogo-negro);
}
.services__item:last-child { border-bottom: var(--stroke) solid var(--wogo-negro); }

.services__head {
  width: 100%;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  text-align: left;
}
.services__num {
  font-size: var(--fs-eyebrow);
  color: var(--wogo-ciruela);
  letter-spacing: var(--ls-tracked);
}
.services__title {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--wogo-pino);
}
.services__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: var(--stroke) solid var(--wogo-ciruela);
  color: var(--wogo-ciruela);
  font-size: 18px;
  line-height: 1;
  transition: transform 280ms var(--ease), background-color 280ms var(--ease), color 280ms var(--ease);
}
.services__item--open .services__toggle {
  transform: rotate(45deg);
  background: var(--wogo-ciruela);
  color: var(--wogo-blanco);
}
.services__body {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 360ms var(--ease), padding 360ms var(--ease);
}
.services__item--open .services__body {
  max-height: 500px;
  padding-bottom: 28px;
}
.services__short {
  font-size: var(--fs-small);
  color: var(--wogo-negro);
  opacity: 0.85;
  margin: 0 0 12px;
}
.services__more {
  font-size: var(--fs-small);
  color: var(--wogo-negro);
  opacity: 0.7;
  margin: 0;
  max-width: 60ch;
}

/* ---------- Block: who ---------- */
.who { }
.who__decor {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 520px;
  height: 320px;
  border-radius: 999px;
  background: var(--wogo-aguamarina);
  opacity: 0.55;
  pointer-events: none;
}
.who__inner {
  position: relative;
  z-index: 1;
}
.who__head { color: var(--wogo-pino); }
.who__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.who__lead { color: var(--wogo-pino); }
.who__body { margin-top: 24px; }
.who__pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.who__pillar {
  border-top: var(--stroke) solid var(--wogo-pino);
  padding-top: 14px;
}
.who__pillar-num {
  display: block;
  font-size: 11px;
  letter-spacing: var(--ls-caps);
  color: var(--wogo-ciruela);
}
.who__pillar-name {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--wogo-pino);
}
.who__pillar-desc {
  font-size: 12px;
  color: var(--wogo-negro);
  opacity: 0.7;
  margin: 6px 0 0;
}

/* ---------- Block: diff ---------- */
.diff__list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 48px;
}
.diff__item {
  border-top: var(--stroke) solid rgba(255, 255, 255, 0.18);
}
.diff__item:last-child { border-bottom: var(--stroke) solid rgba(255, 255, 255, 0.18); }
.diff__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  color: inherit;
}
.diff__title {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: var(--fs-body-lg);
}
.diff__toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: var(--stroke) solid var(--wogo-aguamarina);
  color: var(--wogo-aguamarina);
  font-size: 16px;
  transition: transform 280ms var(--ease);
}
.diff__item--open .diff__toggle { transform: rotate(45deg); }
.diff__desc {
  max-height: 0;
  overflow: hidden;
  font-size: var(--fs-small);
  color: var(--link-fg-on-negro);
  margin: 0;
  transition: max-height 360ms var(--ease), padding 360ms var(--ease);
}
.diff__item--open .diff__desc {
  max-height: 200px;
  padding: 0 0 24px;
}

/* ---------- Block: team ---------- */
.team__intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-top: 32px;
}
.team__sub {
  font-size: var(--fs-body-lg);
  line-height: 1.55;
  color: var(--wogo-negro);
  opacity: 0.78;
}
.team__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team__card {
  position: relative;
  overflow: hidden;
  border: var(--stroke) solid var(--wogo-negro);
  background: var(--wogo-blanco);
  transition: transform 320ms var(--ease);
}
.team__card:hover { transform: translateY(-2px); }
.team__photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.team__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.team__card:hover .team__photo { transform: scale(1.04); }
.team__num {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: var(--fs-tag);
  letter-spacing: var(--ls-tracked2);
  text-transform: uppercase;
  color: var(--wogo-blanco);
}
.team__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 78, 82, 0.78);
  color: var(--wogo-aguamarina);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 320ms var(--ease);
}
.team__card:hover .team__overlay,
.team__card:focus-within .team__overlay { opacity: 1; }
.team__overlay-tag {
  font-size: var(--fs-tag);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.team__overlay-tag::before { content: "> "; }
.team__overlay-line {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--wogo-blanco);
}
.team__meta {
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: var(--stroke) solid var(--wogo-negro);
}
.team__name {
  font-size: 17px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--wogo-pino);
}
.team__role {
  font-size: var(--fs-eyebrow);
  color: var(--wogo-negro);
  opacity: 0.7;
  margin-top: 4px;
}
.team__chevron {
  font-size: 18px;
  color: var(--wogo-ciruela);
}

/* ---------- Block: contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}
.contact__decor-svg { width: 100%; height: 100%; display: block; }
.contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact__title {
  font-family: var(--font-mono);
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(48px, 6.4vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.018em;
  white-space: pre-line;
  color: var(--wogo-blanco);
  margin: 24px 0 32px;
}
.contact__sub {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--wogo-rosa-malva);
  max-width: 480px;
}
.contact__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 40px 36px;
  border: var(--stroke) solid var(--wogo-aguamarina);
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.18);
}
.contact__tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wogo-aguamarina);
}
.contact__email {
  font-size: clamp(22px, 2.4vw, 34px);
  color: var(--wogo-aguamarina);
  text-decoration: none;
  border-bottom: var(--stroke) solid var(--wogo-aguamarina);
  padding-bottom: 6px;
  font-weight: 500;
  word-break: break-word;
}
.contact__email:hover { opacity: 0.85; }
.contact__cta {
  border-color: var(--wogo-aguamarina);
  color: var(--wogo-aguamarina);
  background: transparent;
}
.contact__cta:hover {
  background: var(--wogo-aguamarina);
  color: var(--wogo-ciruela);
}
.contact__city {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 4px;
}

/* ---------- Block: footer ---------- */
.footer {
  background: var(--wogo-negro);
  color: var(--wogo-blanco);
  padding: 60px var(--pad-x) 36px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer__brand-block { display: flex; flex-direction: column; gap: 20px; }
.footer__logo { height: 20px; width: auto; }
.footer__tagline {
  font-size: var(--fs-small);
  color: var(--link-fg-on-negro);
  max-width: 36ch;
  margin: 0;
}
.footer__col-title {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--wogo-aguamarina);
  margin: 0 0 16px;
}
.footer__col-title::before { content: "> "; }
.footer__col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col-link {
  font-size: var(--fs-small);
  color: var(--link-fg-on-negro);
  text-decoration: none;
  transition: color 160ms var(--ease);
}
.footer__col-link:hover { color: var(--wogo-aguamarina); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: var(--stroke) solid rgba(255, 255, 255, 0.18);
  gap: 16px;
  font-size: var(--fs-tag);
  letter-spacing: var(--ls-tracked2);
  text-transform: uppercase;
  color: var(--link-fg-on-negro);
  flex-wrap: wrap;
}
.footer__slogan { color: var(--wogo-aguamarina); }
.footer__slogan::before { content: "> "; }
.footer__game-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}
.footer__game-trigger:hover,
.footer__game-trigger:focus-visible {
  background: var(--wogo-aguamarina);
  color: var(--wogo-pino);
  border-color: var(--wogo-aguamarina);
}
.footer__game-icon { fill: currentColor; flex: none; }
.footer__game-label { line-height: 1; }

/* ---------- Block: about (drawer modal) ---------- */
.about {
  position: fixed;
  inset: 0;
  z-index: 150;
}
.about[hidden] { display: none; }
.about__overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 44, 48, 0.5);
  animation: wogo-fade-in 280ms var(--ease);
}
.about__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(560px, 92vw);
  background: var(--wogo-pino);
  color: var(--wogo-blanco);
  border-left: var(--stroke) solid var(--wogo-aguamarina);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: wogo-slide-in-right 380ms var(--ease) both;
}
.about__chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: var(--stroke) solid var(--wogo-aguamarina);
}
.about__chrome-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wogo-aguamarina);
}
.about__close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: var(--stroke) solid var(--wogo-aguamarina);
  background: transparent;
  color: var(--wogo-aguamarina);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.about__close:hover,
.about__close:focus-visible {
  background: var(--wogo-aguamarina);
  color: var(--wogo-pino);
}
.about__body {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}
.about__title {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
  white-space: pre-line;
  color: var(--wogo-blanco);
}
.about__lead {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(197, 255, 247, 0.78);
}
.about__body-text {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(197, 255, 247, 0.7);
}
.about__pillars {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about__pillar {
  border-top: var(--stroke) solid var(--wogo-aguamarina);
  padding-top: 12px;
}
.about__pillar-num {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--wogo-aguamarina);
}
.about__pillar-name {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--wogo-blanco);
}
.about__pillar-desc {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(197, 255, 247, 0.7);
}
.about__cta { margin-top: 32px; }

@keyframes wogo-slide-in-right {
  from { transform: translateX(100%); }
  to   { transform: none; }
}

/* ---------- Block: invaders (easter-egg modal) ---------- */
.invaders {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14, 30, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: wogo-fade-in 220ms var(--ease);
}
.invaders[hidden] { display: none; }
.invaders__dialog {
  position: relative;
  max-width: 100%;
  animation: wogo-slide-up 320ms var(--ease);
}
.invaders__chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--wogo-pino);
  color: var(--wogo-aguamarina);
  border: 1.5px solid var(--wogo-aguamarina);
  border-bottom: none;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.invaders__chrome-label { font-family: inherit; }
.invaders__close {
  background: transparent;
  border: 1px solid var(--wogo-aguamarina);
  color: var(--wogo-aguamarina);
  padding: 4px 10px;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.invaders__canvas {
  display: block;
  border: 1.5px solid var(--wogo-aguamarina);
  border-top: none;
  max-width: 100%;
  height: auto;
}
.invaders__credits {
  margin-top: 12px;
  text-align: center;
  font-size: 10px;
  color: rgba(125, 249, 225, 0.6);
  letter-spacing: 0.12em;
}

/* ---------- Animations ---------- */
@keyframes wogo-caret {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
@keyframes wogo-blob-a {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.10); }
}
@keyframes wogo-blob-b {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, 60px) scale(1.14); }
}
@keyframes wogo-blob-c {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, -30px) scale(1.20); }
}
@keyframes wogo-blob-d {
  0% { transform: translate(0, 0) scale(1) rotate(0); }
  100% { transform: translate(40px, 30px) scale(1.06) rotate(2deg); }
}
.hero__blob--a { transform-origin: 500px 300px; animation: wogo-blob-a 18s ease-in-out infinite alternate; }
.hero__blob--b { transform-origin: 180px 120px; animation: wogo-blob-b 22s ease-in-out infinite alternate; }
.hero__blob--c { transform-origin: 820px 120px; animation: wogo-blob-c 26s ease-in-out infinite alternate; }
.hero__blob--d { transform-origin: 700px 400px; animation: wogo-blob-d 30s ease-in-out infinite alternate; }

@keyframes wogo-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes wogo-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Fade-up reveal — driven entirely by CSS animation with `both` fill,
   so content is always visible after 600ms regardless of JS or IO state.
   Keep it short and gentle: this matches the design's Reveal component
   (translateY(16px) → 0, 600ms cubic-bezier(.2,.7,.2,1)). */
@keyframes wogo-reveal {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
[data-reveal] {
  animation: wogo-reveal 600ms var(--ease) both;
  animation-delay: var(--reveal-delay, 0ms);
}
.hero[data-reveal] { animation: none; }
.hero[data-reveal] .hero__body {
  animation: wogo-reveal 700ms var(--ease) 80ms both;
}

/* Stagger sibling items via CSS variables so they cascade in sequence */
.services__item[data-reveal]:nth-of-type(2) { --reveal-delay: 60ms; }
.services__item[data-reveal]:nth-of-type(3) { --reveal-delay: 120ms; }
.services__item[data-reveal]:nth-of-type(4) { --reveal-delay: 180ms; }
.services__item[data-reveal]:nth-of-type(5) { --reveal-delay: 240ms; }
.services__item[data-reveal]:nth-of-type(6) { --reveal-delay: 300ms; }
.diff__item[data-reveal]:nth-of-type(2)     { --reveal-delay: 80ms; }
.diff__item[data-reveal]:nth-of-type(3)     { --reveal-delay: 160ms; }
.diff__item[data-reveal]:nth-of-type(4)     { --reveal-delay: 240ms; }
.diff__item[data-reveal]:nth-of-type(5)     { --reveal-delay: 320ms; }
.team__card[data-reveal]:nth-of-type(2)     { --reveal-delay: 120ms; }
.team__card[data-reveal]:nth-of-type(3)     { --reveal-delay: 240ms; }
.who__pillar[data-reveal]:nth-of-type(2)    { --reveal-delay: 80ms; }
.who__pillar[data-reveal]:nth-of-type(3)    { --reveal-delay: 160ms; }
.who__pillar[data-reveal]:nth-of-type(4)    { --reveal-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__caret { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --pad-x: 32px; }
  .who__grid { grid-template-columns: 1fr; gap: 48px; }
  .team__intro { grid-template-columns: 1fr; gap: 32px; }
  .contact__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand-block { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --pad-x: 20px; }
  .nav { gap: 12px; }
  .nav__menu { gap: 16px; }
  .nav__link { display: none; }
  .nav__pill { display: none; }
  .section { padding: 56px var(--pad-x); }
  .section--pad-tight { padding-top: 36px; padding-bottom: 56px; }
  .section--pad-loose { padding-top: 64px; padding-bottom: 64px; }
  .section--pad-tall  { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding: 36px var(--pad-x) 56px; }
  .who__pillars { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .btn { padding: 14px 22px; font-size: 12px; }
}
@media (max-width: 420px) {
  :root { --pad-x: 14px; }
}

/* ---------- Utility: visually-hidden ---------- */
.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;
}

/* ---------- i18n: show only nodes whose lang matches <html lang>.
   Translations are wrapped with lang="es" or lang="en"; the JS toggle
   flips the lang on <html> and the CSS rule does the rest. ---------- */
:root[lang="es"] [lang]:not([lang="es"]) { display: none; }
:root[lang="en"] [lang]:not([lang="en"]) { display: none; }
