/* ==========================================================================
   ARTIFICI · estilos
   ========================================================================== */

/* Fuentes alojadas en el propio servidor (sin conexiones a Google) */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url('../assets/fonts/Inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url('../assets/fonts/SpaceGrotesk-latin.woff2') format('woff2');
}

:root {
  --bg: #060B18;
  --bg-2: #0B1326;
  --line: rgba(120, 160, 255, .14);
  --text: #E8EEFF;
  --muted: #8A97B8;
  --blue: #1E5BFF;
  --blue-2: #2E8BFF;
  --cyan: #2EC5FF;
  --deep: #0A2E8A;
  --ok: #3EE0A1;
  --radius: 16px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font: 'Inter', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.grad { background: linear-gradient(90deg, #5FE0FF, var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

/* ---------- Fondo ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
#particles { position: absolute; inset: 0; }
.bg-glow { position: absolute; border-radius: 50%; filter: blur(60px); }
.bg-glow--1 { width: 70vw; height: 70vw; left: -20vw; top: -30vw; background: radial-gradient(circle, rgba(30, 91, 255, .35), transparent 65%); }
.bg-glow--2 { width: 60vw; height: 60vw; right: -20vw; bottom: -30vw; background: radial-gradient(circle, rgba(46, 197, 255, .18), transparent 65%); }
.bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(120, 160, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 160, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
}
.bg-orbit {
  position: absolute;
  width: 140vmax; height: 140vmax;
  left: calc(50% - 70vmax); top: calc(50% - 70vmax);
  transform: rotate(-18deg);
  fill: none; stroke: rgba(46, 197, 255, .09); stroke-width: 1;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-2), var(--blue) 60%, #1747D6);
  box-shadow: 0 8px 30px -8px rgba(30, 91, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(46, 139, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--ghost { color: var(--text); border: 1px solid rgba(140, 180, 255, .3); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(46, 197, 255, .08); }
.btn--sm { height: 40px; padding: 0 18px; font-size: .88rem; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.is-scrolled {
  background: rgba(6, 11, 24, .75);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 44px; height: 33px; }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .22em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; color: var(--muted); }
.nav a:not(.btn):hover { color: var(--text); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 6px; font-size: .8rem; color: var(--muted); }
.lang a[aria-current] { color: var(--text); font-weight: 600; }
.nav-toggle {
  display: none; place-content: center; gap: 6px;
  width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, .03); cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(6, 11, 24, .97);
    border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .nav .nav-cta { display: inline-flex; margin-top: 18px; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: grid; }
  .site-header:has(.nav.is-open) { background: rgba(6, 11, 24, .97); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; }
.stage { position: relative; height: 100%; }

/* --- Intro --- */
.intro {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 16px) var(--gutter) 64px;
  text-align: center;
}
.hero-mark { width: clamp(110px, 12vw, 160px); height: auto; overflow: visible; filter: drop-shadow(0 10px 40px rgba(30, 91, 255, .45)); }
.m-spark { transform-box: fill-box; transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
.m-spark + .m-spark { animation-delay: 1.2s; }
@keyframes twinkle { 50% { opacity: .45; } }
.hero-word {
  margin: 12px 0 24px; padding-left: .42em;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.25rem); letter-spacing: .42em;
  background: linear-gradient(90deg, #9FEFFF, #fff, #7FB0FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro h1 { font-size: clamp(2.1rem, 5.4vw, 4.4rem); max-width: 16ch; }
.lead { margin-top: 20px; max-width: 60ch; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  margin: 26px 0 0; padding: 0; list-style: none;
  font-size: .85rem; color: var(--muted);
}
.trust li::before {
  content: ''; display: inline-block; vertical-align: middle;
  width: 6px; height: 6px; margin-right: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
.scroll-hint {
  position: absolute; left: 0; right: 0; bottom: 20px; margin: auto; width: max-content;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .06em; color: var(--muted);
}
.scroll-hint span { position: relative; width: 22px; height: 34px; border: 1.5px solid rgba(140, 180, 255, .4); border-radius: 12px; }
.scroll-hint span::after {
  content: ''; position: absolute; left: 50%; top: 7px;
  width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px;
  background: var(--cyan); animation: wheel 1.6s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

@media (max-height: 780px) {
  .hero-mark { width: 92px; }
  .hero-word { margin: 6px 0 14px; }
  .lead { margin-top: 14px; }
  .cta-row { margin-top: 20px; }
  .trust { margin-top: 16px; }
  .scroll-hint { display: none; }
}
@media (max-width: 520px) {
  .intro .cta-row { flex-direction: column; width: 100%; }
  .intro .btn { width: 100%; }
  .trust { flex-direction: column; align-items: center; gap: 4px; }
}

/* --- Historia --- */
.story {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
  max-width: var(--maxw); margin: 0 auto;
  padding: calc(var(--header-h) + 20px) var(--gutter) 84px;
  visibility: hidden;
}
.captions { display: grid; }
.caption { grid-area: 1 / 1; align-self: center; }
.caption h2 { font-size: clamp(1.7rem, 3.6vw, 3rem); }
.caption > p:last-child { margin-top: 16px; max-width: 40ch; color: var(--muted); font-size: 1.05rem; }

.visual-wrap { position: relative; align-self: stretch; min-height: 0; }
.visual {
  position: absolute; left: 50%; top: 50%;
  width: 560px; height: 460px;
  transform: translate(-50%, -50%) scale(var(--s, 1));
}
.demo-note { position: absolute; left: 0; top: 0; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.card {
  background: linear-gradient(180deg, rgba(22, 36, 70, .9), rgba(12, 21, 42, .9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.card-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: .85rem; }
.dots { display: flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(140, 170, 230, .25); }
.badge { margin-left: auto; padding: 3px 9px; border-radius: 999px; font-size: .72rem; background: rgba(255, 107, 129, .15); color: #FF8A9B; font-variant-numeric: tabular-nums; }
.clock { font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.inbox { position: absolute; left: 0; top: 28px; width: 340px; }
.mail-list { margin: 0; padding: 6px; list-style: none; }
.mail {
  position: relative;
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px;
  height: 60px; padding: 10px; border-radius: 10px;
  border: 1px solid transparent;
}
.mail + .mail { margin-top: 2px; }
.avatar {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font-size: .7rem; font-weight: 600;
  background: hsl(var(--h) 70% 45% / .25); color: hsl(var(--h) 90% 78%);
}
.mail-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.mail-txt b { font-size: .85rem; font-weight: 600; }
.mail-txt span { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail time { align-self: start; margin-top: 3px; font-size: .7rem; color: var(--muted); }
.scan {
  position: absolute; left: 4px; right: 4px; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 16px 2px rgba(46, 197, 255, .6);
  pointer-events: none;
}
.beam {
  position: absolute; left: 344px; top: 110px; width: 72px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(46, 197, 255, .2));
  box-shadow: 0 0 10px rgba(46, 197, 255, .6);
  transform-origin: left center;
}

.agent { position: absolute; right: 0; top: 62px; width: 190px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.agent-core {
  position: relative; display: grid; place-items: center;
  width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(46, 139, 255, .35), rgba(10, 46, 138, .25) 60%, transparent 72%);
  border: 1px solid rgba(46, 197, 255, .35);
  box-shadow: 0 0 40px rgba(30, 91, 255, .45);
}
.agent-core svg { width: 58px; height: 44px; }
.agent-ring { position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed rgba(46, 197, 255, .45); animation: spin 8s linear infinite; }
.agent-ring--2 { inset: -18px; border: 1px solid; border-color: rgba(46, 197, 255, .25) transparent; animation-duration: 5s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.agent p { display: flex; flex-direction: column; font-size: .85rem; line-height: 1.35; }
.agent-status { font-size: .74rem; color: var(--cyan); }

.chips, .lanes { position: absolute; right: 0; top: 214px; width: 190px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.chips { gap: 8px; }
.chip { padding: 8px 12px; border-radius: 10px; font-size: .8rem; font-weight: 500; background: rgba(46, 197, 255, .07); border: 1px solid rgba(46, 197, 255, .25); }
.chip span { display: block; font-size: .64rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lanes { gap: 10px; }
.lane {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; padding: 0 14px; border-radius: 12px;
  font-size: .85rem;
  background: rgb(var(--c) / .08); border: 1px solid rgb(var(--c) / .35);
}
.lane span::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 10px rgb(var(--c)); }
.lane b { font-family: var(--font-display); font-size: 1.1rem; color: rgb(var(--c)); font-variant-numeric: tabular-nums; }

.reply { position: absolute; left: 0; top: 28px; width: 340px; }
.tag { margin-left: auto; padding: 3px 8px; border-radius: 999px; font-size: .7rem; background: rgba(46, 197, 255, .12); color: var(--cyan); }
.reply-meta { padding: 10px 16px 0; font-size: .78rem; color: var(--muted); }
.reply-meta b { font-weight: 500; color: var(--text); }
.reply-body { min-height: 130px; margin: 12px 16px 0; padding: 12px; border-radius: 10px; background: rgba(0, 0, 0, .22); font-size: .85rem; line-height: 1.55; }
.typed { white-space: pre-line; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.reply-foot { display: flex; justify-content: flex-end; padding: 12px 16px 16px; }
.send { display: grid; place-items: center; min-width: 116px; height: 36px; border-radius: 999px; background-color: rgb(30, 91, 255); font-size: .82rem; font-weight: 600; }
.send > span { grid-area: 1 / 1; }
.toast { position: absolute; left: 0; top: 386px; width: 340px; padding: 12px 14px; border-radius: 12px; font-size: .8rem; color: #9DF5CF; background: rgba(62, 224, 161, .1); border: 1px solid rgba(62, 224, 161, .35); }

.rail {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0; padding: 14px 0 0; list-style: none; counter-reset: s;
  font-size: .8rem; color: var(--muted);
}
.rail::before, .rail::after { content: ''; position: absolute; top: 0; left: 0; height: 2px; }
.rail::before { right: 0; background: var(--line); }
.rail::after { width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 12px var(--cyan); }
.rail li { counter-increment: s; transition: color .3s; }
.rail li::before { content: '0' counter(s) '  '; white-space: pre; opacity: .6; }
.rail li.is-done { color: var(--cyan); }
.rail li.is-active { color: var(--text); }

@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: stretch; gap: 10px; padding-bottom: 70px; }
  .kicker { margin-bottom: 8px; }
  .caption h2 { font-size: 1.55rem; }
  .caption > p:last-child { margin-top: 8px; font-size: .95rem; }
  .rail { right: calc(var(--gutter) + 64px); bottom: 22px; font-size: .7rem; }
  .rail li::before { content: '0' counter(s) ' '; }
}

/* --- Cierre del hero --- */
.outro {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 16px) var(--gutter) 40px;
  text-align: center; visibility: hidden;
}
.outro-mark { width: 90px; height: 68px; margin-bottom: 20px; filter: drop-shadow(0 10px 30px rgba(30, 91, 255, .5)); }
.outro h2 { font-size: clamp(2.1rem, 5.4vw, 4.4rem); }

/* --- Versión estática --- */
.story-static ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0 0 40px; list-style: none; }
.story-static li { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(20, 32, 62, .5); }
.story-static h2 { font-size: 1.3rem; }
.story-static li > p:last-child { margin-top: 8px; color: var(--muted); }
html.js:not(.no-motion) .story-static {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.no-motion .story, .no-motion .outro, .no-motion .scroll-hint { display: none; }

/* ==========================================================================
   SECCIONES
   ========================================================================== */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
.section-head > p:last-child:not(.kicker) { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.pain-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.sol-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tile {
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 32, 62, .6), rgba(12, 20, 40, .4));
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s;
}
.tile:hover { border-color: rgba(46, 197, 255, .4); transform: translateY(-3px); }
.tile h3 { font-size: 1.15rem; line-height: 1.25; }
.tile p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.tile--cta {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 20px;
  background: linear-gradient(135deg, rgba(30, 91, 255, .25), rgba(46, 197, 255, .06));
  border-color: rgba(46, 197, 255, .35);
}
.icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 12px; background: rgba(46, 139, 255, .12); color: var(--cyan); }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.closing { margin-top: 48px; text-align: center; font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.closing strong { font-weight: 600; color: var(--cyan); }

/* Método */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ''; position: absolute; top: 28px; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, var(--blue), var(--cyan), transparent); }
.step-num {
  position: relative; display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 22px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 600; color: var(--cyan);
  background: var(--bg-2); border: 1px solid rgba(46, 197, 255, .4);
  box-shadow: 0 0 24px rgba(30, 91, 255, .35);
}
.step h3 { font-size: 1.3rem; }
.step p { margin-top: 10px; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Construcción */
.band {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(28px, 5vw, 56px);
  padding: clamp(28px, 5vw, 56px); border-radius: 24px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 100% 0, rgba(46, 197, 255, .16), transparent 50%), linear-gradient(180deg, rgba(20, 32, 62, .75), rgba(10, 18, 36, .6));
}
.band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.band-text { margin: 16px 0 28px; color: var(--muted); }
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.checklist li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 1px solid rgba(46, 197, 255, .5); background: radial-gradient(circle, var(--cyan) 30%, transparent 36%); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* Sobre mí */
.about { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 80px); }
.photo {
  position: relative; overflow: hidden; margin: 0; aspect-ratio: 4 / 5;
  border-radius: 24px; border: 1px solid rgba(46, 197, 255, .25);
  background: var(--bg-2);
  box-shadow: 0 30px 80px -30px rgba(30, 91, 255, .45);
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: saturate(.92) contrast(1.04); }
/* Funde la pared blanca con la marca: tinte azul arriba y oscuro abajo */
.photo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 50% 38%, transparent 55%, rgba(10, 46, 138, .35) 100%),
    linear-gradient(160deg, rgba(10, 46, 138, .55) 0%, rgba(30, 91, 255, .12) 35%, transparent 55%, rgba(6, 11, 24, .9) 100%);
}
.photo figcaption {
  position: absolute; left: 18px; bottom: 16px; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 500; color: var(--text);
}
.photo figcaption svg { width: 30px; height: 23px; }
.about-text { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; padding: 0; list-style: none; }
.facts li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: .85rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .photo { max-width: 240px; width: 100%; } }

/* Preguntas frecuentes */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 44px 22px 0; list-style: none; cursor: pointer; font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--cyan); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* CTA final */
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  border-radius: 28px; border: 1px solid rgba(46, 197, 255, .25);
  background: radial-gradient(ellipse at 50% 0, rgba(30, 91, 255, .38), transparent 60%), linear-gradient(180deg, #0E1A38, #081022);
}
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.cta-box .lead { margin-inline: auto; }
.cta-watermark { position: absolute !important; right: -60px; bottom: -70px; width: 380px; height: 285px; opacity: .08; }

/* Pie */
.site-footer { padding: 56px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { margin-bottom: 14px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.footer-grid ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-grid a:hover { color: var(--text); }
.footer-grid .brand { color: var(--text); }
.footer-tag { margin-top: 14px; max-width: 32ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

/* ==========================================================================
   PÁGINAS INTERIORES
   ========================================================================== */
.nav a[aria-current="page"] { color: var(--text); }
.page-hero { padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 4rem); max-width: 20ch; }
.page-hero .lead { max-width: 62ch; }
.page-hero .cta-row { justify-content: flex-start; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-inline: auto; }
.page-hero--center .cta-row { justify-content: center; }
.section--tight { padding-top: clamp(40px, 6vw, 72px); }

/* Contacto */
.contact { display: grid; grid-template-columns: 1.35fr .9fr; align-items: start; gap: clamp(24px, 4vw, 48px); }
.form-card { padding: clamp(22px, 4vw, 40px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field legend { font-size: .88rem; font-weight: 500; }
.field .req { color: var(--cyan); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  font: inherit; font-size: .95rem; color: var(--text);
  background: rgba(4, 8, 20, .55);
  border: 1px solid rgba(140, 180, 255, .2); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--bg-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #5D6A8A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(46, 197, 255, .18); }
.field input:user-invalid, .field select:user-invalid { border-color: #FF6B81; }
.field fieldset { margin: 0; padding: 0; border: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.radios label { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(140, 180, 255, .2); font-size: .9rem; cursor: pointer; }
.radios label:has(input:checked) { border-color: var(--cyan); background: rgba(46, 197, 255, .08); }
.radios input, .check input { accent-color: var(--blue); width: 16px; height: 16px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--muted); }
.check input { flex: none; margin-top: 3px; }
.check a, .legal a, .form-note a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: .78rem; color: var(--muted); }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.form-status { grid-column: 1 / -1; font-size: .9rem; }
.form-status.is-error { color: #FF8A9B; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .form .btn { width: 100%; } }

.contact-side { display: grid; gap: 16px; }
.contact-side .tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.contact-side .tile .icon { margin-bottom: 10px; }
.contact-side .tile p { margin-top: 0; }
.contact-side .tile a:not(.btn) { color: var(--text); font-weight: 500; }
.contact-side .tile .btn { margin-top: 12px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* Gracias */
.thanks-mark { width: 120px; height: 90px; margin: 0 auto 28px; filter: drop-shadow(0 10px 40px rgba(30, 91, 255, .5)); }

/* Sobre mí: trayectoria */
.timeline { position: relative; display: grid; gap: 28px; margin: 0; padding: 0 0 0 32px; list-style: none; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--cyan), var(--blue), transparent); }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: -32px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 12px rgba(46, 197, 255, .6); }
.timeline .when { font-family: var(--font-display); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.timeline h3 { margin-top: 6px; font-size: 1.3rem; }
.timeline p { margin-top: 8px; color: var(--muted); }
.story-cols { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.story-cols .photo { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 860px) { .story-cols { grid-template-columns: 1fr; } .story-cols .photo { position: relative; top: 0; max-width: 240px; width: 100%; } }
.values { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.quote { margin: 0; padding: clamp(28px, 5vw, 48px); border-left: 2px solid var(--cyan); border-radius: 0 var(--radius) var(--radius) 0; background: linear-gradient(90deg, rgba(46, 197, 255, .08), transparent); font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.3; }

/* Textos legales */
.legal { max-width: 780px; }
.legal h2 { margin: 44px 0 12px; font-size: 1.35rem; }
.legal p, .legal li { color: #B4C0DC; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal .updated { font-size: .85rem; color: var(--muted); }
/* Datos legales aún sin rellenar (buscar class="todo" para completarlos) */
.todo { color: var(--muted); font-style: italic; }
.notice { margin-bottom: 32px; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(255, 196, 0, .35); background: rgba(255, 196, 0, .08); color: #FFE29A; font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
