/* ──────────────────────────────────────────────────────────────────────
   RVJ Automation — site styles
   Modern SaaS · Cyan/Navy · Bilingüe (PR)
   ────────────────────────────────────────────────────────────────────── */

:root {
  /* Brand */
  --ink:        #0a1628;
  --ink-2:      #142340;
  --ink-3:      #1e2e4d;
  --cyan:       #00b4ff;
  --cyan-2:     #0a6bd6;
  --cyan-3:     #0094d6;
  --cyan-soft:  #e6f7ff;
  --cyan-glow:  rgba(0, 180, 255, 0.18);

  /* Neutrals */
  --text:       #0a1628;
  --text-2:     #475569;
  --text-3:     #64748b;
  --text-4:     #94a3b8;
  --bg:         #ffffff;
  --bg-2:       #f7f9fc;
  --bg-3:       #eef2f8;
  --border:     #e6ebf2;
  --border-2:   #d3dbe6;

  /* WhatsApp / Messenger / IG channel colors */
  --wa:    #25d366;
  --ms:    #0084ff;
  --ig:    linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 80%, #515bd4 100%);

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  /* Spacing rhythm */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(10, 22, 40, 0.04), 0 1px 1px rgba(10, 22, 40, 0.06);
  --sh-2: 0 4px 12px rgba(10, 22, 40, 0.06), 0 1px 3px rgba(10, 22, 40, 0.04);
  --sh-3: 0 12px 32px -8px rgba(10, 22, 40, 0.18), 0 4px 8px -2px rgba(10, 22, 40, 0.06);
  --sh-cyan: 0 8px 24px -6px rgba(0, 148, 214, 0.45), 0 4px 8px -2px rgba(0, 148, 214, 0.2);
  --sh-inset: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* Container */
  --max-w: 1180px;
  --pad-x: clamp(20px, 4vw, 40px);
}

/* ── Reset / base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Type scale ──────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2.5vw, 28px); letter-spacing: -0.02em; }
h4 { font-size: 18px; }

p { margin: 0; color: var(--text-2); text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 56ch; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-2);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 180, 255, 0.18);
}
.eyebrow.muted { color: var(--text-3); }
.eyebrow.muted::before { background: var(--text-3); box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.18); }

/* Display gradient text */
.gradient-text {
  background: linear-gradient(90deg, var(--cyan-2) 0%, var(--cyan) 60%, var(--cyan-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Layout helpers ──────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.row { display: flex; gap: 16px; }
.row.between { justify-content: space-between; }
.row.center { align-items: center; }
.row.wrap { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 16px; }
.spacer { flex: 1; }

section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
section.tight { padding-block: clamp(48px, 6vw, 80px); }
section.flush-top { padding-top: 0; }

/* ── Header / Nav ────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
}
.nav .brand img { height: 36px; width: 36px; flex-shrink: 0; }
.nav .brand > span { display: flex; flex-direction: column; line-height: 1.05; }
.nav .brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-2);
  margin-top: -2px;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--bg-3); color: var(--ink); }
.nav-links a.active { color: var(--cyan-2); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn.ghost { display: none; }
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 12px var(--pad-x);
    border-bottom: 1px solid var(--border);
    gap: 0;
  }
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--r-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow {
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

.btn.primary {
  background: var(--ink);
  color: white;
  box-shadow: var(--sh-2);
}
.btn.primary:hover { background: var(--ink-2); box-shadow: var(--sh-3); }

.btn.cyan {
  background: linear-gradient(180deg, var(--cyan) 0%, var(--cyan-3) 100%);
  color: var(--ink);
  box-shadow: var(--sh-cyan);
}
.btn.cyan:hover { filter: brightness(1.05); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-2);
}
.btn.ghost:hover { background: var(--bg-2); border-color: var(--ink); }

.btn.dark-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.2);
}
.btn.dark-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }

.btn.lg { padding: 16px 28px; font-size: 16px; }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn.full { width: 100%; }

/* Channel-styled buttons */
.btn.wa { background: var(--wa); color: white; }
.btn.wa:hover { background: #1eb958; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(64px, 9vw, 120px);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: -10%;
  right: -10%;
  height: 700px;
  background:
    radial-gradient(60% 60% at 20% 30%, var(--cyan-glow) 0%, transparent 60%),
    radial-gradient(50% 50% at 80% 60%, rgba(10, 107, 214, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.hero-grid .col { gap: 26px; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
}
.hero h1 i {
  font-style: normal;
  display: inline-block;
  position: relative;
  color: var(--cyan-2);
}
.hero h1 i::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.04em;
  height: 0.18em;
  background: var(--cyan);
  opacity: 0.22;
  z-index: -1;
  border-radius: 4px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-2);
  align-items: center;
}
.hero-meta .dot {
  width: 4px; height: 4px;
  background: var(--text-4);
  border-radius: 50%;
}
.hero-meta .checks {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text);
}
.hero-meta .checks::before {
  content: "✓";
  color: var(--cyan-2);
  font-weight: 800;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ── Channel chips ───────────────────────────────────────────────────── */
.channel-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
  box-shadow: var(--sh-1);
}
.channel-row .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  overflow: hidden;
}
.channel-stack {
  display: inline-flex;
}
.channel-stack .ic {
  margin-left: -8px;
  border: 2px solid white;
}
.channel-stack .ic:first-child { margin-left: 0; }
.ic.wa { background: transparent; overflow: hidden; }
.ic.ms { background: transparent; overflow: hidden; }
.ic.ig { background: transparent; overflow: hidden; }
.ic svg { width: 14px; height: 14px; }
.ic img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Chat mockup ─────────────────────────────────────────────────────── */
.chat-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.chat-wrap::before {
  content: "";
  position: absolute;
  inset: -10px -30px;
  background: radial-gradient(60% 60% at 50% 50%, var(--cyan-glow) 0%, transparent 70%);
  z-index: -1;
}

.chat {
  width: 100%;
  max-width: 380px;
  background: white;
  border-radius: 28px;
  box-shadow:
    0 30px 60px -20px rgba(10, 22, 40, 0.25),
    0 12px 24px -8px rgba(10, 22, 40, 0.1),
    0 0 0 1px var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}
.chat-header {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: white;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-header .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  font-size: 15px;
  flex-shrink: 0;
}
.chat-header .info {
  flex: 1;
  min-width: 0;
}
.chat-header .info .name {
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chat-header .info .name::after {
  content: "";
  display: inline-block;
  width: 16px; height: 16px;
  background: var(--cyan);
  border-radius: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a1628'><path d='M12 2L4 6v6c0 5.5 3.8 10.7 8 12 4.2-1.3 8-6.5 8-12V6l-8-4zm-1 14l-4-4 1.4-1.4L11 13.2l4.6-4.6L17 10l-6 6z'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.chat-header .info .status {
  font-size: 11px;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-header .info .status::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.25);
}
.chat-header .channel {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-body {
  padding: 16px 14px 12px;
  background: linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 360px;
  position: relative;
}
.bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
  animation: bubble-in 0.4s ease backwards;
}
.bubble.them {
  align-self: flex-start;
  background: white;
  color: var(--ink);
  border-bottom-left-radius: 4px;
  box-shadow: var(--sh-1);
}
.bubble.us {
  align-self: flex-end;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--cyan-3) 100%);
  color: var(--ink);
  border-bottom-right-radius: 4px;
  font-weight: 600;
}
.bubble .time {
  display: block;
  font-size: 10px;
  font-weight: 500;
  opacity: 0.6;
  margin-top: 3px;
}
.bubble .menu-card {
  margin-top: 8px;
  padding: 10px 12px;
  background: #0a1628;
  border-radius: 10px;
  font-size: 12px;
  color: #fff;
}
.bubble .menu-card .menu-card-title {
  font-weight: 700;
  font-size: 13px;
  color: #c9a84c;
  margin-bottom: 8px;
}
.bubble .menu-card .menu-card-section {
  margin-bottom: 7px;
}
.bubble .menu-card .menu-card-cat {
  font-size: 10px;
  font-weight: 700;
  color: #c9a84c;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 3px;
}
.bubble .menu-card .menu-card-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.85);
  padding: 2px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bubble .menu-card .menu-card-row:last-child { border-bottom: none; }
.bubble .menu-card .menu-card-row span:last-child { color: #c9a84c; font-weight: 700; flex-shrink: 0; }

/* Typing indicator */
.typing {
  align-self: flex-start;
  background: white;
  padding: 10px 14px;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  box-shadow: var(--sh-1);
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.typing span {
  width: 7px; height: 7px;
  background: var(--text-4);
  border-radius: 50%;
  animation: typing-bounce 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.30s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-input {
  padding: 10px 14px;
  background: white;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-3);
}
.chat-input .field {
  flex: 1;
  background: var(--bg-3);
  border-radius: var(--r-full);
  padding: 8px 14px;
}

/* Channel switcher above chat */
.chat-channels {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: white;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  box-shadow: var(--sh-1);
  margin-bottom: 14px;
}
.chat-channels button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: none;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.chat-channels button:hover { background: var(--bg-2); }
.chat-channels button.active { background: var(--ink); color: white; }
.chat-channels button .ic { width: 18px; height: 18px; }

/* Floating speed-pill on the hero chat */
.speed-pill {
  position: absolute;
  bottom: -8px;
  left: -28px;
  background: white;
  border-radius: var(--r-full);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--sh-3);
  border: 1px solid var(--border);
}
.speed-pill .bolt {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-weight: 800;
}

/* ── Stats / logo strip ──────────────────────────────────────────────── */
.strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 28px;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.strip .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.strip .logos {
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
}
.strip .logo-ph {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-4);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.strip .logo-ph .mk {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: var(--bg-3);
  border: 1px solid var(--border);
}

/* ── Section heading helper ──────────────────────────────────────────── */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: 56px;
  max-width: 680px;
  margin-inline: auto;
}
.section-head.left {
  align-items: flex-start;
  text-align: left;
  margin-left: 0;
  margin-inline: 0;
}

/* ── Cómo funciona: steps ────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--border-2) 20%, var(--border-2) 80%, transparent 100%);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.step .num {
  width: 72px; height: 72px;
  background: white;
  border-radius: 50%;
  border: 1px solid var(--border);
  box-shadow: var(--sh-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  position: relative;
}
.step .num::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed var(--border-2);
}
.step h3 { font-size: 22px; }
.step p { font-size: 15px; }

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}

/* ── Feature grid ────────────────────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: var(--border-2);
  box-shadow: var(--sh-2);
}
.feature .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cyan-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-2);
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; }
.feature p { font-size: 15px; }

@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* ── Dark section ────────────────────────────────────────────────────── */
.dark {
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: white; }
.dark p { color: rgba(255,255,255,0.7); }
.dark .eyebrow { color: var(--cyan); }
.dark .eyebrow::before { background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 180, 255, 0.3); }
.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 15% 20%, rgba(0, 180, 255, 0.18) 0%, transparent 60%),
    radial-gradient(40% 40% at 85% 80%, rgba(10, 107, 214, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.dark .container { position: relative; }
.dark .strip { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }

/* Live demo (dark with chat) */
.live-demo-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.live-demo-grid > * { min-width: 0; }
.live-demo-grid .col { gap: 24px; }
.live-demo-grid h2 { font-size: clamp(32px, 4vw, 50px); }
.live-demo-grid .chat-wrap {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 0;
}
.live-demo-grid .chat-channels {
  margin-bottom: 0;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.live-demo-grid .chat {
  width: min(100%, 380px);
  max-width: calc(100vw - (var(--pad-x) * 2));
}
.demo-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.demo-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  color: rgba(255,255,255,0.85);
}
.demo-points li .tick {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(0, 180, 255, 0.18);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 13px;
}
.demo-points li b { color: white; font-weight: 700; display: block; margin-bottom: 2px; }
@media (max-width: 860px) {
  .live-demo-grid { grid-template-columns: 1fr; }
  .live-demo-grid .row { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .live-demo-grid .btn.lg {
    width: 100%;
  }
  .live-demo-grid .chat-channels {
    width: 100%;
    border-radius: var(--r-lg);
  }
  .live-demo-grid .chat-channels button {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
  }
}

/* ── Pricing ─────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.plan {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.plan h3 {
  font-size: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text);
}
.plan .plan-desc { font-size: 14px; color: var(--text-2); min-height: 38px; }
.plan .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-block: 4px;
}
.plan .price .n {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.plan .price .per { font-size: 14px; color: var(--text-3); font-weight: 600; }
.plan .setup {
  font-size: 13px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.plan .setup b { color: var(--text); font-weight: 700; }
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}
.plan ul li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--cyan-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6bd6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.plan.featured {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: white;
  border-color: transparent;
  box-shadow: var(--sh-3);
  transform: translateY(-6px);
}
.plan.featured:hover { transform: translateY(-8px); }
.plan.featured h3, .plan.featured .price .n { color: white; }
.plan.featured .plan-desc { color: rgba(255,255,255,0.7); }
.plan.featured .price .per { color: rgba(255,255,255,0.6); }
.plan.featured .setup { color: rgba(255,255,255,0.7); }
.plan.featured .setup b { color: white; }
.plan.featured ul li { color: rgba(255,255,255,0.92); }
.plan.featured ul li::before {
  background: rgba(0,180,255,0.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
.plan .tag {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cyan);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: var(--r-full);
}
.plan .btn { margin-top: 6px; }

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-2px); }
}

/* Add-on row */
.addon {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px dashed var(--border-2);
  border-radius: var(--r-lg);
  flex-wrap: wrap;
}
.addon .info { display: flex; align-items: center; gap: 14px; }
.addon .ic { width: 36px; height: 36px; }
.addon b { font-size: 16px; font-weight: 700; }
.addon p { font-size: 14px; margin-top: 2px; }
.addon .price-mini {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
}
.addon .price-mini b { font-size: 22px; color: var(--ink); }
.addon .price-mini span { font-size: 13px; color: var(--text-3); font-weight: 600; }

/* ── Assurance section ───────────────────────────────────────────────── */
.assurance-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.assurance-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.assurance-copy h2 { max-width: 12ch; }
.assurance-copy p {
  font-size: 17px;
  max-width: 48ch;
}
.assurance-list {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.assurance-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 22px 24px;
}
.assurance-item + .assurance-item { border-top: 1px solid var(--border); }
.assurance-item > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--cyan-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
}
.assurance-item b {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 4px;
}
.assurance-item p { font-size: 14.5px; }
@media (max-width: 860px) {
  .assurance-grid { grid-template-columns: 1fr; }
  .assurance-copy h2 { max-width: none; }
}
@media (max-width: 520px) {
  .assurance-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq details[open] { border-color: var(--border-2); box-shadow: var(--sh-1); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  width: 28px; height: 28px;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-2);
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease;
}
.faq details[open] summary::after {
  content: "−";
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.faq details p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-2);
}

/* ── CTA strip ───────────────────────────────────────────────────────── */
.cta-strip {
  background: var(--ink);
  color: white;
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 80% 30%, rgba(0,180,255,0.25) 0%, transparent 60%),
    radial-gradient(40% 40% at 10% 80%, rgba(10,107,214,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip h2 { color: white; max-width: 18ch; }
.cta-strip p { color: rgba(255,255,255,0.7); font-size: 16px; margin-top: 10px; }
.cta-strip .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding-block: 56px 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.foot-grid h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-grid a {
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
}
.foot-grid a:hover { color: var(--ink); }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand img { width: 44px; height: 44px; }
.foot-brand b { font-family: var(--font-display); font-size: 18px; color: var(--ink); font-weight: 800; }
.foot-brand p { font-size: 14px; max-width: 28ch; }
.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-3);
}
.foot-pr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 4px 10px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Page hero (smaller, for non-home pages) ─────────────────────────── */
.page-hero {
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(28px, 4vw, 52px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  top: -200px;
  background: radial-gradient(50% 40% at 50% 30%, var(--cyan-glow) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); }
.page-hero .lead { margin-inline: auto; margin-top: 18px; }

/* ── Service cards (Servicios page) ──────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.service-card .head { display: flex; align-items: center; gap: 12px; }
.service-card .ic { width: 44px; height: 44px; border-radius: 12px; }
.service-card h3 { font-size: 22px; }
.service-card .desc { font-size: 14.5px; color: var(--text-2); }
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.service-card ul li {
  font-size: 14px;
  display: flex;
  gap: 8px;
}
.service-card ul li::before { content: "✓"; color: var(--cyan-2); font-weight: 800; }
.service-card .pricing-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: auto;
  padding-top: 8px;
}
.service-card .pricing-line .amt { font-size: 28px; color: var(--ink); }
.service-card .pricing-line .amt small { font-size: 13px; color: var(--text-3); font-weight: 600; font-family: var(--font-body); }
.service-card .pricing-line .setup { font-size: 13px; color: var(--text-3); font-weight: 600; font-family: var(--font-body); }
@media (max-width: 860px) { .service-grid { grid-template-columns: 1fr; } }

/* ── "Qué hace / no hace" lists ──────────────────────────────────────── */
.does-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.does-list {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
}
.does-list.no { background: var(--bg-2); }
.does-list h3 { font-size: 22px; margin-bottom: 16px; }
.does-list ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.does-list ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); }
.does-list.yes ul li::before { content: "✓"; color: var(--cyan-2); font-weight: 800; font-size: 18px; flex-shrink: 0; }
.does-list.no ul li::before { content: "×"; color: var(--text-3); font-weight: 800; font-size: 18px; flex-shrink: 0; }
@media (max-width: 720px) { .does-grid { grid-template-columns: 1fr; } }

/* ── Contact page ────────────────────────────────────────────────────── */
.contact-grid,
.coverage-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.coverage-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.coverage-copy { max-width: 560px; }
.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.coverage-tags span {
  background: white;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--sh-1);
}
.coverage-map-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.map-topbar,
.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}
.map-topbar {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, white 0%, var(--bg-2) 100%);
}
.map-topbar span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.map-topbar b,
.map-caption b {
  font-size: 12px;
  color: var(--cyan-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.map-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 260px;
  overflow: hidden;
  background: var(--bg-3);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(10,22,40,0.06);
}
.map-caption {
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form .field { display: flex; flex-direction: column; gap: 6px; }
.form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.form input, .form textarea, .form select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  background: white;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--cyan-2);
  box-shadow: 0 0 0 4px rgba(0,180,255,0.15);
}
.form textarea { min-height: 120px; resize: vertical; }
.form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .checks { display: flex; gap: 8px; flex-wrap: wrap; }
.form .chk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.form .chk:hover { border-color: var(--border-2); }
.form .chk input { display: none; }
.form .chk.checked { border-color: var(--ink); background: var(--ink); color: white; }
.form .chk .ic { width: 16px; height: 16px; border-radius: 4px; }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
}
.contact-card.dark {
  background: var(--ink);
  color: white;
  border-color: transparent;
}
.contact-card .lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.contact-card h3 { font-size: 22px; color: inherit; margin: 6px 0 12px; }
.contact-card.dark p { color: rgba(255,255,255,0.7); }
.contact-card .meta-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.contact-card.dark .meta-list { color: rgba(255,255,255,0.85); }
.contact-card .meta-list li { display: flex; gap: 10px; align-items: center; }
.contact-card .meta-list .ico {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--cyan-soft);
  color: var(--cyan-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card.dark .meta-list .ico { background: rgba(0,180,255,0.18); color: var(--cyan); }
.trial-card {
  background: var(--cyan-soft);
  border-color: rgba(0, 180, 255, 0.35);
}
.trial-card .lbl { color: var(--cyan-2); }
.trial-card h3 {
  color: var(--ink);
  max-width: 14ch;
}
.trial-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trial-card li {
  display: flex;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.trial-card li::before {
  content: "✓";
  color: var(--cyan-2);
  font-weight: 900;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .contact-grid,
  .coverage-grid { grid-template-columns: 1fr; }
  .form .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .map-topbar,
  .map-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .map-frame {
    aspect-ratio: 4 / 3;
    min-height: 230px;
  }
  .map-pin { font-size: 11px; }
}

/* ── Legal pages ─────────────────────────────────────────────────────── */
.legal-content {
  max-width: 820px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--sh-1);
}
.legal-content .updated {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 28px;
}
.legal-content h2 {
  font-size: clamp(22px, 2vw, 28px);
  margin-top: 30px;
  margin-bottom: 10px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p + p { margin-top: 12px; }
.legal-content a {
  color: var(--cyan-2);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ── Utility ─────────────────────────────────────────────────────────── */
.bg-soft { background: var(--bg-2); }
.bg-tint { background: linear-gradient(180deg, var(--bg-2) 0%, white 100%); }
.text-cyan { color: var(--cyan-2); }
.mt-0 { margin-top: 0 !important; }

/* ── Reveal-on-scroll ────────────────────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bubble { animation: none; }
}
