/* =========================================================
   LMIA · Laboratorio de Inteligencia Artificial — Mar Chiquita
   Paleta y estilo basados en el manual de marca
   Verde  #88C930   ·   Navy #12121E
   ========================================================= */

:root {
  --navy:        #12121E;
  --navy-800:    #17172417;   /* usado con rgba en superficies */
  --surface:     #191926;
  --surface-2:   #1F1F2E;
  --green:       #88C930;
  --green-600:   #74b224;
  --green-700:   #5f9a1d;
  --green-dim:   rgba(136, 201, 48, .35);
  --line:        rgba(136, 201, 48, .16);
  --line-soft:   rgba(255, 255, 255, .07);
  --ink:         #ECF1E1;
  --muted:       #9AA290;
  --muted-2:     #757c6c;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Sora", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  --radius:      22px;
  --radius-lg:   30px;
  --wrap:        1160px;
  --ease:        cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.05; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--green); color: var(--navy); padding: 10px 16px; border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ---------- Eyebrow / etiqueta con nodo de circuito ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green);
  margin: 0 0 22px;
}
.eyebrow--center { justify-content: center; }
.eyebrow__mark {
  width: 30px; height: 10px; flex: 0 0 auto; position: relative;
}
.eyebrow__mark::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 2px;
  background: var(--green); transform: translateY(-50%);
}
.eyebrow__mark::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px;
  border: 2px solid var(--green); border-radius: 50%; transform: translateY(-50%);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 500; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .18s var(--ease), background .18s, color .18s, border-color .18s;
  letter-spacing: .01em;
}
.btn--solid { background: var(--green); color: var(--navy); }
.btn--solid:hover { background: var(--green-600); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn--wa { background: var(--green); color: var(--navy); gap: 10px; }
.btn--wa:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 12px 34px -10px rgba(136, 201, 48, .55); }
.btn--lg { padding: 17px 32px; font-size: 1.06rem; }
.btn__wa { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 18, 30, .72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(18, 18, 30, .9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__bot { border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .14em; color: var(--green); }
.brand__sub { font-size: .66rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; }
.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__menu a { font-size: .95rem; color: var(--muted); font-weight: 400; transition: color .18s; }
.nav__menu a:hover { color: var(--ink); }
.nav__cta {
  color: var(--navy) !important; background: var(--green); padding: 9px 20px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500;
}
.nav__cta:hover { background: var(--green-600); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
}
.nav__toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO — panel de interfaz (futurista, marca LMIA)
   ========================================================= */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; }

/* fondo ambiental (detrás del panel, nunca sobre el texto) */
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__gridbg {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(136, 201, 48, .16) 1px, transparent 1.6px);
  background-size: 30px 30px;
  -webkit-mask: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 72%);
          mask: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 72%);
  opacity: .6;
}
.hero__glow {
  position: absolute; top: 12%; right: 4%; width: min(48vw, 560px); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(136, 201, 48, .20), transparent 62%);
  filter: blur(10px); animation: glowpulse 7s ease-in-out infinite;
}
.hero__scan {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(136, 201, 48, .05), transparent);
  height: 120px; transform: translateY(-140px);
  animation: scan 9s linear infinite;
}
@keyframes glowpulse { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
@keyframes scan { 0% { transform: translateY(-160px); } 100% { transform: translateY(90vh); } }

/* el panel enmarcado con luz que recorre el borde */
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.panel {
  position: relative; z-index: 1;
  border-radius: 30px;
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(136, 201, 48, .07), transparent 55%),
    rgba(18, 18, 30, .72);
  border: 1px solid var(--line);
  padding: clamp(30px, 4vw, 58px);
  overflow: hidden; isolation: isolate;
  backdrop-filter: blur(6px);
}
.panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--a), transparent 0 58%, rgba(136, 201, 48, .85) 74%, #d7ff9a 82%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: borderspin 7s linear infinite;
  pointer-events: none; z-index: 2;
}
@keyframes borderspin { to { --a: 360deg; } }

/* fila de puntos que se desvanecen (firma del manual) */
.panel__dots { position: absolute; top: 20px; left: 24px; display: flex; gap: 11px; z-index: 3; }
.panel__dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.panel__dots span:nth-child(2) { opacity: .7; }
.panel__dots span:nth-child(3) { opacity: .5; }
.panel__dots span:nth-child(4) { opacity: .32; }
.panel__dots span:nth-child(5) { opacity: .18; }

/* corchetes HUD en las esquinas */
.bracket { position: absolute; width: 22px; height: 22px; z-index: 3; pointer-events: none; }
.bracket--tl { top: 14px; left: 14px; border-top: 2px solid var(--green); border-left: 2px solid var(--green); border-top-left-radius: 7px; }
.bracket--tr { top: 14px; right: 14px; border-top: 2px solid var(--green); border-right: 2px solid var(--green); border-top-right-radius: 7px; }
.bracket--bl { bottom: 14px; left: 14px; border-bottom: 2px solid var(--green); border-left: 2px solid var(--green); border-bottom-left-radius: 7px; }
.bracket--br { bottom: 14px; right: 14px; border-bottom: 2px solid var(--green); border-right: 2px solid var(--green); border-bottom-right-radius: 7px; }

.panel__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center;
  margin-top: 14px;
}
.hero__copy { max-width: 640px; }

/* etiqueta HUD monoespaciada */
.hud {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 24px;
}
.hud__status { display: inline-flex; align-items: center; gap: 9px; color: var(--green); }
.hud__pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.hud__sep { color: var(--muted-2); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(136, 201, 48, .55); }
  70% { box-shadow: 0 0 0 9px rgba(136, 201, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(136, 201, 48, 0); }
}

.hero__title { font-weight: 700; letter-spacing: -.02em; margin: 0 0 16px; line-height: 1.02; }
.hero__title-top { display: block; font-size: clamp(1.9rem, 4vw, 3.1rem); color: var(--ink); }
.hero__title-accent {
  display: block; font-size: clamp(2.3rem, 5vw, 4.1rem);
  overflow-wrap: break-word; hyphens: none;
  background: linear-gradient(100deg, var(--green) 0%, #cbff81 42%, var(--green) 72%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

.hero__tag { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .05em; color: var(--muted); margin: 0 0 22px; }
.hero__lead { font-size: clamp(1.05rem, 1.7vw, 1.22rem); color: var(--muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 24px; }
.hero__place {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--muted); font-family: var(--font-mono); letter-spacing: .02em;
}
.pin { width: 17px; height: 17px; fill: var(--green); flex: 0 0 auto; }

.hero__figure { position: relative; justify-self: center; }
.hero__robot {
  width: min(100%, 430px); height: auto;
  filter: drop-shadow(0 0 42px rgba(136, 201, 48, .28)) drop-shadow(0 24px 40px rgba(0, 0, 0, .5));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* marquee */
.marquee {
  margin-top: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 26s linear infinite; }
.marquee__track span { font-family: var(--font-mono); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee__track span[aria-hidden] { color: var(--green); }
@keyframes slide { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS base
   ========================================================= */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,.015), transparent), var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section__head { max-width: 720px; margin-bottom: 52px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(1.85rem, 3.6vw, 2.9rem); letter-spacing: -.015em; }
.section__lead { margin-top: 20px; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 62ch; }
.section__head--center .section__lead { margin-inline: auto; }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  padding: 32px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line-soft);
  position: relative; overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 0; background: var(--green);
  transition: height .5s var(--ease);
}
.pillar:hover::before { height: 100%; }
.pillar__num { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--green); letter-spacing: .05em; }
.pillar h3 { font-size: 1.28rem; margin: 14px 0 10px; }
.pillar p { color: var(--muted); font-size: .98rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--line-soft);
  transition: transform .22s var(--ease), border-color .22s, background .22s;
}
.card:hover { transform: translateY(-5px); border-color: var(--green-dim); background: var(--surface); }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(136, 201, 48, .12); border: 1px solid var(--line);
  margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; fill: var(--green); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chips li {
  font-family: var(--font-display); font-weight: 500; font-size: 1.02rem;
  padding: 12px 24px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink);
  background: rgba(136, 201, 48, .05);
  transition: background .2s, color .2s, transform .2s;
}
.chips li:hover { background: var(--green); color: var(--navy); transform: translateY(-3px); }

/* ---------- Participar ---------- */
.participate { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.participate__intro .btn { margin-top: 26px; }
.steps { display: grid; gap: 16px; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 26px; border-radius: var(--radius);
  background: var(--navy); border: 1px solid var(--line-soft);
}
.step__num {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  color: var(--navy); background: var(--green);
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Sede ---------- */
.sede { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.sede__address { font-style: normal; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.5; margin: 4px 0 20px; }
.sede__address strong { color: var(--green); }
.sede__dep { color: var(--muted); margin-bottom: 26px; max-width: 40ch; }
.sede__map {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 16 / 11; background: var(--surface);
}
.sede__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ---------- CTA / WhatsApp ---------- */
.section--cta { background: var(--surface); border-top: 1px solid var(--line-soft); }

.wa-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: clamp(30px, 4vw, 56px);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(136, 201, 48, .08), transparent 55%),
    var(--navy);
}
.wa-panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--a), transparent 0 58%, rgba(136, 201, 48, .8) 74%, #d7ff9a 82%, transparent 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: borderspin 7s linear infinite; pointer-events: none; z-index: 2;
}
.wa-panel__inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center;
}
.wa-meta { margin-top: 26px; display: grid; gap: 14px; }
.wa-meta li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-family: var(--font-mono); font-size: .9rem; }
.wa-meta svg { width: 20px; height: 20px; fill: var(--green); flex: 0 0 auto; }

.wa-panel__cta { display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center; }
.wa-badge {
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, rgba(136, 201, 48, .18), rgba(136, 201, 48, .05));
  border: 1px solid var(--green-dim);
  box-shadow: 0 0 0 0 rgba(136, 201, 48, .5); animation: pulse 2.6s infinite;
}
.wa-badge svg { width: 46px; height: 46px; fill: var(--green); }
.wa-panel__cta .btn { width: 100%; max-width: 320px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq__list { display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line-soft); border-radius: 16px;
  background: var(--navy); overflow: hidden;
  transition: border-color .2s;
}
.faq__item[open] { border-color: var(--green-dim); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; font-family: var(--font-display); font-weight: 500; font-size: 1.08rem;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.5rem; line-height: 1;
  color: var(--green); flex: 0 0 auto; transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--green); }
.faq__item p { padding: 0 22px 22px; color: var(--muted); font-size: .98rem; max-width: 68ch; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); background: var(--navy); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { border-radius: 12px; }
.footer__word { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; color: var(--green); font-size: 1.1rem; }
.footer__desc { color: var(--muted); font-size: .9rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__label { font-family: var(--font-display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.footer__cols p, .footer__nav a { color: var(--muted); font-size: .93rem; line-height: 1.7; }
.footer__coord { margin-top: 12px; }
.footer__coord a, .sede__dep a, .faq__item p a {
  color: var(--green); border-bottom: 1px solid transparent; transition: border-color .2s, opacity .2s;
}
.footer__coord a:hover, .sede__dep a:hover, .faq__item p a:hover { border-bottom-color: var(--green); }
.footer__nav { display: flex; flex-direction: column; gap: 6px; }
.footer__nav a { transition: color .18s; }
.footer__nav a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px; border-top: 1px solid var(--line-soft);
}
.footer-bottom p { color: var(--muted-2); font-size: .84rem; }
.footer__dots { display: flex; gap: 9px; }
.footer__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.footer__dots span:nth-child(2) { opacity: .7; }
.footer__dots span:nth-child(3) { opacity: .5; }
.footer__dots span:nth-child(4) { opacity: .32; }
.footer__dots span:nth-child(5) { opacity: .18; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__robot, .hero__glow, .hero__scan, .marquee__track,
  .panel::before, .wa-panel::before, .hero__title-accent,
  .hud__pulse, .wa-badge { animation: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(18,18,30,.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .32s var(--ease);
  }
  .nav__menu.open { max-height: 340px; }
  .nav__menu li { border-top: 1px solid var(--line-soft); }
  .nav__menu a { display: block; padding: 16px 24px; }
  .nav__cta { margin: 14px 24px; text-align: center; }

  .panel__inner { grid-template-columns: 1fr; gap: 8px; text-align: left; margin-top: 20px; }
  .hero__figure { order: -1; justify-self: start; }
  .hero__robot { width: min(66%, 300px); animation: none; }

  .pillars, .cards { grid-template-columns: 1fr 1fr; }
  .participate, .sede, .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .wa-panel__inner { grid-template-columns: 1fr; gap: 34px; }
  .wa-panel__cta { align-items: flex-start; text-align: left; }
  .wa-panel__cta .btn { max-width: 100%; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .pillars, .cards, .footer__cols { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .panel { padding: 24px 20px; }
}
