/* ============================================================
   SECTOMATCH — Design System v2 "Capital"
   Tipografía: Sora (display) + Inter (texto)
   Estética: navy profundo, teal eléctrico, gradientes sutiles,
   iconografía SVG, sombras en capas. Mobile-first. WCAG 2.2 AA.
   ============================================================ */

:root {
  /* Marca */
  --ink: #06101F;
  --navy-950: #081425;
  --navy-900: #0B1B31;
  --navy-800: #102743;
  --navy-700: #16324F;
  --teal-600: #0B8F84;
  --teal-500: #0FA396;
  --teal-400: #14C2B0;
  --mint-400: #37E0C8;
  --sky-400: #46B8F4;

  /* Superficies claras */
  --bg: #F5F7FB;
  --surface: #FFFFFF;
  --surface-2: #EEF2F8;
  --border: #E3E9F2;
  --border-strong: #CBD6E4;

  /* Texto */
  --text: #16243A;
  --text-2: #4A5A72;
  --text-3: #7585A0;
  --text-inv: #EAF1FA;
  --text-inv-2: #9FB2CC;

  /* Estados */
  --danger: #E05252;
  --danger-soft: #FDEFEF;
  --warn: #9C6A12;
  --warn-soft: #FBF3E2;
  --ok-soft: #E4F8F1;
  --ok-border: #9FE7CE;
  --ok-ink: #0B7154;
  --teal-soft: #E3F5F3;

  /* Efectos */
  --grad-accent: linear-gradient(120deg, #14C2B0 0%, #2BB3E8 100%);
  --grad-accent-soft: linear-gradient(120deg, rgba(20,194,176,0.14), rgba(43,179,232,0.14));
  --grad-btn: linear-gradient(135deg, #0FA396 0%, #0B8F84 55%, #0A7E8C 100%);
  --shadow-1: 0 1px 2px rgba(10, 22, 40, 0.06), 0 4px 14px rgba(10, 22, 40, 0.06);
  --shadow-2: 0 2px 6px rgba(10, 22, 40, 0.08), 0 18px 44px rgba(10, 22, 40, 0.12);
  --shadow-glow: 0 10px 34px rgba(16, 178, 160, 0.35);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Sora", "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; vertical-align: middle; }
a { color: var(--teal-600); }

::selection { background: rgba(20, 194, 176, 0.25); }

:focus-visible {
  outline: 3px solid rgba(20, 194, 176, 0.65);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: -0.02em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Iconos SVG */
.ic { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-lg { width: 24px; height: 24px; }

/* ============ BANNER DEMO ============ */
.demo-banner {
  background: var(--navy-950);
  color: var(--text-inv-2);
  font-size: 0.8rem;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.demo-banner strong { color: #fff; font-weight: 600; }
.demo-banner a { color: var(--mint-400); text-decoration: none; }
.demo-banner a:hover { text-decoration: underline; }
.demo-banner .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-400); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 10px rgba(55,224,200,0.9); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 20, 37, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}
.brand .logo-mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 4px 14px rgba(20,194,176,0.45)); }
.brand .accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  text-decoration: none;
  color: var(--text-inv-2);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 9px 13px;
  border-radius: 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.main-nav a.active { color: #fff; background: rgba(255,255,255,0.09); }
.main-nav a.nav-cta {
  margin-left: 8px;
  background: var(--grad-btn);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(15,163,150,0.35), inset 0 1px 0 rgba(255,255,255,0.18);
}
.main-nav a.nav-cta:hover { filter: brightness(1.07); background: var(--grad-btn); }

@media (max-width: 759px) {
  .main-nav a:not(.nav-cta) { display: none; }
}

/* ============ BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 26px;
  border-radius: 13px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 8px 22px rgba(13, 148, 136, 0.32), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 10px 28px rgba(13,148,136,0.42), inset 0 1px 0 rgba(255,255,255,0.2); }

.btn-outline { background: var(--surface); color: var(--teal-600); border-color: rgba(11,143,132,0.5); }
.btn-outline:hover { background: var(--teal-soft); border-color: var(--teal-600); }

.btn-inv {
  background: rgba(255,255,255,0.07);
  color: #fff;
  border-color: rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
}
.btn-inv:hover { background: rgba(255,255,255,0.13); }

.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

.btn-danger-outline { background: var(--surface); color: var(--danger); border-color: rgba(224,82,82,0.55); }
.btn-danger-outline:hover { background: var(--danger-soft); border-color: var(--danger); }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.88rem; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: 15px 32px; font-size: 1.05rem; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 82% -12%, rgba(20, 194, 176, 0.17), transparent 62%),
    radial-gradient(760px 420px at -8% 38%, rgba(43, 121, 232, 0.14), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 72%, #0C1E37 100%);
  color: var(--text-inv);
  padding: 74px 0 86px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 560px at 60% 0%, rgba(0,0,0,0.9), transparent 75%);
  pointer-events: none;
}

.hero .grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(20, 194, 176, 0.10);
  border: 1px solid rgba(55, 224, 200, 0.35);
  color: #7BEFD9;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2.35rem, 5.6vw, 3.7rem);
  line-height: 1.07;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 22px 0 18px;
  color: #fff;
}
.hero h1 .hl {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.14rem;
  color: var(--text-inv-2);
  max-width: 560px;
  margin: 0 0 30px;
  line-height: 1.65;
}

.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 26px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 560px;
}
.hero-stats .stat .num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-stats .stat .num .u { color: var(--mint-400); }
.hero-stats .stat .lbl { font-size: 0.8rem; color: var(--text-inv-2); margin-top: 2px; }

/* Composición visual del hero */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 42px 0 30px; }
.hero-visual .glow {
  position: absolute; inset: auto;
  width: 420px; height: 420px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(20,194,176,0.28), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.float-toast {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 30, 53, 0.92);
  border: 1px solid rgba(55, 224, 200, 0.4);
  color: #fff;
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 18px 44px rgba(4, 12, 24, 0.6);
  backdrop-filter: blur(8px);
  z-index: 3;
}
.float-toast .t-ic {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--grad-accent);
  display: flex; align-items: center; justify-content: center;
  color: #06302B;
}
.float-toast small { display: block; font-weight: 400; color: var(--text-inv-2); }
.toast-match { top: -36px; right: -4px; animation: floaty 5.2s ease-in-out infinite; }
.toast-score { bottom: -14px; left: -4px; animation: floaty 6s 0.8s ease-in-out infinite; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ============ TARJETA DE VACANTE ============ */
.vacancy-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: var(--text);
}
.vacancy-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--grad-accent);
  opacity: 0.9;
}

.vacancy-card header.vc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

.vc-company {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}
.vc-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.22;
  margin: 5px 0 3px;
  letter-spacing: -0.015em;
}
.vc-loc { font-size: 0.86rem; color: var(--text-2); margin: 2px 0 0; display: flex; align-items: center; gap: 6px; }
.vc-loc .ic { color: var(--teal-600); }

.match-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(120deg, rgba(20,194,176,0.13), rgba(43,179,232,0.13));
  border: 1px solid rgba(15, 163, 150, 0.55);
  color: #0A6B62;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.88rem;
  white-space: nowrap;
}
.match-pill.range { font-size: 0.8rem; }

.salary-box {
  background: linear-gradient(180deg, #F8FAFD, #F1F5FA);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 13px 15px;
}
.salary-box .label { font-size: 0.68rem; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.salary-box .value { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; color: var(--ink); margin-top: 2px; }
.salary-box .extra { font-size: 0.8rem; color: var(--text-2); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
}
.chip.ok { background: var(--ok-soft); border-color: var(--ok-border); color: var(--ok-ink); }
.chip.miss { background: var(--warn-soft); border-color: #EBD9A8; color: var(--warn); }
.chip.info { background: var(--teal-soft); border-color: rgba(15,163,150,0.4); color: #0A6B62; }

.vc-meta { display: flex; flex-wrap: wrap; gap: 7px 16px; font-size: 0.82rem; color: var(--text-2); }
.vc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.vc-meta .ic { color: var(--teal-500); }

/* Desglose */
.breakdown { border-top: 1px dashed var(--border-strong); padding-top: 11px; }
.breakdown summary {
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--teal-600);
  list-style: none;
  min-height: 44px;
  display: flex; align-items: center; gap: 8px;
}
.breakdown summary::-webkit-details-marker { display: none; }
.breakdown summary:hover { color: #086158; }

.bk-row { display: grid; grid-template-columns: 132px 1fr 44px; align-items: center; gap: 10px; margin: 8px 0; font-size: 0.79rem; color: var(--text-2); }
.bk-bar { height: 7px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bk-bar > span { display: block; height: 100%; background: var(--grad-accent); border-radius: 999px; }
.bk-val { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.bk-weight { color: var(--text-3); font-weight: 400; }
.bk-note { font-size: 0.76rem; color: var(--warn); margin: 8px 0 0; }

.vc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 4px; }

/* ============ SECCIONES LANDING ============ */
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.on-white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section.on-dark {
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(20,194,176,0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--text-inv);
}

.section-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}
.on-dark .kicker { color: var(--mint-400); }
.section-head h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.15;
}
.on-dark .section-head h2 { color: #fff; }
.section-head p { color: var(--text-2); margin: 0; font-size: 1.05rem; }
.on-dark .section-head p { color: var(--text-inv-2); }

/* Strip de marcas */
.logo-strip { padding: 30px 0 34px; background: var(--surface); border-bottom: 1px solid var(--border); }
.logo-strip .lbl { text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin: 0 0 18px; }
.logo-strip .marks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 44px;
  opacity: 0.6;
}
.logo-strip .mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--navy-800);
  white-space: nowrap;
}
.logo-strip .mark.serif { font-family: Georgia, serif; font-style: italic; letter-spacing: 0.02em; }
.logo-strip .mark.thin { font-weight: 400; letter-spacing: 0.22em; }

/* Bento grid */
.bento { display: grid; grid-template-columns: 1fr; gap: 18px; }
.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-1);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.bento-card .b-ic {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--grad-accent-soft);
  border: 1px solid rgba(15,163,150,0.25);
  color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.bento-card h3 { margin: 0 0 9px; color: var(--ink); font-size: 1.1rem; font-weight: 700; }
.bento-card p { margin: 0; color: var(--text-2); font-size: 0.93rem; line-height: 1.6; }
.bento-card .mini-bars { margin-top: 18px; display: grid; gap: 8px; }

/* Pasos */
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: step; }
.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-1);
}
.step-card .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(8,20,37,0.3);
}
.step-card h3 { margin: 0 0 8px; font-size: 1.06rem; color: var(--ink); }
.step-card p { margin: 0; color: var(--text-2); font-size: 0.92rem; }

/* Mockups de producto */
.product-band .cols { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.phones { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.phone {
  width: 252px;
  border-radius: 34px;
  background: linear-gradient(180deg, #1B2B44, #0D1B30);
  padding: 10px;
  box-shadow: 0 30px 70px rgba(3, 10, 22, 0.55), inset 0 1px 0 rgba(255,255,255,0.12);
}
.phone .screen {
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
}
.phone .p-top {
  background: var(--navy-950);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 9px 14px 8px;
  display: flex; justify-content: space-between; align-items: center;
}
.phone .p-body { padding: 12px; display: grid; gap: 10px; }
.p-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 12px; font-size: 0.72rem; color: var(--text-2);
  box-shadow: var(--shadow-1);
}
.p-card .t { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 0.8rem; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.p-pill { font-size: 0.62rem; font-weight: 700; color: #0A6B62; background: var(--teal-soft); border: 1px solid rgba(15,163,150,0.4); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.p-bar { height: 5px; border-radius: 999px; background: var(--surface-2); margin-top: 6px; overflow: hidden; }
.p-bar > i { display: block; height: 100%; background: var(--grad-accent); }
.p-row { display: flex; gap: 6px; margin-top: 8px; }
.p-btn { flex: 1; text-align: center; border-radius: 9px; padding: 7px 4px; font-weight: 700; font-size: 0.66rem; }
.p-btn.no { border: 1.2px solid rgba(224,82,82,0.5); color: var(--danger); background: #fff; }
.p-btn.yes { background: var(--grad-btn); color: #fff; }

.product-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.product-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-inv-2); font-size: 0.95rem; }
.product-points .pt-ic { color: var(--mint-400); margin-top: 2px; }
.product-points strong { color: #fff; font-weight: 600; }

/* Motor / pesos */
.engine-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.engine-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-1);
}
.engine-card h3 { margin: 0 0 14px; font-size: 1.02rem; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.engine-card h3 .ic { color: var(--teal-600); }
.engine-card p { color: var(--text-2); font-size: 0.9rem; margin: 0; }
.engine-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-2); font-size: 0.9rem; display: grid; gap: 6px; }

/* Sectores */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.sector-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 14px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sector-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.sector-chip .s-ic {
  width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); color: var(--text-3);
}
.sector-chip strong { color: var(--ink); display: block; font-size: 0.95rem; font-family: var(--font-display); }
.sector-chip .state { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 999px; padding: 4px 11px; display: inline-block; margin-top: 10px; }
.sector-chip.live { border: 1.5px solid rgba(15,163,150,0.6); box-shadow: 0 0 0 4px rgba(20,194,176,0.1); }
.sector-chip.live .s-ic { background: var(--grad-accent-soft); color: var(--teal-600); }
.sector-chip.live .state { background: var(--grad-btn); color: #fff; }
.sector-chip.soon .state { background: var(--surface-2); color: var(--text-3); }

/* CTA band */
.cta-band {
  position: relative;
  background:
    radial-gradient(700px 300px at 50% -40%, rgba(55,224,200,0.25), transparent 70%),
    linear-gradient(135deg, #0A1A2F 0%, #0E2847 60%, #0B3A47 100%);
  border-radius: var(--r-xl);
  padding: 64px 28px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); margin: 0 0 12px; font-weight: 800; }
.cta-band p { color: var(--text-inv-2); max-width: 520px; margin: 0 auto 28px; }
.cta-band .cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy-950);
  color: var(--text-inv-2);
  padding: 64px 0 34px;
  font-size: 0.9rem;
  margin-top: 84px;
}
.site-footer .top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.site-footer .f-brand p { max-width: 300px; font-size: 0.86rem; line-height: 1.6; margin: 14px 0 20px; }
.news-form { display: flex; gap: 8px; max-width: 340px; }
.news-form input {
  flex: 1; min-height: 46px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 11px;
  color: #fff;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.88rem;
}
.news-form input::placeholder { color: var(--text-inv-2); }
.news-form .btn { min-height: 46px; padding: 10px 18px; }

.site-footer .cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.site-footer h4 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 16px; font-family: var(--font-display); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--text-inv-2); text-decoration: none; transition: color 0.12s ease; }
.site-footer a:hover { color: #fff; }

.site-footer .legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  padding-top: 26px;
  font-size: 0.78rem;
  color: #68799A;
}
.site-footer .legal .links { display: flex; flex-wrap: wrap; gap: 18px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-inv-2);
}
.socials a:hover { color: #fff; border-color: rgba(255,255,255,0.35); }

/* ============ DEMO APP ============ */
.app-body { background: linear-gradient(180deg, #EDF1F8 0%, var(--bg) 220px); }

.demo-shell { max-width: 500px; margin: 0 auto; padding: 22px 18px 118px; }
.demo-shell.wide { max-width: 780px; }

.demo-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.demo-top h1 { font-size: 1.45rem; color: var(--ink); margin: 0; font-weight: 800; letter-spacing: -0.02em; }
.demo-top .sub { font-size: 0.84rem; color: var(--text-2); margin-top: 3px; }

.ctx-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.72rem; font-weight: 600;
  padding: 7px 12px; border-radius: 999px;
  box-shadow: var(--shadow-1);
  white-space: nowrap;
}
.ctx-pill .ic { color: var(--teal-600); }

/* Tab bar flotante */
.tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom));
  width: min(500px, calc(100% - 20px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(10, 22, 40, 0.18);
  display: flex;
  justify-content: space-around;
  padding: 7px;
  z-index: 50;
}
.tabbar button {
  position: relative;
  flex: 1;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-3);
  cursor: pointer;
  padding: 7px 2px 6px;
  border-radius: 13px;
  min-height: 52px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: color 0.12s ease, background 0.12s ease;
}
.tabbar button .ic { width: 20px; height: 20px; }
.tabbar button:hover { color: var(--text-2); }
.tabbar button.active { color: var(--teal-600); background: var(--teal-soft); }
.tabbar button .count {
  position: absolute;
  top: 3px; right: 50%;
  transform: translateX(22px);
  background: var(--danger);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 1px 6px;
  box-shadow: 0 2px 6px rgba(224,82,82,0.5);
}

.deck-info { text-align: center; font-size: 0.8rem; color: var(--text-3); margin: 4px 0 14px; }
.stack-wrap { display: flex; justify-content: center; }

.empty-state {
  text-align: center;
  color: var(--text-3);
  padding: 54px 24px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
  font-size: 0.93rem;
}
.empty-state .e-ic {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
}

.list-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 15px 17px;
  margin-bottom: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-1);
}
.list-item .li-main { min-width: 0; }
.list-item .li-title { font-weight: 700; color: var(--ink); font-size: 0.94rem; }
.list-item .li-sub { font-size: 0.79rem; color: var(--text-2); margin-top: 2px; }
.list-item .li-actions { display: flex; gap: 8px; flex: none; }

/* Modales */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(6, 16, 31, 0.6);
  backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  z-index: 100;
}
.modal {
  background: var(--surface);
  border-radius: 22px;
  max-width: 430px;
  width: 100%;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(4, 12, 24, 0.5);
  max-height: 90vh;
  overflow: auto;
}
.modal h2 { color: var(--ink); margin: 0 0 8px; font-size: 1.4rem; font-weight: 800; }
.modal p { color: var(--text-2); font-size: 0.92rem; }
.modal .modal-actions { display: grid; gap: 10px; margin-top: 20px; }
.modal-icon {
  width: 72px; height: 72px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: var(--grad-btn);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
}
.modal-icon .ic { width: 34px; height: 34px; }
.modal-icon.err { background: linear-gradient(135deg, #E05252, #B23B3B); box-shadow: 0 10px 30px rgba(224,82,82,0.4); }

/* Chat */
.chat-box {
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  margin-top: 16px;
  display: grid;
  gap: 9px;
  max-height: 260px;
  overflow: auto;
}
.msg { max-width: 86%; padding: 10px 14px; border-radius: 15px; font-size: 0.87rem; line-height: 1.5; }
.msg.them { background: var(--surface); border: 1px solid var(--border); justify-self: start; border-bottom-left-radius: 5px; color: var(--text); }
.msg.me { background: var(--grad-btn); color: #fff; justify-self: end; border-bottom-right-radius: 5px; }
.msg .who { display: block; font-size: 0.66rem; font-weight: 700; opacity: 0.72; margin-bottom: 3px; letter-spacing: 0.03em; }

.chat-input { display: flex; gap: 8px; margin-top: 12px; }
.chat-input input {
  flex: 1; min-height: 46px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--surface);
}
.chat-input input:focus { border-color: var(--teal-500); outline: none; box-shadow: 0 0 0 3px rgba(20,194,176,0.18); }

.interview-box {
  margin-top: 13px;
  background: var(--teal-soft);
  border: 1px solid rgba(15,163,150,0.35);
  border-radius: var(--r-md);
  padding: 13px 15px;
  text-align: left;
  font-size: 0.86rem;
  color: #0A6B62;
}

/* Paneles / formularios */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-1);
}
.panel h2, .panel h3 { margin: 0 0 6px; color: var(--ink); font-size: 1.03rem; display: flex; align-items: center; gap: 9px; }
.panel h3 .ic { color: var(--teal-600); }
.panel .hint { font-size: 0.8rem; color: var(--text-3); margin: 0 0 15px; }

.field { margin-bottom: 17px; }
.field label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--ink); margin-bottom: 7px; }
.field input[type="number"], .field select, .field input[type="text"] {
  width: 100%; min-height: 48px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: inherit; font-size: 0.95rem;
  background: var(--surface);
}
.field input:focus { border-color: var(--teal-500); outline: none; box-shadow: 0 0 0 3px rgba(20,194,176,0.18); }
.field input[type="range"] { width: 100%; accent-color: var(--teal-500); min-height: 32px; }
.field .range-val { font-weight: 800; color: var(--teal-600); }

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-pill {
  display: flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  padding: 10px 12px;
  font-size: 0.82rem;
  cursor: pointer;
  background: var(--surface);
  min-height: 46px;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.check-pill:hover { border-color: var(--border-strong); }
.check-pill:has(input:checked) { border-color: var(--teal-500); background: var(--teal-soft); color: #0A6B62; font-weight: 600; }
.check-pill input { accent-color: var(--teal-600); width: 17px; height: 17px; flex: none; }

.notice { border-radius: var(--r-md); padding: 14px 16px; font-size: 0.86rem; margin-bottom: 15px; line-height: 1.55; }
.notice.info { background: var(--teal-soft); color: #0A6B62; border: 1px solid rgba(15,163,150,0.3); }
.notice.warn { background: var(--warn-soft); color: var(--warn); border: 1px solid #EBD9A8; }
.notice ul { margin: 8px 0 0; padding-left: 18px; }

/* ============ PRECIOS ============ */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.price-card h3 { margin: 0; color: var(--ink); font-size: 1.05rem; }
.price-card .price { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--ink); margin: 12px 0 2px; letter-spacing: -0.03em; }
.price-card .price small { font-size: 0.9rem; color: var(--text-3); font-weight: 500; font-family: var(--font-body); }
.price-card .alt-price { font-size: 0.8rem; color: var(--text-3); margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; font-size: 0.89rem; color: var(--text-2); }
.price-card ul li { display: flex; gap: 10px; align-items: flex-start; }
.price-card ul .tick { color: var(--teal-500); margin-top: 2px; }
.price-card .btn { margin-top: auto; }

.price-card.featured {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border: 1px solid rgba(55,224,200,0.4);
  color: var(--text-inv);
  box-shadow: 0 24px 60px rgba(8, 20, 37, 0.45);
}
.price-card.featured h3, .price-card.featured .price { color: #fff; }
.price-card.featured .price small, .price-card.featured .alt-price { color: var(--text-inv-2); }
.price-card.featured ul { color: var(--text-inv-2); }
.price-card.featured ul .tick { color: var(--mint-400); }
.price-card .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-accent);
  color: #053B34;
  font-size: 0.68rem; font-weight: 800;
  padding: 5px 15px;
  border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(20,194,176,0.45);
}

/* ============ ANIMACIONES ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@keyframes cardOutRight { to { transform: translateX(120%) rotate(7deg); opacity: 0; } }
@keyframes cardOutLeft { to { transform: translateX(-120%) rotate(-7deg); opacity: 0; } }
@keyframes cardIn { from { transform: translateY(16px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.card-out-right { animation: cardOutRight 0.3s ease forwards; }
.card-out-left { animation: cardOutLeft 0.3s ease forwards; }
.card-in { animation: cardIn 0.32s ease; }

@media (prefers-reduced-motion: reduce) {
  .card-out-right, .card-out-left, .card-in, .toast-match, .toast-score { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (min-width: 760px) {
  .hero .grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-stats { grid-template-columns: repeat(4, auto); gap: 0 44px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.span2 { grid-column: span 2; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .engine-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .top { grid-template-columns: 1.1fr 1.6fr; }
  .site-footer .cols { grid-template-columns: repeat(3, 1fr); }
  .check-grid { grid-template-columns: repeat(3, 1fr); }
  .product-band .cols { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1020px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento-card.span2 { grid-column: span 1; }
  .bento-card.wide { grid-column: span 2; }
  .pricing-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Ajustes finos de iconografía */
.empty-state .e-ic { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 16px; background: var(--surface-2); color: var(--text-3); display: flex; align-items: center; justify-content: center; }
.empty-state .e-ic .ic { width: 26px; height: 26px; }
.chip .ic { width: 0.95em; height: 0.95em; }
.notice .ic, .li-sub .ic, .interview-box .ic, .hint .ic { vertical-align: -0.18em; }
code { font: 600 0.82em ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--surface-2); color: var(--navy-800); padding: 2px 7px; border-radius: 6px; }
.engine-card code { white-space: nowrap; }
