:root {
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --success: #16a34a;
  --warning: #ea580c;
  --danger:  #dc2626;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,.07), 0 2px 4px -2px rgba(15,23,42,.05);
  --shadow-lg: 0 10px 15px -3px rgba(15,23,42,.08), 0 4px 6px -4px rgba(15,23,42,.04);
  --shadow-xl: 0 20px 25px -5px rgba(15,23,42,.10), 0 8px 10px -6px rgba(15,23,42,.04);
  --ring: 0 0 0 3px rgba(29,78,216,.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--slate-800);
  background: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  z-index: 100;
}
body { padding-top: 67px; } /* compensa nav fixed */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: none;
  margin: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text {
  font-size: 19px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--slate-700);
  font-weight: 500;
  font-size: 15px;
  transition: color .15s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 20% 0%, rgba(29,78,216,.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 30%, rgba(59,130,246,.05) 0%, transparent 40%),
    linear-gradient(to bottom, white 0%, var(--slate-50) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--slate-200) 30%, var(--slate-200) 70%, transparent);
  opacity: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-100);
  color: var(--primary-dark);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.eyebrow svg { width: 14px; height: 14px; }

h1.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 24px;
}
h1 .accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 19px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, color .15s, transform .15s, box-shadow .15s, border-color .15s;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary {
  background: white;
  color: var(--slate-800);
  border: 1.5px solid var(--slate-300);
}
.btn-secondary:hover { border-color: var(--slate-400); background: var(--slate-50); }

.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-trust-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}
.hero-trust-label {
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 500;
}

/* Hero visual (mockup card) */
.hero-visual {
  position: relative;
  perspective: 1000px;
}
.mockup {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: rotate(-1deg);
  transition: transform .3s;
  border: 1px solid var(--slate-200);
}
.mockup:hover { transform: rotate(0deg) translateY(-4px); }
.mockup-head {
  background: var(--slate-900);
  padding: 12px 16px;
  display: flex;
  gap: 6px;
}
.mockup-head span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--slate-700);
}
.mockup-head span:nth-child(1) { background: #ef4444; }
.mockup-head span:nth-child(2) { background: #eab308; }
.mockup-head span:nth-child(3) { background: #22c55e; }
.mockup-body { padding: 28px 28px 32px; }
.mockup-eyebrow {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.mockup-verdict {
  font-size: 32px;
  font-weight: 800;
  color: var(--danger);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.mockup-conf {
  font-size: 14px;
  color: var(--slate-500);
  margin-bottom: 18px;
}
.mockup-conf strong { color: var(--slate-900); }
.mockup-bar {
  height: 8px;
  background: var(--slate-100);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 22px;
}
.mockup-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--danger), #f87171);
  width: 0;
  border-radius: 999px;
  animation: barFill 1.8s ease-out 0.4s forwards;
}
@keyframes barFill { to { width: 92%; } }

.mockup-reasoning {
  background: var(--slate-50);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate-700);
  font-style: italic;
}
.mockup-reasoning-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  font-style: normal;
}

/* ============ LOGOS BAR ============ */
.logos-bar {
  padding: 36px 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  background: white;
}
.logos-bar-title {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 18px;
}
.logos-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0.6;
}
.logos-row span {
  font-weight: 700;
  color: var(--slate-600);
  font-size: 18px;
  letter-spacing: -0.01em;
}

/* ============ SECTION ============ */
.section {
  padding: 96px 0;
}
.section-alt { background: var(--slate-50); }
.section-dark { background: var(--slate-900); color: white; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.section-dark .section-eyebrow { color: var(--primary-light); }
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 16px;
}
.section-dark .section-title { color: white; }
.section-sub {
  font-size: 18px;
  color: var(--slate-600);
  line-height: 1.6;
}
.section-dark .section-sub { color: var(--slate-300); }

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 28px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--slate-300); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-100);
  color: var(--primary);
  border-radius: 10px;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step p {
  color: var(--slate-600);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ FEATURES ============ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature {
  padding: 28px 26px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--slate-300); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-100);
  color: var(--primary);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 6px;
}
.feature p {
  color: var(--slate-600);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ============ HIGHLIGHT (perito section) ============ */
.highlight {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  border-radius: 24px;
  padding: 56px 48px;
  color: white;
  position: relative;
  overflow: hidden;
}
@media (max-width: 700px) {
  .highlight {
    padding: 36px 22px;
    border-radius: 16px;
  }
}
.highlight::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,.2) 0%, transparent 70%);
}
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
@media (max-width: 800px) { .highlight-grid { grid-template-columns: 1fr; gap: 28px; } }
.highlight h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media (max-width: 700px) {
  .highlight h2 { font-size: 24px; line-height: 1.25; margin-bottom: 14px; }
  .highlight p { font-size: 15px; }
  .highlight li { font-size: 14px; }
}
.highlight p {
  color: var(--slate-300);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.highlight ul {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.highlight li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--slate-200);
  font-size: 15px;
}
.highlight li svg {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  color: #22c55e;
}
.highlight-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.highlight-stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 24px;
  backdrop-filter: blur(10px);
}
.highlight-stat-num {
  font-size: 38px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.highlight-stat-label {
  color: var(--slate-400);
  font-size: 13px;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .highlight-stats { gap: 12px; margin-top: 8px; }
  .highlight-stat { padding: 16px 14px; border-radius: 12px; }
  .highlight-stat-num { font-size: 26px; margin-bottom: 4px; }
  .highlight-stat-label { font-size: 11px; }
}

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--slate-300); }
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-100), var(--shadow-lg);
  transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-3px); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 12px;
}
.price-value {
  font-size: 40px;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-value small {
  font-size: 16px;
  color: var(--slate-500);
  font-weight: 500;
  letter-spacing: 0;
}
.price-desc {
  margin-top: 8px;
  margin-bottom: 24px;
  color: var(--slate-600);
  font-size: 14.5px;
}
.price-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--slate-700);
}
.price-features li svg {
  width: 18px; height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}
.price-card .btn { width: 100%; }

/* ============ FAQ ============ */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--slate-200);
  padding: 20px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-900);
  user-select: none;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question svg {
  width: 20px; height: 20px;
  color: var(--slate-500);
  transition: transform .2s;
}
details[open] .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  margin-top: 12px;
  color: var(--slate-600);
  line-height: 1.65;
  font-size: 15.5px;
}

/* ============ FINAL CTA ============ */
.final-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.08) 0%, transparent 50%);
}
.final-cta h2 {
  position: relative;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.final-cta p {
  position: relative;
  color: rgba(255,255,255,.85);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.final-cta .btn {
  position: relative;
  background: white;
  color: var(--primary-dark);
  font-size: 16px;
  padding: 15px 28px;
}
.final-cta .btn:hover { background: var(--slate-50); }

/* ============ FOOTER ============ */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 56px 0 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.footer-bottom { justify-content: center !important; text-align: center; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand img { height: 80px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--slate-400);
  font-size: 14.5px;
  transition: color .15s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--slate-500);
}

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

