:root {
  --bg: #07060d;
  --bg-2: #0d0b17;
  --card: rgba(255, 255, 255, 0.035);
  --card-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(168, 85, 247, 0.45);
  --text: #f4f2fa;
  --muted: #a39fb8;
  --purple: #8b3dff;
  --violet: #a855f7;
  --lilac: #c99bff;
  --grad: linear-gradient(135deg, #c084fc 0%, #8b3dff 50%, #6d28d9 100%);
  --radius: 18px;
  --shadow-glow: 0 0 0 1px rgba(168, 85, 247, .35), 0 20px 60px -20px rgba(139, 61, 255, .55);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { width: min(820px, 92%); }

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% -5%, rgba(139, 61, 255, .28), transparent 70%),
    radial-gradient(500px 500px at -10% 40%, rgba(109, 40, 217, .18), transparent 70%),
    radial-gradient(700px 400px at 100% 100%, rgba(168, 85, 247, .12), transparent 70%);
}
.bg-glow::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, #000 20%, transparent 75%);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; font-weight: 600; border: 1px solid transparent;
  padding: .75rem 1.4rem; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn-sm { padding: .5rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.02rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(139, 61, 255, .8); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -10px rgba(139, 61, 255, 1); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.03); color: var(--text); }
.btn-ghost:hover { border-color: var(--line-2); background: rgba(139, 61, 255, .1); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 6, 13, .65); border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-logo { width: 38px; height: 38px; border-radius: 50%; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-name b { margin-left: .25rem; font-weight: 700; }
.dot { color: var(--violet); font-style: normal; }
.nav-links { display: flex; gap: 1.8rem; font-size: .95rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.lang-btn {
  background: transparent; border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: .4rem .75rem; font-size: .8rem; font-weight: 600; letter-spacing: .05em;
}
.lang-btn:hover { border-color: var(--line-2); }
.menu-btn { display: none; background: none; border: 0; width: 38px; height: 38px; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.menu-btn span:first-child { top: 14px; } .menu-btn span:last-child { bottom: 14px; }
.menu-open .menu-btn span:first-child { top: 18px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { bottom: 18px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(139, 61, 255, .1);
  font-size: .85rem; color: var(--lilac); margin-bottom: 1.4rem;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 0 rgba(168,85,247,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(168,85,247,0); } 100% { box-shadow: 0 0 0 0 rgba(168,85,247,0); } }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; margin-bottom: 1.3rem; }
.hero h1 .grad, .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.13rem; color: var(--muted); max-width: 560px; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-ctas.center { justify-content: center; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; }
.hero-chips li { font-size: .82rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; background: var(--card); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: center; width: 100%; }
.orb { position: absolute; inset: 8%; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(168, 85, 247, .35); }
.r1 { inset: 0; animation: spin 26s linear infinite; border-style: dashed; }
.r2 { inset: 12%; border-color: rgba(168, 85, 247, .2); }
.r3 { inset: 24%; box-shadow: 0 0 120px 10px rgba(139, 61, 255, .35); border-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb-logo { width: 54%; border-radius: 50%; filter: drop-shadow(0 0 40px rgba(139, 61, 255, .55)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .7rem;
  background: rgba(20, 16, 36, .82); border: 1px solid var(--line); backdrop-filter: blur(10px);
  border-radius: 14px; padding: .65rem .9rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
  animation: float 7s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: .72rem; }
.float-card b { font-family: var(--font-head); font-size: .95rem; }
.fc-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); font-weight: 700; font-size: .9rem; }
.fc-icon.nfc { font-size: .65rem; letter-spacing: -1px; }
.fc1 { top: 6%; left: -4%; }
.fc2 { bottom: 14%; right: -6%; animation-delay: -2s; }
.fc3 { bottom: 0; left: 6%; animation-delay: -4s; }

/* ---------- Secciones ---------- */
.section { padding: 6rem 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(139, 61, 255, .045) 30%, rgba(139, 61, 255, .045) 70%, transparent); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.2rem; }
.eyebrow { display: inline-block; color: var(--lilac); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .9rem; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* Servicios */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.service {
  position: relative; padding: 1.8rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); transition: transform .25s, border-color .25s, background .25s;
  overflow: hidden;
}
.service.clickable { cursor: pointer; }
.service.clickable:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--card-2); }
.service.clickable:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.service .examples { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; font-size: .85rem; font-weight: 600; color: var(--lilac); }
.service .examples b { font-size: .75rem; padding: .1rem .45rem; border-radius: 7px; background: rgba(139,61,255,.18); }
.service.clickable:hover .examples { color: #fff; }
.service.featured .examples { margin-top: 0; }
.service.featured { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; background: linear-gradient(135deg, rgba(139,61,255,.18), rgba(139,61,255,.04)); border-color: var(--line-2); }
.service.featured h3 { font-size: 1.6rem; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: rgba(139, 61, 255, .14); border: 1px solid rgba(168, 85, 247, .35); color: var(--lilac);
}
.service.featured .service-icon { width: 72px; height: 72px; margin: 0; background: var(--grad); color: #fff; border: 0; }
.service-icon svg { width: 26px; height: 26px; }
.service.featured .service-icon svg { width: 34px; height: 34px; }
.service h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service p { color: var(--muted); font-size: .96rem; }
.services-cta { display: flex; justify-content: center; margin-top: 2.4rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lilac); border: 1px solid var(--line-2); border-radius: 999px; padding: .15rem .6rem; margin-bottom: .5rem; }

/* Proceso */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.process li { position: relative; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); counter-increment: step; }
.process li::before {
  content: '0' counter(step); display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .6rem;
}
.process h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.process p { color: var(--muted); font-size: .93rem; }

/* Paquetes */
.packages-track { padding-top: 1.3rem; }
.package {
  position: relative; display: flex; flex-direction: column; padding: 1.8rem 1.5rem; border-radius: var(--radius);
  flex: 0 0 calc((100% - 2.8rem) / 3); scroll-snap-align: start;
  background: var(--card); border: 1px solid var(--line); transition: transform .25s, border-color .25s;
}
.package:hover { transform: translateY(-4px); border-color: var(--line-2); }
.package.highlighted { background: linear-gradient(180deg, rgba(139,61,255,.22), rgba(139,61,255,.05)); border-color: transparent; box-shadow: var(--shadow-glow); }
.package .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); font-size: .74rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
.pkg-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: -.4rem -.3rem 1rem; height: 32px; }
.pkg-trial { font-size: .74rem; font-weight: 600; color: var(--lilac); border: 1px solid var(--line-2); background: rgba(139,61,255,.12); border-radius: 999px; padding: .25rem .65rem; white-space: nowrap; }
.pkg-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); margin-left: auto; }
.pkg-toggle button { border: 0; background: none; color: var(--muted); font-size: .74rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; transition: background .2s, color .2s; }
.pkg-toggle button:hover { color: var(--text); }
.pkg-toggle button.on { background: var(--grad); color: #fff; }
.package h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.package .pdesc { color: var(--muted); font-size: .9rem; min-height: 2.8em; }
.price { margin: 1.1rem 0 .2rem; font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.price small { font-size: .9rem; font-weight: 600; color: var(--muted); margin-left: .2rem; }
.period { color: var(--muted); font-size: .85rem; margin-bottom: 1.2rem; }
.price.text { font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1.2; margin-top: 1.2rem; }
.period:has(+ .period-note) { margin-bottom: .2rem; }
.period-note { color: var(--muted); font-size: .85rem; margin-bottom: 1.2rem; }
.package ul { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.6rem; flex: 1; }
.package li { display: flex; gap: .55rem; font-size: .92rem; }
.package li::before { content: '✓'; color: var(--violet); font-weight: 700; }
/* Formulario al elegir un paquete */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 4vh 4vw; background: rgba(5,4,10,.82); backdrop-filter: blur(6px); animation: fadeIn .2s ease; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(760px, 100%); max-height: 92vh; overflow-y: auto; padding: 2.2rem; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #15102a, #0c0918); box-shadow: 0 30px 80px -30px rgba(139,61,255,.7); }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: #fff; }
.modal-close:hover { background: var(--grad); border-color: transparent; }
.pkg-chip { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem; margin: .6rem 0 1.2rem; padding: .55rem 1rem; border-radius: 12px; background: rgba(139,61,255,.16); border: 1px solid var(--line-2); }
.pkg-chip b { font-family: var(--font-head); }
.pkg-chip span { color: var(--muted); font-size: .88rem; }
.modal .fields .full { grid-column: 1 / -1; }
.modal .q-error { margin: 0; }
.modal .q-step { display: block; }
.modal-actions { display: flex; justify-content: flex-end; }
.modal .result-head { margin-bottom: 1.2rem; }
.note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 1.8rem; }

/* Portafolio */
.carousel { position: relative; }
.loop-track {
  position: relative; display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .6rem .1rem 1.4rem; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; align-items: stretch;
}
.loop-track::-webkit-scrollbar { display: none; }
.loop-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.loop-track.dragging > * { pointer-events: none; }
.car-btn {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(13,11,23,.85); backdrop-filter: blur(8px); color: #fff; font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center; transition: background .2s, opacity .2s; box-shadow: 0 10px 30px -10px rgba(0,0,0,.8);
}
.car-btn:hover { background: var(--grad); border-color: transparent; }
.car-btn[disabled] { opacity: 0; pointer-events: none; }
.car-btn[hidden] { display: none; }
.car-btn.prev { left: -22px; }
.car-btn.next { right: -22px; }
.work { flex: 0 0 calc((100% - 2.8rem) / 3); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); transition: transform .25s, border-color .25s; display: flex; flex-direction: column; color: inherit; }
.work.clickable { cursor: pointer; }
.work.clickable:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.work:hover { transform: translateY(-4px); border-color: var(--line-2); }
.work-media { aspect-ratio: 3 / 4; position: relative; overflow: hidden; background: #110d1f; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.zoom-ico { position: absolute; right: .7rem; bottom: .7rem; min-width: 34px; height: 34px; padding: 0 .6rem; border-radius: 10px; display: grid; place-items: center; background: rgba(7,6,13,.75); color: #fff; font-size: .85rem; font-weight: 600; opacity: .85; transition: opacity .25s; backdrop-filter: blur(6px); }
.work:hover .zoom-ico { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,4,10,.92); display: grid; place-items: center; padding: 4vh 4vw; backdrop-filter: blur(6px); animation: fadeIn .2s ease; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1200px, 100%); max-height: 100%; display: grid; gap: .8rem; justify-items: center; }
.lightbox figure img { max-width: 100%; max-height: 80vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.7); user-select: none; }
.lightbox.multi figure img { max-height: 68vh; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(13,11,23,.8); color: #fff; font-size: 2rem; line-height: 1; display: none; place-items: center; z-index: 2; }
.lb-nav:hover { background: var(--grad); border-color: transparent; }
.lightbox.multi .lb-nav { display: grid; }
.lb-prev { left: 2vw; } .lb-next { right: 2vw; }
.lb-thumbs { position: absolute; left: 50%; bottom: 2.5vh; transform: translateX(-50%); display: flex; gap: .5rem; max-width: 92vw; overflow-x: auto; padding: .3rem; }
.lb-thumbs:empty { display: none; }
.lb-thumbs button { flex: none; width: 48px; height: 64px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: #111; opacity: .55; transition: opacity .2s, border-color .2s; }
.lb-thumbs button.on, .lb-thumbs button:hover { opacity: 1; border-color: var(--violet); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.lightbox figcaption { color: var(--muted); font-family: var(--font-head); font-weight: 600; }
.lb-close { position: absolute; top: 1.2rem; right: 1.2rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; font-size: 1.1rem; }
.lb-close:hover { background: var(--grad); border-color: transparent; }
@keyframes fadeIn { from { opacity: 0; } }
.work:hover .work-media img { transform: scale(1.04); }
.work-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(168,85,247,.55), transparent 55%), radial-gradient(circle at 80% 90%, rgba(109,40,217,.6), transparent 50%), #120d22; }
.work-placeholder span { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.03em; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.work-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.work-body p { color: var(--muted); font-size: .93rem; flex: 1; }
.work-link { margin-top: 1rem; color: var(--lilac); font-weight: 600; font-size: .9rem; }
.work.clickable:hover .work-link { color: #fff; }

/* ---------- Cotizador ---------- */
.quiz { max-width: 860px; margin: 0 auto; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); overflow: hidden; box-shadow: 0 30px 80px -40px rgba(139,61,255,.6); }
.quiz-progress { height: 4px; background: rgba(255,255,255,.06); }
.quiz-bar { height: 100%; width: 0; background: var(--grad); transition: width .4s; }
.quiz-body { padding: 2.4rem; min-height: 420px; }
.q-step { font-size: .82rem; color: var(--lilac); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.q-title { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: .4rem 0 .4rem; }
.q-hint { color: var(--muted); margin-bottom: 1.6rem; font-size: .95rem; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.options.wide { grid-template-columns: 1fr; }
.opt {
  text-align: left; display: flex; gap: .8rem; align-items: center; padding: 1rem 1.1rem; border-radius: 14px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--text); transition: .2s;
}
.opt:hover { border-color: var(--line-2); background: rgba(139,61,255,.08); }
.opt.on { border-color: var(--violet); background: rgba(139,61,255,.18); box-shadow: 0 0 0 1px var(--violet) inset; }
.opt .emo { font-size: 1.35rem; flex: none; width: 32px; text-align: center; }
.opt .chk { margin-left: auto; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line); flex: none; display: grid; place-items: center; font-size: .75rem; }
.opt.on .chk { background: var(--violet); border-color: var(--violet); }
.opt.on .chk::after { content: '✓'; }
.insights { display: grid; gap: .7rem; margin-top: 1.4rem; }
.insight { display: flex; gap: .8rem; padding: .9rem 1rem; border-radius: 12px; background: rgba(139,61,255,.1); border-left: 3px solid var(--violet); font-size: .93rem; animation: fadeUp .35s ease both; }
.insight b { color: var(--lilac); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.sub-q { margin-top: 1.6rem; }
.sub-q > label { display: block; font-weight: 600; margin-bottom: .7rem; font-size: .95rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text); font-size: .9rem; transition: .2s; }
.pill:hover { border-color: var(--line-2); }
.pill.on { background: var(--violet); border-color: var(--violet); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select {
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; color: var(--text);
  padding: .8rem 1rem; font: inherit; outline: none; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--violet); }
.field textarea { min-height: 100px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; gap: 1rem; }
.quiz-nav .back { background: none; border: 0; color: var(--muted); }
.quiz-nav .back:hover { color: var(--text); }
.q-error { color: #ff8fa3; font-size: .9rem; margin-top: 1rem; min-height: 1.2em; }

.result-head { text-align: center; margin-bottom: 2rem; }
.result-head .big { font-size: 3rem; }
.result-head h3 { font-size: 1.8rem; margin: .4rem 0; }
.result-head p { color: var(--muted); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.result-card { border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; background: rgba(255,255,255,.03); }
.result-card.hl { border-color: var(--line-2); background: rgba(139,61,255,.12); }
.result-card h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lilac); margin-bottom: .9rem; }
.result-card ul { list-style: none; display: grid; gap: .5rem; }
.result-card li { display: flex; gap: .6rem; align-items: center; }
.result-card .price { margin: .3rem 0 0; font-size: 1.8rem; }
.result-card .price.text { font-size: 1.25rem; }
.result-ctas { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Agenda ---------- */
.booking { display: flex; flex-direction: column; align-items: center; gap: 2.4rem; }
.booking-copy { margin-bottom: 0; max-width: 1100px; }
.booking-points li { white-space: nowrap; font-size: .95rem; }
.booking-copy > p { margin-bottom: 1.6rem; }
.booking-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1.6rem; text-align: left; }
.booking-points li { display: flex; gap: .8rem; align-items: center; }
.booking-points .ico { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(139,61,255,.14); border: 1px solid rgba(168,85,247,.3); }
.booking-widget { border-radius: 20px; border: 1px solid var(--line); background: #fff; overflow: hidden; min-height: 520px; width: 100%; max-width: 1100px; }
.booking-widget.dark { background: #0d0b17; border-color: rgba(168, 85, 247, .35); }
.booking-widget.empty { background: var(--card); display: grid; place-items: center; text-align: center; padding: 2rem; min-height: 320px; max-width: 720px; }
.booking-widget.empty p { color: var(--muted); margin: .6rem 0 1.4rem; }
.calendly-inline-widget { min-width: 300px; height: 700px; }
.cal-inline { width: 100%; min-height: 520px; overflow: auto; }

/* ---------- FAQ por categorías ---------- */
.faq { display: grid; gap: .9rem; }
.faq-cat { border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: border-color .2s, background .2s; }
.faq-cat[open] { border-color: var(--line-2); background: rgba(139,61,255,.06); }
.faq-cat > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1.1rem; padding: 1.15rem 1.3rem; }
.faq-cat > summary::-webkit-details-marker { display: none; }
.faq-cat > summary:hover .faq-ico { border-color: var(--line-2); }
.faq-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(139,61,255,.14); border: 1px solid rgba(168,85,247,.3); color: var(--lilac); transition: border-color .2s; }
.faq-ico svg { width: 22px; height: 22px; }
.faq-head { flex: 1; display: grid; gap: .15rem; }
.faq-head b { font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; }
.faq-head small { color: var(--muted); font-size: .88rem; }
.faq-chev { width: 22px; height: 22px; color: var(--muted); transition: transform .25s, color .2s; flex: none; }
.faq-chev svg { width: 100%; height: 100%; }
.faq-cat[open] .faq-chev { transform: rotate(180deg); color: var(--violet); }
.faq-qs { display: grid; gap: .5rem; padding: 0 1.3rem 1.2rem calc(1.3rem + 44px + 1.1rem); animation: fadeUp .3s ease both; }
.faq-q { border-top: 1px solid var(--line); }
.faq-q:first-child { border-top: 0; }
.faq-q > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .85rem 0; font-weight: 600; font-size: .97rem; }
.faq-q > summary::-webkit-details-marker { display: none; }
.faq-q > summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--violet); transition: transform .25s; flex: none; }
.faq-q[open] > summary::after { transform: rotate(45deg); }
.faq-q > summary:hover { color: var(--lilac); }
.faq-q .answer { color: var(--muted); padding: 0 0 1rem; font-size: .95rem; }
.faq-more { margin-top: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; padding: 1.5rem 1.6rem; border-radius: 18px; border: 1px dashed var(--line-2); background: linear-gradient(135deg, rgba(139,61,255,.14), rgba(139,61,255,.03)); }
.faq-more h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.faq-more p { color: var(--muted); font-size: .95rem; }

/* ---------- CTA final ---------- */
.cta-final { padding: 2rem 0 6rem; }
.cta-box { text-align: center; padding: 4rem 2rem; border-radius: 28px; background: radial-gradient(circle at 50% 0%, rgba(168,85,247,.45), transparent 60%), linear-gradient(180deg, #160f2b, #0c0918); border: 1px solid var(--line-2); }
.cta-box h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; margin-bottom: .8rem; }
.cta-box p { color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: center; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }
.footer-brand b { font-family: var(--font-head); font-size: 1.15rem; }
.footer-brand p { color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; gap: .7rem; flex-wrap: wrap; }
.footer-links { gap: .6rem; }
.footer-links a.social { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: var(--card); transition: color .2s, border-color .2s, background .2s, transform .2s; }
.footer-links a.social:hover { color: #fff; border-color: transparent; background: var(--grad); transform: translateY(-2px); }
.footer-links svg { width: 21px; height: 21px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; flex-wrap: wrap; gap: .5rem; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float[hidden] { display: none; }

/* Texto justificado en párrafos y respuestas */
.faq-q .answer, .service p, .work-body p, .process p, .package .pdesc, .modal .q-hint {
  text-align: justify; text-justify: inter-word; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; word-break: normal;
}

/* Animación al hacer scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .package { flex-basis: calc((100% - 1.4rem) / 2); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .work { flex-basis: calc((100% - 1.4rem) / 2); }
  .car-btn.prev { left: -10px; } .car-btn.next { right: -10px; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; padding: .5rem 4%;
    background: rgba(7, 6, 13, .97); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav-links a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .menu-open .nav-links { transform: none; }
  .menu-btn { display: block; }
  .nav-actions .btn-sm { display: none; }
  .hero { padding-top: 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .service, .service.featured { grid-column: auto !important; }
  .service.featured { grid-template-columns: 1fr; }
  .booking-points { flex-direction: column; align-items: flex-start; }
  .booking-points li { white-space: normal; }
  .result-grid { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .work, .package { flex-basis: 84%; }
  .package { scroll-snap-align: center; }
  .car-btn { display: none; }
  .lb-nav { width: 42px; height: 42px; font-size: 1.6rem; }
  .fields { grid-template-columns: 1fr; }
  .quiz-body { padding: 1.6rem 1.2rem; }
  .fc1 { left: 0; } .fc2 { right: 0; }
  .services-cta .btn, .modal-actions .btn, .faq-more .btn { width: 100%; }
  .faq-qs { padding-left: 1.3rem; }
  .faq-cat > summary { gap: .8rem; padding: 1rem; }
  .modal-card { padding: 1.8rem 1.2rem 1.4rem; }
  .modal { padding: 2vh 3vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
