/* =========================
   About header (Figma)
========================= */
.site-header--about{
  background: #f7f9fc;
  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: 400;
}

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

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

.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: 400;
}

.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: 600;
  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__burger{ display: inline-flex; }

  .site-header--about .nav__panel{
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 50;
    padding: 14px 0 18px;
    background: rgba(12,22,48,0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.12);
  }

  .site-header--about .nav__panel.is-open{ display: block; }

  .site-header--about .nav__pill{
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .site-header--about .nav__links{
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
}


/* =========================================================
   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("../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: 600;
  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: 600;
  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;
  color: black;
  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: 16px;
  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: 400;
  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: 600;
  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: 16px;
  line-height: 1.7;
  color: rgba(12, 22, 48, 0.52);
}

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

.about-privacy__note{
  margin: 0;
  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: 400;
  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: 600;
  color: rgba(12, 22, 48, 0.55);
  font-size: 24px;
  line-height: 32px;
}

.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;
  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;
  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;
  }
}

.site-header--light .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;
}

/* =========================
   About — Section: How we work
========================= */

.about-work{
  background: #f7f9fc;
  padding: 92px 0 64px;
  color: #0c1630;
}

.about-work__title{
  margin: 0;
  text-align: center;
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 56px;
  font-size: clamp(48px, 4.8vw, 72px);
}

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

.about-work__grid{
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.about-work__points{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 22px;
  max-width: 560px;
}

.about-work__point{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}

.about-work__icon{
  width: 24px;
  height: 24px;
  color: #2f6b35;
  margin-top: 2px;
}

.about-work__icon svg{
  width: 24px;
  height: 24px;
}

.about-work__point p{
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.3;
  color: rgba(12, 22, 48, 0.55);
}

.about-work__note{
  margin: 6px 0 0;
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.45;
  font-size: clamp(18px, 2vw, 26px);
  color: rgba(12, 22, 48, 0.62);
  max-width: 46ch;
}

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

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

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

  .about-work__note{
    font-size: 18px;
    line-height: 1.5;
    max-width: none;
  }

  .about-work__divider{
    margin-top: 26px;
  }
}


/* =========================
   About — Section: Careers
========================= */

.about-careers{
  background: #f7f9fc;
  padding: 74px 0 86px;
  color: #0c1630;
}

.about-careers__title{
  margin: 0;
  text-align: center;
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(48px, 4.8vw, 72px);
}

.about-careers__accent{
  color: #F59E0B;
}

.about-careers__lead{
  margin: 22px auto 0;
  text-align: center;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  line-height: 1.45;
  font-size: clamp(20px, 2.4vw, 36px);
  color: rgba(12, 22, 48, 0.62);
  max-width: 30ch;
}

.about-careers__grid{
  margin-top: 52px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

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

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

.about-careers__note{
  margin: 18px 0 0;
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 24px;
  color: rgba(12, 22, 48, 0.55);
  max-width: 62ch;
}

.about-careers__contact{
  margin: 26px 0 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 22px;
  line-height: 1.45;
  color: rgba(12, 22, 48, 0.62);
}

.about-careers__email{
  color: inherit;
  text-decoration: none;
}

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

.about-careers__media{
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  height: 260px;
}

.about-careers__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

  .about-careers__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-careers__media{
    height: 220px;
  }

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


.whatwedo{
  background:#F6F8FB;
  padding: 96px 0;
}

.whatwedo__inner{
  text-align:center;
}

.whatwedo__title{
  margin: 0 0 22px;
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  color:#0F1B2D;
}

.whatwedo__lead{
  max-width: 980px;
  margin: 0 auto 22px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  color:#55637A;
}

.whatwedo__accent{
  color:#E9A43D; /* из твоего скрина */
}

.whatwedo__sub{
  margin: 0 0 34px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.4;
  color:#6A778E;
}

/* GRID: 3 карточки сверху, снизу слева карточка + справа текст */
.whatwedo__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 6px;
  text-align: left;
  align-items: start;
}

.whatwedo-card{
  background:#FFFFFF;
  border-radius: 14px;
  border: 6px solid #E7EFFB; /* светло-голубая рамка как на макете */
  padding: 22px 22px 18px;
  min-height: 220px;

  display:flex;
  justify-content: space-between;
}

.whatwedo-card__title{
  margin: 0 0 14px;
  font-family: Inter, system-ui, -apple-system, "IBM Plex Sans", Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  color: rgba(71, 85, 105, 1);
}

.whatwedo-card__media{
  width: 100%;
  display:flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.whatwedo-card__media img{
  display:block;
}

/* нижняя левая карточка */
.whatwedo-card--bottom-left{
  grid-column: 1;
  grid-row: 2;
}

/* текст справа снизу */
.whatwedo__note{
  grid-column: 2 / 4;
  grid-row: 2;
  align-self: center;

  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.7;
  color:#6A778E;
  text-align: left;
  padding: 8px 6px;
}

/* адаптив */
@media (max-width: 1024px){
  .whatwedo__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .whatwedo-card--bottom-left{
    grid-column: 1;
    grid-row: auto;
  }

  .whatwedo__note{
    grid-column: 1 / 3;
    grid-row: auto;
    padding-top: 0;
  }

  .whatwedo-card__media{
    justify-content: center;
  }
}

@media (max-width: 640px){
  .whatwedo{
    padding: 64px 0;
  }

  .whatwedo__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .whatwedo__note{
    grid-column: auto;
    text-align: center;
  }

  .whatwedo-card{
    text-align: left;
    height: auto;
    flex-direction: column;
  }

  .whatwedo-card__media{
    justify-content: center;
  }

  .whatwedo-card__title{
    flex: none;
    max-width: none;
  }
}

