:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #242632;
  background: #fff;
  --blue: #1842e1;
  --muted: #626676;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
.container {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
.header {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 28px;
  border-bottom: 1px solid #e9ebf1;
}
.brand {
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: 184px;
  height: auto;
  aspect-ratio: 524 / 185;
}
.header__description {
  max-width: 265px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.header__contact {
  margin-left: auto;
  display: grid;
  gap: 7px;
}
.header__contact span {
  color: var(--muted);
  font-size: 13px;
}
.header__contact a {
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
}
.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 64px 36px;
}
.b-offline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 64px;
  align-items: center;
}
.offline__status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 25px;
}
.offline__status span {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue);
}
h1 {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
  line-height: 1.13;
  letter-spacing: -0.035em;
  margin: 0 0 25px;
  font-weight: 700;
}
h1 span {
  color: var(--blue);
}
.offline__disclaimer {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: 570px;
}
.offline__note {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 30px;
  max-width: 580px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  min-height: 56px;
  padding: 17px 24px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.btn:hover {
  background: #1033b8;
}
.btn span {
  font-size: 22px;
}
.offline__hint {
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0 0;
  color: var(--muted);
}
.contact-card {
  padding: 30px;
  border-radius: 16px;
  background: #f3f5fc;
}
.contact-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--blue);
  background: #e5eaff;
  font-size: 30px;
  margin-bottom: 22px;
}
h2 {
  font-size: 26px;
  margin: 0 0 10px;
  letter-spacing: -0.025em;
}
.contact-card > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.offline__contacts {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  display: grid;
  gap: 22px;
}
.offline__contacts li {
  display: grid;
  gap: 6px;
}
.offline__contacts span,
.contact-card__socials > span {
  font-size: 12px;
  color: var(--muted);
}
.offline__contacts a {
  font-size: 18px;
  font-weight: 700;
}
.offline__contacts a:hover,
.header__contact a:hover,
.footer a:hover {
  color: var(--blue);
}
.contact-card__socials {
  border-top: 1px solid #dfe3f0;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.header-socials {
  display: flex;
  gap: 8px;
}
.header-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--blue);
  background: #fff;
}
.header-socials a:hover {
  background: #e5eaff;
}
.header-socials img {
  display: block;
}
.services {
  margin-top: 48px;
  padding-top: 25px;
  border-top: 1px solid #e9ebf1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  font-size: 14px;
  color: var(--muted);
}
.services span::before {
  content: "✓";
  color: var(--blue);
  margin-right: 9px;
}
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .b-offline {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .header__description {
    max-width: 220px;
  }
  .header {
    gap: 24px;
  }
  .contact-card {
    padding: 25px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }
  .header {
    padding-block: 20px;
    gap: 18px;
  }
  .brand img {
    width: 140px;
  }
  .header__description {
    display: none;
  }
  .header__contact a {
    font-size: 15px;
  }
  .header__contact span {
    font-size: 11px;
  }
  .content-wrapper {
    padding-top: 36px;
  }
  .b-offline {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .offline__status {
    margin-bottom: 20px;
  }
  .offline__disclaimer {
    font-size: 18px;
  }
  .contact-card {
    padding: 26px;
  }
  .services {
    margin-top: 32px;
    gap: 16px;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .header {
    flex-wrap: wrap;
  }
  .header__contact {
    margin-left: 0;
  }
  .btn {
    width: 100%;
    gap: 12px;
    padding-inline: 14px;
    font-size: 14px;
  }
  .contact-card {
    padding: 20px;
  }
}
