/* ===================== STICKY MENU (CSS) ===================== */
:root{ --kppnav-h: 78px; }

.kppnav, .kppnav *{
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Arial, 'Noto Sans', 'Helvetica Neue', sans-serif !important;
}

.kppnav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;

  height: var(--kppnav-h);
  display: flex;
  align-items: center;

  /* В САМОМ ВЕРХУ (над hero) — светлый текст на тёмном фоне */
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(225,0,58,.22);

  color: #ffffff;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.kppnav__wrap{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  height: 100%;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.kppnav__brand{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 0;
}

.kppnav__logo{
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1;
  white-space: nowrap;
}
.kppnav__logo .a{ color:#e1003a; }
.kppnav__logo .b{ color: currentColor; opacity: .95; margin-left:6px; }

.kppnav__tag{
  font-size: 12px;
  line-height: 1.25;
  opacity: .82;
  max-width: 340px;
  color: currentColor;
}

.kppnav__actions{
  display:flex;
  align-items:center;
  gap: 14px;
}

.kppnav__phone{
  display:flex;
  align-items:center;
  gap: 10px;
  color: currentColor;
  text-decoration:none;
  font-weight: 800;
  opacity:.95;
  white-space:nowrap;
}
.kppnav__phone:hover{ opacity: 1; }

.kppnav__btn{
  color: currentColor !important;
  -webkit-text-fill-color: currentColor;
  text-decoration:none !important;

  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px;

  border: 1px solid rgba(225,0,58,.95);
  border-radius: 12px;
  padding: 12px 16px;

  background: rgba(0,0,0,.18);
  transition: background .25s ease, color .25s ease;
}
.kppnav__btn:hover{ background: rgba(225,0,58,.12); }

/* ПОСЛЕ СКРОЛЛА (на белых секциях) — тёмный текст на светлом фоне */
.kppnav.is-scrolled{
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(0,0,0,.08);
  color: #101010;
}

.kppnav.is-scrolled .kppnav__tag{ opacity: .72; }
.kppnav.is-scrolled .kppnav__btn{ background: rgba(0,0,0,.02); }

/* Mobile */
@media (max-width: 520px){
  :root{ --kppnav-h: 64px; }

  .kppnav__wrap{ width: calc(100% - 32px); }
  .kppnav__logo{ font-size: 22px; }
  .kppnav__tag{ display:none; }
  .kppnav__phone span{ display:none; }
  .kppnav__btn{ padding: 10px 12px; font-size: 11px; }
}
/* ===================== HERO (CSS) ===================== */
.kppref-hero, .kppref-hero *{
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Arial, 'Noto Sans', 'Helvetica Neue', sans-serif !important;
}
.kppref-hero a{ color: inherit; text-decoration: none; }

/* Root */
.kppref-hero{
  position: relative;
  overflow: hidden;
  color:#fff;

  width: 100vw;
  margin-left: calc(50% - 50vw);

  background:#07080b;

  /* ВАЖНО: сверху учитываем липкое меню */
  padding: calc(var(--kppnav-h) + 34px) 0 28px;
}

.kppref-wrap{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* BG */
.kppref-bg{ position:absolute; inset:0; z-index:0; }
.kppref-bg__img{
  position:absolute; inset:-2%;
  background-image: url("https://static.tildacdn.com/tild3362-3539-4238-b239-326230646466/image.png");
  background-size: cover;
  background-position: center;
  filter: contrast(1.1) saturate(.95);
  transform: scale(1.03);
}
.kppref-bg__shade{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.62) 55%, rgba(0,0,0,.78) 100%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.30) 45%, rgba(0,0,0,.70) 100%);
}

/* Right bars */
.kppref-bars{ position:absolute; inset:0; pointer-events:none; z-index:1; }
.kppref-bars span{
  position:absolute;
  right: 36px;
  height: 12px;
  width: 120px;
  background: #b3002d;
  opacity:.9;
  transform: skewX(-18deg);
}
.kppref-bars span:nth-child(1){ top: 110px; width: 120px; opacity:.9;}
.kppref-bars span:nth-child(2){ top: 160px; width: 90px;  opacity:.65;}
.kppref-bars span:nth-child(3){ top: 215px; width: 140px; opacity:.9;}
.kppref-bars span:nth-child(4){ top: 270px; width: 78px;  opacity:.55;}
.kppref-bars span:nth-child(5){ top: 325px; width: 132px; opacity:.82;}
.kppref-bars span:nth-child(6){ top: 380px; width: 86px;  opacity:.55;}
.kppref-bars span:nth-child(7){ top: 435px; width: 148px; opacity:.9;}
.kppref-bars span:nth-child(8){ top: 490px; width: 96px;  opacity:.6;}
.kppref-bars span:nth-child(9){ top: 545px; width: 138px; opacity:.86;}

/* Title */
.kppref-title{
  margin: 0 0 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: .95;
  transform: skewX(-10deg);
  text-shadow: 0 18px 44px rgba(0,0,0,.55);
}

/* Feats */
.kppref-feats{
  display:flex;
  flex-wrap:wrap;
  gap: 18px 34px;
  margin: 0 0 18px;
}
.kppref-feat{
  display:flex; align-items:flex-start; gap: 10px;
  min-width: 220px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.3;
  opacity:.95;
}
.kppref-ico{
  width: 36px; height: 36px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  color:#e1003a;
  background: rgba(225,0,58,.10);
  border: 1px solid rgba(225,0,58,.22);
  flex: 0 0 auto;
}

/* Lead */
.kppref-lead{
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  opacity: .88;
  max-width: 760px;
}

/* CTA */
.kppref-cta{
  display:flex;
  align-items:center;
  gap: 18px;
  flex-wrap:wrap;
  margin-bottom: 22px;
}
.kppref-btn{
  display:flex;
  overflow:hidden;
  border-radius: 14px;
}
.kppref-btn__main,
.kppref-btn__main:link,
.kppref-btn__main:visited,
.kppref-btn__main:hover,
.kppref-btn__main:active{
  background:#e1003a;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff;
  text-decoration:none !important;
  text-shadow:none !important;

  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 16px 22px;
  min-width: 250px;
  display:flex; align-items:center; justify-content:center;
}
.kppref-btn__arrow,
.kppref-btn__arrow:link,
.kppref-btn__arrow:visited,
.kppref-btn__arrow:hover,
.kppref-btn__arrow:active{
  width: 70px;
  background:#c40033;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff;
  text-decoration:none !important;
  text-shadow:none !important;

  display:flex; align-items:center; justify-content:center;
  font-size: 18px;
}
.kppref-note{
  font-size: 12px;
  line-height: 1.35;
  opacity: .75;
  max-width: 420px;
}

/* Bottom strip */
.kppref-bottom{
  margin-top: 18px;
  border-top: 1px solid rgba(225,0,58,.35);
  padding-top: 16px;
}
.kppref-strip{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.kppref-seg{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px 18px;
  min-height: 64px;
  background: rgba(0,0,0,.18);
}
.kppref-seg + .kppref-seg{
  border-left: 2px solid rgba(225,0,58,.45);
  transform: skewX(-12deg);
}
.kppref-seg + .kppref-seg > *{ transform: skewX(12deg); }
.kppref-seg .t{
  font-size: 13px;
  line-height: 1.35;
  opacity: .92;
}

/* Responsive */
@media (max-width: 980px){
  .kppref-strip{ grid-template-columns: 1fr; }
  .kppref-seg + .kppref-seg{
    border-left: none;
    border-top: 1px solid rgba(225,0,58,.35);
    transform:none;
  }
  .kppref-seg + .kppref-seg > *{ transform:none; }
}

@media (max-width: 520px){
  .kppref-title{ font-size: 34px; transform: skewX(-10deg); }

  .kppref-feats{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
  }
  .kppref-feat{ min-width: 0; max-width: none; font-size: 13px; }
  .kppref-feat:nth-child(3){ grid-column: 1 / -1; }

  .kppref-btn{ width: 100%; }
  .kppref-btn__main{ min-width: 0; flex: 1 1 auto; }
  .kppref-btn__arrow{ width: 62px; }

  .kppref-bars{ display:none !important; }
}


/*НОВЫЙ

/* ===== KPP PRO: About / Philosophy block (CSS) ===== */
.kppabout,
.kppabout * {
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Arial, 'Noto Sans', 'Helvetica Neue', sans-serif;
}

.kppabout{
  background: #fff;
  padding: 90px 0;
}

.kppabout__wrap{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.kppabout__row{
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  align-items: start;
}

.kppabout__row--bottom{
  margin-top: 72px;
  grid-template-columns: 1.35fr 1fr; /* image left, text right */
}

.kppabout__text{
  max-width: 520px;
}

.kppabout__title,
.kppabout__subtitle{
  margin: 0 0 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.05;
  color: #121212;
  transform: skewX(-10deg);
}

.kppabout__title{
  font-size: clamp(24px, 2.2vw, 34px);
}

.kppabout__subtitle{
  font-size: clamp(22px, 2vw, 30px);
}

.kppabout__brand{
  color: #e1003a;
}

.kppabout__copy p{
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #2a2a2a;
}

.kppabout__muted{
  margin-top: 12px;
  color: #6b6b6b !important;
  font-size: 12px !important;
}

.kppabout__media{
  width: 100%;
}

.kppabout__img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
}

/* ===== CTA (updated to match reference / hero) ===== */
.kppabout__cta{
  margin-top: 26px;
}

.kppabout__btnWrap{
  display: inline-flex;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(225,0,58,.22);
}

.kppabout__btnMain,
.kppabout__btnMain:link,
.kppabout__btnMain:visited,
.kppabout__btnMain:hover,
.kppabout__btnMain:active{
  background: #e1003a;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  text-decoration: none !important;

  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px;

  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
}

.kppabout__btnArrow,
.kppabout__btnArrow:link,
.kppabout__btnArrow:visited,
.kppabout__btnArrow:hover,
.kppabout__btnArrow:active{
  width: 64px;
  background: #c40033;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  text-decoration: none !important;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.kppabout__btnMain:hover,
.kppabout__btnArrow:hover{
  filter: brightness(1.05);
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .kppabout{ padding: 64px 0; }
  .kppabout__row,
  .kppabout__row--bottom{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .kppabout__row--bottom{ margin-top: 44px; }
  .kppabout__text{ max-width: 100%; }
  .kppabout__title,
  .kppabout__subtitle{
    transform: skewX(-8deg);
  }
}

@media (max-width: 520px){
  .kppabout__wrap{ width: calc(100% - 32px); }
  .kppabout__copy p{ font-size: 13px; }

  .kppabout__btnWrap{
    width: 100%;
  }
  .kppabout__btnMain{
    min-width: 0;
    flex: 1 1 auto;
  }
}
/* ===================== STEPS: KPP PRO (CSS) ===================== */
.kppsteps,
.kppsteps *{
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Arial, 'Noto Sans', 'Helvetica Neue', sans-serif;
}

.kppsteps{
  background: #f4f4f4;
  padding: 70px 0;
}

.kppsteps__wrap{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.kppsteps__title{
  margin: 0 0 28px;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 900;
  color: #3b3f46;
}

.kppsteps__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.kppsteps__card{
  background: #ffffff;
  padding: 28px 28px 30px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.kppsteps__num{
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #e1003a; /* можно поменять на оранжевый как в рефе */
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 14px;
}

.kppsteps__h{
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  color: #2b2f36;
}

.kppsteps__p{
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #5a5f69;
}

/* Responsive */
@media (max-width: 980px){
  .kppsteps__title{ font-size: 34px; }
  .kppsteps__grid{ grid-template-columns: 1fr; }
  .kppsteps__card{ padding: 24px; }
}

@media (max-width: 520px){
  .kppsteps{ padding: 54px 0; }
  .kppsteps__wrap{ width: calc(100% - 32px); }
}
/* ===== FOOTER: KPP PRO ===== */
.kpp-footer,
.kpp-footer * {
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Arial, 'Noto Sans', 'Helvetica Neue', sans-serif;
}

.kpp-footer {
  background: #0b0c10;
  color: #e5e5e5;
  padding: 70px 0 30px;
}

.kpp-footer__wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 48px;
}

.kpp-footer__logo {
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 26px;
  margin-bottom: 14px;
}

.kpp-footer__logo .a { color: #e1003a; }
.kpp-footer__logo .b { color: #fff; margin-left: 6px; }

.kpp-footer__desc {
  font-size: 13px;
  line-height: 1.6;
  opacity: .9;
  margin-bottom: 12px;
}

.kpp-footer__note {
  font-size: 11px;
  opacity: .6;
}

.kpp-footer__title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: .04em;
}

.kpp-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kpp-footer__list li {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.kpp-footer__list span {
  color: #9b9b9b;
  margin-right: 6px;
}

.kpp-footer__list a {
  color: #fff;
  text-decoration: none;
}

.kpp-footer__links {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.kpp-footer__links li {
  margin-bottom: 10px;
}

.kpp-footer__links a {
  color: #e5e5e5;
  font-size: 13px;
  text-decoration: none;
  opacity: .85;
}

.kpp-footer__links a:hover {
  opacity: 1;
  color: #e1003a;
}

.kpp-footer__socials {
  display: flex;
  gap: 12px;
}

.kpp-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.kpp-footer__socials a:hover {
  background: #e1003a;
}

.kpp-footer__bottom {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: 12px;
  opacity: .6;
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .kpp-footer__wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}


.kppterms,
.kppterms *{
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Arial, 'Noto Sans', 'Helvetica Neue', sans-serif;
}

.kppterms{
  background: #f4f4f4;
  padding: 78px 0;
}

.kppterms__wrap{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.kppterms__title{
  margin: 0 0 28px;
  font-weight: 900;
  font-size: 42px;
  line-height: 1.12;
  color: #3b3f46;
}

.kppterms__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.kppterms__card{
  background: #ffffff;
  padding: 26px 26px 24px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  min-height: 260px;
}

.kppterms__head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.kppterms__icon{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e1003a;
  color: #ffffff;
  flex: 0 0 auto;
}

.kppterms__icon svg{
  width: 20px;
  height: 20px;
  display: block;
}

.kppterms__h{
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  color: #2b2f36;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.kppterms__p{
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #5a5f69;
}

.kppterms__muted{
  color: #7a808b;
  font-size: 12px;
  margin-top: 8px;
}

.kppterms__list{
  margin: 0 0 12px;
  padding-left: 18px;
  color: #5a5f69;
  font-size: 14px;
  line-height: 1.6;
}

.kppterms__list li{
  margin: 0 0 6px;
}

.kppterms__foot{
  margin-top: 22px;
  border-top: 2px solid rgba(225,0,58,.18);
  padding-top: 16px;
}

.kppterms__fine{
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #6b6f78;
}

/* Responsive */
@media (max-width: 1100px){
  .kppterms__grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .kppterms__card{ min-height: 0; }
}

@media (max-width: 980px){
  .kppterms{ padding: 62px 0; }
  .kppterms__title{ font-size: 34px; }
  .kppterms__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .kppterms__wrap{ width: calc(100% - 32px); }
  .kppterms__title{ font-size: 28px; }
}
