/* ============================================
   SturmSignal Design System
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg:            #07100d;
  --bg-elev:       #0e1a16;
  --surface:       #122520;
  --border:        #1f3a32;
  --border-strong: #2c5448;
  --fg:            #f3f7f4;
  --muted:         #93a8a1;
  --brand:         #4ade80;
  --brand-deep:    #4b8b75;
  --brand-ink:     #07100d;
  --accent:        #facc15;
  --radius-card:   1.25rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body { background: var(--bg); color: var(--fg); font-family: 'Inter', system-ui, sans-serif; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brand); color: var(--brand-ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-wrap: balance;
}
p { text-wrap: pretty; line-height: 1.6; }

/* ---------- Layout ---------- */
.container-x {
  width: 100%;
  max-width: 84rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) { .container-x { padding-inline: 2.5rem; } }

.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 1px; }
@media (min-width: 640px)  { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Components ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .8rem;
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgb(74 222 128 / .06);
}
.eyebrow::before {
  content: '';
  width: .45rem; height: .45rem;
  border-radius: 9999px;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: #6ef098; }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.card {
  border-radius: var(--radius-card);
  background: var(--bg-elev);
  border: 1px solid var(--border);
}

/* ---------- Grain / Glow overlay ---------- */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgb(74 222 128 / .5), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 90%,  rgb(250 204 21 / .2),  transparent 60%);
}
.glow-blob {
  position: absolute;
  border-radius: 9999px;
  background: var(--brand);
  opacity: .10;
  filter: blur(80px);
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgb(7 16 13 / .85);
  backdrop-filter: blur(20px);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.03em;
}
.logo-icon {
  position: relative;
  width: 2.25rem; height: 2.25rem;
  border-radius: .5rem;
  background: var(--brand);
  color: var(--brand-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-dot {
  position: absolute;
  right: -2px; top: -2px;
  width: .5rem; height: .5rem;
  border-radius: 9999px;
  background: var(--accent);
  animation: pulse-glow 2.4s ease-in-out infinite;
}
.logo span.green { color: var(--brand); }
.main-nav { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: flex; align-items: center; gap: .25rem; list-style: none; }
  .main-nav a {
    padding: .5rem .875rem;
    border-radius: 9999px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--muted);
    transition: background 150ms, color 150ms;
  }
  .main-nav a:hover { background: var(--bg-elev); color: var(--fg); }
}
.header-cta { display: none; align-items: center; gap: .4rem; font-size: .875rem; padding: .6rem 1.1rem; }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }

/* Burger button */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  flex-shrink: 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 250ms, opacity 250ms;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  padding: 1.5rem var(--container-pad);
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu a {
  display: block;
  padding: .75rem 1rem;
  border-radius: .5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  transition: background 150ms, color 150ms;
}
.mobile-menu a:hover { background: var(--surface); color: var(--fg); }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* Mobile CTA button */
.mobile-cta { padding: 1rem; margin-top: .25rem; border-top: 1px solid var(--border); }
.mobile-cta .btn { width: 100%; justify-content: center; }
.mobile-cta .btn-primary { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 5rem 0 6rem; }
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.04em;
  margin-top: 1.75rem;
}

/* Split layout */
.hero-split {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
@media (max-width: 1023px) {
  .hero-text { text-align: center; }
  .hero-text .hero-sub { margin-inline: auto; }
  .hero-text .hero-actions { justify-content: center; }
}
.hero-sub {
  max-width: 38rem;
  margin-top: 1.75rem;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
}
@media (min-width: 768px) { .hero-sub { font-size: 1.2rem; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

/* Animated hero visual */
.hero-visual {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem .5rem;
}
@media (max-width: 1023px) { .hero-visual { display: none; } }

.hero-mockup {
  border-radius: 1.125rem;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--border),
    0 30px 80px -20px rgb(74 222 128 / .2),
    0 0 120px -40px rgb(74 222 128 / .12);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
}
.mockup-dots { display: flex; gap: .375rem; }
.mockup-dots span { width: .625rem; height: .625rem; border-radius: 9999px; }
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }
.mockup-addr {
  flex: 1;
  font-size: .7rem;
  color: var(--muted);
  font-family: ui-monospace, monospace;
  background: var(--bg);
  padding: .2rem .625rem;
  border-radius: .375rem;
  border: 1px solid var(--border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mockup-live {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .65rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .08em;
  flex-shrink: 0;
}
.live-dot {
  width: .45rem; height: .45rem;
  border-radius: 9999px;
  background: var(--brand);
  animation: live-pulse 1.4s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .3; transform: scale(.75); }
}

.mockup-body { padding: 1rem; display: flex; flex-direction: column; gap: .75rem; }

.mockup-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: .625rem; }
.mockup-metric {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: .75rem .625rem;
}
.mockup-metric-val {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.mockup-metric-val.accent { color: var(--accent); }
.mockup-metric-label {
  font-size: .58rem;
  color: var(--muted);
  margin-top: .3rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.mockup-chart {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: .875rem .875rem .625rem;
}
.chart-label {
  font-size: .6rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .625rem;
}
.chart-bars { display: flex; align-items: flex-end; gap: .3rem; height: 4.5rem; }
.chart-bar {
  flex: 1;
  height: 0;
  background: var(--border-strong);
  border-radius: .2rem .2rem 0 0;
  animation: bar-grow .65s cubic-bezier(.16,1,.3,1) forwards;
}
.chart-bar.active {
  background: var(--brand);
  box-shadow: 0 -6px 20px rgb(74 222 128 / .45);
}
.chart-bar:nth-child(1) { animation-delay: .05s; }
.chart-bar:nth-child(2) { animation-delay: .15s; }
.chart-bar:nth-child(3) { animation-delay: .25s; }
.chart-bar:nth-child(4) { animation-delay: .35s; }
.chart-bar:nth-child(5) { animation-delay: .45s; }
.chart-bar:nth-child(6) { animation-delay: .55s; }
.chart-bar:nth-child(7) { animation-delay: .65s; }
@keyframes bar-grow {
  from { height: 0; }
  to   { height: var(--h); }
}

.mockup-code {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: .875rem 1rem;
  font-family: 'Fira Code', 'Cascadia Code', ui-monospace, monospace;
  font-size: .7rem;
  line-height: 1.75;
  overflow: hidden;
}
.code-line {
  opacity: 0;
  animation: code-appear .35s ease forwards;
  white-space: pre;
}
.code-l2 { animation-delay: .7s; }
.code-l3 { animation-delay: 1.3s; }
.code-l4 { animation-delay: 1.9s; }
@keyframes code-appear {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.code-kw      { color: #c586c0; }
.code-fn      { color: #dcdcaa; }
.code-str     { color: #ce9178; }
.code-num     { color: var(--brand); }
.code-comment { color: var(--muted); }
.code-cursor  {
  display: inline-block;
  width: 1px; height: 1em;
  background: var(--brand);
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: blink .9s step-end infinite;
  animation-delay: 2.3s;
  opacity: 0;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Floating hero badges */
.hero-badge {
  position: absolute;
  border-radius: .875rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  backdrop-filter: blur(16px);
  padding: .5rem .875rem;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .4rem;
  box-shadow: 0 8px 32px -8px rgb(0 0 0 / .6), 0 0 0 1px var(--border);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
}
.hb-1 { top: .5rem; right: .5rem; color: var(--brand); animation: hb-float-a 4s ease-in-out infinite; animation-delay: .4s; animation-fill-mode: forwards; }
.hb-2 { bottom: 2.5rem; left: 0; flex-direction: column; align-items: flex-start; gap: .1rem; animation: hb-float-b 5s ease-in-out infinite; animation-delay: .9s; animation-fill-mode: forwards; }
.hb-2 .hb-val { font-size: 1.2rem; color: var(--brand); line-height: 1; }
.hb-2 .hb-lbl { font-size: .62rem; color: var(--muted); font-weight: 400; }
.hb-3 { top: 42%; right: -.5rem; color: var(--accent); animation: hb-float-c 3.5s ease-in-out infinite; animation-delay: .65s; animation-fill-mode: forwards; }
@keyframes hb-float-a {
  0%   { opacity:0; transform: translateY(8px); }
  12%  { opacity:1; }
  50%  { opacity:1; transform: translateY(-6px); }
  100% { opacity:1; transform: translateY(8px); }
}
@keyframes hb-float-b {
  0%   { opacity:0; transform: translateY(-8px); }
  12%  { opacity:1; }
  50%  { opacity:1; transform: translateY(6px); }
  100% { opacity:1; transform: translateY(-8px); }
}
@keyframes hb-float-c {
  0%   { opacity:0; transform: translateY(5px); }
  12%  { opacity:1; }
  50%  { opacity:1; transform: translateY(-5px); }
  100% { opacity:1; transform: translateY(5px); }
}

.underline-accent { position: relative; display: inline-block; }
.underline-accent svg { position: absolute; bottom: -.5rem; left: 0; width: 100%; height: .75rem; color: var(--accent); }
.text-brand { color: var(--brand); }

/* ---------- Stats strip ---------- */
.stats-grid {
  margin-top: 6rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--border);
  overflow: hidden;
}
.stat-item { background: var(--bg-elev); padding: 1.5rem 2rem; }
.stat-value { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--brand); }
.stat-label { margin-top: .5rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 1.25rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: scroll-x 35s linear infinite;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--muted);
}
.marquee-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 9999px; background: var(--brand); margin: 0 2rem; vertical-align: middle; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 6rem 0 8rem; }
.section-header { max-width: 48rem; }
.section-header.center { margin: 0 auto; text-align: center; }
.section-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; margin-top: 1.5rem; }
.section-intro { margin-top: 1.5rem; font-size: 1.125rem; color: var(--muted); line-height: 1.7; }
@media (min-width: 768px) { .section-intro { font-size: 1.25rem; } }
.section-body { margin-top: 4rem; }

/* ---------- Service Cards ---------- */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 2rem 2.5rem;
  transition: border-color 200ms, background 200ms;
}
.service-card:hover { border-color: var(--brand); background: var(--surface); }
.service-number {
  position: absolute;
  right: 1.5rem; top: 1.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--border-strong);
  line-height: 1;
  transition: color 200ms;
}
.service-card:hover .service-number { color: var(--brand); }
.service-title { margin-top: 3rem; font-size: 1.5rem; font-weight: 800; }
.service-short { margin-top: .75rem; font-size: 1.1rem; font-weight: 600; color: var(--brand); }
.service-desc { margin-top: 1rem; flex: 1; color: var(--muted); }
.service-link {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
}
.service-card:hover .service-link { color: var(--brand); }

/* ---------- USP cards ---------- */
.usp-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: .5rem;
  background: var(--brand);
  color: var(--brand-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.usp-title { margin-top: 1.5rem; font-size: 1.15rem; font-weight: 800; }
.usp-body { margin-top: .75rem; color: var(--muted); font-size: .95rem; }

/* ---------- Process strip ---------- */
.process-grid {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--border);
  overflow: hidden;
}
.process-step { background: var(--bg-elev); padding: 2rem; }
.process-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 3rem; font-weight: 800; color: var(--brand); }
.process-title { margin-top: 1.5rem; font-size: 1.15rem; font-weight: 800; }
.process-desc { margin-top: .75rem; color: var(--muted); font-size: .9rem; }
@media (min-width: 768px) { .process-grid { display: grid; grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Team section ---------- */
.team-badge {
  position: absolute;
  bottom: -1rem; left: -1rem;
  border-radius: .875rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: 0 0 0 1px var(--border-strong), 0 20px 60px -15px rgb(74 222 128 / .2);
}
.team-avatars { display: flex; }
.team-avatar {
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  border: 2px solid var(--bg-elev);
  background: var(--brand);
  color: var(--brand-ink);
  font-size: .7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-left: -.5rem;
}
.team-avatar:first-child { margin-left: 0; }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; }
.stars { display: flex; gap: .25rem; color: var(--accent); }
.stars svg { width: 1.25rem; height: 1.25rem; }
.quote { margin-top: 1.5rem; flex: 1; font-size: 1.05rem; line-height: 1.6; }
.author { margin-top: 1.5rem; font-size: .875rem; font-weight: 600; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: 48rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--fg);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.faq-icon {
  flex-shrink: 0;
  width: 1.75rem; height: 1.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  color: var(--brand);
  display: grid;
  place-items: center;
  transition: transform 250ms;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 1.5rem; color: var(--muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA block ---------- */
.cta-block {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, var(--bg-elev), var(--surface), var(--bg-elev));
  padding: 2.5rem;
}
@media (min-width: 768px) { .cta-block { padding: 4rem; } }
.cta-block .glow-blob { right: -5rem; top: -5rem; width: 20rem; height: 20rem; }

/* ---------- Service Page Hero ---------- */
.service-hero { position: relative; overflow: hidden; padding: 5rem 0 5rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted); margin-bottom: 2rem; }
.breadcrumb a:hover { color: var(--brand); }
.service-hero-img {
  border-radius: var(--radius-card);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.service-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Features ---------- */
.feature-num {
  width: 2.5rem; height: 2.5rem;
  border-radius: .5rem;
  background: var(--brand);
  color: var(--brand-ink);
  display: grid;
  place-items: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: .875rem;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-elev); }
.footer-grid { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; text-align: center; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; text-align: left; } }
.footer-desc { margin-top: 1.25rem; color: var(--muted); line-height: 1.6; max-width: 28rem; margin-inline: auto; }
@media (min-width: 768px) { .footer-desc { margin-inline: 0; } }
.footer-contacts { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
@media (min-width: 768px) { .footer-contacts { justify-content: flex-start; } }
.footer-contact-link {
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  padding: .5rem 1rem;
  font-size: .875rem;
  transition: border-color 150ms, color 150ms;
}
.footer-contact-link:hover { border-color: var(--brand); color: var(--brand); }
.footer-heading { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.footer-links { margin-top: 1rem; list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-links a { font-size: .9rem; transition: color 150ms; }
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--muted);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; align-items: center; gap: .75rem; }
}

/* ---------- Contact form ---------- */
.form-label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: .75rem;
  padding: .75rem 1rem;
  color: var(--fg);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 150ms;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--brand); }
.form-select option { background: var(--bg-elev); }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.form-privacy { font-size: .75rem; color: var(--muted); margin-top: .25rem; }
.form-privacy a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.alert { padding: 1rem 1.25rem; border-radius: .75rem; font-size: .9rem; margin-bottom: 1.5rem; }
.alert-success { background: rgb(74 222 128 / .1); border: 1px solid rgb(74 222 128 / .3); color: var(--brand); }
.alert-error { background: rgb(255 77 77 / .1); border: 1px solid rgb(255 77 77 / .3); color: #ff8080; }

/* ---------- Image helpers ---------- */
.img-card { border-radius: var(--radius-card); border: 1px solid var(--border-strong); overflow: hidden; }
.img-card img { width: 100%; object-fit: cover; display: block; }
.relative { position: relative; }
.img-badge {
  position: absolute;
  border-radius: .875rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  padding: .875rem 1.25rem;
}
.img-badge-tr { top: -1rem; right: -1rem; }
.img-badge-bl { bottom: -1rem; left: -1rem; }
.img-badge .badge-val { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.img-badge .badge-sub { font-size: .75rem; color: var(--muted); margin-top: .1rem; }

/* ---------- Keyframes ---------- */
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgb(250 204 21 / .5); }
  50%       { box-shadow: 0 0 0 10px rgb(250 204 21 / 0); }
}

/* ---------- Utilities ---------- */
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.text-muted { color: var(--muted); }
.text-brand { color: var(--brand); }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
