:root {
  --ink: #15171a;
  --graphite: #22262b;
  --steel: #59616b;
  --line: #d9dde2;
  --paper: #ffffff;
  --soft: #f4f5f6;
  --accent: #f5a400;
  --accent-dark: #c77d00;
  --ok: #2b6f4e;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.topbar {
  background: #101215;
  color: #e9edf1;
  font-size: 0.88rem;
}

.topbar__inner,
.nav__inner,
.section__inner,
.footer__inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--graphite);
  color: var(--accent);
  border-left: 5px solid var(--accent);
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--steel);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 18px;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav__links a {
  text-decoration: none;
  color: #30353b;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  width: 44px;
  height: 44px;
  font-size: 1.35rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #16120a;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.btn:hover {
  background: #ffb624;
}

.btn--dark {
  background: var(--graphite);
  color: #fff;
}

.btn--dark:hover {
  background: #343a42;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  min-height: 650px;
  color: #fff;
  background: #101215 url("../img/zbrojenie-hero.png") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.9), rgba(10, 12, 14, 0.72) 43%, rgba(10, 12, 14, 0.22)),
    linear-gradient(0deg, rgba(10, 12, 14, 0.78), rgba(10, 12, 14, 0.04) 45%);
}

.hero__inner {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  align-content: center;
  padding: 48px 0 96px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.82rem;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 3px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 5.2vw, 4.9rem);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 760px;
  color: #dce2e8;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero__facts {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  color: var(--ink);
  border-top: 5px solid var(--accent);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.fact {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  display: block;
  font-size: 1.08rem;
}

.fact span {
  color: var(--steel);
  font-size: 0.92rem;
}

.section {
  padding: 86px 0;
}

.section--soft {
  background: var(--soft);
}

.section--dark {
  background: var(--graphite);
  color: #fff;
}

.section--dark p,
.section--dark li {
  color: #d9dee4;
}

.section__head {
  max-width: 820px;
  margin-bottom: 34px;
}

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

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

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service,
.reason,
.contact-box,
.project {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-project {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(21, 23, 26, 0.2), rgba(21, 23, 26, 0.94)),
    linear-gradient(135deg, #2e343b, #111317 62%, #3a2b10);
  border: 1px solid #3f4650;
}

.feature-project::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 164, 0, 0.24) 0 5px, transparent 5px),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.075) 0 1px, transparent 1px 18px);
}

.feature-project > * {
  position: relative;
}

.feature-project h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.feature-project p {
  color: #e5e9ed;
}

.feature-project .project__meta span {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.project {
  position: relative;
  min-height: 172px;
}

.project::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--accent);
}

.project h3 {
  margin-bottom: 8px;
}

.project p {
  color: var(--steel);
}

.project__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.project__meta span {
  display: inline-flex;
  padding: 5px 9px;
  background: var(--soft);
  color: #343a42;
  font-size: 0.84rem;
  font-weight: 800;
}

.capability-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}

.capability {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.capability:last-child {
  border-right: 0;
}

.capability strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.section--dark .reason {
  background: #2c3239;
  border-color: #3b424b;
}

.service__no,
.project__tag {
  display: inline-block;
  margin-bottom: 16px;
  color: #16120a;
  background: var(--accent);
  padding: 5px 10px;
  font-weight: 900;
  font-size: 0.8rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 30px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px #fff;
  border: 1px solid var(--accent-dark);
}

.area-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  color: #343a42;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: #eef0f2;
  color: #20252b;
  font-size: 0.86rem;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.page-hero {
  background: #191d22;
  color: #fff;
  padding: 76px 0;
  border-bottom: 5px solid var(--accent);
}

.page-hero p {
  color: #dce2e8;
  max-width: 760px;
  font-size: 1.1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-item strong {
  display: block;
  color: var(--steel);
  font-size: 0.86rem;
  text-transform: uppercase;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c8ced5;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form__note {
  color: var(--steel);
  font-size: 0.9rem;
}

.alert {
  padding: 14px 16px;
  border-left: 5px solid var(--accent);
  background: #fff7e6;
  margin-bottom: 18px;
}

.footer {
  background: #101215;
  color: #dce2e8;
  padding: 42px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer small {
  color: #aeb7c2;
}

@media (max-width: 1040px) {
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links a {
    padding: 15px 24px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }

  .hero,
  .hero__inner {
    min-height: 720px;
  }

  .hero__facts,
  .grid--3,
  .grid--2,
  .feature-projects,
  .project-grid,
  .capability-band,
  .split,
  .contact-layout,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .hero__facts {
    position: relative;
    left: auto;
    transform: none;
    width: min(var(--max), calc(100% - 32px));
    margin: -68px auto 0;
  }

  .fact {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .capability {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .topbar__inner,
  .nav__inner,
  .section__inner,
  .footer__inner,
  .hero__inner,
  .hero__facts {
    width: min(var(--max), calc(100% - 22px));
  }

  .brand {
    gap: 9px;
    font-size: 0.96rem;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 690px;
  }

  .hero__inner {
    min-height: 690px;
    padding-top: 34px;
  }

  .section {
    padding: 62px 0;
  }

  .service,
  .reason,
  .contact-box,
  .project {
    padding: 21px;
  }
}
