/* ---------- MASoft.es — base styles ---------- */
:root {
  --bg: #F5F1EA;
  --bg-2: #EDE7DC;
  --surface: #FFFFFF;
  --ink: #0B2545;
  --ink-2: #1F3A60;
  --muted: #6A7894;
  --line: rgba(11, 37, 69, 0.12);
  --line-2: rgba(11, 37, 69, 0.06);
  --accent: #3D7BFF;
  --accent-2: #00C2FF;
  --accent-soft: rgba(61, 123, 255, 0.10);
  --code-bg: #0B2545;
  --code-ink: #DCE6FF;
  --shadow-sm: 0 1px 2px rgba(11,37,69,.05), 0 1px 1px rgba(11,37,69,.03);
  --shadow-md: 0 8px 28px -10px rgba(11,37,69,.18), 0 2px 6px rgba(11,37,69,.06);
  --shadow-lg: 0 30px 60px -20px rgba(11,37,69,.25);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --container: 1240px;
  --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

[data-theme="dark"] {
  --bg: #0A0E1A;
  --bg-2: #0F1626;
  --surface: #131B2E;
  --ink: #E8EEF9;
  --ink-2: #C2CDE3;
  --muted: #8A98B5;
  --line: rgba(255,255,255,0.10);
  --line-2: rgba(255,255,255,0.05);
  --accent-soft: rgba(61, 123, 255, 0.18);
  --code-bg: #060912;
  --code-ink: #DCE6FF;
  --shadow-md: 0 8px 28px -10px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.3);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.55;
  transition: background-color .35s ease, color .35s ease;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
}
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 5.6vw, 78px); line-height: 1.02; margin: 0 0 24px; }
h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.05; margin: 0 0 16px; }
h3 { font-size: 22px; line-height: 1.25; margin: 0 0 10px; }
p  { margin: 0 0 14px; color: var(--ink-2); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 620px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line-2);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand__mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.04em;
  font-family: var(--display);
}
[data-theme="dark"] .brand__mark { background: var(--accent); color: #07101F; }
.brand__name b { color: var(--ink); }
.brand__name i { font-style: normal; color: var(--accent); }
.brand__name { font-size: 15px; line-height: 1; }
.brand__sub {
  font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 2px; display: block;
  letter-spacing: .04em; line-height: 1;
}
.nav__links { display: flex; gap: 6px; align-items: center; }
.nav__links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
  transition: background .2s, color .2s;
}
.nav__links a:hover { background: var(--bg-2); color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 880px) {
  .nav__links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: transform .12s ease, background .2s, border-color .2s, color .2s;
  white-space: nowrap;
  background: transparent;
  color: var(--ink);
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn--primary:hover { transform: translateY(-1px); background: var(--ink-2); border-color: var(--ink-2); }
.btn--accent {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 6px 20px -6px color-mix(in oklab, var(--accent) 60%, transparent);
}
.btn--accent:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--bg-2); }
.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 80px; padding-bottom: 100px; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; gap: 40px; } }
.hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.hero__title em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 6px;
  background: var(--accent-soft);
  border-radius: 3px;
  z-index: -1;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero__meta {
  display: flex; gap: 28px; margin-top: 38px; flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__meta b { display: block; font-family: var(--display); font-size: 22px; color: var(--ink); }
.hero__meta span { font-size: 12.5px; color: var(--muted); font-family: var(--mono); letter-spacing: .04em; }

/* Hero visual: code panel */
.code-panel {
  background: var(--code-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: var(--mono);
  position: relative;
}
.code-panel__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.code-panel__dots { display: flex; gap: 6px; }
.code-panel__dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.code-panel__title { font-size: 12px; color: rgba(255,255,255,0.55); margin-left: 6px; }
.code-panel__body { padding: 22px 24px 26px; font-size: 13.5px; line-height: 1.8; color: var(--code-ink); }
.code-panel__body .ln { color: rgba(255,255,255,0.25); margin-right: 18px; user-select: none; display: inline-block; width: 18px; text-align: right; }
.tok-c { color: #6B7A99; }
.tok-k { color: #FF7A9C; }
.tok-s { color: #98E2A6; }
.tok-f { color: #5DC8FF; }
.tok-n { color: #F5C77A; }
.tok-p { color: #DCE6FF; }
.cursor { display: inline-block; width: 8px; height: 16px; background: var(--accent); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Hero variant 2: bento */
.hero-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-bento .b {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
  min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.hero-bento .b--lg { grid-column: span 2; }
.hero-bento .b__t { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.hero-bento .b__h { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.hero-bento .b__big { font-family: var(--display); font-weight: 800; font-size: 42px; letter-spacing: -0.03em; color: var(--accent); }

/* Hero variant 3: minimal */
.hero-minimal { text-align: center; padding: 40px 0; }
.hero-minimal h1 { font-size: clamp(50px, 7vw, 110px); }
.hero-minimal .hero__cta { justify-content: center; }
.hero-minimal .lead { margin: 0 auto; }

/* Tag pill */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .03em;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent); }

/* ---------- Section header ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head__r { max-width: 460px; color: var(--muted); font-size: 15.5px; }

/* ---------- Servicios ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.svc-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.svc-card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
  text-transform: uppercase;
}
.svc-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin: 18px 0 22px;
  border: 1px solid color-mix(in oklab, var(--accent) 25%, transparent);
}
.svc-card ul { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px dashed var(--line); padding-top: 16px; }
.svc-card li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 5px 0;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
}
.svc-card li::before {
  content: "→"; color: var(--accent); font-family: var(--mono); font-weight: 700;
}

/* ---------- Proceso ---------- */
.proceso { background: var(--bg-2); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process { grid-template-columns: 1fr; } }
.process__step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.process__step b {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .1em;
}
.process__step h3 { margin-top: 14px; font-size: 19px; }
.process__step p { font-size: 14px; color: var(--muted); margin: 0; }
.process__step .num {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--display);
  font-size: 50px;
  font-weight: 800;
  color: var(--line);
  letter-spacing: -0.05em;
  line-height: 1;
}

/* ---------- Descargas ---------- */
.dl-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 18px; margin-bottom: 28px;
}
.dl-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.dl-filter {
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.dl-filter:hover { border-color: var(--ink); }
.dl-filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dl-filter .count { font-family: var(--mono); font-size: 11px; opacity: .65; }
.dl-filter.is-active .count { opacity: .9; }

.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .dl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .dl-grid { grid-template-columns: 1fr; } }

/* Vista lista */
.dl-grid--list { display: flex; flex-direction: column; gap: 10px; }
.dl-grid--list .dl-card { flex-direction: row; align-items: stretch; }
.dl-grid--list .dl-card__shot {
  width: 220px; min-width: 220px; flex-shrink: 0;
  aspect-ratio: unset; height: unset; align-self: stretch;
  border-radius: var(--radius) 0 0 var(--radius);
  border-bottom: none; border-right: 1px solid var(--line);
}
.dl-grid--list .dl-card__body { padding: 14px 18px; }
.dl-grid--list .dl-card__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.dl-view-toggle { display: flex; gap: 4px; margin-left: auto; }
.dl-view-btn { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.dl-view-btn.is-active { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in oklab, var(--accent) 30%, transparent); }

.dl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.dl-card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: var(--shadow-md); }
.dl-card__shot {
  height: 170px;
  min-height: 170px;
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--accent) 14%, var(--bg-2)) 0%, var(--bg-2) 100%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(0,0,0,.03) 12px 13px);
  position: relative;
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.dl-card__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dl-card__shot::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in oklab, var(--ink) 5%, transparent) 14px 15px);
  opacity: .5;
}
.dl-card__shot__inner {
  position: relative;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--surface);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.dl-card__cat {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}
.dl-card__cat.is-trial { background: var(--accent); color: #fff; }
.dl-card__cat.is-demo { background: #B86A2E; color: #fff; }

.dl-card__body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.dl-card__head { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.dl-card__title { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); margin: 0 0 6px; }
.dl-card__meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .03em; }
.dl-card__desc { font-size: 14px; color: var(--ink-2); margin: 12px 0 16px; line-height: 1.55; flex: 1; }
.dl-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.dl-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--bg-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
  letter-spacing: .03em;
}
.dl-tag.lang-python { color: #2A6FAE; border-color: color-mix(in oklab, #2A6FAE 25%, transparent); background: color-mix(in oklab, #2A6FAE 8%, var(--bg-2)); }
.dl-tag.lang-powershell { color: #1E5DA8; border-color: color-mix(in oklab, #1E5DA8 25%, transparent); background: color-mix(in oklab, #1E5DA8 8%, var(--bg-2)); }
.dl-tag.lang-pwa { color: #6E3FCF; border-color: color-mix(in oklab, #6E3FCF 25%, transparent); background: color-mix(in oklab, #6E3FCF 8%, var(--bg-2)); }
.dl-tag.lang-android { color: #2E8B4E; border-color: color-mix(in oklab, #2E8B4E 25%, transparent); background: color-mix(in oklab, #2E8B4E 8%, var(--bg-2)); }
.dl-tag.lang-windows { color: #6B7A99; }

.dl-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line-2); }
.dl-card__size { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.dl-card__btn {
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, transform .12s;
}
.dl-card__btn:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.dl-card__btn--sec {
  background: var(--bg-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 7px 10px;
}
.dl-card__btn--sec:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }

/* Admin upload card */
.dl-card.is-admin {
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border: 1.5px dashed color-mix(in oklab, var(--accent) 50%, var(--line));
  cursor: pointer;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  display: flex;
  min-height: 280px;
}
.dl-card.is-admin:hover { border-color: var(--accent); background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 18%, transparent), transparent); }
.dl-card.is-admin svg { color: var(--accent); margin-bottom: 14px; }
.dl-card.is-admin h3 { font-size: 18px; margin: 0 0 6px; color: var(--ink); }
.dl-card.is-admin p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Modal ---------- */
.modal-bg {
  position: fixed; inset: 0;
  background: color-mix(in oklab, #000 55%, transparent);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-bg.is-open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transform: translateY(10px) scale(.98);
  transition: transform .25s ease;
}
.modal-bg.is-open .modal { transform: translateY(0) scale(1); }
.modal--wide { max-width: 640px; }
.modal h3 { font-size: 24px; margin: 8px 0 8px; }
.modal__close {
  float: right;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  color: var(--ink-2);
  display: grid; place-items: center;
}
.modal__close:hover { background: var(--bg-2); }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 14px; }
.field label { font-size: 12.5px; font-family: var(--mono); letter-spacing: .04em; color: var(--ink-2); text-transform: uppercase; display: block; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-size: 14.5px;
  font-family: var(--body);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.field--check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.field--check input { width: auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
.contact__info ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.contact__info li { display: flex; gap: 14px; align-items: start; }
.contact__info li svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact__info b { display: block; font-family: var(--display); font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.contact__info span { font-size: 14px; color: var(--muted); font-family: var(--mono); }
.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; background: var(--bg-2); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
@media (max-width: 800px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--ink-2); font-size: 14px; }
.footer ul a:hover { color: var(--accent); }
.footer__copy {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Theme switch icon button */
.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--bg-2); color: var(--ink); }

/* Marquee tech tags */
.tech-marquee {
  display: flex; gap: 14px; flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  margin-top: 60px;
  justify-content: center;
}
.tech-marquee span {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .04em;
}
.tech-marquee span b { color: var(--ink); font-weight: 600; }
