/* Первый экран — один компонент на весь сайт.
   Разметка: template-parts/hero.php, данные: inc/hero.php.
   Раньше здесь было три набора стилей: #slider для лендингов, .phero для копки
   и ничего для текстовых страниц. */

.hero {position: relative; padding: 52px 0 58px; background: #17200d center / cover no-repeat; color: #fff;}
.hero::before {content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12, 22, 6, .92) 0%, rgba(12, 22, 6, .8) 46%, rgba(12, 22, 6, .5) 100%);}
.hero > .container {position: relative;}

.hero__in {display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center;}

.hero .breadcrumbs {margin-bottom: 16px; font-size: 13.5px; color: rgba(255, 255, 255, .6); white-space: normal; overflow-wrap: anywhere;}
.hero .breadcrumbs a {color: rgba(255, 255, 255, .82) !important;}
.hero .breadcrumbs a:hover {color: var(--kp-lime, #a4d020) !important;}

.hero h1 {max-width: 18ch; margin: 0 0 16px; color: #fff; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.12; text-align: left; text-transform: none; text-wrap: balance;}
.hero__lead {max-width: 56ch; margin: 0 0 24px; font-size: 16.5px; line-height: 1.65; color: rgba(255, 255, 255, .88);}

.hero__cta {display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px;}
.hero__tel {display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); color: #fff !important; font-size: 19px; font-weight: 800; text-decoration: none;}
.hero__tel:hover {background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1.5px var(--kp-lime, #a4d020); color: #fff !important;}
.hero__btn {padding: 15px 30px; border: 0; border-radius: 999px; background: var(--kp-grad); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer;}
.hero__btn:hover {transform: translateY(-1px); filter: brightness(1.06);}

.hero__bullets {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none;}
.hero__bullets li {position: relative; padding: 13px 18px 13px 46px; border-radius: 14px; background: rgba(12, 22, 6, .46); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13); font-size: 15px; line-height: 1.45;}
.hero__bullets li::before {content: ""; position: absolute; left: 15px; top: 14px; width: 19px; height: 19px; border-radius: 50%; background: var(--kp-lime, #a4d020);}
.hero__bullets li::after {content: ""; position: absolute; left: 21px; top: 18px; width: 5px; height: 9px; border-right: 2px solid #1e2c05; border-bottom: 2px solid #1e2c05; transform: rotate(45deg);}
.hero__bullets b, .hero__bullets strong {color: #fff;}

.hero__card {padding: 24px 24px 22px; border-radius: 22px; background: rgba(255, 255, 255, .97); color: var(--kp-ink, #1c2410); box-shadow: 0 24px 50px rgba(8, 16, 4, .3);}
.hero__card-label {margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #7b8a5a;}
.hero__card-price {display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; line-height: 1.1;}
.hero__card-price span {font-size: 16px; font-weight: 600; color: #7b8a5a;}
.hero__card-price b {font-size: 32px; font-weight: 800; color: var(--kp-green, #4d9b42);}
.hero__card-price i {flex-basis: 100%; font-size: 14px; font-style: normal; font-weight: 600; color: #7b8a5a;}
.hero__card-note {margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: #5c6a48;}
.hero__card-list {margin: 0 0 18px; padding: 16px 0 0; border-top: 1px solid #e7ece0; list-style: none;}
.hero__card-list li {position: relative; margin-bottom: 9px; padding-left: 26px; font-size: 14.5px; line-height: 1.4;}
.hero__card-list li:last-child {margin-bottom: 0;}
.hero__card-list li::before {content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: rgba(164, 208, 32, .25);}
.hero__card-list li::after {content: ""; position: absolute; left: 6px; top: 6px; width: 4px; height: 8px; border-right: 2px solid var(--kp-green, #4d9b42); border-bottom: 2px solid var(--kp-green, #4d9b42); transform: rotate(45deg);}
.hero__card-btn {width: 100%; padding: 14px 18px; border: 0; border-radius: 999px; background: var(--kp-grad); color: #fff; font-size: 15.5px; font-weight: 700; cursor: pointer;}
.hero__card-time {margin-top: 10px; font-size: 13px; text-align: center; color: #7b8a5a;}

@media (max-width: 1023px) {
	.hero__in {grid-template-columns: 1fr; gap: 24px; align-items: start;}
	.hero h1 {max-width: none;}
	.hero__card {max-width: 460px;}
}

@media (max-width: 640px) {
	.hero {padding: 22px 0 34px;}
	.hero h1 {font-size: 29px; line-height: 1.15;}
	.hero__lead {font-size: 15.5px; margin-bottom: 20px;}
	.hero__cta {gap: 10px; margin-bottom: 18px;}
	.hero__tel, .hero__btn {flex: 1 1 100%; justify-content: center; text-align: center;}
	.hero__tel {font-size: 18px; padding: 14px 20px;}
	.hero__bullets {grid-template-columns: 1fr;}
	.hero__bullets li:nth-child(n+3) {display: none;}
	.hero__bullets li {padding: 12px 15px 12px 42px; font-size: 14.5px; border-radius: 12px;}
	.hero__bullets li::before {left: 13px; top: 13px;}
	.hero__bullets li::after {left: 19px; top: 17px;}
	.hero__card {max-width: none; padding: 20px 18px 18px; border-radius: 18px;}
	.hero__card-price b {font-size: 28px;}
}
