/* Страница "Корпоративным клиентам" (общая основа - dealers.css, seo.css, director.css) */
/* полноширинный баннер (вне контейнера): тянется под шапку и до краёв экрана */
.dl-hero { position: relative; overflow: hidden; margin-top: calc(-1 * var(--sh-gap, 0px)); min-height: 460px; background: #1c2733; display: flex; align-items: center; }
.dl-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dl-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 18, 28, .72) 0%, rgba(8, 18, 28, .4) 55%, rgba(8, 18, 28, .1) 100%); }
.dl-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1520px; margin: 0 auto; padding: 40px clamp(20px, 3.4vw, 56px) 72px; box-sizing: border-box; color: #fff; }
.dl-hero .dir-crumbs { margin-bottom: 64px; color: rgba(255, 255, 255, .7); }
.dl-hero .dir-crumbs a { color: rgba(255, 255, 255, .7); }
.dl-hero .dir-crumbs a:hover { color: #fff; }
.dl-hero .dir-crumbs span:nth-child(2) { color: rgba(255, 255, 255, .4); }
.dl-hero .dl-title { margin: 0; font-family: 'Open Sans', sans-serif; font-size: 52px; line-height: 1.1; font-weight: 300; letter-spacing: .02em; text-transform: uppercase; text-align: left; color: #fff; }

/* единый вертикальный ритм: у каждой секции по 88px сверху и снизу, подряд идущие белые секции не удваивают отступ */
.kp-sec { padding: 88px 0; background: #fff; }
.dl-band + .kp-sec, .kp-sec + .dl-band { margin: 0; }
.kp-sec + .kp-sec { padding-top: 0; }
.dl-hero + .kp-sec { padding-top: 88px; }
.kp-sec--last { padding-bottom: 96px; }
.dl-band { padding: 88px 0; }

/* что мы предлагаем */
.kp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.kp-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e3ecf3; border-radius: 16px; background: #fff; }
.kp-card__img { aspect-ratio: 10 / 7; overflow: hidden; background: #eef3f7; }
.kp-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kp-card__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 18px; padding: 24px 26px 26px; }
.kp-card__body h3 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 600; color: #1c2733; text-align: left; }
.kp-link { margin-top: auto; font-size: 15px; font-weight: 600; color: #1b7fbf; text-decoration: none; }
.kp-link::after { content: ' \2192'; }
.kp-link:hover { text-decoration: underline; color: #1b7fbf; }

/* причины в 3 колонки */
.dl-reasons--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* для кого */
.kp-auds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #dbe6ee; }
.kp-aud { display: flex; flex-direction: column; gap: 14px; padding: 32px 36px 8px; border-left: 1px solid #dbe6ee; }
.kp-aud:first-child { padding-left: 0; border-left: 0; }
.kp-aud:last-child { padding-right: 0; }
.kp-aud h3 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #1b7fbf; text-align: left; }
.kp-aud p { margin: 0; font-size: 18px; line-height: 1.6; font-weight: 400; color: #1c2733; text-align: left; }
.kp-aud .kp-link { margin-top: 6px; }

/* портфолио */
.kp-works { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; margin: 0; padding: 0; list-style: none; }
.kp-work { display: flex; flex-direction: column; gap: 14px; }
.kp-work a { display: block; }
.kp-work__img { display: block; aspect-ratio: 8 / 5; overflow: hidden; border-radius: 14px; background: #eef3f7; }
.kp-work__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kp-work__name { font-size: 15px; line-height: 1.5; color: #4b5b6b; }

@media (max-width: 1100px) {
  .kp-works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-reasons--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .dl-hero { min-height: 0; }
  .dl-hero__inner { padding: 28px 20px 40px; }
  .dl-hero .dir-crumbs { margin-bottom: 40px; }
  .dl-hero .dl-title { font-size: 32px; }
  .kp-sec, .dl-hero + .kp-sec { padding: 56px 0; }
  .kp-sec + .kp-sec { padding-top: 0; }
  .kp-sec--last { padding-bottom: 56px; }
  .dl-band { padding: 56px 0; }
  .kp-cards { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .kp-auds { grid-template-columns: minmax(0, 1fr); }
  .kp-aud, .kp-aud:first-child, .kp-aud:last-child { padding: 24px 0; border-left: 0; border-bottom: 1px solid #dbe6ee; }
  .kp-aud:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .kp-works { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .dl-reasons--3 { grid-template-columns: minmax(0, 1fr); }
}
