/* ─── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette */
  --white:   #ffffff;
  --stone-50:  #fafaf9;
  --stone-100: #f5f4f2;
  --stone-200: #e8e5e1;
  --stone-300: #d4cfc8;
  --stone-500: #8c8479;
  --stone-700: #4a443c;
  --stone-900: #1c1812;

  --ink:     #1c1812;
  --ink-soft: #4a443c;
  --ink-muted: #8c8479;

  --accent:       #1a6b4a;   /* bosque profundo — sin azul */
  --accent-light: #e8f2ec;
  --accent-mid:   #2d8f62;
  --accent-glow:  rgba(26,107,74,0.12);

  --warn:  #c47c1a;
  --danger:#b03a2e;
  --ok:    #1a6b4a;

  /* Typography */
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans:  'Geist', system-ui, sans-serif;
  --font-mono:  'Geist Mono', monospace;

  /* Spacing */
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 40px;
  --gap-xl: 64px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}

/* ─── TYPOGRAPHY ───────────────────────────────────────── */
.serif { font-family: var(--font-serif); }
.mono  { font-family: var(--font-mono); }

h1,h2,h3 { line-height: 1.1; letter-spacing: -0.02em; }

/* ─── UTILITIES ────────────────────────────────────────── */
.accent-text { color: var(--accent); }
.muted { color: var(--ink-muted); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-light); color: var(--accent);
  padding: 5px 12px; border-radius: 100px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--white);
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  padding: 14px 24px; border-radius: var(--r-md);
  border: none; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--ink-soft); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink);
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  padding: 13px 24px; border-radius: var(--r-md);
  border: 1.5px solid var(--stone-200); cursor: pointer; text-decoration: none;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--stone-300); background: var(--stone-50); }

/* ─── NAV ───────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stone-100);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-text {
  font-family: var(--font-serif); font-size: 18px; color: var(--ink);
}
.nav-logo-text span { color: var(--accent); }

.nav-links {
  display: none;
  gap: 32px; align-items: center;
}
.nav-links a {
  font-size: 13.5px; color: var(--ink-soft); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta { display: none; }

.nav-hamburger {
  background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 6px;
  display: flex; align-items: center;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--white);
  transform: translateX(100%);
  transition: transform .3s ease;
  padding: 24px 24px 40px;
  display: flex; flex-direction: column; gap: 32px;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer-links { display: flex; flex-direction: column; gap: 20px; }
.drawer-links a {
  font-size: 22px; font-family: var(--font-serif);
  color: var(--ink); text-decoration: none;
}
.drawer-close {
  background: none; border: none; cursor: pointer;
  color: var(--ink-soft); padding: 6px;
}

/* ─── SECTIONS COMMON ───────────────────────────────────── */
section {
  padding: 72px 20px;
  max-width: 100%;
}
.section-inner {
  max-width: 1100px; margin: 0 auto;
}
.section-header {
  margin-bottom: 40px;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 6vw, 50px);
  color: var(--ink); margin-top: 12px; margin-bottom: 14px;
}
.section-header p {
  font-size: 15px; line-height: 1.7; color: var(--ink-soft);
  max-width: 520px;
}

/* ─── HERO ──────────────────────────────────────────────── */
#hero {
  padding-top: 100px; padding-bottom: 60px;
  padding-left: 20px; padding-right: 20px;
  background: var(--white);
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
}

/* Subtle geometric background */
#hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 60vw; height: 60vw; max-width: 500px; max-height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  transform: translate(30%, -20%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-eyebrow-text {
  font-size: 12px; font-weight: 500; color: var(--accent);
  letter-spacing: 0.05em; text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 9vw, 72px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(15px, 3vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 48px;
}

/* Hero dashboard mockup placeholder */
.hero-visual {
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--stone-200);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  background: var(--stone-50);
  margin-top: 8px;
}

/* 
  PLACEHOLDER DE IMAGEN — HERO DASHBOARD
  Reemplaza este bloque con tu screenshot/mockup del dashboard
  Tamaño recomendado: 1100px × 620px (proporción ~16:9)
  Para móvil se puede usar una versión recortada: 640px × 480px
*/
.hero-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--stone-100) 0%, var(--accent-light) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--ink-muted);
  font-size: 13px;
  position: relative;
}
.hero-img-placeholder svg { opacity: 0.35; }
.hero-img-placeholder span { opacity: 0.5; font-family: var(--font-mono); font-size: 11px; }

/* Browser chrome mini */
.browser-chrome {
  background: var(--stone-100);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--stone-200);
}
.chrome-dots { display: flex; gap: 5px; }
.chrome-dot {
  width: 9px; height: 9px; border-radius: 50%;
}
.chrome-bar {
  flex: 1; height: 22px; border-radius: 5px;
  background: var(--stone-200);
  display: flex; align-items: center; padding: 0 10px;
  font-family: var(--font-mono); font-size: 10px; color: var(--ink-muted);
}

/* ─── TICKER ────────────────────────────────────────────── */
.ticker-section {
  padding: 0; overflow: hidden;
  border-top: 1px solid var(--stone-100);
  border-bottom: 1px solid var(--stone-100);
  background: var(--stone-50);
}
.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker 28s linear infinite;
  padding: 14px 0;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12.5px; color: var(--ink-muted);
  padding: 0 24px; flex-shrink: 0;
  font-weight: 500; letter-spacing: 0.03em;
}
.ticker-sep { color: var(--accent); opacity: 0.5; }

/* ─── STATS BAR ─────────────────────────────────────────── */
#stats {
  padding: 56px 20px;
  background: var(--ink);
}
.stats-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-cell {
  background: var(--ink);
  padding: 28px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(28px, 7vw, 44px);
  color: var(--white);
  display: block;
  margin-bottom: 4px;
  line-height: 1;
}
.stat-num span { color: var(--accent-mid); }
.stat-label {
  font-size: 12px; color: rgba(255,255,255,0.4);
  font-weight: 400;
}

/* ─── PLATAFORMA / MÓDULOS ──────────────────────────────── */
#plataforma { background: var(--white); }

.modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--stone-100);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--stone-200);
}

.module-card {
  background: var(--white);
  padding: 28px 24px;
  position: relative;
  transition: background .2s;
}
.module-card:hover { background: var(--stone-50); }

.module-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.module-title {
  font-family: var(--font-serif);
  font-size: 19px; color: var(--ink);
  margin-bottom: 8px;
}
.module-desc {
  font-size: 13.5px; line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.module-tag {
  font-size: 11.5px; color: var(--accent);
  font-weight: 500;
}

/* ─── ANTIFRAUDE ────────────────────────────────────────── */
#antifraude {
  background: var(--stone-50);
}

.fraud-layout {
  display: flex; flex-direction: column; gap: 40px;
}

.fraud-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 6vw, 46px);
  margin-top: 12px; margin-bottom: 16px;
}
.fraud-copy p {
  font-size: 15px; line-height: 1.7; color: var(--ink-soft);
  margin-bottom: 28px;
}

.fraud-points { display: flex; flex-direction: column; gap: 18px; }
.fraud-point {
  display: flex; gap: 14px; align-items: flex-start;
}
.fraud-point-icon {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.fp-red  { background: rgba(176,58,46,0.08); }
.fp-warn { background: rgba(196,124,26,0.08); }
.fp-ok   { background: var(--accent-light); }

.fraud-point-title {
  font-size: 14px; font-weight: 600; color: var(--ink);
  margin-bottom: 3px;
}
.fraud-point-desc {
  font-size: 13px; color: var(--ink-soft); line-height: 1.55;
}

/* Fraud monitor widget */
.fraud-monitor {
  border-radius: var(--r-xl);
  border: 1px solid var(--stone-200);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.monitor-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--stone-100);
  display: flex; align-items: center; justify-content: space-between;
}
.monitor-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-family: var(--font-mono);
  color: var(--ink-soft);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--danger);
  animation: pulse-dot 2s ease-in-out infinite;
}
.monitor-badge {
  font-size: 10px; font-weight: 600; letter-spacing: 0.05em;
  padding: 3px 9px; border-radius: 100px;
  background: var(--accent-light); color: var(--accent);
}
.monitor-feed { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.monitor-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
  padding: 0 12px 12px;
}
.mstat {
  border-radius: var(--r-md); padding: 12px 10px; text-align: center;
}
.mstat-num { font-family: var(--font-serif); font-size: 20px; display: block; }
.mstat-label { font-size: 10px; color: var(--ink-muted); }

.feed-item {
  border-radius: var(--r-md);
  padding: 11px 13px;
  display: flex; align-items: center; gap: 10px;
  transition: all .4s ease;
}
.feed-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feed-content { flex: 1; min-width: 0; }
.feed-msg { font-size: 12px; font-weight: 500; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-detail { font-size: 11px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.risk-badge {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 7px; border-radius: 6px; flex-shrink: 0;
}
.rb-high  { background: rgba(176,58,46,0.1); color: var(--danger); }
.rb-med   { background: rgba(196,124,26,0.1); color: var(--warn); }
.rb-low   { background: var(--accent-light); color: var(--accent); }

.fi-high  { background: rgba(176,58,46,0.08); }
.fi-med   { background: rgba(196,124,26,0.06); }
.fi-low   { background: var(--accent-light); }

.feed-item.high { border-left: 2px solid rgba(176,58,46,0.3); }
.feed-item.med  { border-left: 2px solid rgba(196,124,26,0.3); }
.feed-item.low  { border-left: 2px solid rgba(26,107,74,0.3); }

/* Scan bar */
.scan-bar {
  margin: 0 12px 12px;
  height: 2px; border-radius: 1px;
  background: var(--stone-100); overflow: hidden;
}
.scan-progress {
  height: 100%; width: 33%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan 2.5s linear infinite;
}
@keyframes scan {
  from { transform: translateX(-100%); }
  to   { transform: translateX(400%); }
}

/* ─── SCORING ───────────────────────────────────────────── */
#scoring { background: var(--white); }

.scoring-layout {
  display: flex; flex-direction: column; gap: 40px;
}

/* Score profile card */
.score-card {
  border-radius: var(--r-xl);
  border: 1px solid var(--stone-200);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.score-card-header {
  padding: 20px 20px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.score-name {
  font-family: var(--font-serif); font-size: 20px; color: var(--ink);
}
.score-sub { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }

.score-ring-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.score-ring-svg { width: 130px; height: 130px; }

.score-bars { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.score-bar-row {}
.score-bar-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 5px;
}
.score-bar-label { font-size: 12px; color: var(--ink-soft); }
.score-bar-val { font-size: 12px; font-weight: 500; }
.score-bar-track {
  height: 5px; border-radius: 3px; background: var(--stone-100); overflow: hidden;
}
.score-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-mid));
}
.score-bar-fill.warn {
  background: linear-gradient(90deg, #c47c1a, #e09b30);
}

.score-rec {
  margin: 0 20px 20px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--accent-light);
  font-size: 12.5px; color: var(--ink-soft);
}
.score-rec strong { color: var(--accent); }

/* Stats mini grid */
.score-stats-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 12px;
}
.score-stat {
  border: 1px solid var(--stone-100);
  border-radius: var(--r-md);
  padding: 18px 16px;
  background: var(--stone-50);
}
.score-stat-num {
  font-family: var(--font-serif); font-size: 24px; color: var(--ink);
  margin-bottom: 3px; display: block;
}
.score-stat-label { font-size: 11.5px; color: var(--ink-muted); }

/* ─── SEGURIDAD ─────────────────────────────────────────── */
#seguridad { background: var(--stone-50); }

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.security-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--stone-200);
  padding: 22px 20px;
  background: var(--white);
  display: flex; gap: 16px; align-items: flex-start;
}
.security-icon {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.security-title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.security-desc  { font-size: 13px; line-height: 1.6; color: var(--ink-soft); }

/* ─── PRICING ───────────────────────────────────────────── */
#pricing { background: var(--white); }

.pricing-toggle {
  display: flex; align-items: center; gap: 12px;
  margin-top: 20px; margin-bottom: 32px;
}
.toggle-label { font-size: 13px; color: var(--ink-muted); }
.toggle-label.active { color: var(--ink); font-weight: 500; }
.toggle-btn {
  width: 44px; height: 24px; border-radius: 12px;
  background: var(--stone-200); border: none; cursor: pointer;
  position: relative; transition: background .2s;
}
.toggle-btn.on { background: var(--accent); }
.toggle-knob {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white);
  transition: left .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle-btn.on .toggle-knob { left: 23px; }
.toggle-save {
  font-size: 11px; font-weight: 600; color: var(--accent);
  background: var(--accent-light); padding: 2px 8px; border-radius: 100px;
}

.plans-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}

.plan-card {
  border: 1.5px solid var(--stone-200);
  border-radius: var(--r-xl);
  padding: 28px 22px;
  background: var(--white);
  display: flex; flex-direction: column;
}
.plan-card.featured {
  border-color: var(--accent);
  background: var(--ink);
}
.plan-featured-badge {
  display: inline-flex;
  font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  background: var(--accent); color: var(--white);
  padding: 4px 10px; border-radius: 100px;
  margin-bottom: 14px; width: fit-content;
}
.plan-name { font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-bottom: 6px; }
.plan-card.featured .plan-name { color: rgba(255,255,255,0.5); }
.plan-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-price {
  font-family: var(--font-serif);
  font-size: 38px; color: var(--ink);
}
.plan-card.featured .plan-price { color: var(--white); }
.plan-period { font-size: 13px; color: var(--ink-muted); }
.plan-card.featured .plan-period { color: rgba(255,255,255,0.4); }
.plan-tagline { font-size: 12.5px; color: var(--ink-muted); margin-bottom: 22px; }
.plan-card.featured .plan-tagline { color: rgba(255,255,255,0.4); }

.plan-features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 22px; }
.plan-feat {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--ink-soft);
}
.plan-card.featured .plan-feat { color: rgba(255,255,255,0.75); }
.plan-feat-icon { flex-shrink: 0; margin-top: 2px; }
.feat-off { color: var(--stone-300) !important; }
.plan-card.featured .feat-off { color: rgba(255,255,255,0.2) !important; }

.plan-btn-primary {
  width: 100%; padding: 14px;
  border-radius: var(--r-md); border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  background: var(--accent); color: var(--white);
  transition: background .2s, transform .15s;
}
.plan-btn-primary:hover { background: #155c3e; transform: translateY(-1px); }

.plan-btn-outline {
  width: 100%; padding: 13px;
  border-radius: var(--r-md); border: 1.5px solid var(--stone-200); cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  background: transparent; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.plan-btn-outline:hover { border-color: var(--stone-300); background: var(--stone-50); }

.plan-btn-dark {
  width: 100%; padding: 14px;
  border-radius: var(--r-md); border: 1.5px solid rgba(255,255,255,0.2); cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  background: transparent; color: var(--white);
  transition: border-color .2s, background .2s;
}
.plan-btn-dark:hover { background: rgba(255,255,255,0.08); }

/* ─── VISIÓN ────────────────────────────────────────────── */
#vision { background: var(--white); }

.vision-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  margin-bottom: 48px;
}
.vision-card {
  border-radius: var(--r-xl);
  border: 1px solid var(--stone-100);
  overflow: hidden;
}

/* 
  PLACEHOLDER DE IMAGEN — VISIÓN
  Reemplaza por foto o ilustración del equipo / concepto
  Tamaño recomendado: 540px × 320px
*/
.vision-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--stone-100) 0%, var(--accent-light) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--ink-muted);
}
.vision-img-placeholder span { font-family: var(--font-mono); font-size: 11px; opacity: 0.5; }

.vision-card-body {
  padding: 22px 20px;
  background: var(--stone-50);
}
.vision-card-title {
  font-family: var(--font-serif); font-size: 19px; color: var(--ink);
  margin-bottom: 8px;
}
.vision-card-text { font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); }

.vision-quote {
  border-left: 3px solid var(--accent);
  padding: 20px 20px;
  background: var(--stone-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.vision-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(16px, 3.5vw, 20px);
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 12px;
}
.vision-quote cite {
  font-size: 12px; color: var(--accent); font-style: normal; font-weight: 500;
}

/* ─── CTA ───────────────────────────────────────────────── */
#cta {
  background: var(--ink);
  padding: 72px 20px;
}
.cta-inner {
  max-width: 600px; margin: 0 auto; text-align: center;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 7vw, 52px);
  color: var(--white); margin-bottom: 14px;
}
.cta-inner p { font-size: 15px; color: rgba(255,255,255,0.5); margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.cta-btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--ink);
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  padding: 14px 24px; border-radius: var(--r-md);
  border: none; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s;
}
.cta-btn-white:hover { background: var(--stone-100); transform: translateY(-1px); }

.cta-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,0.7);
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  padding: 13px 24px; border-radius: var(--r-md);
  border: 1.5px solid rgba(255,255,255,0.15); cursor: pointer; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.cta-btn-ghost:hover { border-color: rgba(255,255,255,0.3); color: var(--white); }

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
  background: var(--stone-50);
  border-top: 1px solid var(--stone-100);
  padding: 48px 20px 32px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand { margin-bottom: 32px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: var(--ink-muted); max-width: 280px; line-height: 1.6; }

.footer-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  margin-bottom: 36px;
}
.footer-col-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 13px; color: var(--ink-muted); text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--stone-200);
  padding-top: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-legal {
  font-size: 11.5px; color: var(--stone-300);
}
.footer-legal-links { display: flex; gap: 16px; }
.footer-legal-links a { font-size: 11.5px; color: var(--stone-300); text-decoration: none; }
.footer-legal-links a:hover { color: var(--ink-muted); }

/* ─── SCROLL REVEAL ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE — 520px+ ───────────────────────────────── */
@media (min-width: 520px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-cell { padding: 32px 20px; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── RESPONSIVE — 768px+ ───────────────────────────────── */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; align-items: center; gap: 8px; }
  .nav-hamburger { display: none; }

  .fraud-layout { flex-direction: row; align-items: flex-start; gap: 48px; }
  .fraud-copy { flex: 1; }
  .fraud-monitor { flex: 1; }

  .scoring-layout { flex-direction: row; align-items: flex-start; gap: 48px; }
  .score-card-wrap { flex: 1; order: -1; }
  .score-copy { flex: 1; }

  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ─── RESPONSIVE — 1024px+ ──────────────────────────────── */
@media (min-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .security-grid { grid-template-columns: repeat(3, 1fr); }
  .plans-grid { grid-template-columns: repeat(3, 1fr); }
  .vision-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-headline { font-size: clamp(48px, 5.5vw, 72px); }
}