/* 1) убираем белые части по бокам (фон страницы + секции) */
html, body { height: 100%; }
body {
  background: #050a16;
  color: #fff;
}

/* 5) хедер НЕ должен быть “прибит” — переопределяем sticky/fixed на absolute */
.site-header{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  z-index: 20;
}

/* СЕКЦИЯ 1 */
.solution-hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;

  /* чтобы контент не залезал под хедер */
  padding: 140px 0 80px;

  background-image: url("../images/figma/хедер/header.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* легкое затемнение для читабельности (в макете есть) */
.solution-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 50% 45%,
    rgba(5,10,22,0) 0%,
    rgba(5,10,22,0.55) 70%,
    rgba(5,10,22,0.85) 100%);
  pointer-events: none;
}

.solution-hero__inner{
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Заголовок */
.solution-hero__title{
  margin: 0;
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  font-size: 24px;
}

.solution-hero__accent{
  color: #f3a218;
}

/* Подзаголовок */
.solution-hero__subtitle{
  margin: 26px auto 0;
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.35;
  color: rgba(255,255,255,0.78);
  font-weight: 600;
}

/* 2) + 3) кнопки: добавили вторую + делаем жирными */
.solution-hero__actions{
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.solution-hero__actions .btn{
  font-weight: 700; /* жирный шрифт у обеих */
}

/* вторичная кнопка (если в общих стилях ее нет) */
.btn.btn-secondary{
  background: rgba(10, 18, 38, 0.70);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}

/* 4) KPI ближе к центру */
.solution-hero__kpis{
  margin: 72px auto 0;
  max-width: 820px;          /* вот это “сдвигает к центру” */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;

  color: rgba(255,255,255,0.35);
  font-weight: 600;
  font-size: 14px;
}

/* mobile */
@media (max-width: 720px){
  .solution-hero{
    padding: 110px 0 64px;
  }

  .solution-hero__actions{
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .solution-hero__actions .btn{
    width: 100%;
  }

  /* на мобилке в макете KPI всё равно в 1 ряд */
  .solution-hero__kpis{
    max-width: 360px;
    gap: 14px;
    font-size: 12px;
  }
}

/* =========================
   Section 2: Challenge
========================= */
.sol-challenge{
  background: #f7f9fc;
  padding: 96px 0 110px;
  color: #0c1630;
}

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

.sol-challenge__subtitle{
  margin: 20px auto 0;
  max-width: 60ch;
  text-align: center;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  color: rgba(12, 22, 48, 0.55);
  line-height: 1.5;
  font-size: clamp(16px, 1.8vw, 22px);
}

.sol-challenge__grid{
  margin-top: 64px;
  display: grid;
  grid-template-columns: 360px 720px;
  gap: 56px;
  align-items: center;
}

.sol-challenge__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.sol-challenge__item{
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;

  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(12, 22, 48, 0.6);
}

.sol-challenge__icon{
  color: #2e7d32; /* зелёные иконки как в фигме */
  transform: translateY(2px);
}

.sol-challenge__visual{
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 60px rgba(12, 22, 48, 0.10);
  width: 587px;
  height: 295px;        /* фикс высота */
}

.sol-challenge__visual img{
  display: block;
  width: 100%;
  height: auto;
  height: 100%;
  object-fit: cover;

}

/* Mobile */
@media (max-width: 1000px){
  .sol-challenge{
    padding: 72px 0 84px;
  }

  .sol-challenge__grid{
    margin-top: 34px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

    /* ВОТ ЭТО ДОБАВЬ */
  .sol-challenge__visual{
    width: min(343px, 100%);
    margin: 0 auto;              /* центрируем блок с картинкой */
    aspect-ratio: 238 / 343;     /* как в фигме */
  }

    .sol-challenge__visual img{
    width: 100%;
    height: 100%;
    object-fit: cover;           /* чтобы красиво заполняло рамку */
    display: block;
  }

  .sol-challenge__title{
    max-width: 16ch;
  }

  .sol-challenge__list{
    gap: 14px;
    max-width: 400px;
    margin: 0 auto;
  }
}

.sol-challenge__img{
  display:block;
  width:100%;
  height:auto;
}

/* =========================
   Section 3: Our process
========================= */
.sol-process{
  background: #ffffff;
  padding: 110px 0 120px;
  color: #0c1630;
  overflow: hidden;
}

.sol-accent{ color: #f39b13; }

.sol-process__title{
  margin: 0 auto;
  max-width: 22ch;
  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);
}

.sol-process__kicker{
  margin: 22px auto 0;
  width: fit-content;
  text-align: center;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  color: rgba(12, 22, 48, 0.65);
  font-size: 22px;
  position: relative;
}

.sol-process__kicker::after{
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  width: 0;
  height: 44px;
  border-left: 2px dashed rgba(12, 22, 48, 0.14);
}

.sol-process__canvas{
  position: relative;
  margin-top: 46px;
}

.sol-process__lines{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 520px;
  pointer-events: none;
  opacity: 0.7;
}

.sol-process__lines path{
  fill: none;
  stroke: rgba(12, 22, 48, 0.14);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  stroke-linecap: round;
}

.sol-process__grid{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px 120px; /* row / col gaps как на макете */
  align-items: center;
  margin-top: 28px;
}

.sol-step{
  background: #e7efff;
  border-radius: 22px;
  padding: 22px 22px;
  min-height: 170px;

  display: flex;
  align-items: center;
  gap: 18px;

  box-shadow: 0 16px 40px rgba(12, 22, 48, 0.06);
}

.sol-step__num{
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: #0c1630;
  flex: 0 0 auto;
}

.sol-step__text{
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(12, 22, 48, 0.62);
}

.sol-step__media{
  margin-left: auto;
  width: 128px;
  height: 128px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 128px;
  box-shadow: 0 12px 30px rgba(12, 22, 48, 0.10);
}

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

/* чуть разъезжаются карточки к краям как в фигме */
.sol-step--1{ justify-self: start; }
.sol-step--2{ justify-self: end; }
.sol-step--3{ justify-self: start; }
.sol-step--4{ justify-self: end; }

/* Mobile */
@media (max-width: 786px){
  .sol-process{
    padding: 84px 0 92px;
  }

  .sol-process__lines{ display: none; }
  .sol-process__kicker::after{ height: 26px; }

  .sol-process__grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sol-step{
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px 22px;
    min-height: auto;
  }

  .sol-step__num{
    font-size: 36px;
  }

  .sol-step__text{
    font-size: 14px;
    line-height: 1.55;
  }

  /* ключевая правка под макет: круглая фотка НЕ гигантская */
  .sol-step__media{
    margin: 14px auto 0;
    width: 150px;
    height: 150px;
    flex-basis: 150px;
  }

  /* 1) контейнер шагов: 1 колонка и центр */
  .sol-process__steps{
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;     /* главное */
    gap: 20px;
  }

  /* 2) каждая карточка: фикс как в фигме и центр */
  .sol-step{
    width: min(343px, 100%);   /* в фигме ~343 */
    margin-inline: auto;       /* центр */
    justify-self: center;      /* если была сетка с start/end */
    transform: none !important;/* если шахматил translateX */
  }

  /* если ты делал шахматку через nth-child */
  .sol-step:nth-child(odd),
  .sol-step:nth-child(even){
    justify-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* если рисовал линии/кривые между карточками — обычно на мобиле их лучше скрыть */
  .sol-process__lines,
  .sol-process__curve,
  .sol-process__path{
    display: none !important;
  }
}

.sol-process__kicker::before,
.sol-process__kicker::after{
  display: none !important;
  content: none !important;
}

/* =========================
   Section 4: Why leaders choose
========================= */

.sol-why{
  background: #f7f9fc;
  padding: 96px 0 96px;
  color: #0c1630;
}

.sol-why__title{
  margin: 0 auto;
  text-align: center;
  font-family: "IBM Plex Serif", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: 48px;
  max-width: 26ch;
}

.sol-why__accent{
  color: var(--accent);
}

.sol-why__titleMobile{ display: none; }
.sol-why__titleDesktop{ display: inline; }

.sol-why__lead{
  margin: 22px auto 0;
  text-align: center;
  max-width: 74ch;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 32px;
  color: rgba(12, 22, 48, 0.70);
}

.sol-why__sublead{
  margin: 16px auto 0;
  text-align: center;
  max-width: 74ch;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 24px;
  color: rgba(12, 22, 48, 0.55);
}

.sol-why__grid{
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.sol-why__card{
  background: #ffffff;
  border: 2px solid #dfe9ff;
  border-radius: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 14px;
  align-items: center;
}

.sol-why__cardTitle{
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color: rgba(12, 22, 48, 0.88);
}

.sol-why__cardDesc{
  margin: 8px 0 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(12, 22, 48, 0.60);
}

.sol-why__cardMedia{
  background: #f3f6ff;
  border: 1px solid #e6eeff;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sol-why__cardMedia img{
  display: block;
  max-width: 100%;
  height: auto;
}

.sol-why__tagline{
  margin: 34px 0 0;
  text-align: center;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  color: rgba(12, 22, 48, 0.62);
}

/* Tablet */
@media (max-width: 1100px){
  .sol-why__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 768px){
  .sol-why{
    padding: 72px 0 72px;
  }

  .sol-why__title{
    max-width: 18ch;
   font-family: "IBM Plex Serif", serif;
  font-weight: 600;
  }

  .sol-why__titleDesktop{ display: none; }
  .sol-why__titleMobile{ display: inline; }

  .sol-why__grid{
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .sol-why__card{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sol-why__cardMedia{
    width: 100%;
  }
}


/* =========================================================
   Section 5 — Core Packages (Tabs)
   ========================================================= */

.packages{
  background: #f6f8fc;
  color: #0c1630;
  padding: 62px 0 70px;
}

.packages-title{
  margin: 0;
  text-align: center;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  letter-spacing: 0.2px;
  font-size: 20px;
  line-height: 1.15;
}

.packages-tabs{
  margin: 22px auto 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  max-width: 980px;
}

.packages-tab{
  height: 48px;
  border-radius: 4px;
  border: 1px solid rgba(12,22,48,0.14);
  background: rgba(255,255,255,0.35);
  color: rgba(12,22,48,0.92);
  font-weight: 700;
  cursor: pointer;
  padding: 0 14px;
  text-align: center;
}

.packages-tab.is-active{
  background: #9fc4ff; /* как на макете (светло-синий) */
  border-color: rgba(12,22,48,0.08);
}

.packages-panels{
  margin-top: 6px;
}

/* Panel background themes (как в макете: warm / green) */
.package-panel.is-warm .package-card{
  background: #fff6e8;
}
.package-panel.is-green .package-card{
  background: #eaf7ef;
}

.package-card{
  border-radius: 16px;
  padding: 22px;
}

/* Desktop: 2 колонки: слева иллюстрация, справа текст */
.package-card{
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 26px;
  align-items: center;
}

.package-figure{
  background: rgba(255,255,255,0.55);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(12,22,48,0.06);
}

.package-figure img{
  width: 100%;
  height: auto;
  display: block;
}

.package-body{
  padding-right: 8px;
}

.package-name{
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  color: #0c1630;
}

.package-lead{
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(12,22,48,0.62);
  max-width: 520px;
}

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

.package-item{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(12,22,48,0.78);
  font-size: 15px;
  line-height: 1.55;
}

.package-ico{
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2f7a3c;
}

.package-ico svg{
  width: 22px;
  height: 22px;
}

/* Mobile: табы компактнее, контент колонкой (как на моб. макете) */
@media (max-width: 991px){
  .packages{
    padding: 56px 0 64px;
  }

  .packages-tabs{
    gap: 10px;
    max-width: 520px;
  }

  .packages-tab{
    height: 40px;
    font-size: 12px;
    padding: 0 10px;
  }

  .package-card{
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .package-name{
    font-size: 20px;
  }

  .package-lead{
    font-size: 16px;
  }

  .package-figure{
    padding: 14px;
  }
}

/* Desktop typography closer to макету */
@media (min-width: 992px){
  .packages-title{
    font-size: 64px;
    line-height: 1.05;
  }

  .packages-tabs{
    margin-top: 28px;
  }

  .packages-tab{
    height: 52px;
    font-size: 16px;
  }

  .package-name{
    font-size: 28px;
  }
}

/* =========================
   Section 6: FAQ (Accordion)
========================= */
.sol-faq{
  background: #fff;
  padding: 96px 0 110px;
}

.sol-faq__title{
  margin: 0;
  text-align: center;
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #0c1630;
  font-size: clamp(34px, 4vw, 54px);
}

.sol-faq__list{
  margin: 56px auto 0;
  max-width: 920px;
  display: grid;
  gap: 18px;
}

/* details */
.sol-faq__item{
  border-radius: 12px;
}

/* summary */
.sol-faq__q{
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 18px;
  align-items: center;

  padding: 18px 18px;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  color: #0c1630;
}

/* hide default marker */
.sol-faq__q::-webkit-details-marker{ display:none; }
.sol-faq__q::marker{ content:""; }

.sol-faq__chev{
  color: rgba(12, 22, 48, 0.85);
  transition: transform .2s ease;
  transform-origin: 50% 50%;
}

/* answer */
.sol-faq__a{
  padding: 0 18px 18px 54px; /* чтобы текст ответа начинался под вопросом (после иконки) */
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(12, 22, 48, 0.6);
}

/* open state */
.sol-faq__item[open]{
  background: #eaf1ff; /* светло-голубая плашка как в макете */
}

.sol-faq__item[open] .sol-faq__chev{
  transform: rotate(180deg);
}

/* Mobile */
@media (max-width: 768px){
  .sol-faq{
    padding: 72px 0 84px;
  }

  .sol-faq__list{
    margin-top: 34px;
    max-width: 560px;
    padding: 0 4px;
  }

  .sol-faq__q{
    font-size: 16px;
    padding: 16px 14px;
    grid-template-columns: 18px 1fr;
    gap: 14px;
  }

  .sol-faq__a{
    padding: 0 14px 16px 46px;
    font-size: 13px;
  }
}

/* было: transition: grid-template-rows 360ms cubic-bezier(.2,.8,.2,1), opacity 220ms ease; */
.faq__a,
.faq-answer,
.accordion-panel,
[data-faq-panel]{
  display: grid;
  grid-template-rows: 0fr;

  /* ВАЖНО: чуть дольше + более мягкий easing */
  transition:
    grid-template-rows 8970ms cubic-bezier(.22, 1, .36, 1),
    opacity 8970ms ease,
    transform 8970ms cubic-bezier(.22, 1, .36, 1);

  opacity: 0;
  transform: translateY(-6px);
}

/* открыто */
.faq__item.is-open .faq__a,
.faq-item.is-open .faq-answer,
.accordion-item.is-open .accordion-panel,
[data-faq-item].is-open [data-faq-panel]{
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.faq__a,
.faq-answer,
.accordion-panel,
[data-faq-panel]{
  overflow: hidden;
}

.faq__icon,
.faq-icon,
.accordion-icon,
[data-faq-icon]{
  transition: transform 8920ms cubic-bezier(.22, 1, .36, 1);
}

/* Smooth details animation helpers */
.sol-faq__item{
  overflow: hidden;
  will-change: height;
}

.sol-faq__a{
  overflow: hidden;
}


/* =========================
   Section 7: CTA (dark)
========================= */
.sol-cta{
  position: relative;
  padding: 120px 0 130px;
  color: #fff;


}

.sol-cta__inner{
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.sol-cta__title{
  margin: 0 auto;
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(34px, 4vw, 58px);
}

.sol-cta__subtitle{
  margin: 28px auto 44px;
  max-width: 60ch;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  font-size: clamp(16px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.62);
}

.sol-cta__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 8px;
  background: #0b63f6;
  color: #fff;
  text-decoration: none;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.sol-cta__btn:hover{
  filter: brightness(1.05);
}

/* Mobile */
@media (max-width: 768px){
  .sol-cta{
    padding: 84px 0 92px;
  }

  .sol-cta__title{
    max-width: 14ch; /* чтобы было 3 строки как в фигме */
  }

  .sol-cta__subtitle{
    margin: 22px auto 34px;
    max-width: 28ch; /* чтобы переносы совпадали */
  }

  .sol-cta__btn{
    width: 100%;
    max-width: 520px;
    padding: 18px 20px;
    font-size: 20px;
    border-radius: 10px;
  }
}



/* =========================================================
   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;
    }

}


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

/* ===== Solution header: remove any blur/glass ===== */
.site-header,
.site-header::before,
.site-header::after,
.header-inner,
.header-inner::before,
.header-inner::after,
.header-nav,
.header-nav::before,
.header-nav::after,
.nav-link--pill,
.lang-btn{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

/* убираем стеклянную подложку/обводку у контейнера навигации (если она есть) */
.header-nav{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* если “пилюли” должны остаться, но без блюра — дай им просто полупрозрачный фон */
.nav-link--pill,
.lang-btn{
  background: rgba(11, 26, 55, 0.55) !important; /* можно сделать transparent если надо совсем без плашек */
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: none !important;
}

/* NAV “pill” only (optional, closer to Figma) */
@media (min-width: 992px){
  .header-nav{
    background: rgba(11, 26, 55, 0.55) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: none !important; /* если хочешь вообще без свечения */
  }
}

