:root {
  --bg: #06070d;
  --bg-soft: #101424;
  --card: #12182a;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f6ff;
  --muted: #b7bfd8;
  --brand: #0ea5ff;
  --brand-2: #2563eb;
  --ok: #31d0aa;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top right, #1a3f73 0%, var(--bg) 35%, #050507 100%);
  color: var(--text);
}

a {
  color: inherit;
}

body.work-page header.navbar.scrolled {
  box-shadow: 0 0 20px rgba(14, 165, 255, 0.25) !important;
}

body.work-page header.navbar nav a::after {
  background: linear-gradient(90deg, #0ea5ff, #2563eb) !important;
}

body.work-page header.navbar .cta,
body.work-page .mobile-menu .cta {
  background: linear-gradient(90deg, #0ea5ff, #2563eb) !important;
}

main.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 110px 20px 70px;
}

.hero-block {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  background: linear-gradient(160deg, rgba(14, 165, 255, 0.16), rgba(16, 20, 36, 0.82));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ok);
}

h1 {
  margin: 16px 0 10px;
  line-height: 1.1;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
}

.lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
}

.section {
  margin-top: 28px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 24, 42, 0.82);
  padding: 18px;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card p,
.card li,
.page p,
.page li {
  color: var(--muted);
}

ul.clean {
  margin: 8px 0 0;
  padding-left: 20px;
}

.btn-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.btn.ghost {
  border-color: var(--line);
}

img.thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 12px;
}

details.card summary {
  cursor: pointer;
  font-weight: 600;
}

.policy {
  margin-top: 20px;
}

.policy h2 {
  margin: 0 0 10px;
}

.policy p,
.policy li {
  margin-top: 0;
}

.callout {
  border-left: 3px solid var(--brand-2);
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(14, 165, 255, 0.12);
  color: var(--muted);
}

.project-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.project-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(18, 24, 42, 0.82);
}

.project-card h3 {
  margin: 0 0 8px;
}

.project-card p {
  margin: 0;
}

.logo-wrap {
  display: grid;
  place-items: center;
  min-height: 90px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
  padding: 12px;
}

.logo-wrap img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.about-hero-copy {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  background: linear-gradient(160deg, rgba(14, 165, 255, 0.16), rgba(16, 20, 36, 0.82));
}

.about-hero-media {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(18, 24, 42, 0.82);
  min-height: 320px;
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-media-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(18, 24, 42, 0.82);
}

.stat-card strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.service-link {
  margin-top: 12px;
  font-weight: 600;
  color: #fff;
}

footer p {
  color: #aaa;
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero-copy {
    padding: 22px;
  }

  .about-media-grid {
    grid-template-columns: 1fr;
  }

  .hero-block {
    padding: 22px;
    border-radius: 16px;
  }

  .btn-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
