﻿/* ============================================================
   UbiaTek Â· Landing Â· Sistema de diseÃ±o "Operador de IA en vivo"
   Base: azul-nocturno + rejilla neural + violeta/cian
   ============================================================ */

:root {
  --bg: #010613;
  --bg-2: #040b1b;
  --surface: #07111f;
  --surface-2: #0c1830;
  --line: rgba(158, 172, 195, 0.16);
  --line-strong: rgba(158, 172, 195, 0.3);
  --text: #eef1f5;
  --text-muted: #a8b3c2;
  --text-dim: #687789;
  --accent-a: #8b9cb8;
  --accent-b: #d7e0ec;
  --highlight: #eef1f5;
  --danger: #f87171;
  --wa: #25d366;
  --grad: linear-gradient(120deg, #8b9cb8 0%, #eef1f5 100%);
  --grad-soft: linear-gradient(120deg, rgba(139, 156, 184, 0.18), rgba(215, 224, 236, 0.14));

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --container: 1160px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -24px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset y base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.02rem;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

:focus-visible {
  outline: 2px solid var(--accent-b);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-b);
  color: var(--bg);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  z-index: 200;
}

.skip:focus {
  left: 0;
}

::selection {
  background: var(--accent-a);
  color: #fff;
}

/* ---------- Utilidades ---------- */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-b);
  margin-bottom: 1rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

.dot--live {
  background: var(--wa);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--grad);
  color: #010613;
  box-shadow: 0 12px 34px -12px rgba(139, 156, 184, 0.65);
}

.btn--primary:hover {
  box-shadow: 0 18px 44px -12px rgba(139, 156, 184, 0.8);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.08);
}

.btn--outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--accent-a);
  color: #fff;
}

.btn--wa {
  background: var(--wa);
  color: #04270f;
  font-weight: 700;
}

.btn--wa:hover {
  box-shadow: 0 16px 40px -14px rgba(37, 211, 102, 0.7);
}

.btn--sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.9rem;
}

.btn--block {
  width: 100%;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(1, 6, 19, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.nav.is-scrolled {
  background: rgba(1, 6, 19, 0.9);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 116px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
}

.brand__mark {
  height: 90px;
  width: auto;
  display: block;
}

.brand__mark--lg {
  height: 56px;
  width: auto;
}

.brand__name strong {
  font-weight: 700;
}

.nav__links {
  display: flex;
  gap: 1.7rem;
  font-size: 0.94rem;
}

.nav__links a {
  color: var(--text-muted);
  position: relative;
  transition: color 0.15s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease);
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--text);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav__burger {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 42px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 1.25rem 1.2rem;
  border-top: 1px solid var(--line);
  background: rgba(1, 6, 19, 0.97);
}

.nav__mobile a {
  padding: 0.7rem 0.4rem;
  color: var(--text-muted);
  border-radius: 8px;
}

.nav__mobile a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 84px;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 156, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 156, 184, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.5;
}

.hero__orb--a {
  width: 460px;
  height: 460px;
  background: rgba(139, 156, 184, 0.4);
  top: -140px;
  right: -80px;
}

.hero__orb--b {
  width: 380px;
  height: 380px;
  background: rgba(215, 224, 236, 0.28);
  bottom: -160px;
  left: -120px;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.hero__copy h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  margin-bottom: 1.3rem;
}

.hero__copy h1 .grad {
  display: inline;
}

.hero__sub {
  font-size: 1.12rem;
  max-width: 34rem;
  margin-bottom: 1.8rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.hero__micro {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* ---------- Chat demo ---------- */
.hero__demo {
  position: relative;
}

.hero__demo::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: var(--grad);
  border-radius: 26px;
  opacity: 0.5;
  filter: blur(18px);
  z-index: 0;
}

.chat {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.chat__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  color: #010613;
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}

.chat__who {
  flex: 1;
  min-width: 0;
}

.chat__who strong {
  display: block;
  font-size: 0.92rem;
  font-family: var(--font-display);
}

.chat__status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--wa);
}

.chat__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa);
  animation: pulse 2s infinite;
}

.chat__more {
  width: 18px;
  height: 4px;
  background: radial-gradient(circle, var(--text-dim) 2px, transparent 2.5px) 0 0 / 6px 4px repeat-x;
  opacity: 0.8;
}

.chat__body {
  padding: 1rem 1.1rem 1.2rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background:
    radial-gradient(600px 300px at 85% -20%, rgba(139, 156, 184, 0.1), transparent 60%),
    var(--surface);
}

.chat__day {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
}

.msg {
  max-width: 78%;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  line-height: 1.45;
  border-radius: 16px;
  animation: msgIn 0.45s var(--ease) both;
}

.msg--in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border-bottom-left-radius: 4px;
  color: var(--text);
}

.msg--out {
  align-self: flex-end;
  background: var(--grad);
  color: #010613;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.msg--typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.7rem 0.9rem;
  border-bottom-left-radius: 4px;
}

.msg--typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typing 1.2s infinite;
}

.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat__foot {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.1rem;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}

.chat__input {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
}

.chat__send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  flex: none;
  position: relative;
}

.chat__send::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid #010613;
  border-right: 2px solid #010613;
  transform: rotate(45deg);
  top: 9px;
  left: 11px;
}

.hero__demo-cap {
  text-align: center;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* ---------- Prueba social ---------- */
.proof {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(139, 156, 184, 0.05), transparent);
}

.proof__lead {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2.2rem;
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.stat {
  text-align: center;
  padding: 1.2rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.stat__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding: 0.9rem 0;
}

.marquee__track {
  display: flex;
  gap: 1.4rem;
  width: max-content;
  animation: scroll 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.marquee__track span:nth-child(even) {
  color: var(--accent-a);
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ---------- Secciones ---------- */
.section {
  padding: 100px 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}

.section__title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 0.9rem;
}

.section__lead {
  font-size: 1.08rem;
  max-width: 40rem;
  margin-bottom: 3rem;
}

.grid {
  display: grid;
  gap: 1.3rem;
}

.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.card--pain {
  position: relative;
}

.card--pain::before {
  content: "";
  position: absolute;
  top: 1.7rem;
  right: 1.7rem;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 2px solid rgba(248, 113, 113, 0.5);
  opacity: 0.7;
}

.card--pain h3 {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
  padding-right: 1.6rem;
}

.card--pain p {
  font-size: 0.94rem;
}

.card--service:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 156, 184, 0.5);
  box-shadow: 0 24px 48px -24px rgba(139, 156, 184, 0.35);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(139, 156, 184, 0.35);
  color: var(--highlight);
  margin-bottom: 1.2rem;
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card--service h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.card--service p {
  font-size: 0.95rem;
}

.card--case {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.card--case:hover .card__media img {
  transform: scale(1.06);
}

.card__body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.card__body h3 {
  font-size: 1.08rem;
}

.card__body p {
  font-size: 0.95rem;
}

.card__body p strong {
  color: var(--text);
}

.tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-b);
  border: 1px solid rgba(215, 224, 236, 0.4);
  background: rgba(215, 224, 236, 0.08);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* ---------- Pasos ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem;
}

.step__num {
  display: inline-grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #010613;
  background: var(--grad);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 1.1rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.92rem;
}

.step + .step::before {
  content: "";
  position: absolute;
  top: 2.4rem;
  left: -1.35rem;
  width: 1.1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-a), transparent);
}

/* ---------- Planes ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
}

.plan--featured {
  background: linear-gradient(180deg, rgba(139, 156, 184, 0.14), rgba(215, 224, 236, 0.05)), var(--surface);
  border-color: rgba(139, 156, 184, 0.55);
  box-shadow: 0 28px 60px -28px rgba(139, 156, 184, 0.5);
}

.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #010613;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan__name {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.plan__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.1rem;
}

.plan__price span {
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan__note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}

.plan__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
  flex: 1;
}

.plan__list li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 1.5rem;
  position: relative;
}

.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
  margin-top: 2.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: rgba(37, 211, 102, 0.06);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.4rem;
  flex-wrap: wrap;
}

.guarantee svg {
  width: 22px;
  height: 22px;
  color: var(--wa);
  flex: none;
}

/* ---------- FAQ ---------- */
.container--narrow {
  max-width: 820px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq__item[open] {
  border-color: rgba(139, 156, 184, 0.5);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.03rem;
  color: var(--text);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  color: #fff;
}

.faq__chev {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.25s var(--ease), border-color 0.2s;
}

.faq__chev::before,
.faq__chev::after {
  content: "";
  position: absolute;
  background: var(--accent-b);
  border-radius: 2px;
}

.faq__chev::before {
  width: 9px;
  height: 1.6px;
  top: 9px;
  left: 5px;
}

.faq__chev::after {
  width: 1.6px;
  height: 9px;
  top: 5px;
  left: 9px;
}

.faq__item[open] .faq__chev {
  transform: rotate(45deg);
}

.faq__item > p {
  padding: 0 1.4rem 1.2rem;
  font-size: 0.95rem;
  max-width: 46rem;
}

/* ---------- CTA + formulario ---------- */
.cta {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(139, 156, 184, 0.18), transparent 60%),
    radial-gradient(600px 400px at 90% 100%, rgba(215, 224, 236, 0.12), transparent 60%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta__copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 1rem;
}

.cta__copy > p {
  font-size: 1.08rem;
  margin-bottom: 1.6rem;
  max-width: 30rem;
}

.cta__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.cta__list li {
  color: var(--text-muted);
  padding-left: 1.7rem;
  position: relative;
  font-size: 0.98rem;
}

.cta__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 12px;
  height: 6px;
  border-left: 2.5px solid var(--wa);
  border-bottom: 2.5px solid var(--wa);
  transform: rotate(-45deg);
}

.cta__wa {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta__wa p {
  font-size: 0.95rem;
  max-width: 22rem;
}

.cta__wa p strong {
  color: var(--text);
}

.form {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.18s, background 0.18s;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-dim);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-a);
  background: rgba(139, 156, 184, 0.06);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2322d3ee' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

.form__micro {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: center;
  color: var(--text-dim);
  margin-top: 0.8rem;
}

.form__ok {
  margin-top: 1rem;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: var(--text);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
}

.form__ok strong {
  color: var(--wa);
}

.ubk-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 64px 0 28px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer__brand p {
  font-size: 0.92rem;
  max-width: 22rem;
  margin-top: 1rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col h4 {
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.footer__col a {
  font-size: 0.94rem;
  color: var(--text-muted);
  width: fit-content;
  transition: color 0.15s;
}

.footer__col a:hover {
  color: var(--accent-b);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer__bottom p {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__demo {
    max-width: 520px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3,
  .plans,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step + .step::before {
    display: none;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: inline-flex;
  }

  .nav__mobile {
    display: flex;
  }

  .nav__cta .btn {
    display: none;
  }

  .hero {
    padding-top: 170px;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .proof__grid,
  .grid--3,
  .grid--4,
  .plans,
  .steps,
  .cta__inner,
  .form__row {
    grid-template-columns: 1fr;
  }

  .plans {
    gap: 1.6rem;
  }

  .cta {
    padding: 84px 0;
  }

  .cta__wa {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 72px 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 420px) {
  .btn {
    font-size: 0.95rem;
    padding: 0.9rem 1.3rem;
  }
}

/* ---------- ReducciÃ³n de movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }
}
