:root {
  --bg: #0b0b0f;
  --bg-alt: #121218;
  --card: #17171f;
  --line: #26262f;
  --text: #f4f4f6;
  --muted: #a3a3ad;
  --red: #f2050c;
  --blue: #2a4bff;
  --stripes: linear-gradient(90deg, var(--red) 0 25%, #6b4f4b 0 50%, #fff 0 75%, var(--blue) 0);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Jost, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  text-transform: uppercase; letter-spacing: .25em; font-size: .8rem; font-weight: 500;
  color: var(--muted); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 36px; height: 4px; background: var(--stripes); transform: skewX(-30deg); }
.accent { color: var(--red); }

.btn {
  display: inline-block; padding: .85em 1.6em; border-radius: 999px;
  background: var(--red); color: #fff; text-decoration: none; font-weight: 500;
  border: 1px solid var(--red); transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); background: #d10009; }
.btn-ghost { background: transparent; border-color: #ffffff40; }
.btn-ghost:hover { background: #ffffff14; }
.btn-small { padding: .5em 1.2em; font-size: .95rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: clamp(48px, 8vw, 110px) 0 64px;
  background:
    radial-gradient(600px 400px at 85% 30%, #f2050c22, transparent 70%),
    radial-gradient(500px 400px at 100% 90%, #2a4bff22, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-media { margin: 0; position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: 0 30px 80px #000c; }
.hero-media::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: -14px; height: 6px;
  background: var(--stripes); transform: skewX(-30deg);
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #ffffff05;
}
.stats div { padding: 24px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong { display: block; font-size: 2.2rem; font-weight: 600; }
.stats span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin-bottom: 3rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #f2050c80; transform: translateY(-3px); }
.card ul, .values, .badges, .contact-list, .panel-list ul { list-style: none; margin: 0; padding: 0; }
.card li { color: var(--muted); padding: .35em 0 .35em 1.2em; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 2px; background: var(--red); }

.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.badges li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; font-weight: 500;
}
.badges span {
  display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red); margin-bottom: .3em;
}
.panel-list { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 20px; }
.panel-list summary { cursor: pointer; color: var(--muted); font-weight: 500; }
.panel-list summary:hover { color: var(--text); }
.panel-list ul { columns: 3; column-gap: 32px; margin-top: 20px; color: var(--muted); }
.panel-list li { padding: .3em 0; break-inside: avoid; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about > div p { color: var(--muted); font-size: 1.1rem; }
.values { display: grid; gap: 16px; }
.values li { border-left: 3px solid var(--red); padding: 6px 0 6px 20px; }
.values li:nth-child(even) { border-color: var(--blue); }
.values p { color: var(--muted); margin: 0; }

.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: stretch; }
address { font-style: normal; font-size: 1.2rem; margin-bottom: 1.5rem; }
.contact-list { margin-bottom: 2rem; }
.contact-list li { display: flex; gap: 1rem; padding: .5em 0; border-bottom: 1px solid var(--line); }
.contact-list span { width: 100px; color: var(--muted); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.map {
  width: 100%; min-height: 380px; border: 0; border-radius: var(--radius);
  filter: grayscale(1) invert(.92) contrast(.9);
}

.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer::before { content: ""; display: block; height: 4px; background: var(--stripes); margin-top: -41px; margin-bottom: 36px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer img { height: 40px; width: auto; }
.footer p { color: var(--muted); margin: 0; font-size: .9rem; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px #0008;
}
.wa-float svg { width: 30px; height: 30px; }

@media (max-width: 900px) {
  .hero-inner, .about, .contact { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .panel-list ul { columns: 2; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .nav-logo img { height: 26px; }
  .grid, .panel-list ul { grid-template-columns: 1fr; columns: 1; }
}

.not-found { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1rem; }
.not-found img { width: min(360px, 80vw); margin-bottom: 2rem; }
