/* =============================================================
   agendaria.es · styles.css
   Arquetipo: Glassmorphism moderno, variante oscura (navy + teal)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #050b17;
  --bg-2: #081326;
  --bg-3: #0c1b33;
  --ink: #e9f0f8;
  --ink-soft: #a6b5ca;
  --ink-mute: #74869f;
  --accent: #2dd4bf;
  --accent-light: #5eead4;
  --accent-pale: #99f6e4;
  --accent-2: #34d399;
  --blue: #2563eb;
  --accent-ink: #03201b;
  --warn: #fde68a;
  --warn-line: rgba(251, 191, 36, 0.42);
  --line: rgba(160, 190, 230, 0.14);
  --line-strong: rgba(160, 190, 230, 0.26);
  --glass-solid: #0b182c;
  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --maxw: 1200px;
  --nav-h: 74px;
  --display: "Sora", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --grad-accent: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 45%, var(--accent-2) 100%);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
  background: var(--bg);
  color-scheme: dark;
}
body {
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
strong, b { font-weight: 600; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: 0.45s;
  animation-timing-function: var(--ease-out);
}
::view-transition-old(root) { animation-name: vtOut; }
::view-transition-new(root) { animation-name: vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: 0.6rem 1rem; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.grad {
  background: linear-gradient(100deg, var(--accent-pale) 0%, var(--accent) 45%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.link-u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.45s var(--ease-soft), color 0.3s;
}
.link-u:hover { background-size: 100% 1.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Fondo: degradado de malla animado + retícula */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, #0b1d3a 0%, var(--bg) 58%); }
.bg-mesh {
  position: absolute; inset: -30%;
  background:
    radial-gradient(26% 30% at 24% 30%, rgba(45, 212, 191, 0.26), transparent 70%),
    radial-gradient(32% 36% at 76% 28%, rgba(37, 99, 235, 0.30), transparent 70%),
    radial-gradient(28% 32% at 55% 76%, rgba(52, 211, 153, 0.15), transparent 70%);
  filter: blur(60px);
  will-change: transform;
  animation: meshDrift 34s var(--ease-soft) infinite alternate;
}
@keyframes meshDrift {
  0% { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(3%, 2%, 0) rotate(14deg) scale(1.08); }
  100% { transform: translate3d(-2%, 4%, 0) rotate(-8deg) scale(1.02); }
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(160, 190, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 190, 230, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 25%, transparent 78%);
}

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15);
}
.h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-soft); max-width: 62ch; }
.source { font-size: 0.78rem; color: var(--ink-mute); }
.source a { color: var(--ink-soft); }

/* =============================================================
   5. Components
   ============================================================= */
/* Cristal: fondo sólido primero, cristal si el navegador lo soporta */
.glass {
  position: relative;
  background: var(--glass-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -34px rgba(0, 0, 0, 0.75);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: linear-gradient(180deg, rgba(160, 190, 230, 0.085), rgba(160, 190, 230, 0.03));
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
  }
}

/* Botones */
.btn {
  --btn-pad: 0.95rem 1.45rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: var(--btn-pad);
  border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem; line-height: 1;
  white-space: nowrap;
  transition: transform 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft),
    background-color 0.3s, border-color 0.3s, color 0.3s, opacity 0.3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.45s var(--ease-soft); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn:active { transform: translateY(-1px); transition-duration: 0.12s; }
.btn-primary {
  color: var(--accent-ink);
  background: var(--grad-accent);
  box-shadow: 0 10px 30px -12px rgba(45, 212, 191, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -14px rgba(45, 212, 191, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: rgba(160, 190, 230, 0.05);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.55);
  background: rgba(45, 212, 191, 0.08);
}
.btn-sm { --btn-pad: 0.7rem 1.1rem; font-size: 0.88rem; }
.has-magnetic { position: relative; isolation: isolate; }
.magnetic-inner {
  display: inline-flex; align-items: center; justify-content: center; gap: inherit;
  will-change: transform;
  transition: transform 0.8s var(--ease-soft);
}

.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  color: var(--ink-soft);
  border: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); background: rgba(160, 190, 230, 0.08); }
.icon-btn svg { width: 20px; height: 20px; }

/* Nav flotante */
.nav {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 100;
  width: min(100% - 1.5rem, 1240px); height: 62px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 0.45rem 0 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 17, 33, 0.88);
  transition: background-color 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgba(8, 17, 33, 0.45); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
  .nav.is-scrolled { background: rgba(8, 17, 33, 0.72); }
}
.nav.is-scrolled { border-color: var(--line-strong); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.75); }
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.02em;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-tld { color: var(--ink-mute); font-weight: 500; }
.nav-links { display: none; align-items: center; gap: 1.7rem; font-size: 0.92rem; color: var(--ink-soft); }
.nav-link { position: relative; padding: 0.3rem 0; transition: color 0.3s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-soft);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 0.3rem; }
.lang-switch {
  display: inline-flex; align-items: center; padding: 3px; margin-right: 0.15rem;
  border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em;
}
.lang-switch a { padding: 0.36rem 0.5rem; border-radius: 999px; color: var(--ink-mute); line-height: 1; transition: color 0.3s, background-color 0.3s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--accent-ink); background: var(--accent); }
@media (max-width: 539px) {
  .nav { padding-left: 0.8rem; gap: 0.4rem; }
  .brand { font-size: 1rem; gap: 0.45rem; }
  .brand-mark { width: 26px; height: 26px; }
  .nav .icon-btn { width: 36px; height: 36px; }
  .nav-toggle { width: 42px; height: 42px; }
  .lang-switch a { padding: 0.32rem 0.4rem; }
}
.nav-cta { display: none; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.nav-toggle span { position: relative; display: block; width: 18px; height: 1.5px; background: var(--ink); transition: background-color 0.3s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink);
  transition: transform 0.45s var(--ease-soft);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: grid; align-content: center; gap: 2.2rem;
  padding: 6rem var(--gutter) 3rem;
  background: rgba(5, 11, 23, 0.97);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.6s var(--ease-soft), visibility 0s 0.6s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 0.6s var(--ease-soft), visibility 0s; }
.menu-links { display: grid; gap: 0.6rem; }
.menu-link { font-family: var(--display); font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.menu-link[aria-current="page"] { color: var(--accent); }

/* Tarjetas */
.card {
  position: relative;
  display: grid; gap: 1rem; align-content: start;
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  transition: transform 0.5s var(--ease-soft), border-color 0.4s, box-shadow 0.5s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(45, 212, 191, 0.1), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(45, 212, 191, 0.35); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }
.card-ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--accent-pale);
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.2), rgba(37, 99, 235, 0.2));
  border: 1px solid rgba(45, 212, 191, 0.28);
}
.card-ico svg { width: 24px; height: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  font-family: var(--mono); font-size: 0.7rem; color: var(--ink-soft);
  padding: 0.32rem 0.62rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(160, 190, 230, 0.04);
}

.status {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); padding: 0.35rem 0.65rem; border-radius: 999px;
  background: rgba(45, 212, 191, 0.1); border: 1px solid rgba(45, 212, 191, 0.25);
  white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6); } 100% { box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); } }

.photo {
  position: relative; overflow: hidden;
  min-height: 300px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 11, 23, 0.88));
}
.photo figcaption { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; z-index: 1; font-size: 0.86rem; color: var(--ink-soft); }

/* Formularios */
.form { display: grid; gap: 1rem; padding: clamp(1.3rem, 3vw, 2.2rem); }
.segmented {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem; padding: 0.3rem;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(160, 190, 230, 0.06);
}
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 0.78rem 0.6rem; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; line-height: 1.2; color: var(--ink-soft);
  cursor: pointer; transition: background-color 0.3s, color 0.3s;
}
.segmented label:hover { color: var(--ink); }
.segmented input:checked + label { color: var(--accent-ink); background: var(--grad-accent); }
.segmented input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-row { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-size: 0.83rem; font-weight: 500; color: var(--ink-soft); }
.field .opt { color: var(--ink-mute); font-weight: 400; }
.input {
  width: 100%; padding: 0.85rem 1rem;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(5, 11, 23, 0.55); color: var(--ink); font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.input::placeholder { color: var(--ink-mute); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15); }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23a6b5ca' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
select.input option { background: #0b1628; color: var(--ink); }
textarea.input { min-height: 130px; resize: vertical; line-height: 1.5; }
.field.is-invalid .input { border-color: #f87171; }
.field-error { font-size: 0.78rem; color: #fca5a5; }
.only-budget { display: none; }
.form:has(#tipo-presupuesto:checked) .only-budget, .form.is-budget .only-budget { display: grid; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; font-size: 0.86rem; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; margin-top: 0.2rem; accent-color: var(--accent); }
.check a { color: var(--ink); }
.check.is-invalid { color: #fca5a5; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { font-size: 0.9rem; padding: 0.8rem 1rem; border-radius: 12px; }
.form-status.is-ok { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.35); color: #a7f3d0; }
.form-status.is-err { background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.35); color: #fecaca; }
.form.is-sending button[type="submit"] { opacity: 0.65; pointer-events: none; }

/* Aviso de contenido de ejemplo */
.demo-note {
  display: flex; gap: 0.8rem; align-items: flex-start;
  padding: 0.95rem 1.15rem; margin-bottom: 1.5rem;
  border-radius: 14px; border: 1px dashed var(--warn-line);
  background: rgba(251, 191, 36, 0.06); color: var(--warn); font-size: 0.9rem;
}
.demo-note svg { width: 20px; height: 20px; flex: none; margin-top: 0.1rem; }

/* =============================================================
   6. Sections
   ============================================================= */
.section { position: relative; padding-block: clamp(4.5rem, 11vw, 8rem); }
.section-head { display: grid; gap: 1rem; justify-items: start; max-width: 780px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head.is-center { margin-inline: auto; text-align: center; justify-items: center; }

/* Hero (Servicios) */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 4rem;
}
.hero-grid { display: grid; gap: 3.5rem; align-items: center; }
.hero-copy { display: grid; gap: 1.6rem; justify-items: start; }
.hero-title { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.04; letter-spacing: -0.035em; max-width: 17ch; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; font-size: 0.86rem; color: var(--ink-soft); }
.hero-meta li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 10% 5%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.22), transparent);
  filter: blur(40px);
}

/* La firma: flujo de automatización en vivo */
.flow { display: grid; gap: 1rem; padding: 1.2rem; animation: bob 8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.flow-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.2rem 0.2rem 0; }
.flow-title { font-family: var(--display); font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.flow-title small { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.78rem; color: var(--ink-mute); }
.flow-steps { position: relative; display: grid; gap: 0.65rem; }
.flow-rail { position: absolute; left: 28px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; background: var(--line-strong); overflow: hidden; }
.flow-rail::after {
  content: ""; position: absolute; left: 0; right: 0; height: 36%; top: -36%;
  background: linear-gradient(transparent, var(--accent), transparent);
  animation: railPulse 8s linear infinite;
}
@keyframes railPulse { to { top: 100%; } }
.flow-step {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.85rem; align-items: center;
  padding: 0.72rem 0.9rem 0.72rem 0.6rem;
  border-radius: 16px; border: 1px solid var(--line); background: rgba(6, 13, 27, 0.6);
  animation: stepGlow 8s ease-in-out infinite;
}
.flow-step:nth-of-type(2) { animation-delay: 2s; }
.flow-step:nth-of-type(3) { animation-delay: 4s; }
.flow-step:nth-of-type(4) { animation-delay: 6s; }
@keyframes stepGlow {
  0%, 24%, 100% { border-color: var(--line); box-shadow: none; }
  9%, 17% { border-color: rgba(45, 212, 191, 0.55); box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.18), 0 12px 30px -12px rgba(45, 212, 191, 0.4); }
}
.flow-ico {
  position: relative; z-index: 1;
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; color: var(--accent-pale);
  background: linear-gradient(145deg, #0f3a44, #10254d);
  border: 1px solid rgba(45, 212, 191, 0.3);
}
.flow-ico svg { width: 18px; height: 18px; }
.flow-name { font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.flow-detail { display: block; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-mute); line-height: 1.4; }
.flow-time { font-family: var(--mono); font-size: 0.7rem; color: var(--accent); }
.flow-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.flow-metric { padding: 0.8rem 0.9rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(160, 190, 230, 0.04); }
.flow-metric b { display: block; font-family: var(--display); font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
.flow-metric span { font-size: 0.74rem; color: var(--ink-soft); }
.flow-metric.is-after b { color: var(--accent); }
.flow-note { font-size: 0.7rem; color: var(--ink-mute); text-align: right; padding-right: 0.2rem; }

/* Servicios */
.services { display: grid; gap: 1rem; }

/* IA en tu empresa */
.stats { display: grid; gap: 1rem; margin-bottom: 1rem; }
.stat-compare { display: grid; gap: 1.6rem; padding: clamp(1.5rem, 3vw, 2.2rem); }
.bar-row { display: grid; gap: 0.55rem; }
.bar-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.bar-label > span:first-child { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.4; }
.bar-value { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.bar { height: 12px; border-radius: 999px; background: rgba(160, 190, 230, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; transform-origin: left; transition: transform 1.6s var(--ease-out) 0.2s; }
.bar-row.is-sme .bar i { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.bar-row.is-large .bar i { background: linear-gradient(90deg, #1d4ed8, #60a5fa); }
.js [data-reveal] .bar i { transform: scaleX(0); }
.js [data-reveal].is-visible .bar i { transform: scaleX(1); }
.stat-aside { display: grid; gap: 0.9rem; align-content: center; padding: clamp(1.5rem, 3vw, 2.2rem); }
.stat-aside .bar-value { color: var(--accent); }
.stat-aside p { color: var(--ink-soft); font-size: 0.95rem; }

.pains-grid { display: grid; gap: 1rem; margin-top: clamp(3rem, 7vw, 5rem); }
.pains-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.4rem; }
.pain-list { display: grid; gap: 1rem; }
.pain { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.35rem 1.4rem; }
.pain-num { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); padding-top: 0.25rem; }
.pain h4 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.pain p { color: var(--ink-soft); font-size: 0.95rem; }
.pains-photo { min-height: 340px; }

.hinge {
  display: grid; gap: 1.2rem; margin-top: 1rem; overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-color: rgba(45, 212, 191, 0.32);
}
.hinge::after {
  content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.16), transparent);
}
.hinge-year { font-family: var(--display); font-weight: 600; font-size: clamp(3.5rem, 9vw, 6rem); line-height: 0.9; letter-spacing: -0.05em; }
.hinge h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 0.6rem; }
.hinge p { color: var(--ink-soft); max-width: 70ch; }
.hinge p + p { margin-top: 0.6rem; }

/* Cómo funciona */
.steps { position: relative; display: grid; gap: 1.6rem; }
.steps-line { display: none; }
.step { position: relative; display: grid; gap: 1.1rem; align-content: start; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.85rem; font-weight: 500;
  color: var(--accent-ink); background: var(--grad-accent);
  box-shadow: 0 0 0 6px var(--bg), 0 0 28px rgba(45, 212, 191, 0.35);
}
.step-card { display: grid; gap: 0.75rem; padding: 1.4rem; height: 100%; align-content: start; }
.step-card h3 { font-size: 1.15rem; }
.step-card p { color: var(--ink-soft); font-size: 0.95rem; }
.step-out { margin-top: 0.3rem; padding-top: 0.8rem; border-top: 1px dashed var(--line-strong); font-size: 0.86rem; }
.step-out b { color: var(--accent); }

/* Testimonios de ejemplo */
.quotes { display: grid; gap: 1rem; }
.quote { display: grid; gap: 1.3rem; align-content: space-between; padding: 1.7rem 1.6rem 1.5rem; }
.quote blockquote { font-size: 1.04rem; line-height: 1.6; color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-size: 3rem; line-height: 0.7; color: var(--accent); margin-bottom: 0.3rem; }
.quote figcaption { display: flex; align-items: center; gap: 0.8rem; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.4; }
.quote figcaption b { display: block; color: var(--ink); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--ink-soft);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.22), rgba(37, 99, 235, 0.3));
  border: 1px solid var(--line-strong);
}
.avatar svg { width: 20px; height: 20px; }
.badge {
  position: absolute; top: 1rem; right: 1rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--warn); padding: 0.22rem 0.55rem; border-radius: 999px; border: 1px solid var(--warn-line);
}

/* Contacto */
.contact-grid { display: grid; gap: 2rem; }
.contact-copy { display: grid; gap: 1.3rem; align-content: start; justify-items: start; }
.contact-points { display: grid; gap: 0.75rem; color: var(--ink-soft); font-size: 0.96rem; }
.contact-points li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.contact-points svg { width: 18px; height: 18px; color: var(--accent); margin-top: 0.25rem; }
.contact-photo { width: 100%; aspect-ratio: 4 / 3; min-height: 0; margin-top: 0.5rem; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Footer */
.footer { padding-block: 2.8rem 2.4rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 1.4rem; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: 0.9rem; color: var(--ink-soft); }
.footer-legal { font-size: 0.8rem; color: var(--ink-mute); }
.socials { display: flex; gap: 0.2rem; }

/* Chat */
.chat-launcher {
  position: fixed; z-index: 120;
  right: clamp(0.9rem, 3vw, 1.6rem); bottom: clamp(0.9rem, 3vw, 1.6rem);
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem; border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; color: var(--ink);
  border: 1px solid rgba(45, 212, 191, 0.4);
  background: rgba(8, 17, 33, 0.94);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.75);
  transition: transform 0.45s var(--ease-soft), opacity 0.3s, border-color 0.3s;
}
.chat-launcher:hover { transform: translateY(-3px); border-color: rgba(45, 212, 191, 0.7); }
.chat-orb {
  position: relative; width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--accent-ink); background: var(--grad-accent);
}
.chat-orb svg { width: 20px; height: 20px; }
.chat-orb::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, 0.5); animation: orbPing 2.8s ease-out infinite;
}
@keyframes orbPing { 0% { transform: scale(0.9); opacity: 0.9; } 100% { transform: scale(1.35); opacity: 0; } }
.chat-launcher-label { display: none; padding-right: 0.6rem; }
.chat.is-open .chat-launcher { opacity: 0; pointer-events: none; transform: translateY(8px); }
.chat-panel {
  position: fixed; z-index: 130;
  left: 0.6rem; right: 0.6rem; bottom: 0.6rem;
  max-height: calc(100vh - 1.2rem); max-height: calc(100dvh - 1.2rem);
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; border: 1px solid var(--line-strong);
  background: #0a1628;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.85);
  transform-origin: bottom right;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .chat-panel, .chat-launcher { -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
  .chat-panel { background: rgba(10, 22, 40, 0.86); }
}
.chat-panel[hidden] { display: none; }
.chat-panel.is-entering { animation: chatIn 0.45s var(--ease-out); }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } }
.chat-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 0.8rem 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.chat-head .chat-orb { width: 34px; height: 34px; }
.chat-head .chat-orb::after { display: none; }
.chat-head b { display: block; font-family: var(--display); font-size: 0.95rem; line-height: 1.3; }
.chat-head small { display: block; font-size: 0.74rem; color: var(--ink-mute); line-height: 1.35; }
.chat-close { margin-left: auto; }
.chat-log {
  flex: 1 1 auto; min-height: 160px; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 0.7rem; padding: 1rem;
}
.msg { max-width: 88%; padding: 0.7rem 0.9rem; border-radius: 16px; font-size: 0.92rem; line-height: 1.5; overflow-wrap: anywhere; }
.msg p + p, .msg p + ul, .msg ul + p { margin-top: 0.5rem; }
.msg ul { list-style: disc; padding-left: 1.1rem; }
.msg-bot { align-self: flex-start; background: rgba(160, 190, 230, 0.08); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg-user { align-self: flex-end; color: var(--accent-ink); background: linear-gradient(135deg, var(--accent-light), var(--accent)); border-bottom-right-radius: 6px; }
.msg .btn { margin-top: 0.7rem; }
.msg-typing { display: inline-flex; gap: 0.3rem; padding: 0.85rem 1rem; }
.msg-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); animation: typing 1.2s ease-in-out infinite; }
.msg-typing i:nth-child(2) { animation-delay: 0.15s; }
.msg-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 1rem 0.8rem; }
.chat-suggest button {
  font-size: 0.8rem; line-height: 1.35; text-align: left;
  padding: 0.45rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.35); color: var(--accent-pale); background: rgba(45, 212, 191, 0.06);
  transition: background-color 0.3s;
}
.chat-suggest button:hover { background: rgba(45, 212, 191, 0.14); }
.chat-form { display: flex; gap: 0.5rem; padding: 0.7rem; border-top: 1px solid var(--line); }
.chat-form .input { border-radius: 999px; padding: 0.7rem 1rem; }
.chat-send { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-ink); background: var(--grad-accent); transition: opacity 0.3s; }
.chat-send svg { width: 18px; height: 18px; }
.chat-send:disabled { opacity: 0.5; cursor: default; }
.chat-note { padding: 0 1rem 0.75rem; font-size: 0.7rem; color: var(--ink-mute); line-height: 1.45; }
.chat-fallback { display: grid; gap: 0.7rem; padding: 0.9rem 1rem 1rem; border-top: 1px solid var(--line); overflow-y: auto; }
.chat-fallback[hidden] { display: none; }
.chat-fallback .input { padding: 0.7rem 0.9rem; }
.chat-fallback textarea.input { min-height: 84px; }
.chat-fallback-title { font-size: 0.86rem; color: var(--ink-soft); }

/* Talento: perfil */
.profile { padding-top: calc(var(--nav-h) + 3.5rem); padding-bottom: clamp(3rem, 8vw, 5rem); }
.profile-grid { display: grid; gap: 2.5rem; align-items: center; }
.portrait-wrap { position: relative; width: min(100%, 220px); }
.portrait-wrap::before {
  content: ""; position: absolute; inset: -12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, 0.25), transparent);
  filter: blur(30px);
}
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; border: 1px solid var(--line-strong); background: var(--bg-3); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-tag { position: absolute; left: 1rem; bottom: 1rem; }
.profile-copy { display: grid; gap: 1.3rem; justify-items: start; }
.profile-name { font-size: clamp(2.6rem, 6.5vw, 4.8rem); letter-spacing: -0.04em; line-height: 1; }
.profile-role { font-size: clamp(1.05rem, 1.8vw, 1.28rem); color: var(--ink-soft); max-width: 50ch; }
.profile-role strong { color: var(--ink); }
.profile-socials { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; width: 100%; margin-top: 0.4rem; }
.fact { padding: 1rem 1.1rem; border-radius: var(--radius-sm); }
.fact b { display: block; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; line-height: 1.15; }
.fact span { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.35; display: block; }

.bio-grid { display: grid; gap: 2rem; }
.bio-text { display: grid; gap: 1.1rem; font-size: 1.05rem; color: var(--ink-soft); }
.bio-text strong { color: var(--ink); }
.strengths { display: grid; gap: 0.8rem; }
.strength { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; padding: 1.15rem 1.2rem; border-radius: var(--radius-sm); }
.strength .card-ico { width: 40px; height: 40px; border-radius: 12px; }
.strength .card-ico svg { width: 20px; height: 20px; }
.strength h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.strength p { font-size: 0.9rem; color: var(--ink-soft); }

/* Talento: casos de éxito */
.timeline { display: grid; gap: 1rem; }
.case { display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.1rem); }
.case-meta { display: grid; gap: 0.35rem; align-content: start; }
.case-company { font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.case-when { font-family: var(--mono); font-size: 0.74rem; color: var(--accent); }
.case-role { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.4; }
.case h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: 0.6rem; }
.case-body > p { color: var(--ink-soft); }
.case-points { display: grid; gap: 0.5rem; margin-top: 0.9rem; color: var(--ink-soft); font-size: 0.95rem; }
.case-points li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; }
.case-points li::before { content: ""; width: 6px; height: 6px; margin-top: 0.62rem; border-radius: 50%; background: var(--accent); }
.case-body .chips { margin-top: 1rem; }
.case-highlight {
  display: flex; flex-wrap: wrap; gap: 0.3rem 0.7rem; align-items: baseline;
  margin-top: 1rem; padding: 0.7rem 1rem; border-radius: 12px;
  background: rgba(45, 212, 191, 0.08); border: 1px solid rgba(45, 212, 191, 0.25); font-size: 0.9rem;
}
.case-highlight b { font-family: var(--display); font-size: 1.45rem; color: var(--accent); letter-spacing: -0.02em; }
.timeline-more { font-size: 0.9rem; color: var(--ink-mute); padding: 0.8rem 0.2rem 0; max-width: 80ch; }

/* Talento: stack y empresas */
.stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.tech {
  display: grid; justify-items: center; gap: 0.8rem; text-align: center;
  padding: 1.5rem 1rem; color: var(--ink-soft);
  transition: color 0.4s, transform 0.5s var(--ease-soft), border-color 0.4s;
}
.tech svg { width: 52px; height: 52px; }
.tech svg, .tech svg * { fill: currentColor !important; }
.tech span { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.tech .tech-pair { display: flex; gap: 0.45rem; }
.tech .tech-pair svg { width: 40px; height: 40px; margin-block: 6px; }
.tech:hover { color: var(--accent); transform: translateY(-4px); border-color: rgba(45, 212, 191, 0.35); }
.stack-more { margin-top: 1.2rem; }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.logo {
  display: grid; place-items: center; min-height: 104px; padding: 1rem; text-align: center;
  color: var(--ink-soft); border-radius: var(--radius-sm);
  transition: color 0.4s, border-color 0.4s;
}
.logo:hover { color: var(--ink); border-color: var(--line-strong); }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.1; }
.wordmark small { display: block; margin-top: 0.35rem; font-family: var(--mono); font-weight: 400; font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.wordmark.is-light { font-weight: 400; letter-spacing: 0.02em; }
.wordmark.is-caps { text-transform: uppercase; letter-spacing: 0.08em; font-size: 1rem; }
.wordmark.is-lower { text-transform: lowercase; font-size: 1.35rem; }

/* Páginas sencillas: gracias, 404, privacidad */
.page-simple { min-height: 78vh; min-height: 78svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 4rem) 0 4rem; }
.page-simple .container { display: grid; gap: 1.3rem; justify-items: center; max-width: 680px; }
.page-simple h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.prose { max-width: 780px; padding: calc(var(--nav-h) + 3.5rem) 0 4rem; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 0.6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 0.8rem; }
.prose ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: 0.35rem; margin-top: 0.6rem; }
.prose a { color: var(--accent); }
.todo { color: var(--warn); font-family: var(--mono); font-size: 0.85em; }

/* =============================================================
   7. Effects (reveal)
   ============================================================= */
.js [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.9s var(--ease-out), translate 0.9s var(--ease-out),
    transform 0.5s var(--ease-soft), border-color 0.4s, box-shadow 0.5s, color 0.4s;
  transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s, 0s;
}
.js [data-reveal].is-visible { opacity: 1; translate: none; }
.js [data-intro] { animation: introUp 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 0.09s); }
@keyframes introUp { from { opacity: 0; transform: translateY(26px); } }
.hero-copy > :nth-child(2), .profile-copy > :nth-child(2) { --i: 1; }
.hero-copy > :nth-child(3), .profile-copy > :nth-child(3), .hero-visual { --i: 2; }
.hero-copy > :nth-child(4), .profile-copy > :nth-child(4) { --i: 3; }
.hero-copy > :nth-child(5), .profile-copy > :nth-child(5) { --i: 4; }
.menu:target { clip-path: inset(0); visibility: visible; transition: clip-path 0.6s var(--ease-soft), visibility 0s; }

/* =============================================================
   8. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .chat-launcher-label { display: inline; }
  .chat-launcher { padding-right: 0.9rem; }
  .chat-panel { left: auto; right: 1.4rem; bottom: 1.4rem; width: 392px; max-height: min(640px, calc(100vh - 2.8rem)); max-height: min(640px, calc(100dvh - 2.8rem)); }
  .stack { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 720px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr auto; }
}
@media (min-width: 960px) {
  .nav { padding-left: 1.3rem; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .menu { display: none; }
  .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 4rem; }
  .stats { grid-template-columns: 1.3fr 0.7fr; }
  .pains-grid { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
  .hinge { grid-template-columns: auto 1fr; align-items: center; gap: 2.8rem; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
  .steps-line { display: block; position: absolute; left: 22px; right: 12%; top: 21px; height: 2px; border-radius: 2px; background: var(--line-strong); overflow: hidden; }
  .steps-line i { position: absolute; inset: 0; transform-origin: left; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: start; }
  .profile-grid { grid-template-columns: minmax(260px, 340px) 1fr; gap: 4rem; }
  .portrait-wrap { width: 100%; }
  .bio-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: start; }
  .case { grid-template-columns: 230px 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr auto auto; gap: 2rem; }
}
@media (min-width: 1280px) {
  .stack { grid-template-columns: repeat(8, 1fr); }
}

/* =============================================================
   9. Reduced motion (solo lo intrusivo)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow { animation: none; }
  .status::before, .chat-orb::after { animation: none; }
}
