/* ==========================================================================
   2D.com.blog — landing comercial
   Paleta tomada del logo (negro + punto violeta) y del QR (marco azul).
   ========================================================================== */

:root {
  --ink: #0b0b10;
  --ink-2: #2a2b33;
  --muted: #5d606b;
  --line: #e6e7ec;
  --bg: #ffffff;
  --tint: #f5f6fa;
  --violet: #7a5cff;      /* punto del logo */
  --violet-soft: #efebff;
  --blue: #2563eb;        /* marco del QR */
  --blue-soft: #e8efff;
  --dark: #0b0b10;
  --dark-2: #15161d;
  --dark-line: #262833;
  --ok: #10b981;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 11, 16, .04), 0 12px 32px -12px rgba(11, 11, 16, .14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
code, .mono { font-family: var(--mono); font-size: .92em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 24px -8px rgba(122, 92, 255, .6); }
.btn-primary:hover { background: #6a4cf0; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav-logo img { height: 30px; width: auto; mix-blend-mode: multiply; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--violet); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; }

@media (max-width: 920px) {
  .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    margin-left: auto; width: 44px; height: 44px; padding: 0 10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 20px;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a.nav-cta-mobile { display: inline-flex; margin-top: 16px; border: 0; color: #fff; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: .7;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--violet-soft); color: #4b32c7; font-weight: 600; font-size: 13.5px;
}
.dot { width: 10px; height: 10px; background: var(--violet); border-radius: 2px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); margin-top: 22px; font-weight: 700; }
.hero-lead { font-family: var(--display); font-size: clamp(21px, 2.4vw, 28px); font-weight: 500; margin-top: 14px; color: var(--ink-2); letter-spacing: -.01em; }
.hero-lead em { font-style: normal; color: var(--violet); }
.hero-sub { font-size: 17.5px; color: var(--muted); margin-top: 18px; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-ctas.center { justify-content: center; }
.hero-claims { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; }
.hero-claims li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 15px; }
.hero-claims li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232563eb' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.hero-visual { position: relative; min-height: 520px; }
.pack {
  margin: 0; position: absolute; left: 0; top: 10px; width: 64%;
  background: #fff; border-radius: 22px; padding: 22px 22px 14px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transform: rotate(-3deg);
}
.pack figcaption { text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; color: var(--muted); margin-top: 10px; font-weight: 500; }

.phone {
  position: absolute; right: 0; top: 70px; width: 46%; max-width: 260px;
  aspect-ratio: 9 / 18.5; border-radius: 34px; background: #fff;
  border: 8px solid var(--ink); box-shadow: 0 30px 60px -20px rgba(11, 11, 16, .45);
  overflow: hidden; display: flex; flex-direction: column;
}
.phone-notch { position: absolute; left: 50%; top: 6px; transform: translateX(-50%); width: 34%; height: 16px; background: var(--ink); border-radius: 10px; z-index: 2; }
.phone-url { margin-top: 30px; text-align: center; font-size: 9.5px; color: var(--muted); font-family: var(--mono); padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-hero { margin: 8px 10px 0; border-radius: 14px; height: 30%; background: linear-gradient(135deg, #fff1e6, #ffd9c2); display: grid; place-items: center; }
.jar {
  width: 38%; aspect-ratio: 3 / 4; border-radius: 10px 10px 14px 14px; background: linear-gradient(160deg, #e2412d, #a8231a);
  position: relative; display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(168, 35, 26, .6);
}
.jar::before { content: ""; position: absolute; top: -8px; left: 8%; right: 8%; height: 12px; border-radius: 4px; background: #222; }
.jar span { font-family: var(--display); font-weight: 700; color: #fff; font-size: 10px; text-align: center; line-height: 1.1; background: rgba(255, 255, 255, .15); padding: 4px 3px; border-radius: 4px; }
.phone-body { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 8px; }
.phone-title { font-family: var(--display); font-weight: 700; font-size: 16px; }
.phone-gtin { font-family: var(--mono); font-size: 9.5px; color: var(--muted); margin-top: -6px; }
.phone-tabs { display: flex; gap: 4px; }
.phone-tabs span { font-size: 9px; padding: 4px 7px; border-radius: 999px; background: var(--tint); color: var(--muted); white-space: nowrap; }
.phone-tabs span.on { background: var(--ink); color: #fff; }
.phone-lines { display: grid; gap: 5px; }
.phone-lines i { height: 6px; border-radius: 3px; background: var(--line); }
.phone-lines i.short { width: 60%; }
.phone-row { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; padding: 7px 9px; border-radius: 9px; background: var(--tint); font-weight: 500; }
.phone-row b { color: var(--blue); }

@media (max-width: 920px) {
  .hero { padding: 48px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; aspect-ratio: 1 / 1.08; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; }
  .phone { border-width: 6px; border-radius: 26px; }
  .phone-body { gap: 6px; }
  .phone-row:nth-of-type(n+3) { display: none; }
}

/* ---------- Secciones ---------- */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--dark); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.section h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; }
.lead { font-size: 18px; color: var(--muted); margin-top: 16px; }
.section-dark .lead { color: #a5a8b6; }
.section-dark .kicker { color: #a993ff; }
@media (max-width: 700px) { .section { padding: 72px 0; } .section-head { margin-bottom: 36px; } }

/* ---------- Problema ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-card { border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.compare-card h3 { font-size: 24px; margin: 6px 0 18px; }
.compare-tag { font-size: 13px; font-weight: 600; color: var(--muted); }
.compare-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare-card li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.compare-card li::before { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.compare-bad { background: #fafafb; }
.compare-bad h3 { color: var(--muted); }
.compare-bad li::before { content: "✕"; background: #f1f1f4; color: #9a9caa; }
.compare-good { background: #fff; border-color: transparent; box-shadow: var(--shadow), 0 0 0 2px var(--violet) inset; }
.compare-good .compare-tag { color: var(--violet); }
.compare-good li::before { content: "✓"; background: var(--violet-soft); color: var(--violet); }
.value-line { margin-top: 40px; font-family: var(--display); font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; letter-spacing: -.01em; max-width: 880px; color: var(--ink-2); }
.value-line strong { color: var(--ink); background: linear-gradient(transparent 62%, var(--violet-soft) 62%); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare-card { padding: 24px; } }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); position: relative; }
.step-n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 18px; margin-bottom: 20px;
}
.step:first-child .step-n { background: var(--violet); }
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step code { background: var(--violet-soft); color: #4b32c7; padding: 2px 6px; border-radius: 6px; font-size: 13px; word-break: break-all; }
.note { display: flex; gap: 14px; align-items: center; margin-top: 28px; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--blue-soft); color: #173a8a; }
.note svg { width: 22px; height: 22px; fill: var(--blue); flex: none; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step { padding: 22px; } }

/* ---------- Funciones ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.feature:hover { border-color: #d6d0ff; transform: translateY(-2px); box-shadow: var(--shadow); }
.ficon { width: 44px; height: 44px; border-radius: 12px; background: var(--violet-soft); display: grid; place-items: center; margin-bottom: 18px; }
.ficon svg { width: 22px; height: 22px; fill: var(--violet); }
.feature:nth-child(even) .ficon { background: var(--blue-soft); }
.feature:nth-child(even) .ficon svg { fill: var(--blue); }
.feature h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.25; }
.feature p { color: var(--muted); font-size: 14.5px; }
@media (min-width: 1100px) {
  .features { grid-template-columns: repeat(4, 1fr); }
  .feature:nth-last-child(-n+2) { grid-column: span 2; }
}

/* ---------- Ejemplo / demo ---------- */
.demo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.demo-panel { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 22px; padding: 28px; }
.demo-form label { display: block; font-size: 13px; font-weight: 600; color: #a5a8b6; margin-bottom: 10px; }
.demo-input { display: flex; gap: 10px; align-items: center; }
.demo-input input {
  flex: 1; min-width: 0; font-family: var(--mono); font-size: 22px; letter-spacing: .06em;
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--dark-line); background: #0d0e14; color: #fff;
  transition: border-color .15s ease;
}
.demo-input input:focus { outline: none; border-color: var(--violet); }
.demo-input input.invalid { border-color: #f87171; }
.chip { flex: none; border: 1px solid var(--dark-line); background: transparent; color: #cfd1db; border-radius: 999px; padding: 8px 14px; font: 500 13px var(--font); cursor: pointer; }
.chip:hover { border-color: #a993ff; color: #fff; }
.demo-status { font-size: 13.5px; margin-top: 10px; min-height: 20px; color: #a5a8b6; }
.demo-status.ok { color: #6ee7b7; }
.demo-status.err { color: #fca5a5; }
.demo-rows { margin: 22px 0 0; display: grid; gap: 2px; }
.demo-row { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--dark-line); }
.demo-row dt { font-size: 13px; color: #a5a8b6; }
.demo-row dt small { color: #6f7383; font-size: 12px; }
.demo-row dd { margin: 0; font-family: var(--mono); font-size: 17px; color: #fff; word-break: break-all; transition: opacity .2s ease; }
.demo-row dd.accent { color: #b9a8ff; font-weight: 600; }
.demo-row dd.mono { font-size: 14.5px; color: #93b4ff; }
.demo-rows.muted dd { opacity: .3; }
.demo-fine { font-size: 12.5px; color: #6f7383; margin-top: 8px; }
.demo-visual { display: grid; gap: 22px; }
.qr-card { margin: 0; background: #fff; border-radius: 22px; padding: 24px 24px 16px; color: var(--ink); }
.qr-card figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.demo-copy { color: #cfd1db; font-size: 15.5px; }
@media (max-width: 920px) { .demo { grid-template-columns: 1fr; } .demo-visual { max-width: 480px; } }
@media (max-width: 480px) {
  .demo-panel { padding: 20px; }
  .demo-input { flex-wrap: wrap; }
  .demo-input input { font-size: 18px; }
}

/* ---------- Activación ---------- */
.activate { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.activate-steps { display: grid; gap: 26px; justify-items: start; }
.astep { display: flex; gap: 18px; }
.astep-n { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--violet); border: 1.5px solid #d6d0ff; border-radius: 10px; width: 44px; height: 44px; display: grid; place-items: center; flex: none; }
.astep h3 { font-size: 19px; margin-bottom: 6px; }
.astep p { color: var(--muted); font-size: 15px; }
.astep a { color: var(--violet); font-weight: 600; }
.console { border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--tint); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dcdde3; }
.console-bar span { margin-left: 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.console-body { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; }
.console-side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; align-content: start; gap: 4px; }
.console-side span { font-size: 13px; padding: 8px 10px; border-radius: 8px; color: var(--muted); }
.console-side span.on { background: var(--violet-soft); color: #4b32c7; font-weight: 600; }
.console-main { padding: 14px 16px; display: grid; align-content: start; gap: 2px; }
.console-row { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr; gap: 10px; align-items: center; font-size: 13px; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.console-row.head { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.console-row .mono { font-size: 12px; color: var(--ink-2); }
.pill { justify-self: start; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--muted); }
.pill-on { background: #e7f8f1; color: #047857; }
.console-scan { display: flex; align-items: flex-end; gap: 14px; padding: 18px 4px 4px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.bars i { width: 12px; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(var(--violet), var(--blue)); }
.console-scan span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 920px) { .activate { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) {
  .console-body { grid-template-columns: 1fr; }
  .console-side { display: flex; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .console-row { grid-template-columns: 1.4fr 1fr; }
  .console-row > :nth-child(2) { display: none; }
}

/* ---------- Para quién ---------- */
.audience { list-style: none; padding: 0; margin: 0 0 48px; display: flex; flex-wrap: wrap; gap: 10px; }
.audience li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 500; font-size: 15px; }
.clarity { background: #fff; border-radius: 22px; padding: 32px; border: 1px solid var(--line); }
.clarity h3 { font-size: 21px; margin-bottom: 20px; }
.clarity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.clarity-grid p { color: var(--muted); font-size: 15px; padding-left: 16px; border-left: 3px solid var(--violet-soft); }
.clarity-grid strong { color: var(--ink); display: block; margin-bottom: 4px; }
@media (max-width: 760px) { .clarity-grid { grid-template-columns: 1fr; } .clarity { padding: 22px; } }

/* ---------- Próximamente ---------- */
.soon { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.soon article { padding: 24px; border-radius: var(--radius); border: 1.5px dashed #d4d6de; }
.soon-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.soon h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.25; }
.soon p { font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .soon { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .soon { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--violet); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); font-size: 15px; }
.glossary { margin-top: 56px; }
.glossary h3 { font-size: 21px; margin-bottom: 16px; }
.glossary dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.glossary dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 700; font-family: var(--display); }
.glossary dd { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { .glossary dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- CTA final ---------- */
.cta-final {
  padding: 112px 0; color: #fff; text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 20% 0%, rgba(122, 92, 255, .55), transparent 60%),
    radial-gradient(ellipse 50% 70% at 90% 100%, rgba(37, 99, 235, .5), transparent 60%),
    var(--dark);
}
.cta-final h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; }
.cta-final p { margin-top: 16px; font-size: 18px; color: #cfd1db; }
@media (max-width: 480px) { .cta-final .btn { width: 100%; } }

/* ---------- Footer (tono oscuro) ---------- */
.footer { background: #060609; color: #a5a8b6; padding: 64px 0 32px; border-top: 1px solid #16171f; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid #1c1d26; }
.footer-brand { max-width: 320px; }
/* El logo oficial es JPG negro sobre blanco: invertido + hue-rotate conserva el violeta
   del punto y "screen" desaparece el fondo sobre el footer oscuro. */
.logo-invert { height: 36px; width: auto; filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: start; }
.footer-links a { text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-family { padding: 36px 0; border-bottom: 1px solid #1c1d26; }
.footer-family > p { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: #6f7383; margin-bottom: 20px; }
.footer-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 28px 48px; }
.footer-logos img { height: 38px; width: auto; opacity: .72; transition: opacity .2s ease; }
.footer-logos a:hover img, .footer-logos img:hover { opacity: 1; }
.footer-bottom { padding-top: 24px; font-size: 13px; color: #6f7383; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature { transition: none; }
}
