/* ============================================================
   TUBOT — Landing de conversión (Google Ads)
   Sistema: navy oscuro premium + gradiente TUBOT + verde WhatsApp
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Canvas */
  --bg:          #0A141B;
  --bg-2:        #0C1922;
  --surface:     #132330;
  --surface-2:   #1A3040;
  --border:      rgba(255,255,255,0.08);
  --border-2:    rgba(255,255,255,0.14);

  /* Texto */
  --text:        #EAF2F6;
  --muted:       #95A6B0;
  --soft:        #69808C;

  /* Marca TUBOT (gradiente del logo) */
  --magenta:     #E5179B;
  --violet:      #8B2BE0;
  --cyan:        #16ABF0;
  --grad:        linear-gradient(115deg, #E5179B 0%, #9333EA 50%, #16ABF0 100%);
  --grad-soft:   linear-gradient(115deg, rgba(229,23,155,0.18) 0%, rgba(147,51,234,0.18) 50%, rgba(22,171,240,0.18) 100%);

  /* WhatsApp */
  --wa:          #25D366;
  --wa-600:      #1FBA59;
  --wa-700:      #14934A;
  --wa-ink:      #052D1C;

  /* Tipografía */
  --font:        'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* Radios */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --container: 1180px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fondo decorativo: glows de marca + grid sutil */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx::before {
  content: '';
  position: absolute;
  top: -340px; left: -240px;
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(229,23,155,0.22), transparent 62%);
  filter: blur(20px);
}
.bg-fx::after {
  content: '';
  position: absolute;
  bottom: -380px; right: -220px;
  width: 820px; height: 820px;
  background: radial-gradient(circle, rgba(22,171,240,0.18), transparent 62%);
  filter: blur(20px);
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }
@media (max-width: 760px) { section { padding: 64px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 7px 14px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.03);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 0 0 3px rgba(37,211,102,0.25);
}

h1, h2, h3 { line-height: 1.04; letter-spacing: -0.02em; font-weight: 800; }
h2.section-title {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 900;
  max-width: 18ch;
  text-wrap: balance;
}
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center h2 { margin: 0 auto; }
.section-sub {
  color: var(--muted);
  font-size: 19px;
  margin-top: 16px;
  max-width: 56ch;
}
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

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

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 17px;
  border: none;
  border-radius: var(--r-pill);
  padding: 16px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn svg { width: 21px; height: 21px; flex-shrink: 0; }
.btn-wa {
  background: var(--wa);
  color: #04210F;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,0.55);
}
.btn-wa:hover { background: var(--wa-600); transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(37,211,102,0.65); }
.btn-wa:active { transform: translateY(0) scale(.98); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-lg { font-size: 19px; padding: 19px 34px; }
.btn-block { display: flex; width: 100%; }

.cta-microcopy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}
.cta-microcopy span { display: inline-flex; align-items: center; gap: 7px; }
.cta-microcopy svg { width: 15px; height: 15px; color: var(--wa); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,20,27,0.72);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand .wm { font-size: 24px; font-weight: 900; letter-spacing: 0.01em; line-height: 1; }
.brand .wm .tu { color: #fff; }
.brand .wm .bot {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.header-cta { font-size: 15px; padding: 11px 20px; }
@media (max-width: 600px) { .header-cta span.lbl { display: none; } .header-cta { padding: 11px 14px; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 64px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 22px 0 0;
  text-wrap: balance;
}
.hero h1 .em { font-style: italic; }
.hero-sub {
  font-size: 20px;
  color: var(--muted);
  margin-top: 22px;
  max-width: 46ch;
}
.hero-bullets {
  list-style: none;
  margin: 28px 0 0;
  display: grid;
  gap: 13px;
}
.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16.5px;
  color: var(--text);
}
.hero-bullets .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(37,211,102,0.14);
  margin-top: 1px;
}
.hero-bullets .check svg { width: 15px; height: 15px; color: var(--wa); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 33px; }
  .hero-sub { font-size: 17.5px; }
  .hero-bullets li { font-size: 15.5px; }
}

/* ---------- Phone / chat mockup ---------- */
.hero-phone-wrap { display: flex; justify-content: center; position: relative; }
.hero-phone-wrap::before {
  content: '';
  position: absolute;
  inset: -8% -4%;
  background: var(--grad);
  filter: blur(70px);
  opacity: 0.30;
  border-radius: 50%;
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 320px;
  max-width: 86vw;
  background: #0B141A;
  border: 10px solid #05090C;
  border-radius: 42px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 130px; height: 26px;
  background: #05090C;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}
.wa-header {
  display: flex; align-items: center; gap: 11px;
  background: #1F2C34;
  padding: 38px 14px 12px;
  color: #E9EDEF;
}
.wa-header .ava {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.wa-header .ava svg { width: 100%; height: 100%; display: block; }
.wa-header .meta { line-height: 1.2; min-width: 0; }
.wa-header .meta .nm { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-header .meta .st { font-size: 12px; color: #25D366; }
.wa-header .ico { margin-left: auto; display: flex; gap: 16px; color: #aebac1; }
.wa-header .ico svg { width: 19px; height: 19px; }
.wa-body {
  background-color: #0B141A;
  background-image:
    radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 18px 18px;
  padding: 16px 12px 14px;
  height: 412px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.msg {
  max-width: 80%;
  padding: 7px 10px 8px;
  border-radius: 9px;
  font-size: 13.5px;
  line-height: 1.4;
  color: #E9EDEF;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
  word-wrap: break-word;
}
.msg.in.show, .msg.out.show { opacity: 1; transform: none; }
.msg.in { align-self: flex-start; background: #1F2C34; border-top-left-radius: 3px; }
.msg.out { align-self: flex-end; background: #144D38; border-top-right-radius: 3px; }
.msg .time { font-size: 10.5px; color: rgba(233,237,239,0.55); float: right; margin: 4px 0 -2px 10px; }
.msg .time .tick { color: #53BDEB; font-weight: 700; }
.msg .photo {
  width: 100%;
  height: 118px;
  border-radius: 6px;
  margin-bottom: 4px;
  background:
    linear-gradient(135deg, rgba(229,23,155,0.25), rgba(22,171,240,0.25)),
    repeating-linear-gradient(45deg, #2a3942 0 10px, #313f49 10px 20px);
  display: flex; align-items: flex-end; padding: 7px;
}
.msg .photo .tag {
  font-size: 10.5px; color: #d7e0e5;
  background: rgba(0,0,0,0.45); padding: 3px 7px; border-radius: 5px;
  display: inline-flex; align-items: center; gap: 4px;
}
.msg .photo svg { width: 12px; height: 12px; }
.msg .audio { display: flex; align-items: center; gap: 9px; min-width: 160px; }
.msg .audio .play { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.12); display: grid; place-items: center; flex-shrink: 0; }
.msg .audio .play svg { width: 12px; height: 12px; color: #E9EDEF; }
.msg .audio .wave { flex: 1; height: 22px; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.4) 0 2px, transparent 2px 5px); border-radius: 3px; align-self: center; }
.msg .audio .dur { font-size: 11px; color: rgba(233,237,239,0.6); }

/* typing indicator */
.typing {
  align-self: flex-start;
  background: #1F2C34;
  border-radius: 9px; border-top-left-radius: 3px;
  padding: 11px 13px;
  display: none;
}
.typing.show { display: flex; gap: 4px; }
.typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: #8a99a3;
  animation: blink 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.ia-badge {
  align-self: center;
  font-size: 11px;
  color: var(--cyan);
  background: rgba(22,171,240,0.10);
  border: 1px solid rgba(22,171,240,0.25);
  padding: 4px 11px;
  border-radius: var(--r-pill);
  margin: 2px 0 4px;
  display: inline-flex; align-items: center; gap: 6px;
  opacity: 0; transition: opacity .3s;
}
.ia-badge.show { opacity: 1; }
.ia-badge svg { width: 12px; height: 12px; }

/* ============================================================
   TRUST STRIP (logos modelos IA)
   ============================================================ */
.trust { padding: 0 0 24px; }
.trust-inner {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.trust-label { text-align: center; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); font-weight: 700; margin-bottom: 22px; }
.trust-logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 18px 44px;
}
.trust-logos .lg {
  font-size: 21px; font-weight: 800; letter-spacing: -0.02em;
  color: #cdd9df; opacity: 0.72; filter: grayscale(1);
  transition: opacity .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.trust-logos .lg:hover { opacity: 1; }
.trust-logos .lg svg { width: 22px; height: 22px; }

/* ---------- Carrusel de logos (auto + arrastrable) ---------- */
.logo-carousel {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-carousel::-webkit-scrollbar { display: none; }
.logo-carousel.dragging { cursor: grabbing; }
.logo-carousel.dragging .logo-item { pointer-events: none; }
.logo-track { display: flex; align-items: center; gap: 60px; width: max-content; padding: 6px 30px; }
.logo-item {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 11px;
  color: #d7e1e7; opacity: 0.7;
  transition: opacity .2s, color .2s;
  user-select: none;
}
.logo-item:hover { opacity: 1; }
.logo-item .glyph { width: 28px; height: 28px; flex-shrink: 0; }
.logo-item .glyph svg { width: 100%; height: 100%; display: block; }
.logo-item .wm { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; white-space: nowrap; }

/* ============================================================
   STATS
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
}
.stat .n { font-size: clamp(30px, 4vw, 42px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.stat .l { color: var(--muted); font-size: 15px; margin-top: 9px; }
@media (max-width: 760px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   DEMO (chat con tabs)
   ============================================================ */
.demo { background: var(--bg-2); }
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: center;
}
@media (max-width: 920px) { .demo-grid { grid-template-columns: 1fr; gap: 44px; } .demo-phone { order: -1; justify-self: center; } }
.demo-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 5px; margin-bottom: 26px; }
.demo-tab {
  font-family: var(--font); font-weight: 700; font-size: 15px;
  border: none; background: transparent; color: var(--muted);
  padding: 9px 20px; border-radius: var(--r-pill); cursor: pointer; transition: all .2s;
}
.demo-tab.active { background: var(--grad); color: #fff; }
@media (max-width: 600px) {
  .demo-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; }
  .demo-tab { padding: 9px 6px; font-size: 12.5px; text-align: center; line-height: 1.15; }
}
.demo-feature-list { list-style: none; display: grid; gap: 16px; margin: 26px 0 30px; }
.demo-feature-list li { display: flex; gap: 13px; align-items: flex-start; }
.demo-feature-list .ic {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border-2);
}
.demo-feature-list .ic svg { width: 19px; height: 19px; color: var(--cyan); }
.demo-feature-list .tx strong { display: block; font-size: 16.5px; font-weight: 700; }
.demo-feature-list .tx span { color: var(--muted); font-size: 14.5px; }
.demo-phone { display: flex; justify-content: center; }
.replay {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--muted); background: none; border: none; cursor: pointer; font-family: var(--font);
}
.replay svg { width: 15px; height: 15px; }
.replay:hover { color: var(--text); }

/* ============================================================
   CÓMO FUNCIONA (4 pasos)
   ============================================================ */
/* ============================================================
   IMPLEMENTACIÓN — ROADMAP VERTICAL
   ============================================================ */
.roadmap { position: relative; max-width: 640px; margin: 44px auto 0; }
.rail {
  position: absolute; left: 26.5px; top: 36px; bottom: 60px;
  width: 7px; border-radius: var(--r-pill);
  background: var(--grad); opacity: .5;
}
.rail-dash {
  position: absolute; left: 29px; top: 36px; bottom: 60px;
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.65) 0 13px, transparent 13px 28px);
  opacity: .6;
}
/* rastro de progreso (se rellena con el scroll) */
.rail-fill {
  position: absolute; left: 26.5px; top: 36px;
  width: 7px; height: 0; border-radius: var(--r-pill);
  background: var(--grad);
  box-shadow: 0 0 16px rgba(229,23,155,0.45);
  z-index: 1; pointer-events: none;
}
/* banderita que baja con el scroll */
.road-runner {
  position: absolute; left: 30px; top: 36px;
  width: 34px; height: 34px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-image: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 0 0 5px var(--bg), 0 6px 16px rgba(0,0,0,0.55), var(--shadow-glow-pink);
  z-index: 4; pointer-events: none;
  will-change: top;
}
.road-runner svg { width: 17px; height: 17px; color: #fff; }
@media (max-width: 600px) {
  .rail-fill { left: 24.5px; }
  .road-runner { left: 28px; width: 30px; height: 30px; }
  .road-runner svg { width: 15px; height: 15px; }
}
.stops { list-style: none; display: grid; gap: 16px; position: relative; }
.stop {
  display: grid;
  grid-template-columns: 60px 1fr;
  column-gap: 22px;
  align-items: start;
  padding: 4px 0;
}
.stop .pin {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900; font-size: 23px; color: #fff;
  background-image: linear-gradient(var(--surface), var(--surface)), var(--grad);
  background-origin: border-box; background-clip: padding-box, border-box;
  border: 3px solid transparent;
  box-shadow: 0 0 0 7px var(--bg);
  position: relative; z-index: 2;
  transition: transform .2s var(--ease);
}
.stop:hover .pin { transform: scale(1.07); }
.stop .pin svg { width: 26px; height: 26px; }
.stop.dest .pin {
  background-image: var(--grad); border: none;
  box-shadow: 0 0 0 7px var(--bg), var(--shadow-glow-pink);
}
.stop.dest .pin svg { color: #fff; }
.stop .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 22px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.stop:hover .card { border-color: var(--border-2); transform: translateX(3px); }
.stop .card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.stop .card .step-ic {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border-2);
}
.stop .card .step-ic svg { width: 19px; height: 19px; color: var(--cyan); }
.stop.dest .card { background: var(--surface-2); }
.stop.dest .card .step-ic { background: var(--grad); border: none; }
.stop.dest .card .step-ic svg { color: #fff; }
.stop .card h3 { font-size: 18.5px; letter-spacing: -0.01em; flex: 1; min-width: 0; line-height: 1.2; }
.stop .card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 600px) {
  .roadmap { margin-top: 36px; }
  .rail { left: 24.5px; } .rail-dash { left: 27px; }
  .stop { grid-template-columns: 56px 1fr; column-gap: 16px; }
  .stop .pin { width: 56px; height: 56px; font-size: 21px; }
  .stop .pin svg { width: 24px; height: 24px; }
  .stop .card { padding: 17px 18px; }
}

/* ============================================================
   VS (mercado vs tubot)
   ============================================================ */
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-card { border-radius: var(--r-lg); padding: 34px 30px; }
.vs-card h3 { font-size: 21px; margin-bottom: 22px; display: flex; align-items: center; gap: 10px; }
.vs-card ul { list-style: none; display: grid; gap: 15px; }
.vs-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.vs-card li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.vs-market { background: var(--surface); border: 1px solid var(--border); }
.vs-market li { color: var(--muted); }
.vs-market li svg { color: #7c5a5a; }
.vs-tubot { position: relative; background: var(--surface-2); border: 1px solid transparent; background-clip: padding-box; }
.vs-tubot::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-lg); padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.vs-tubot li svg { color: var(--wa); }
.vs-card .tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ============================================================
   SECTORES
   ============================================================ */
.sectors { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; max-width: 920px; margin: 0 auto; }
.sector {
  font-size: 15px; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  padding: 11px 18px; border-radius: var(--r-pill);
  transition: all .2s; cursor: default;
}
.sector:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.tcols { columns: 3; column-gap: 22px; }
@media (max-width: 920px) { .tcols { columns: 2; } }
@media (max-width: 600px) { .tcols { columns: 1; } }
.tcard {
  break-inside: avoid;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 24px;
  margin-bottom: 22px;
}
.tcard .quote { color: var(--magenta); font-size: 40px; line-height: 0.6; font-weight: 900; font-family: Georgia, serif; }
.tcard p { font-size: 15.5px; color: var(--text); margin: 12px 0 20px; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .who .ava { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--border-2); display: grid; place-items: center; font-weight: 800; color: var(--text); font-size: 15px; }
.tcard .who .nm { font-weight: 700; font-size: 15px; }
.tcard .who .rl { color: var(--muted); font-size: 13px; }

/* ============================================================
   PRECIO
   ============================================================ */
.price { background: var(--bg-2); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .price-grid { grid-template-columns: 1fr; gap: 34px; } }
.price-card {
  position: relative;
  background: var(--surface-2);
  border-radius: var(--r-lg);
  padding: 40px;
  overflow: hidden;
}
.price-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-lg); padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.price-card .from { color: var(--muted); font-size: 15px; }
.price-card .amt { font-size: 52px; font-weight: 900; letter-spacing: -0.03em; margin: 4px 0; }
.price-card .amt small { font-size: 19px; font-weight: 600; color: var(--muted); }
.price-card .note { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.price-incl { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.price-incl li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; }
.price-incl svg { width: 19px; height: 19px; color: var(--wa); flex-shrink: 0; margin-top: 2px; }
.price-objections { display: grid; gap: 16px; }
.obj { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px 24px; }
.obj h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 7px; display: flex; gap: 9px; align-items: center; }
.obj h4 svg { width: 18px; height: 18px; color: var(--cyan); }
.obj p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.final { text-align: center; position: relative; overflow: hidden; }
.final-card {
  position: relative;
  background: linear-gradient(160deg, #15263A, #0E1B26);
  border: 1px solid var(--border-2);
  border-radius: 32px;
  padding: 72px 40px;
  overflow: hidden;
}
.final-card::before {
  content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 360px; background: var(--grad); filter: blur(90px); opacity: 0.30;
}
.final-card .inner { position: relative; z-index: 1; }
.final h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; max-width: 16ch; margin: 0 auto; }
.final p { color: var(--muted); font-size: 19px; margin: 20px auto 34px; max-width: 48ch; }
@media (max-width: 600px) {
  .final-card { padding: 46px 20px; border-radius: 24px; }
  .final p { font-size: 17px; }
  .btn-lg { font-size: 17px; padding: 16px 22px; }
  .btn-lg { white-space: normal; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--border-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 17px; font-weight: 700; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pl { flex-shrink: 0; width: 24px; height: 24px; position: relative; transition: transform .25s var(--ease); }
.faq-item summary .pl::before, .faq-item summary .pl::after { content: ''; position: absolute; background: var(--cyan); border-radius: 2px; }
.faq-item summary .pl::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.faq-item summary .pl::after { left: 11px; top: 4px; bottom: 4px; width: 2px; transition: opacity .25s; }
.faq-item[open] summary .pl { transform: rotate(90deg); }
.faq-item[open] summary .pl::after { opacity: 0; }
.faq-item .ans { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; max-width: 70ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 120px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner .left { display: flex; align-items: center; gap: 14px; }
.footer-inner .left img { width: 30px; height: 30px; }
.footer-inner .meta { color: var(--soft); font-size: 13.5px; }
.footer-inner a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-inner a:not(.btn):hover { color: var(--text); }
.footer-legal { color: var(--soft); font-size: 13px; margin-top: 22px; }
.footer-legal a { color: var(--soft); }

/* ============================================================
   STICKY WHATSAPP BAR
   ============================================================ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(10,20,27,0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-2);
  padding: 12px 16px;
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
}
.sticky-cta .txt { min-width: 0; }
.sticky-cta .txt strong { display: block; font-size: 15px; }
.sticky-cta .txt > span { color: var(--muted); font-size: 13px; }
.sticky-cta .cta-short { display: none; }
@media (max-width: 600px) {
  .sticky-cta .txt > span { display: none; }
  .sticky-cta .cta-full { display: none; }
  .sticky-cta .cta-short { display: inline; }
  .sticky-cta .btn { flex: 0 0 auto; white-space: nowrap; }
}

/* En móvil el hero ya muestra el chat; ocultamos solo el mockup del teléfono para no repetir (la info se mantiene) */
@media (max-width: 600px) { .demo-phone { display: none; } }

/* Floating WA button (desktop) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 12px 30px -6px rgba(37,211,102,0.6);
  transition: transform .2s; animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pulse { 0% { box-shadow: 0 12px 30px -6px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 12px 30px -6px rgba(37,211,102,0.6), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 12px 30px -6px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 600px) { .wa-float { display: none; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   MOTION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

  /* 1 — Entrada escalonada del hero */
  .hero-copy > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .hero-copy.in > * { opacity: 1; transform: none; }
  .hero-copy > *:nth-child(1) { transition-delay: .05s; }
  .hero-copy > *:nth-child(2) { transition-delay: .14s; }
  .hero-copy > *:nth-child(3) { transition-delay: .23s; }
  .hero-copy > *:nth-child(4) { transition-delay: .32s; }
  .hero-copy > *:nth-child(5) { transition-delay: .41s; }
  .hero-copy > *:nth-child(6) { transition-delay: .50s; }
  .hero-phone-wrap { opacity: 0; transform: translateY(12px); transition: opacity .85s var(--ease) .28s, transform .85s var(--ease) .28s; }
  .hero-phone-wrap.in { opacity: 1; transform: none; }

  /* 2 — Gradiente vivo en el titular */
  .grad-flow { background-size: 230% 100%; animation: gradShift 7s ease-in-out infinite; }
  @keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

  /* 3 — Flotación del móvil + glow que respira */
  .hero-phone-wrap .phone { animation: floatY 6s ease-in-out infinite; }
  .hero-phone-wrap::before { animation: glowBreathe 6s ease-in-out infinite; }
  @keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
  @keyframes glowBreathe { 0%, 100% { opacity: .24; } 50% { opacity: .42; } }

  /* 4 — Stats: pop escalonado */
  .stats-row .stat { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .stats-row.in .stat { opacity: 1; transform: none; }
  .stats-row.in .stat:nth-child(1) { transition-delay: .05s; }
  .stats-row.in .stat:nth-child(2) { transition-delay: .14s; }
  .stats-row.in .stat:nth-child(3) { transition-delay: .23s; }
  .stats-row.in .stat:nth-child(4) { transition-delay: .32s; }

  /* 5 — Roadmap: marcas de carretera bajando */
  .rail-dash { animation: roadMarchV 1.4s linear infinite; }
  @keyframes roadMarchV { to { background-position: 0 28px; } }

  /* 7 — Brillo periódico en los CTA grandes */
  .btn-shine { position: relative; overflow: hidden; isolation: isolate; }
  .btn-shine::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -65%;
    width: 45%; transform: skewX(-18deg);
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
    animation: shine 5.5s ease-in-out infinite;
  }
  @keyframes shine { 0%, 72% { left: -65%; } 88%, 100% { left: 135%; } }
}

/* 6 — Marquees (logos + sectores) */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trust .marquee-track { gap: 44px; align-items: center; }
.trust .marquee-track .lg { flex-shrink: 0; }
.sectors-marquee { display: grid; gap: 14px; }
.sectors-marquee .marquee-track { gap: 12px; padding: 1px 0; }
.sectors-marquee .marquee-track .sector { flex-shrink: 0; }
.sectors-marquee .marquee { animation-duration: 46s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ============================================================
   INTEGRACIONES
   ============================================================ */
.intg-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.intg {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; padding: 24px 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.intg:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); }
.intg-ic {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border-2);
  color: var(--text);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.intg:hover .intg-ic { background: var(--grad); color: #fff; border-color: transparent; }
.intg-ic svg { width: 24px; height: 24px; }
.intg-name { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; line-height: 1.2; }
.intg-more { border-style: dashed; }
.intg-more .intg-name { color: var(--muted); }
.intg-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 26px; }
@media (max-width: 900px) { .intg-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) {
  .intg-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .intg { padding: 18px 10px; }
  .intg-ic { width: 42px; height: 42px; }
}
