:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #171717;
  --text: #f4f4f4;
  --muted: #a6a6a6;
  --line: #2a2a2a;
  --red: #ff1515;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  width: 180px;
}

.nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: #d0d0d0;
}

.nav a,
.nav-cta {
  transition: color 0.2s ease;
}

.nav a:hover,
.nav-cta:hover {
  color: var(--red);
}

.nav-cta {
  justify-self: end;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  border: 1px solid #4a4a4a;
  border-radius: 999px;
}

.hero {
  min-height: 74vh;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 21, 21, 0.08), transparent 28%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 70px;
  align-items: end;
  padding: 110px 0;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(58px, 8vw, 110px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 850;
}

h1 span {
  color: var(--red);
}

.hero-text {
  max-width: 700px;
  margin-bottom: 34px;
  color: #bcbcbc;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--red);
  color: white;
}

.primary:hover {
  background: #e90000;
}

.secondary {
  border: 1px solid #454545;
  color: #e9e9e9;
}

.secondary:hover {
  border-color: #777;
}

.hero-panel {
  border-top: 1px solid #444;
}

.panel-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: #d5d5d5;
  font-size: 18px;
}

.panel-line span {
  color: #666;
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 265px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  background: var(--surface-2);
  transform: translateY(-3px);
}

.service-number {
  display: inline-block;
  margin-bottom: 50px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.capabilities span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #bdbdbd;
  background: #0d0d0d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.why-list {
  border-top: 1px solid var(--line);
}

.why-item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.why-item h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.why-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
  padding: 56px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-box h2 {
  margin-bottom: 10px;
}

.contact-box p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-actions {
  min-width: 270px;
}

.contact-actions .button {
  width: 100%;
}

.placeholder-note {
  margin-top: 12px !important;
  font-size: 12px;
  color: #777 !important;
  text-align: center;
}

footer {
  padding: 28px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-wrap img {
  width: 135px;
  opacity: 0.8;
}

.footer-wrap p {
  margin: 0;
  color: #737373;
  font-size: 13px;
}

@media (max-width: 900px) {
  .nav-wrap {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero-grid,
  .why-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 60px;
    padding: 80px 0;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-actions {
    min-width: 0;
    max-width: 320px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand {
    width: 150px;
  }

  .nav-cta {
    padding: 8px 12px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 70px 0;
  }

  h1 {
    font-size: clamp(52px, 16vw, 78px);
  }

  .section {
    padding: 78px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 220px;
  }

  .service-number {
    margin-bottom: 34px;
  }

  .contact-box {
    padding: 30px;
  }

  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Language selector */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-select {
  height: 39px;
  min-width: 62px;
  padding: 0 28px 0 12px;
  border: 1px solid #454545;
  border-radius: 999px;
  background:
    linear-gradient(45deg, transparent 50%, #8a8a8a 50%) calc(100% - 13px) 16px / 5px 5px no-repeat,
    linear-gradient(135deg, #8a8a8a 50%, transparent 50%) calc(100% - 9px) 16px / 5px 5px no-repeat,
    #0a0a0a;
  color: #f4f4f4;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
}

.language-select:hover,
.language-select:focus {
  border-color: #777;
}

@media (max-width: 620px) {
  .header-actions {
    gap: 7px;
  }

  .language-select {
    min-width: 54px;
    height: 34px;
    padding: 0 24px 0 10px;
    background-position:
      calc(100% - 12px) 14px,
      calc(100% - 8px) 14px;
  }
}
