/* Landing de alta de Neo · Keller Williams Uruguay (misma estética que agenteneo.ai) */

@font-face { font-family: Geist; src: url('fonts/geist-latin.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #0b1230;
  --ink-2: #2b3352;
  --muted: #646c88;
  --faint: #9aa0b5;
  --bg: #edf0f6;
  --paper: #ffffff;
  --field: #f6f7fb;
  --line: rgba(11, 18, 48, .09);
  --line-2: rgba(11, 18, 48, .16);
  --night: #0a0f26;
  --night-line: rgba(255, 255, 255, .1);
  --night-muted: #a7aec6;
  --on: #16a36a;
  --on-light: #3ddc97;
  --error: #c93636;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 28px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Geist, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
::selection { background: var(--ink); color: #fff; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.7rem, 4.9vw, 4.5rem); line-height: 1; letter-spacing: -.052em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.02; letter-spacing: -.048em; }
h3 { font-size: 1.3rem; line-height: 1.22; letter-spacing: -.028em; }
h1 span, h2 span { display: block; color: var(--faint); }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 136px); }
.eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 36ch; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 50; padding: 10px 18px; background: var(--ink); color: #fff; border-radius: 10px; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

/* Logo: techo celeste + N */
.neo-mark { display: block; width: 25px; height: 33px; color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-name { font-size: 1.3rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; }

/* Botones */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer;
  font: inherit; font-weight: 500; font-size: 1rem; letter-spacing: -.01em;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 24px -12px rgba(11,18,48,.6);
  transition: transform .25s var(--ease), background .25s, opacity .25s;
}
.button:hover { background: #18213f; }
.button:active { transform: scale(.98); }
.button[disabled] { opacity: .6; cursor: default; }
.button-sm { height: 44px; padding: 0 20px; font-size: .9rem; box-shadow: none; }
.button-white { background: #fff; color: var(--ink); box-shadow: 0 10px 28px -14px rgba(0,0,0,.6); }
.button-white:hover { background: #e9ecf5; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--night-line); border-radius: 999px; background: rgba(255,255,255,.06); font-size: .8125rem; font-weight: 500; color: #fff; }

/* Cards que se agrandan al pasar el mouse */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 1px 2px rgba(11,18,48,.04); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
@media (hover: hover) { .card:hover { transform: translateY(-3px) scale(1.015); border-color: var(--line-2); box-shadow: 0 28px 56px -32px rgba(11,18,48,.38); } }

/* Encabezado flotante */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 20; padding: 14px var(--gutter) 0; pointer-events: none; }
.header-bar {
  pointer-events: auto; width: min(100%, 1080px); height: 62px; margin-inline: auto; padding: 0 9px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid var(--line);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 2px rgba(11,18,48,.04); transition: box-shadow .3s;
}
.site-header.is-scrolled .header-bar { box-shadow: 0 14px 34px -20px rgba(11,18,48,.3); }

/* Banners (inicio y cierre): pantalla completa, fondo azul */
.hero, .closing {
  position: relative; overflow: hidden; display: flex; align-items: center; color: #fff;
  min-height: 100vh; min-height: 100svh;
  background:
    radial-gradient(55% 60% at 88% 10%, rgba(61,220,151,.11), transparent 65%),
    radial-gradient(90% 90% at 50% 0%, #1b2552 0%, var(--night) 62%);
}
.hero { padding: 112px 0 64px; }
.hero h1, .closing h2 { color: #fff; }
.hero h1 span, .closing h2 span { color: #7a83a6; }
.hero a:focus-visible, .closing a:focus-visible { outline-color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-copy .pill { margin-bottom: 30px; }
.intro { margin-top: 28px; font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--night-muted); max-width: 30em; }
.hero-points { margin-top: 40px; display: grid; gap: 14px; }
.hero-points li { display: flex; align-items: center; gap: 12px; color: #dfe3f0; font-size: 1rem; }
.hero-points .icon { color: var(--on-light); }

/* Formulario */
.form-wrap { position: relative; }
.form-wrap::before {
  content: ''; position: absolute; inset: -22px; border-radius: 44px; z-index: 0;
  background:
    radial-gradient(70% 55% at 85% 0%, rgba(61,220,151,.30), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(88,120,255,.28), transparent 70%),
    linear-gradient(160deg, #2b3f8f 0%, #1e2c6b 50%, #15204f 100%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.12);
}
.form-card { position: relative; z-index: 1; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); box-shadow: 0 30px 70px -36px rgba(0,0,0,.65); }
.form-card h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -.04em; line-height: 1.1; }
.form-sub { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.form { margin-top: 26px; display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.control { position: relative; display: flex; align-items: center; }
.field input {
  width: 100%; height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--field);
  font: inherit; font-size: 1rem; color: var(--ink); outline: none; appearance: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: var(--faint); }
.field input:hover { border-color: rgba(11,18,48,.3); }
.field input:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(11,18,48,.08); }
.prefix { position: absolute; left: 16px; font-size: 1rem; color: var(--muted); pointer-events: none; font-variant-numeric: tabular-nums; }
.has-prefix input { padding-left: 64px; }
.field.is-invalid input { border-color: var(--error); background: #fff; box-shadow: 0 0 0 4px rgba(201,54,54,.1); }
.field-error { font-size: .8125rem; color: var(--error); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .button { width: 100%; height: 56px; margin-top: 6px; font-size: 1.05rem; }
.form-legal { font-size: .8125rem; color: var(--muted); text-align: center; }
.form-legal a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.form-legal a:hover { border-color: var(--ink); }
.form-alert { padding: 12px 14px; border-radius: 12px; background: #fdeeee; color: #8c2020; font-size: .875rem; }

.form-card.is-done { display: grid; align-items: center; }
.form-done { text-align: center; padding: clamp(18px, 3vw, 36px) 0; }
.form-done:focus { outline: none; }
.done-icon { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: #e5f6ed; color: var(--on); }
.done-icon .icon { width: 30px; height: 30px; stroke-width: 2; }
.form-done h2 { margin-bottom: 12px; }
.form-done p { color: var(--muted); max-width: 30ch; margin-inline: auto; }
.form-done .preview-note { margin-top: 18px; font-size: .8125rem; color: var(--faint); }
@media (prefers-reduced-motion: no-preference) {
  .form-done { animation: pop .5s var(--ease) both; }
  .done-icon .icon path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s var(--ease) .25s forwards; }
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Aparición al bajar */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}

/* Qué pasa después */
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.how-heading { position: sticky; top: 120px; }
.how-heading .lead { margin-top: 24px; }
.steps { display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 24px; align-items: start; padding: 30px 32px 32px; }
.step-number { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--ink); color: #fff; font-size: .95rem; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 4px 0 8px; }
.steps p { color: var(--muted); max-width: 46ch; }

/* Lo que hace Neo */
.does { padding-top: 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-heading .lead { justify-self: end; }
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.bento > li { padding: 28px 28px 30px; }
.bento .icon { color: var(--on); margin-bottom: 18px; }
.bento h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; margin-bottom: 8px; }
.bento p { color: var(--muted); font-size: .975rem; }
.bento .big { grid-row: span 2; display: flex; flex-direction: column; background: var(--ink); border-color: var(--ink); color: #fff; }
.bento .big h3 { color: #fff; font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -.04em; }
.bento .big p { color: var(--night-muted); max-width: 32ch; }
.bento .big .icon { color: var(--on-light); }
.mini-chat { margin-top: auto; padding-top: 34px; display: flex; flex-direction: column; gap: 8px; }
.mini-chat span { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.35; }
.mini-chat .in { align-self: flex-start; background: rgba(255,255,255,.1); color: #e7eaf4; border-top-left-radius: 4px; }
.mini-chat .out { align-self: flex-end; background: #1f8f5f; color: #fff; border-top-right-radius: 4px; }

/* Etiqueta "Próximamente" en una card */
.bento > li { position: relative; }
.tag-soon { position: absolute; top: 26px; right: 24px; padding: 4px 10px; border-radius: 999px; background: #e3f1fd; color: #0a66b8; font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.icon-wa { fill: currentColor; stroke: none; }
.bento .icon-wa { width: 26px; height: 26px; }

/* Banner final: todo centrado, con brillo detrás y dos cintas de funciones que giran */
.closing { flex-direction: column; align-items: stretch; justify-content: space-between; gap: 40px; padding: 116px 0 56px; text-align: center; }
.closing::before, .closing::after { content: ''; position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.closing::before { width: 760px; height: 760px; }
.closing::after { width: 1180px; height: 1180px; }
.closing-glow {
  position: absolute; left: 50%; top: 50%; width: min(860px, 96vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 34% 36%, rgba(27,140,235,.6), transparent 58%), radial-gradient(circle at 70% 66%, rgba(61,220,151,.34), transparent 58%);
  filter: blur(72px); opacity: .55;
}
.closing-inner { position: relative; flex: 1; display: grid; justify-items: center; align-content: center; }
.closing-mark { width: 58px; height: 77px; color: #fff; margin-bottom: 34px; filter: drop-shadow(0 14px 30px rgba(27,178,235,.5)); }
.closing h2 { font-size: clamp(3rem, 7.6vw, 6.8rem); line-height: .96; letter-spacing: -.058em; }
.closing h2 span { background: linear-gradient(90deg, #3aa5f2, #8be3ff); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.closing-text { margin-top: 26px; color: var(--night-muted); font-size: 1.15rem; max-width: 32ch; }
.button-lg { height: 62px; padding: 0 38px; font-size: 1.1rem; }
.closing .button { margin-top: 36px; box-shadow: 0 0 0 8px rgba(255,255,255,.07), 0 26px 60px -18px rgba(27,178,235,.65); }
@media (hover: hover) { .closing .button:hover { transform: translateY(-2px); box-shadow: 0 0 0 10px rgba(255,255,255,.1), 0 30px 70px -18px rgba(27,178,235,.8); } }

.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; width: max-content; margin-inline: auto; }
.marquee-group { display: flex; gap: 12px; padding-right: 12px; }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 17px 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.055); color: #dde2f1; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.chip .icon { width: 17px; height: 17px; color: var(--on-light); }

@media (prefers-reduced-motion: no-preference) {
  .marquee.is-ready .marquee-track { margin-inline: 0; animation: slide 60s linear infinite; }
  .marquee.rev.is-ready .marquee-track { animation-direction: reverse; }
  .closing-glow { animation: breathe 9s ease-in-out infinite; }
  .closing-mark { animation: bob 6s ease-in-out infinite; }
}
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes breathe { 0%, 100% { opacity: .45; transform: translate(-50%, -50%) scale(1); } 50% { opacity: .7; transform: translate(-50%, -50%) scale(1.1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Pie */
.site-footer { background: var(--bg); padding: 24px 0 30px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; padding: 40px 0 56px; }
.footer-brand p { color: var(--muted); font-size: .9375rem; margin-top: 16px; max-width: 30ch; }
.footer-brand .footer-powered { margin-top: 6px; font-size: .8125rem; color: var(--faint); }
.footer-col { display: grid; align-content: start; justify-items: start; gap: 12px; }
.footer-title { font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.footer-col a { color: var(--muted); font-size: .9375rem; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-copy { padding-top: 26px; border-top: 1px solid var(--line); text-align: center; font-size: .8125rem; color: var(--faint); }

/* Tablet */
@media (max-width: 1080px) {
  .hero-grid, .how-grid, .section-heading { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .form-wrap { max-width: 560px; width: 100%; margin: 12px auto 0; }
  .how-heading { position: static; }
  .section-heading .lead { justify-self: start; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .big { grid-row: auto; grid-column: 1 / -1; }
}

/* Celular */
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .site-header { padding-top: 10px; }
  .header-bar { height: 56px; padding-left: 18px; padding-right: 7px; }
  .header-bar .button-sm { height: 42px; padding: 0 18px; }
  .hero { padding: 96px 0 56px; align-items: flex-start; }
  .hero-copy .pill { margin-bottom: 22px; }
  .hero-points { margin-top: 28px; }
  .form-wrap { margin-top: 36px; }
  .form-wrap::before { inset: -12px; border-radius: 34px; }
  .steps li { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .bento { grid-template-columns: 1fr; }
  .bento > li { padding: 24px; }
  .closing { padding: 96px 0 44px; gap: 28px; }
  .closing::before { width: 480px; height: 480px; }
  .closing::after { width: 760px; height: 760px; }
  .closing-mark { width: 46px; height: 61px; margin-bottom: 26px; }
  .closing-text { font-size: 1.05rem; }
  .chip { font-size: .84rem; padding: 9px 14px 9px 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
}
