/* ── Fuentes (vendorizadas en ../vendor/fonts, ver VERSION) ─── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../vendor/fonts/inter-latin-wght-normal.260c81a4759b.woff2") format('woff2-variations');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../vendor/fonts/ibm-plex-mono-latin-400-normal.79936b18df9f.woff2") format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../vendor/fonts/ibm-plex-mono-latin-500-normal.b1c8a895f5fd.woff2") format('woff2');
}

/* ── Tokens Column ───────────────────────────────────────────── */
:root {
  /* Fondos azulados en lugar de blanco puro; las tarjetas usan --surface (DEC-004) */
  --bg:      #f7f9fc;  /* Mist White */
  --bg-2:    #eef2f7;  /* Mist Blue */
  --surface: #ffffff;  /* tarjetas, botones, etiquetas */
  --border:  #e1e7ef;  /* Steel Blue Gray */

  /* Arte con caracteres (marca y líneas, tools/ascii.py) */
  --ascii-1: #b3c3d8;  /* puntos y orillas tenues */
  --ascii-2: #7f9cc2;
  --ascii-3: #3f6fae;
  --accent:  #0082D9;  /* azul de «¿Trabajamos juntos?» */

  --text:   #011821;  /* Ink Blue */
  --text-2: #232730;  /* Charcoal Text */
  --text-3: #7c7f88;  /* Slate Text */

  --plum:   #111a4a;  /* Deep Plum */
  --orange: #ec652b;  /* Action Orange */
  --orange-h: #d4581e;

  --dot-color: rgba(2, 50, 71, 0.16);  /* Faded Grid Blue, bajo opacidad */
  --text-4: #a0a4b0;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Radios Column: 8px en todo */
  --r: 8px;

  /* Sombras Column */
  --shadow-card: rgba(17,26,74,0.05) 0px 0px 0px 1px,
                 rgba(0,0,0,0.10)    0px 1px 2px 0px,
                 rgba(255,255,255,0.5) 0px 0px 0px 1px inset;
  --shadow-sm:   rgba(0,0,0,0.05)    0px 4px 8px 0px,
                 rgba(0,0,0,0.10)    0px 2px 4px 0px,
                 rgba(0,0,0,0.10)    0px 1px 1px 0px;
  --shadow-xl:   rgba(0,0,0,0.02)    0px 40px 32px 0px,
                 rgba(0,0,0,0.03)    0px 12px 10px 0px,
                 rgba(0,0,0,0.07)    0px 3px 2px 0px;

  --section-gap: 96px;
}

/* ── Íconos Lucide (DEC-006) ─────────────────────────────────── */
/* SVG de ../vendor/lucide/icons usados como máscara: toman el color del texto y miden 1em. */
.lc {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: var(--lc) center / contain no-repeat;
          mask: var(--lc) center / contain no-repeat;
}
.lc-layers { --lc: url("../vendor/lucide/icons/layers.1f448302225b.svg"); }
.lc-route { --lc: url("../vendor/lucide/icons/route.e1eb05c0bf14.svg"); }
.lc-lock { --lc: url("../vendor/lucide/icons/lock.f3a95efd8c6a.svg"); }
.lc-loader-circle { --lc: url("../vendor/lucide/icons/loader-circle.340007a18639.svg"); }
.lc-message-square { --lc: url("../vendor/lucide/icons/message-square.c395c83089bf.svg"); }
.lc-arrow-right { --lc: url("../vendor/lucide/icons/arrow-right.cb83c446124d.svg"); }
.lc-arrow-down { --lc: url("../vendor/lucide/icons/arrow-down.1c30da8ab906.svg"); }
.lc-users { --lc: url("../vendor/lucide/icons/users.b682683ed297.svg"); }
.lc-code-xml { --lc: url("../vendor/lucide/icons/code-xml.d099c9476f7c.svg"); }
.lc-brain { --lc: url("../vendor/lucide/icons/brain.4dcb31791cac.svg"); }
.lc-network { --lc: url("../vendor/lucide/icons/network.d6ae271a3051.svg"); }
.lc-mail { --lc: url("../vendor/lucide/icons/mail.e08770cb8c63.svg"); }
.lc-check { --lc: url("../vendor/lucide/icons/check.2bf87e657876.svg"); }
.lc-marca { --lc: url("../img/sparkles-marca.be7d97b69937.svg"); }  /* sparkles de Lucide sin el círculo (DEC-011) */

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; color: var(--text); margin: 0; }
p { margin: 0; }
a { color: var(--plum); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Bootstrap button overrides ──────────────────────────────── */
.btn {
  font-family: var(--font);
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .18s ease;
}

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--orange-h);
  border-color: var(--orange-h);
  color: #fff;
}

.btn-outline-secondary {
  background: transparent;
  border-color: var(--plum);
  color: var(--plum);
}
.btn-outline-secondary:hover {
  background: rgba(17,26,74,.05);
  border-color: var(--plum);
  color: var(--plum);
}

/* ── Nav ─────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 56px;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 32px;
}

.site-nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 110px;
  background: linear-gradient(to bottom, rgba(247,249,252,1) 0%, rgba(247,249,252,1) 35%, rgba(247,249,252,0) 100%);
  z-index: -1;
  pointer-events: none;
}

.nav-brand {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-brand .lc { font-size: 20px; }  /* DEC-011: mismo color que el texto; a 20 px el trazo se define mejor */
.nav-brand:hover { text-decoration: none; color: var(--text); }

.nav-links { display: flex; gap: 0; align-items: center; margin-left: auto; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 14px;
  letter-spacing: -0.01em;
  transition: color .12s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); font-weight: 500; }
.nav-links a i { font-size: 14px; flex-shrink: 0; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: -56px;
  overflow: hidden;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.hero-glow {
  position: absolute;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(195,200,218,0.55) 0%, transparent 68%);
  top: 44%;
  left: 30%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 100px 60px;
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-display {
  font-size: clamp(72px, 11vw, 148px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.025em;
  /* color: var(--text); */
  color:#011821;
  text-align: right;
  margin: 0;
  align-self: flex-end;
  max-width: 72%;
  /* text-shadow: 0px 3px 3px rgba(255,255,255,0.4),0px -1px 1px rgba(0,0,0,0.3); */
  text-shadow: 0px 4px 4px rgba(255,255,255,0.4),0px -1px 1px rgba(0,0,0,0.3);

}

.hero-floats {
  display: flex;
  align-items: center;
  position: absolute;
  left: 100px;
  top: 50%;
  transform: translateY(-60%);
}
.hero-float-stat { text-align: left; padding: 0 24px; }
.hero-float-stat:first-child { padding-left: 0; }
.float-num {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.float-label {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.float-sep { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

.hero-subtitle {
  font-size: 15px;
  color: var(--text-3);
  letter-spacing: -0.01em;
  margin-top: 14px;
  align-self: flex-end;
  text-align: right;
  max-width: 72%;
}

.hero-cta {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 980px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  margin-top: 52px;
  align-self: flex-start;
}
.hero-cta-label {
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-cta-dark {
  padding: 16px 15px;
  background: var(--text);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-cta:hover .hero-cta-label { background: var(--bg-2); text-decoration: none; }
.hero-cta:hover { text-decoration: none; }
.hero-cta-dark .lc { font-size: 16px; }
.hero-scroll .lc { font-size: 18px; }

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 100px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.hero-bottom-info {
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: center;
}
.hero-bottom-dot  { width: 4px; height: 4px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.hero-bottom-arrow { color: var(--text-3); font-size: 12px; flex-shrink: 0; }

.hero-scroll {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--text-3);
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform .18s, box-shadow .18s;
}
.hero-scroll:hover { transform: translateY(3px); box-shadow: var(--shadow-sm); color: var(--text); text-decoration: none; }

/* ── Terminal card (hero derecha) ────────────────────────────── */
.terminal {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(227, 228, 232, 0.7);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(246, 246, 248, 0.8);
  border-bottom: 1px solid rgba(227, 228, 232, 0.7);
}
.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.t-dot-r { background: #ff5f57; }
.t-dot-y { background: #ffbd2e; }
.t-dot-g { background: #28c840; }
.terminal-title {
  font-size: 11px;
  color: var(--text-3);
  margin-left: auto;
  margin-right: auto;
  letter-spacing: .02em;
}
.terminal-body {
  padding: 24px;
  color: var(--text-2);
  line-height: 1.7;
}
.t-comment { color: #a0a4b0; font-style: italic; }
.t-key     { color: #4f6fc2; }   /* azul medio */
.t-str     { color: #2e8b5a; }   /* verde bosque */
.t-num     { color: var(--orange); font-weight: 500; }
.t-bracket { color: #888ea0; }

/* ── Vanta wrapper ───────────────────────────────────────────── */
#vanta-section {
  position: relative;
}

/* ── Tech strip ──────────────────────────────────────────────── */
.tech-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 40px;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Tech strip semitransparente sobre el fog */
.tech-strip-translucent {
  background: rgba(246,246,248,0.55);
  border-top-color: rgba(227,228,232,0.5);
  border-bottom-color: rgba(227,228,232,0.5);
}
.tech-strip-translucent .tech-badge {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tech-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 5px 12px;
  background: var(--surface);
  letter-spacing: -0.01em;
  font-family: var(--mono);
  box-shadow: var(--shadow-card);
}

/* ── Secciones internas ──────────────────────────────────────── */
.section-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-wrap-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-block {
  padding: var(--section-gap) 0;
}
.section-heading {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
/* Ícono de sección (Font Awesome; el origen no lo tenía) */
.section-icon {
  font-size: 0.55em;
  color: var(--plum);
  vertical-align: 0.18em;
  margin-right: 0.45em;
}
.section-contact-dark .section-icon { color: inherit; }

.section-sub {
  font-size: 16px;
  color: var(--text-3);
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

/* ── About section ───────────────────────────────────────────── */
.about-section { background: var(--bg); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.about-heading-sm { font-size: 32px; }
.about-lead { font-size: 14px; color: var(--text-3); line-height: 1.6; margin-top: 12px; }
.about-right { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.about-right p { font-size: 16px; line-height: 1.7; color: var(--text-2); letter-spacing: -0.01em; }

/* ── Arte con caracteres (DEC-004) ───────────────────────────── */
/* Generado por tools/ascii.py en sitio/_ascii_*.html; decorativo (aria-hidden). */
.ascii-wrap {
  container-type: inline-size;
  padding-bottom: var(--section-gap);
}
.ascii-marca {
  /* Cabe en el ancho del contenedor: --cols columnas de 0.625em (IBM Plex Mono) */
  font-size: min(16px, calc(100cqi / (var(--cols) * 0.625)));
  font-family: var(--mono);
  line-height: 1.1;
  color: var(--text);
  margin: 0;
  white-space: pre;
  overflow: hidden;
  user-select: none;
}
/* Ola de color (DEC-012): portada.js pone encima una copia del texto (.ascii-ola) con las letras
   transparentes; solo se ve el degradado dentro de una franja de ~media letra que avanza con --ola-x. */
.ascii-marca { position: relative; }
.ascii-ola {
  --ola-x: -9999px;
  --ola-w: 0px;
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: transparent;
  background: linear-gradient(90deg, #22d3ee, #0082D9 35%, #8b5cf6 70%, #ec4899) var(--ola-x) 0 / var(--ola-w) 100% no-repeat;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent) var(--ola-x) 0 / var(--ola-w) 100% no-repeat;
          mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent) var(--ola-x) 0 / var(--ola-w) 100% no-repeat;
  filter: drop-shadow(0 0 4px rgba(0,130,217,0.45));
}
.ascii-ola * { color: transparent !important; }
.ascii-marca .a1 { color: var(--ascii-1); }
.ascii-marca .a2 { color: var(--text-2); }
.ascii-marca .a-etiqueta { color: var(--accent); }

.ascii-linea {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 16px;
  color: var(--ascii-1);
  margin: 0;
  padding: 0;
  white-space: pre;
  overflow: hidden;
  user-select: none;
  background: var(--bg);
}
.ascii-linea .a2 { color: var(--ascii-2); }
.ascii-linea .a3 { color: var(--ascii-3); }

/* ── Feature grid ────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Card estilo profile card (referencia) */
.impacto-card {
  border-radius: 12px;  /* antes 20px (DEC-013) */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow .22s ease, border-color .22s ease;
}
.impacto-card:hover {
  border-color: rgba(17,26,74,0.2);
  box-shadow: 0 0 0 3px rgba(17,26,74,0.07), var(--shadow-sm);
}
.impacto-card:hover .impacto-visual {
  filter: brightness(1.08);
}

.feature-grid {
  align-items: stretch;
}

.impacto-visual {
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: filter .22s ease;
}

.impacto-visual-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.impacto-visual-icon i { font-size: 26px; color: var(--plum); }

.impacto-body {
  padding: 22px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.impacto-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.impacto-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  flex: 1;
}

.impacto-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.impacto-tag {
  font-size: 11px;
  color: var(--text-4);
  font-family: var(--mono);
  letter-spacing: .01em;
}

.impacto-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--plum);
  color: #fff;
  border-radius: 980px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

@media (max-width: 700px) {
  .feature-grid  { grid-template-columns: 1fr 1fr; }
}

/* ── Experience cards ────────────────────────────────────────── */
.exp-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}


.exp-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: box-shadow .22s ease, border-color .22s ease;
}
.exp-card:hover {
  border-color: rgba(0,0,0,0.30);
}

.exp-logo {
  width: 40px; height: 40px;
  border-radius: var(--r);
  background: var(--bg-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-3);
}
.exp-role    { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; margin-bottom: 2px; }
.exp-company { font-size: 13px; font-weight: 500; color: var(--plum); letter-spacing: -0.01em; margin-bottom: 2px; }
.exp-dates   { font-size: 11px; color: var(--text-3); font-family: var(--mono); margin-bottom: 10px; }
.exp-desc    { font-size: 14px; color: var(--text-3); line-height: 1.55; letter-spacing: -0.01em; }

.exp-bullet {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
  letter-spacing: -0.01em;
  padding-left: 14px;
  position: relative;
}
.exp-bullet::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--plum);
  font-size: 11px;
  top: 1px;
}

/* ── Cómo trabajamos en 4 columnas (DEC-005) ─────────────────── */
/* Meta: la sección completa cabe bajo el nav en una pantalla de 1366 × 768. */
.section-proceso { padding: 64px 0; scroll-margin-top: 56px; }
.section-proceso .section-sub { margin-bottom: 32px; }
.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}
.exp-grid .exp-card { flex-direction: column; gap: 14px; padding: 20px; }
.exp-grid .exp-card > div:last-child { display: flex; flex-direction: column; }
.exp-grid .exp-desc { font-size: 13px; }
/* El entregable baja al pie de cada tarjeta, alineado entre columnas */
.exp-grid .exp-dates {
  order: 10;
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.exp-grid .exp-card ul { margin-bottom: 14px; }
/* Hover: degradado del azul de «¿Trabajamos juntos?» (--accent). Va en ::before para
   poder animar la opacidad (un degradado de fondo no se anima). */
.exp-grid .exp-card { position: relative; isolation: isolate; overflow: hidden; }
.exp-grid .exp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(150deg, rgba(0,130,217,0.20) 0%, rgba(0,130,217,0.07) 55%, rgba(0,130,217,0) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}
.exp-grid .exp-card:hover::before { opacity: 1; }
.exp-grid .exp-card:hover { border-color: rgba(0,130,217,0.35); }
.exp-grid .exp-logo { transition: background .25s ease, color .25s ease, border-color .25s ease; }
.exp-grid .exp-card:hover .exp-logo { background: var(--accent); border-color: var(--accent); color: #fff; }
/* Contorno blanco en el título de la etapa para que se lea sobre el degradado (DEC-008) */
.exp-grid .exp-role { transition: text-shadow .25s ease; }
.exp-grid .exp-card:hover .exp-role {
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff,
               0 0 6px rgba(255,255,255,0.9);
}

/* ── Acceso clientes ────────────────────────────────────────── */
.acceso {
  min-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
  padding: 48px 16px 72px;
  background: var(--bg-2);
}
.acceso-card {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card), var(--shadow-xl);
  padding: 36px 32px 28px;
}
.acceso-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--plum);
  font-size: 20px;
  margin-bottom: 20px;
}
.acceso-title { font-size: 24px; letter-spacing: -0.03em; margin-bottom: 6px; }
.acceso-sub { font-size: 14px; color: var(--text-3); letter-spacing: -0.01em; margin-bottom: 24px; }
.acceso-error {
  font-size: 13px;
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: var(--r);
  padding: 10px 12px;
  margin-bottom: 18px;
}
.acceso-form { display: flex; flex-direction: column; gap: 16px; }
.acceso-campo { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.acceso-campo input {
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.acceso-campo input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,130,217,.15); }
.acceso-btn {
  margin-top: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 14px; font-weight: 500;
  color: #fff;
  background: var(--text);
  border: 0;
  border-radius: 980px;
  padding: 12px 20px;
  cursor: pointer;
  transition: opacity .15s;
}
.acceso-btn:hover { opacity: .9; }
.acceso-btn:disabled { opacity: .7; cursor: progress; }
.acceso-btn .lc-loader-circle { animation: acceso-giro .8s linear infinite; }
@keyframes acceso-giro { to { transform: rotate(360deg); } }
.acceso-ayuda { font-size: 12px; color: var(--text-3); margin-top: 20px; text-align: center; }

/* ── Contact (Deep Plum dark) ────────────────────────────────── */
.section-contact-dark {
  /* background: #005c99; */
  background: #030812;  /* antes #222E3C (DEC-007) */
  padding: var(--section-gap) 40px;
  text-align: center;
}
.section-contact-dark .section-heading { color: #0082D9; }
.section-contact-dark .section-sub { color: rgba(255,255,255,.5); margin-bottom: 40px; }

.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;  /* «✓ ¡Copiado!» centrado cuando el botón conserva su ancho */
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: border-color .15s, background .15s;
}
.contact-link:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.14);
  color: #fff;
  text-decoration: none;
}
.contact-link i { font-size: 15px; width: 15px; text-align: center; flex-shrink: 0; }

/* ── Pie de página: cinta final (f-lacho-gutierrez-0003) ──────── */
/* Colores de la referencia (pie de convoca.mx, DEC-001): un tono arriba del #030812 de
   Contacto, con línea #172331 entre los dos. */
.site-footer {
  background: #06111F;
  border-top: 1px solid #172331;
}
.site-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 36px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.site-footer-nombre {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.site-footer-nombre { display: inline-flex; align-items: center; gap: 4px; }
.site-footer-nombre .lc { font-size: 20px; }  /* mismo ícono que la marca del menú (DEC-003) */
.site-footer-nombre:hover { color: #fff; text-decoration: none; }
.site-footer-legal { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 6px; letter-spacing: -0.01em; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  letter-spacing: -0.01em;
  transition: color .15s;
}
.site-footer-links a:hover { color: #fff; text-decoration: none; }
.site-footer-links .lc { font-size: 13px; opacity: .7; }

/* ── Reveal animations ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

/* ── Responsive ──────────────────────────────────────────────── */

/* Tablet (≤ 860px) */
@media (max-width: 860px) {
  /* Nav */
  .site-nav { padding: 0 20px; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-inner { padding: 88px 28px 28px; }

  .hero-floats {
    position: relative;
    left: auto; top: auto;
    transform: none;
    flex-wrap: nowrap;
    gap: 0;
    margin-bottom: 32px;
    order: 2;
    width: 100%;
  }
  .hero-float-stat { padding: 0 16px; flex-shrink: 0; white-space: nowrap; }
  .float-num { font-size: clamp(20px, 4vw, 34px); }
  .float-label { font-size: clamp(10px, 1.5vw, 12px); }

  .hero-display {
    font-size: clamp(52px, 9vw, 96px);
    text-align: left;
    max-width: 100%;
    align-self: flex-start;
    margin-bottom: 16px;
    order: 1;
  }

  .hero-subtitle { text-align: left; align-self: flex-start; max-width: 100%; order: 2; margin-top: 0; margin-bottom: 24px; }

  .hero-cta { margin-top: 0; order: 3; }

  .hero-bottom { padding: 20px 28px; flex-wrap: wrap; gap: 8px; }
  .hero-bottom-info { gap: 8px; flex-wrap: wrap; justify-content: flex-start; }

  /* Sections */
  .section-wrap { padding: 0 28px; }

  /* Profile grid → stack */
  .about-grid { display: flex; flex-direction: column; gap: 32px; }

  /* Section wrap wide */
  .section-wrap-wide { padding: 0 28px; }

  /* Pie de página */
  .site-footer-inner { padding: 32px 28px; }

  /* Feature grid */
  .feature-grid { grid-template-columns: 1fr 1fr; }

  /* Cómo trabajamos: 2 columnas */
  .exp-grid { grid-template-columns: 1fr 1fr; }

  /* Section gap */
  :root { --section-gap: 64px; }
}

/* Mobile (≤ 560px) */
@media (max-width: 560px) {
  /* Nav */
  .site-nav { padding: 0 16px; gap: 16px; }
  .nav-links a { padding: 6px 8px; font-size: 13px; }
  /* La marca no cabe con el texto de los enlaces: solo íconos (DEC-001) */
  .nav-links a { padding: 8px 10px; }
  .nav-links a i { font-size: 18px; }
  .nav-text { display: none; }

  /* Hero */
  .hero-inner { padding: 80px 20px 20px; }

  .hero-display { font-size: clamp(44px, 12vw, 72px); }

  /* Stats en una línea compacta */
  .hero-floats { gap: 0; margin-bottom: 24px; }
  .hero-float-stat { padding: 0 14px; }
  .hero-float-stat:first-child { padding-left: 0; }
  .float-num  { font-size: 22px; }
  .float-label { font-size: 10px; }
  .float-sep  { height: 24px; }

  .hero-bottom { padding: 16px 20px; }
  .hero-bottom-info { display: none; }

  /* Sections */
  .section-wrap { padding: 0 16px; }
  .section-wrap-wide { padding: 0 16px; }
  .section-heading { font-size: 28px; }
  .section-sub { font-size: 14px; margin-bottom: 32px; }

  /* Feature grid → 1 columna */
  .feature-grid { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr; }

  /* Impacto cards */
  .impacto-visual { height: 160px; }

  /* Exp cards */
  .exp-card { padding: 16px; gap: 12px; }
  .exp-logo  { width: 36px; height: 36px; font-size: 9px; flex-shrink: 0; }

  /* Tech strip */
  .tech-strip { padding: 16px; gap: 6px; }
  .tech-badge { font-size: 11px; padding: 4px 10px; }

  /* Section gap */
  :root { --section-gap: 48px; }

  /* Footer */
  .section-contact-dark { padding: 48px 20px; }
  .contact-links { flex-direction: column; align-items: center; }
  .site-footer-inner { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
  .site-footer-links { gap: 10px 20px; }
  .section-heading[style*="38px"] { font-size: 30px !important; }
}
