/* =====================================================
   ENLASSA AI — Design System
   Brand: Azul Rey #2B52A1, Azul Marino #1A3B8B,
          Naranja #F39221, Verde Menta #2BB695,
          Celeste #6BC5E8
   Type: Geist Sans + Geist Mono
   ===================================================== */

/* --- Fonts ---------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');

/* --- Reset --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; }
img, picture, video, svg { display: block; max-width: 100%; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* --- Tokens: DARK (default) ---------------------- */
:root {
  /* Brand */
  --brand-blue: #2B52A1;
  --brand-navy: #1A3B8B;
  --brand-orange: #F39221;
  --brand-orange-light: #FFB84C;
  --brand-mint: #2BB695;
  --brand-sky: #6BC5E8;
  --brand-white: #FFFFFF;
  --brand-silver: #F4F6F9;
  --brand-ink: #0A0F1F;

  /* Semantic — Dark mode */
  --bg: #0A0F1F;
  --bg-elev: #0E1428;
  --bg-elev-2: #131A35;
  --bg-glass: rgba(20, 28, 56, 0.6);
  --bg-glass-strong: rgba(20, 28, 56, 0.82);
  --bg-grid: rgba(107, 197, 232, 0.06);

  --fg: #ECF1FB;
  --fg-muted: #9DA9C7;
  --fg-dim: #6A7595;
  --fg-faint: #3F4868;

  --border: rgba(155, 178, 232, 0.12);
  --border-strong: rgba(155, 178, 232, 0.22);
  --border-hot: rgba(243, 146, 33, 0.45);

  --accent: var(--brand-orange);
  --accent-hover: #FFA63C;

  /* Halos */
  --halo-blue: radial-gradient(ellipse at center, rgba(43, 82, 161, 0.35) 0%, rgba(43, 82, 161, 0) 60%);
  --halo-orange: radial-gradient(ellipse at center, rgba(243, 146, 33, 0.22) 0%, rgba(243, 146, 33, 0) 60%);
  --halo-mint: radial-gradient(ellipse at center, rgba(43, 182, 149, 0.18) 0%, rgba(43, 182, 149, 0) 60%);

  /* Shadows */
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 40px -16px rgba(0,0,0,0.7);
  --shadow-lift: 0 1px 0 rgba(255,255,255,0.06) inset, 0 24px 60px -20px rgba(0,0,0,0.8);
  --shadow-cta: 0 0 0 1px rgba(255,184,76,0.4) inset, 0 8px 24px -8px rgba(243,146,33,0.55), 0 1px 0 rgba(255,255,255,0.2) inset;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "JetBrains Mono", "Menlo", monospace;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --container: 1240px;
  --container-narrow: 960px;
  --header-h: 68px;
}

/* --- Tokens: LIGHT ------------------------------- */
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-elev: #F4F6F9;
  --bg-elev-2: #EAEFF7;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-glass-strong: rgba(255, 255, 255, 0.92);
  --bg-grid: rgba(43, 82, 161, 0.05);

  --fg: #0A0F1F;
  --fg-muted: #4A557A;
  --fg-dim: #6C7793;
  --fg-faint: #B3BCD0;

  --border: rgba(43, 82, 161, 0.12);
  --border-strong: rgba(43, 82, 161, 0.22);

  --halo-blue: radial-gradient(ellipse at center, rgba(43, 82, 161, 0.18) 0%, rgba(43, 82, 161, 0) 60%);
  --halo-orange: radial-gradient(ellipse at center, rgba(243, 146, 33, 0.18) 0%, rgba(243, 146, 33, 0) 60%);
  --halo-mint: radial-gradient(ellipse at center, rgba(43, 182, 149, 0.14) 0%, rgba(43, 182, 149, 0) 60%);

  --shadow-card: 0 1px 0 rgba(0,0,0,0.02) inset, 0 8px 30px -16px rgba(10,15,31,0.15);
  --shadow-lift: 0 1px 0 rgba(0,0,0,0.02) inset, 0 20px 60px -20px rgba(10,15,31,0.18);
  --shadow-cta: 0 8px 24px -8px rgba(243,146,33,0.45), 0 1px 0 rgba(255,255,255,0.4) inset;
}

/* --- Base --------------------------------------- */
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}

/* Page background ambient (grid + halos) */
.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, var(--bg-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--bg-grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at top, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 0%, transparent 70%);
}
.ambient::before, .ambient::after {
  content: ""; position: absolute; width: 900px; height: 900px;
  filter: blur(40px);
}
.ambient::before { top: -300px; left: -200px; background: var(--halo-blue); }
.ambient::after { top: -100px; right: -300px; background: var(--halo-orange); }

/* --- Typography ---------------------------------- */
.h-display, .h-1, .h-2, .h-3 { font-family: var(--font-sans); letter-spacing: -0.025em; line-height: 1.05; font-weight: 600; }
.h-display { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.035em; line-height: 1.02; }
.h-1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); letter-spacing: -0.03em; }
.h-2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.025em; }
.h-3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); letter-spacing: -0.015em; font-weight: 600; line-height: 1.2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--brand-orange);
  box-shadow: 0 0 12px var(--brand-orange);
}

.lede { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--fg-muted); line-height: 1.55; max-width: 60ch; text-wrap: pretty; }

.kbd, .mono { font-family: var(--font-mono); }

.text-gradient {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-blue {
  background: linear-gradient(135deg, var(--brand-sky) 0%, var(--brand-blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- Layout ------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6); position: relative; z-index: 1; }
.container-narrow { max-width: var(--container-narrow); }

section { padding: var(--s-24) 0; position: relative; }
section.tight { padding: var(--s-16) 0; }
section.loose { padding: var(--s-32) 0; }

.section-head { display: flex; flex-direction: column; gap: var(--s-4); margin-bottom: var(--s-12); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }

/* --- Header ------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s, backdrop-filter .25s;
}
.header.scrolled {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.header .container { display: flex; align-items: center; gap: var(--s-8); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; --enlassa-word: #ECF1FB; }
[data-theme="light"] .brand { --enlassa-word: #1A3B8B; }
.brand-logo { height: 26px; width: auto; display: block; }
.brand.brand-lg .brand-logo { height: 32px; }
.brand-suffix {
  font-family: var(--font-mono); font-size: 10px; color: var(--fg-muted);
  border: 1px solid var(--border-strong); padding: 2px 6px; border-radius: 4px;
  font-weight: 500; letter-spacing: 0.08em; line-height: 1; align-self: center;
}

.nav { display: flex; align-items: center; gap: var(--s-1); margin-left: var(--s-6); }
.nav-item {
  position: relative;
  padding: 8px 12px; border-radius: var(--r-md);
  font-size: 14px; color: var(--fg-muted); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s, background-color .15s;
}
.nav-item:hover { color: var(--fg); background: var(--bg-elev); }
.nav-item .chev { width: 12px; height: 12px; opacity: .6; transition: transform .2s; }
.nav-item:hover .chev { transform: translateY(1px); }

.nav-dropdown {
  position: absolute; top: calc(100% + 6px); left: -8px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 10px;
  min-width: 320px;
  opacity: 0; transform: translateY(-4px) scale(.98); pointer-events: none;
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out);
  box-shadow: var(--shadow-lift);
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.nav-dropdown a {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  padding: 10px; border-radius: var(--r-sm);
  align-items: center;
}
.nav-dropdown a:hover { background: var(--bg-elev); }
.nav-dropdown .nd-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--bg-elev-2);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  color: var(--brand-sky);
}
.nav-dropdown .nd-title { font-size: 13px; font-weight: 500; color: var(--fg); display: block; line-height: 1.2; }
.nav-dropdown .nd-desc { font-size: 11.5px; color: var(--fg-dim); line-height: 1.3; margin-top: 2px; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.theme-toggle, .menu-toggle {
  width: 36px; height: 36px; border-radius: var(--r-md);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-muted);
  transition: color .15s, background-color .15s, border-color .15s;
}
.theme-toggle:hover, .menu-toggle:hover { color: var(--fg); background: var(--bg-elev); border-color: var(--border-strong); }
.theme-toggle .sun, .theme-toggle .moon { transition: opacity .2s, transform .2s; }
[data-theme="light"] .theme-toggle .moon { opacity: 0; transform: rotate(-90deg); position: absolute; }
[data-theme="light"] .theme-toggle .sun { opacity: 1; transform: rotate(0deg); }
.theme-toggle .sun { opacity: 0; transform: rotate(90deg); position: absolute; }
.theme-toggle .moon { opacity: 1; }
.theme-toggle { position: relative; }

.menu-toggle { display: none; }

/* --- Buttons ------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  transition: transform .15s, background-color .2s, border-color .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
  position: relative;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand-orange); color: #1A0F00; font-weight: 600;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 10px 28px -8px rgba(243,146,33,0.65), 0 1px 0 rgba(255,255,255,0.25) inset; }
.btn-primary.gradient { background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-light) 100%); }

.btn-secondary { background: var(--bg-elev); color: var(--fg); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-elev-2); border-color: var(--border-strong); }

.btn-ghost { color: var(--fg-muted); }
.btn-ghost:hover { color: var(--fg); background: var(--bg-elev); }

.btn-lg { padding: 13px 22px; font-size: 15px; border-radius: var(--r-md); }
.btn-sm { padding: 7px 12px; font-size: 13px; }

.btn-icon-right { padding-right: 14px; }
.btn-icon-right svg { transition: transform .15s; }
.btn-icon-right:hover svg { transform: translateX(2px); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-meta { font-size: 13px; color: var(--fg-dim); display: inline-flex; gap: 6px; align-items: center; }

/* --- Pill / Badge ------------------------------ */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 500;
  background: var(--bg-elev); border: 1px solid var(--border);
  color: var(--fg-muted);
  font-family: var(--font-mono);
  letter-spacing: 0;
}
.pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand-mint); box-shadow: 0 0 8px var(--brand-mint); }
.pill.hot { color: var(--brand-orange); border-color: var(--border-hot); background: rgba(243, 146, 33, 0.06); }
.pill.hot .dot { background: var(--brand-orange); box-shadow: 0 0 8px var(--brand-orange); }
.pill.live { color: var(--brand-mint); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; font-size: 11px; border-radius: 6px; font-family: var(--font-mono); font-weight: 500; background: var(--bg-elev); border: 1px solid var(--border); color: var(--fg-muted); }
.badge.success { color: var(--brand-mint); border-color: rgba(43,182,149,.35); background: rgba(43,182,149,.06); }
.badge.warn { color: var(--brand-orange); border-color: var(--border-hot); background: rgba(243,146,33,.06); }
.badge.info { color: var(--brand-sky); border-color: rgba(107,197,232,.35); background: rgba(107,197,232,.06); }

/* --- Cards -------------------------------------- */
.card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  position: relative;
  transition: border-color .2s, transform .2s var(--ease-out), background-color .2s;
}
.card.glass {
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.card.hover-lift:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.card .card-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-elev-2);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  margin-bottom: var(--s-4);
  color: var(--brand-sky);
}
.card.accent-orange .card-icon { color: var(--brand-orange); border-color: var(--border-hot); background: rgba(243, 146, 33, 0.08); }
.card.accent-mint .card-icon { color: var(--brand-mint); border-color: rgba(43,182,149,.3); background: rgba(43,182,149,.07); }

.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.015em; }
.card p { font-size: 14px; color: var(--fg-muted); line-height: 1.55; text-wrap: pretty; }

/* Grid utilities */
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* --- Footer ------------------------------------- */
.footer { padding: var(--s-20) 0 var(--s-10); border-top: 1px solid var(--border); margin-top: var(--s-24); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: var(--s-8); }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-dim); margin-bottom: var(--s-4); font-family: var(--font-mono); font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--fg-muted); transition: color .15s; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  margin-top: var(--s-16); padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4);
  font-size: 13px; color: var(--fg-dim);
}
.footer-badges { display: flex; flex-wrap: wrap; gap: var(--s-2); }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- Sticky mobile CTA -------------------------- */
.sticky-cta {
  position: fixed; bottom: 12px; left: 12px; right: 12px;
  display: none;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 10px 12px;
  z-index: 40;
  align-items: center; gap: 10px;
  box-shadow: var(--shadow-lift);
}
.sticky-cta .scta-text { font-size: 13px; color: var(--fg); line-height: 1.2; flex: 1; }
.sticky-cta .scta-text small { display: block; color: var(--fg-dim); font-size: 11px; margin-top: 2px; }
@media (max-width: 760px) { .sticky-cta { display: flex; } }

/* --- Mobile menu -------------------------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  display: none; flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu-head { display: flex; align-items: center; height: var(--header-h); padding: 0 var(--s-6); border-bottom: 1px solid var(--border); }
.mobile-menu-head .brand { margin-right: auto; }
.mobile-menu-body { padding: var(--s-6); display: flex; flex-direction: column; gap: 4px; }
.mm-section { border-top: 1px solid var(--border); padding-top: var(--s-4); margin-top: var(--s-4); }
.mm-section:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.mm-link { padding: 14px 8px; font-size: 17px; font-weight: 500; color: var(--fg); display: flex; justify-content: space-between; align-items: center; }
.mm-sub { display: none; flex-direction: column; padding-left: 12px; padding-bottom: 8px; }
.mm-sub a { padding: 10px 8px; font-size: 14px; color: var(--fg-muted); display: block; }
.mm-link.open + .mm-sub { display: flex; }
.mobile-menu-foot { margin-top: auto; padding: var(--s-6); display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--border); }

@media (max-width: 920px) {
  .nav { display: none; }
  .header-right .desktop-only { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 540px) { .header-right .btn-primary { display: none; } }

/* --- Exit-intent modal -------------------------- */
.exit-modal {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(10, 15, 31, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: var(--s-4);
  opacity: 0; transition: opacity .25s;
}
.exit-modal.open { display: flex; opacity: 1; }
.exit-modal .em-inner {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-10);
  max-width: 480px; width: 100%;
  position: relative;
  box-shadow: var(--shadow-lift);
}
.exit-modal h3 { font-size: 24px; margin-bottom: 8px; letter-spacing: -0.02em; }
.exit-modal p { color: var(--fg-muted); font-size: 14px; line-height: 1.55; margin-bottom: var(--s-5); }
.exit-modal .em-close { position: absolute; top: 14px; right: 14px; color: var(--fg-dim); width: 32px; height: 32px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.exit-modal .em-close:hover { color: var(--fg); background: var(--bg-elev-2); }
.exit-form { display: flex; gap: 8px; }
@media (max-width: 540px) { .exit-form { flex-direction: column; } }
.input {
  flex: 1; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 14px; color: var(--fg);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--brand-orange); box-shadow: 0 0 0 3px rgba(243, 146, 33, .15); }

/* --- Curves brand motif ------------------------- */
.curves-motif { width: 100%; height: auto; opacity: 0.9; }
.curves-motif .c-orange { stroke: var(--brand-orange); }
.curves-motif .c-mint { stroke: var(--brand-mint); }
.curves-motif .c-sky { stroke: var(--brand-sky); }

/* --- Utilities ---------------------------------- */
.row { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.col { display: flex; flex-direction: column; gap: var(--s-3); }
.muted { color: var(--fg-muted); }
.dim { color: var(--fg-dim); }
.center { text-align: center; }
.divider { height: 1px; background: var(--border); border: none; margin: var(--s-8) 0; }
.skip-link { position: absolute; left: -9999px; top: -9999px; }
.skip-link:focus { left: var(--s-4); top: var(--s-4); padding: 8px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; z-index: 100; }

/* --- Animations --------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 currentColor; } 50% { box-shadow: 0 0 0 6px transparent; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* --- Focus rings -------------------------------- */
:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; border-radius: 4px; }

/* AEO/GEO answer-first sub-lede (Fase a) */
.aeo-lede { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--fg-dim); text-wrap: pretty; }

/* Footer social icons (Fase d) */
.footer-social { display:flex; gap:10px; flex-wrap:wrap; }
.footer-social .fsoc { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border:1px solid var(--border); border-radius:var(--r-sm); color:var(--fg-muted); transition:color .15s ease, border-color .15s ease, transform .15s ease; }
.footer-social .fsoc:hover { color:var(--brand-orange); border-color:var(--brand-orange); transform:translateY(-2px); }
.footer-social .fsoc svg { width:16px; height:16px; fill:currentColor; }
