/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ─── TOKENS ─── */
:root {
  --blue:        #2f6ef5;
  --blue-dark:   #1a52d0;
  --blue-dim:    #e8effe;
  --blue-mid:    #dce8ff;
  --yellow:      #f5c518;
  --yellow-dim:  #fef9e3;
  --text:        #0f172a;
  --text-2:      #334155;
  --muted:       #64748b;
  --border:      #e2e8f0;
  --bg:          #ffffff;
  --surface:     #f8fafc;
  --green:       #16a34a;
  --wa:          #25d366;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─── */
.label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.04em;
  color: var(--text);
}
h2 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.03em;
}
h3 { font-size: 1rem; font-weight: 700; }

.accent   { color: var(--blue); }
.muted    { color: var(--muted); }
.lead     { font-size: 1.1rem; color: var(--text-2); line-height: 1.7; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.28);
}
.btn-wa:hover { background: #1db954; box-shadow: 0 6px 24px rgba(37,211,102,.38); }

.btn-outline {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 10px; }

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo { width: 34px; height: 34px; }
.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  color: var(--text);
}
.brand-name em { font-style: normal; color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
}

/* ─── HERO ─── */
.hero {
  padding: 72px 0 64px;
  background: linear-gradient(170deg, var(--blue-dim) 0%, #fff 55%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,110,245,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px 5px 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(22,163,74,.15);
}

.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; max-width: 480px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-cta-note {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-cta-note::before { content: '✓'; color: var(--green); font-weight: 700; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.proof-stat { text-align: left; }
.proof-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.proof-label { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.proof-divider {
  width: 1px; height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── HERO VISUAL: AUTOMATIZATION MOCK ─── */
.hero-visual { position: relative; }

.mock-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mock-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot-r { background: #ff5f57; }
.mock-dot-y { background: #febc2e; }
.mock-dot-g { background: #28c840; }
.mock-topbar-title {
  margin-left: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
}

.mock-body { padding: 20px; }

/* Chat */
.chat-window {
  background: #ece5dd;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bubble {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: .82rem;
  line-height: 1.5;
  position: relative;
}
.bubble-in {
  background: #fff;
  align-self: flex-start;
  border-radius: 2px 10px 10px 10px;
}
.bubble-out {
  background: #d9fdd3;
  align-self: flex-end;
  border-radius: 10px 10px 2px 10px;
}
.bubble-time {
  font-size: .65rem;
  color: var(--muted);
  text-align: right;
  margin-top: 3px;
}
.bubble-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .7rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 3px;
}

/* Stat pills overlay */
.mock-pill {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.pill-1 { top: -16px; right: 24px; }
.pill-2 { bottom: 24px; left: -24px; }
.pill-icon { font-size: 1rem; }

/* ─── SECTION BASE ─── */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-head { margin-bottom: 52px; }
.section-head .label { margin-bottom: 10px; }
.section-head h2 { margin-bottom: 12px; }
.section-head .lead { max-width: 560px; }

.bg-surface { background: var(--surface); }
.bg-dark { background: var(--text); color: #fff; }
.bg-blue { background: var(--blue); color: #fff; }

/* ─── PAIN ─── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  background: #fff9f9;
}
.pain-icon-wrap {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: #fee2e2;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.pain-item h3 { font-size: .92rem; margin-bottom: 3px; }
.pain-item p { font-size: .83rem; color: var(--muted); line-height: 1.5; }

/* ─── SOLUTION ─── */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.sol-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: box-shadow .2s, transform .2s;
}
.sol-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.sol-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.sol-card h3 { margin-bottom: 6px; font-size: .97rem; }
.sol-card p { font-size: .85rem; color: var(--muted); line-height: 1.55; }

/* ─── PROCESS ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 52px;
}
@media (max-width: 640px) {
  .process-steps { grid-template-columns: 1fr; gap: 0; }
}
.process-step {
  padding: 32px 28px;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 46px; right: 0;
  width: 1px; height: calc(100% - 46px);
  background: var(--border);
}
@media (max-width: 640px) {
  .process-step:not(:last-child)::after { display: none; }
  .process-step { padding: 24px 0; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem;
  margin-bottom: 18px;
}
.process-step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.process-step p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ─── BENEFITS ─── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.benefit-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  margin-top: 2px;
}
.benefit h3 { font-size: .95rem; color: #fff; margin-bottom: 4px; }
.benefit p { font-size: .83rem; color: rgba(255,255,255,.62); line-height: 1.5; }

/* ─── CTA BLOCK ─── */
.cta-block {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
@media (max-width: 600px) { .cta-block { padding: 40px 24px; } }
.cta-block h2 { color: #fff; margin-bottom: 14px; }
.cta-block p { color: rgba(255,255,255,.75); font-size: 1rem; max-width: 480px; margin: 0 auto 32px; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
  background: var(--surface);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: .85rem; color: var(--muted); max-width: 260px; line-height: 1.6; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .88rem;
  color: var(--muted);
  text-decoration: none;
  display: flex; align-items: center; gap: 6px;
  transition: color .15s;
}
.footer-links a:hover { color: var(--blue); }

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: .8rem; color: var(--muted); }

/* ─── MOBILE STICKY BAR ─── */
.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 998;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
.mobile-sticky a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--wa);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
@media (max-width: 680px) {
  .mobile-sticky { display: block; }
  .wa-float { display: none; }
  body { padding-bottom: 80px; }
}

/* ─── WA FLOAT ─── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ─── MOBILE RESPONSIVE ─── */
@media (max-width: 680px) {
  .hero { padding: 44px 0 36px; }
  .hero-inner { gap: 36px; }
  h1 { font-size: 2rem; letter-spacing: -.03em; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }
  .mock-pill { display: none; }
  .hero-proof { gap: 16px; margin-top: 28px; padding-top: 24px; }
  .proof-num { font-size: 1.3rem; }
  .proof-divider { height: 28px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .cta-block { padding: 36px 20px; }
  .process-step { padding: 20px 0; }
}

/* ─── UTILITY ─── */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-auto { margin-top: auto; }
.gap-12 { gap: 12px; }

/* Divider accent */
.divider-accent {
  width: 40px; height: 3px;
  background: var(--blue);
  border-radius: 99px;
  margin: 12px 0 0;
}

/* Highlight pill */
.highlight {
  display: inline-block;
  background: var(--yellow-dim);
  color: #92400e;
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 700;
}

/* ─── FADE-IN ─── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ─── STORYSELL WIDGET OVERRIDES ─── */
.ok-scene { padding: 8px 4px; }
.ok-media {
  max-height: 72vh !important;
  max-width: 420px !important;
  margin: 0 auto 18px !important;
}
.ok-title { margin-top: 8px; font-size: 1.25rem; line-height: 1.3; }
.ok-text  { line-height: 1.6; }
@media (max-width: 680px) {
  .ok-media { max-height: 60vh !important; max-width: 100% !important; }
}

/* ─── NAV ACTIVE / SECONDARY ─── */
.nav-links a[aria-current="page"] { color: var(--blue); font-weight: 600; }

/* ─── AREAS (procesos por área) ─── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}
.area-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.area-card h3 { font-size: 1rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.area-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.area-card li { font-size: .86rem; color: var(--text-2); padding-left: 18px; position: relative; line-height: 1.5; }
.area-card li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* ─── TRUST ─── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.trust-item {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
}
.trust-item h3 { font-size: .95rem; margin-bottom: 6px; }
.trust-item p { font-size: .85rem; color: var(--muted); line-height: 1.55; }

/* ─── FAQ ─── */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 20px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 700;
  font-size: .97rem;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--blue);
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding: 0 0 18px; font-size: .92rem; color: var(--text-2); line-height: 1.65; }

/* ─── CONTACT FORM ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-aside h2 { margin-bottom: 14px; }
.contact-aside .lead { margin-bottom: 24px; }
.contact-points { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.contact-points li { font-size: .92rem; color: var(--text-2); display: flex; gap: 8px; }
.contact-points li::before { content: '✓'; color: var(--green); font-weight: 700; }
.lead-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .lead-form { grid-template-columns: 1fr; padding: 24px 18px; } }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus { outline: none; border-color: var(--blue); background: #fff; }
.lead-form textarea { min-height: 110px; resize: vertical; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 4px 16px rgba(47,110,245,.28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-note { font-size: .78rem; color: var(--muted); }
.form-status { font-size: .9rem; font-weight: 600; padding: 12px 14px; border-radius: var(--radius-sm); display: none; }
.form-status.ok { display: block; background: #dcfce7; color: #166534; }
.form-status.err { display: block; background: #fee2e2; color: #991b1b; }

/* ─── ARTICLE / BLOG ─── */
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.article-hero { padding: 56px 0 32px; background: linear-gradient(170deg, var(--blue-dim) 0%, #fff 70%); }
.article-hero h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); margin-bottom: 16px; max-width: 820px; }
.article-meta { font-size: .85rem; color: var(--muted); }
.prose { max-width: 740px; margin: 0 auto; padding: 40px 0 72px; }
.prose h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 44px 0 14px; }
.prose h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.prose p, .prose li { font-size: 1.02rem; color: var(--text-2); line-height: 1.8; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue); }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface); }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 32px; }
.toc strong { display: block; margin-bottom: 8px; font-size: .9rem; }
.toc ol { margin: 0 0 0 18px; }
.toc li { font-size: .92rem; margin-bottom: 4px; }
.callout {
  background: var(--blue-dim);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 28px 0;
}
.callout p:last-child { margin-bottom: 0; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.post-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card h2, .post-card h3 { font-size: 1.1rem; line-height: 1.35; }
.post-card p { font-size: .88rem; color: var(--muted); line-height: 1.55; }
.post-card span { font-size: .85rem; color: var(--blue); font-weight: 700; margin-top: auto; }

/* ─── STORYSELL BUBBLE: no pisar el botón de WhatsApp ─── */
#ok-bubble, #ok-preview { left: 24px !important; right: auto !important; bottom: 24px !important; top: auto !important; transform: none !important; }
@media (max-width: 680px) { #ok-bubble, #ok-preview { left: 16px !important; bottom: 92px !important; } }

/* ─── PROCESS: 4 pasos ─── */
.process-steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .process-steps.four { grid-template-columns: 1fr 1fr; } .process-steps.four .process-step::after { display: none; } }
@media (max-width: 640px) { .process-steps.four { grid-template-columns: 1fr; } }

/* ─── HERO FLOW (proceso automatizado) ─── */
.flow { display: flex; flex-direction: column; gap: 10px; }
.flow-step {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px;
  font-size: .85rem; color: var(--text-2);
  opacity: .45; transition: opacity .4s, border-color .4s, background .4s;
}
.flow-step.done { opacity: 1; border-color: #bbf7d0; background: #f0fdf4; }
.flow-step .flow-ico {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: var(--blue-dim); display: flex; align-items: center; justify-content: center;
}
.flow-step strong { display: block; color: var(--text); font-size: .88rem; }
.flow-step .flow-check { margin-left: auto; color: var(--green); font-weight: 800; visibility: hidden; }
.flow-step.done .flow-check { visibility: visible; }
.flow-foot { margin-top: 14px; font-size: .78rem; color: var(--muted); display: flex; justify-content: space-between; }

/* ─── MISC ─── */
.section-cta { margin-top: 36px; text-align: center; }
.inline-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }

/* El botón flotante se declara después del media query original: ocultarlo en mobile acá
   (en mobile ya está la barra fija de WhatsApp) */
@media (max-width: 680px) { .wa-float { display: none; } }

/* ─── CASOS ─── */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.case-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.case-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--border); }
.case-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case-card h2, .case-card h3 { font-size: 1.15rem; line-height: 1.3; }
.case-card p { font-size: .88rem; color: var(--muted); line-height: 1.55; }
.case-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.case-more { margin-top: auto; font-size: .88rem; font-weight: 700; color: var(--blue); }
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 24px; margin-top: 18px; max-width: 900px; }
.case-meta dt { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.case-meta dd { font-size: .95rem; color: var(--text-2); margin: 2px 0 0; }
.case-meta a { color: var(--blue); }
.case-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 28px auto 24px; max-width: 900px; }
.case-stat { background: var(--blue-dim); border-radius: var(--radius); padding: 18px 20px; }
.case-stat strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--blue); line-height: 1.1; }
.case-stat span { font-size: .85rem; color: var(--text-2); }
.case-shot { max-width: 900px; margin: 0 auto 8px; }
.case-shot img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: .82rem; color: var(--text-2); }

/* ─── SELECTOR DE IDIOMA ─── */
.lang-switch {
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--muted);
  text-decoration: none; border: 1.5px solid var(--border); border-radius: 999px;
  padding: 6px 12px; flex-shrink: 0; transition: color .15s, border-color .15s;
}
.lang-switch:hover { color: var(--blue); border-color: var(--blue); }
@media (max-width: 680px) { .nav-inner { gap: 12px; } .lang-switch { margin-left: auto; } }

/* ─── BANDA BRASIL (solo /pt-br/) ─── */
.br-band { background: linear-gradient(135deg, #0b6b3a 0%, #0f8a4b 55%, #1a52d0 100%); color: #fff; padding: 48px 0; }
.br-band-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.br-flag { font-size: 3.2rem; line-height: 1; }
.br-text h2 { color: #fff; margin: 6px 0 10px; }
.br-text p { color: rgba(255,255,255,.88); max-width: 620px; margin-bottom: 12px; }
.br-text ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.br-text li { font-size: .92rem; color: #fff; padding-left: 22px; position: relative; }
.br-text li::before { content: '✓'; position: absolute; left: 0; color: #fde68a; font-weight: 800; }
.br-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.br-btn { background: #fde047; color: #0f172a; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.br-btn:hover { background: #facc15; }
.br-wa { color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; opacity: .9; }
.br-wa:hover { text-decoration: underline; opacity: 1; }
@media (max-width: 860px) {
  .br-band-inner { grid-template-columns: 1fr; gap: 18px; }
  .br-cta { align-items: stretch; }
  .br-btn { justify-content: center; white-space: normal; }
  .br-wa { text-align: center; }
}

/* Botones con textos largos: en pantallas chicas pueden ocupar dos líneas */
@media (max-width: 680px) { .btn { white-space: normal; text-align: center; justify-content: center; } }

/* Selector con dos idiomas */
.lang-switches { display: flex; gap: 6px; flex-shrink: 0; }
@media (max-width: 680px) { .lang-switches { margin-left: auto; } .lang-switches .lang-switch { margin-left: 0; } }
