/* SkeletorsAi — el esqueleto inteligente para cualquier empresa */
:root {
  --bg: #07070f; --bg-2: #0d0d1c; --card: rgba(255, 255, 255, .04); --line: rgba(167, 139, 250, .18);
  --text: #F4F3FF; --muted: #A9A6C9; --violet: #A855F7; --violet-2: #8B5CF6; --blue: #3B82F6; --cyan: #60A5FA;
  --grad: linear-gradient(90deg, #A855F7, #6D6CF7 50%, #3B82F6);
  --f-head: "Space Grotesk", system-ui, sans-serif; --f-body: "Inter", system-ui, sans-serif;
  --r: 16px; --wrap: 1200px; --gutter: clamp(16px, 4vw, 40px); --header-h: 72px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 85% -10%, rgba(139, 92, 246, .22), transparent 50%), radial-gradient(ellipse at -10% 60%, rgba(59, 130, 246, .16), transparent 50%); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cyan); }
h1, h2, h3 { font-family: var(--f-head); margin: 0; line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 99; background: var(--violet-2); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font: 600 12px/1.4 var(--f-head); letter-spacing: .24em; text-transform: uppercase; color: #C4B5FD; margin-bottom: 16px; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 620px; }
.note { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border-radius: 999px;
  font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn .icon { width: 18px; height: 18px; }
.btn-grad { color: #fff; background: var(--grad); box-shadow: 0 10px 30px -10px rgba(139, 92, 246, .8); }
.btn-grad:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(139, 92, 246, 1); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); border-color: rgba(196, 181, 253, .35); }
.btn-ghost:hover { border-color: #C4B5FD; background: rgba(255, 255, 255, .08); }
.btn-wa { color: #fff; background: #1C9E52; }
.btn-wa:hover { background: #178645; }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 7, 15, .72); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 34px; width: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a { display: block; padding: 8px 10px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 8px; }
.main-nav ul a:hover { color: #fff; }
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; font: 600 13px/1 var(--f-head); padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; }
.lang .icon { width: 15px; height: 15px; }
.lang:hover { border-color: #C4B5FD; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; place-items: center; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 90px) clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-title { font-size: clamp(42px, 6.4vw, 80px); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin-bottom: 24px; }
.hero-title .grad { display: block; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.hero-note .icon { color: #C4B5FD; width: 16px; height: 16px; }
.hero-note a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(196, 181, 253, .4); text-underline-offset: 4px; }
.hero-note a:hover { color: #fff; }
.cs-logo { display: inline-block; margin-bottom: 22px; opacity: .92; transition: opacity .2s; }
.cs-logo:hover { opacity: 1; }
.cs-logo-img { height: 42px; width: auto; }
.ft-by { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ft-cs-img { height: 20px; width: auto; }
.hero-visual { display: grid; place-items: center; }
.phone { width: min(330px, 100%); aspect-ratio: 9 / 16; padding: 10px; border-radius: 36px; background: linear-gradient(160deg, #2b2f45, #0b0c16);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, .35), 0 50px 100px -40px rgba(139, 92, 246, .8), 0 0 80px -20px rgba(59, 130, 246, .45); }
.phone-video { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; background: #000; }

/* Secciones */
.section { padding-block: clamp(64px, 8vw, 110px); }
.sec-title { font-size: clamp(30px, 4vw, 48px); font-weight: 700; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-title.center { text-align: center; }
.big { font-size: clamp(30px, 3.8vw, 48px); font-weight: 700; margin-bottom: 18px; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.rev > :first-child { order: 2; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color .3s, transform .3s var(--ease); }
.pillar:hover { border-color: rgba(167, 139, 250, .5); transform: translateY(-3px); }
.p-icon { width: 46px; height: 46px; padding: 10px; border-radius: 12px; color: #fff; background: var(--grad); margin-bottom: 16px; }
.pillar h3 { font-size: 20px; margin-bottom: 6px; }
.pillar p { color: var(--muted); font-size: 15px; }

.product.alt { background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .06) 30%, rgba(59, 130, 246, .05) 70%, transparent); }
.checks { display: grid; gap: 10px; margin-top: 24px; }
.checks.two { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.checks .icon { width: 18px; height: 18px; margin-top: 2px; color: #C4B5FD; stroke-width: 2.4; }
.proof { display: flex; gap: 10px; margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .25); font-size: 14.5px; color: #BBF7D0; }
.proof .icon { color: #4ADE80; width: 18px; height: 18px; margin-top: 2px; }
.price-inline { margin-top: 22px; font: 700 20px/1.2 var(--f-head); }
.big-price { font-size: 30px; }
.big-price small { font: 500 14px var(--f-body); color: var(--muted); margin-left: 6px; }
.offer { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; font: 600 13.5px/1.3 var(--f-body);
  color: #FCD34D; background: rgba(252, 211, 77, .1); border: 1px solid rgba(252, 211, 77, .35); }
.offer .icon { width: 16px; height: 16px; }

.agent-card { position: relative; padding: 26px; border-radius: 24px; background: linear-gradient(160deg, rgba(139, 92, 246, .14), rgba(59, 130, 246, .08)); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(139, 92, 246, .6); }
.chat { display: grid; gap: 12px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
.msg.in { background: rgba(255, 255, 255, .08); border-bottom-left-radius: 6px; }
.msg.out { justify-self: end; background: var(--grad); color: #fff; border-bottom-right-radius: 6px; }
.crm { margin-top: 20px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(7, 7, 15, .6); border: 1px solid var(--line); font-size: 14px; }
.crm span { font: 700 11px/1 var(--f-head); letter-spacing: .14em; color: #fff; background: var(--violet-2); padding: 6px 8px; border-radius: 6px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.step-n { display: block; font: 700 14px/1 var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; letter-spacing: .1em; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

.proof-sec .sec-title { margin-bottom: 18px; }
.proof-sec .btn { margin-top: 26px; }
.stats { display: grid; gap: 16px; }
.stats li { padding: 22px 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); display: flex; align-items: baseline; gap: 16px; }
.stat-v { font: 700 clamp(34px, 4vw, 46px)/1 var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 150px; }
.stat-l { color: var(--muted); }

.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.price { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 32px 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); }
.price.featured { border-color: transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 40px 80px -40px rgba(139, 92, 246, .7); }
.flag { position: absolute; top: -13px; left: 26px; font: 700 11px/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 7px 11px; border-radius: 999px; }
.price h3 { font-size: 24px; }
.p-desc { color: var(--muted); font-size: 15px; }
.p-amt { margin-top: 14px; font: 700 34px/1.1 var(--f-head); }
.p-unit { color: var(--muted); font-size: 14px; }
.price .checks { flex: 1; margin-bottom: 22px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font: 600 18px/1.4 var(--f-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; color: #C4B5FD; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

.contact .btn-wa { margin-top: 28px; }
.lead-form { padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(139, 92, 246, .5); }
.lead-form h3 { font-size: 24px; margin-bottom: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.grid2 label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.grid2 .full { grid-column: 1 / -1; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.lead-form select option { background: var(--bg-2); }
.lead-form textarea { resize: vertical; min-height: 92px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(168, 85, 247, .18); }
.lead-form .has-error { border-color: #F87171; }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--violet); }
.form-error { color: #FCA5A5; font-size: 14px; margin-bottom: 12px; }
.lead-form button[disabled] { opacity: .7; }

.site-footer { border-top: 1px solid var(--line); padding-block: 48px 36px; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.ft-logo { height: 30px; width: auto; }
.ft-tag { margin-top: 14px; color: var(--muted); font-size: 14px; }
.ft-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; }
.ft-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; }
.ft-links a:hover { color: #fff; }
.ft-links .icon { width: 16px; height: 16px; }
.ft-by { grid-column: 1 / -1; font-size: 13px; color: rgba(169, 166, 201, .7); border-top: 1px solid var(--line); padding-top: 20px; }
.ft-by a { color: #C4B5FD; }
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1C9E52; color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .6); }
.float-wa .icon { width: 28px; height: 28px; }

.prose h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 24px; }
.prose h2 { font-size: 22px; margin: 30px 0 10px; }
.prose p { color: var(--muted); }
.thanks h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.thanks .lead { margin-inline: auto; }
.big404 { font: 700 clamp(90px, 16vw, 160px)/1 var(--f-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand img { height: 28px; }
  .nav-toggle { display: grid; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 18px; padding: 20px var(--gutter); transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; }
  .main-nav ul a { font-size: 19px; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .lang { align-self: flex-start; }
  body.nav-open { overflow: hidden; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: minmax(0, 480px); }
  .phone { width: min(290px, 78vw); }
}
@media (max-width: 640px) {
  .pillars, .steps, .checks.two, .grid2 { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .stats li { flex-direction: column; gap: 6px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
