:root {
  --ink: #1d252c;
  --soft-ink: #45515b;
  --muted: #6e7880;
  --paper: #ffffff;
  --mist: #f4f7f8;
  --line: #dce4e7;
  --accent: #f5b72d;
  --accent-dark: #8a5b07;
  --teal: #17646b;
  --teal-soft: #e6f1f2;
  --brick: #9f422d;
  --shadow: 0 18px 42px rgba(25, 34, 42, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
}

.brand-programma {
  width: 206px;
  height: auto;
}

.brand-service {
  min-width: max-content;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  color: var(--soft-ink);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent-dark);
}

.phone-link {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
}

.hero {
  min-height: 72vh;
  display: grid;
  align-items: center;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(22, 29, 35, .96) 0%, rgba(22, 29, 35, .86) 46%, rgba(22, 29, 35, .25) 100%),
    url("images/award_img.png") right 8% center / min(52vw, 650px) auto no-repeat,
    #161d23;
}

.hero__content {
  width: min(720px, 100%);
  padding: 92px 0 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  font-size: clamp(44px, 7vw, 72px);
}

h2 {
  font-size: clamp(30px, 5vw, 46px);
}

h3 {
  font-size: 22px;
}

.hero__lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
}

.ownership-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, .74);
  font-size: 15px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button--primary {
  background: var(--accent);
  color: #171b20;
}

.button--secondary {
  border-color: rgba(255, 255, 255, .42);
  color: var(--paper);
}

.button--quiet {
  border-color: var(--line);
  color: var(--ink);
  background: var(--paper);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 16px;
  max-width: 690px;
  margin-top: 42px;
}

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

.fact strong {
  display: block;
  font-size: 23px;
  line-height: 1.1;
}

.fact span {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

.section {
  padding: 72px 0;
}

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

.section--dark {
  color: var(--paper);
  background: #1a2229;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section__head p,
.intro p,
.service-copy p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--soft-ink);
  font-size: 18px;
}

.section--dark .section__head p,
.section--dark p {
  color: rgba(255, 255, 255, .78);
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(24, 34, 43, .08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  background: var(--mist);
}

.service-card__body {
  padding: 20px;
}

.service-card p {
  min-height: 76px;
  margin: 10px 0 18px;
  color: var(--soft-ink);
}

.text-link {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  color: var(--brick);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr);
  gap: 42px;
  align-items: center;
}

.highlight-panel {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.highlight-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.highlight-panel__body {
  padding: 22px;
}

.check-list,
.plain-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 28px;
  color: var(--soft-ink);
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
}

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

.stat-row div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.stat-row strong {
  display: block;
  color: var(--teal);
  font-size: 28px;
  line-height: 1.1;
}

.stat-row span {
  color: var(--soft-ink);
}

.contact-band {
  background: #11171d;
  color: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.contact-list dt {
  color: var(--accent);
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
  color: rgba(255, 255, 255, .86);
}

.page-hero {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(19, 27, 34, .96) 0%, rgba(19, 27, 34, .74) 58%, rgba(19, 27, 34, .2) 100%),
    var(--page-image) center / cover no-repeat,
    #1b242b;
}

.page-hero__content {
  min-height: 410px;
  display: grid;
  align-content: center;
  width: min(760px, 100%);
  padding: 70px 0;
}

.page-hero p {
  max-width: 680px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.service-copy p {
  margin-bottom: 18px;
}

.side-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 26px rgba(24, 34, 43, .08);
  overflow: hidden;
}

.side-box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.side-box__body {
  padding: 20px;
}

.side-box p {
  color: var(--soft-ink);
}

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

.mini-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.mini-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  object-fit: contain;
  filter: invert(1);
}

.legal {
  max-width: 900px;
}

.legal h1 {
  color: var(--ink);
  font-size: clamp(34px, 6vw, 52px);
}

.legal h2 {
  margin-top: 34px;
  font-size: 26px;
}

.legal p,
.legal li {
  color: var(--soft-ink);
}

.site-footer {
  color: rgba(255, 255, 255, .8);
  background: #10161b;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(180px, .5fr));
  gap: 30px;
  padding: 42px 0;
}

.footer-logo {
  width: 210px;
  padding: 10px;
  border-radius: 8px;
  background: var(--paper);
  height: auto;
}

.footer-title {
  margin: 0 0 12px;
  color: var(--paper);
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-links a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 18px 0 24px;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 68vh;
    background:
      linear-gradient(180deg, rgba(22, 29, 35, .96) 0%, rgba(22, 29, 35, .86) 54%, rgba(22, 29, 35, .68) 100%),
      url("images/award_img.png") right bottom / 500px auto no-repeat,
      #161d23;
  }

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

  .split,
  .contact-grid,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand-programma {
    width: 178px;
  }

  .brand-service {
    min-width: auto;
    font-size: 15px;
  }

  .nav-links {
    gap: 8px 12px;
    font-size: 13px;
  }

  .hero__content {
    padding: 66px 0 62px;
  }

  .hero__facts,
  .stat-row,
  .services-grid,
  .service-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .section__head {
    display: block;
  }

  .page-hero__content {
    min-height: 340px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
