/* =========================
   About header (Figma)
========================= */
.site-header--about{
  background: #f7f9fc;
  padding: 22px 0;
  position: relative; /* важно: не fixed */
}

.site-header--about .nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Правая "плашка" */
.site-header--about .nav__pill{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  background: #0c1630;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(12, 22, 48, 0.18);
}

.site-header--about .nav__links{
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 10px;
}

.site-header--about .nav__link{
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
}

.site-header--about .nav__link:hover{ color: #fff; }

.site-header--about .nav__link[aria-current="page"]{
  color: #fff;
  font-weight: 600;
}

.site-header--about .nav__link--has-caret{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-header--about .nav__lang{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
}

.site-header--about .nav__lang:hover{
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.site-header--about .nav__cta{
  white-space: nowrap;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 18px;
}

/* Десктоп: бургер скрыт */
@media (min-width: 901px){
  .site-header--about .nav__burger{ display: none; }
}

/* Мобилка: только logo + бургер */
@media (max-width: 900px){
  .site-header--about .nav__panel{ display: none; }
  .site-header--about .nav__burger{ display: inline-flex; }
}


/* =========================================================
   Section 9 — Footer
   ========================================================= */

.site-footer{
  position: relative;
  color: rgba(255,255,255,0.92);
  background: #050a16;
  padding: 76px 0 34px;
  overflow: hidden;
  border-top: 1px dashed rgba(255,255,255,0.18);
  isolation: isolate;
}

/* background image overlay (optional, for exact макет) */
.site-footer::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/images/figma/футер/footer-stars.png");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  pointer-events: none;
}


/* keep content above bg */
.site-footer > .container{
  position: relative;
  z-index: 2; /* выше ::before и ::after */
}

.footer-top{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}

.footer-title{
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  letter-spacing: 0.2px;
  font-size: 56px;
  line-height: 1.08;
  color: rgba(255,255,255,0.92);
  max-width: 520px;
}

.footer-cols{
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 46px;
}

.footer-h{
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-link{
  color: rgba(255,255,255,0.62);
  text-decoration: none; /* чтобы не было underline */
  font-size: 16px;
  line-height: 1.55;
}

.footer-link:hover{
  color: rgba(255,255,255,0.86);
  text-decoration: none;
}

/* Bottom row */
.footer-bottom{
  margin-top: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.footer-brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand-text{
  font-weight: 800;
  letter-spacing: 0.8px;
  font-size: 30px;
  color: rgba(255,255,255,0.96);
}

.footer-brand-accent{
  color: #0065FF;
}

.footer-mid{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  white-space: nowrap;
}

.footer-social{
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-footer::before{
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../images/figma/футер/footer-stars.png");
  background-repeat: repeat;
  background-size: 900px 900px;
  background-position: center;

  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.footer-social-link{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}

.footer-social-link svg{
  width: 22px;
  height: 22px;
}

.footer-loc{
  color: rgba(255,255,255,0.70);
  font-size: 16px;
}

.footer-copy{
  text-align: right;
  color: rgba(255,255,255,0.70);
  font-size: 14px;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px){
  .site-footer{
    padding: 64px 0 28px;
  }

  .footer-top{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-title{
    font-size: 34px;
    line-height: 1.18;
    max-width: 320px;
  }

  .footer-cols{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-h{
    font-size: 18px;
    margin-bottom: 12px;
  }

  .footer-link{
    font-size: 16px;
  }

  .footer-bottom{
    margin-top: 34px;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .footer-mid{
    justify-content: flex-start;
  }

  .footer-copy{
    text-align: left;
  }

  .site-footer::before{
  background-size: 700px 700px;
  opacity: 0.28;
    }

}


/* =========================
   About — Section 1 (Hero)
========================= */

.about-hero{
  background: var(--bg-page);
  padding: 54px 0 44px;
}

.about-hero__title{
  margin: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(42px, 4.2vw, 64px);
}

.about-hero__accent{
  color: #F59E0B; /* оранжевый как в макете */
}

.about-hero__grid{
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.about-hero__lead{
  margin: 0;
  max-width: 42ch;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.25;
  font-size: clamp(22px, 2.1vw, 32px);
}

.about-hero__text{
  margin-top: 18px;
  max-width: 68ch;
  color: rgba(15, 23, 42, 0.60);
  font-size: 15px;
  line-height: 1.7;
}

.about-hero__text p{
  margin: 0 0 12px;
}

.about-hero__links{
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
}

.about-hero__links-label{
  color: rgba(15, 23, 42, 0.55);
}

.about-hero__link{
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.about-hero__link:hover{
  text-decoration: underline;
}

/* Картинка справа: фиксируем высоту, чтобы не "раздувало" */
.about-hero__visual{
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  position: relative;
  height: 420px;
}

.about-hero__visual img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Пунктир снизу */
.about-hero__divider{
  margin-top: 34px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

/* Mobile */
@media (max-width: 900px){
  .about-hero{
    padding: 34px 0 34px;
  }

  .about-hero__grid{
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-hero__title{
    text-align: center;
  }

  .about-hero__lead{
    max-width: 28ch; /* как в макете: узкий блок с переносами */
  }

  .about-hero__visual{
    height: 240px; /* чтобы на мобилке картинка не была огромной */
  }

  .about-hero__divider{
    margin-top: 22px;
  }
}

/* =========================
   About — Section 2 (Privacy)
========================= */
.about-privacy{
  background: #f7f9fc;
  padding: 96px 0 86px;
  color: #0c1630;
}

.about-privacy__title{
  margin: 0 auto;
  text-align: center;
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(34px, 4vw, 56px);
  max-width: 22ch;
}

.about-privacy__accent{
  color: #F59E0B; /* оранжевый как в макете */
}

.about-privacy__lead{
  margin: 26px auto 0;
  text-align: center;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: clamp(18px, 2.1vw, 30px);
  color: rgba(12, 22, 48, 0.62);
  max-width: 64ch;
}

.about-privacy__body{
  margin: 54px auto 0;
  max-width: 980px;
  font-family: "IBM Plex Sans", sans-serif;
}

.about-privacy__label{
  margin: 0 0 14px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(12, 22, 48, 0.55);
}

.about-privacy__list{
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(12, 22, 48, 0.52);
}

.about-privacy__list li{
  margin: 6px 0;
}

.about-privacy__note{
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(12, 22, 48, 0.52);
  max-width: 92ch;
}

.about-privacy__contact{
  margin: 44px 0 0;
  font-size: 22px;
  line-height: 1.45;
  color: rgba(12, 22, 48, 0.62);
}

.about-privacy__email{
  color: inherit;          /* чтобы не было “синей ссылки” */
  text-decoration: none;
}

.about-privacy__email:hover{
  text-decoration: underline;
}

.about-privacy__rule{
  margin: 70px 0 0;
  border-top: 1px dashed rgba(12, 22, 48, 0.12);
}

/* Mobile */
@media (max-width: 900px){
  .about-privacy{
    padding: 72px 0 72px;
  }

  .about-privacy__title{
    max-width: 16ch;
  }

  .about-privacy__body{
    margin-top: 34px;
  }

  .about-privacy__label{
    font-size: 18px;
  }

  .about-privacy__contact{
    font-size: 20px;
  }
}

/* =========================
   About — Section 3 (Cookies)
========================= */

.about-policy--cookies{
  background: #f7f9fc;
  padding: 84px 0 64px;
}

.about-policy--cookies .policy-title{
  margin: 0;
  text-align: center;
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #0c1630;
  font-size: clamp(40px, 4.6vw, 64px);
}

.about-policy--cookies .accent{
  color: #f59e0b; /* твой оранжевый акцент */
}

.about-policy--cookies .policy-body{
  margin-top: 48px;
  max-width: 760px;     /* как в макете: блок не по центру, а слева */
  margin-right: auto;
  margin-left: 0;
}

.about-policy--cookies .policy-lead{
  margin: 0 0 18px 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  color: rgba(12, 22, 48, 0.55);
  font-size: 22px;
  line-height: 1.35;
}

.about-policy--cookies .policy-list{
  margin: 0 0 34px 0;
  padding-left: 22px;
  color: rgba(12, 22, 48, 0.55);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

.about-policy--cookies .policy-text{
  margin: 0;
  color: rgba(12, 22, 48, 0.55);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

.about-policy--cookies .policy-divider{
  margin-top: 56px;
  border-top: 1px dashed rgba(12, 22, 48, 0.14);
}

/* Mobile */
@media (max-width: 900px){
  .about-policy--cookies{
    padding: 56px 0 48px;
  }

  .about-policy--cookies .policy-body{
    max-width: none;
    margin-top: 28px;
  }

  .about-policy--cookies .policy-lead{
    font-size: 34px; /* как на мобилке в макете */
    line-height: 1.2;
    margin-bottom: 18px;
  }

  .about-policy--cookies .policy-list{
    font-size: 24px;
  }

  .about-policy--cookies .policy-text{
    font-size: 24px;
  }
}

.header-inner{
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;

  /* чтобы не было скругленной "карточки" */
  border-radius: 0 !important;

  /* подстрой отступов под макет */
  padding: 18px 0 !important;
}