@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open_sans_normal.woff") format("woff"),
    url("../fonts/open_sans_normal.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.legal-page {
  margin: 0;
  min-height: 100vh;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #222;
  background: #f7f8fa;
}

.legal-page a {
  color: #2084d6;
  text-decoration: underline;
}

.legal-page a:hover {
  text-decoration: none;
}

.legal-header {
  background: #fff;
  border-bottom: 1px solid #e4e6eb;
  padding: 16px 24px;
}

.legal-header__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legal-header__brand {
  font-weight: 600;
  font-size: 18px;
  color: #111;
  text-decoration: none;
}

.legal-header__brand:hover {
  color: #2084d6;
}

.legal-header nav a {
  font-size: 14px;
  color: #2084d6;
  text-decoration: underline;
}

.legal-header nav a:hover {
  text-decoration: none;
}

.legal-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.legal-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 32px 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: 1.65rem;
  line-height: 1.25;
  color: #111;
}

.legal-meta {
  margin: 0 0 28px;
  font-size: 14px;
  color: #666;
}

.legal-card h2 {
  margin: 28px 0 12px;
  font-size: 1.15rem;
  color: #111;
}

.legal-card h3 {
  margin: 20px 0 10px;
  font-size: 1.05rem;
  color: #333;
}

.legal-card p {
  margin: 0 0 12px;
}

.legal-card ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-back {
  display: inline-block;
  margin-top: 28px;
  font-size: 15px;
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  padding: 16px;
  background: rgba(34, 34, 34, 0.97);
  color: #f0f0f0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-consent.is-visible {
  transform: translateY(0);
}

.cookie-consent__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.cookie-consent__text {
  flex: 1 1 280px;
  margin: 0;
  max-width: 720px;
}

.cookie-consent__text a {
  color: #7ec8ff;
  text-decoration: underline;
}

.cookie-consent__text a:hover {
  color: #fff;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-consent__btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cookie-consent__btn--accept {
  background: #2084d6;
  color: #fff;
}

.cookie-consent__btn--accept:hover {
  background: #1a6fb5;
}

.cookie-consent__link {
  color: #b8d9f5;
  text-decoration: underline;
  font-size: 14px;
  padding: 8px 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.cookie-consent__link:hover {
  color: #fff;
}

@media (max-width: 500px) {
  .legal-card {
    padding: 20px 18px 32px;
  }

  .legal-card h1 {
    font-size: 1.35rem;
  }
}
