/* =========================================================
   NEW MATTER — Sistema de diseño
   Paleta, tipografía y componentes según Manual de Marca v1.0
   ========================================================= */

:root {
  --void: #08060F;          /* Fondo dominante */
  --plasma: #181322;        /* Superficies, tarjetas */
  --white: #F7F5FF;         /* Textos */
  --lavender: #D2D6FC;      /* Acento / etiquetas */
  --violet: #9670F8;        /* Acento principal */
  --purple: #B24DFB;        /* Fin degradado */
  --gradient: linear-gradient(45deg, #D2D6FC, #9670F8, #B24DFB);

  --text-muted: rgba(247, 245, 255, 0.72);
  --text-soft: rgba(247, 245, 255, 0.56);
  --line: rgba(210, 214, 252, 0.15);
  --line-strong: rgba(210, 214, 252, 0.28);

  --radius: 16px;
  --radius-pill: 999px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(96px, 14vw, 168px);
  --header-h: 72px;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--void);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--violet); color: var(--void); }

:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--white); color: var(--void);
  padding: 10px 16px; border-radius: var(--radius-pill); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.h1 { font-size: clamp(3.25rem, 14vw, 8rem); line-height: 0.98; }
.h2 { font-size: clamp(2.1rem, 7vw, 4rem); }
.h3 { font-size: clamp(1.35rem, 3.5vw, 1.6rem); letter-spacing: -0.015em; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--text-muted); max-width: 38em; }
.muted { color: var(--text-muted); }

.label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender);
  line-height: 1.6;
}

/* Una palabra clave por título con el degradado oficial */
.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-right: 0.04em;
}

/* ---------- Botones ---------- */
.btn {
  --glow: 0 0 0 rgba(178, 77, 251, 0);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: box-shadow .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease), filter .35s var(--ease);
  box-shadow: var(--glow);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--gradient); color: var(--void); }
.btn-primary:hover { --glow: 0 0 28px rgba(178, 77, 251, 0.45), 0 0 64px rgba(150, 112, 248, 0.25); filter: brightness(1.05); }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--lavender); --glow: 0 0 24px rgba(210, 214, 252, 0.15); }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Orbes de luz ---------- */
.orbs { position: relative; isolation: isolate; }
.orb {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(720px, 120vw); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(150, 112, 248, 0.30), rgba(150, 112, 248, 0.10) 55%, rgba(150, 112, 248, 0) 100%);
}
.orb--purple { background: radial-gradient(closest-side, rgba(178, 77, 251, 0.24), rgba(178, 77, 251, 0.07) 55%, rgba(178, 77, 251, 0) 100%); }
.orb--tr { top: -30%; right: -35%; }
.orb--bl { bottom: -35%; left: -40%; }
.orb--tl { top: -25%; left: -45%; }
.orb--br { bottom: -30%; right: -40%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .header.is-open {
  background: rgba(8, 6, 15, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.header__logo { display: block; flex: none; padding: 6px 0; }
.header__logo img { width: 128px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__links { display: none; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 8px 12px; border-radius: var(--radius-pill);
  font-size: 0.9375rem; font-weight: 500; color: var(--text-muted); text-decoration: none;
  transition: color .25s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--white); }
.nav__cta { display: none; }

.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 3px; background: transparent; cursor: pointer;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
}
.lang-toggle span { padding: 6px 10px; border-radius: var(--radius-pill); color: var(--text-soft); transition: background-color .25s, color .25s; }
.lang-toggle span.is-active { background: var(--plasma); color: var(--white); }

.menu-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--white); position: relative; transition: background-color .25s; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: var(--white);
  transition: transform .3s var(--ease);
}
.menu-btn span::before { transform: translateY(-6px); }
.menu-btn span::after { transform: translateY(6px); }
.header.is-open .menu-btn span { background: transparent; }
.header.is-open .menu-btn span::before { transform: rotate(45deg); }
.header.is-open .menu-btn span::after { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: rgba(8, 6, 15, 0.97);
  padding: 32px var(--gutter) 48px;
  display: flex; flex-direction: column; gap: 32px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a:not(.btn) {
  display: block; padding: 18px 0;
  font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.02em;
  text-decoration: none;
}

@media (min-width: 1024px) {
  .nav__links { display: flex; gap: 2px; margin-right: 12px; }
  .nav__cta { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none !important; }
  .header__logo img { width: 148px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 88px;
}
.hero__super {
  position: absolute; z-index: -1; pointer-events: none;
  width: 150vw; max-width: none;
  right: -78vw; bottom: -12vh;
  opacity: 0.26;
}
.hero__content { max-width: 920px; }
.hero .label { margin-bottom: 24px; }
.hero__title { margin-bottom: 28px; }
.hero .lead { margin-bottom: 40px; }
.hero .btn-row .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .hero .btn-row .btn { flex: 0 0 auto; } }
@media (min-width: 900px) {
  .hero__super { width: 74vw; right: -24vw; bottom: -14vh; opacity: 0.9; }
  .hero__content { max-width: 60%; }
  .hero .lead { max-width: 30em; }
}
@media (min-width: 1400px) { .hero__super { width: 1080px; right: -340px; } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden; padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group {
  display: flex; align-items: center; flex: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  letter-spacing: -0.01em; color: var(--white); white-space: nowrap;
}
.marquee__group span { padding-inline: 0.6em; }
.marquee__group .dot { color: var(--violet); padding: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: var(--section); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }
.section-head .label { margin-bottom: 20px; }
.section-head .h2 + .lead { margin-top: 24px; }

.card {
  background: var(--plasma);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
}

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lavender); white-space: nowrap; line-height: 1.4;
}
.tag--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }

/* ---------- Servicios ---------- */
.services { display: grid; gap: 16px; grid-template-columns: 1fr; }
.service {
  display: flex; flex-direction: column; gap: 14px; min-height: 200px;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.service:hover { border-color: var(--line-strong); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.service__num { font-family: var(--font-display); font-weight: 800; font-size: 0.9375rem; color: var(--violet); }
.service__name { margin-top: auto; }
.service__desc { color: var(--text-muted); }
.service.is-soon .service__name, .service.is-soon .service__desc { opacity: 0.7; }
@media (min-width: 680px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(6, 1fr); }
  .service { grid-column: span 2; }
  .service:nth-child(4), .service:nth-child(5) { grid-column: span 3; }
}

/* ---------- Kit NFC ---------- */
.feature { display: grid; gap: clamp(40px, 6vw, 72px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .feature { grid-template-columns: 1.1fr 0.9fr; } }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__icon {
  width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--lavender);
}
.step__icon svg { width: 26px; height: 26px; }
.step__n { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; color: var(--violet); display: block; margin-bottom: 4px; }
.step p { color: var(--text-muted); }
.step strong { color: var(--white); font-weight: 600; display: block; }

.photo-ph {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; width: 100%;
  border-radius: var(--radius); border: 1px dashed var(--line-strong);
  background:
    radial-gradient(60% 50% at 70% 25%, rgba(150, 112, 248, 0.16), transparent 70%),
    var(--plasma);
  display: grid; place-items: center; text-align: center;
  color: var(--text-soft); font-size: 0.875rem; font-weight: 500;
}
.photo-ph img.ph-mark { position: absolute; width: 46%; opacity: 0.12; }
.photo-ph span { position: relative; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: rgba(8, 6, 15, 0.6); }
.photo-ph--wide { aspect-ratio: 16 / 10; }

.plans { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: clamp(48px, 7vw, 80px); }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, 1fr); } }
.plan { display: flex; flex-direction: column; gap: 24px; position: relative; }
.plan--featured {
  border-color: transparent;
  background:
    linear-gradient(var(--plasma), var(--plasma)) padding-box,
    linear-gradient(45deg, rgba(210, 214, 252, 0.5), rgba(150, 112, 248, 0.7), rgba(178, 77, 251, 0.9)) border-box;
}
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__price { display: flex; flex-direction: column; gap: 4px; }
.plan__setup { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 6vw, 2.5rem); letter-spacing: -0.02em; line-height: 1.1; }
.plan__setup small, .plan__monthly small { font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; letter-spacing: 0; color: var(--text-soft); }
.plan__monthly { font-size: 1.125rem; font-weight: 600; color: var(--lavender); }
.plan__list { list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }
.plan__list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--text-muted); font-size: 0.9688rem; }
.plan__list svg { width: 20px; height: 20px; color: var(--violet); margin-top: 2px; }
.note { margin-top: 20px; font-size: 0.875rem; color: var(--text-soft); }

/* ---------- Proyectos ---------- */
.projects { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .projects { grid-template-columns: repeat(2, 1fr); } .project__media { aspect-ratio: 4 / 3; } }
@media (min-width: 1024px) { .projects { grid-template-columns: repeat(3, 1fr); } }
.project {
  background: var(--plasma); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .35s var(--ease);
}
.project:hover { border-color: var(--line-strong); }
.project__media { position: relative; aspect-ratio: 16 / 9; background: var(--void); overflow: hidden; border-bottom: 1px solid var(--line); }
.project__media img.photo { width: 100%; height: 100%; object-fit: cover; }
.project__media .tag { position: absolute; top: 14px; left: 14px; background: rgba(8, 6, 15, 0.75); }
.project__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(70% 60% at var(--x, 70%) var(--y, 30%), rgba(150, 112, 248, 0.22), transparent 70%), var(--void);
}
.project__ph img { width: 34%; opacity: 0.16; }
.project__body { padding: 24px; display: grid; gap: 6px; }
.project__service { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lavender); }
.project__result { color: var(--text-muted); font-size: 0.9688rem; }

/* ---------- OnLink ---------- */
.onlink { display: grid; gap: clamp(40px, 6vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .onlink { grid-template-columns: 1fr 1fr; } }
.onlink__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.onlink__labels { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--void); border: 1px solid var(--line-strong); border-radius: 12px;
  font-size: 1rem; color: var(--white);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23D2D6FC' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field select option { background: var(--plasma); color: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(150, 112, 248, 0.25); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--purple); }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 0.9375rem; color: var(--lavender); min-height: 1.5em; }
.form-status[data-state="error"] { color: var(--white); }
.form-status .btn { margin-top: 12px; }

/* ---------- Nosotros ---------- */
.about { max-width: 980px; }
.about .h2 { font-size: clamp(1.9rem, 5.6vw, 3.4rem); line-height: 1.12; }
.about__meta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; color: var(--text-soft); font-size: 0.875rem; }
.about__meta img { width: 28px; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: clamp(40px, 6vw, 72px); grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact { grid-template-columns: 0.9fr 1.1fr; } }
.contact-list { list-style: none; margin: 40px 0 0; padding: 0; }
.contact-list li { display: grid; gap: 2px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .label { font-size: 0.6875rem; }
.contact-list a { text-decoration: none; font-weight: 500; font-size: 1.0625rem; }
.contact-list a:hover { color: var(--lavender); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 120px; }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__logo img { width: 156px; }
.footer__slogan { margin-top: 16px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.footer h3 { font-family: var(--font-body); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lavender); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { text-decoration: none; color: var(--text-muted); }
.footer ul a:hover { color: var(--white); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.8125rem; color: var(--text-soft); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gradient); color: var(--void);
  box-shadow: 0 10px 30px rgba(8, 6, 15, 0.6), 0 0 0 rgba(178, 77, 251, 0);
  transition: box-shadow .35s var(--ease);
}
.wa-float:hover { box-shadow: 0 10px 30px rgba(8, 6, 15, 0.6), 0 0 32px rgba(178, 77, 251, 0.5); }
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 768px) { .wa-float { right: 28px; bottom: 28px; } }

/* ---------- Página de producto ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 10vw, 120px)) 0 clamp(64px, 10vw, 120px); }
.page-hero .label { margin-bottom: 24px; }
.page-hero .h1 { font-size: clamp(2.75rem, 10vw, 6rem); margin-bottom: 28px; }
@media (min-width: 960px) { .page-hero .h1 { font-size: clamp(3rem, 5.2vw, 4.75rem); } }
.page-hero .lead { margin-bottom: 40px; }
.breadcrumb { font-size: 0.875rem; color: var(--text-soft); margin-bottom: 32px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }

.grid-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.mini-card { display: grid; gap: 10px; }
.mini-card .step__icon { margin-bottom: 8px; }
.mini-card p { color: var(--text-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--plasma); font-weight: 500; color: var(--text-muted); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 2.8vw, 1.25rem); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px;
  border-right: 1.5px solid var(--lavender); border-bottom: 1.5px solid var(--lavender);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--text-muted); max-width: 46em; }

.cta-band { text-align: center; }
.cta-band .h2 { margin-bottom: 24px; }
.cta-band .lead { margin: 0 auto 40px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Animaciones (aparición al hacer scroll) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Claridad del negocio ---------- */
.hero__what { list-style: none; margin: 32px 0 0; padding: 0; max-width: 30em; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.9375rem; color: var(--text-muted); }
.hero__what li { display: inline-flex; align-items: center; gap: 8px; }
.hero__what li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); flex: none; }
.service__ideal { font-size: 0.875rem; color: var(--lavender); padding-top: 12px; border-top: 1px solid var(--line); }
.process { margin-top: clamp(56px, 8vw, 96px); }
.process__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.process__list li { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
@media (min-width: 860px) {
  .process__list { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
  .process__list li { border-bottom: 0; padding: 24px 24px 24px 0; }
  .process__list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
}

/* ---------- Proyectos con enlace ---------- */
.project.has-link { position: relative; }
.project__media img.photo { object-position: top center; transition: transform .6s var(--ease); }
.project.has-link:hover .project__media img.photo { transform: scale(1.03); }
.project__link { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9375rem; color: var(--white); text-decoration: none; }
.project__link svg { width: 16px; height: 16px; color: var(--violet); transition: transform .3s var(--ease); }
.project.has-link:hover .project__link svg { transform: translate(2px, -2px); }
.project__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.project__soon { margin-top: 12px; font-size: 0.875rem; color: var(--text-soft); }
@media (min-width: 1024px) { .projects--4 { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   v2 · Legibilidad (letra más grande) y bloques B2B
   ========================================================= */
:root { --text-muted: rgba(247, 245, 255, 0.80); --text-soft: rgba(247, 245, 255, 0.64); }
body { font-size: 1.0625rem; line-height: 1.7; }
@media (min-width: 768px) { body { font-size: 1.125rem; } }
.label { font-size: 0.8125rem; }
.lead { font-size: clamp(1.15rem, 2.8vw, 1.4rem); line-height: 1.6; }
.lead strong { color: var(--white); font-weight: 600; }
.h3 { font-size: clamp(1.4rem, 3.6vw, 1.75rem); }
.nav__links a { font-size: 1rem; }
.btn { font-size: 1.0625rem; }
.btn-sm { font-size: 1rem; }
.tag { font-size: 0.75rem; }
.field label { font-size: 1rem; }
.service__desc, .project__result, .plan__list li, .step p, .mini-card p, .path__text,
.why__item p, .faq details p, .footer ul a, .contact-list a { font-size: 1.0625rem; }
.project__service, .contact-list .label { font-size: 0.8125rem; }
.note { font-size: 0.9375rem; }
.footer__bottom { font-size: 0.875rem; }
.about__meta { font-size: 1rem; }

/* Hero */
.hero__lead { max-width: 34em; }
.hero__trust { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--text-soft); }
.hero__trust .label { flex-basis: 100%; margin: 0 0 4px; color: var(--text-soft); font-size: 0.75rem; }
.hero__trust a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 1rem; border-bottom: 1px solid var(--line-strong); transition: border-color .25s var(--ease); }
.hero__trust a:hover { border-color: var(--lavender); }
@media (min-width: 900px) { .hero__trust { max-width: 28em; } }

/* Crecer / Optimizar */
.paths { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 4.5vw, 48px); }
.path .tag { align-self: flex-start; }
.path__big { white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 11vw, 4.25rem); line-height: 1; letter-spacing: -0.03em; margin-top: 8px; }
.path__text { color: var(--text-muted); }
.path__list { list-style: none; margin: 4px 0 8px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; flex: 1; }
.path__list li, .service__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.path__list svg, .service__list svg { width: 22px; height: 22px; color: var(--violet); margin-top: 3px; }

/* Servicios v2 */
.services { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service, .service:nth-child(4), .service:nth-child(5) { grid-column: auto; }
  .service.is-soon { grid-column: 1 / -1; }
}
.service { gap: 16px; min-height: 0; padding: clamp(26px, 4vw, 40px); }
.service__top { align-items: center; flex-wrap: wrap; }
.service__num { font-size: 1rem; letter-spacing: 0.02em; color: var(--lavender); }
.service__goals { display: inline-flex; gap: 6px; }
.goal { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); color: var(--lavender); }
.goal--grow { border-color: rgba(178, 77, 251, 0.55); }
.goal--optimize { border-color: rgba(210, 214, 252, 0.45); }
.service__promise { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 4.4vw, 2.1rem); line-height: 1.12; letter-spacing: -0.02em; }
.service__desc { color: var(--text-muted); }
.service__list { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
@media (min-width: 560px) { .service__list { grid-template-columns: 1fr 1fr; gap: 10px 20px; } }
.service__ideal { font-size: 1rem; border-top: 0; padding: 14px 16px; border-radius: 12px; background: rgba(150, 112, 248, 0.08); }
.service__cta { margin-top: auto; padding-top: 4px; }
.service.is-soon .service__promise, .service.is-soon .service__desc { opacity: 0.75; }

/* Por qué */
.why { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .why { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why__item { padding: 28px 0; border-top: 1px solid var(--line-strong); display: grid; gap: 10px; align-content: start; }
.why__item p { color: var(--text-muted); }
.process__list li { font-size: 1.0625rem; }

@media (min-width: 900px) and (max-width: 1180px) { .path__big { font-size: 3.4rem; } }

/* =========================================================
   v3 · Compañía de tecnología e IA: Kit NFC + OnLink como
   producto estrella, precios a la vista, calculadora,
   casos de éxito y mantenimiento (26 nov 2026)
   ========================================================= */

/* Hero */
.hero__kicker { font-weight: 600; font-size: clamp(1rem, 2.4vw, 1.125rem); color: var(--lavender); margin-bottom: 24px; max-width: 30em; }
.hero__trust-label { flex-basis: 100%; font-size: 0.9375rem; color: var(--text-soft); margin-bottom: 2px; }
.hero__trust a + a::before { content: none; }

/* Producto estrella */
.feature--kit { align-items: center; }
@media (min-width: 960px) { .feature--kit { grid-template-columns: 1fr 1fr; } }

/* Demo interactiva: acercar el celular */
.tap { display: grid; gap: 24px; }
.tap__stage {
  position: relative; height: clamp(400px, 92vw, 500px);
  border-radius: 24px; border: 1px solid var(--line);
  background:
    radial-gradient(70% 55% at 30% 70%, rgba(150, 112, 248, 0.20), transparent 70%),
    radial-gradient(50% 40% at 80% 20%, rgba(178, 77, 251, 0.14), transparent 70%),
    var(--plasma);
  overflow: hidden; perspective: 900px;
}
.tap__display {
  position: absolute; left: 9%; bottom: 13%;
  width: 40%; max-width: 200px;
  transform: rotateY(18deg); transform-style: preserve-3d;
}
.tap__plaque {
  position: relative; aspect-ratio: 3 / 4;
  border-radius: 20px 20px 8px 8px;
  background:
    linear-gradient(160deg, rgba(247, 245, 255, 0.10), rgba(247, 245, 255, 0) 45%),
    linear-gradient(var(--void), var(--void)) padding-box,
    var(--gradient) border-box;
  border: 2px solid transparent;
  box-shadow: 14px 18px 40px rgba(0, 0, 0, 0.55), inset 0 0 40px rgba(150, 112, 248, 0.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12%;
  padding: 12%; text-align: center;
}
.tap__plaque img { width: 54%; }
.tap__nfc { width: 30%; color: var(--lavender); }
.tap__plaque span { font-size: clamp(0.6875rem, 2.2vw, 0.8125rem); font-weight: 600; color: var(--white); line-height: 1.3; }
.tap__base { height: 14px; margin: 0 -8%; border-radius: 6px; background: linear-gradient(90deg, #2a2238, #3a3050 50%, #2a2238); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6); }
.tap__ring {
  position: absolute; left: 50%; top: 42%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--violet); transform: translate(-50%, -50%) scale(0.4); opacity: 0; pointer-events: none;
}
.tap__phone {
  position: absolute; right: 8%; top: 8%;
  width: min(46%, 230px); aspect-ratio: 9 / 18.5;
  border-radius: 30px; padding: 7px;
  background: linear-gradient(145deg, #3b3450, #15111f);
  box-shadow: -18px 24px 50px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(247, 245, 255, 0.12);
  transform: rotate(6deg);
  transition: transform .75s cubic-bezier(.2, .8, .2, 1);
}
.tap__screen { position: relative; height: 100%; border-radius: 24px; overflow: hidden; background: #0d0a16; }
.tap__idle {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 18%; text-align: center;
  font-size: clamp(0.75rem, 2.4vw, 0.875rem); color: var(--text-soft); transition: opacity .3s var(--ease);
}
.tap__page {
  position: absolute; inset: 0; padding: 18% 9% 8%;
  display: flex; flex-direction: column; align-items: center; gap: 4.2%;
  background: linear-gradient(180deg, #221a33, #0d0a16 60%);
  transform: translateY(100%); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.ol__avatar { width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--gradient); display: grid; place-items: center; }
.ol__avatar img { width: 58%; }
.ol__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(0.8125rem, 2.6vw, 1rem); letter-spacing: -0.01em; margin-top: 2%; }
.ol__bio { font-size: clamp(0.625rem, 2vw, 0.75rem); color: var(--text-soft); margin-bottom: 3%; }
.ol__btn {
  width: 100%; padding: 6.5% 6%; border-radius: 12px; text-align: center;
  font-size: clamp(0.625rem, 2vw, 0.75rem); font-weight: 600; line-height: 1.25;
  background: rgba(247, 245, 255, 0.07); border: 1px solid var(--line);
}
.ol__btn--main { background: var(--gradient); color: var(--void); border-color: transparent; display: grid; gap: 2px; }
.ol__stars { letter-spacing: 0.12em; font-size: 0.9em; }
.ol__brand { margin-top: auto; font-size: clamp(0.5625rem, 1.8vw, 0.6875rem); color: var(--text-soft); letter-spacing: 0.04em; }
.tap__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.tap__controls .btn svg { fill: none; }
.tap__note { font-size: 0.9375rem; color: var(--text-soft); flex: 1 1 16em; }

.tap.is-tapped .tap__phone { transform: translate(-54%, 1%) rotate(-4deg); }
.tap.is-tapped .tap__ring { animation: tapRing 1.1s .45s ease-out 2; }
.tap.is-tapped .tap__ring--2 { animation-delay: .75s; }
.tap.is-open .tap__idle { opacity: 0; }
.tap.is-open .tap__page { transform: none; }
@keyframes tapRing {
  0% { opacity: .9; transform: translate(-50%, -50%) scale(0.4); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}
@media (max-width: 520px) {
  .tap.is-tapped .tap__phone { transform: translate(-46%, 1%) rotate(-4deg); }
}

/* Planes en 3 columnas */
.plans--3 { margin-top: clamp(48px, 7vw, 80px); }
@media (min-width: 760px) and (max-width: 1023px) { .plans--3 { grid-template-columns: 1fr; max-width: 560px; } }
@media (min-width: 1024px) { .plans--3 { grid-template-columns: repeat(3, 1fr); } }
.plan__monthly { min-height: 1.6em; }

/* OnLink: solo la página (lista de espera) */
.kit-more {
  margin-top: clamp(48px, 7vw, 72px); padding: clamp(24px, 4vw, 36px);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  display: grid; gap: 24px; align-items: end;
}
.kit-more .h3 { margin-bottom: 8px; }
.form--inline { gap: 12px; }
@media (min-width: 960px) {
  .kit-more { grid-template-columns: 1fr 1.4fr; }
  .form--inline { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .form--inline .form-status { grid-column: 1 / -1; }
}

/* Servicios: precio desde y lista de precios */
.service__from { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 4.6vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.1; }
.service__from span { font-family: var(--font-body); font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--text-soft); }
.service__from small { font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; letter-spacing: 0; color: var(--text-soft); }
.service__prices { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service__prices li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text-muted); font-size: 1.0625rem; }
.service__price { color: var(--white); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Calculadora */
.calc { display: grid; gap: clamp(40px, 6vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .calc { grid-template-columns: 0.9fr 1.1fr; } }
.calc__card { display: grid; gap: 24px; }
.calc__inputs { display: grid; gap: 16px; }
@media (min-width: 560px) { .calc__inputs { grid-template-columns: 1fr 1fr; } }
.calc__inputs .field { align-content: end; }
.calc__out { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; padding: 24px 0; border-block: 1px solid var(--line); }
.calc__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 7vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc__unit { display: block; margin-top: 6px; color: var(--text-muted); font-size: 1rem; }
.calc__fine { color: var(--text-muted); font-size: 1rem; }

/* Casos de éxito */
.cases { display: grid; gap: 24px; }
.case {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  background: var(--plasma); border: 1px solid var(--line); border-radius: var(--radius);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.case__media { display: block; aspect-ratio: 4 / 3; background: var(--void); overflow: hidden; border-bottom: 1px solid var(--line); }
.case__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.case__media:hover img { transform: scale(1.03); }
.case__body { padding: clamp(24px, 4vw, 44px); display: grid; gap: 12px; align-content: start; }
.case__name { font-size: clamp(1.6rem, 4.4vw, 2.25rem); line-height: 1.1; }
.case__summary { color: var(--text-muted); font-size: 1.125rem; }
.case__built-label { margin-top: 12px; font-weight: 600; color: var(--lavender); }
.case__built { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.case__built li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-muted); }
.case__built svg { width: 22px; height: 22px; color: var(--violet); margin-top: 3px; }
.case__link { justify-self: start; margin-top: 12px; }
@media (min-width: 900px) {
  .case { grid-template-columns: 1.05fr 1fr; }
  .case__media { aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
  .case:nth-child(even) .case__media { order: 2; border-right: 0; border-left: 1px solid var(--line); }
}
.next-title { margin: clamp(56px, 8vw, 88px) 0 24px; color: var(--text-muted); }
.projects--next .project__media { aspect-ratio: 16 / 9; }

/* Paso a paso y mantenimiento */
.process > .h3 { color: var(--text-muted); }
.care { margin-top: clamp(80px, 11vw, 140px); }
.care__head { max-width: 760px; }
.care__title { margin-bottom: 24px; }
.plans--care { margin-top: clamp(40px, 6vw, 64px); }

@media (prefers-reduced-motion: reduce) {
  .tap.is-tapped .tap__ring { animation: none; }
}
.plans--3 .plan__setup small { display: block; margin-top: 4px; }
/* Los brillos de fondo no deben crear scroll horizontal en celular */
.orbs { overflow-x: clip; }
html, body { overflow-x: clip; }

/* =========================================================
   v4 (30 nov 2026) — Portada de estudio: materia interactiva,
   prueba de trabajo primero, precios en su propia página.
   ========================================================= */
body { font-size: 1.0625rem; }
@media (min-width: 768px) { body { font-size: 1.125rem; } }
.lead { font-size: clamp(1.125rem, 2.4vw, 1.3125rem); }
.tag, .goal { font-size: 0.75rem; letter-spacing: 0.08em; }
.project__service { font-size: 0.8125rem; letter-spacing: 0.08em; }
.btn-primary:hover { --glow: 0 0 22px rgba(178, 77, 251, 0.3); }
.section { padding-block: clamp(80px, 11vw, 136px); }
.section--flush { padding-top: 0; }
.section--tint { background: linear-gradient(180deg, rgba(24, 19, 34, 0) 0%, rgba(24, 19, 34, 0.7) 18%, rgba(24, 19, 34, 0.7) 82%, rgba(24, 19, 34, 0) 100%); }

/* Hero: materia */
.hero--matter { min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 32px; align-items: stretch; }
.hero--matter .matter { position: absolute; inset: 0; z-index: -1; display: block; }
.hero__fallback {
  position: absolute; z-index: -2; pointer-events: none; max-width: none;
  width: min(95vw, 560px); left: 50%; transform: translateX(-50%); bottom: 6%;
  opacity: 0.35; transition: opacity .6s var(--ease);
}
.hero--matter.is-matter .hero__fallback { opacity: 0; }
.hero__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: calc(100svh - var(--header-h) - 72px); }
.hero--matter .hero__content { max-width: 600px; padding-top: clamp(16px, 6vh, 72px); }
.hero--matter .hero__title {
  font-size: clamp(3.4rem, min(15vw, 14svh), 9.5rem); line-height: 0.92; letter-spacing: -0.045em;
  margin: 0 0 28px; max-width: 7ch;
}
.hero__lead { font-size: clamp(1.125rem, 2.6vw, 1.375rem); color: var(--text-muted); max-width: 30em; margin-bottom: 36px; }
.hero--matter .btn-row .btn { flex: 1 1 100%; }
@media (min-width: 560px) { .hero--matter .btn-row .btn { flex: 0 0 auto; } }
.hero__foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.hero__foot p { color: var(--text-soft); }
.hero__foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.hero__foot a { color: var(--white); text-decoration: none; font-weight: 500; }
.hero__foot a:hover { color: var(--lavender); }
.hero__hint { margin-left: auto; display: none; }
@media (max-width: 899px) {
  .hero--matter .matter { opacity: 0.55; }
}
@media (min-width: 900px) {
  .hero__fallback { width: 44vw; max-width: 760px; left: auto; right: 3vw; transform: translateY(-50%); top: 50%; bottom: auto; opacity: 0.8; }
  .hero__hint { display: block; }
}
@media (prefers-reduced-motion: reduce) { .hero__hint { display: none; } }

/* Encabezado de sección partido: título a la izquierda, explicación a la derecha */
.split-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.split-head .lead { max-width: 34em; }
@media (min-width: 1024px) {
  .split-head { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; }
}
.kicker { color: var(--lavender); font-weight: 600; font-size: 1rem; margin-bottom: 16px; }

/* Lo que construimos: índice editorial */
.caps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.cap { display: grid; gap: 10px 48px; padding: clamp(24px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line); }
.cap__name { font-size: clamp(1.75rem, 4.6vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; transition: color .3s var(--ease); }
.cap__text { color: var(--text-muted); max-width: 36em; }
.cap__goals { display: flex; gap: 8px; flex-wrap: wrap; }
.cap:hover .cap__name { color: var(--lavender); }
@media (min-width: 960px) {
  .cap { grid-template-columns: 1.1fr 1.3fr auto; align-items: baseline; }
  .cap__goals { justify-content: flex-end; min-width: 13rem; }
}
.caps__cta { margin-top: 40px; }

/* Laboratorio */
.lab { display: grid; gap: 20px; grid-template-columns: 1fr; }
.lab__item { display: grid; background: var(--plasma); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.lab__media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--void); border-bottom: 1px solid var(--line); }
.lab__media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s var(--ease); }
a.lab__media:hover img { transform: scale(1.025); }
.lab__media--kit { display: grid; place-items: center; background: radial-gradient(55% 55% at 50% 50%, rgba(150, 112, 248, 0.22), transparent 70%), var(--void); }
.lab__media--kit img { width: 46%; height: auto; object-fit: contain; }
.lab__media--kit .tap__nfc { position: absolute; width: 44px; height: 44px; right: 22%; top: 24%; color: var(--lavender); }
.lab__body { padding: clamp(22px, 3vw, 36px); display: grid; gap: 10px; align-content: start; }
.lab__body p { color: var(--text-muted); }
.lab__body .btn { justify-self: start; margin-top: 8px; }
.lab__kind { font-size: 0.875rem; font-weight: 600; color: var(--lavender) !important; }
.lab__name { font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.1; }
@media (min-width: 760px) { .lab { grid-template-columns: 1fr 1fr; } .lab__item--wide { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .lab__item--wide { grid-template-columns: 1.35fr 1fr; }
  .lab__item--wide .lab__media { border-bottom: 0; border-right: 1px solid var(--line); aspect-ratio: auto; min-height: 100%; }
  .lab__item--wide .lab__body { align-content: center; padding: 48px; }
}

/* Kit en portada */
.feature--kit .h2 { margin-top: 0; }
.kit-price { margin-top: 28px; font-size: 1.125rem; color: var(--text-muted); }
.kit-price strong { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--white); letter-spacing: -0.02em; }

/* Cómo trabajamos: secuencia real de 4 pasos */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; counter-reset: none; }
.flow__step { padding: 28px 0; border-top: 1px solid var(--line-strong); display: grid; gap: 8px; align-content: start; }
.flow__n { font-family: var(--font-display); font-weight: 800; font-size: 2.75rem; line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.flow__t { font-size: 1.3rem; letter-spacing: -0.015em; }
.flow__step p { color: var(--text-muted); }
@media (min-width: 760px) { .flow { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1100px) { .flow { grid-template-columns: repeat(4, 1fr); } }

/* Banda de precios */
.pricebar { margin-top: clamp(64px, 9vw, 104px); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 20px; background: var(--plasma); display: grid; gap: 28px; align-items: center; }
.pricebar__head .h3 { margin-bottom: 6px; }
.pricebar__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; }
.pricebar__list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pricebar__name { color: var(--text-muted); }
.pricebar__v { font-weight: 600; white-space: nowrap; }
.pricebar__v small { font-weight: 500; color: var(--text-soft); font-size: 0.8125rem; }
.pricebar .btn { justify-self: start; }
@media (min-width: 760px) { .pricebar__list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 1024px) {
  .pricebar { grid-template-columns: 1fr auto; gap: 28px 40px; }
  .pricebar__head { grid-column: 1; grid-row: 1; }
  .pricebar .btn { grid-column: 2; grid-row: 1; justify-self: end; }
  .pricebar__list { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(4, 1fr); }
  .pricebar__list li { flex-direction: column; gap: 4px; border-bottom: 0; border-top: 1px solid var(--line); padding: 16px 0 0; }
  .pricebar__v { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
  .pricebar__v small { font-family: var(--font-body); }
}

/* Demo: agente de IA en WhatsApp */
.agent { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .agent { grid-template-columns: 1fr 1fr; } }
.agent__title { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.03em; margin-bottom: 16px; }
.agent__picks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip-btn {
  min-height: 46px; padding: 10px 20px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); background: transparent; color: var(--text-muted);
  font-weight: 600; font-size: 0.9375rem; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.chip-btn:hover { color: var(--white); border-color: var(--lavender); }
.chip-btn[aria-pressed="true"] { background: var(--white); color: var(--void); border-color: var(--white); }
.agent__note { margin-top: 20px; font-size: 0.875rem; color: var(--text-soft); }
.agent__phone {
  width: 100%; max-width: 420px; justify-self: center; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line-strong); background: #0E0B17;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(24, 19, 34, 0.8);
}
.agent__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--plasma); border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.agent__bar strong { display: block; font-weight: 600; line-height: 1.2; }
.agent__bar small { color: var(--lavender); font-size: 0.8125rem; }
.agent__dot { width: 34px; height: 34px; border-radius: 50%; background: var(--gradient); flex: none; }
.agent__time { margin-left: auto; color: var(--text-soft); font-size: 0.8125rem; }
.agent__chat { height: 400px; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.bub { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 0.9688rem; line-height: 1.45; animation: bub-in .35s var(--ease) both; }
.bub--c { align-self: flex-end; background: var(--violet); color: var(--void); border-bottom-right-radius: 4px; font-weight: 500; }
.bub--a { align-self: flex-start; background: var(--plasma); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bub--s { align-self: center; max-width: none; font-size: 0.8125rem; color: var(--lavender); border: 1px dashed var(--line-strong); border-radius: var(--radius-pill); padding: 6px 14px; margin-top: 6px; }
.bub--typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.bub--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-soft); animation: typing 1s infinite ease-in-out; }
.bub--typing span:nth-child(2) { animation-delay: .15s; }
.bub--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bub-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .bub { animation: none; } .bub--typing span { animation: none; } }

/* Promesa: todo a nombre del cliente */
.promise { margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 36px) 0 0; border-top: 1px solid var(--line-strong); display: grid; gap: 10px 48px; }
.promise__t { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -0.025em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promise p { color: var(--text-muted); max-width: 40em; }
@media (min-width: 960px) { .promise { grid-template-columns: 1fr 1.3fr; align-items: center; } }
