/* =========================================================
   SG Ventas — Aitana · landing
   Tema CLARO (18-sep-2026), mismos tokens que la presentación:
   turquesa oscuro + dorado sobre blanco. El mostaza sobre fondo
   oscuro quedó en styles.css.bak por si hay que volver.
   ========================================================= */

:root {
  /* superficies */
  --bg-0: #ffffff;
  --bg-1: #f4f8fa;
  --bg-2: #e7f2f6;
  --bg-3: #dceaf0;
  --line: #d7e3ea;
  --line-strong: #bcd0da;

  /* tinta — contraste medido sobre blanco */
  --ink-1: #16262f;
  --ink-2: #435a67;
  --ink-3: #6b8391;

  /* acentos */
  --accent: #0e6e86;
  --accent-soft: #0e6e8614;
  --accent-bright: #0a5164;
  --gold: #96701a;
  --gold-soft: #96701a14;
  --green: #2c7357;
  --hot: #b4453f;
  --bot-tint: #e7f2f6;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --font-body: 'Bricolage Grotesque', system-ui, sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg-0);
  color: var(--ink-1);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity .5s ease;
}
body.loaded { opacity: 1; }

a { color: inherit; text-decoration: none; }
em { font-style: normal; }

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(16px, 4vw, 48px);
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.brand-dot {
  width: 11px; height: 11px; border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px; letter-spacing: -.02em;
}
.brand-sub {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav-links > a { font-size: 15px; color: var(--ink-2); transition: color .15s; }
.nav-links > a:hover { color: var(--accent); }
.nav-cta {
  padding: 9px 17px; border-radius: 999px;
  background: var(--accent); color: #fff !important;
  font-weight: 600; font-size: 14.5px;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--accent-bright); transform: translateY(-1px); }

/* ── BOTONES ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-bright); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink-1); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 17px 34px; font-size: 17.5px; }
.btn-arrow { transition: transform .15s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(110px, 16vw, 168px) clamp(16px, 4vw, 48px) clamp(48px, 7vw, 84px);
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(760px 420px at 12% 0%, var(--accent-soft), transparent 70%),
    radial-gradient(620px 380px at 92% 18%, var(--gold-soft), transparent 70%);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.6vw, 68px);
  font-weight: 700; line-height: 1.03; letter-spacing: -.038em;
  margin-bottom: 22px;
}
.hero-title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); }
.hero-sub { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--ink-2); max-width: 30em; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-meta { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); flex-wrap: wrap; }
.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-num { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--ink-1); letter-spacing: -.02em; }
.meta-lbl { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); letter-spacing: .04em; }
.meta-sep { width: 1px; height: 34px; background: var(--line); }

/* ── MOCK DE CHAT ────────────────────────────────────── */
.hero-mock { display: flex; justify-content: center; }
.mock-frame {
  width: 100%; max-width: 400px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 18px 46px -22px rgba(22,38,47,.28);
  overflow: hidden;
}
.mock-head {
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px; background: var(--bg-1); border-bottom: 1px solid var(--line);
}
.mock-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.mock-name { font-weight: 600; font-size: 14.5px; }
.mock-status { font-family: var(--font-mono); font-size: 11px; color: var(--green); }
.mock-body { padding: 16px; display: flex; flex-direction: column; gap: 9px; background: var(--bg-0); }
.mock-bubble { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.mock-in { align-self: flex-start; background: var(--bg-1); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.mock-out { align-self: flex-end; background: var(--bot-tint); border: 1px solid #c9e2ea; border-bottom-right-radius: 5px; }
.mock-asset {
  align-self: flex-end; display: flex; align-items: center; gap: 9px;
  padding: 10px 13px; border-radius: 12px;
  background: #fff; border: 1px dashed var(--line-strong);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2);
}
.asset-icon { color: var(--accent); }
.asset-time { color: var(--ink-3); }
.mock-typing { align-self: flex-start; display: flex; gap: 4px; padding: 8px 4px; transition: opacity .4s; }
.mock-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite; }
.mock-typing span:nth-child(2) { animation-delay: .2s; }
.mock-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100% { opacity: .25 } 30% { opacity: 1 } }

/* ── SECCIONES ───────────────────────────────────────── */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 48px); }
.section-dark { max-width: none; background: var(--bg-1); border-block: 1px solid var(--line); }
.section-dark > * { max-width: var(--maxw); margin-inline: auto; }
.section-narrow { max-width: 900px; }
.section-head { margin-bottom: clamp(30px, 4vw, 52px); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700; line-height: 1.08; letter-spacing: -.032em;
}
.section-title em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); }
.section-sub { margin-top: 16px; color: var(--ink-2); max-width: 44em; font-size: 16.5px; }

/* ── TARJETAS ────────────────────────────────────────── */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 24px 28px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 34px -22px rgba(14,110,134,.45); }
.card-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; margin-bottom: 14px; }
.card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.22; letter-spacing: -.02em; margin-bottom: 11px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card-gold .card-num { color: var(--gold); }
.card-gold:hover { border-color: var(--gold); box-shadow: 0 14px 34px -22px rgba(150,112,26,.45); }

/* ── DOS COLUMNAS (sí/no) ────────────────────────────── */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.split-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; }
.split-card.is-on { background: var(--bg-2); border-color: var(--accent); }
.split-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.split-card.is-on .split-lbl { color: var(--accent); }
.split-card h3 { font-family: var(--font-display); font-size: 23px; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 12px; }
.split-card p { color: var(--ink-2); font-size: 15px; }

/* ── PASOS ───────────────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 4px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 15px; font-weight: 700;
}
.step-content h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.step-content p { color: var(--ink-2); font-size: 15.5px; max-width: 46em; }

/* ── RUBROS ──────────────────────────────────────────── */
.verticals { display: flex; flex-wrap: wrap; gap: 10px; }
.vert-tag {
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  font-size: 14.5px; color: var(--ink-2);
  transition: border-color .15s, color .15s;
}
.vert-tag:hover { border-color: var(--accent); color: var(--accent); }
.vert-tag.is-lead { border-color: var(--accent); background: var(--bg-2); color: var(--accent); font-weight: 600; }

/* ── PRECIO ──────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; }
.price-card.is-fix { border-color: var(--accent); background: var(--bg-2); }
.price-card.is-var { border-color: var(--gold); }
.price-lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.price-num { font-family: var(--font-display); font-size: 46px; font-weight: 700; letter-spacing: -.035em; color: var(--accent); margin: 10px 0 4px; }
.price-card.is-var .price-num { color: var(--gold); font-size: 34px; }
.price-unit { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.price-card p { color: var(--ink-2); font-size: 15px; }
.price-fine { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.price-mini { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; }
.price-mini div { display: flex; flex-direction: column; }
.price-mini b { font-family: var(--font-display); font-size: 20px; color: var(--gold); }
.price-mini span { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }

/* ── RESULTADOS ──────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.stat b { display: block; font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 14.5px; }
.stat.is-accent b { color: var(--accent); }
.stat.is-gold b { color: var(--gold); }

/* ── CTA ─────────────────────────────────────────────── */
.section-cta { max-width: none; background: var(--bg-2); border-block: 1px solid var(--line); }
.cta-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cta-title { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -.032em; margin-bottom: 18px; }
.cta-sub { color: var(--ink-2); font-size: 16.5px; margin-bottom: 30px; }
.cta-meta { margin-top: 22px; font-size: 14.5px; color: var(--ink-3); }
.cta-meta a { color: var(--accent); border-bottom: 1px solid var(--accent-soft); }
.cta-meta a:hover { border-bottom-color: var(--accent); }

/* ── FOOTER ──────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--bg-1); }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(16px, 4vw, 48px);
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .brand-dot { margin-bottom: 4px; }
.footer-desc { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; font-weight: 500; }
.footer-col a { display: block; font-size: 14.5px; color: var(--ink-2); margin-bottom: 9px; }
.footer-col a:hover { color: var(--accent); }
.footer-fine { font-size: 13px; color: var(--ink-3); line-height: 1.7; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; padding-top: 104px; }
  .hero-mock { order: 2; margin-top: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .step-num { width: 38px; height: 38px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr; }
  .meta-sep { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── AITANA CRM · v2 (oct 2026): plataforma y seguridad ── */
.brand-crm { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--accent); vertical-align: 2px; margin-left: 2px; }
.mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mod {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 24px 26px; min-width: 0;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.mod:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 34px -22px rgba(14,110,134,.45); }
.mod-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.mod h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin: 8px 0 14px; text-wrap: balance; }
.mod ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.mod li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.mod li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent-soft); border: 1.5px solid var(--accent); }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trust-item { border-top: 2px solid var(--accent); padding-top: 18px; }
.trust-item h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.trust-item p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 940px) {
  .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .mods, .trust { grid-template-columns: 1fr; }
}
