@font-face {
  font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/anton-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('assets/fonts/archivo-var.woff2') format('woff2');
}

:root {
  --ink: #0b0a0c;
  --ink-2: #131114;
  --ink-3: #1a171b;
  --line: #282329;
  --line-soft: #1e1a1f;
  --bone: #f0ebe4;
  --muted: #a29aa2;
  --faint: #6f6870;
  --bleed: #ff2b45;
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --maxw: 1120px;
  --pad: clamp(20px, 4vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#fb-page {
  overflow-x: clip;
  background:
    radial-gradient(1100px 520px at 85% -5%, rgba(255, 43, 69, 0.07), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(255, 43, 69, 0.04), transparent 55%),
    var(--ink);
  min-height: 100vh;
}

::selection { background: var(--bleed); color: var(--ink); }

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 10, 12, 0.78);
  border-bottom: 1px solid var(--line-soft);
}

.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }

.wordmark {
  font-family: var(--display); font-size: 21px; letter-spacing: 0.04em;
  text-decoration: none; display: flex; align-items: baseline; gap: 7px; white-space: nowrap;
}
.wordmark .reg { width: 9px; height: 9px; border-radius: 50%; background: var(--bleed); align-self: center; flex: none; }

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--bone); }
.nav-links a:focus-visible { outline: 2px solid var(--bleed); outline-offset: 3px; }
.nav-cta { color: var(--bleed) !important; }

@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- hero ---------- */

.hero { position: relative; padding-top: clamp(48px, 7vh, 90px); padding-bottom: clamp(48px, 7vh, 90px); }

.crop { position: absolute; width: 26px; height: 26px; border-color: var(--faint); border-style: solid; border-width: 0; opacity: 0.6; pointer-events: none; }
.crop.tl { top: 18px; left: 18px; border-top-width: 1px; border-left-width: 1px; }
.crop.tr { top: 18px; right: 18px; border-top-width: 1px; border-right-width: 1px; }
.crop.bl { bottom: 18px; left: 18px; border-bottom-width: 1px; border-left-width: 1px; }
.crop.br { bottom: 18px; right: 18px; border-bottom-width: 1px; border-right-width: 1px; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 60px); align-items: center; }

.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--bleed); flex: none; }

.hero h1 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(54px, 8.4vw, 118px); line-height: 0.94; letter-spacing: 0.005em;
  margin-top: 22px; text-wrap: balance;
}
.hero h1 .sangre { color: var(--bleed); }

.hero-sub { margin-top: 26px; max-width: 46ch; font-size: clamp(16.5px, 1.5vw, 19px); color: var(--muted); }
.hero-sub strong { color: var(--bone); font-weight: 600; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 15.5px;
  padding: 15px 26px; border-radius: 4px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-bleed { background: var(--bleed); color: #16060a; }
.btn-bleed:hover, .btn-bleed:focus-visible { background: #ff4a60; }
.btn-ghost { border: 1px solid var(--line); color: var(--bone); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--muted); }
.btn:focus-visible { outline: 2px solid var(--bleed); outline-offset: 3px; }

.hero-note { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--faint); }

/* ---------- device ---------- */

.phone {
  width: var(--phw, 200px);
  aspect-ratio: 9 / 19.4;
  border-radius: 34px;
  background: linear-gradient(160deg, #2b2730, #141217 40%);
  padding: 5px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.65), 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  position: relative;
  flex: none;
}

.screen { position: absolute; inset: 5px; border-radius: 29px; overflow: hidden; background: #000; transform: translateZ(0); }
.screen video, .screen img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.island {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 12px; background: #000; border-radius: 999px; z-index: 9;
}

.stbar {
  position: absolute; top: 8px; left: 15px; right: 13px; z-index: 8;
  display: flex; justify-content: space-between; align-items: center;
  color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.stbar .sig { display: flex; align-items: center; gap: 3px; }
.stbar svg { display: block; }

.shade-b { position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(transparent, rgba(0, 0, 0, 0.62)); pointer-events: none; z-index: 1; }
.shade-t { position: absolute; inset: 0 0 auto 0; height: 16%; background: linear-gradient(rgba(0, 0, 0, 0.45), transparent); pointer-events: none; z-index: 1; }

/* app top chrome */
.tt-tabs {
  position: absolute; top: 27px; left: 0; right: 0; z-index: 7;
  display: flex; justify-content: center; gap: 12px;
  font-size: 9.5px; font-weight: 600; color: rgba(255, 255, 255, 0.62);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.tt-tabs .on { color: #fff; position: relative; }
.tt-tabs .on::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: -4px; height: 2px; background: #fff; border-radius: 2px; }
.top-ic { position: absolute; top: 26px; z-index: 7; display: flex; gap: 11px; align-items: center; }
.top-ic.r { right: 11px; }
.top-ic svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6)); }
.reels-wm { position: absolute; top: 25px; left: 13px; z-index: 7; color: #fff; font-size: 11.5px; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }

/* action rail */
.rail { position: absolute; right: 6px; bottom: 48px; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rail .ic { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rail svg { width: 21px; height: 21px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.65)); }
.rail .fw { fill: #fff; stroke: none; }
.rail .ow { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rail .cnt { font-size: 7.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75); letter-spacing: 0.02em; }

.avat {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #56505e, #26232b);
  border: 1.2px solid #fff; position: relative; margin-bottom: 5px;
}
.avat::after {
  content: "+"; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 11px; height: 11px; background: var(--bleed); color: #fff; border-radius: 50%;
  font-size: 9px; line-height: 10px; text-align: center; font-weight: 700;
}
.avat.plain { margin-bottom: 0; }
.avat.plain::after { content: none; }

.disc {
  width: 21px; height: 21px; border-radius: 50%; margin-top: 2px;
  background: radial-gradient(circle, #5a5560 0 3px, #101013 3px 6.5px, #33303a 6.5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: spin 7s linear infinite;
}
.alb {
  width: 18px; height: 18px; border-radius: 4px; margin-top: 2px;
  background: linear-gradient(135deg, #3c3844, #17151b);
  border: 1.4px solid rgba(255, 255, 255, 0.75);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* caption meta */
.meta { position: absolute; left: 10px; right: 42px; bottom: 44px; z-index: 6; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75); }
.meta .h { font-size: 10.5px; font-weight: 700; }
.meta .c { font-size: 9px; line-height: 1.35; opacity: 0.93; margin-top: 2px; }
.meta .m { display: flex; align-items: center; gap: 4px; font-size: 8px; margin-top: 5px; opacity: 0.92; overflow: hidden; white-space: nowrap; }
.meta .m svg { width: 8px; height: 8px; fill: #fff; flex: none; }
.chrow { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.chrow .h { font-size: 10px; }
.chrow .avat { width: 17px; height: 17px; border-width: 1px; }
.pill-sub { background: #fff; color: #000; font-size: 7.5px; font-weight: 700; padding: 2.5px 7px; border-radius: 999px; }
.pill-fol { border: 1px solid rgba(255, 255, 255, 0.85); color: #fff; font-size: 7.5px; font-weight: 600; padding: 2px 6px; border-radius: 5px; }

/* bottom app nav */
.bnav {
  position: absolute; left: 0; right: 0; bottom: 0; height: 36px; z-index: 7;
  background: #000; border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex; align-items: center; justify-content: space-around; padding: 0 4px 3px;
}
.bnav.yt { background: #0f0f0f; }
.bnav .bi { display: flex; flex-direction: column; align-items: center; gap: 1.5px; color: rgba(255, 255, 255, 0.55); font-size: 6.4px; font-weight: 500; letter-spacing: 0.01em; }
.bnav .bi.on { color: #fff; }
.bnav .bi svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bnav .bi svg.f { fill: currentColor; stroke: none; }

.ttplus { width: 27px; height: 18px; position: relative; background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.ttplus::before { content: ""; position: absolute; left: -3.5px; top: 0; width: 27px; height: 18px; background: #35e3e0; border-radius: 6px; z-index: -1; }
.ttplus::after { content: ""; position: absolute; right: -3.5px; top: 0; width: 27px; height: 18px; background: var(--bleed); border-radius: 6px; z-index: -2; }
.ttplus b { color: #000; font-size: 12px; font-weight: 800; line-height: 1; }
.oplus { width: 20px; height: 20px; border: 1.6px solid rgba(255, 255, 255, 0.8); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.85); font-size: 12px; font-weight: 600; line-height: 1; }
.oplus.rnd { border-radius: 50%; }

/* trio layout — 3D stage */
.stage { perspective: 1200px; position: relative; animation: rise 0.9s ease-out both; }
.stage::before {
  content: ""; position: absolute; inset: 8% -6% 4% -6%; z-index: 0; pointer-events: none;
  background: radial-gradient(58% 52% at 50% 46%, rgba(255, 43, 69, 0.14), transparent 70%);
  filter: blur(6px);
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.rig { transform-style: preserve-3d; will-change: transform; position: relative; z-index: 1; }

.trio { display: flex; align-items: center; justify-self: end; transform-style: preserve-3d; }
.trio .phone { --phw: clamp(158px, 16vw, 206px); animation: bob 8s ease-in-out infinite; }
.trio .p-left  { transform: rotate(-5.5deg) translateY(18px) translateZ(-46px) rotateY(10deg); z-index: 1; margin-right: -30px; }
.trio .p-mid   { transform: translateY(-10px) translateZ(52px) scale(1.07); z-index: 3; }
.trio .p-right { transform: rotate(5.5deg) translateY(18px) translateZ(-46px) rotateY(-10deg); z-index: 2; margin-left: -30px; }
.trio .p-left .phone  { animation-duration: 9.5s; animation-delay: -2s; }
.trio .p-right .phone { animation-duration: 8.6s; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-9px); } }

/* crossfading pool videos inside a screen */
.screen video.vp { opacity: 0; transition: opacity 0.8s ease; }
.screen video.vp.on { opacity: 1; }

.trio-caption { margin-top: 28px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.trio-caption b { color: var(--bleed); font-weight: 400; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .demo-col { justify-self: center; margin-top: 8px; max-width: 100%; }
  .trio { justify-content: center; }
}
@media (max-width: 480px) {
  .trio .phone { --phw: clamp(132px, 36vw, 158px); }
  .trio .p-left { margin-right: -42px; }
  .trio .p-right { margin-left: -42px; }
}

/* ---------- marquee ---------- */

.marquee { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; padding: 10px 0; user-select: none; }
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: slide 30s linear infinite;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(40px, 5.5vw, 72px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line); white-space: nowrap;
}
.marquee-track span { flex: none; }
.marquee-track .solid { color: var(--bleed); -webkit-text-stroke: 0; }
@keyframes slide { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .disc, .trio .phone, .stage { animation: none; }
  html { scroll-behavior: auto; }
}

/* morph (identity) */
.morph-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; margin-top: 52px; }
.morph-stage { position: relative; }
.morph-stage::before {
  content: ""; position: absolute; inset: 6% -14% 2% -14%; pointer-events: none;
  background: radial-gradient(56% 50% at 50% 48%, rgba(255, 43, 69, 0.12), transparent 70%);
  filter: blur(6px);
}
.morph-stage .phone { --phw: clamp(200px, 22vw, 264px); position: relative; }
.morph-stage video { opacity: 0; transition: opacity 0.9s ease; }
.morph-stage video.on { opacity: 1; }

.mlabels { display: flex; flex-direction: column; gap: 4px; max-width: 420px; }
.mlabel {
  display: flex; align-items: center; gap: 14px; padding: 14px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint); transition: color 0.4s ease;
}
.mlabel::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex: none; transition: background 0.4s ease, box-shadow 0.4s ease; }
.mlabel.on { color: var(--bone); }
.mlabel.on::before { background: var(--bleed); box-shadow: 0 0 12px rgba(255, 43, 69, 0.7); }
.mnote { margin-top: 22px; font-size: 15px; color: var(--muted); max-width: 40ch; }
.mnote strong { color: var(--bone); font-weight: 600; }

@media (max-width: 820px) {
  .morph-grid { grid-template-columns: 1fr; justify-items: center; }
  .mlabels { width: 100%; max-width: 340px; }
}

/* ---------- sections ---------- */

.section { padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(64px, 10vh, 120px); }

.section h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; letter-spacing: 0.005em;
  margin-top: 18px; max-width: 22ch; text-wrap: balance;
}
.section-sub { margin-top: 18px; max-width: 58ch; color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); }
.section-sub strong { color: var(--bone); font-weight: 600; }

/* problema */

.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 44px; }
.prob { background: var(--ink-2); padding: 30px 26px 34px; }
.prob h3 { font-size: 16.5px; font-weight: 700; letter-spacing: 0.01em; }
.prob p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.prob .x { font-family: var(--mono); color: var(--bleed); font-size: 13px; letter-spacing: 0.14em; display: block; margin-bottom: 14px; }

.fourth { margin-top: 34px; font-size: clamp(18px, 2vw, 23px); line-height: 1.45; max-width: 44ch; }
.fourth em { font-style: normal; color: var(--bleed); }

@media (max-width: 820px) { .prob-grid { grid-template-columns: 1fr; } }

.yours {
  margin-top: 48px; border: 1px dashed var(--line); border-radius: 6px;
  padding: 26px 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.yours p { font-size: clamp(16.5px, 1.6vw, 19px); max-width: 46ch; }
.yours p b { color: var(--bleed); font-weight: 700; }

/* como */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 44px; counter-reset: paso; }
.step { background: var(--ink-2); padding: 30px 26px 34px; }
.step::before {
  counter-increment: paso; content: counter(paso, decimal-leading-zero);
  font-family: var(--display); font-size: 30px; color: var(--bleed); display: block; margin-bottom: 12px;
}
.step h3 { font-size: 16.5px; font-weight: 700; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); }

.approval { margin-top: 26px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.approval::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bleed); flex: none; }
.approval b { color: var(--bone); font-weight: 400; }

@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* contacto */

.contact { border-top: 1px solid var(--line-soft); text-align: center; }
.contact h2, .contact .section-sub { margin-left: auto; margin-right: auto; }

.mail {
  display: inline-block; margin-top: 34px;
  font-family: var(--display); font-size: clamp(26px, 4vw, 44px); text-transform: uppercase;
  text-decoration: none; color: var(--bone); border-bottom: 3px solid var(--bleed); padding-bottom: 6px;
  transition: color 0.2s;
}
.mail:hover, .mail:focus-visible { color: var(--bleed); }
.mail:focus-visible { outline: 2px solid var(--bleed); outline-offset: 4px; }

.contact-note { margin-top: 20px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; color: var(--faint); }

/* footer */

.footer { border-top: 1px solid var(--line-soft); padding: 26px 0 34px; }
.footer-in { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--faint); }
.footer-in .fm { display: flex; align-items: center; gap: 8px; }
.footer-in .reg { width: 7px; height: 7px; border-radius: 50%; background: var(--bleed); }
