:root {
  --accent: #c8ff00;
  --text: #222;
  --muted: #333;
  --border: #111;
  --page: #f7f7f7;
}

* {
  box-sizing: border-box;
}

html {
  background: #000;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

main {
  min-height: calc(100vh - 56px);
}

.hero {
  position: relative;
  height: min(48.6vw, 700px);
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgb(247 247 247 / 0) 58%, var(--page) 100%),
    url("./assets/topo-lari.webp") center / cover no-repeat,
    radial-gradient(circle at 0 0, rgb(255 255 255 / 0.35), transparent 32%),
    linear-gradient(135deg, #c9c9c9 0%, #b9b9b9 48%, #d6d6d6 100%);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero_mobile {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to bottom, rgb(247 247 247 / 0), var(--page) 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(430px, 44vw);
  margin-left: calc(50% - 405px);
  padding-top: 155px;
  text-align: center;
}

.hero__tag {
  margin: 0 auto 18px;
  width: 380px;
  max-width: 100%;
  border: 1.4px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 26px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 88px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: center;
}

h1 span {
  display: block;
  font-weight: 800;
}

.hero__subtitle {
  margin: 28px auto 0;
  max-width: 330px;
  font-size: 22px;
  line-height: 1.05;
}

.hero__subtitle strong {
  display: block;
  font-weight: 800;
}

.intro {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(560px, calc(100% - 40px));
  margin: -66px auto 92px;
  padding: 20px 32px;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  background: #fff;
}

.intro__icon {
  display: grid;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: 32px;
}

.intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.18;
}

.links {
  display: grid;
  gap: 94px;
  width: min(880px, calc(100% - 44px));
  margin: 0 auto 88px;
}

.link-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  color: #111;
  text-decoration: none;
  box-shadow: 0 24px 50px rgb(0 0 0 / 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgb(0 0 0 / 0.13);
}

.link-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
}

.card-copy {
  position: absolute;
  left: 82px;
  top: 83px;
  display: grid;
  justify-items: start;
  width: 260px;
  color: #fff;
  text-align: left;
}

.card-copy strong {
  font-size: 55px;
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.card-copy em {
  margin-top: 14px;
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: 0.95;
}

.card-copy b {
  margin-top: 26px;
  min-width: 246px;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  font-size: 14px;
  font-weight: 800;
  line-height: 38px;
  text-align: center;
}

.card-copy--salte em {
  width: 245px;
  font-weight: 700;
}

.card-copy--salte em::first-line {
  font-weight: 800;
}

.card-copy--link {
  top: 70px;
  width: 350px;
}

.card-copy--link strong {
  font-size: 41px;
  line-height: 1.02;
}

.card-copy--link i {
  display: block;
  font-size: 38px;
  font-style: italic;
  font-weight: 300;
}

.card-copy--link em {
  width: 355px;
  margin-top: 25px;
  font-size: 22px;
  line-height: 1.08;
}

.card-copy--link b {
  margin-top: 27px;
}

.social {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin: 0 0 60px;
}

.social a {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #111;
  transition: transform 180ms ease;
}

.social a:hover {
  transform: translateY(-2px);
}

.social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

footer {
  height: 56px;
  padding-top: 19px;
  background: #000;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

footer a {
  text-decoration: none;
  color: #fff;
}

@media (max-width: 900px) {
  .hero {
    height: 510px;
    min-height: 510px;
  }

  .hero__image {
    display: block;
    object-position: 68% center;
  }

  .hero__content {
    width: min(380px, 52vw);
    margin-left: max(28px, 6vw);
    padding-top: 150px;
  }

  h1 {
    font-size: clamp(60px, 10vw, 88px);
  }

  .links {
    width: calc(100% - 72px);
  }

  .card-copy {
    left: 10.5%;
    top: 20.75%;
  }

  .card-copy strong {
    font-size: clamp(42px, 7vw, 55px);
  }

  .card-copy em {
    font-size: clamp(19px, 3.2vw, 25px);
  }

  .card-copy b {
    min-width: clamp(190px, 31vw, 246px);
  }

  .card-copy--link strong {
    font-size: clamp(30px, 5vw, 38px);
  }

  .card-copy--link i {
    font-size: clamp(28px, 4.6vw, 35px);
  }

  .card-copy--link em {
    width: min(355px, 43vw);
    margin-top: 18px;
    font-size: clamp(15px, 2.4vw, 19px);
    line-height: 1.04;
  }

  .card-copy--link b {
    margin-top: 18px;
  }
}

@media (max-width: 720px) {
  .hero {
    height: 359px;
    min-height: 200px;
    background:
      radial-gradient(circle at 12% 12%, rgb(255 255 255 / 0.88), transparent 34%),
      linear-gradient(135deg, #f7f7f7 0%, #ececec 48%, #ffffff 100%);
  }

  .hero__image {
    display: none;
    width: 100%;
    max-width: 100%;
    left: 0;
    transform: none;
    object-position: 80% center;
    filter: brightness(0.3);
  }

  .hero_mobile {
    display: block;
    position: absolute;
    right: -52px;
    bottom: 22px;
    z-index: 0;
    width: 80vw;
    height: auto;
    max-width: 369px;
    object-fit: contain;
  }

  .hero::after {
    background: linear-gradient(
      to bottom,
      rgb(247 247 247 / 0),
      var(--page) 68%
    );
    height: 59%;
  }

  .hero__content {
    width: 100%;
    margin-left: 0;
    padding: 72px 20px 0 20px;
    text-align: left;
    color: #111;
  }

  .hero__tag {
    padding: 2px;
    width: 150px;
    margin: 0 14px 6px;
    border-color: #111;
    border-radius: 4px;
    font-size: 7px;
    line-height: 12px;
    text-align: center;
  }

  h1 {
    width: 180px;
    font-size: 46px;
    text-align: center;
  }

  .hero__subtitle {
    width: 180px;
    margin-top: 15px;
    font-size: 12px;
    margin-left: 0;
    text-align: center;
  }

  .intro {
    gap: 16px;
    width: calc(100% - 98px);
    margin: -22px auto 32px;
    padding: 10px 16px;
    border-radius: 12px;
  }

  .intro__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .intro p {
    font-size: 10px;
    line-height: 1.14;
  }

  .links {
    gap: 32px;
    width: calc(100% - 40px);
    margin-bottom: 48px;
  }

  .link-card {
    border-radius: 10px;
    box-shadow: 0 18px 38px rgb(0 0 0 / 0.07);
  }

  .card-copy {
    left: 10.5%;
    top: 20%;
    width: 38%;
  }

  .card-copy strong {
    font-size: clamp(15px, 5vw, 22px);
  }

  .card-copy em {
    margin-top: 0.35em;
    font-size: clamp(8px, 2.65vw, 11px);
  }

  .card-copy b {
    min-width: clamp(88px, 29vw, 124px);
    margin-top: 0.8em;
    border-radius: 4px;
    font-size: clamp(6px, 1.85vw, 8px);
    line-height: clamp(14px, 4.2vw, 18px);
  }

  .card-copy--salte em {
    width: 100%;
  }

  .card-copy--link {
    top: 15%;
    width: 46%;
  }

  .card-copy--link strong {
    font-size: clamp(15px, 4.8vw, 21px);
  }

  .card-copy--link i {
    font-size: clamp(14px, 4.4vw, 19px);
  }

  .card-copy--link em {
    width: 100%;
    margin-top: 0.75em;
    font-size: clamp(6.5px, 2vw, 8.5px);
    line-height: 1.1;
  }

  .card-copy--link b {
    margin-top: 0.8em;
  }

  .social {
    gap: 30px;
    margin-bottom: 48px;
  }

  .social a {
    width: 46px;
    height: 46px;
  }

  .social svg {
    width: 22px;
    height: 22px;
  }

  footer {
    height: 64px;
    padding-top: 23px;
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .hero__tag {
    margin: 0 0px 6px;
  }

  h1,
  .hero__subtitle {
    text-align: left;
  }
}
