/* =========================
   Reset
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================
   Base
========================= */
html,
body {
  height: 100%;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Inter,
    Helvetica,
    Arial,
    sans-serif;

  background: #ffffff;
  color: #000000;
}

/* =========================
   Page layout
========================= */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================
   Container
========================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
}

/* =========================
   Header
========================= */
.top {
  position: sticky;
  top: 0;
  z-index: 1000;

  height: 72px;
  background-color: #F2F2F2;

  display: flex;
  justify-content: center;

  transition:
    height 0.25s ease,
    box-shadow 0.25s ease;
}

.top-inner {
  width: 100%;
  max-width: 1280px;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  transition: padding 0.25s ease;
}

.top-left,
.top-right {
  display: flex;
  align-items: center;
}

/* logo */
.top-left img {
  height: 28px;
  filter: brightness(0);
  transition: height 0.25s ease;
}

/* scrolled */
.top.is-scrolled {
  height: 56px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.top.is-scrolled .top-left img {
  height: 22px;
}

/* =========================
   Language selector
========================= */
.lang-selector {
  position: relative;
}

.lang-selector__button {
  height: 32px;
  line-height: 32px;

  background: transparent;
  border: 1px solid #FFC700;
  color: #000000;

  padding: 0 12px;
  border-radius: 6px;

  font-weight: 600;
  cursor: pointer;
}

.lang-selector__list {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);

  min-width: 120px;
  background: #ffffff;
  color: #000000;

  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);

  list-style: none;
  padding: 6px 0;

  display: none;
  z-index: 1000;
}

.lang-selector.open .lang-selector__list {
  display: block;
}

.lang-selector__list li {
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 500;
}

.lang-selector__list li:hover {
  background-color: #f0f0f0;
}

.lang-selector__list li.active {
  font-weight: 700;
  cursor: default;
}

/* =========================
   Content (neutral)
========================= */
.content {
  flex: 1;
  display: flex;
  justify-content: center;
}

.content-inner {
  width: 100%;
  max-width: 1280px;
  padding: 64px 24px;
}

/* =========================
   Footer
========================= */
.footer {
  background-color: #000000;
  color: #ffffff;

  display: flex;
  justify-content: center;
}

.footer-inner {
  width: 100%;
  max-width: 1280px;
  padding: 48px 24px;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.footer-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-left img {
  height: 32px;
}

.footer-text {
  display: inline-block;
  margin-bottom: 16px;

  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 200;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials img {
  width: 32px;
  height: 32px;
}

.footer-right .legal {
  font-size: 14px;
  font-weight: 200;
  line-height: 1.4;
}

/* =========================
   Utilities
========================= */
.text--dark {
  color: #000000;
}

/* =========================
   Links
========================= */
a {
  color: #ffffff;           /* обычная ссылка */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: #FFC700;           /* 🔶 жёлтая подсветка */
}
/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .content-inner {
    padding: 48px 16px;
  }
}
