@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/PlusJakartaSans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('assets/fonts/PlusJakartaSans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/Inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/Inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* fixdesign.co — casa de marcas · dark stage, both brand accents */

:root {
  --ink: #0a0f1a;
  --ink-2: #0e1524;
  --paper: #f2f4f8;
  --muted: #97a2b4;
  --line: rgba(255, 255, 255, 0.1);
  --lab-accent: #b9efcf;      /* MoleculaLab mint */
  --sem-accent: #a32cdf;      /* Semántica Digital purple */
  --sem-accent-2: #1f64d3;    /* Semántica blue */
  --radius: 18px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--sem-accent-2);
  outline-offset: 4px;
  border-radius: 6px;
}
::selection { background: var(--sem-accent); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--paper); color: var(--ink);
  padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: linear-gradient(to bottom, rgba(10, 15, 26, 0.7) 0%, rgba(10, 15, 26, 0) 100%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  pointer-events: none;
}
.topbar a, .topbar button, .topbar .lang { pointer-events: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
.wordmark__mark {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--sem-accent) 0%, var(--sem-accent-2) 100%);
  font-size: 13px; font-weight: 800; color: #fff;
  box-shadow: 0 2px 10px rgba(163, 44, 223, 0.25);
  font-family: var(--font-display);
}
.wordmark__text { font-size: 17px; }
.wordmark__text b { color: var(--muted); font-weight: 600; }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__tag {
  margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted); font-weight: 600;
}
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; background: rgba(255,255,255,0.03); }
.lang__btn {
  border: 0; background: transparent; color: var(--muted);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 999px; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang__btn:hover { color: var(--paper); }
.lang__btn.is-active { background: var(--paper); color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle 800px at 15% 30%, rgba(163, 44, 223, 0.18), transparent 100%),
    radial-gradient(circle 900px at 85% 65%, rgba(31, 100, 211, 0.16), transparent 100%),
    var(--ink);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.5 0' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: overlay;
  z-index: 1;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__fallback {
  position: absolute; inset: 0; display: none;
  place-items: center; gap: 40px; padding: 24px;
}
.hero__fallback img { max-width: 420px; width: 60%; opacity: 0.95; }
.no-webgl .hero__fallback { display: grid; }
.no-webgl .hero__canvas, .no-webgl .hero__hint { display: none; }

.hero__overlay {
  position: relative; z-index: 2;
  text-align: center; padding: 24px;
  max-width: 860px;
  pointer-events: none;
}
.hero__overlay a { pointer-events: auto; }
.hero__eyebrow {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 110px);
  line-height: 1; letter-spacing: -0.04em; font-weight: 800;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--lab-accent) 0%, var(--sem-accent) 55%, var(--sem-accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero__lead {
  margin: 28px auto 0; max-width: 580px;
  color: var(--muted); font-size: clamp(16px, 2vw, 20px);
  font-weight: 400; line-height: 1.6;
}
.hero__ctas {
  margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}
.btn--primary {
  background: var(--paper); color: var(--ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.btn--primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 8px 16px rgba(255, 255, 255, 0.1);
}
.btn--ghost {
  border: 1px solid var(--line); color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.hero__hint {
  position: absolute; left: 0; right: 0; bottom: 74px; z-index: 2;
  margin: 0; text-align: center;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(151, 162, 180, 0.88);
  pointer-events: none;
}
.hero__scrollcue {
  position: absolute; left: 50%; bottom: 30px; z-index: 2;
  width: 22px; height: 34px; margin-left: -11px;
  border: 1.5px solid rgba(151, 162, 180, 0.5); border-radius: 12px;
  pointer-events: none;
}
.hero__scrollcue::after {
  content: ""; position: absolute; left: 50%; top: 7px;
  width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: var(--muted);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(9px); opacity: 0.2; }
}

/* ---------- brands ---------- */
.brands { padding: 120px 32px 90px; max-width: 1180px; margin: auto; }
.brands__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.brands__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em; font-weight: 800; line-height: 1.15;
}
.brands__head p { margin: 16px 0 0; color: var(--muted); font-size: 16px; }

.brands__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
}
.brand-card {
  position: relative;
  display: flex; flex-direction: column; gap: 24px;
  padding: 40px 36px 36px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink-2);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}
.brand-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--card-glow, transparent), transparent 70%);
  opacity: 0.1; transition: opacity 0.3s ease;
  z-index: -1; pointer-events: none;
}
.brand-card--lab { --card-glow: var(--lab-accent); }
.brand-card--sem { --card-glow: var(--sem-accent); }

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.2);
}
.brand-card:hover::after { opacity: 0.25; }
.brand-card--lab:hover { border-color: rgba(185, 239, 207, 0.4); }
.brand-card--sem:hover { border-color: rgba(163, 44, 223, 0.5); }
.brand-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
}
.brand-card--lab::before { background: linear-gradient(90deg, transparent, var(--lab-accent), transparent); opacity: 0.6; }
.brand-card--sem::before { background: linear-gradient(90deg, transparent, var(--sem-accent), var(--sem-accent-2), transparent); opacity: 0.7; }

.brand-card__logo {
  display: grid; place-items: center;
  min-height: 120px; padding: 10px;
}
.brand-card__logo img {
  max-width: 100%; height: auto; max-height: 96px; object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-card:hover .brand-card__logo img {
  transform: scale(1.05);
}
.brand-card__desc { margin: 0; color: var(--muted); font-size: 15px; flex: 1; line-height: 1.6; }
.brand-card__link {
  font-size: 14px; font-weight: 650; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 4px;
}
.brand-card__link::after {
  content: "→";
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-card:hover .brand-card__link::after {
  transform: translateX(4px);
}
.brand-card--lab .brand-card__link { color: var(--lab-accent); }
.brand-card--sem .brand-card__link { color: #c77ee8; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 32px 64px; text-align: center;
  position: relative;
}
.footer::before {
  content: "fx";
  display: block; margin: 0 auto 24px;
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--line); color: var(--muted);
  font-family: var(--font-display); font-weight: 800; font-size: 11px;
  line-height: 24px; text-align: center;
}
.footer__line { margin: 0; font-size: 14px; font-weight: 600; }
.footer__sub { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

/* ---------- touch devices: no cursor to move, hide the hint ---------- */
@media (pointer: coarse) {
  .hero__hint { display: none; }
}

/* ---------- short viewports: keep hint/scrollcue clear of CTAs ---------- */
@media (max-height: 700px) {
  .hero__hint { display: none; }
  .hero__scrollcue { bottom: 16px; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .brands { padding: 90px 20px 70px; }
  .brands__grid { grid-template-columns: 1fr; }
  .topbar { padding: 14px 18px; }
  .topbar__tag { display: none; }
}
@media (max-width: 520px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .brand-card { padding: 32px 24px 28px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scrollcue::after { animation: none; }
  .btn, .brand-card, .brand-card::after, .brand-card__logo img, .brand-card__link::after { transition: none !important; transform: none !important; }
  .brand-card:hover { transform: none !important; }
}