/* Перший екран головної: власні компоненти без залежності від шапок каталогу. */
.home-page .container { width: min(1480px, calc(100% - 64px)); }
.home-hero { margin-top: 24px; overflow: hidden; border: 1px solid #f0e7e4; border-radius: 18px; background: #f6eeeb; }
.home-hero-slides { display: grid; }
.home-hero-slide { display: grid; grid-area: 1 / 1; grid-template-columns: minmax(0,49fr) minmax(0,51fr); min-width: 0; min-height: clamp(430px,31vw,490px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s ease, visibility .35s ease; }
.home-hero-slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.home-hero-text { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: 36px clamp(30px,3.8vw,62px); }
.home-hero-text .eyebrow { color: #936c74; font-size: 12px; font-weight: 700; letter-spacing: 2.3px; }
.home-hero-title { margin: 18px 0 15px; color: #23352c; font-size: clamp(46px,3.5vw,54px); font-weight: 700; line-height: 1.15; letter-spacing: -1.7px; }
.home-hero-title > span { display: block; }
.home-hero-text p { max-width: 440px; margin: 0 0 24px; color: #657069; font-size: clamp(17px,1.3vw,19px); line-height: 1.65; }
.home-hero-text .main-button { min-height: 47px; flex: 0 0 auto; padding: 12px 24px; border-radius: 8px; font-size: 15px; }
.home-hero-image { min-width: 0; background-color: #eee4df; background-position: center; background-size: cover; }
.home-hero-image-one { background-image: url('https://images.unsplash.com/photo-1596462502278-27bfdc403348?w=1200&auto=format&fit=crop'); }
.home-hero-image-two { background-image: url('https://images.unsplash.com/photo-1608248543803-ba4f8c70ae0b?w=1200&auto=format&fit=crop'); }
.home-hero-controls { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 20px; padding: 6px 20px 6px clamp(30px,3.8vw,62px); border-top: 1px solid rgba(147,108,116,.1); }
.home-slide-dots, .home-slide-arrows { display: flex; align-items: center; gap: 8px; }
.home-slide-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 20px; background: #cdbebb; transition: width .2s ease, background .2s ease; }
.home-slide-dots button.active { width: 23px; background: var(--accent-dark); }
.home-slide-arrow { display: grid; width: 34px; height: 32px; place-items: center; padding: 0; border: 1px solid #dfd4cf; border-radius: 8px; background: rgba(255,255,255,.7); color: var(--accent-dark); }
.home-slide-arrow:hover { border-color: var(--accent-dark); background: #fff; }
.home-slide-arrow .icon-svg { width: 18px; height: 18px; }
.home-slide-next .icon-svg { transform: rotate(180deg); }
.home-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.home-benefits > div { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 11px; padding: 13px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.home-benefits .icon-svg { width: 21px; height: 21px; color: var(--accent); }
.home-benefits span { min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.45; }
.home-page .section-heading h2 { font-size: clamp(30px,2.7vw,38px); }

@media (max-width: 1100px) {
.home-hero-text { padding: 30px; }
    .home-hero-title { font-size: 46px; letter-spacing: -1.5px; }
}
@media (max-width: 900px) {
    .home-page .container { width: calc(100% - 40px); }
.home-hero { margin-top: 18px; }
    .home-hero-slide { grid-template-columns: 1fr; min-height: 0; }
    .home-hero-image { grid-row: 1; height: 245px; background-position: center 48%; }
    .home-hero-text { padding: 30px 36px; }
    .home-hero-title { font-size: 40px; letter-spacing: -1.1px; }
    .home-hero-text p { max-width: 520px; font-size: 17px; }
    .home-hero-controls { padding-left: 36px; }
    .home-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
}
@media (max-width: 650px) {
    .home-page .container { width: calc(100% - 28px); }
.home-hero { margin-top: 12px; border-radius: 13px; }
    .home-hero-image { height: clamp(190px,54vw,240px); }
    .home-hero-text { padding: 25px 24px 28px; }
    .home-hero-title { margin: 13px 0; font-size: clamp(30px,8.2vw,38px); line-height: 1.16; letter-spacing: -1px; }
    .home-hero-text .eyebrow { font-size: 10px; letter-spacing: 2px; }
    .home-hero-text p { margin-bottom: 20px; font-size: 16px; line-height: 1.6; }
    .home-hero-controls { padding-left: 24px; padding-right: 16px; }
    .home-benefits { padding: 15px 0; }
    .home-benefits > div { justify-content: flex-start; gap: 8px; padding: 11px 9px; }
    .home-benefits .icon-svg { width: 19px; height: 19px; }
    .home-benefits span { font-size: 12px; }
}
/* Readable banner typography without oversized text. */
.home-hero h1, .home-hero h2 { font-size: clamp(30px,3.4vw,48px); line-height: 1.15; }
