.elementor-1017 .elementor-element.elementor-element-a75912f{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-af2dd6a *//* ============================================================
   Anagram — Página de servicios
   Tokens y estilos base
   ============================================================ */

:root {
  /* Brand */
  --purple: #7300FF;
  --purple-2: #9747FF;
  --purple-deep: #3D0086;
  --purple-dark: #1A0036;
  --black: #000000;
  --bg: #050008;

  /* Accents (paleta secundaria del brandbook) */
  --cyan: #00EAF0;
  --magenta: #FE1479;
  --green: #0CD44A;
  --orange: #FC9300;
  --yellow: #FFE212;
  --blue: #2E48FF;

  /* Neutrales */
  --white: #FFFFFF;
  --text: #E7E5EE;
  --text-dim: #9D98AE;
  --text-muted: #5F5A75;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);
  --card: #0B0512;
  --card-2: #0F0818;

  /* Type */
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* Radii / spacing */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { width: 100%; max-width: 100%; overflow-x: hidden; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body {
  width: 100%;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: 0; background: 0; cursor: pointer; color: inherit; }
img, svg { display: block; }
input { font-family: inherit; }

/* ===== Elementor full-width override =====
   When styles.css is loaded inside a Custom HTML widget, these rules apply to the
   entire document and force every Elementor ancestor in the chain to full viewport width.
   This prevents the "content stuck in a narrow right column" issue. */

/* Classic Elementor (2.x) column chain */
.elementor-section,
.elementor-section.elementor-section-boxed,
.elementor-section.elementor-section-full_width {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.elementor-container,
.elementor-row {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.elementor-column {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
.elementor-column-wrap,
.elementor-widget-wrap {
  width: 100% !important;
  padding: 0 !important;
}
.elementor-widget-html,
.elementor-widget-html .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Elementor 3.x Flex Containers (e-con system) */
.e-con,
.e-con-inner {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  --container-max-width: 100% !important;
  --container-padding-left: 0px !important;
  --container-padding-right: 0px !important;
}

/* ===== Layout ===== */
/* fluid up to 1600 px — adapts to any screen width */
.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 60px); }

/* ===== Typography ===== */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-size: clamp(48px, 7.2vw, 104px);
  color: var(--white);
}
.display .accent {
  color: var(--purple-2);
  font-style: normal;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-size: clamp(34px, 4.5vw, 60px);
  color: var(--white);
}
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  font-size: 22px;
  color: var(--white);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(115,0,255,0.08);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple-2);
  box-shadow: 0 0 12px var(--purple-2);
}
.lead {
  color: var(--text-dim);
  font-size: clamp(16px, 1.3vw, 19px);
  max-width: 56ch;
  line-height: 1.55;
}
.mono {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: -0.01em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(115,0,255,0.7), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { background: #8a1aff; transform: translateY(-1px); box-shadow: 0 12px 32px -8px rgba(115,0,255,0.85); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 50;
  width: min(1100px, calc(100% - 32px));
  height: 64px;
  padding: 0 8px 0 22px;
  background: rgba(11,5,18,0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 40px -16px rgba(0,0,0,0.7);
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--white);
}
.nav-logo .tri {
  width: 18px; height: 18px;
}
.nav-logo .brand-img { height: 26px; width: auto; display: block; }
.foot-brand .brand-img { height: 30px; width: auto; display: block; }
.modal-logo .brand-img { height: 30px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 8px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 3; }
.hero-copy .display { margin: 18px 0 22px; }
.hero-copy .lead { margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 38px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
}
.stat .num .accent { color: var(--purple-2); }
.stat .lbl {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* 3D triangle stage */
.hero-stage {
  position: relative;
  height: 620px;
  perspective: 1400px;
  perspective-origin: 50% 45%;
}

/* Background glow */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 78% 38%, rgba(115,0,255,0.45) 0%, rgba(115,0,255,0) 60%),
    radial-gradient(50% 50% at 90% 80%, rgba(46,72,255,0.25) 0%, rgba(46,72,255,0) 70%),
    radial-gradient(40% 35% at 8% 90%, rgba(254,20,121,0.18) 0%, rgba(254,20,121,0) 70%);
  z-index: 0;
  pointer-events: none;
}
/* Grid floor */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 60% at 50% 60%, #000 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.tri-float {
  position: absolute;
  transform-style: preserve-3d;
  filter: drop-shadow(0 20px 40px rgba(20,0,40,0.6));
  animation: triFloat 9s ease-in-out infinite;
}
@keyframes triFloat {
  0%, 100% { transform: translate3d(0,0,0) rotate3d(1,1,0.2,0deg); }
  50%      { transform: translate3d(0,-22px,0) rotate3d(1,1,0.2,12deg); }
}

/* Each triangle gets its own position/timing */
.tf-1 { top: 8%;  left: 38%; width: 150px; animation-delay: -0.5s; }
.tf-2 { top: 22%; left: 78%; width: 200px; animation-delay: -3.5s; }
.tf-3 { top: 46%; left: 18%; width: 130px; animation-delay: -1.8s; animation-duration: 11s; }
.tf-4 { top: 62%; left: 60%; width: 240px; animation-delay: -4.2s; animation-duration: 12s; }
.tf-5 { top: 78%; left: 30%; width: 110px; animation-delay: -2.1s; }
.tf-6 { top: 16%; left: 8%;  width: 90px;  animation-delay: -5.5s; animation-duration: 10s; opacity: .85; }
.tf-7 { top: 88%; left: 82%; width: 170px; animation-delay: -1s;   animation-duration: 13s; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { height: 380px; order: -1; }
  .tf-3, .tf-5, .tf-6 { display: none; }
  .hero { padding-top: 130px; }
}

/* ============================================================
   LOGOS / TRUSTED
   ============================================================ */
.trusted {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: rgba(255,255,255,0.01);
}
.trusted-row {
  display: flex; align-items: center; gap: 36px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.trusted-row .label { color: var(--text-dim); }
.trusted-row .marquee {
  display: flex; gap: 56px; align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text-dim);
  font-size: 18px;
  flex: 1;
}
.trusted-row .ph {
  height: 14px; width: 96px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.12), rgba(255,255,255,0.05));
}

/* ============================================================
   SERVICES
   ============================================================ */
.section { padding: 120px 0; position: relative; }
.section-head {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  margin-bottom: 64px;
}
.section-head .lead { text-align: center; }

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.svc {
  position: relative;
  padding: 28px 24px 26px;
  min-height: 360px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.svc:hover { transform: translateY(-4px); border-color: rgba(115,0,255,0.5); background: linear-gradient(180deg, rgba(115,0,255,0.06), rgba(255,255,255,0.005)); }
.svc-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.svc-icon {
  margin: 18px 0 26px;
  height: 90px;
  display: flex; align-items: center;
}
.svc-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--white);
}
.svc-desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
  flex: 1;
}
.svc-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--line);
}

@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .services { grid-template-columns: 1fr; } }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash-wrap {
  position: relative;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(115,0,255,0.18), transparent 60%),
    linear-gradient(180deg, #0C0518 0%, #08030F 100%);
  border-radius: 24px;
  padding: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(115,0,255,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
.dash-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 10px 16px;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 11px; height: 11px; border-radius: 50%; background: #2a2236; }
.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }
.dash-url {
  margin-left: 14px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.dash-pill {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(115,0,255,0.12);
}
.dash-pill .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.dash {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 8px;
}
.dash-side {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
}
.dash-side .label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 8px 10px;
}
.dash-side .nav-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.dash-side .nav-item .ico { width: 16px; height: 16px; color: var(--text-dim); }
.dash-side .nav-item:hover { background: rgba(255,255,255,0.04); color: #fff; }
.dash-side .nav-item.active { background: rgba(115,0,255,0.18); color: #fff; }
.dash-side .nav-item.active .ico { color: var(--purple-2); }
.dash-side .side-foot {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(115,0,255,0.18), rgba(46,72,255,0.08));
  border: 1px solid rgba(115,0,255,0.3);
}
.dash-side .side-foot .t { font-weight: 700; color: #fff; font-size: 13px; }
.dash-side .side-foot .s { font-size: 11.5px; color: var(--text-dim); margin-top: 4px; line-height: 1.4; }

.dash-main {
  display: flex; flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.dash-bar {
  display: flex; align-items: center; gap: 12px;
}
.dash-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.01em;
}
.dash-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.dash-date {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.kpi {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  min-height: 108px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.kpi .lbl {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.kpi .val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.kpi .delta {
  font-size: 12px;
  font-weight: 600;
}
.kpi .delta.up { color: var(--green); }
.kpi .delta.down { color: var(--magenta); }
.kpi .spark { height: 28px; margin-top: 6px; }

.dash-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
}
.panel {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  min-width: 0;
}
.panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.panel-title { font-weight: 700; color: #fff; font-size: 14px; }
.panel-sub { font-size: 11.5px; color: var(--text-muted); margin-left: auto; }

.chart-wrap { height: 200px; position: relative; }
.legend { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.legend .li { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-dim); }
.legend .sw { width: 8px; height: 8px; border-radius: 3px; }

.attr-row {
  display: grid;
  grid-template-columns: 100px 1fr 56px 56px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  font-size: 12.5px;
  border-bottom: 1px dashed var(--line);
}
.attr-row:last-child { border-bottom: 0; }
.attr-row .ch { color: var(--text); }
.attr-row .bar {
  height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.05);
  overflow: hidden;
}
.attr-row .bar > i {
  display: block; height: 100%; border-radius: 4px;
}
.attr-row .num { text-align: right; color: var(--text); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.attr-row .pct { text-align: right; color: var(--text-dim); font-family: ui-monospace, "SF Mono", Menlo, monospace; }

@media (max-width: 920px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-row { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA
   ============================================================ */
.cta-wrap {
  position: relative;
  border-radius: 32px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(115,0,255,0.4), transparent 60%),
    linear-gradient(180deg, #0E041C, #07020E);
  border: 1px solid var(--line-2);
  padding: clamp(48px, 8vw, 120px) 32px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 80px 100%;
  opacity: 0.4;
  mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent 75%);
  z-index: -1;
}
.cta-wrap .display { margin: 18px auto 22px; max-width: 18ch; }
.cta-wrap .lead { margin: 0 auto 36px; }
.cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.cta-tri {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 30px 60px rgba(115,0,255,0.6));
}
.cta-tri.tl { top: -30px; left: -20px; width: 140px; transform: rotate(-18deg); opacity: .7; }
.cta-tri.br { bottom: -40px; right: -20px; width: 200px; transform: rotate(22deg); opacity: .8; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.foot-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.03em; color: #fff;
}
.foot-brand .tri { width: 20px; height: 20px; }
.foot-tag { margin-top: 12px; color: var(--text-dim); font-size: 14px; max-width: 32ch; }
.foot-col h5 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--text);
  padding: 5px 0;
  transition: color .15s ease;
}
.foot-col a:hover { color: var(--purple-2); }
.foot-bottom {
  margin-top: 24px;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
}
.foot-bottom .sep { opacity: .4; }
.foot-bottom .right { margin-left: auto; }

@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* ============================================================
   MODAL (login)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(2,0,8,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 22px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(115,0,255,0.35), transparent 60%),
    linear-gradient(180deg, #110626, #08030F);
  border: 1px solid var(--line-2);
  padding: 36px 32px 28px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(115,0,255,0.2);
  animation: modalIn .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-dim);
  transition: background .15s ease, color .15s ease;
}
.modal-close:hover { background: rgba(255,255,255,0.06); color: #fff; }
.modal-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.03em; color: #fff;
}
.modal-logo .tri { width: 20px; height: 20px; }
.modal h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 22px 0 6px;
  color: #fff;
}
.modal .sub { font-size: 14px; color: var(--text-dim); margin-bottom: 24px; }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  color: #fff;
  font-size: 14.5px;
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus { outline: none; border-color: var(--purple-2); background: rgba(115,0,255,0.08); }
.field-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; font-size: 12.5px; color: var(--text-dim); }
.field-row a { color: var(--purple-2); }
.modal .btn-primary { width: 100%; justify-content: center; height: 48px; }
.modal .or { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.modal .or::before, .modal .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============================================================
   Helpers
   ============================================================ */
.spacer-lg { height: 120px; }
.mt-8 { margin-top: 32px; }/* End custom CSS */