*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0d14;
  --bg2:       #0f1320;
  --bg3:       #141929;
  --card:      #161c2e;
  --border:    rgba(255,255,255,.07);
  --primary:   #6c63ff;
  --primary2:  #8b5cf6;
  --accent:    #22d3ee;
  --green:     #10b981;
  --text:      #e2e8f0;
  --muted:     #8892a4;
  --radius:    14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── UTILITY ─── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(108,99,255,.15); border: 1px solid rgba(108,99,255,.35);
  color: var(--primary); font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 99px; margin-bottom: 18px;
}
.headline {
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 800; line-height: 1.18;
  letter-spacing: -.02em;
}
.headline span { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sub { font-size: 1.1rem; color: var(--muted); max-width: 600px; margin-top: 16px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 10px;
  font-size: .95rem; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: all .25s;
  border: none; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff; box-shadow: 0 8px 32px rgba(108,99,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(108,99,255,.5); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(108,99,255,.08); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,13,20,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,.4); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
}
.nav-logo-text { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.nav-logo-text span { color: var(--primary); }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: .9rem;
  padding: 7px 13px; border-radius: 8px; transition: all .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { display: flex; gap: 10px; flex-shrink: 0; }
.nav-back {
  display: flex; align-items: center; gap: 8px;
  color: var(--muted); text-decoration: none; font-size: .88rem;
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border);
  transition: all .2s;
}
.nav-back:hover { color: var(--text); border-color: var(--primary); background: rgba(108,99,255,.08); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 90px; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 20%, rgba(108,99,255,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(34,211,238,.12) 0%, transparent 55%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: var(--muted); font-size: .78rem; font-weight: 500;
  padding: 5px 12px; border-radius: 99px;
}
.hero-badge i { color: var(--green); font-size: .7rem; }
.hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900; line-height: 1.14; letter-spacing: -.03em;
  margin-bottom: 22px;
}
.hero-headline .grad { background: linear-gradient(135deg, #6c63ff 20%, #22d3ee 80%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1.1rem; color: var(--muted); margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--text); }
.hero-stat-num span { color: var(--primary); }
.hero-stat-label { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.hero-visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero-card-main {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px; width: 100%; max-width: 420px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.hcm-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.hcm-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg,var(--primary),var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #fff; flex-shrink: 0; }
.hcm-info .hcm-name { font-weight: 600; font-size: .92rem; }
.hcm-info .hcm-sub { font-size: .78rem; color: var(--green); display: flex; align-items: center; gap: 4px; }
.hcm-info .hcm-sub::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.msg-row { display: flex; gap: 9px; margin-bottom: 12px; }
.msg-row.right { flex-direction: row-reverse; }
.msg-avatar { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; }
.msg-avatar.c { background: rgba(108,99,255,.25); color: var(--primary); }
.msg-avatar.a { background: rgba(16,185,129,.25); color: var(--green); }
.msg-bubble { max-width: 76%; padding: 9px 13px; border-radius: 12px; font-size: .82rem; line-height: 1.5; }
.msg-bubble.c { background: rgba(255,255,255,.06); color: var(--text); border-radius: 12px 12px 12px 4px; }
.msg-bubble.a { background: linear-gradient(135deg,rgba(108,99,255,.3),rgba(139,92,246,.3)); color: var(--text); border-radius: 12px 12px 4px 12px; }
.hcm-channels { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.hcm-channel { display: flex; align-items: center; gap: 5px; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 8px; padding: 5px 10px; font-size: .74rem; color: var(--muted); }
.floating-card {
  position: absolute; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}
.fc-top { top: -20px; right: -20px; min-width: 160px; }
.fc-bot { bottom: -18px; left: -22px; min-width: 150px; }
.fc-metric { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.fc-metric-label { font-size: .74rem; color: var(--muted); }
.fc-trend { font-size: .74rem; color: var(--green); font-weight: 600; margin-top: 2px; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-visual { display: none; }
}

/* ─── LOGOS STRIP ─── */
.logos-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  padding: 28px 0;
  overflow: hidden;
}
.logos-label { text-align: center; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.logos-row i { font-size: 1.5rem; color: var(--muted); opacity: .6; transition: opacity .2s; }
.logos-row i:hover { opacity: 1; color: var(--text); }

/* ─── PROBLEM / SOLUTION ─── */
#problema { background: var(--bg2); }
.prob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.prob-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.prob-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; }
.prob-icon { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.prob-icon.red { background: rgba(239,68,68,.15); color: #ef4444; }
.sol-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.sol-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: rgba(16,185,129,.05); border: 1px solid rgba(16,185,129,.18); border-radius: 10px; }
.sol-icon { width: 38px; height: 38px; border-radius: 9px; background: rgba(16,185,129,.15); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
@media (max-width: 820px) { .prob-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ─── WHAT IS CHATWOOT ─── */
#chatwoot { background: var(--bg); }
.cw-hero { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.cw-hero .sub { margin: 16px auto 0; }
.cw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); }
.cw-card {
  background: var(--card); padding: 34px 28px;
  transition: background .25s;
}
.cw-card:hover { background: #1c2440; }
.cw-card-icon { font-size: 1.6rem; margin-bottom: 16px; }
.cw-card-title { font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.cw-card-text { font-size: .87rem; color: var(--muted); line-height: 1.65; }
@media (max-width: 820px) { .cw-cards { grid-template-columns: 1fr; } }

/* ─── FEATURES ─── */
#features { background: var(--bg2); }
.feat-header { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.feat-header .sub { margin: 14px auto 0; }
.feat-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.feat-tab { padding: 8px 18px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); font-size: .85rem; font-weight: 500; cursor: pointer; transition: all .2s; }
.feat-tab.active, .feat-tab:hover { background: rgba(108,99,255,.2); border-color: rgba(108,99,255,.4); color: var(--primary); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all .25s; position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity .25s;
}
.feat-card:hover { transform: translateY(-3px); border-color: rgba(108,99,255,.3); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.feat-card:hover::before { opacity: 1; }
.feat-card-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 16px; }
.feat-card-icon.purple { background: rgba(108,99,255,.15); color: var(--primary); }
.feat-card-icon.cyan   { background: rgba(34,211,238,.12); color: var(--accent); }
.feat-card-icon.green  { background: rgba(16,185,129,.12); color: var(--green); }
.feat-card-icon.yellow { background: rgba(251,191,36,.12); color: #fbbf24; }
.feat-card-icon.pink   { background: rgba(236,72,153,.12); color: #ec4899; }
.feat-card-icon.orange { background: rgba(249,115,22,.12); color: #f97316; }
.feat-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.feat-card p { font-size: .85rem; color: var(--muted); line-height: 1.65; }
.feat-list { list-style: none; margin-top: 10px; }
.feat-list li { font-size: .82rem; color: var(--muted); padding: 3px 0; display: flex; align-items: center; gap: 7px; }
.feat-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
@media (max-width: 820px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .feat-grid { grid-template-columns: 1fr; } }

/* ─── CHANNELS ─── */
#canales { background: var(--bg); }
.ch-header { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.ch-header .sub { margin: 14px auto 0; }
.ch-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.ch-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px 14px; text-align: center;
  transition: all .25s;
}
.ch-item:hover { border-color: rgba(108,99,255,.35); transform: translateY(-2px); background: #1c2440; }
.ch-item i { font-size: 1.8rem; margin-bottom: 9px; display: block; }
.ch-item span { font-size: .78rem; color: var(--muted); font-weight: 500; }
.wa  { color: #25d366; } .fb { color: #1877f2; } .ig { color: #e1306c; } .tg { color: #0088cc; } .em { color: var(--accent); } .sms { color: #fbbf24; } .tk { color: #ff0050; } .wc { color: var(--primary); } .li { color: #2563eb; } .sl { color: #e01e5a; }
@media (max-width: 820px) { .ch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .ch-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── PROCESS ─── */
#proceso { background: var(--bg2); }
.proc-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.proc-header .sub { margin: 14px auto 0; }
.proc-timeline { position: relative; }
.proc-timeline::before { content: ''; position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--primary), var(--accent), transparent); opacity: .3; }
.proc-step { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 40px; position: relative; }
.proc-step:last-child { margin-bottom: 0; }
.proc-num { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg,var(--primary),var(--primary2)); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; flex-shrink: 0; box-shadow: 0 0 0 6px rgba(108,99,255,.15); z-index: 1; }
.proc-body { padding-top: 12px; }
.proc-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 7px; }
.proc-body p { font-size: .88rem; color: var(--muted); line-height: 1.65; max-width: 520px; }
.proc-body .proc-detail { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.proc-tag { background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 6px; padding: 3px 10px; font-size: .75rem; color: var(--muted); }

/* ─── BENEFITS ─── */
#beneficios { background: var(--bg); }
.ben-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.ben-header .sub { margin: 14px auto 0; }
.ben-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ben-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: border-color .25s;
}
.ben-card:hover { border-color: rgba(108,99,255,.3); }
.ben-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg,rgba(108,99,255,.2),rgba(139,92,246,.2)); border: 1px solid rgba(108,99,255,.25); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary); flex-shrink: 0; }
.ben-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 7px; }
.ben-card p { font-size: .87rem; color: var(--muted); line-height: 1.65; }
@media (max-width: 700px) { .ben-grid { grid-template-columns: 1fr; } }

/* ─── METRICS ─── */
#metricas { background: linear-gradient(135deg, #0f1320 0%, #141929 50%, #0f1320 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.met-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.met-item { text-align: center; padding: 50px 20px; border-right: 1px solid var(--border); }
.met-item:last-child { border-right: none; }
.met-num { font-size: 2.8rem; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.met-label { font-size: .88rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 700px) { .met-grid { grid-template-columns: repeat(2, 1fr); } .met-item { border-right: none; border-bottom: 1px solid var(--border); } }

/* ─── WHY US ─── */
#nosotros { background: var(--bg2); }
.why-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.why-header .sub { margin: 14px auto 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 18px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-check { width: 32px; height: 32px; border-radius: 50%; background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: .8rem; flex-shrink: 0; margin-top: 2px; }
.why-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: 5px; }
.why-item p { font-size: .85rem; color: var(--muted); line-height: 1.6; }
.why-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-mini-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px 18px; text-align: center;
}
.why-mini-card i { font-size: 1.5rem; color: var(--primary); margin-bottom: 10px; display: block; }
.why-mini-card .wmn { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.why-mini-card .wml { font-size: .78rem; color: var(--muted); margin-top: 3px; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; } }

/* ─── PLANES ─── */
#planes { background: var(--bg); }
.plan-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.plan-header .sub { margin: 14px auto 0; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 34px 28px; position: relative;
}
.plan-card.featured {
  background: linear-gradient(160deg, #1c1f3a 0%, #1a1e35 100%);
  border-color: rgba(108,99,255,.5);
  box-shadow: 0 0 0 1px rgba(108,99,255,.2), 0 24px 60px rgba(108,99,255,.15);
}
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,var(--primary),var(--primary2)); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
.plan-name { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.plan-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; }
.plan-desc { font-size: .85rem; color: var(--muted); margin-bottom: 28px; line-height: 1.55; }
.plan-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--muted); }
.plan-features li i { color: var(--green); font-size: .75rem; margin-top: 4px; flex-shrink: 0; }
@media (max-width: 820px) { .plan-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ─── FAQ ─── */
#faq { background: var(--bg2); }
.faq-header { text-align: center; max-width: 600px; margin: 0 auto 50px; }
.faq-header .sub { margin: 14px auto 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; cursor: pointer; transition: background .2s; user-select: none; }
.faq-q:hover { background: rgba(255,255,255,.03); }
.faq-q span { font-size: .94rem; font-weight: 600; }
.faq-q i { color: var(--primary); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 22px 20px; font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* ─── CTA FINAL ─── */
#contacto {
  background: var(--bg);
  position: relative; overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(108,99,255,.1) 0%, transparent 65%); }
.cta-inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner .headline { margin-bottom: 18px; }
.cta-inner .sub { margin: 0 auto 36px; }
.cta-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 580px; margin: 0 auto 14px; }
.cta-form input, .cta-form textarea {
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: var(--text); border-radius: 10px; padding: 13px 16px;
  font-size: .92rem; font-family: inherit; transition: border-color .2s;
  width: 100%;
}
.cta-form input:focus, .cta-form textarea:focus { outline: none; border-color: var(--primary); }
.cta-form textarea { grid-column: 1 / -1; resize: vertical; min-height: 110px; }
.cta-form .full { grid-column: 1 / -1; }
.cta-form-submit { text-align: center; }
.cta-note { font-size: .78rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 540px) { .cta-form { grid-template-columns: 1fr; } }

/* ─── FOOTER ─── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; color: var(--muted); line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; text-decoration: none; transition: all .2s; }
.footer-social a:hover { color: var(--primary); border-color: rgba(108,99,255,.4); background: rgba(108,99,255,.1); }
.footer-col h4 { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: .86rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .82rem; color: var(--muted); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--muted); text-decoration: none; font-size: .82rem; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--text); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ─── PAGE HERO (for legal pages) ─── */
.page-hero {
  padding: 140px 0 80px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(34,211,238,.1) 0%, transparent 60%),
    var(--bg2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.25);
  color: var(--accent); font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 99px; margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800; line-height: 1.18; letter-spacing: -.02em;
  margin-bottom: 16px;
}
.page-hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p {
  font-size: 1rem; color: var(--muted); max-width: 680px; margin: 0 auto; line-height: 1.7;
}

.page-content {
  padding: 80px 0;
}
.page-content h2 {
  font-size: 1.6rem; font-weight: 700; margin-top: 48px; margin-bottom: 14px;
}
.page-content h3 {
  font-size: 1.2rem; font-weight: 600; margin-top: 28px; margin-bottom: 10px;
}
.page-content p {
  font-size: .94rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px;
}
.page-content ul, .page-content ol {
  margin-left: 24px; margin-bottom: 16px;
}
.page-content li {
  font-size: .94rem; color: var(--muted); line-height: 1.7; margin-bottom: 8px;
}
.page-content strong { color: var(--text); font-weight: 600; }
.page-content a { color: var(--primary); text-decoration: underline; transition: color .2s; }
.page-content a:hover { color: var(--accent); }

/* ─── LEGAL SECTIONS (for legal pages) ─── */
.legal-wrap {
  padding: 72px 0 100px;
}
.legal-intro {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 36px;
  margin-bottom: 40px; font-size: .95rem; color: var(--muted); line-height: 1.75;
}
.legal-intro strong { color: var(--text); }

.legal-section {
  margin-bottom: 28px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.legal-section-header {
  display: flex; align-items: center; gap: 14px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.legal-section-num {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(108,99,255,.25), rgba(139,92,246,.25));
  border: 1px solid rgba(108,99,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800; color: var(--primary);
}
.legal-section-num.accent {
  background: linear-gradient(135deg, rgba(34,211,238,.15), rgba(108,99,255,.15));
  border: 1px solid rgba(34,211,238,.25);
  color: var(--accent);
}
.legal-section-header h2 {
  font-size: 1.05rem; font-weight: 700; color: var(--text);
}
.legal-section-body {
  padding: 24px 28px;
}
.legal-section-body p {
  font-size: .9rem; color: var(--muted); line-height: 1.75; margin-bottom: 16px;
}
.legal-section-body p:last-child { margin-bottom: 0; }
.legal-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.legal-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: var(--muted); line-height: 1.65;
}
.legal-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); flex-shrink: 0; margin-top: 8px;
}
.legal-contact-box {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px;
  background: rgba(108,99,255,.1); border: 1px solid rgba(108,99,255,.25);
  border-radius: 10px; padding: 12px 18px;
  font-size: .88rem; color: var(--text);
}
.legal-contact-box i { color: var(--primary); }
.legal-contact-box a { color: var(--primary); text-decoration: none; }
.legal-contact-box a:hover { text-decoration: underline; }

/* two-column responsibility layout */
.resp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 0;
}
.resp-col {
  background: rgba(255,255,255,.02); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px;
}
.resp-col h3 {
  font-size: .85rem; font-weight: 700; color: var(--text);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.resp-col h3 i { color: var(--accent); }
.resp-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.resp-col ul li {
  font-size: .86rem; color: var(--muted); line-height: 1.6;
  display: flex; align-items: flex-start; gap: 8px;
}
.resp-col ul li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 8px;
}
@media (max-width: 600px) { .resp-grid { grid-template-columns: 1fr; } }

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

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(108,99,255,.4); border-radius: 3px; }
