:root {
  --color-white: #ffffff;
  --color-light-gray: #ededed;
  --color-light-green: #7d9b76;
  --color-page: #f6f6e9;
  --overlay-top: rgba(0, 0, 0, 0.43);
  --overlay-bottom: rgba(0, 0, 0, 0.7);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  background: #11171e;
  color: var(--color-white);
  font-family: "Montserrat", sans-serif;
  height: 100vh;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
}

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

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

.hero {
  position: fixed;
  inset: 0;
  height: 100vh;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--overlay-top) 0%, var(--overlay-bottom) 90.856%),
    url("./assets/background.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(0, 0, 0, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.hero__brand,
.hero__headline,
.hero__details,
.hero__socials {
  position: absolute;
  z-index: 1;
}

.hero__brand {
  left: 107px;
  top: 80px;
}

.hero__logo {
  width: 389px;
  height: auto;
  aspect-ratio: 389 / 99;
  object-fit: contain;
  opacity: 0.89;
}

.hero__headline {
  left: 106px;
  top: 379px;
}

.hero__headline h1 {
  margin: 0;
  font-size: 112px;
  font-weight: 700;
  line-height: 128px;
  letter-spacing: 0.01em;
}

.hero__headline span {
  display: block;
}

.hero__details {
  bottom: 70px;
  left: 106px;
  width: min(603px, calc(100vw - 212px));
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 20.539px;
}

.detail-row + .detail-row {
  margin-top: 17px;
}

.detail-row__icon {
  width: 27.375px;
  height: 27.375px;
  flex: 0 0 auto;
}

.detail-row p,
.detail-row a,
.detail-row span {
  margin: 0;
  color: var(--color-light-gray);
  font-size: 25.681px;
  font-weight: 600;
  line-height: 39.377px;
}

.detail-row a:hover,
.detail-row a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.detail-row--hours {
  align-items: flex-start;
}

.detail-row__hours {
  display: flex;
  gap: 68px;
  flex-wrap: wrap;
}

.hero__socials {
  bottom: 64px;
  right: 106px;
}

.hero__socials ul {
  display: flex;
  align-items: center;
  gap: 58px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.social-icon img {
  width: auto;
  height: 56px;
}

@media (max-width: 1903px) and (min-width: 1441px) {
  .hero__brand {
    left: 78px;
    top: 60px;
  }

  .hero__logo {
    width: 332px;
  }

  .hero__headline {
    left: 78px;
    top: 300px;
  }

  .hero__headline h1 {
    font-size: clamp(82px, 5.6vw, 102px);
    line-height: 0.94;
  }

  .hero__details {
    bottom: 52px;
    left: 78px;
    width: min(560px, calc(100vw - 220px));
  }

  .detail-row p,
  .detail-row a,
  .detail-row span {
    font-size: 22px;
    line-height: 1.42;
  }

  .detail-row__hours {
    gap: 36px;
  }

  .hero__socials {
    right: 78px;
    bottom: 52px;
  }

  .hero__socials ul {
    gap: 34px;
  }

  .social-icon img {
    height: 48px;
  }
}

@media (max-width: 1903px) and (min-width: 1441px) and (max-height: 900px) {
  .hero__brand {
    top: 44px;
  }

  .hero__logo {
    width: 300px;
  }

  .hero__headline {
    top: 208px;
  }

  .hero__headline h1 {
    font-size: clamp(68px, 4.8vw, 86px);
    line-height: 0.93;
  }

  .hero__details {
    bottom: 26px;
  }

  .detail-row + .detail-row {
    margin-top: 10px;
  }

  .detail-row p,
  .detail-row a,
  .detail-row span {
    font-size: 19px;
    line-height: 1.32;
  }

  .detail-row__hours {
    gap: 24px;
  }

  .hero__socials {
    bottom: 26px;
  }

  .hero__socials ul {
    gap: 24px;
  }

  .social-icon img {
    height: 42px;
  }
}

@media (max-width: 1440px) {
  .hero__brand {
    left: 72px;
    top: 64px;
  }

  .hero__logo {
    width: 330px;
  }

  .hero__headline {
    left: 72px;
    top: 320px;
  }

  .hero__headline h1 {
    font-size: 88px;
    line-height: 102px;
  }

  .hero__details {
    left: 72px;
    width: min(603px, calc(100vw - 144px));
  }

  .detail-row p,
  .detail-row a,
  .detail-row span {
    font-size: 22px;
    line-height: 34px;
  }

  .hero__socials {
    right: 72px;
  }

  .hero__socials ul {
    gap: 32px;
  }
}

@media (max-width: 960px) {
  body {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
  }

  .hero {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: space-between;
    padding: 22px 20px 26px;
    gap: 34px;
    background-position: 56% center;
  }

  .hero__brand,
  .hero__headline,
  .hero__details,
  .hero__socials {
    position: relative;
    inset: auto;
  }

  .hero__brand {
    left: 0;
    top: 0;
    max-width: 100%;
  }

  .hero__logo {
    width: min(72vw, 280px);
    max-height: 72px;
  }

  .hero__headline {
    margin-top: auto;
    max-width: 100%;
  }

  .hero__headline h1 {
    max-width: 7.2em;
    font-size: clamp(40px, 9.4vw, 64px);
    line-height: 0.94;
    letter-spacing: 0;
  }

  .hero__details {
    width: 100%;
    bottom: auto;
    left: auto;
  }

  .detail-row {
    align-items: flex-start;
    gap: 16px;
  }

  .detail-row__icon {
    width: 24px;
    height: 24px;
    margin-top: 5px;
  }

  .detail-row p,
  .detail-row a,
  .detail-row span {
    font-size: clamp(16px, 3vw, 22px);
    line-height: 1.55;
  }

  .detail-row p,
  .detail-row a {
    overflow-wrap: anywhere;
  }

  .detail-row__hours {
    gap: 8px 28px;
    flex-direction: column;
  }

  .hero__socials {
    right: auto;
    bottom: auto;
  }

  .hero__socials ul {
    gap: 24px;
  }

  .social-icon img {
    height: 42px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 18px 16px 22px;
    gap: 28px;
  }

  .hero__logo {
    width: min(74vw, 250px);
    max-height: 64px;
  }

  .hero__headline h1 {
    max-width: 100%;
    font-size: clamp(31px, 10.6vw, 44px);
    line-height: 0.96;
  }

  .detail-row {
    gap: 14px;
  }

  .detail-row p,
  .detail-row a,
  .detail-row span {
    font-size: 15px;
    line-height: 1.45;
  }

  .detail-row__icon {
    width: 22px;
    height: 22px;
    margin-top: 2px;
  }

  .hero__socials ul {
    gap: 18px;
  }

  .social-icon img {
    height: 38px;
  }
}

@media (max-width: 390px) {
  .hero__logo {
    width: min(76vw, 220px);
    max-height: 58px;
  }

  .hero__headline h1 {
    font-size: clamp(28px, 10vw, 38px);
  }
}
