/* ============================================
   INTELECTRONIX — Smart Solutions. Stronger Future.
   ============================================ */

:root {
  --bg: #05070d;
  --bg-1: #0a0e18;
  --bg-2: #0f1422;
  --line: rgba(120, 170, 255, 0.08);
  --line-2: rgba(120, 170, 255, 0.18);
  --ink: #e8eef9;
  --ink-dim: #8a96ad;
  --ink-faint: #4a5468;

  --blue: #2d7fff;
  --blue-bright: #4a9bff;
  --blue-deep: #1a4fb8;
  --blue-glow: rgba(74, 155, 255, 0.45);
  --cyan: #5ed3ff;
  --steel: #8aa0c4;

  --ok: #3fdc8f;
  --warn: #ffb547;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --f-display: 'Space Grotesk', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --f-text: 'Inter', system-ui, sans-serif;
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 800px 600px at 80% -10%, rgba(45, 127, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 600px 400px at -10% 40%, rgba(45, 127, 255, 0.08), transparent 60%),
    var(--bg);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============================================
   GLOBAL TECH GRID OVERLAY
   ============================================ */
.tech-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black 30%, transparent 90%);
}

/* corner brackets, blueprint-style */
.bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--blue-bright);
  opacity: 0.5;
}
.bracket.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.bracket.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.bracket.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.bracket.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  backdrop-filter: blur(14px);
  background: rgba(5, 7, 13, 0.7);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.18em;
}
.nav-logo .logo-mark {
  width: 28px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.nav-logo .logo-mark img,
.nav-logo .logo-mark svg { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-logo .blue { color: var(--blue-bright); }

.nav-menu {
  display: flex;
  gap: 36px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.nav-menu a {
  position: relative;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--ink); }
.nav-menu a::before {
  content: '0' counter(item) ' / ';
  color: var(--blue);
  margin-right: 4px;
  opacity: 0.6;
}
.nav-menu { counter-reset: item; }
.nav-menu a { counter-increment: item; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--blue);
  color: var(--blue-bright);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.25s;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  z-index: -1;
}
.nav-cta:hover {
  color: white;
  border-color: var(--blue);
}
.nav-cta:hover::before { transform: scaleX(1); }
.nav-cta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 48px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 1fr);
  gap: 60px;
  align-items: center;
  z-index: 2;
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; justify-self: center; }
}

.hero-meta {
  position: absolute;
  top: 100px;
  left: 48px;
  right: 48px;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero-meta .blink { color: var(--ok); animation: pulse 1.5s infinite; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 28px;
}
.hero-eyebrow .line {
  width: 50px; height: 1px;
  background: var(--blue);
}

.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero h1 .strike {
  position: relative;
  display: inline-block;
  color: var(--blue-bright);
}
.hero h1 .strike::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 8%;
  height: 6px;
  background: var(--blue);
  opacity: 0.25;
}
.hero h1 .glitch {
  display: inline-block;
  position: relative;
}

.hero p.lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: var(--blue);
  color: white;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--blue-bright);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}
.btn-primary:hover {
  box-shadow: 0 0 30px var(--blue-glow);
  transform: translateY(-2px);
}
.btn-primary:hover::before { left: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line-2);
  transition: all 0.25s;
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-bright);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 600px;
}
.hero-stat .num {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}
.hero-stat .num .unit { color: var(--blue-bright); font-size: 22px; }
.hero-stat .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* HERO VISUAL — circuit canvas */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 640px;
  min-width: 380px;
  justify-self: end;
}

.hero-visual .ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}
.hero-visual .ring.r2 { inset: 8%; border-color: var(--line); }
.hero-visual .ring.r3 { inset: 18%; border-style: dashed; }
.hero-visual .ring.r4 { inset: 30%; border-color: rgba(74, 155, 255, 0.25); }

.hero-visual .ring.spin1 { animation: rotate 30s linear infinite; }
.hero-visual .ring.spin2 { animation: rotate 45s linear infinite reverse; }

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.hero-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-visual .center-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 28%;
  filter: drop-shadow(0 0 24px var(--blue-glow));
  z-index: 5;
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, -54%); }
}

.hero-visual .label-tag {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}
.hero-visual .label-tag .dot-tag {
  width: 6px; height: 6px;
  background: var(--blue-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue-glow);
}
.hero-visual .label-tag.t1 { top: 8%; left: 5%; }
.hero-visual .label-tag.t2 { top: 30%; right: 0%; }
.hero-visual .label-tag.t3 { bottom: 25%; left: 0%; }
.hero-visual .label-tag.t4 { bottom: 8%; right: 10%; }

/* ============================================
   MARQUEE — partner brands
   ============================================ */
.marquee {
  position: relative;
  z-index: 2;
  padding: 32px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: rgba(10, 14, 24, 0.6);
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: scroll 40s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 80px;
}
.marquee-item::after {
  content: '◆';
  color: var(--blue);
  font-size: 10px;
  opacity: 0.5;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============================================
   SERVICES
   ============================================ */
.section {
  position: relative;
  z-index: 2;
  padding: 120px 48px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 80px;
  align-items: end;
}

.section-num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--blue-bright);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-num::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--blue);
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-title .accent { color: var(--blue-bright); }

.section-desc {
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 520px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 32px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--blue);
  background: var(--bg-2);
  transform: translateY(-4px);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--blue-bright);
  transition: width 0.5s;
}
.service-card:hover::before { width: 100%; }

.service-card.span-7 { grid-column: span 7; }
.service-card.span-5 { grid-column: span 5; }
.service-card.span-6 { grid-column: span 6; }
.service-card.span-4 { grid-column: span 4; }
.service-card.span-8 { grid-column: span 8; }

.svc-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 24px;
}
.svc-icon {
  width: 56px; height: 56px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--blue-bright);
  transition: all 0.3s;
}
.service-card:hover .svc-icon {
  background: var(--blue);
  color: white;
  border-color: var(--blue-bright);
  box-shadow: 0 0 24px var(--blue-glow);
}
.svc-title {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  line-height: 1.1;
}
.svc-desc {
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.6;
  flex: 1;
}
.svc-list {
  margin-top: 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.svc-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.svc-list span::before {
  content: '+';
  color: var(--blue-bright);
}
.svc-arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  transition: all 0.3s;
  color: var(--ink-dim);
}
.service-card:hover .svc-arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  transform: rotate(-45deg);
}

/* svg pattern in card */
.svc-pattern {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%;
  opacity: 0.08;
  pointer-events: none;
}

/* ============================================
   PROCESS / "HOW WE WORK"
   ============================================ */
.process {
  position: relative;
  z-index: 2;
  padding: 120px 48px;
  background:
    linear-gradient(180deg, transparent, rgba(10, 14, 24, 0.6) 20%, rgba(10, 14, 24, 0.6) 80%, transparent);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue), transparent);
  opacity: 0.4;
}

.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.process-step .ring-num {
  width: 100px; height: 100px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  font-family: var(--f-mono);
  font-size: 22px;
  color: var(--blue-bright);
  background: var(--bg);
  position: relative;
  z-index: 2;
  transition: all 0.3s;
}
.process-step:hover .ring-num {
  background: var(--blue);
  color: white;
  border-color: var(--blue-bright);
  box-shadow: 0 0 30px var(--blue-glow);
}
.process-step h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.55;
}

/* ============================================
   CALCULATOR
   ============================================ */
.calc-section {
  padding: 120px 48px;
  position: relative;
  z-index: 2;
}

.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(45, 127, 255, 0.08), transparent),
    var(--bg-1);
  padding: 56px;
  position: relative;
}

.calc-side h3 {
  font-family: var(--f-display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.calc-side h3 .accent { color: var(--blue-bright); }
.calc-side p {
  color: var(--ink-dim);
  margin-bottom: 32px;
  line-height: 1.6;
}
.calc-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.calc-features .feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.calc-features .feat svg { color: var(--blue-bright); flex-shrink: 0; }

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.calc-row label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.calc-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.calc-opt {
  padding: 14px 12px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-dim);
  transition: all 0.2s;
}
.calc-opt:hover { border-color: var(--blue); color: var(--ink); }
.calc-opt.active {
  background: var(--blue);
  border-color: var(--blue-bright);
  color: white;
}

.calc-slider-wrap {
  position: relative;
}
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  background: transparent;
  height: 32px;
}
.calc-slider::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) var(--pct, 30%), var(--line-2) var(--pct, 30%));
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  background: var(--blue);
  border: 2px solid var(--blue-bright);
  margin-top: -8px;
  cursor: pointer;
  box-shadow: 0 0 14px var(--blue-glow);
}
.calc-value-display {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 4px;
}
.calc-value-display .current { color: var(--blue-bright); }

.calc-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.calc-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: all 0.2s;
}
.calc-toggle .check {
  width: 14px; height: 14px;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 10px;
  color: white;
}
.calc-toggle.active {
  border-color: var(--blue);
  color: var(--ink);
}
.calc-toggle.active .check {
  background: var(--blue);
  border-color: var(--blue-bright);
}

.calc-result {
  margin-top: 20px;
  padding: 24px;
  border: 1px dashed var(--blue);
  background: rgba(45, 127, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.calc-result .lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.calc-result .price {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--blue-bright);
  letter-spacing: -0.02em;
}
.calc-result .price .currency { color: var(--ink-dim); font-size: 22px; }

/* ============================================
   PROJECTS
   ============================================ */
.projects-section { padding: 120px 48px; position: relative; z-index: 2; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}
.project-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}
.project-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-1));
  position: relative;
  overflow: hidden;
}
.project-visual svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.project-info {
  padding: 24px;
}
.project-info .meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.project-info h4 {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.project-info p {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.5;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
  padding: 140px 48px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.cta-section .big {
  font-family: var(--f-display);
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.cta-section .big .accent { color: var(--blue-bright); }
.cta-section .big .underline {
  position: relative;
  display: inline-block;
}
.cta-section .big .underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: var(--blue);
}
.cta-section .sub {
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-2);
  background: var(--bg-1);
  padding: 80px 48px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand .logo-row img { width: 40px; height: 52px; object-fit: contain; }
.footer-brand .name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.16em;
}
.footer-brand .tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.footer-brand p {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
}

.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: var(--ink-dim);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================
   ANIMATIONS / UTILS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-up.in { opacity: 1; transform: translateY(0); }
