/* Новая главная kezi.kz (шаблон kezi-style/home.php). Цвета бренда: #0a3354 тёмно-синий, #1a428f синий. */
.kh{color:#0a3354;font-size:16px;line-height:1.5}
.kh h2{font-size:34px;line-height:1.2;font-weight:700;margin:0;color:inherit}
.kh h3{font-size:18px;line-height:1.3;font-weight:700;margin:0;color:inherit}
.kh p{margin:0}
.kh-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 32px;flex-wrap:wrap;margin-bottom:28px}
.kh-head p{margin-top:8px;color:#44566c;max-width:620px}
.kh-link{color:#1a428f!important;font-weight:600;text-decoration:none!important;white-space:nowrap}
.kh-link:hover{text-decoration:underline!important}
.kh-btn{display:inline-flex;align-items:center;justify-content:center;height:50px;padding:0 26px;border-radius:12px;font-size:16px;font-weight:600;
  text-decoration:none!important;white-space:nowrap;transition:background .2s,color .2s,border-color .2s,transform .2s}
.kh-btn--main{background:#fff;color:#0a3354!important;border:1px solid #fff}
.kh-btn--main:hover{background:#e8eef8;transform:translateY(-1px)}
.kh-btn--ghost{background:transparent;color:#fff!important;border:1px solid rgba(255,255,255,.55)}
.kh-btn--ghost:hover{background:rgba(255,255,255,.1);border-color:#fff}

/* 1. Первый экран */
.kh-hero{position:relative;background:#0a3354;color:#fff;padding:120px 0 128px;overflow:hidden;isolation:isolate}
.kh-hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;display:block}
/* затемнение только слева, под текстом; справа видео без плёнки */
.kh-hero::before{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(90deg,rgba(6,28,48,.8) 0%,rgba(6,28,48,.55) 38%,rgba(6,28,48,.12) 66%,rgba(6,28,48,0) 85%)}
.kh-hero h1,.kh-hero .kh-lead{text-shadow:0 1px 18px rgba(0,0,0,.35)}
.kh-hero__grid{display:block}
.kh-hero__text{max-width:820px}
.kh-eyebrow{display:inline-block;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#b9c8da;margin-bottom:18px!important}
.kh-hero h1{font-size:56px;line-height:1.12;font-weight:700;margin:0 0 20px;color:#fff;letter-spacing:-.01em}
.kh-lead{font-size:19px;line-height:1.55;color:#d7e1ee;max-width:640px;margin-bottom:22px!important}
.kh-accent{color:#8fc4ff;display:inline}
.kh-cats{list-style:none;margin:0 0 32px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.kh-cats li{padding:7px 14px;border-radius:999px;font-size:14px;font-weight:600;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(4px)}
.kh-actions{display:flex;gap:12px;flex-wrap:wrap}
.kh-hero__shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);
  border-radius:24px;padding:18px;transform:rotate(-2deg)}
.kh-pack{background:#fff;border-radius:16px;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.18)}
.kh-pack img{width:88%;height:88%;object-fit:contain;display:block}
.kh-pack--1,.kh-pack--3,.kh-pack--4,.kh-pack--6{transform:translateY(14px)}

/* 2. Цифры */
.kh-stats{background:#fff;border-bottom:1px solid #e6ecf3}
.kh-stats ul{list-style:none;margin:0;padding:26px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.kh-stats li{display:flex;flex-direction:column;gap:4px;padding-left:16px;border-left:3px solid #1a428f}
.kh-stats strong{font-size:30px;line-height:1.1;font-weight:700;color:#1a428f}
.kh-stats span{font-size:14px;color:#44566c;line-height:1.35}

/* 3. Бренды — сетка из brands.css, на главной на светлом фоне */
.brands.kh-brands{background:#fff!important;padding:72px 0!important}
.kh-brands .kh-head h2{color:#0a3354}
.kh-brands .brands__grid .item{box-shadow:0 0 0 1px #e3e9f1,0 2px 6px rgba(10,51,84,.05)!important}
.kh-brands .brands__grid .item:hover{box-shadow:0 0 0 1px #c9d6e6,0 12px 28px rgba(10,51,84,.14)!important}

/* 4. Каталог по регионам */
.kh-catalog{background:#f3f6fb;padding:72px 0}
.kh-regions{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.kh-region{display:flex;flex-direction:column;gap:8px;background:#fff;border-radius:16px;padding:24px;text-decoration:none!important;color:#0a3354!important;
  box-shadow:0 0 0 1px #e3e9f1;transition:transform .2s,box-shadow .2s}
.kh-region:hover{transform:translateY(-3px);box-shadow:0 0 0 1px #c9d6e6,0 12px 28px rgba(10,51,84,.12)}
.kh-region__name{font-size:20px;font-weight:700}
.kh-region__cities{font-size:14px;color:#5b6c80;min-height:42px}
.kh-region__go{margin-top:8px;color:#1a428f;font-weight:600}

/* 5. Шаги */
.kh-steps{background:#fff;padding:72px 0}
.kh-steps h2{margin-bottom:32px}
.kh-steps ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;counter-reset:none}
.kh-steps li{position:relative;padding:28px 24px 24px;border-radius:16px;background:#f3f6fb}
.kh-num{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#1a428f;color:#fff;
  font-weight:700;font-size:18px;margin-bottom:16px}
.kh-steps li h3{margin-bottom:8px}
.kh-steps li p{color:#44566c;font-size:15px}

/* 6. Почему удобно */
.kh-why{background:#0a3354;color:#fff;padding:72px 0}
.kh-why h2{margin-bottom:32px;color:#fff}
.kh-why ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.kh-why li{border-radius:16px;padding:24px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.kh-why li h3{color:#fff;margin-bottom:8px;padding-top:36px;position:relative}
.kh-why li h3::before{content:"";position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;background:#fff}
.kh-why li h3::after{content:"";position:absolute;left:8px;top:5px;width:7px;height:12px;border:solid #0a3354;border-width:0 2px 2px 0;transform:rotate(45deg)}
.kh-why li p{color:#c4d1e1;font-size:15px}

/* 7. Форма — стили kz-buy из brands.css (возвращаем отступы, которые сбрасывает .kh h2/p) */
.kh .kz-buy h2{margin-bottom:14px}
.kh .kz-buy__text>p:not(.kh-phone){margin-bottom:22px}
.kh-form .kh-phone{margin-top:8px!important;font-size:15px;color:#44566c}
.kh-form .kh-phone a{font-size:22px;font-weight:700;color:#1a428f;text-decoration:none}

/* 8. Филиалы */
.kh-branches{background:#fff;padding:72px 0}
.kh-branches__grid{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;align-items:start}
.kh-branches__list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.kh-branch{border-radius:14px;padding:16px 18px;background:#f3f6fb}
.kh-branch h3{font-size:16px;margin-bottom:4px}
.kh-branch p{font-size:14px;color:#44566c}
.kh-branch a{display:inline-block;margin-top:6px;font-size:14px;font-weight:600;color:#1a428f;text-decoration:none}
.kh-branches__map{border-radius:20px;background:#0a3354;padding:16px}
.kh-branches__map img{width:100%;height:auto;display:block}

/* 9. Производителям, 10. Вакансии */
.kh-maker{background:#f3f6fb;padding:40px 0}
.kh-maker__row{display:flex;align-items:center;justify-content:space-between;gap:16px 32px;flex-wrap:wrap}
.kh-maker h2{font-size:24px}
.kh-maker p{color:#44566c;margin-top:4px}
.kh-maker .kh-btn--ghost{color:#1a428f!important;border-color:#1a428f}
.kh-maker .kh-btn--ghost:hover{background:#1a428f;color:#fff!important}
.kh-job{background:#fff;padding:22px 0;border-top:1px solid #e6ecf3}
.kh-job a{color:#44566c;text-decoration:none;font-size:15px}
.kh-job a:hover{color:#1a428f}

/* Блок «О компании» на главной */
.kh-about{background:#f3f6fb;padding:72px 0}
.kh-about__grid{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:center}
.kh-about__eyebrow{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#1a428f;margin-bottom:12px!important}
.kh-about h2{margin-bottom:16px}
.kh-about__p{color:#44566c;font-size:16px;line-height:1.6;margin-bottom:24px!important}
.kh-about__actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.kh-btn--blue{background:#1a428f;color:#fff!important;border:1px solid #1a428f}
.kh-btn--blue:hover{background:#15367a}
.kh-about__mission{margin:0;background:#0a3354;color:#fff;border-radius:20px;padding:32px 32px 36px;position:relative;overflow:hidden}
.kh-about__mission::before{content:"“";position:absolute;right:20px;top:-18px;font-size:160px;line-height:1;color:rgba(255,255,255,.08);font-family:Georgia,serif}
.kh-about__mission span{display:block;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#8fc4ff;margin-bottom:12px}
.kh-about__mission p{font-size:20px;line-height:1.5;color:#fff}

/* Страница «О компании» */
.ka-hero{background:linear-gradient(120deg,#0a3354 0%,#123f75 70%,#1a428f 100%);color:#fff;padding:96px 0 80px}
.ka-hero h1{font-size:52px;line-height:1.1;font-weight:700;margin:0 0 18px;color:#fff}
.ka-who{background:#fff;padding:72px 0}
.ka-who__grid{display:grid;grid-template-columns:1.5fr 1fr;gap:48px;align-items:start}
.ka-who h2{margin-bottom:18px}
.ka-who p{color:#44566c;font-size:17px;line-height:1.65;margin-bottom:14px!important}
.ka-pres{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;align-items:center;padding:24px;border-radius:18px;background:#f3f6fb;
  box-shadow:0 0 0 1px #e3e9f1;text-decoration:none!important;color:#0a3354!important;transition:transform .2s,box-shadow .2s}
.ka-pres:hover{transform:translateY(-3px);box-shadow:0 0 0 1px #c9d6e6,0 12px 28px rgba(10,51,84,.12)}
.ka-pres__icon{grid-row:1/3;width:56px;height:56px;border-radius:14px;background:#1a428f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}
.ka-pres strong{display:block;font-size:17px}
.ka-pres strong+span{font-size:13px;color:#5b6c80}
.ka-pres__go{grid-column:2;color:#1a428f;font-weight:600}
.ka-mission .ka-mission__text{font-size:22px;line-height:1.5;color:#fff;max-width:880px;margin:-12px 0 32px!important}
.ka-mission ul.ka-mission__cards{grid-template-columns:repeat(3,1fr)}
.ka-principles ol{grid-template-columns:repeat(4,1fr)}

/* Адаптив */
@media (max-width:1100px){
  .ka-principles ol{grid-template-columns:repeat(2,1fr)}
  .ka-mission ul.ka-mission__cards{grid-template-columns:1fr}
  .kh-hero h1{font-size:44px}
  .kh-hero{padding:88px 0 96px}
  .kh-stats ul{grid-template-columns:repeat(2,1fr)}
  .kh-why ul{grid-template-columns:repeat(2,1fr)}
  .kh-branches__grid{grid-template-columns:1fr}
}
@media (max-width:900px){
  .kh-about__grid,.ka-who__grid{grid-template-columns:1fr;gap:28px}
  .kh-hero__grid{grid-template-columns:1fr;gap:36px}
  .kh-hero__shelf{transform:none}
  .kh-regions,.kh-steps ol{grid-template-columns:1fr}
}
@media (max-width:768px){
  .kh-hero::before{background:rgba(6,28,48,.68)}
  .kh h2{font-size:26px}
  .kh-hero{padding:48px 0 56px}
  .kh-hero h1{font-size:30px}
  .kh-lead{font-size:16px;margin-bottom:18px!important}
  .kh-cats{margin-bottom:24px;gap:6px}
  .kh-cats li{font-size:12px;padding:6px 11px}
  .kh-actions .kh-btn{flex:1 1 100%}
  .kh-hero__shelf{gap:8px;padding:10px;border-radius:18px}
  .kh-pack{border-radius:10px}
  .kh-pack--1,.kh-pack--3,.kh-pack--4,.kh-pack--6{transform:none}
  .kh-stats ul{grid-template-columns:repeat(2,1fr);padding:20px 0}
  .kh-stats strong{font-size:24px}
  .brands.kh-brands,.kh-catalog,.kh-steps,.kh-why,.kh-branches{padding:48px 0!important}
  .kh-why ul,.kh-branches__list{grid-template-columns:1fr}
  .kh-maker .kh-btn{width:100%}
  .kh-head{margin-bottom:18px}
  .kh-about{padding:48px 0}
  .kh-about__mission{padding:24px}
  .kh-about__mission p{font-size:17px}
  .ka-hero{padding:56px 0 48px}
  .ka-hero h1{font-size:34px}
  .ka-who{padding:48px 0}
  .ka-who p{font-size:15px}
  .ka-mission .ka-mission__text{font-size:17px}
  .ka-principles ol{grid-template-columns:1fr}
  /* компактнее на телефоне */
  .kh-brands .brands__grid .item{flex-basis:calc((100% - 24px) / 3)!important}
  .kh-brands .brands__grid .item img{height:72px!important;padding:8px 10px!important}
  .kh-brands .brands__grid .item .bottom{display:none!important}
  .kh-regions{gap:10px}
  .kh-region{padding:16px 18px;gap:4px}
  .kh-region__name{font-size:18px}
  .kh-region__cities{min-height:0;font-size:13px}
  .kh-region__go{margin-top:4px}
  .kh-steps h2,.kh-why h2{margin-bottom:20px}
  .kh-steps ol{gap:10px}
  .kh-steps li{display:grid;grid-template-columns:40px 1fr;column-gap:14px;padding:16px}
  .kh-num{grid-row:1/3;margin:0}
  .kh-steps li h3{margin-bottom:2px;font-size:17px}
  .kh-steps li p{font-size:14px}
  .kh-why ul{grid-template-columns:1fr 1fr;gap:10px}
  .kh-why li{padding:16px}
  .kh-why li h3{font-size:15px;padding-top:30px}
  .kh-why li p{font-size:13px}
  .kh-branches__list{grid-template-columns:1fr 1fr;gap:8px}
  .kh-branch{padding:12px}
  .kh-branch h3{font-size:14px}
  .kh-branch p,.kh-branch a{font-size:12px}
  .kh-branches__map{display:none}
}
