:root {
  --bg: #efefef;
  --ink: #111216;
  --muted: #5f6268;
  --line: #cdcdcd;
  --separator: #8e8e8e;
  --green: #2c8266;
  --orange: #f57a35;
  --blue-card: #9bacdf;
  --sand-card: #ded8be;
  --footer: #0a0b0f;
  --page-width: min(1380px, 96vw);
}

@font-face {
  font-family: "Coolvetica Rg";
  src: url("coolvetica/Coolvetica Rg.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Coolvetica Rg It";
  src: url("coolvetica/Coolvetica Rg It.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-family: "Coolvetica Rg Cond";
  src: url("coolvetica/Coolvetica Rg Cond.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Coolvetica Rg Cram";
  src: url("coolvetica/Coolvetica Rg Cram.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Coolvetica Hv Comp";
  src: url("coolvetica/Coolvetica Hv Comp.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

.page {
  width: var(--page-width);
  margin: 0 auto;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.75rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--separator);
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: block;
}

.topbar .logo-mark {
  width: 100px;
  height: auto;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--ink);
}

.logo-title,
.logo-sub {
  margin: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-title {
  color: #dba63f;
  font-size: 0.65rem;
}

.logo-sub {
  color: #2f4f8c;
  font-size: 0.66rem;
}

nav {
  justify-self: center;
  display: flex;
  gap: 1.5rem;
}

nav a,
footer a {
  text-decoration: none;
  color: inherit;
}

nav a:visited,
footer a:visited {
  color: inherit;
}

nav a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #dba63f;
}

nav a.active {
  color: #f2733b;
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 0.1rem 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #666;
  cursor: pointer;
}

.lang-btn.active {
  color: var(--ink);
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 2.5rem;
}

.eyebrow {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1,
h2,
.footer-bottom h3 {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

h1 {
  margin-top: 0.8rem;
  max-width: 760px;
  font-size: clamp(3.3rem, 7.2vw, 7.1rem);
}

.hero-art {
  position: relative;
  min-height: 390px;
}

.hero-main {
  width: 78%;
  height: 390px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  margin-left: auto;
}

.hero-circle {
  position: absolute;
  left: 0;
  top: 95px;
  width: 195px;
  height: 195px;
  object-fit: cover;
  border-radius: 999px;
  border: 5px solid #fff;
}

.star {
  position: absolute;
  left: -22px;
  top: 14px;
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.about {
  border-top: 1px solid var(--separator);
  padding: 2.4rem 0 3rem;
  display: grid;
  grid-template-columns: 0.55fr 0.8fr 1.6fr;
  gap: 2rem;
  align-items: start;
}

.tag {
  margin: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.about h3 {
  margin: 0;
  font-size: 1.7rem;
  font-family: "Oswald", sans-serif;
  line-height: 1.14;
  max-width: 300px;
}

.about p {
  margin: 0 0 1rem;
  color: #202227;
  max-width: 620px;
  line-height: 1.52;
}

.about .tag {
  color: var(--green);
}

.feature-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.stats {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.stat-card {
  border-radius: 16px;
  padding: 0.8rem 1rem;
  min-height: 175px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-card img {
  width: 120px;
  height: 155px;
  object-fit: cover;
  border-radius: 12px;
}

.stat-card h4 {
  margin: 0;
  font-family: "Anton", sans-serif;
  line-height: 0.95;
  font-size: clamp(3.2rem, 5.7vw, 6rem);
}

.stat-card p {
  margin: 0.2rem 0;
}

.blue {
  background: var(--blue-card);
  position: relative;
  overflow: hidden;
}

.blue img {
  position: absolute;
  left: 0;
  bottom: 0;
}

.blue > div {
  margin-left: 130px;
}

.sand {
  background: var(--sand-card);
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.concierge {
  background: #1f2f54;
  color: #f2f4ff;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.concierge p {
  color: #dfe7ff;
}

.mission {
  border-top: 1px solid var(--separator);
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mission-left {
  border-right: 1px solid #8e8e8e;
  padding-right: 1.8rem;
}

.mission-left h2 {
  margin-top: 1rem;
  font-size: clamp(3.1rem, 6.4vw, 6.1rem);
}

.mission-right {
  position: relative;
  padding-left: 1.8rem;
}

.mission-right p {
  margin: 0;
  max-width: 260px;
  font-family: "Oswald", sans-serif;
  font-size: 1.75rem;
  line-height: 1.15;
}

.mission-right .star {
  left: 20px;
  top: 130px;
  width: 72px;
  height: 72px;
  object-fit: initial;
}

.mission-right img {
  width: 100%;
  margin-top: 1rem;
  height: 365px;
  object-fit: cover;
  border-radius: 18px;
}

.mission-copy {
  border-top: 1px solid var(--separator);
  margin-top: 2rem;
  padding-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mission-copy p {
  margin: 0;
  max-width: 520px;
  line-height: 1.5;
}

.tours {
  margin-top: 2.2rem;
  padding: 1.4rem 0 4rem;
}

.tours h2 {
  text-align: center;
  margin-top: 0.65rem;
  font-size: clamp(3rem, 7vw, 6.7rem);
}

.oval {
  display: inline-block;
  transform: rotate(7deg);
}

.oval img {
  display: block;
  width: 250px;
  height: auto;
}

.tours-sub {
  text-align: center;
  max-width: 660px;
  margin: 2rem auto 3rem;
  color: var(--muted);
}

.tour-grid {
  border-top: 1px solid var(--separator);
  padding-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}

.tour-grid article img {
  width: 100%;
  height: 195px;
  border-radius: 18px;
  object-fit: cover;
}

.price {
  color: #f2733b;
  font-weight: 700;
  margin: 0.65rem 0 0.3rem;
}

.tour-grid h4 {
  margin: 0;
  font-size: 2rem;
  font-family: "Oswald", sans-serif;
  line-height: 1;
}

footer {
  background: var(--footer);
  color: #f2f4ff;
  margin-top: 1.2rem;
  padding: 2.6rem 0 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1.55fr 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: start;
  width: var(--page-width);
  margin: 0 auto;
  padding: 0 1.1rem;
}

.footer-main h5 {
  margin: 0 0 0.95rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.footer-main a,
.footer-main p {
  display: block;
  margin: 0 0 0.55rem;
  color: #b8bfd1;
  font-size: 0.86rem;
  line-height: 1.45;
}

.socials {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 14px;
}

.socials span {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.4rem;
  background: #8fa9f9;
  color: #0e1117;
  font-size: 0.76rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.footer-registration-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-registration-link:hover {
  color: #ffffff;
  opacity: 0.9;
}

.footer-logo {
  justify-self: end;
  text-align: right;
}

.footer-logo p {
  margin-top: 0.6rem;
  color: #d7bf67;
  font-weight: 700;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid var(--separator);
  padding: 2rem 0 1.6rem;
  display: grid;
  grid-template-columns: 1.7fr 0.7fr;
  align-items: end;
  width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.footer-bottom h3 {
  font-size: clamp(2.6rem, 5vw, 5.8rem);
}

.footer-bottom p {
  justify-self: end;
  color: #9ca2b5;
  margin: 0;
  font-size: 0.82rem;
}

.fade-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-on-scroll,
  .fade-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

html[lang="ru"] h1,
html[lang="ru"] h2,
html[lang="ru"] .footer-bottom h3,
html[lang="ru"] .stat-card h4,
html[lang="ru"] .tour-grid h4 {
  font-family: "Coolvetica Hv Comp", "Coolvetica Rg", sans-serif;
  font-weight: 400;
}

html[lang="ru"] .about h3,
html[lang="ru"] .mission-right p {
  font-family: "Coolvetica Rg Cond", "Coolvetica Rg", sans-serif;
}

@media (max-width: 1150px) {
  .hero,
  .about,
  .mission,
  .mission-copy {
    grid-template-columns: 1fr;
  }

  .mission-left {
    border-right: 0;
    padding-right: 0;
  }

  .mission-right {
    padding-left: 0;
  }

  .tour-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats,
  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-logo,
  .footer-bottom p {
    justify-self: start;
    text-align: left;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    row-gap: 0.45rem;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.55rem 0 0.2rem;
  }

  .topbar.menu-open nav {
    display: flex;
  }

  .lang-switch {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
    padding: 0.1rem 0 0.4rem;
  }

  .topbar.menu-open .lang-switch {
    display: flex;
  }

  .hero-main {
    width: 100%;
  }

  .hero-circle {
    left: 12px;
  }
}
