/* ============================================================
   Microsec — Landing Page Styles
   Extraído del diseño real (Claude Design bundle) + brief cliente.
   Colores reales del diseño: navy #0D1B3E, teal #00897B, teal claro #8CEAE4,
   fondo claro #FAFAF8. Tipografía real: Instrument Sans + Geist Mono
   (reemplaza Poppins del brief antiguo — ver reporte).
   ============================================================ */

/* Nasalization — fuente oficial del wordmark Sisteco, self-hosted (Ley 21.719) */
@font-face {
  font-family: "Nasalization";
  src: url("../fonts/Nasalization-Rg.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0D1B3E;
  --navy-deep: #060A1A;
  --navy-panel: #112952;
  --teal: #00897B;
  --teal-dark: #00695C;
  --teal-light: #8CEAE4;
  --lavender: #BABFFF;
  --sky: #BFE0F7;
  --sand: #F4C89E;
  --cream: #FAFAF8;
  --ink: #0D1B3E;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--navy);
  font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  color: var(--navy);
  scroll-behavior: smooth;
}

::selection { background: rgba(140, 234, 228, 0.4); }

img { max-width: 100%; display: block; }

a { color: inherit; }

.mono {
  font-family: "Geist Mono", monospace;
}

/* ---------------- Keyframes (extraídos literal del diseño) ---------------- */
@keyframes msRise { from { transform: translateY(112%); } to { transform: translateY(0); } }
@keyframes msFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes msTick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes msDrop { 0% { transform: translateY(-100%); } 55% { transform: translateY(100%); } 100% { transform: translateY(100%); } }
@keyframes msPulse { 0% { box-shadow: 0 0 0 0 rgba(140,234,228,0.55); } 100% { box-shadow: 0 0 0 9px rgba(140,234,228,0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-canvas] { display: none !important; }
}

/* ---------------- Header ---------------- */
.ms-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: background-color 0.5s, backdrop-filter 0.5s, border-color 0.5s;
  border-bottom: 1px solid rgba(250, 250, 248, 0);
  background-color: transparent;
}
.ms-header.is-scrolled {
  background-color: rgba(13,27,62,0.8);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(250,250,248,0.1);
}
.ms-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: #FAFAF8;
}
.ms-logo span.wordmark {
  font-family: "Geist Mono", monospace;
  font-weight: 500; font-size: 16px; letter-spacing: 0.18em;
}
.ms-logo .dot {
  display: inline-block; width: 7px; height: 7px; background: var(--teal);
}
.ms-nav {
  display: flex; align-items: center; gap: 32px;
}
.ms-nav a {
  color: rgba(250,250,248,0.75);
  text-decoration: none;
  font-family: "Geist Mono", monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.3s;
}
.ms-nav a:hover { color: var(--teal-light); }
.btn-cta-header {
  display: inline-block;
  background: var(--teal); color: #fff;
  text-decoration: none; font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.02em; padding: 13px 24px;
  transition: background-color 0.3s;
}
.btn-cta-header:hover { background: var(--teal-dark); }

/* ---------------- Side nav ---------------- */
.ms-sidenav {
  position: fixed; left: 28px; top: 50%; transform: translateY(-50%);
  z-index: 70;
  display: flex; flex-direction: column; gap: 17px;
  color: #FAFAF8;
  transition: color 0.6s;
}
.ms-sidenav a {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
  opacity: 0.4; transition: opacity 0.5s;
}
.ms-sidenav a.active { opacity: 1; }
.ms-sidenav a span.num {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.08em;
}
.ms-sidenav a span.line {
  display: block; width: 24px; height: 1px; background: var(--teal);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.2,0,0.1,1);
}
.ms-sidenav a.active span.line { transform: scaleX(1); }

@media (max-width: 1160px) { .ms-sidenav, .ms-counter { display: none !important; } }

/* ---------------- Counter ---------------- */
.ms-counter {
  position: fixed; right: 34px; bottom: 28px; z-index: 70;
  color: #FAFAF8;
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em;
  transition: color 0.6s;
}
@media (max-width: 940px) { .ms-counter { display: none !important; } }

/* ---------------- Hero ---------------- */
.ms-hero {
  position: relative; min-height: 100vh;
  background: var(--navy);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.ms-hero canvas.sol {
  position: absolute; top: 50%; right: -16%;
  transform: translateY(-50%);
  width: min(62vw, 960px);
  aspect-ratio: 1/1;
  pointer-events: none;
}
.ms-hero .hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,27,62,0.92) 32%, rgba(13,27,62,0.25) 70%, rgba(13,27,62,0) 100%);
  pointer-events: none;
}
.ms-heropad {
  position: relative; z-index: 2;
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: clamp(104px, 13vh, 150px) 40px clamp(76px, 9vh, 120px);
}
@media (min-width: 1161px) { [data-heropad] { padding-left: 108px; } }
@media (max-width: 940px) { [data-heropad] { padding-left: 24px; padding-right: 24px; } }

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  animation: msFade 0.9s cubic-bezier(0.2,0,0.1,1) 0.1s 1 both;
}
.hero-eyebrow .dot {
  display: inline-block; width: 7px; height: 7px; background: var(--teal-light);
  animation: msPulse 1.6s linear infinite;
}
.hero-eyebrow span.label {
  font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: 0.24em; color: var(--teal-light);
}

.hero-h1 {
  margin: 38px 0 0; font-weight: 400; color: #FAFAF8;
  font-size: clamp(40px, 4.9vw, 80px); line-height: 1.03; letter-spacing: -0.035em;
  max-width: 18ch; text-wrap: balance;
}
.hero-h1 .line-wrap { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-h1 .line-inner { display: block; animation: msRise 1.1s cubic-bezier(0.2,0,0.1,1) 1 both; }
.hero-h1 .accent { color: var(--teal-light); font-weight: 500; }

.hero-subline {
  margin-top: 34px; display: flex; align-items: center; gap: 14px;
  animation: msFade 0.9s cubic-bezier(0.2,0,0.1,1) 0.85s 1 both;
}
.hero-subline .rule { display: block; width: 44px; height: 1px; background: rgba(250,250,248,0.35); }
.hero-subline span.label {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.3em; color: rgba(250,250,248,0.55);
}

.hero-p {
  margin: 26px 0 0; max-width: 600px; color: rgba(250,250,248,0.75);
  font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; letter-spacing: -0.01em;
  text-wrap: pretty;
  animation: msFade 0.9s cubic-bezier(0.2,0,0.1,1) 1s 1 both;
}

.hero-ctas {
  margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap;
  animation: msFade 0.9s cubic-bezier(0.2,0,0.1,1) 1.15s 1 both;
}
.btn-primary {
  display: inline-block; background: var(--teal); color: #fff;
  text-decoration: none; font-size: 15px; font-weight: 500; padding: 17px 34px;
  transition: background-color 0.3s;
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary {
  display: inline-block; border: 1px solid rgba(250,250,248,0.35); color: #FAFAF8;
  text-decoration: none; font-size: 15px; font-weight: 400; padding: 16px 34px;
  transition: border-color 0.3s, color 0.3s;
}
.btn-secondary:hover { border-color: var(--teal-light); color: var(--teal-light); }

.hero-scroll {
  position: absolute; bottom: 78px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 9px;
  animation: msFade 0.9s cubic-bezier(0.2,0,0.1,1) 1.5s 1 both;
}
.hero-scroll span.label {
  font-family: "Geist Mono", monospace; font-size: 9px; letter-spacing: 0.28em; color: rgba(250,250,248,0.45);
}
.hero-scroll .track {
  display: block; width: 1px; height: 44px; overflow: hidden; background: rgba(250,250,248,0.12);
}
.hero-scroll .drop {
  display: block; width: 1px; height: 44px; background: var(--teal-light);
  animation: msDrop 2.4s cubic-bezier(0.45,0,0.55,1) infinite;
}

/* Laptops / pantallas de poca altura: comprime el hero para que el contenido
   (incluidos los CTAs) quepa en el primer viewport sin quedar bajo el fold. */
@media (max-height: 820px) {
  .ms-heropad { padding-top: 92px; padding-bottom: 56px; }
  .hero-h1 { margin-top: 24px; font-size: clamp(38px, 4.2vw, 60px); }
  .hero-subline { margin-top: 22px; }
  .hero-p { margin-top: 18px; }
  .hero-ctas { margin-top: 28px; }
  .hero-scroll { bottom: 42px; }
}

/* ---------------- Marquee ---------------- */
.ms-marquee {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  border-top: 1px solid rgba(250,250,248,0.1);
  overflow: hidden;
  background: rgba(6,10,26,0.55);
  padding: 13px 0;
}
.ms-marquee.footer-marquee {
  position: static;
  background: none;
  border-top: 1px solid rgba(250,250,248,0.1);
  margin-top: 110px;
}
.ms-marquee-track {
  display: flex; width: max-content;
  animation: msTick 46s linear infinite;
}
.ms-marquee.footer-marquee .ms-marquee-track { animation-duration: 56s; }
.ms-marquee-group {
  display: flex; align-items: center; gap: 34px; padding-right: 34px;
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.16em;
  color: rgba(250,250,248,0.5); white-space: nowrap;
}
.ms-marquee.footer-marquee .ms-marquee-group { color: rgba(250,250,248,0.4); }
.ms-marquee-group .sep {
  width: 5px; height: 5px; background: var(--teal); flex: 0 0 auto;
}

/* ---------------- Section base ---------------- */
.ms-section {
  padding: 140px 40px 150px;
}
.ms-section.light { background: var(--cream); }
.ms-section.dark { background: var(--navy); }
.ms-section.darker { background: var(--navy-deep); }
.ms-section .container { max-width: 1280px; margin: 0 auto; }

[data-secpad] { padding-left: 40px; padding-right: 40px; }
@media (min-width: 1161px) { [data-secpad] { padding-left: 108px !important; } }
@media (max-width: 940px) { [data-secpad] { padding-left: 24px !important; padding-right: 24px !important; } }

.section-eyebrow {
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2,0,0.1,1), transform 0.9s cubic-bezier(0.2,0,0.1,1);
}
.section-eyebrow.with-rule {
  padding-top: 28px;
}
.section-eyebrow.light-rule { border-top: 1px solid rgba(13,27,62,0.12); }
.section-eyebrow.dark-rule { border-top: 1px solid rgba(250,250,248,0.14); }
.section-eyebrow .sq { display: inline-block; width: 9px; height: 9px; }
.section-eyebrow span.tag {
  font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal);
}
.section-eyebrow.on-dark span.tag { color: var(--teal-light); }

.reveal { opacity: 0; transform: translateY(24px); filter: none;
  transition: opacity 0.9s cubic-bezier(0.2,0,0.1,1), transform 0.9s cubic-bezier(0.2,0,0.1,1); }
.reveal.reveal-blur { transform: translateY(30px); filter: blur(8px);
  transition: opacity 0.9s cubic-bezier(0.2,0,0.1,1), transform 0.9s cubic-bezier(0.2,0,0.1,1), filter 0.9s; }
.reveal.in-view { opacity: 1; transform: none; filter: none; }

/* ---------------- Enfoque (02) ---------------- */
.enfoque-h2 {
  margin: 54px 0 0; font-weight: 400; font-size: clamp(38px, 4.6vw, 72px);
  line-height: 1.08; letter-spacing: -0.03em; color: var(--navy);
  max-width: 20ch; text-wrap: balance;
}
.enfoque-h2 span[data-w] { opacity: 0.13; transition: opacity 0.45s; }
.enfoque-h2 span[data-w].strong { font-weight: 500; }
.enfoque-p {
  margin: 46px 0 0; max-width: 560px; font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55; letter-spacing: -0.012em; color: rgba(13,27,62,0.68);
  text-wrap: pretty;
}

/* ---------------- Client quote block ---------------- */
.quote-block {
  margin-top: 48px; padding: clamp(40px, 5vw, 72px);
}
.quote-block.on-dark { background: var(--navy); }
.quote-block.on-dark-panel { background: var(--navy-panel); }
.quote-eyebrow {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.22em;
}
.quote-text {
  margin: 26px 0 0; font-weight: 400; line-height: 1.22; letter-spacing: -0.025em;
  color: #FAFAF8; text-wrap: balance;
  font-size: clamp(22px, 2.6vw, 42px);
}

/* ---------------- Section header grid ---------------- */
.section-head-grid {
  margin-top: 76px; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end;
}
.section-head-grid h2 {
  margin: 0; font-weight: 400; font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance;
}
.section-head-grid h2.on-light { color: var(--navy); }
.section-head-grid h2.on-dark { color: #FAFAF8; }
.section-head-grid p {
  margin: 0; font-size: 16.5px; line-height: 1.6; text-wrap: pretty;
}
.section-head-grid p.on-light { color: rgba(13,27,62,0.68); }
.section-head-grid p.on-dark { color: rgba(250,250,248,0.68); }

@media (max-width: 940px) {
  .section-head-grid, .grid3, .grid2 { grid-template-columns: 1fr !important; }
  .hide-sm { display: none !important; }
}

/* ---------------- Service cards grid ---------------- */
.grid3 {
  margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch;
}
.grid2 {
  margin-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch;
}

.card-frame {
  padding: 1px; display: flex;
  transition: background 0.45s;
}
.card-frame.f-lavender { background: rgba(13,27,62,0.14); }
.card-frame.f-lavender:hover { background: linear-gradient(135deg, var(--lavender) 0%, var(--teal) 100%); }
.card-frame.f-teallight { background: rgba(140,234,228,0.18); }
.card-frame.f-teallight:hover { background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%); }
.card-frame.f-sky { background: rgba(13,27,62,0.14); }
.card-frame.f-sky:hover { background: linear-gradient(135deg, var(--sky) 0%, var(--teal) 100%); }
.card-frame.f-partner-a { background: rgba(140,234,228,0.18); }
.card-frame.f-partner-a:hover { background: linear-gradient(135deg, var(--lavender) 0%, var(--teal) 100%); }
.card-frame.f-partner-b { background: rgba(140,234,228,0.18); }
.card-frame.f-partner-b:hover { background: linear-gradient(135deg, var(--sky) 0%, var(--teal-light) 100%); }

.card-inner {
  padding: 34px 30px; display: flex; flex-direction: column; gap: 16px; flex: 1 1 0%;
}
.card-inner.on-white { background: #fff; }
.card-inner.on-navypanel { background: #0F2249; }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.card-index { font-family: "Geist Mono", monospace; font-size: 11px; }
.card-index.on-light { color: rgba(13,27,62,0.4); }
.card-index.on-dark { color: rgba(250,250,248,0.4); }

.card-badge {
  align-self: flex-start;
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 5px 9px; border: 1px solid rgba(0,137,123,0.4);
  color: #00695C;
}
.card-badge.on-dark { border-color: rgba(140,234,228,0.4); color: var(--teal-light); }

.card-title { margin: 0; font-size: 21px; font-weight: 500; letter-spacing: -0.018em; line-height: 1.25; }
.card-title.on-light { color: var(--navy); }
.card-title.on-dark { color: #FAFAF8; }

.card-desc { margin: 0; font-size: 14.5px; line-height: 1.6; }
.card-desc.on-light { color: rgba(13,27,62,0.66); }
.card-desc.on-dark { color: rgba(250,250,248,0.62); }

.card-bullets { display: flex; flex-direction: column; gap: 9px; }
.card-bullets .bullet { display: flex; gap: 10px; align-items: baseline; }
.card-bullets .bullet .dot { width: 5px; height: 5px; flex: 0 0 auto; }
.card-bullets .bullet span.txt { font-size: 13.5px; line-height: 1.5; }
.card-bullets .bullet span.txt.on-light { color: rgba(13,27,62,0.72); }
.card-bullets .bullet span.txt.on-dark { color: rgba(250,250,248,0.7); }

.card-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.card-tags .tag {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 6px 9px;
}
.card-tags .tag.fill { color: var(--navy); }
.card-tags .tag.outline { border: 1px solid; background: none; }

.dot-lavender { background: var(--lavender); }
.dot-teallight { background: var(--teal-light); }
.dot-sky { background: var(--sky); }
.dot-sand { background: var(--sand); }

/* ---------------- CTA link ---------------- */
.section-cta {
  margin-top: 52px;
}
.link-cta {
  display: inline-block; text-decoration: none; font-size: 16.5px; font-weight: 500;
  letter-spacing: -0.01em;
  background-image: linear-gradient(currentcolor, currentcolor);
  background-repeat: no-repeat; background-position: left bottom; background-size: 0% 1px;
  padding-bottom: 4px;
  transition: background-size 0.4s cubic-bezier(0.33,0,0.2,1);
}
.link-cta:hover { background-size: 100% 1px; }
.link-cta.on-light { color: var(--teal); }
.link-cta.on-dark { color: var(--teal-light); }

/* ---------------- Alianzas (07) ---------------- */
.ms-alianzas { position: relative; overflow: hidden; }
.ms-alianzas canvas.disco {
  position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%);
  width: min(70vw, 760px); aspect-ratio: 1/1; pointer-events: none; opacity: 0.55;
}
.ms-alianzas .container { position: relative; z-index: 2; }

.partner-card {
  backdrop-filter: blur(6px);
  padding: 44px 40px; display: flex; flex-direction: column; gap: 20px; flex: 1 1 0%;
  background: rgba(6,10,26,0.82);
}
.partner-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.partner-name { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; color: #FAFAF8; }
.partner-name .muted { color: rgba(250,250,248,0.5); font-weight: 400; }
.partner-kicker {
  font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.partner-desc { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(250,250,248,0.66); }
.partner-brand-mark { display: inline-flex; align-items: center; gap: 8px; }
.partner-brand-mark img { height: 24px; width: 24px; object-fit: contain; }
.partner-brand-mark span { font-family: "Nasalization", sans-serif; font-size: 17px; color: #FAFAF8; }

/* ---------------- Equipo (08) ---------------- */
.team-card {
  border: 1px solid rgba(13,27,62,0.12); background: #fff;
  padding: 40px 34px; display: flex; flex-direction: column; gap: 16px;
}
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.team-avatar span {
  font-family: "Geist Mono", monospace; font-size: 20px; letter-spacing: 0.05em;
}
.team-avatar.placeholder { background: rgba(13,27,62,0.5); border: 2px dashed rgba(13,27,62,0.35); }
.team-name { margin: 10px 0 0; font-size: 22px; font-weight: 500; letter-spacing: -0.018em; color: var(--navy); }
.team-role {
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal);
}
.team-bio { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(13,27,62,0.66); }
.pending-badge {
  align-self: flex-start;
  font-family: "Geist Mono", monospace; font-size: 9.5px; letter-spacing: 0.05em;
  padding: 5px 8px; border: 1px dashed #C98A4B; color: #8A5A1F;
}
.pending-badge.on-dark { border-color: rgba(244,200,158,0.55); color: var(--sand); }

/* ---------------- Contacto (09) ---------------- */
.ms-contacto { background: var(--navy-deep); padding: 150px 40px 0; }
/* Clear the fixed sidenav on wide screens — same 108px left offset as [data-secpad].
   Scoped to the content blocks so the full-bleed marquee/footer stay untouched. */
@media (min-width: 1161px) {
  .ms-contacto > .container > .section-eyebrow,
  .ms-contacto > .container > .contact-grid { padding-left: 68px; }
}
.contact-grid {
  margin-top: 60px; display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start;
}
.contact-left { display: flex; flex-direction: column; gap: 32px; }
.contact-h2 {
  margin: 0; font-weight: 400; font-size: clamp(34px, 4vw, 62px); line-height: 1.08;
  letter-spacing: -0.03em; color: #FAFAF8; text-wrap: balance;
}
.contact-p { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.6; color: rgba(250,250,248,0.68); text-wrap: pretty; }
.contact-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-cta-final {
  display: inline-block; background: var(--teal); color: #fff; text-decoration: none;
  font-size: 15.5px; font-weight: 500; padding: 18px 38px; transition: background-color 0.3s;
}
.btn-cta-final:hover { background: var(--teal-dark); }

.contact-info { display: flex; flex-direction: column; }
.contact-row {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 0;
  border-top: 1px solid rgba(250,250,248,0.14);
}
.contact-row:last-child { border-bottom: 1px solid rgba(250,250,248,0.14); }
.contact-label {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.18em; color: rgba(250,250,248,0.42);
}
.contact-value { font-size: 17px; color: #FAFAF8; letter-spacing: -0.01em; text-decoration: none; }
.contact-value.mono-value { font-family: "Geist Mono", monospace; }
.contact-value.email-value { color: var(--teal-light); text-decoration: none; }

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

/* ---------------- Footer ---------------- */
.ms-footer-bottom {
  border-top: 1px solid rgba(250,250,248,0.1);
  padding: 22px 0 26px;
}
.ms-footer-bottom .container {
  max-width: 1280px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: rgba(250,250,248,0.45); }
.footer-mark { display: flex; align-items: center; gap: 8px; }
.footer-mark span.wordmark { font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: 0.18em; color: rgba(250,250,248,0.6); }
.footer-mark .dot { display: inline-block; width: 6px; height: 6px; background: var(--teal); }

.footer-social { display: flex; gap: 14px; align-items: center; }
.footer-social a { color: rgba(250,250,248,0.6); transition: color 0.3s; display: inline-flex; }
.footer-social a:hover { color: var(--teal-light); }
.footer-social svg { width: 18px; height: 18px; }

/* Utility */
.hidden-init { visibility: hidden; }
