/* =========================================================
   Orbit Trade LLC — Premium dark theme
   Deep space navy · electric blue → violet accent · glassmorphism
   Mobile-first, responsive down to 360px. AA contrast.
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap");

/* ----- Design tokens ----- */
:root {
  --bg:          #070C18;
  --bg-2:        #0B1426;
  --bg-3:        #0E1A30;
  --surface:     rgba(255, 255, 255, 0.035);
  --surface-2:   rgba(255, 255, 255, 0.06);
  --border:      rgba(255, 255, 255, 0.09);
  --border-2:    rgba(255, 255, 255, 0.17);

  --text:        #EAF1FF;
  --text-2:      #A7B6D2;
  --text-3:      #71819F;

  --accent:      #4C8DFF;
  --accent-2:    #7C3AED;
  --accent-soft: rgba(76, 141, 255, 0.16);
  --grad:        linear-gradient(100deg, #5B9BFF 0%, #3D6FE0 45%, #8B5CF6 100%);
  --grad-soft:   linear-gradient(135deg, rgba(76,141,255,0.18), rgba(124,58,237,0.12));

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;

  --glow:      0 0 0 1px var(--border), 0 18px 50px -20px rgba(76, 141, 255, 0.35);
  --glow-soft: 0 20px 60px -28px rgba(76, 141, 255, 0.5);

  --container: 1140px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font);

  --header-h: 70px;
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text-2);
  background:
    radial-gradient(1100px 620px at 82% -120px, rgba(76, 141, 255, 0.20), transparent 60%),
    radial-gradient(900px 560px at -160px 18%, rgba(124, 58, 237, 0.16), transparent 55%),
    radial-gradient(800px 600px at 50% 120%, rgba(76, 141, 255, 0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #8FB4FF; }

ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { color: var(--text-2); }

.grad-text {
  background: linear-gradient(100deg, #8FB6FF 0%, #6E9BFF 40%, #B98CFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

.section--navy {
  background:
    radial-gradient(800px 400px at 12% 0%, rgba(124, 58, 237, 0.14), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--border);
}
.section--alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff;
  padding: 0.6rem 1rem; border-radius: 0 0 var(--radius-sm) 0; z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: #8FB4FF; margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, #8FB4FF);
}
.section-head.center .eyebrow::before { display: none; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 0.85rem; font-size: 1.1rem; color: var(--text-2); }

.lead { font-size: clamp(1.075rem, 2.2vw, 1.3rem); color: var(--text-2); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 1rem;
  padding: 0.9rem 1.6rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
              border-color 0.18s ease, color 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 34px -10px rgba(76, 141, 255, 0.75);
}
.btn--primary:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 16px 44px -10px rgba(76, 141, 255, 0.9); }

.btn--ghost, .btn--on-navy-ghost {
  background: var(--surface); color: var(--text);
  border-color: var(--border-2); backdrop-filter: blur(8px);
}
.btn--ghost:hover, .btn--on-navy-ghost:hover {
  background: var(--surface-2); color: #fff; border-color: var(--accent);
}

.btn--light {
  background: #fff; color: #0B1426;
}
.btn--light:hover { color: #1E4A9C; filter: brightness(0.97); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(7, 12, 24, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}

.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.22rem; color: var(--text); letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 30px; height: 30px; color: var(--accent); flex: none;
  filter: drop-shadow(0 0 8px rgba(76, 141, 255, 0.6));
}
.brand-name { line-height: 1; }

.main-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 0.25rem; }
.nav-menu a {
  display: inline-block; padding: 0.5rem 0.9rem; border-radius: var(--radius-sm);
  color: var(--text-2); font-weight: 500; font-size: 0.97rem;
}
.nav-menu a:hover { color: #fff; background: var(--surface-2); }
.nav-menu a[aria-current="page"] { color: #fff; }
.nav-menu .nav-cta {
  background: var(--grad); color: #fff; margin-left: 0.5rem; padding-inline: 1.2rem;
  box-shadow: 0 8px 24px -10px rgba(76, 141, 255, 0.8);
}
.nav-menu .nav-cta:hover { color: #fff; filter: brightness(1.08); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.15rem;
    background: rgba(8, 14, 28, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 50px -20px rgba(0,0,0,0.7);
    padding: 0.75rem clamp(1.1rem, 4vw, 2rem) 1.25rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 0.85rem 0.9rem; font-size: 1.05rem; }
  .nav-menu .nav-cta { margin-left: 0; margin-top: 0.4rem; text-align: center; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1px 1px at 18% 30%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 70% 22%, rgba(255,255,255,0.55), transparent),
    radial-gradient(1px 1px at 42% 72%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 86% 64%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 55% 46%, rgba(255,255,255,0.45), transparent);
  opacity: 0.5; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center; padding-block: clamp(3.5rem, 9vw, 7rem);
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }

.hero h1 { color: #fff; }
.hero-sub { margin-top: 1.4rem; font-size: clamp(1.075rem, 2.2vw, 1.3rem); color: var(--text-2); max-width: 40ch; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.95rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-2);
  font-size: 0.85rem; font-weight: 500; color: var(--text); margin-bottom: 1.6rem;
  backdrop-filter: blur(8px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; flex: none; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18); }

.hero-art { display: grid; place-items: center; position: relative; }
.hero-art img { width: 100%; max-width: 460px; filter: drop-shadow(0 25px 55px rgba(76,141,255,0.35)); }

/* 3D canvas hero */
.hero-canvas {
  width: 100%; aspect-ratio: 1 / 1; max-width: 460px;
  margin-inline: auto;
  display: block; touch-action: none;
}
.hero-art--3d { position: relative; }
.hero-art--3d .hero-fallback { display: none; }
.no-webgl .hero-art--3d .hero-canvas { display: none; }
.no-webgl .hero-art--3d .hero-fallback { display: grid; }

/* =========================================================
   Cards / grids
   ========================================================= */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .grid--3-2 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .grid--5 { grid-template-columns: repeat(6, 1fr); } }

/* bento: 2 wide cards on top, 3 on the bottom row */
@media (min-width: 980px) {
  .grid--5 > .card:nth-child(1) { grid-column: span 3; }
  .grid--5 > .card:nth-child(2) { grid-column: span 3; }
  .grid--5 > .card:nth-child(3) { grid-column: span 2; }
  .grid--5 > .card:nth-child(4) { grid-column: span 2; }
  .grid--5 > .card:nth-child(5) { grid-column: span 2; }
}

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(34, 49, 84, 0.55), rgba(15, 25, 46, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  height: 100%; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(420px 220px at var(--mx, 70%) var(--my, 0%), rgba(76,141,255,0.16), transparent 60%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.card--link:hover {
  transform: translateY(-5px);
  border-color: var(--border-2);
  background: var(--surface-2);
  box-shadow: var(--glow-soft);
}
.card--link:hover::after { opacity: 1; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-2); font-size: 0.97rem; }

.card-icon {
  width: 50px; height: 50px; display: grid; place-items: center;
  border-radius: 14px; background: var(--grad-soft);
  border: 1px solid var(--border); color: #8FB4FF; margin-bottom: 1.2rem;
}
.card-icon svg { width: 26px; height: 26px; }

.card-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1.1rem; font-weight: 600; font-size: 0.95rem; color: #8FB4FF; }
.card-link svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.card--link:hover .card-link svg { transform: translateX(4px); }

/* Feature (why) items */
.feature { padding: 0.5rem 0; }
.feature .card-icon { margin-bottom: 1rem; }
.feature h3 { color: #fff; }
.feature p { color: var(--text-2); font-size: 0.98rem; }

/* Stats */
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 720px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  text-align: center; padding: 1.6rem 1rem;
  background: linear-gradient(180deg, rgba(34, 49, 84, 0.5), rgba(15, 25, 46, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1;
  background: linear-gradient(100deg, #8FB6FF, #B98CFF);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label { margin-top: 0.6rem; font-size: 0.9rem; color: var(--text-2); }

/* Marquee */
.marquee {
  position: relative; overflow: hidden; padding-block: 1.5rem;
  border-block: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  color: var(--text-2); white-space: nowrap;
}
.marquee-item svg { width: 20px; height: 20px; color: #8FB4FF; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Service detail blocks
   ========================================================= */
.service-block {
  display: grid; grid-template-columns: 1fr; gap: 1rem 2rem;
  padding: clamp(1.6rem, 4vw, 2.25rem);
  margin-bottom: 1.25rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); backdrop-filter: blur(8px);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
@media (min-width: 760px) { .service-block { grid-template-columns: 64px 1fr; align-items: start; } }
.service-block .card-icon { margin-bottom: 0; }
.service-block h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.service-block p { margin-top: 0.6rem; max-width: 70ch; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag {
  font-size: 0.82rem; font-weight: 500; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 0.3rem 0.75rem; border-radius: 999px;
}

/* =========================================================
   Trust strip
   ========================================================= */
.trust-strip { border-block: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.trust-strip .container {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding-block: 1.1rem; text-align: center; flex-wrap: wrap;
  color: var(--text-2); font-weight: 500; font-size: 0.95rem;
}
.trust-strip svg { width: 18px; height: 18px; color: #8FB4FF; flex: none; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 300px at 85% 10%, rgba(124, 58, 237, 0.35), transparent 60%),
    radial-gradient(700px 360px at 10% 90%, rgba(76, 141, 255, 0.30), transparent 60%),
    var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4rem); text-align: center;
  box-shadow: var(--glow-soft);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--text-2); margin-top: 0.7rem; }
.cta-band .btn-row { justify-content: center; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero .container { padding-block: clamp(2.75rem, 7vw, 4.75rem); position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--text-2); margin-top: 0.95rem; max-width: 65ch; font-size: 1.12rem; }

.breadcrumb { font-size: 0.85rem; color: var(--text-3); margin-bottom: 0.9rem; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: #fff; }

/* =========================================================
   About
   ========================================================= */
.prose { max-width: 70ch; }
.prose p { margin-top: 1rem; font-size: 1.07rem; }
.prose p:first-child { margin-top: 0; }

.mission-card {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: var(--radius);
  padding: 1.6rem; backdrop-filter: blur(8px); margin-top: 2rem;
}
.mission-card h3 { color: #8FB4FF; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.45rem; }
.mission-card p { font-size: 1.12rem; color: var(--text); font-weight: 500; }

.value-list { display: grid; gap: 1rem; margin-top: 1.25rem; }
.value-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.value-list .check {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); color: #8FB4FF; margin-top: 2px;
}
.value-list .check svg { width: 15px; height: 15px; }
.value-list strong { color: var(--text); }
.value-list li { color: var(--text-2); }

/* =========================================================
   Portfolio
   ========================================================= */
.case-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; backdrop-filter: blur(8px);
  box-shadow: var(--glow-soft);
}
.case-media {
  position: relative; display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(500px 280px at 70% 10%, rgba(76,141,255,0.3), transparent 60%),
    var(--bg-3);
}
.case-media img { width: 100%; max-width: 520px; border-radius: var(--radius); }
.case-body { padding: clamp(1.5rem, 4vw, 2.25rem); }
.case-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: #8FB4FF; background: var(--grad-soft);
  border: 1px solid var(--border); padding: 0.3rem 0.75rem; border-radius: 999px; margin-bottom: 0.9rem;
}
.case-body h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
.case-body p { margin-top: 0.75rem; max-width: 65ch; }
.case-list { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.case-points {
  margin-top: 1.1rem; display: grid; gap: 0.55rem; list-style: none; padding: 0; max-width: 65ch;
}
.case-points li {
  position: relative; padding-left: 1.6rem; color: var(--text-2); font-size: 0.95rem; line-height: 1.55;
}
.case-points li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 2px;
  background: var(--grad, linear-gradient(135deg, #4C8DFF, #8FB4FF));
}
.case-link { margin-top: 1.1rem; }
.case-link a {
  font-weight: 600; color: #8FB4FF; text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.case-link a:hover { color: #B9D0FF; border-bottom-color: currentColor; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }

.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem; backdrop-filter: blur(8px);
}
.info-item { display: flex; gap: 0.85rem; padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border-bottom: 0; }
.info-item .card-icon { width: 42px; height: 42px; margin: 0; flex: none; }
.info-item .card-icon svg { width: 20px; height: 20px; }
.info-item h3 { font-size: 0.95rem; margin-bottom: 0.15rem; color: var(--text); }
.info-item address { font-style: normal; color: var(--text-2); line-height: 1.55; }
.info-item a { word-break: break-word; }

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.field label .req { color: #8FB4FF; }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--text);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem; width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(76, 141, 255, 0.2);
}
.field textarea { resize: vertical; min-height: 140px; }
.form .btn { justify-content: center; }
.form-note { font-size: 0.85rem; color: var(--text-3); }

/* =========================================================
   Legal / long-form text
   ========================================================= */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 0.6rem; }
.legal h2:first-of-type { margin-top: 1rem; }
.legal h3 { margin-top: 1.5rem; margin-bottom: 0.4rem; font-size: 1.1rem; }
.legal p, .legal li { color: var(--text-2); }
.legal p { margin-top: 0.75rem; }
.legal ul { margin-top: 0.6rem; padding-left: 1.2rem; list-style: disc; }
.legal li { margin-top: 0.35rem; }
.legal .updated {
  display: inline-block; font-size: 0.9rem; color: var(--text-2);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 0.35rem 0.85rem; border-radius: 999px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.06)), var(--bg-2);
  border-top: 1px solid var(--border);
  color: var(--text-2); padding-top: clamp(2.75rem, 6vw, 4rem);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }

.site-footer .brand { color: #fff; }
.footer-brand p { color: var(--text-2); margin-top: 0.9rem; max-width: 36ch; font-size: 0.95rem; }
.footer-meta { margin-top: 1rem !important; font-size: 0.85rem !important; color: var(--text-3) !important; }

.footer-nav h3, .footer-contact h3 {
  color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
}
.footer-nav ul { display: grid; gap: 0.6rem; }
.footer-nav a { color: var(--text-2); font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.footer-contact a { color: #8FB4FF; font-size: 0.95rem; word-break: break-word; }
.footer-contact a:hover { color: #fff; }
.footer-contact p { font-size: 0.9rem; margin-top: 0.75rem; color: var(--text-3); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; justify-content: space-between;
}
.footer-bottom p { color: var(--text-3); font-size: 0.88rem; }
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--text-3); font-size: 0.88rem; }
.footer-bottom a:hover { color: #fff; }

/* ----- Scroll reveal ----- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ----- Utilities ----- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
