@font-face { font-family: "Titulo"; src: url("fuentes/titulo.ttf") format("truetype"); font-display: swap; }
:root {
  --sc-canvas: #0b0711; --sc-surface: #171121; --sc-ink: #f4f0fa; --sc-ink-soft: #beb4cc;
  --sc-accent: #9855fa; --sc-accent-ink: #0b0711;
  --sc-font-display: "Titulo", system-ui, sans-serif; --sc-font-text: system-ui, "Segoe UI", sans-serif;
  --accent2: #369fd1; --card: rgba(152,85,250,0.08); --line: rgba(152,85,250,0.24);
}
html, body { margin: 0; background: var(--sc-canvas); color: var(--sc-ink); }
.site-bar { position: fixed; inset: 0 0 auto 0; z-index: 70; display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 4vw, 40px); background: linear-gradient(var(--sc-canvas), transparent); }
.site-bar b { font-family: var(--sc-font-display); letter-spacing: .02em; font-size: 15px; max-width: 60vw; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.cta { display: inline-block; background: var(--sc-accent); color: var(--sc-accent-ink); font-weight: 700; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; margin-top: 22px; }
.site-bar .cta { margin: 0; padding: 9px 16px; font-size: 14px; }
.cta--big { padding: 18px 34px; font-size: 18px; }
.hero__stage { overflow: hidden; }
.plane { position: absolute; inset: -8% 0; pointer-events: none; }
.plane__img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.12 - var(--sc-p, 0) * .12)); }
.plane__glow { position: absolute; inset: 0; background: radial-gradient(60% 55% at 70% 40%, var(--sc-accent), transparent 70%),
  radial-gradient(50% 50% at 20% 70%, var(--accent2), transparent 70%); opacity: .55; filter: blur(30px); }
.plane--haze { background: linear-gradient(100deg, color-mix(in oklab, var(--sc-canvas) 92%, transparent) 0 38%, transparent 75%); }
.plane--front { inset: auto 0 -8% 0; height: 45%; background: linear-gradient(transparent, var(--sc-canvas)); }
.hero__copy { position: absolute; z-index: 20; left: clamp(18px, 6vw, 90px); right: clamp(18px, 6vw, 90px); top: 50%;
  transform: translateY(-50%); max-width: 52rem; }
.hero__copy h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem); }
.hero__copy .sc-lede { margin-top: 16px; max-width: 36rem; color: var(--sc-ink); opacity: .9; }
.pan__stage { display: flex; align-items: center; }
.rail { display: flex; gap: clamp(16px, 3vw, 36px); padding-inline: clamp(18px, 6vw, 90px); align-items: stretch; }
.rail__lead { flex: 0 0 min(80vw, 26rem); align-self: center; }
.card { flex: 0 0 min(78vw, 22rem); }
.card__face { height: 100%; box-sizing: border-box; background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 28px; color: var(--sc-ink); }
.card__face svg { color: var(--sc-accent); }
.card__face h3 { font-family: var(--sc-font-display); margin: 16px 0 8px; font-size: 22px; }
.card__face p { color: var(--sc-ink-soft); margin: 0; line-height: 1.55; }
.steps__stage { display: grid; align-content: center; gap: 28px; padding-inline: clamp(18px, 6vw, 90px); }
.steps { position: relative; min-height: 12rem; }
.step { position: absolute; inset: 0 auto auto 0; display: flex; gap: clamp(16px, 3vw, 36px); align-items: flex-start; max-width: 48rem; }
.step__n { font-family: var(--sc-font-display); font-size: clamp(64px, 12vw, 150px); line-height: .85; color: var(--sc-accent); }
.step h3 { font-family: var(--sc-font-display); font-size: clamp(22px, 3vw, 34px); margin: 6px 0 10px; }
.step p { color: var(--sc-ink-soft); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.55; margin: 0; max-width: 34rem; }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 28px; text-align: center; }
.fig b { display: block; font-family: var(--sc-font-display); font-size: clamp(48px, 8vw, 96px); color: var(--sc-accent); }
.fig span { color: var(--sc-ink-soft); }
.about--photo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.about__photo { margin: 0; border-radius: 24px; overflow: hidden; }
.about__photo img { width: 100%; height: auto; display: block; }
.about__logo { border-radius: 0; overflow: visible; max-width: 26rem; justify-self: center; }
.about__logo img { filter: drop-shadow(0 0 40px color-mix(in oklab, var(--sc-accent) 55%, transparent)); }
.faq__list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq__list summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.faq__list p { color: var(--sc-ink-soft); line-height: 1.6; margin: 12px 0 0; }
.close { display: grid; place-items: center; text-align: center; }
.close__inner { max-width: 44rem; padding-inline: 18px; }
.close .sc-lede { margin-top: 14px; color: var(--sc-ink-soft); }
.foot { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: space-between;
  padding-inline: clamp(18px, 6vw, 90px); color: var(--sc-ink-soft); font-size: 13px; }
.cta--wa { display: inline-flex; align-items: center; gap: 10px; }
.cta--wa svg { width: 22px; height: 22px; flex: none; }
.cta { background: linear-gradient(120deg, var(--sc-accent), var(--accent2)); box-shadow: 0 14px 40px -12px var(--sc-accent);
  transition: transform .2s ease, box-shadow .2s ease; }
.cta:hover, .cta:focus-visible { transform: translateY(-2px); box-shadow: 0 18px 48px -10px var(--sc-accent); }
.plane--logo { inset: auto; top: 50%; right: clamp(16px, 6vw, 90px); width: min(36vw, 470px); aspect-ratio: 1; translate: 0 -50%;
  display: grid; place-items: center; }
.plane--logo img { width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 44px color-mix(in oklab, var(--sc-accent) 60%, transparent)); animation: logo-float 7s ease-in-out infinite; }
@keyframes logo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__copy--marca { max-width: min(52rem, 54vw); }
.site-bar .marca b { font-family: var(--sc-font-display); letter-spacing: .02em; font-size: 15px; }
@media (max-width: 760px) {
  .plane--logo { top: 9%; right: 50%; translate: 50% 0; width: min(50vw, 230px); }
  .hero__copy--marca { max-width: none; }
  .about--photo { grid-template-columns: 1fr; }
  .hero__copy { top: auto; bottom: 14%; transform: none; }
  .plane--haze { background: linear-gradient(0deg, color-mix(in oklab, var(--sc-canvas) 90%, transparent) 0 45%, transparent 80%); }
  .site-bar .cta { display: none; }
}

.marca { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.marca__logo { width: 40px; height: 40px; object-fit: contain; flex: none; }
.marca b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-float { position: fixed; z-index: 90; right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px;
  padding: 14px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 12px 32px -6px rgba(37, 211, 102, .65); transition: transform .2s ease, padding .2s ease; }
.wa-float:hover, .wa-float:focus-visible { transform: translateY(-3px) scale(1.04); }
.wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wa-float svg { flex: none; }
.wa-float__label { font-size: 16px; padding-right: 6px; }
.wa-float__ring { position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366;
  animation: wa-pulse 2.2s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.45); opacity: 0; } }
.contacto { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin-top: 22px; }
.cta--wa { display: inline-flex; align-items: center; gap: 10px; }
.cta--wa svg { width: 26px; height: 26px; }
.cta-tel { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-weight: 600; text-decoration: none;
  padding: 12px 18px; border-radius: 999px; border: 1px solid currentColor; opacity: .9; }
.cta-tel:hover { opacity: 1; }
@media (max-width: 560px) { .wa-float__label { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float__ring { animation: none; } }
