:root {
  --primary: #d4111b;
  --secondary: #a81119;
  --dark-red: #7d0a10;
  --graphite: #1f1f1f;
  --dark-gray: #4b4b4b;
  --gray: #b4b4b4;
  --light-gray: #d9d9d9;
  --soft-gray: #f4f5f6;
  --white: #ffffff;
  --success: #16a34a;
  --shadow: 0 18px 45px rgba(31, 31, 31, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--white);
  font-family: "Poppins", "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--primary);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  background: var(--graphite);
  color: var(--white);
  font-size: 14px;
}

.topbar__inner,
.header__inner,
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}

.topbar__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 217, 217, 0.9);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 162px;
}

.brand img {
  width: 76px;
  height: 50px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.brand__text span {
  color: var(--primary);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 12px 13px;
  border-radius: 6px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active {
  color: var(--primary);
  outline: none;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 6px;
  height: 2px;
  background: var(--primary);
}

.site-nav .button.is-active::after {
  display: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  color: var(--dark-gray);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.language-switcher select {
  min-height: 38px;
  padding: 7px 28px 7px 10px;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher select:focus {
  border-color: var(--primary);
  outline: 2px solid rgba(212, 17, 27, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--graphite);
  content: "";
}

.nav-toggle__lines {
  position: relative;
}

.nav-toggle__lines::before,
.nav-toggle__lines::after {
  position: absolute;
  left: 0;
}

.nav-toggle__lines::before {
  top: -7px;
}

.nav-toggle__lines::after {
  top: 7px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

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

.button--primary:hover,
.button--primary:focus {
  background: var(--secondary);
}

.button--secondary {
  color: var(--primary);
  background: transparent;
  border-color: var(--primary);
}

.button--secondary:hover,
.button--secondary:focus {
  color: var(--white);
  background: var(--primary);
}

.button--dark {
  color: var(--white);
  background: var(--graphite);
}

.button--dark:hover,
.button--dark:focus {
  background: var(--dark-red);
}

.hero {
  color: var(--white);
  padding: 72px 0;
  background:
    linear-gradient(90deg, rgba(31, 31, 31, 0.98), rgba(31, 31, 31, 0.9)),
    var(--graphite);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: normal;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

.hero h1 {
  font-size: 56px;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: #f2f2f2;
  font-size: 19px;
}

.hero__actions,
.section__actions,
.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.fact {
  border-left: 3px solid var(--primary);
  padding-left: 14px;
}

.fact strong {
  display: block;
  color: var(--white);
  font-size: 25px;
  line-height: 1.1;
}

.fact span {
  color: var(--gray);
  font-size: 14px;
}

.hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

.hero__media::after {
  display: none;
}

.service-strip {
  background: #151819;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-strip__inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.service-strip a {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 14px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-strip a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.service-strip a::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.section {
  padding: 78px 0;
}

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

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

.section__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 38px;
}

.section__header--center {
  display: block;
  max-width: 760px;
  text-align: center;
  margin-inline: auto;
}

.section__kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
}

.section h2,
.page-hero h1 {
  font-size: 38px;
}

.section__header p,
.section__header--center p,
.page-hero p {
  margin: 14px 0 0;
  color: var(--dark-gray);
  font-size: 18px;
}

.section--dark .section__header p,
.section--dark .section__header--center p {
  color: #d7d7d7;
}

.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));
}

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

.card,
.service-card,
.project-card,
.contact-card {
  color: var(--graphite);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(31, 31, 31, 0.06);
}

.card {
  padding: 26px;
}

.card h3,
.service-card h3,
.project-card h3,
.contact-card h3 {
  font-size: 22px;
}

.card p,
.service-card p,
.project-card p,
.contact-card p {
  margin: 12px 0 0;
  color: var(--dark-gray);
}

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

.marker-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.marker-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.7fr);
  align-items: center;
  gap: 42px;
}

.about-panel {
  padding: 30px;
  color: var(--white);
  background: var(--graphite);
  border-radius: var(--radius);
}

.about-panel h3 {
  margin-bottom: 14px;
}

.about-panel p {
  color: #d8d8d8;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.metric {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.metric strong {
  display: block;
  color: var(--white);
  font-size: 24px;
}

.metric span {
  color: #d8d8d8;
  font-size: 13px;
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
}

.service-card__body {
  padding: 24px;
}

.service-card__icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-weight: 900;
}

.service-card img,
.project-card img {
  width: 100%;
  height: 184px;
  object-fit: cover;
}

.project-card {
  overflow: hidden;
}

.project-card__body {
  padding: 22px;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  color: var(--primary);
  background: #fff5f5;
  border: 1px solid #ffd6d6;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.placeholder-media {
  display: grid;
  place-items: center;
  min-height: 184px;
  padding: 22px;
  color: var(--dark-gray);
  text-align: center;
  background:
    repeating-linear-gradient(135deg, #f5f5f5 0 10px, #ececec 10px 20px);
  border-bottom: 1px solid var(--light-gray);
  font-weight: 800;
}

.cta-band {
  color: var(--white);
  background: var(--graphite);
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 34px;
}

.cta-band img {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.cta-band p {
  color: #e2e2e2;
}

.page-hero {
  padding: 68px 0 42px;
  color: var(--white);
  background: var(--graphite);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.65fr);
  align-items: center;
  gap: 40px;
}

.page-hero p {
  color: #d7d7d7;
}

.page-hero img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  padding-top: 58px;
}

.process .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 26px;
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
}

.spec-table th,
.spec-table td {
  padding: 16px;
  border-bottom: 1px solid var(--light-gray);
  text-align: left;
}

.spec-table th {
  background: #f7f7f7;
  font-size: 14px;
  text-transform: uppercase;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-card {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.contact-list strong {
  display: block;
  color: var(--graphite);
}

.contact-list span,
.contact-list a {
  color: var(--dark-gray);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 800;
  font-size: 14px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid #cfcfcf;
  border-radius: 6px;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-note {
  margin: 14px 0 0;
  color: var(--dark-gray);
  font-size: 14px;
}

.form-status {
  margin: 14px 0 0;
  color: var(--success);
  font-weight: 800;
}

.map-placeholder {
  min-height: 320px;
  padding: 32px;
  color: var(--white);
  background:
    linear-gradient(rgba(31, 31, 31, 0.86), rgba(31, 31, 31, 0.86)),
    repeating-linear-gradient(90deg, #303030 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, #303030 0 1px, transparent 1px 80px),
    var(--graphite);
  border-radius: var(--radius);
}

.map-placeholder h3 {
  margin-bottom: 10px;
}

.map-placeholder p {
  max-width: 520px;
  color: #d8d8d8;
}

.placeholder-page {
  min-height: 100vh;
  background: var(--graphite);
}

.placeholder-header {
  display: flex;
}

.placeholder-main {
  min-height: calc(100vh - 122px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(31, 31, 31, 0.98), rgba(31, 31, 31, 0.88)),
    var(--graphite);
}

.placeholder-hero {
  padding: 86px 0;
}

.placeholder-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 44px;
  align-items: center;
}

.placeholder-hero h1 {
  font-size: 52px;
  text-transform: uppercase;
}

.placeholder-hero p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #e2e2e2;
  font-size: 19px;
}

.placeholder-contact {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 30px;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-style: normal;
}

.placeholder-contact img {
  width: 150px;
  height: auto;
  margin-bottom: 4px;
}

.placeholder-contact strong {
  display: block;
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
}

.placeholder-contact a,
.placeholder-contact span {
  color: var(--graphite);
  font-weight: 700;
}

.site-footer {
  color: var(--white);
  background: #151515;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) repeat(3, minmax(160px, 0.55fr));
  gap: 30px;
  padding: 48px 0;
}

.footer__brand img {
  width: 130px;
  height: auto;
  margin-bottom: 16px;
}

.footer__inner h2,
.footer__inner h3 {
  margin-bottom: 14px;
  font-size: 17px;
}

.footer__inner p,
.footer__inner a,
.footer__bottom {
  color: #d0d0d0;
}

.footer__links {
  display: grid;
  gap: 8px;
}

.footer__bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

@media (max-width: 1120px) {
  .topbar__inner,
  .header__inner,
  .section__header,
  .about-layout,
  .cta-band__inner,
  .page-hero__inner,
  .contact-layout,
  .footer__inner,
  .placeholder-hero__inner {
    grid-template-columns: 1fr;
  }

  .topbar__inner {
    display: grid;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 8px;
  }

  .language-switcher {
    justify-content: space-between;
    margin-left: 0;
    padding: 10px 8px 0;
  }

  .site-nav a.is-active::after {
    left: 8px;
    right: auto;
    width: 44px;
  }

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

  .hero__content {
    padding: 0;
  }

  .hero__media {
    border-left: 0;
  }

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

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

@media (max-width: 720px) {
  .topbar__links {
    gap: 8px 16px;
  }

  .header__inner {
    min-height: 72px;
  }

  .brand img {
    width: 64px;
    height: 42px;
  }

  .brand__text {
    font-size: 14px;
  }

  .brand__text span {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__facts,
  .metric-row,
  .grid--2,
  .grid--3,
  .grid--4,
  .service-strip__inner,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-strip a,
  .service-strip a:last-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .section {
    padding: 58px 0;
  }

  .section h2,
  .page-hero h1,
  .placeholder-hero h1 {
    font-size: 32px;
  }

  .page-hero img {
    height: 210px;
  }

  .cta-band__inner {
    gap: 24px;
  }
}
