/* ─── VARIABLES — alineado con LOCKSYS app (Dark Industrial) ──── */
:root {
  --bg:       #0a0d12;
  --surface:  #111620;
  --surface2: #161c28;
  --surface3: #1e2638;
  --border:   #2a3448;
  --text:     #e8edf5;
  --muted:    #8892a4;
  --mono-txt: #c9d1d9;
  --accent:   #ff6b00;
  --accent-d: rgba(255,107,0,.15);
  --accent-g: rgba(255,107,0,.30);
  --accent-h: #ff8533;
  --green:    #00d68f;
  --green-d:  rgba(0,214,143,.10);
  --red:      #ff4757;
  --red-d:    rgba(255,71,87,.10);
  --yellow:   #ffa502;
  --purple:   #8b5cf6;
  --cyan:     #22d3ee;
  --radius:   6px;
  --radius-lg:10px;
  --shadow:   0 4px 24px rgba(0,0,0,.55);
  --shadow-sm:0 2px 8px  rgba(0,0,0,.40);
  --font:     'Inter', system-ui, sans-serif;
  --mono:     'JetBrains Mono', 'Fira Code', monospace;
  --max-w:    1160px;
  --t:        .2s ease;
}

[data-theme="light"] {
  --bg:       #f0f2f7;
  --surface:  #ffffff;
  --surface2: #f5f7fc;
  --surface3: #eaeef4;
  --border:   #d1d9e8;
  --text:     #1a1f2e;
  --muted:    #5a6478;
  --mono-txt: #2d3748;
  --accent:   #e05a00;
  --accent-d: rgba(224,90,0,.10);
  --accent-g: rgba(224,90,0,.25);
  --accent-h: #c04d00;
  --green:    #00a86b;
  --green-d:  rgba(0,168,107,.10);
  --red:      #d93025;
  --red-d:    rgba(217,48,37,.10);
  --yellow:   #d4900a;
  --shadow:   0 4px 24px rgba(0,0,0,.09);
  --shadow-sm:0 2px 8px  rgba(0,0,0,.07);
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; transition: background var(--t), color var(--t); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent-h); }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
code { font-family: var(--mono); font-size: .85em; background: var(--surface2); padding: .1em .4em; border-radius: 4px; color: var(--mono-txt); }

/* ─── LAYOUT ─────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--muted); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin: .5rem 0 1rem; }
.section-header p  { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.section-tag { font-family: var(--mono); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .625rem 1.35rem; border-radius: var(--radius); font-size: .9rem; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer; transition: all var(--t); text-decoration: none;
  white-space: nowrap;
}
.btn-primary  { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); color: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-g); }
.btn-outline  { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-ghost    { background: transparent; color: var(--text); border-color: transparent; }
.btn-ghost:hover  { background: var(--surface2); color: var(--text); }
.btn-lg  { padding: .8rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; margin-top: 1rem; }
.btn-sm  { padding: .4rem .9rem; font-size: .8rem; }
.icon-btn { background: transparent; border: 1.5px solid var(--border); color: var(--text); border-radius: var(--radius); padding: .45rem .65rem; cursor: pointer; font-size: .8rem; font-weight: 600; font-family: var(--mono); display: inline-flex; align-items: center; gap: .3rem; transition: all var(--t); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ─── NAV ─────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: .9rem 0;
  transition: background var(--t), backdrop-filter var(--t), border-color var(--t), box-shadow var(--t);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(10,13,18,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
[data-theme="light"] #nav.scrolled { background: rgba(240,242,247,.92); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; }
.logo { font-family: var(--mono); font-size: 1.2rem; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.logo span { color: var(--accent); }
.logo:hover { color: var(--text); }
.nav-links { display: flex; gap: .25rem; }
.nav-links a { color: var(--muted); padding: .4rem .75rem; border-radius: 6px; font-size: .875rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); background: var(--surface2); }
.nav-actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.hamburger { display: none; flex-direction: column; gap: 4px; }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--t); }

/* ─── HERO ────────────────────────────────────────────────────── */
.hero { padding: 9rem 0 6rem; min-height: 100vh; display: flex; align-items: center; background: var(--bg); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent-d); border: 1px solid var(--accent-g); color: var(--accent); border-radius: 100px; padding: .3rem .9rem; font-size: .78rem; font-weight: 600; margin-bottom: 1.5rem; }
.badge-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 1.1rem; margin: 1.25rem 0 2rem; max-width: 480px; line-height: 1.7; }
.hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-loc { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; font-size: .82rem; color: var(--muted); }
.hloc-ico { font-size: .95rem; }
.hero-tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.htag { font-family: var(--mono); font-size: .72rem; padding: .25rem .65rem; border: 1px solid var(--border); border-radius: 100px; color: var(--muted); }

/* ─── LOCKER VISUAL ──────────────────────────────────────────── */
.locker-frame { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.locker-header { background: var(--surface2); padding: .6rem 1rem; display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid var(--border); }
.lf-dot { width: 10px; height: 10px; border-radius: 50%; }
.lf-green  { background: var(--green); }
.lf-yellow { background: var(--yellow); }
.lf-red    { background: var(--red); }
.lf-title  { font-family: var(--mono); font-size: .7rem; color: var(--muted); margin-left: .25rem; }
.locker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 1rem; }
.lk { position: relative; aspect-ratio: 1; border-radius: 6px; display: flex; align-items: flex-end; justify-content: flex-start; padding: .4rem; border: 1.5px solid var(--border); cursor: default; transition: transform var(--t); }
.lk:hover { transform: scale(1.04); }
.lk span { font-family: var(--mono); font-size: .65rem; font-weight: 700; z-index: 1; }
.lk-dot { position: absolute; top: .4rem; right: .4rem; width: 7px; height: 7px; border-radius: 50%; }
.lk-free { background: var(--green-d); border-color: rgba(0,214,143,.25); }
.lk-free .lk-dot { background: var(--green); }
.lk-free span  { color: var(--green); }
.lk-occ  { background: rgba(255,165,2,.08); border-color: rgba(255,165,2,.30); }
.lk-occ  .lk-dot { background: var(--yellow); }
.lk-occ  span  { color: var(--yellow); }
.lk-open { background: var(--accent-d); border-color: var(--accent-g); }
.lk-open .lk-dot { background: var(--accent); animation: pulse 1.2s infinite; }
.lk-open span  { color: var(--accent); }
.lk-res  { background: rgba(139,92,246,.08); border-color: rgba(139,92,246,.3); }
.lk-res  .lk-dot { background: var(--purple); }
.lk-res  span  { color: var(--purple); }
.lk-anim { animation: open-close 3s ease-in-out infinite; }
@keyframes open-close {
  0%,100% { background: rgba(255,165,2,.08); border-color: rgba(255,165,2,.3); }
  50%     { background: var(--accent-d); border-color: var(--accent-g); }
}
.locker-legend { display: flex; gap: 1rem; padding: .75rem 1rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.leg-item { display: flex; align-items: center; gap: .35rem; font-size: .7rem; color: var(--muted); }
.leg-dot { width: 8px; height: 8px; border-radius: 50%; }
.leg-dot.free { background: var(--green); }
.leg-dot.occ  { background: var(--yellow); }
.leg-dot.open { background: var(--accent); }
.leg-dot.res  { background: var(--purple); }

/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar { background: var(--surface2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-inner { display: flex; align-items: center; justify-content: space-around; padding: 2rem 0; gap: 1rem; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num  { font-family: var(--mono); font-size: 2rem; font-weight: 700; color: var(--accent); display: block; }
.stat-label{ font-size: .8rem; color: var(--muted); display: block; margin-top: .15rem; }
.stat-sep  { width: 1px; height: 2.5rem; background: var(--border); }

/* ─── EL PROBLEMA ────────────────────────────────────────────── */
.problema-section { background: var(--bg); }
.problema-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.prob-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: all var(--t); }
.prob-card:hover { border-color: var(--red); box-shadow: 0 0 0 1px var(--red-d); transform: translateY(-2px); }
.prob-ico { font-size: 2rem; margin-bottom: .9rem; }
.prob-card h3 { margin-bottom: .75rem; }
.prob-list { display: flex; flex-direction: column; gap: .45rem; }
.prob-list li { font-size: .875rem; color: var(--muted); padding-left: 1.1rem; position: relative; }
.prob-list li::before { content: "·"; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 1.1rem; line-height: 1.4; }
.prob-highlight { margin-top: 2rem; background: var(--accent-d); border: 1px solid var(--accent-g); border-radius: var(--radius-lg); padding: 1.5rem 2rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.prob-hl-num { font-family: var(--mono); font-size: 2.5rem; font-weight: 700; color: var(--accent); flex-shrink: 0; line-height: 1; }
.prob-hl-text { font-size: .95rem; color: var(--muted); }

/* ─── LA SOLUCIÓN ────────────────────────────────────────────── */
.solucion-section { background: var(--surface); }
.sol-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.sol-feat { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; transition: all var(--t); }
.sol-feat:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--accent-g), var(--shadow-sm); }
.sol-feat-ico { font-size: 2rem; margin-bottom: 1rem; }
.sol-feat h4 { margin-bottom: .5rem; }
.sol-feat p { font-size: .875rem; line-height: 1.65; }

/* ─── EL NUEVO PROCESO ───────────────────────────────────────── */
.proceso-section { background: var(--bg); }
.newproc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.np-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; position: relative; transition: all var(--t); }
.np-step:hover { border-color: var(--accent); transform: translateY(-2px); }
.np-num { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 1rem; font-weight: 700; margin-bottom: .9rem; box-shadow: 0 0 0 4px var(--accent-d); }
.np-step h4 { margin-bottom: .45rem; }
.np-step p { font-size: .875rem; line-height: 1.65; }

/* ─── SMART AUDITOR ──────────────────────────────────────────── */
.auditor-section { background: var(--surface); }
.auditor-pipeline { display: flex; align-items: flex-start; gap: .75rem; }
.aud-step { flex: 1; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; position: relative; transition: all var(--t); }
.aud-step:hover { border-color: var(--accent); }
.aud-badge { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.aud-ia-tag { font-family: var(--mono); font-size: .65rem; font-weight: 700; color: var(--accent); background: var(--accent-d); border: 1px solid var(--accent-g); padding: .15rem .55rem; border-radius: 100px; display: inline-block; margin-bottom: .6rem; }
.aud-step h4 { margin-bottom: .15rem; }
.aud-sub { font-family: var(--mono); font-size: .7rem; color: var(--muted); display: block; margin-bottom: .75rem; }
.aud-list { display: flex; flex-direction: column; gap: .4rem; }
.aud-list li { font-size: .8rem; color: var(--muted); padding-left: 1rem; position: relative; line-height: 1.5; }
.aud-list li::before { content: "·"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.aud-arrow { color: var(--muted); font-size: 1.25rem; padding-top: 1.2rem; flex-shrink: 0; align-self: flex-start; }

/* ─── DASHBOARD ──────────────────────────────────────────────── */
.dashboard-section { background: var(--bg); }
.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.dash-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; transition: all var(--t); }
.dash-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--accent-g), var(--shadow-sm); }
.dash-ico { font-size: 2rem; margin-bottom: 1rem; }
.dash-card h4 { margin-bottom: .75rem; }
.dash-list { display: flex; flex-direction: column; gap: .5rem; }
.dash-list li { font-size: .875rem; color: var(--muted); padding-left: 1.25rem; position: relative; }
.dash-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-size: .8rem; line-height: 1.55; }

/* ─── ROI ────────────────────────────────────────────────────── */
.roi-section { background: var(--surface); }
.roi-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); margin-bottom: 2.5rem; }
.roi-table { width: 100%; border-collapse: collapse; }
.roi-table th { background: var(--surface2); color: var(--muted); font-size: .78rem; font-weight: 600; font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; padding: .875rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.roi-table td { padding: .875rem 1.25rem; font-size: .875rem; color: var(--text); border-bottom: 1px solid var(--border); }
.roi-table tbody tr:last-child td { border-bottom: none; }
.roi-auto { color: var(--green); font-weight: 600; }
.roi-save { color: var(--green); font-weight: 700; font-family: var(--mono); }
.roi-total { background: var(--surface2); }
.roi-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 1.5rem; }
.roi-hl { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; display: flex; flex-direction: column; gap: .3rem; }
.roi-hl-accent { background: var(--accent-d); border-color: var(--accent-g); }
.roi-hl-num { font-family: var(--mono); font-size: 2.25rem; font-weight: 700; color: var(--accent); line-height: 1; }
.roi-hl-label { font-size: .875rem; font-weight: 600; color: var(--text); }
.roi-hl-sub { font-size: .78rem; color: var(--muted); }
.roi-subv { text-align: center; font-size: .875rem; color: var(--muted); background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.5rem; }

/* ─── PLANES ─────────────────────────────────────────────────── */
.planes-section { background: var(--bg); }
.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 820px; margin: 0 auto; }
.plan-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; transition: all var(--t); }
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-pro { background: var(--surface2); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-g), var(--shadow); }
.plan-best { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; font-family: var(--mono); padding: .25rem .8rem; border-radius: 100px; white-space: nowrap; }
.plan-tag-top { font-family: var(--mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .5rem; }
.plan-name { font-size: .82rem; font-weight: 700; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .5rem; }
.plan-pro .plan-name { color: var(--accent); }
.plan-price { display: flex; align-items: baseline; gap: .25rem; margin-bottom: .4rem; }
.plan-num  { font-family: var(--mono); font-size: 3rem; font-weight: 700; color: var(--text); line-height: 1; }
.plan-unit { color: var(--muted); font-size: .9rem; }
.plan-saas-note { font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.plan-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.plan-list li { font-size: .875rem; display: flex; gap: .5rem; align-items: baseline; color: var(--text); }
.plan-list li::before { flex-shrink: 0; font-size: .8rem; }
.plan-list li.yes::before { content: "✓"; color: var(--green); }
.plan-list li.no  { color: var(--muted); }
.plan-list li.no::before  { content: "✗"; color: var(--border); }
.plans-note { text-align: center; margin-top: 2rem; font-size: .875rem; color: var(--muted); max-width: 620px; margin-left: auto; margin-right: auto; }

/* ─── POR QUÉ AHORA ──────────────────────────────────────────── */
.porqahora-section { background: var(--surface); }
.now-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.now-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.5rem; transition: all var(--t); }
.now-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.now-ico { font-size: 2.25rem; margin-bottom: .75rem; }
.now-badge { display: inline-block; font-family: var(--mono); font-size: .68rem; font-weight: 700; color: var(--accent); background: var(--accent-d); border: 1px solid var(--accent-g); padding: .2rem .7rem; border-radius: 100px; margin-bottom: .75rem; }
.now-card h4 { margin-bottom: .5rem; }
.now-card p { font-size: .875rem; line-height: 1.65; }

/* ─── CTA BANNER ─────────────────────────────────────────────── */
.cta-banner { background: linear-gradient(135deg, rgba(255,107,0,.18) 0%, rgba(255,107,0,.08) 100%); border-top: 1px solid var(--accent-g); border-bottom: 1px solid var(--accent-g); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 4rem 0; flex-wrap: wrap; }
.cta-text h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: .5rem; }
.cta-text p  { font-size: 1.05rem; max-width: 480px; }
.cta-btn { flex-shrink: 0; font-size: 1rem; padding: .875rem 2rem; }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-section { background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: transparent; border: none; color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0; font-size: 1rem; font-weight: 600; font-family: var(--font);
  text-align: left; transition: color var(--t);
}
.faq-q:hover { color: var(--accent); }
.faq-q[aria-expanded="true"] { color: var(--accent); }
.faq-arrow { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--t); color: var(--muted); }
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); color: var(--accent); }
.faq-a { padding-bottom: 1.25rem; }
.faq-a p { font-size: .95rem; line-height: 1.7; }

/* ─── EQUIPO ─────────────────────────────────────────────────── */
.equipo-section { background: var(--bg); }
.equipo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.equipo-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; display: flex; gap: 1.5rem; align-items: flex-start; transition: all var(--t); }
.equipo-card:hover { border-color: var(--accent); }
.eq-avatar { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-d); border: 2px solid var(--accent); color: var(--accent); font-family: var(--mono); font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.eq-name { font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.eq-role { font-family: var(--mono); font-size: .7rem; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: .75rem; }
.eq-bio  { font-size: .875rem; line-height: 1.65; margin-bottom: .85rem; }
.eq-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.eq-tags span { font-family: var(--mono); font-size: .63rem; background: var(--surface2); color: var(--muted); border: 1px solid var(--border); padding: .2rem .55rem; border-radius: 4px; }
.equipo-collab-note { margin-top: 2.5rem; background: var(--accent-d); border: 1px solid var(--accent-g); border-radius: var(--radius-lg); padding: 1.5rem 2rem; display: flex; align-items: flex-start; gap: 1.25rem; }
.ecn-ico { font-size: 1.75rem; flex-shrink: 0; }
.equipo-collab-note p { font-size: .9rem; line-height: 1.65; color: var(--text); }

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact-section { background: var(--surface); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-info .section-tag { display: block; margin-bottom: .75rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 1.5rem; }
.contact-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.contact-list li { display: flex; align-items: center; gap: .75rem; font-size: .9rem; }
.ci-ico { font-size: 1rem; }
.contact-trust { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--text); }
.trust-ico { font-size: 1rem; }
.contact-form { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .9rem; }
.form-group label { font-size: .825rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg); border: 1.5px solid var(--border); color: var(--text);
  border-radius: var(--radius); padding: .625rem .875rem; font-size: .9rem; font-family: var(--font);
  transition: border-color var(--t), box-shadow var(--t); resize: vertical;
  -webkit-appearance: none; appearance: none;
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238892a4' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 16px; padding-right: 2.5rem; cursor: pointer; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-d); }
.form-msg { margin-top: .75rem; padding: .75rem 1rem; border-radius: var(--radius); font-size: .875rem; font-weight: 500; }
.form-msg.ok  { background: var(--green-d); color: var(--green); border: 1px solid rgba(0,214,143,.25); }
.form-msg.err { background: var(--red-d); color: var(--red); border: 1px solid rgba(255,71,87,.25); }
.form-legal { font-size: .78rem; color: var(--muted); margin-top: .75rem; text-align: center; }
.form-legal a { font-size: .78rem; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { background: var(--surface2); border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding: 3.5rem 0 2.5rem; }
.footer-brand p { font-size: .85rem; margin-top: .75rem; max-width: 280px; }
.footer-badges { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .85rem; }
.foot-badge { font-family: var(--mono); font-size: .6rem; font-weight: 700; padding: .2rem .55rem; border: 1px solid var(--border); border-radius: 4px; color: var(--muted); text-transform: uppercase; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-heading { font-size: .75rem; font-weight: 700; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .25rem; }
.footer-col a { font-size: .875rem; color: var(--muted); }
.footer-col a:hover { color: var(--text); }
.footer-privacy-note { background: var(--surface); border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-privacy-note h4 { font-size: .85rem; color: var(--text); margin-bottom: .6rem; }
.footer-privacy-note p { font-size: .8rem; color: var(--muted); line-height: 1.65; max-width: 800px; }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; font-size: .8rem; color: var(--muted); }

/* ─── COOKIE BANNER ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--surface2); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.35);
  padding: 1rem 0;
}
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cookie-inner p { font-size: .85rem; color: var(--muted); }
.cookie-inner a { font-size: .85rem; }
.cookie-btns { display: flex; gap: .6rem; flex-shrink: 0; }

/* ─── SCROLL ANIMATIONS ──────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sol-features-grid { grid-template-columns: repeat(2, 1fr); }
  .newproc-steps     { grid-template-columns: repeat(2, 1fr); }
  .auditor-pipeline  { flex-wrap: wrap; }
  .aud-step          { flex: 1 1 45%; }
  .aud-arrow         { display: none; }
  .footer-top        { grid-template-columns: 1fr 1fr; }
  .equipo-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 4rem 0; }
  .hero { padding: 7rem 0 4rem; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .problema-grid    { grid-template-columns: 1fr; }
  .sol-features-grid { grid-template-columns: 1fr; }
  .newproc-steps    { grid-template-columns: 1fr; }
  .auditor-pipeline { flex-direction: column; }
  .aud-step         { flex: none; }
  .dash-grid        { grid-template-columns: 1fr; }
  .roi-highlights   { grid-template-columns: 1fr; }
  .now-grid         { grid-template-columns: 1fr; }
  .plans-grid       { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .equipo-card      { flex-direction: column; }
  .contact-inner    { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-top       { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; gap: .5rem; text-align: center; }
  .nav-links, .nav-cta { display: none; }
  .hamburger        { display: flex; }
  .stats-inner      { gap: 1.5rem; }
  .stat-sep         { display: none; }
  .cta-inner        { flex-direction: column; text-align: center; }
  .cta-inner .cta-btn { align-self: center; }
  .cookie-inner     { flex-direction: column; align-items: flex-start; }
  .cookie-btns      { align-self: stretch; }
  .cookie-btns .btn { flex: 1; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }
  .prob-highlight { flex-direction: column; gap: .75rem; }
  .roi-table-wrap { font-size: .8rem; }
}

/* ─── NAV MOBILE OPEN ─────────────────────────────────────────── */
#nav.nav-open .nav-links {
  display: flex; flex-direction: column; position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--surface2); border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem; gap: .25rem;
}
#nav.nav-open .nav-links a { display: block; padding: .6rem .75rem; }
#nav.nav-open .nav-cta { display: flex; margin: .75rem 1.5rem 0; }
#nav { position: fixed; }

/* ─── LANG DROPDOWN ─────────────────────────────────────────── */
.lang-dropdown { position: relative; }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: .35rem 0;
  min-width: 140px;
  z-index: 200;
}
.lang-opt {
  padding: .45rem .85rem;
  font-size: .82rem;
  font-family: var(--mono);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t), color var(--t);
}
.lang-opt:hover,
.lang-opt[aria-selected="true"] { background: var(--accent-d); color: var(--accent); }
.lang-menu[hidden] { display: none; }
