/* ==========================================================================
   DocuSec Consulting PBC — Design tokens
   ========================================================================== */
:root {
  --bg: #05080d;
  --bg-soft: #070b12;
  --surface: #0c121c;
  --surface-2: #101928;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.22);

  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.12);
  --teal: #2dd4bf;
  --green: #34d399;
  --gradient: linear-gradient(135deg, var(--cyan), var(--green));

  --text-1: #f3f6fa;
  --text-2: #9aa8bd;
  --text-3: #66748a;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-glow: 0 0 0 1px rgba(34, 211, 238, 0.08), 0 20px 60px -20px rgba(34, 211, 238, 0.25);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-head: "Sora", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; color: var(--text-2); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Background grid texture */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

/* ==========================================================================
   Buttons / pills / tags
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #06131a;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(45, 212, 191, 0.55); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-strong);
  color: var(--text-1);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--cyan-soft);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
  white-space: nowrap;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.inline-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s var(--ease);
}
.inline-link:hover { gap: 8px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(5, 8, 13, 0.72);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34,211,238,0.18), rgba(52,211,153,0.1));
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--cyan);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}
.brand-name em {
  font-style: normal;
  color: var(--bg);
  background: var(--gradient);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  margin-left: 6px;
  vertical-align: middle;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--text-1); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.mobile-nav { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}
.nav-toggle span {
  width: 16px; height: 2px; margin: 0 auto;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 2.4s ease, transform 9s linear;
  filter: saturate(1.05);
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,13,0.82) 0%, rgba(5,8,13,0.62) 38%, rgba(5,8,13,0.85) 100%),
    linear-gradient(100deg, rgba(5,8,13,0.6) 0%, rgba(5,8,13,0.28) 45%, rgba(5,8,13,0.65) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  margin: 22px 0 20px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.55);
}
.hero-lede {
  font-size: 1.08rem;
  max-width: 52ch;
  margin-bottom: 34px;
  color: #c2cbda;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-panel { position: relative; }
.panel-glow {
  position: absolute;
  inset: -40px;
  z-index: -1;
  background: radial-gradient(circle at 70% 20%, rgba(34, 211, 238, 0.16), transparent 60%);
  filter: blur(10px);
}

.terminal {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #f87171; }
.dot-amber { background: #fbbf24; }
.dot-green { background: #34d399; }
.terminal-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.03em;
}
.terminal-list { padding: 8px; }
.terminal-list li {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  transition: background 0.2s var(--ease);
}
.terminal-list li:hover { background: rgba(255,255,255,0.025); }
.terminal-list li + li { margin-top: 2px; }
.terminal-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(34,211,238,0.2);
}
.terminal-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.terminal-copy strong { font-size: 0.95rem; }
.terminal-copy p { font-size: 0.85rem; margin: 0; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat { padding: 8px 12px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Section head
   ========================================================================== */
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.section-head p { font-size: 1.02rem; }

.about { padding: 96px 0 32px; }
.about .section-head { margin-bottom: 0; }

/* ==========================================================================
   Grids & cards
   ========================================================================== */
.solutions { padding: 64px 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 20px 40px -24px rgba(34, 211, 238, 0.35);
}
.card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--cyan-soft);
  color: var(--cyan);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.card p { font-size: 0.9rem; flex-grow: 1; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.brandline { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3); }

/* Pillars */
.pillars { padding: 32px 0 80px; }
.pillar {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.pillar-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
  border: 1px solid rgba(52,211,153,0.25);
  margin-bottom: 18px;
}
.pillar h3 { font-size: 1.05rem; margin-bottom: 10px; }
.pillar p { font-size: 0.9rem; }

/* ==========================================================================
   Workshops / tabs
   ========================================================================== */
.workshops { padding: 80px 0; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-2);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.25s var(--ease);
}
.tab-btn:hover { color: var(--text-1); border-color: var(--cyan); }
.tab-btn.is-active {
  background: var(--gradient);
  color: #06131a;
  border-color: transparent;
  font-weight: 600;
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp 0.5s var(--ease); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.workshop-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.track-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.02em;
}
.workshop-copy h3 { font-size: 1.4rem; margin: 12px 0 14px; }
.workshop-copy p { font-size: 0.96rem; }

.workshop-hw {
  border-left: 1px solid var(--border);
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hw-label { font-size: 0.78rem; color: var(--text-3); font-family: var(--font-mono); }
.hw-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.hw-item strong { color: var(--cyan); font-size: 0.92rem; }
.hw-item p { font-size: 0.85rem; margin-top: 4px; }

/* ==========================================================================
   Partners
   ========================================================================== */
.partners { padding: 88px 0; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.partner-card:hover { transform: translateY(-4px); border-color: rgba(34,211,238,0.3); }
.partner-card-wide { grid-column: span 3; }
.partner-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.partner-top h3 { font-size: 1.05rem; }
.idx { color: var(--cyan); font-family: var(--font-mono); margin-right: 4px; }
.partner-card p { font-size: 0.9rem; flex-grow: 1; }
.partner-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ==========================================================================
   Regional offices
   ========================================================================== */
.regional { padding: 32px 0 88px; }
.office-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.office-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.office-card:hover { transform: translateY(-4px); }
.office-card.is-hq { border-color: rgba(34, 211, 238, 0.4); background: linear-gradient(180deg, rgba(34,211,238,0.06), var(--surface)); }
.office-flag { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.office-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.office-type {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.office-card p { font-size: 0.85rem; }

/* ==========================================================================
   Sectors
   ========================================================================== */
.sectors { padding: 32px 0 88px; }
.sector-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.sector-card:hover { transform: translateY(-4px); border-color: rgba(52,211,153,0.35); }
.sector-icon {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
}
.sector-card h3 { font-size: 0.98rem; margin-bottom: 8px; }
.sector-card p { font-size: 0.82rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: 88px 0 100px; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 8px 0 16px; }
.contact-info p { margin-bottom: 32px; font-size: 1rem; }
.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(34,211,238,0.2);
}
.contact-list strong { display: block; font-size: 0.94rem; margin-bottom: 2px; }
.contact-list span { font-size: 0.88rem; color: var(--text-2); }

.quote-form {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-glow);
}
.quote-form h3 { font-size: 1.2rem; margin-bottom: 22px; }
.form-row { margin-bottom: 18px; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-row.two-col > div { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-3);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-1);
  font-size: 0.92rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-3); }
.form-note { min-height: 20px; margin-top: 14px; font-size: 0.85rem; color: var(--green); text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 0; background: var(--bg-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer-brand p { margin-top: 16px; font-size: 0.88rem; max-width: 34ch; }
.footer-brand .brand-name { font-size: 0.95rem; }
.footer-col h4 {
  font-size: 0.78rem;
  color: var(--text-3);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--text-2); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--cyan); }
.footer-col li { font-size: 0.88rem; color: var(--text-2); }
.footer-col li.is-hq { color: var(--cyan); }
.mono-list li { font-family: var(--font-mono); font-size: 0.8rem; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-3);
}
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--cyan); }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--cyan);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { border-color: var(--cyan); transform: translateY(-3px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-card-wide { grid-column: span 2; }
  .office-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .workshop-grid { grid-template-columns: 1fr; }
  .workshop-hw { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .mobile-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 28px 24px 40px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-2);
  }
  .mobile-nav a:hover { color: var(--text-1); }
  .mobile-nav-cta {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    color: #06131a !important;
  }
  .header-actions .btn-primary.btn-sm { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat:nth-child(3) { border-left: 1px solid var(--border); }
  .stat:nth-child(odd) { border-left: none; }
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-card-wide { grid-column: span 1; }
  .office-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row.two-col { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
}
