/* Astronomical AI — estilos de la landing y el diagnóstico */
:root {
  --bg: #fbfaf6;
  --bg-2: #f2f0e8;
  --ink: #121216;
  --ink-2: #3c3d48;
  --ink-3: #6b6c78;
  --line: #e3e0d6;
  --violet: #5a3cf0;
  --violet-ink: #4428d6;
  --violet-soft: #ece8ff;
  --star: #ffd23f;
  --night: #121216;
  --night-2: #1d1d24;
  --night-line: #33333e;
  --on-night: #f4f2ec;
  --on-night-2: #c4c3cf;
  --ok: #157a4a;
  --err: #b42318;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(18, 18, 22, .06), 0 8px 24px rgba(18, 18, 22, .06);
  --display: 'Bagel Fat One', 'DM Sans', system-ui, sans-serif;
  --text: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 400; }
h1, h2 { font-family: var(--display); letter-spacing: -.01em; }
h3 { font-family: var(--text); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ink);
  font: 700 1rem/1 var(--text); text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 4px 4px 0 var(--violet); }
.btn-primary:hover { box-shadow: 6px 6px 0 var(--violet); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-star { background: var(--star); color: var(--ink); border-color: var(--star); }
.btn-light { background: var(--on-night); color: var(--ink); border-color: var(--on-night); box-shadow: 4px 4px 0 var(--violet); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-block { width: 100%; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 58px; height: 58px; }
.brand span { font-family: var(--display); font-size: 1.15rem; letter-spacing: .01em; }
.nav-links { display: none; list-style: none; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--violet); }
.nav-cta { display: none; min-height: 44px; padding: 0 20px; }
.nav-toggle {
  width: 48px; height: 48px; border-radius: 14px; border: 2px solid var(--ink); background: transparent;
  display: grid; place-items: center; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 8px 0 20px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 4px; font-size: 1.1rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--violet-soft); color: var(--violet-ink); font-weight: 700; font-size: .85rem; letter-spacing: .02em;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.hero h1 { font-size: clamp(2.6rem, 9vw, 5.2rem); margin: 18px 0 18px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .32em; z-index: -1;
  background: var(--star); border-radius: 6px; transform: skewX(-8deg);
}
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero-actions .btn { flex: 1 1 220px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-3); font-size: .92rem; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 18px; height: 18px; color: var(--ok); }

.orbit { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.orbit-logo { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; z-index: 2; animation: flotar 7s ease-in-out infinite; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed var(--line); animation: girar 60s linear infinite; }
.orbit-ring.r2 { inset: 13%; border: 2px solid var(--line); animation-duration: 40s; animation-direction: reverse; }
.orbit-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; top: -9px; left: calc(50% - 9px); background: var(--violet); box-shadow: 0 0 0 6px var(--violet-soft); }
.orbit-ring.r2 .orbit-dot { background: var(--star); box-shadow: 0 0 0 6px #fff4c9; top: auto; bottom: -9px; }
.orbit-blob { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--violet-soft), transparent 70%); z-index: 1; }
.spark { position: absolute; color: var(--ink); animation: titilar 3.2s ease-in-out infinite; }
.spark svg { width: 100%; height: 100%; }
.spark.s1 { width: 26px; height: 26px; top: 8%; right: 10%; }
.spark.s2 { width: 18px; height: 18px; bottom: 14%; left: 6%; animation-delay: 1.1s; color: var(--violet); }
.spark.s3 { width: 14px; height: 14px; top: 30%; left: 2%; animation-delay: 2s; }

@keyframes girar { to { transform: rotate(360deg); } }
@keyframes flotar { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@keyframes titilar { 50% { transform: scale(.55) rotate(25deg); opacity: .5; } }

/* ---------- Cinta ---------- */
.ticker { background: var(--ink); color: var(--on-night); overflow: hidden; padding: 16px 0; border-block: 2px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: cinta 38s linear infinite; }
.ticker-track ul { display: flex; list-style: none; }
.ticker-track li { display: flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--display); font-size: 1.3rem; white-space: nowrap; }
.ticker-track li::after { content: '✦'; color: var(--star); font-family: var(--text); font-size: 1rem; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); }
.section-night { background: var(--night); color: var(--on-night); }
.section-head { max-width: 46rem; margin-bottom: 40px; }
.kicker { display: block; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-ink); margin-bottom: 12px; }
.section-night .kicker { color: var(--star); }
.section-head h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
.section-head p { margin-top: 16px; font-size: 1.1rem; color: var(--ink-2); }
.section-night .section-head p { color: var(--on-night-2); }

.grid { display: grid; gap: 16px; }
.card {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d2cec2; }
.card p { color: var(--ink-2); margin-top: 8px; font-size: .98rem; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--violet-soft); color: var(--violet-ink);
}
.icon svg { width: 24px; height: 24px; }

.pain .card { display: flex; gap: 16px; align-items: flex-start; }
.pain .icon { margin: 0; flex: none; background: #fff4c9; color: #7a5b00; }
.pain-total { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); border: 2px solid var(--ink); background: #fff; font-size: 1.1rem; }
.pain-total strong { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }

.services .card { background: var(--night-2); border-color: var(--night-line); color: var(--on-night); }
.services .card:hover { border-color: #4a4a58; box-shadow: none; }
.services .card p { color: var(--on-night-2); }
.services .icon { background: rgba(90, 60, 240, .22); color: #b9adff; }
.services .card.feature { border-color: var(--violet); background: linear-gradient(160deg, #241d52, var(--night-2) 60%); }
.tag { display: inline-block; margin-top: 14px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--star); color: var(--ink); }

.field-split { display: grid; gap: 32px; align-items: center; }
.field-list { list-style: none; display: grid; gap: 14px; }
.field-list li { display: flex; gap: 16px; padding: 18px 20px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.field-list .num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; }
.field-list strong { display: block; }
.field-list span { color: var(--ink-2); font-size: .97rem; }
.field-art { position: relative; border-radius: 28px; background: var(--ink); color: var(--on-night); padding: 32px; overflow: hidden; }
.field-art p { position: relative; font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.15; }
.field-art p span { color: var(--star); }
.field-art img { position: absolute; right: -60px; bottom: -70px; width: 280px; opacity: .12; }
.field-art .small { position: relative; margin-top: 18px; font-family: var(--text); font-size: 1rem; color: var(--on-night-2); line-height: 1.5; }

.sectors .card { padding: 20px; }
.sectors h3 { display: flex; align-items: center; gap: 10px; }
.sectors h3 .emoji { font-size: 1.4rem; }

.steps { counter-reset: paso; list-style: none; display: grid; gap: 16px; }
.steps li { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: #fff; border: 1.5px solid var(--line); }
.steps li::before {
  counter-increment: paso; content: counter(paso, decimal-leading-zero);
  font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--violet); display: block; margin-bottom: 12px;
}
.steps p { color: var(--ink-2); margin-top: 6px; }

.incubator { background: var(--violet); color: #fff; }
.incubator .kicker { color: var(--star); }
.incubator .section-head p { color: #e6e1ff; }
.incubator-grid { display: grid; gap: 32px; align-items: start; }
.how-list { list-style: none; display: grid; gap: 12px; }
.how-list li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-sm); padding: 16px 18px; }
.how-list b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--star); color: var(--ink); display: grid; place-items: center; font-size: .95rem; }
.note { margin-top: 18px; font-size: .95rem; color: #e6e1ff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.05rem; position: relative; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 22px 22px; color: var(--ink-2); }

/* ---------- Formularios ---------- */
.form-card { background: #fff; border: 2px solid var(--ink); border-radius: 28px; padding: 24px; box-shadow: 8px 8px 0 var(--violet); }
.incubator .form-card { color: var(--ink); box-shadow: 8px 8px 0 var(--star); }
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.field .hint { font-size: .86rem; color: var(--ink-3); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--text); color: var(--ink);
  background: var(--bg); border: 1.5px solid #cfcbc0; border-radius: var(--radius-sm); padding: 13px 14px; min-height: 50px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 42px; }
input:hover, select:hover, textarea:hover { border-color: #a9a59a; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px var(--violet-soft); }
[aria-invalid="true"] { border-color: var(--err) !important; background: #fff6f5 !important; }
.field-error { color: var(--err); font-size: .88rem; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 4px; }
.check {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px;
  border: 1.5px solid #cfcbc0; border-radius: var(--radius-sm); background: var(--bg); cursor: pointer; font-weight: 500;
  transition: border-color .15s, background-color .15s;
}
.check input { width: 20px; height: 20px; accent-color: var(--violet); flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); }
.check:has(input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--violet); flex: none; }
.consent a { color: var(--violet-ink); font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.counter { font-size: .85rem; color: var(--ink-3); text-align: right; }
.form-status { font-weight: 600; font-size: .95rem; }
.form-status.error { color: var(--err); }
.form-foot { display: grid; gap: 12px; }
.success { text-align: center; padding: 24px 8px; }
.success .check-big { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet-ink); }
.success .check-big svg { width: 36px; height: 36px; }
.success h3 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; margin-bottom: 10px; }
.success p { color: var(--ink-2); max-width: 30rem; margin: 0 auto 22px; }
.success .btn { width: 100%; max-width: 360px; }
.success .alt { margin-top: 14px; font-size: .95rem; }

.contact-grid { display: grid; gap: 32px; align-items: start; }
.contact-points { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.contact-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.contact-points svg { width: 22px; height: 22px; flex: none; color: var(--violet); margin-top: 2px; }
.contact-points strong { color: var(--ink); }

/* ---------- Pie ---------- */
.site-footer { background: var(--night); color: var(--on-night-2); padding: 56px 0 32px; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand img { width: 120px; height: 120px; }
.footer-brand p { margin-top: 8px; max-width: 22rem; }
.site-footer h2 { font-family: var(--text); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night); margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer a { color: var(--on-night-2); text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: var(--star); }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
[hidden] { display: none !important; }

/* ---------- Animación al aparecer ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Páginas simples (privacidad, 404) ---------- */
.page { padding: 48px 0 80px; }
.page h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); margin-bottom: 16px; }
.page h2 { font-family: var(--text); font-weight: 700; font-size: 1.3rem; margin: 32px 0 10px; }
.page p, .page li { color: var(--ink-2); }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 22px; display: grid; gap: 6px; margin-top: 8px; }
.prose { max-width: 760px; }
.draft { display: inline-block; margin-bottom: 18px; padding: 6px 12px; border-radius: 8px; background: #fff4c9; color: #6b5000; font-size: .85rem; font-weight: 700; }
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.center-page img { width: 200px; height: 200px; margin: 0 auto 8px; }
.center-page p { margin: 12px auto 24px; max-width: 28rem; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .checks { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 32px; }
  .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (min-width: 880px) {
  body { font-size: 18px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle, .mobile-menu, .mobile-menu.open { display: none; }
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .section { padding: 112px 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .field-split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .incubator-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .services .card.feature { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Títulos de sección fuera de .section-head */
.section-title { font-size: clamp(2rem, 6vw, 3.4rem); }
.lead-p { margin: 16px 0 24px; font-size: 1.1rem; color: var(--ink-2); }

/* ---------- Varias páginas ---------- */
.nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--violet); }
.mobile-menu a[aria-current="page"] { color: var(--violet-ink); }
.section-head h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
.page-hero { padding: 56px 0 24px; }
.page-hero h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); margin: 18px 0 16px; max-width: 18ch; }
.page-hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 38rem; }
.page-hero + .section { padding-top: 40px; }
.cta-band { background: var(--violet); color: #fff; padding: 64px 0; }
.cta-inner { display: grid; gap: 24px; align-items: center; }
.cta-band h2 { font-family: var(--display); font-size: clamp(1.9rem, 5vw, 2.8rem); }
.cta-band p { margin-top: 10px; color: #e6e1ff; font-size: 1.08rem; max-width: 36rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions .btn { flex: 1 1 220px; }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.explore-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.explore-card .kicker { margin-bottom: 4px; }
.explore-card .go { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--violet-ink); }
.explore-card:hover h3 { text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: 4px; }
.detail .card h3 { font-size: 1.2rem; }
.needs { margin-top: 28px; padding: 24px; border-radius: var(--radius); border: 2px solid var(--ink); background: #fff; }
.needs h3 { margin-bottom: 10px; }
.needs ul { padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }
@media (min-width: 880px) {
  .page-hero { padding: 88px 0 32px; }
  .cta-inner { grid-template-columns: 1.3fr 1fr; gap: 48px; }
  .cta-actions .btn { flex: 0 0 auto; }
}
.mobile-menu .btn { display: flex; justify-content: center; padding: 0 26px; border-bottom: 2px solid var(--ink); color: var(--bg); }

/* ---------- Precios ---------- */
.precios-saltos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.precios-saltos a { padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.precios-saltos a:hover { background: var(--ink); color: var(--bg); }
.combos { display: grid; gap: 18px; }
.combo { display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius); background: var(--night-2); border: 1.5px solid var(--night-line); }
.combo-destacado { border-color: var(--violet); background: linear-gradient(160deg, #241d52, var(--night-2) 65%); }
.combo-top { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.combo-ahorro, .combo-badge { padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.combo-ahorro { background: var(--star); color: var(--ink); }
.combo-badge { background: var(--violet); color: #fff; }
.combo h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.combo-para { margin-top: 6px; color: var(--on-night-2); font-size: .95rem; }
.combo-precio { margin-top: 20px; display: flex; align-items: baseline; gap: 4px; }
.combo-precio .monto { font-family: var(--display); font-size: 2.1rem; color: var(--on-night); line-height: 1; }
.combo-precio .per { color: var(--on-night-2); font-weight: 600; }
.combo-mes { margin-top: 6px; font-weight: 700; color: var(--star); font-size: 1.05rem; }
.combo-antes { margin-top: 6px; font-size: .86rem; color: #9998a6; }
.combo-incluye { list-style: none; display: grid; gap: 8px; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--night-line); }
.combo-incluye li { position: relative; padding-left: 26px; font-size: .96rem; }
.combo-incluye li::before { content: ''; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2.5px solid var(--star); border-bottom: 2.5px solid var(--star); transform: rotate(-45deg); }
.combo-sinergia { margin-top: 16px; font-size: .92rem; color: var(--on-night-2); }
.combo-extra { margin-top: 10px; font-size: .92rem; color: #cfc6ff; font-weight: 600; }
.combo-perm { margin-top: 10px; font-size: .84rem; color: #9998a6; }
.combo-acciones { margin-top: auto; padding-top: 22px; }
.combo .btn-primary { background: var(--on-night); color: var(--ink); border-color: var(--on-night); }
.tarifas-grid { display: grid; gap: 20px; }
.tarifas { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; }
.tarifas h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; margin-bottom: 8px; }
.tarifas ul { list-style: none; }
.tarifas li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.tarifa-info { min-width: 0; }
.tarifa-info strong { display: block; font-size: 1rem; }
.tarifa-info span { display: block; color: var(--ink-3); font-size: .9rem; margin-top: 2px; }
.tarifa-valor { flex: none; text-align: right; max-width: 48%; }
.tarifa-precio { display: block; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.tarifa-precio .desde, .tarifa-precio .per { font-weight: 500; font-size: .85rem; color: var(--ink-3); }
.tarifa-mes { display: block; font-size: .86rem; color: var(--violet-ink); font-weight: 600; margin-top: 2px; }
.tarifa-mes .nota { color: var(--ink-3); font-weight: 500; }
.condiciones-split { display: grid; gap: 28px; align-items: start; }
.condiciones { list-style: none; display: grid; gap: 12px; }
.condiciones li { position: relative; padding: 16px 18px 16px 50px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-2); }
.condiciones li::before { content: '✦'; position: absolute; left: 18px; top: 15px; color: var(--violet); font-size: 1.05rem; }
@media (min-width: 640px) {
  .combos { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  .tarifas-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
  .condiciones-split { grid-template-columns: .9fr 1.1fr; gap: 56px; }
}
@media (min-width: 1100px) {
  .combos { grid-template-columns: repeat(4, 1fr); }
  .combo h3 { font-size: 1.5rem; }
  .combo-precio .monto { font-size: 1.8rem; }
}
/* Menú con 5 enlaces: que no se parta en pantallas medianas */
.nav-links a, .brand span, .nav-cta { white-space: nowrap; }
@media (min-width: 880px) and (max-width: 1099px) {
  .nav-links { gap: 18px; font-size: .95rem; }
  .brand span { display: none; }
}


/* ---------- Microinteracciones (premium, sin recargar) ---------- */
/* Aparición escalonada dentro de una misma rejilla */
.grid > .reveal:nth-child(2), .steps > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3), .steps > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4), .steps > .reveal:nth-child(4) { transition-delay: .24s; }
.grid > .reveal:nth-child(5) { transition-delay: .32s; }
.grid > .reveal:nth-child(6) { transition-delay: .4s; }
.grid > .reveal:nth-child(n+7) { transition-delay: .48s; }

/* Botón principal: destello al pasar el mouse */
.btn-primary, .btn-light, .btn-star { position: relative; overflow: hidden; }
.btn-primary::after, .btn-light::after, .btn-star::after {
  content: ''; position: absolute; top: -40%; left: -60%; width: 40%; height: 180%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg);
  transition: left .55s ease; pointer-events: none;
}
.btn-primary:hover::after, .btn-light:hover::after, .btn-star:hover::after { left: 130%; }
.btn-primary:hover { box-shadow: 6px 6px 0 var(--violet), 0 12px 30px rgba(90, 60, 240, .3); }

/* Tarjetas con profundidad: inclinación suave con el mouse (landing.js pone --rx/--ry) */
.card { position: relative; }
.card.tilt, .combo.tilt, .steps li.tilt { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-3px); transition: transform .12s ease-out, box-shadow .2s ease, border-color .2s ease; }
.card.tilt::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(139, 108, 255, .14), transparent 55%); }
.services .card.tilt, .combo.tilt { box-shadow: 0 16px 40px rgba(90, 60, 240, .22); }

/* Brillos morados y partículas en el inicio */
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; filter: blur(60px); opacity: .55; z-index: 0; }
.hero::before { width: 420px; height: 420px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(139, 108, 255, .45), transparent 70%); animation: glow-flota 12s ease-in-out infinite; }
.hero::after { width: 300px; height: 300px; left: -140px; bottom: -60px; background: radial-gradient(circle, rgba(255, 210, 63, .35), transparent 70%); animation: glow-flota 16s ease-in-out -5s infinite reverse; }
.hero .wrap { position: relative; z-index: 1; }
@keyframes glow-flota { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 24px) scale(1.12); } }
.particulas { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.particulas i { position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); opacity: 0; animation: particula-sube linear infinite; }
.particulas i:nth-child(odd) { background: var(--star); width: 4px; height: 4px; }
@keyframes particula-sube { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .55; } 85% { opacity: .35; } 100% { transform: translateY(-110vh) translateX(var(--dx, 20px)) scale(1.1); opacity: 0; } }
.section-night { position: relative; }
.section-night::after { content: ''; position: absolute; right: -10%; top: -20%; width: 50%; height: 70%; pointer-events: none; background: radial-gradient(circle, rgba(90, 60, 240, .28), transparent 65%); filter: blur(40px); z-index: 0; }
.section-night > .wrap { position: relative; z-index: 1; }

/* Parallax sutil del hero (landing.js pone --py) */
.orbit { transform: translateY(calc(var(--py, 0) * -1px)); transition: transform .15s linear; }
.orbit-ring, .orbit-ring.r2 { transition: transform .4s ease-out; }

/* Enlaces del menú: subrayado animado */
.nav-links a { position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--violet); transition: right .25s ease; }
.nav-links a:hover { text-decoration: none; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { text-decoration: none; }

/* Explora: la flecha se mueve */
.explore-card .go { transition: transform .2s ease; }
.explore-card:hover .go { transform: translateX(4px); }

/* Chips de confianza aparecen uno a uno */
.trust li { animation: trust-entra .5s ease both; }
.trust li:nth-child(2) { animation-delay: .15s; } .trust li:nth-child(3) { animation-delay: .3s; }
@keyframes trust-entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Astro 3D en páginas interiores (renders hechos con Higgsfield a partir de la hoja de personaje) */
.astro-render { position: relative; display: grid; place-items: center; }
.astro-render img { position: relative; width: min(100%, 420px); height: auto; border-radius: 28px; animation: flotar 7s ease-in-out infinite; filter: drop-shadow(0 24px 40px rgba(90, 60, 240, .28)); }
.astro-render::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(139, 108, 255, .35), transparent 70%); filter: blur(30px); }
.astro-video { position: relative; border-radius: 28px; overflow: hidden; border: 2px solid var(--night-line); box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(139, 108, 255, .2); background: #0b0a12; }
.astro-video video, .astro-video img { display: block; width: 100%; height: auto; }
.astro-video .etiqueta { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(18, 18, 22, .75); color: var(--on-night); font-size: .8rem; font-weight: 700; backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 6px; }
.astro-video .etiqueta::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2bd47d; }

@media (prefers-reduced-motion: reduce) {
  .particulas, .hero::before, .hero::after { display: none; }
  .card.tilt, .combo.tilt, .steps li.tilt { transform: none; }
}

/* Encabezados de página con Astro al lado */
.page-hero-grid { display: grid; gap: 28px; align-items: center; }
.page-hero-grid .astro-render img { width: min(100%, 360px); }
.astro-render-sm { margin-top: 20px; }
.astro-render-sm img { width: min(100%, 260px); border-radius: 24px; }
.servicios-intro { margin-bottom: 40px; }
.servicios-intro .section-head { margin-bottom: 0; }
@media (min-width: 880px) {
  .page-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .servicios-intro { grid-template-columns: 1fr 1fr; margin-bottom: 56px; }
}

/* Servicios: recuadro espacial con el Astro 3D grande (misma portada que el inicio) */
.astro-escenario {
  position: relative; border-radius: 28px; aspect-ratio: 1 / 1; max-width: 560px; margin: 0 auto; width: 100%;
  background: #0b0a12 radial-gradient(ellipse 70% 60% at 45% 45%, rgba(120, 60, 200, .55), rgba(60, 20, 120, .25) 45%, transparent 75%);
  border: 2px solid var(--night-line); box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(139, 108, 255, .2), inset 0 0 80px rgba(90, 60, 240, .18);
}
.astro-escenario-estrellas { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none;
  background-image: radial-gradient(1.5px 1.5px at 12% 20%, #fff 50%, transparent 55%), radial-gradient(1px 1px at 80% 15%, #fff 50%, transparent 55%), radial-gradient(1.2px 1.2px at 65% 70%, #fff 50%, transparent 55%), radial-gradient(1px 1px at 25% 80%, #fff 50%, transparent 55%), radial-gradient(1.5px 1.5px at 90% 55%, #fff 50%, transparent 55%), radial-gradient(1px 1px at 40% 10%, #fff 50%, transparent 55%), radial-gradient(1px 1px at 55% 35%, #fff 50%, transparent 55%), radial-gradient(1.2px 1.2px at 8% 55%, #fff 50%, transparent 55%);
  animation: titilar-estrellas 4s ease-in-out infinite alternate; opacity: .8; }
@keyframes titilar-estrellas { from { opacity: .5; } to { opacity: 1; } }
.astro-escenario .orbit-astro { position: absolute; inset: 4% 8% 6%; z-index: 3; background: none; border: 0; padding: 0; }
.astro-escenario .etiqueta { position: absolute; left: 14px; bottom: 14px; z-index: 4; padding: 6px 12px; border-radius: 999px; background: rgba(18, 18, 22, .75); color: var(--on-night); font-size: .8rem; font-weight: 700; backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 6px; }
.astro-escenario .etiqueta::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #2bd47d; }
@media (min-width: 880px) { .servicios-intro { grid-template-columns: 1fr 1fr; align-items: center; } }
/* Sin recuadro: el Astro va directo sobre el fondo de la sección */
.astro-escenario { background: none; border: 0; box-shadow: none; aspect-ratio: 1 / 1; }
.astro-escenario::before { content: ''; position: absolute; inset: 12% 8% 16%; border-radius: 50%; background: radial-gradient(circle, rgba(90, 60, 240, .45), transparent 65%); filter: blur(18px); }
.astro-escenario .orbit-astro { inset: 0 4% 2%; }

/* ---------- Intro: galaxia que cubre la página hasta que la tocan ---------- */
.intro-galaxia { position: fixed; inset: 0; z-index: 200; cursor: pointer; background: #07060d; outline: none; transition: opacity .2s linear; }
.intro-lienzo { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-texto { position: absolute; inset: auto 0 9vh; display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--on-night); pointer-events: none; animation: intro-sube 1s ease .3s both; }
.intro-texto img { width: 84px; height: 84px; filter: drop-shadow(0 0 24px rgba(139, 108, 255, .6)); animation: flotar 6s ease-in-out infinite; }
.intro-marca { font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.4rem); letter-spacing: .01em; }
.intro-pista { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(185, 164, 255, .5); background: rgba(18, 18, 22, .55); backdrop-filter: blur(6px); font-weight: 700; font-size: .95rem; color: #e9e3ff; animation: intro-latido 2.2s ease-in-out infinite; }
.intro-pista span { width: 10px; height: 10px; border-radius: 50%; background: var(--star); box-shadow: 0 0 12px var(--star); }
.intro-galaxia.abriendo .intro-texto { opacity: 0; transition: opacity .35s ease; }
html.intro-activa { overflow: hidden; }
html.intro-activa .astro-launcher, html.intro-activa .astro-teaser, html.intro-activa .astro-companero-burbuja { visibility: hidden; }
html.intro-lista .hero .reveal, html.intro-lista .hero h1, html.intro-lista .hero .lead { animation: intro-entra .7s ease both; }
@keyframes intro-sube { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes intro-latido { 50% { transform: scale(1.04); box-shadow: 0 0 24px rgba(139, 108, 255, .45); } }
@keyframes intro-entra { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Selector de idioma y moneda (cabecera) ---------- */
.pref { position: relative; margin-left: auto; }
.pref-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(185, 166, 255, .3); background: rgba(18, 13, 48, .55); color: var(--u-texto-2, #C8C1E8); font: 700 .78rem/1 var(--u-sans, inherit); letter-spacing: .06em; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.pref-btn i { font-style: normal; opacity: .6; }
.pref-btn:hover, .pref-btn[aria-expanded="true"] { border-color: var(--u-violeta-claro, #B9A6FF); color: #fff; }
.pref-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 250px; padding: 14px; border-radius: 16px; background: #120D30; border: 1px solid rgba(185, 166, 255, .3); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.pref-grupo p { margin: 0 0 6px; font: 800 .64rem/1 var(--u-sans, inherit); letter-spacing: .16em; text-transform: uppercase; color: var(--u-texto-3, #8E86B4); }
.pref-grupo + .pref-grupo { margin-top: 12px; }
.pref-grupo button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--u-texto-2, #C8C1E8); font: 500 .9rem/1.2 var(--u-sans, inherit); text-align: left; cursor: pointer; }
.pref-grupo button b { min-width: 38px; font-weight: 800; color: #fff; }
.pref-grupo button:hover { background: rgba(140, 107, 255, .14); }
.pref-grupo button[aria-pressed="true"] { border-color: rgba(255, 211, 78, .55); background: rgba(255, 211, 78, .1); color: #fff; }
.pref-grupo button[aria-pressed="true"]::after { content: '\2713'; margin-left: auto; color: var(--u-dorado, #FFD34E); font-weight: 900; }
.pref-nota { display: block; margin-top: 12px; font-size: .74rem; line-height: 1.4; color: var(--u-texto-3, #8E86B4); }
@media (min-width: 1000px) { .pref { margin-left: 0; } }
@media (max-width: 439px) { .pref-btn { min-height: 32px; padding: 0 9px; font-size: .72rem; } .brand span { font-size: 1rem; } }
data.u-din { font: inherit; color: inherit; }

/* ---------- /precios: filtro por tipo de negocio ---------- */
.combos-filtro { margin: -6px 0 26px; }
.combos-filtro-titulo { margin: 0 0 10px; font-weight: 700; color: var(--on-night); }
.combos-filtro .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.combos-filtro .chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--night-line); background: rgba(18, 13, 48, .55); color: var(--on-night-2); font-weight: 700; font-size: .86rem; cursor: pointer; transition: all .2s ease; }
.combos-filtro .chip:hover { border-color: var(--violet); color: var(--on-night); }
.combos-filtro .chip[aria-selected="true"] { background: var(--on-night); color: var(--ink); border-color: transparent; }
.combos-nota { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(255, 211, 78, .1); border: 1px solid rgba(255, 211, 78, .35); color: var(--on-night); font-size: .93rem; line-height: 1.5; }
.combo { position: relative; }
.combo-reco { position: absolute; top: -12px; left: 20px; padding: 5px 12px; border-radius: 999px; background: var(--star); color: var(--ink); font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.combo[hidden] { display: none; }
.combos--filtrado { grid-template-columns: repeat(auto-fit, minmax(300px, 440px)) !important; justify-content: center; }

/* ---------- /precios: servicios sueltos en tarjetas horizontales (sin huecos) ---------- */
.tarifas-grid { gap: 28px; grid-template-columns: 1fr !important; } /* cada categoría a lo ancho: sin columnas desparejas */
.tarifas { padding: 24px 24px 20px; }
.tarifas h3 { margin-bottom: 14px; }
.tarifas ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.combos-filtro { scroll-margin-top: 110px; }
.tarifas li { flex-direction: column; justify-content: space-between; gap: 12px; padding: 16px; border: 1px solid var(--night-line); border-top: 1px solid var(--night-line); border-radius: 14px; background: rgba(18, 13, 48, .5); }
.tarifa-valor { text-align: left; max-width: none; padding-top: 10px; border-top: 1px dashed var(--night-line); }
.tarifa-precio { white-space: normal; }
