:root {
  --snap-blue: #173f7d;
  --snap-green: #20aa67;
  --white: #ffffff;
  --veil: rgba(10, 16, 19, 0.54);
  --line: rgba(255, 255, 255, 0.34);
  --shadow: rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: #111;
  color: var(--white);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

.page {
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(8, 14, 16, 0.66), rgba(8, 14, 16, 0.42) 42%, rgba(8, 14, 16, 0.55)),
    url("../img/tecnici.png");
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  padding: 168px 6vw 72px;
  position: relative;
}

.page::before {
  background:
    radial-gradient(circle at 24% 72%, rgba(0, 25, 74, 0.34), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.14));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.brand-card {
  align-items: center;
  background: var(--white);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 18px 38px var(--shadow);
  display: flex;
  height: 178px;
  justify-content: center;
  left: 50%;
  padding: 28px 48px 30px;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(474px, 58vw);
  z-index: 4;
}

.brand-card img {
  display: block;
  height: auto;
  max-height: 126px;
  width: min(370px, 100%);
}

.mark {
  bottom: -12px;
  height: min(72vw, 720px);
  left: 4.7vw;
  opacity: 0.68;
  pointer-events: none;
  position: absolute;
  width: min(59vw, 1040px);
  z-index: 1;
}

.mark svg {
  display: block;
  height: 100%;
  overflow: visible;
  width: 100%;
}

.mark path,
.mark polyline {
  fill: none;
  stroke: var(--line);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 7;
}

.content {
  margin: 0 auto;
  max-width: 1080px;
  position: relative;
  text-align: center;
  transform: translateY(12%);
  width: 100%;
  z-index: 2;
}

.headline {
  color: #fff;
  font-size: clamp(52px, 5.15vw, 100px);
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 0.98;
  margin: 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.34);
}

.headline .line-1 {
  display: block;
  font-size: 0.74em;
  letter-spacing: 0.03em;
}

.headline .line-2 {
  display: block;
}

.headline strong {
  font-weight: 950;
  text-transform: uppercase;
}

.subline {
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(26px, 2.36vw, 46px);
  font-weight: 400;
  letter-spacing: 0.26em;
  line-height: 1.1;
  margin: 20px 0 0;
  text-transform: uppercase;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.contacts {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: center;
  margin-top: 44px;
}

.contact {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(28px, 2.25vw, 43px);
  font-weight: 800;
  gap: 20px;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
}

.contact svg {
  flex: 0 0 auto;
  height: 52px;
  width: 52px;
}

.contact svg * {
  stroke: currentColor;
}

@media (max-width: 1100px) {
  .page {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .content {
    transform: translateY(10%);
  }

  .subline {
    letter-spacing: 0.2em;
  }
}

@media (max-width: 760px) {
  .page {
    align-items: flex-end;
    background-image:
      linear-gradient(180deg, rgba(8, 14, 16, 0.46), rgba(8, 14, 16, 0.28) 30%, rgba(8, 14, 16, 0.78) 78%),
      url("../img/tecnici.png");
    background-position: 62% center;
    min-height: 100svh;
    padding: 126px 24px 54px;
  }

  .brand-card {
    border-radius: 0 0 18px 18px;
    height: 118px;
    padding: 20px 30px 22px;
    width: min(330px, calc(100vw - 54px));
  }

  .brand-card img {
    max-height: 76px;
  }

  .mark {
    bottom: 100px;
    height: 54vh;
    left: -20vw;
    opacity: 0.52;
    width: 112vw;
  }

  .content {
    margin-bottom: 0;
    transform: none;
  }

  .headline {
    font-size: clamp(40px, 12vw, 58px);
    line-height: 1.02;
  }

  .headline .line-1 {
    font-size: 0.72em;
  }

  .subline {
    font-size: clamp(17px, 5vw, 25px);
    letter-spacing: 0.16em;
    line-height: 1.55;
    margin-top: 18px;
    white-space: normal;
  }

  .contacts {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    margin: 30px auto 0;
    width: 100%;
  }

  .contact {
    font-size: clamp(21px, 5.9vw, 28px);
    gap: 12px;
    justify-content: center;
    line-height: 1;
    width: 100%;
  }

  .contact svg {
    height: 31px;
    width: 31px;
  }
}

@media (max-width: 420px) {
  .page {
    background-position: 64% center;
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-card {
    height: 104px;
    width: min(292px, calc(100vw - 40px));
  }

  .headline {
    font-size: clamp(34px, 11.8vw, 46px);
  }

  .subline {
    font-size: 16px;
    letter-spacing: 0.13em;
  }

  .contacts {
    gap: 12px;
    margin-top: 26px;
  }

  .contact {
    font-size: clamp(19px, 5.7vw, 23px);
    gap: 10px;
  }

  .contact svg {
    height: 27px;
    width: 27px;
  }
}

@media (orientation: landscape) and (max-height: 620px) {
  .page {
    padding-bottom: 34px;
    padding-top: 112px;
  }

  .brand-card {
    height: 104px;
  }

  .content {
    transform: none;
  }

  .contacts {
    margin-top: 24px;
  }
}
