/* Bitacor Pro — landing comercial (Apple clarity + IBM density) */
:root {
  --bg: #f5f7fb;
  --bg-soft: #e8eef8;
  --bg-dark: #0b1220;
  --bg-cta: #0e1a2e;
  --text: #0f172a;
  --text-dim: #475569;
  --text-on-dark: #f1f5f9;
  --text-dim-dark: #94a3b8;
  --line: rgba(15, 23, 42, 0.1);
  --accent: #1e4fd6;
  --accent-soft: rgba(30, 79, 214, 0.12);
  --cyan: #0ea5b8;
  --wa: #25d366;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 40px);
  --device: #1c1c1e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", "Heebo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.rtl body { font-family: "Heebo", "Outfit", system-ui, sans-serif; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.narrow { max-width: 760px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 251, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  color: var(--text);
}
.brand-mark {
  width: 28px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  /* Marca discreta estilo Apple: sin sombra ni glow */
  filter: none;
}
.brand-text {
  line-height: 1;
}
.brand-text > span {
  font-weight: 300;
  opacity: 0.55;
}
.brand--footer {
  font-size: 1.05rem;
}
.brand--footer .brand-mark {
  width: 24px;
  height: 26px;
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}
.nav-links > a:not(.btn) {
  font-size: 0.86rem;
  color: var(--text-dim);
  font-weight: 500;
}
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--text);
}

.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.06);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.lang-switch button.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost-nav {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
  min-height: 36px;
  font-size: 0.82rem;
  padding: 0 12px;
}
.btn-wa {
  background: color-mix(in srgb, var(--wa) 16%, #fff);
  border-color: color-mix(in srgb, var(--wa) 40%, transparent);
  color: #0b3d22;
}
.btn-light {
  background: #fff;
  color: var(--bg-dark);
}

/* Hero */
.hero {
  padding: clamp(36px, 6vw, 64px) 0 20px;
}
.hero-inner { max-width: 720px; }
.eyebrow {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.light { color: var(--cyan); }
.hero h1 {
  margin: 12px 0 14px;
  font-size: clamp(2.2rem, 5.2vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.lead {
  font-size: 1.12rem;
  color: var(--text-dim);
  max-width: 38rem;
}
.audience {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 40rem;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.product-stage {
  position: relative;
  margin-top: 36px;
  padding: 0 var(--pad);
}
.hero-product { max-width: calc(var(--max) + 80px); margin-inline: auto; }
.product-glow {
  position: absolute;
  inset: 10% 15% auto;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(30, 79, 214, 0.22), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}
.product-glow.soft { opacity: 0.7; }

.device {
  position: relative;
  border-radius: 16px;
  background: var(--device);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.device-hero { transform: perspective(1200px) rotateX(2deg); }
.device-tilt { transform: rotate(-1.2deg); }
.device-tilt-alt { transform: rotate(1.2deg); }
.device-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #2a2a2e;
  color: #a1a1a6;
  font-size: 0.72rem;
}
.device-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 14px 0 0 #febc2e, 28px 0 0 #28c840;
}
.device-bar span + span { opacity: 0; }
.device-bar em {
  flex: 1;
  text-align: center;
  font-style: normal;
  margin-inline-end: 42px;
}
.device-screen {
  position: relative;
  overflow: hidden;
  background: #0a0f1c;
  line-height: 0;
}
.device-screen img { width: 100%; height: auto; display: block; }
.device-screen.protect img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: contrast(0.96) saturate(0.92);
}
.device-screen.protect::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(10, 15, 28, 0.35) 100%),
    repeating-linear-gradient(-18deg, transparent 0 46px, rgba(255,255,255,0.03) 46px 47px);
}
.shot-mark {
  pointer-events: none;
  position: absolute;
  inset-inline-end: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
}

/* Sections */
.block { padding: clamp(64px, 9vw, 110px) 0; }
.block-soft { background: var(--bg-soft); }
.block-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.block-dark .section-lead,
.block-dark .split-copy > p { color: var(--text-dim-dark); }
.block-cta {
  background: linear-gradient(180deg, var(--bg-cta), var(--bg-dark));
  color: var(--text-on-dark);
}
.block h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-lead {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 40rem;
}

.strip { padding: 22px 0; border-block: 1px solid var(--line); }
.trust-inner p {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.98rem;
  max-width: 52rem;
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.split-rev { direction: rtl; }
.split-rev > * { direction: ltr; }
.split .product-stage { padding: 0; margin: 0; }
.split-copy { max-width: 460px; }
.split-copy > p { color: var(--text-dim); margin-bottom: 18px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.two-col p { color: var(--text-dim); margin-bottom: 14px; }

.ticks {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
}
.ticks li {
  position: relative;
  padding-inline-start: 1.35rem;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.ticks.light li { color: var(--text-dim-dark); }
.ticks.light li::before { background: var(--cyan); }
.examples li::before { background: var(--wa); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.grid-3 li,
.problems li {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-dim);
}
.block-soft .grid-3 li { background: rgba(255,255,255,0.7); }
.solve {
  margin-top: 18px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.sol-card {
  display: block;
  padding: 18px 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
  transition: border-color .15s, transform .15s;
}
.sol-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  transform: translateY(-2px);
}
.sol-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.sol-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.use-card {
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.use-card h3 { font-size: 1rem; margin-bottom: 8px; }
.use-card p { font-size: 0.9rem; color: var(--text-dim); }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.pill-row li {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 24px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
}
.steps li::before {
  content: counter(step);
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.int-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}
.int-cols h3 { font-size: 1rem; margin-bottom: 10px; }
.int-cols p { color: var(--text-dim); }

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p {
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Assistant / phone */
.assistant {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.assistant-copy > p { color: var(--text-dim-dark); margin-bottom: 8px; }
.phone-device {
  width: min(320px, 100%);
  margin-inline: auto;
  border-radius: 28px;
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px 12px 18px;
  box-shadow: var(--shadow);
}
.phone-notch {
  width: 96px;
  height: 18px;
  margin: 0 auto 10px;
  border-radius: 0 0 12px 12px;
  background: #0b1220;
}
.phone-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.78rem;
  margin-bottom: 12px;
  padding: 0 6px;
}
.phone-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}
.phone-status b { margin-inline-start: auto; font-weight: 500; color: #86efac; }
.phone-thread { display: grid; gap: 8px; }
.bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.35;
}
.bubble.in {
  background: #1f2937;
  color: #e2e8f0;
  border-end-start-radius: 4px;
}
.bubble.out {
  margin-inline-start: auto;
  background: #1e4fd6;
  color: #fff;
  border-end-end-radius: 4px;
}

/* Contact */
.contact { max-width: 720px; }
.contact h2 { color: inherit; }
.contact > p { color: var(--text-dim-dark); margin-bottom: 18px; }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 10px 12px;
  font: inherit;
}
.cta-form textarea { grid-column: 1 / -1; min-height: 96px; resize: vertical; }
.cta-form select { grid-column: 1 / -1; }
.cta-form input::placeholder,
.cta-form textarea::placeholder { color: #94a3b8; }
.cta-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.form-msg { margin-top: 12px; font-size: 0.9rem; min-height: 1.2em; }

/* Footer */
.footer {
  background: #070d18;
  color: #cbd5e1;
  padding: 40px 0 28px;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  gap: 18px;
}
.footer-tag { margin-top: 6px; color: #64748b; }
.footer-company {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #94a3b8;
  max-width: 280px;
  line-height: 1.4;
}
.mid-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.mid-cta p {
  font-size: 0.92rem;
  color: var(--text-dim);
  max-width: 420px;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer nav a:hover { color: #fff; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #64748b;
}
.copy { color: #64748b; }
.legal-blocks {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.legal-blocks h3 {
  font-size: 0.82rem;
  margin-bottom: 6px;
  color: #e2e8f0;
}
.legal-blocks p {
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.55;
  max-width: 42rem;
}

.wa-float {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 18px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.wa-float svg { width: 26px; height: 26px; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .split, .split-rev, .two-col, .assistant, .int-cols, .legal-blocks {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .device-hero, .device-tilt, .device-tilt-alt { transform: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 56px;
    flex-direction: column;
    align-items: stretch;
    padding: 16px var(--pad) 20px;
    background: rgba(245, 247, 251, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .cta-form { grid-template-columns: 1fr; }
  .cta-form select { grid-column: auto; }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
