:root {
  color-scheme: light;
  --ink: #000000;
  --muted: #828282;
  --orange: #ef7720;
  --nav-bg: #ffffff;
  --soft: #f0f0f0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1180px;
  background: #ffffff;
  color: var(--ink);
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.top-ad {
  height: 60px;
  overflow: hidden;
  color: #fff;
  background: #1f1f1f;
}

.ad-row {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  height: 60px;
  padding-left: 67px;
  font-size: 20px;
  line-height: 36px;
  animation: ad-scroll 30s linear infinite;
}

.ad-row span {
  white-space: nowrap;
}

.ad-row b {
  margin-right: 7px;
  font-weight: 400;
}

@keyframes ad-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

.nav-bar {
  display: grid;
  grid-template-columns: 66px 352px minmax(420px, 880px) 56px 188px;
  gap: 80px;
  align-items: center;
  height: 80px;
  padding: 0 48px;
  background: var(--nav-bg);
}

.logo {
  font-size: 40px;
  font-weight: 800;
  line-height: 48px;
  letter-spacing: 0;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 80px;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.product-link {
  position: relative;
}

.product-link em {
  position: absolute;
  top: 8px;
  right: -20px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 2px;
  color: #fff;
  background: #ff3d24;
  font-size: 14px;
  font-style: normal;
  line-height: 18px;
}

.search {
  display: flex;
  align-items: center;
  width: 100%;
  height: 56px;
  border-radius: 6px;
  padding: 0 18px;
  color: #9c9c9c;
  background: var(--soft);
  font-size: 18px;
}

.profile {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #202020;
  font-size: 36px;
  font-weight: 800;
  line-height: 56px;
}

.login {
  display: grid;
  width: 188px;
  height: 56px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  font-size: 32px;
  font-weight: 800;
  line-height: 45px;
}

.hero {
  position: relative;
  height: 850px;
  overflow: hidden;
  background: #222;
}

.hero img {
  object-position: center center;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0));
}

.hero-copy {
  position: absolute;
  top: 142px;
  left: 88px;
  z-index: 1;
  color: #fff;
}

.hero-copy h1 {
  margin: 0;
  font-size: 118px;
  font-weight: 700;
  line-height: 166px;
  letter-spacing: 0;
}

.hero-copy p {
  margin: -1px 0 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 45px;
}

.hero-copy strong {
  display: block;
  margin-top: 0;
  font-size: 56px;
  font-weight: 400;
  line-height: 82px;
}

.hero-dots {
  position: absolute;
  right: 80px;
  bottom: 58px;
  z-index: 1;
  display: flex;
  gap: 10px;
  width: 56px;
}

.hero-dots span {
  width: 12px;
  height: 2px;
  background: #fff;
}

.catalog {
  position: relative;
  display: grid;
  grid-template-columns: 800px 800px;
  gap: 60px 160px;
  justify-content: center;
  padding: 58px 80px 30px;
}

.catalog::before {
  position: absolute;
  top: 1px;
  bottom: -29px;
  left: 50%;
  width: 1px;
  content: "";
  background: #000;
  transform: translateX(-1px);
}

.catalog::after {
  position: absolute;
  top: 188px;
  left: 50%;
  width: 80px;
  height: 1px;
  content: "";
  background: #000;
  transform: translateX(-80px);
  box-shadow:
    80px 194px 0 #000,
    -80px 579px 0 #000,
    0 773px 0 #000;
}

.travel-card {
  width: 800px;
}

.travel-card img {
  height: 445px;
  background: #d9d9d9;
}

.card-copy {
  height: 97px;
  border-left: 1px solid #000;
  margin-top: 14px;
  padding-left: 15px;
}

.card-copy h2 {
  margin: 0 0 2px;
  font-size: 32px;
  font-weight: 400;
  line-height: 45px;
}

.card-copy p {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin: 0;
  font-size: 24px;
  line-height: 34px;
}

.card-copy strong {
  font-size: 30px;
  font-weight: 400;
  line-height: 42px;
}

.bottom-image {
  height: 400px;
  margin-top: 0;
  overflow: hidden;
}

.bottom-image img {
  object-position: center center;
}

@media (max-width: 1600px) {
  body {
    min-width: 1024px;
  }

  .nav-bar {
    grid-template-columns: 66px 300px minmax(320px, 1fr) 56px 150px;
    gap: 42px;
  }

  .nav-links {
    gap: 48px;
  }

  .catalog {
    grid-template-columns: repeat(2, minmax(420px, 1fr));
    gap: 50px 90px;
  }

  .travel-card {
    width: 100%;
  }
}
