/* ===========================================
   INMOBURÓ — DESIGN SYSTEM
   Paleta: Índigo profundo + Lima eléctrico + Magenta acento
   Tipografía: Space Grotesk (display) + Inter (UI/body)
   =========================================== */

:root {
  --indigo-950: #0d0a2e;
  --indigo-900: #1e1b4b;
  --indigo-800: #2d2a6e;
  --indigo-700: #3b3691;
  --indigo-600: #4f46e5;
  --indigo-100: #e0e7ff;

  --lime-500: #a3e635;
  --lime-400: #bef264;
  --lime-300: #d9f99d;
  --lime-100: #ecfccb;

  --pink-500: #ec4899;
  --pink-400: #f472b6;
  --pink-100: #fce7f3;

  --white: #ffffff;
  --bone-50:  #fafaf9;
  --bone-100: #f5f5f4;
  --bone-200: #e7e5e4;
  --bone-300: #d6d3d1;
  --bone-400: #a8a29e;
  --bone-500: #78716c;
  --bone-600: #57534e;
  --bone-700: #44403c;
  --bone-800: #292524;
  --bone-900: #1c1917;

  --green-500: #22c55e; --green-100: #dcfce7;
  --red-500:   #ef4444; --red-100:   #fee2e2;
  --amber-500: #f59e0b; --amber-100: #fef3c7;
  --blue-500:  #3b82f6; --blue-100:  #dbeafe;

  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px; --r-full: 999px;

  --sh-sm: 0 1px 2px rgba(30,27,75,.06);
  --sh-md: 0 4px 16px rgba(30,27,75,.08);
  --sh-lg: 0 16px 40px rgba(30,27,75,.12);
  --sh-xl: 0 32px 72px rgba(30,27,75,.18);
  --sh-glow: 0 0 0 4px rgba(163,230,53,.20);

  --font-display: 'Space Grotesk', -apple-system, system-ui, sans-serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--bone-800);
  background: var(--bone-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display { font-family: var(--font-display); letter-spacing: -.02em; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,10,46,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(163,230,53,.10);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px; color: var(--white);
  letter-spacing: -.5px;
}
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--lime-500), var(--lime-400));
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 24px; height: 24px; color: var(--indigo-900); }
.nav-main { display: flex; gap: 36px; align-items: center; }
.nav-main a { color: rgba(255,255,255,.78); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav-main a:hover { color: var(--lime-400); }
.header-actions { display: flex; gap: 12px; align-items: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-md);
  font-family: inherit; font-weight: 600; font-size: 15px;
  transition: all .2s ease; white-space: nowrap; letter-spacing: -.01em;
}
.btn-primary {
  background: var(--lime-500); color: var(--indigo-900);
  box-shadow: 0 4px 14px rgba(163,230,53,.35);
}
.btn-primary:hover { background: var(--lime-400); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(163,230,53,.45); }
.btn-secondary { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.22); }
.btn-secondary:hover { background: rgba(163,230,53,.10); border-color: var(--lime-400); color: var(--lime-400); }
.btn-ghost { color: var(--white); padding: 11px 16px; }
.btn-ghost:hover { color: var(--lime-400); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-outline { background: white; color: var(--indigo-900); border: 1.5px solid var(--bone-300); }
.btn-outline:hover { border-color: var(--indigo-900); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

.menu-toggle { display: none; }

/* ===== HERO ===== */
.hero {
  background:
    radial-gradient(ellipse 1200px 600px at 70% 20%, rgba(163,230,53,.10), transparent 60%),
    radial-gradient(ellipse 800px 400px at 20% 80%, rgba(236,72,153,.08), transparent 60%),
    linear-gradient(180deg, var(--indigo-950) 0%, var(--indigo-900) 100%);
  color: var(--white);
  padding: 80px 0 120px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(163,230,53,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163,230,53,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 800px 600px at 50% 30%, black, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(163,230,53,.10); color: var(--lime-400);
  padding: 8px 16px; border-radius: var(--r-full);
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(163,230,53,.30);
  margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime-500); box-shadow: 0 0 12px var(--lime-500);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

.hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 700; line-height: 1.02; letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--lime-400) 0%, var(--lime-500) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 20px; color: rgba(255,255,255,.72);
  max-width: 560px; margin-bottom: 36px; line-height: 1.55;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust {
  display: flex; gap: 32px; align-items: center;
  color: rgba(255,255,255,.55); font-size: 13px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
}
.hero-trust strong { color: var(--lime-400); font-size: 22px; font-weight: 700; font-family: var(--font-display); display: block; }

/* ===== DASHBOARD MOCK ===== */
.hero-visual {
  background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(163,230,53,.02));
  border: 1px solid rgba(163,230,53,.15);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--sh-xl);
  position: relative;
}
.dashboard-mock { background: var(--white); border-radius: var(--r-lg); padding: 22px; color: var(--bone-800); }
.dm-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--bone-100); margin-bottom: 14px; }
.dm-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.dm-badge { background: var(--lime-100); color: #4d7c0f; padding: 4px 10px; border-radius: var(--r-full); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.dm-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-500); }
.dm-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bone-100); }
.dm-row:last-of-type { border-bottom: none; }
.dm-avatar { width: 34px; height: 34px; border-radius: var(--r-full); background: linear-gradient(135deg, var(--indigo-700), var(--indigo-600)); color: white; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.dm-name { font-weight: 600; font-size: 13px; }
.dm-meta { font-size: 11px; color: var(--bone-500); }
.dm-status { margin-left: auto; padding: 4px 10px; border-radius: var(--r-full); font-size: 11px; font-weight: 700; }
.dm-status.ok { background: var(--lime-100); color: #4d7c0f; }
.dm-status.rev { background: var(--amber-100); color: #b45309; }
.dm-status.rej { background: var(--red-100); color: #b91c1c; }
.dm-score { margin-top: 14px; padding: 16px; background: linear-gradient(135deg, var(--indigo-900), var(--indigo-800)); color: white; border-radius: var(--r-md); display: flex; align-items: center; justify-content: space-between; }
.dm-score .lbl { font-size: 11px; opacity: .75; text-transform: uppercase; letter-spacing: 1.2px; }
.dm-score .val { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--lime-400); }

.float-card { position: absolute; background: white; border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--bone-800); border: 1px solid var(--bone-100); }
.float-card .icon { width: 34px; height: 34px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 16px; }
.float-card.fc1 { top: 12%; left: -8%; }
.float-card.fc1 .icon { background: var(--lime-100); color: #4d7c0f; }
.float-card.fc2 { bottom: 14%; right: -8%; }
.float-card.fc2 .icon { background: var(--pink-100); color: var(--pink-500); }

/* ===== CALCULATOR WIDGET ===== */
.calculator-widget { background: white; border-radius: var(--r-lg); padding: 24px; margin-top: 20px; border: 1px solid var(--bone-100); }
.calculator-widget h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--indigo-900); margin-bottom: 16px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.calc-input { display: flex; align-items: center; gap: 6px; background: var(--bone-50); border: 1px solid var(--bone-200); padding: 10px 14px; border-radius: var(--r-md); }
.calc-input span { color: var(--bone-500); font-weight: 500; }
.calc-input input { flex: 1; border: none; background: transparent; outline: none; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--indigo-900); width: 100%; }
.calc-result { padding: 14px; background: linear-gradient(135deg, var(--lime-100), var(--bone-50)); border: 1px solid var(--lime-300); border-radius: var(--r-md); font-size: 13px; color: var(--bone-700); }
.calc-result strong { color: var(--indigo-900); font-weight: 700; }
.calc-result .reco { margin-top: 8px; font-size: 12px; display: inline-block; padding: 3px 10px; background: var(--indigo-900); color: var(--lime-400); border-radius: var(--r-full); font-weight: 700; letter-spacing: .3px; }

/* ===== LOGOS STRIP ===== */
.logos-strip { background: var(--white); padding: 56px 0; border-bottom: 1px solid var(--bone-100); }
.logos-strip h3 { text-align: center; color: var(--bone-500); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 32px; }
.logos-track { display: flex; gap: 64px; align-items: center; flex-wrap: wrap; justify-content: center; }
.logo-item { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--bone-400); letter-spacing: -.3px; transition: color .2s; }
.logo-item:hover { color: var(--indigo-700); }

/* ===== SECTION ===== */
section.section { padding: 96px 0; background: var(--white); }
section.section.alt { background: var(--bone-50); }
section.section.dark { background: var(--indigo-950); color: white; }
section.section.dark .section-head h2 { color: white; }
section.section.dark .section-head p { color: rgba(255,255,255,.65); }
.section-head { text-align: center; margin-bottom: 64px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-eyebrow { display: inline-block; color: var(--indigo-700); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; padding: 6px 14px; background: var(--indigo-100); border-radius: var(--r-full); }
section.section.dark .section-eyebrow { background: rgba(163,230,53,.10); color: var(--lime-400); }
.section-head h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--indigo-900); margin-bottom: 18px; }
.section-head p { font-size: 19px; color: var(--bone-500); line-height: 1.55; }

/* ===== DIFFERENTIATORS ===== */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.diff-card { background: white; border: 1px solid var(--bone-200); border-radius: var(--r-xl); padding: 32px; transition: all .25s; position: relative; overflow: hidden; }
.diff-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--lime-500), var(--lime-400)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--lime-400); }
.diff-card:hover::before { transform: scaleX(1); }
.diff-icon { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--indigo-100); color: var(--indigo-700); display: grid; place-items: center; font-size: 26px; margin-bottom: 20px; }
.diff-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--indigo-900); margin-bottom: 10px; }
.diff-card p { color: var(--bone-600); font-size: 15px; line-height: 1.6; }
.diff-card .feat-list { list-style: none; margin-top: 16px; }
.diff-card .feat-list li { padding-left: 24px; position: relative; font-size: 13px; color: var(--bone-700); margin-bottom: 6px; }
.diff-card .feat-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 14px; height: 2px; background: var(--lime-500); }

/* ===== COMPARE TABLE ===== */
.compare-table { background: white; border-radius: var(--r-xl); box-shadow: var(--sh-md); overflow: hidden; border: 1px solid var(--bone-200); }
.compare-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border-bottom: 1px solid var(--bone-100); }
.compare-row:last-child { border-bottom: none; }
.compare-row > div { padding: 22px 28px; }
.compare-row.head > div { background: var(--indigo-950); color: white; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.compare-row.head .ok-col { background: linear-gradient(135deg, var(--lime-500), var(--lime-400)); color: var(--indigo-900); }
.compare-row .label { font-weight: 600; color: var(--indigo-900); }
.compare-row .bad { color: var(--bone-500); display: flex; align-items: center; gap: 10px; }
.compare-row .good { color: var(--indigo-900); font-weight: 500; display: flex; align-items: center; gap: 10px; background: var(--lime-100); }
.icon-x, .icon-check { width: 22px; height: 22px; border-radius: var(--r-full); flex-shrink: 0; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.icon-x { background: var(--red-100); color: var(--red-500); }
.icon-check { background: var(--lime-500); color: var(--indigo-900); }

/* ===== STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card { background: white; border: 1px solid var(--bone-200); border-radius: var(--r-xl); padding: 36px 32px; position: relative; transition: all .25s; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--indigo-600); }
.step-num { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--indigo-900); color: var(--lime-400); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; margin-bottom: 22px; }
.step-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--indigo-900); margin-bottom: 10px; }
.step-card p { color: var(--bone-600); margin-bottom: 18px; }
.step-card ul { list-style: none; }
.step-card li { padding-left: 26px; position: relative; font-size: 14px; color: var(--bone-700); margin-bottom: 8px; }
.step-card li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--lime-500); font-weight: 800; }

/* ===== PRODUCTS ===== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); border-radius: var(--r-xl); padding: 36px; transition: all .3s; position: relative; overflow: hidden; }
.product-card.featured { background: linear-gradient(180deg, rgba(163,230,53,.10) 0%, rgba(163,230,53,.02) 100%); border-color: var(--lime-500); }
.product-card .badge-best { position: absolute; top: 20px; right: 20px; background: var(--lime-500); color: var(--indigo-900); padding: 5px 12px; border-radius: var(--r-full); font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.product-card:hover { transform: translateY(-6px); }
.product-icon { width: 56px; height: 56px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--lime-500), var(--lime-400)); color: var(--indigo-900); display: grid; place-items: center; font-size: 26px; margin-bottom: 22px; }
.product-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.02em; }
.product-price { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--lime-400); margin: 14px 0 6px; letter-spacing: -.02em; }
.product-price .currency { font-size: 16px; color: rgba(255,255,255,.6); margin-right: 4px; font-family: var(--font-sans); }
.product-price .period { font-size: 13px; color: rgba(255,255,255,.5); font-weight: 500; font-family: var(--font-sans); }
.product-card p.desc { color: rgba(255,255,255,.70); margin-bottom: 22px; font-size: 15px; }
.product-features { list-style: none; margin-bottom: 28px; }
.product-features li { padding-left: 26px; position: relative; padding-top: 7px; padding-bottom: 7px; color: rgba(255,255,255,.85); font-size: 14px; }
.product-features li::before { content: ''; position: absolute; left: 0; top: 14px; width: 14px; height: 2px; background: var(--lime-500); }

/* ===== TESTIMONIALS ===== */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.test-card { background: white; border-radius: var(--r-xl); padding: 28px; box-shadow: var(--sh-sm); transition: all .25s; border: 1px solid var(--bone-200); }
.test-card:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); border-color: var(--lime-400); }
.test-stars { color: var(--amber-500); margin-bottom: 14px; font-size: 15px; }
.test-quote { color: var(--bone-700); font-size: 15px; margin-bottom: 22px; line-height: 1.65; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar { width: 44px; height: 44px; border-radius: var(--r-full); background: linear-gradient(135deg, var(--indigo-700), var(--indigo-600)); color: white; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.test-info .name { font-family: var(--font-display); font-weight: 700; color: var(--indigo-900); font-size: 14px; }
.test-info .role { font-size: 12px; color: var(--bone-500); }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: white; border: 1px solid var(--bone-200); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; padding: 22px 26px; text-align: left; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 600; color: var(--indigo-900); font-size: 16px; }
.faq-q::after { content: '+'; font-size: 26px; color: var(--lime-500); font-weight: 400; transition: transform .25s; line-height: 1; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 26px; color: var(--bone-600); }
.faq-item.open .faq-a { max-height: 260px; padding: 0 26px 22px; }

/* ===== CTA BANNER ===== */
.cta-banner { background: radial-gradient(ellipse at top right, rgba(163,230,53,.20), transparent 60%), linear-gradient(135deg, var(--indigo-950), var(--indigo-900)); color: white; padding: 96px 0; position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 52px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.cta-inner p { font-size: 19px; color: rgba(255,255,255,.75); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.site-footer { background: var(--indigo-950); color: rgba(255,255,255,.7); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h5 { color: white; font-family: var(--font-display); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--lime-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 38px; height: 38px; border-radius: var(--r-full); background: rgba(255,255,255,.06); display: grid; place-items: center; font-size: 14px; transition: all .2s; }
.social-links a:hover { background: var(--lime-500); color: var(--indigo-900); }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(13,10,46,.72); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; backdrop-filter: blur(8px); }
.modal-overlay.open { display: flex; }
.modal { background: white; border-radius: var(--r-xl); width: 100%; max-width: 480px; padding: 44px; box-shadow: var(--sh-xl); position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: var(--r-full); background: var(--bone-100); color: var(--bone-600); font-size: 18px; display: grid; place-items: center; }
.modal h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--indigo-900); margin-bottom: 6px; letter-spacing: -.02em; }
.modal p.muted { color: var(--bone-500); margin-bottom: 28px; font-size: 15px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--bone-700); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--bone-300); border-radius: var(--r-md); font-family: inherit; font-size: 15px; transition: border .15s, box-shadow .15s; background: white; color: var(--bone-800); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime-500); box-shadow: var(--sh-glow); }
.modal .modal-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--bone-500); }
.modal .modal-footer a { color: var(--indigo-700); font-weight: 600; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .float-card.fc1 { left: 4%; }
  .float-card.fc2 { right: 4%; }
  .diff-grid, .steps-grid, .products-grid, .test-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-main { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; color: white; border-radius: var(--r-md); background: rgba(255,255,255,.08); }
}
@media (max-width: 640px) {
  section.section { padding: 64px 0; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-row.head { display: none; }
  .compare-row > div { padding: 16px 20px; }
  .diff-grid, .steps-grid, .products-grid, .test-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .hero { padding: 50px 0 70px; }
  .modal { padding: 28px 22px; }
}

/* ===== DASHBOARD APP ===== */
.app-shell { display: grid; grid-template-columns: 268px 1fr; min-height: 100vh; background: var(--bone-50); }
.app-sidebar { background: var(--indigo-950); color: white; padding: 22px 16px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.app-sidebar .logo { padding: 0 8px 24px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar-nav { flex: 1; overflow-y: auto; }
.sidebar-nav .nav-section { padding: 20px 12px 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(163,230,53,.50); }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r-md); color: rgba(255,255,255,.75); font-size: 14px; font-weight: 500; transition: all .15s; margin-bottom: 2px; }
.sidebar-nav a:hover { background: rgba(163,230,53,.06); color: white; }
.sidebar-nav a.active { background: var(--lime-500); color: var(--indigo-900); font-weight: 700; }
.sidebar-nav a .icon { font-size: 17px; width: 20px; text-align: center; }
.sidebar-foot { padding: 16px 8px 4px; border-top: 1px solid rgba(255,255,255,.08); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r-md); cursor: pointer; }
.user-chip:hover { background: rgba(255,255,255,.06); }
.user-chip .avatar { width: 36px; height: 36px; border-radius: var(--r-full); background: linear-gradient(135deg, var(--lime-500), var(--lime-400)); color: var(--indigo-900); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.user-chip .meta { flex: 1; min-width: 0; }
.user-chip .name { font-size: 13px; font-weight: 600; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-chip .email { font-size: 11px; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-topbar { background: white; padding: 14px 32px; border-bottom: 1px solid var(--bone-200); display: flex; align-items: center; gap: 20px; position: sticky; top: 0; z-index: 20; }
.app-topbar .page-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--indigo-900); letter-spacing: -.02em; }
.app-topbar .search { flex: 1; max-width: 420px; display: flex; align-items: center; gap: 10px; background: var(--bone-100); border-radius: var(--r-md); padding: 9px 14px; }
.app-topbar .search input { background: transparent; border: none; outline: none; flex: 1; font-size: 14px; font-family: inherit; color: var(--bone-800); }
.app-topbar .actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--bone-100); color: var(--bone-700); position: relative; transition: all .15s; }
.icon-btn:hover { background: var(--bone-200); }
.icon-btn .dot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: var(--r-full); background: var(--pink-500); border: 2px solid white; }

.app-content { padding: 32px; flex: 1; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.page-head h1 { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--indigo-900); letter-spacing: -.025em; }
.page-head p { color: var(--bone-500); margin-top: 4px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.kpi { background: white; border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--bone-200); transition: all .2s; }
.kpi:hover { border-color: var(--lime-400); transform: translateY(-2px); }
.kpi .lbl { font-size: 13px; color: var(--bone-500); font-weight: 600; margin-bottom: 8px; }
.kpi .val { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--indigo-900); letter-spacing: -.025em; }
.kpi .trend { font-size: 12px; margin-top: 6px; font-weight: 600; }
.kpi .trend.up { color: var(--green-500); }
.kpi .trend.down { color: var(--red-500); }
.kpi.accent { background: linear-gradient(135deg, var(--indigo-900), var(--indigo-800)); color: white; border-color: var(--indigo-800); }
.kpi.accent .lbl { color: rgba(255,255,255,.65); }
.kpi.accent .val { color: var(--lime-400); }
.kpi.accent .trend { color: var(--lime-300); }

.card { background: white; border-radius: var(--r-lg); border: 1px solid var(--bone-200); padding: 24px; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.card-head h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--indigo-900); letter-spacing: -.01em; }
.card-head .link { font-size: 13px; color: var(--indigo-700); font-weight: 600; }
.card-head .link:hover { color: var(--lime-500); }

.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--bone-100); font-size: 14px; }
.table th { font-size: 11px; font-weight: 700; color: var(--bone-500); text-transform: uppercase; letter-spacing: 1px; background: var(--bone-50); }
.table tr:hover td { background: var(--bone-50); }
.table .name-cell { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--indigo-900); }
.table .ava { width: 34px; height: 34px; border-radius: var(--r-full); background: linear-gradient(135deg, var(--indigo-700), var(--indigo-600)); color: white; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 12px; }
.status-pill { display: inline-block; padding: 4px 12px; border-radius: var(--r-full); font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.status-pill.ok { background: var(--lime-100); color: #4d7c0f; }
.status-pill.rev { background: var(--amber-100); color: #b45309; }
.status-pill.rej { background: var(--red-100); color: #b91c1c; }
.status-pill.new { background: var(--indigo-100); color: var(--indigo-700); }

.btn-icon { width: 34px; height: 34px; border-radius: var(--r-md); background: var(--bone-100); color: var(--bone-700); display: inline-grid; place-items: center; }
.btn-icon:hover { background: var(--indigo-100); color: var(--indigo-700); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--bone-200); margin-bottom: 24px; }
.tab { padding: 12px 20px; font-weight: 600; font-size: 14px; color: var(--bone-500); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .15s; }
.tab.active { color: var(--indigo-900); border-bottom-color: var(--lime-500); }

.score-circle { --pct: 87; width: 180px; height: 180px; border-radius: var(--r-full); background: conic-gradient(var(--lime-500) calc(var(--pct) * 1%), var(--bone-200) 0); display: grid; place-items: center; margin: 0 auto; position: relative; }
.score-circle::before { content: ''; position: absolute; inset: 12px; background: white; border-radius: var(--r-full); }
.score-circle .v { position: relative; font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--indigo-900); }

/* Score breakdown bars */
.score-bars { margin-top: 24px; display: grid; gap: 12px; }
.score-bar { display: grid; grid-template-columns: 160px 1fr 50px; align-items: center; gap: 14px; font-size: 13px; }
.score-bar .lbl { color: var(--bone-600); font-weight: 500; }
.score-bar .track { height: 8px; background: var(--bone-100); border-radius: 99px; overflow: hidden; position: relative; }
.score-bar .fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--lime-500), var(--lime-400)); transition: width .6s ease; }
.score-bar .fill.warn { background: linear-gradient(90deg, var(--amber-500), #fbbf24); }
.score-bar .fill.bad { background: linear-gradient(90deg, var(--red-500), #f87171); }
.score-bar .val { text-align: right; font-weight: 700; color: var(--indigo-900); font-family: var(--font-display); }

/* Prediction widget */
.prediction-widget { margin-top: 20px; padding: 22px; background: linear-gradient(135deg, var(--indigo-900), var(--indigo-800)); color: white; border-radius: var(--r-md); }
.prediction-widget .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.prediction-widget .pct { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--lime-400); letter-spacing: -.02em; line-height: 1; }
.prediction-widget .note { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 6px; }

/* Timeline */
.timeline { padding: 8px 0; }
.tl-item { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 12px 0; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 15px; top: 38px; bottom: -10px; width: 2px; background: var(--bone-200); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bone-100); color: var(--bone-400); font-weight: 700; font-size: 14px; z-index: 1; }
.tl-item.done .tl-dot { background: var(--lime-500); color: var(--indigo-900); }
.tl-item.current .tl-dot { background: var(--indigo-900); color: var(--lime-400); box-shadow: 0 0 0 4px rgba(30,27,75,.15); }
.tl-item.pending .tl-dot { opacity: .5; }
.tl-title { font-weight: 600; color: var(--indigo-900); font-size: 14px; }
.tl-meta { font-size: 12px; color: var(--bone-500); margin-top: 2px; }

/* Comparator */
.compare-grid { display: grid; gap: 16px; }
.compare-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.compare-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.compare-card { background: white; border: 1px solid var(--bone-200); border-radius: var(--r-lg); padding: 24px; transition: all .2s; }
.compare-card.winner { border: 2px solid var(--lime-500); position: relative; }
.compare-card.winner::before { content: '🏆 GANADOR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--lime-500); color: var(--indigo-900); padding: 4px 14px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .5px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .field-full { grid-column: 1 / -1; }

.empty { padding: 60px 20px; text-align: center; color: var(--bone-500); }
.empty .icon-big { font-size: 48px; margin-bottom: 14px; opacity: .5; }

.activity-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--bone-100); }
.activity-item:last-child { border-bottom: none; }
.activity-dot { width: 38px; height: 38px; border-radius: var(--r-md); display: grid; place-items: center; flex-shrink: 0; background: var(--indigo-100); color: var(--indigo-700); font-size: 16px; }
.activity-item .meta { flex: 1; }
.activity-item .text { font-size: 14px; color: var(--bone-700); }
.activity-item .text strong { color: var(--indigo-900); }
.activity-item .time { font-size: 12px; color: var(--bone-400); margin-top: 2px; }

@media (max-width: 980px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { position: fixed; left: 0; top: 0; width: 260px; z-index: 60; transform: translateX(-100%); transition: transform .25s; }
  .app-sidebar.open { transform: translateX(0); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .app-content { padding: 20px; }
  .compare-grid.cols-3, .compare-grid.cols-2 { grid-template-columns: 1fr; }
}
