﻿.footer-legal {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  color: #b8cae0;
  background: rgba(255,255,255,.045);
  font-size: 12px;
  line-height: 1.55;
}

.footer-legal h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.footer-legal p {
  margin: 0;
}

.footer-legal a,
.legal-links a {
  color: #dbeaff;
  font-weight: 800;
}

.footer-requisites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
}

.footer-requisites span {
  display: block;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.personal-data-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  color: #5d6b7a;
  font-size: 12px;
  line-height: 1.4;
}

.personal-data-consent input {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  flex: 0 0 auto;
  accent-color: #0066e6;
}

.personal-data-consent a {
  color: #0057d9;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 99998;
  width: min(980px, calc(100% - 28px));
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(0,87,217,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 60px rgba(0,31,63,.18);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-banner p {
  margin: 0;
  color: #33475f;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-banner a {
  color: #0057d9;
  font-weight: 900;
}

.cookie-banner button {
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #0066e6;
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 760px) {
  .footer-requisites {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }
}

.legal-page {
  min-height: 100vh;
  color: #102033;
  background: #f5f8fc;
  font-family: "Manrope", "Inter", Arial, sans-serif;
}

.legal-page .legal-header {
  padding: 18px 0;
  border-bottom: 1px solid #dce6f2;
  background: #fff;
}

.legal-page .legal-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.legal-page .legal-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.legal-page .legal-logo img {
  width: 184px;
  max-width: 48vw;
  display: block;
}

.legal-page .legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  color: #fff;
  background: #0066e6;
  font-weight: 900;
  text-decoration: none;
}

.legal-page .legal-hero {
  padding: 54px 0 28px;
}

.legal-page .legal-hero h1 {
  max-width: 880px;
  margin: 0 0 14px;
  color: #002b5b;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
}

.legal-page .legal-hero p {
  max-width: 820px;
  margin: 0;
  color: #5d6b7a;
  font-size: 17px;
  line-height: 1.65;
}

.legal-page .legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
  padding: 0 0 58px;
}

.legal-page .legal-card,
.legal-page .legal-aside {
  border: 1px solid #dce6f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0,43,91,.08);
}

.legal-page .legal-card {
  padding: clamp(22px, 4vw, 42px);
}

.legal-page .legal-card section + section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid #e4edf7;
}

.legal-page .legal-card h2 {
  margin: 0 0 12px;
  color: #002b5b;
  font-size: 24px;
  line-height: 1.2;
}

.legal-page .legal-card p,
.legal-page .legal-card li {
  color: #33475f;
  font-size: 16px;
  line-height: 1.75;
}

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

.legal-page .legal-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.legal-page .legal-aside {
  position: sticky;
  top: 18px;
  padding: 22px;
}

.legal-page .legal-aside h2 {
  margin: 0 0 14px;
  color: #002b5b;
  font-size: 20px;
}

.legal-page .legal-aside span {
  display: block;
  padding: 10px 0;
  border-top: 1px solid #e4edf7;
  color: #33475f;
  font-size: 14px;
  line-height: 1.45;
}

.legal-page .legal-aside span:first-of-type {
  border-top: 0;
}

.legal-page .site-footer {
  padding: 38px 0 28px;
  color: #dbeaff;
  background: #001f3f;
}

.legal-page .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #b8cae0;
  font-size: 13px;
}

.legal-page .footer-bottom a {
  color: #fff;
}

@media (max-width: 900px) {
  .legal-page .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-page .legal-aside {
    position: static;
  }
}

