/* Главный экран на главной (дизайн 24.10.2026). Разметка — resources/views/front/index.blade.php, блок .hero26 */
@font-face {
    font-family: 'HeroDisplay';
    src: url('/fonts/InterDisplay-Black.subset.woff') format('woff');   /* Inter Display Black, лицензия SIL OFL */
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.hero26 {
    position: relative;
    background: #f2d9a0 url(/img/hero/autumn.webp) center / cover no-repeat;
    overflow: hidden;
}
.hero26__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 30px 90px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 40px;
    align-items: center;
    min-height: 560px;
}

/* ---------- заголовок ---------- */
.hero26__title {
    margin: 0;
    font-family: 'HeroDisplay', 'Inter', 'HelveticaNeueCyr', Arial, sans-serif;
    font-weight: 900;
    font-size: 96px;
    line-height: .9;
    letter-spacing: -0.035em;
}
.hero26__line1, .hero26__line2 { display: block; width: max-content; position: relative; white-space: nowrap; }
.hero26__line1 {
    color: #23611f;
    text-shadow: 0 2px 0 rgba(255, 255, 255, .55), 0 6px 18px rgba(255, 255, 255, .55);
}
.hero26__line2 {
    background: linear-gradient(180deg, #ff8c14 0%, #f26a0a 55%, #e2550c 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 rgba(255, 255, 255, .7)) drop-shadow(0 6px 14px rgba(255, 255, 255, .5));
    padding-bottom: .06em;
}
.hero26__leaf {
    width: .5em; height: .5em;
    display: inline-block;
    vertical-align: top;
    margin: .08em 0 0 .06em;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .15));
}
.hero26__swoosh {
    position: absolute;
    left: -.32em; top: -.02em;
    width: calc(100% + .64em); height: .55em;
    fill: none; stroke: #f26a0a; stroke-width: 5; stroke-linecap: round;
    pointer-events: none;
}

.hero26__subtitle {
    margin: 22px 0 0 .9em;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 500;
    color: #1f2a1f;
    text-shadow: 0 0 10px rgba(255, 255, 255, .9), 0 0 3px rgba(255, 255, 255, .9);
}
.hero26__btn {
    display: inline-flex; align-items: center; gap: 14px;
    margin: 30px 0 0 .9em;
    padding: 18px 34px;
    border-radius: 18px;
    background: linear-gradient(180deg, #3c9a35 0%, #23701f 100%);
    border: 2px solid rgba(255, 255, 255, .55);
    color: #fff; font-size: 19px; font-weight: 500; line-height: 1;
    box-shadow: 0 8px 20px rgba(22, 70, 20, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}
.hero26__btn:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22, 70, 20, .4), inset 0 1px 0 rgba(255, 255, 255, .25); }
.hero26__btn i, .hero26__label i {
    width: 8px; height: 8px; flex: none;
    border-top: 2px solid currentColor; border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

/* ---------- плитки разделов ---------- */
.hero26__tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.hero26__tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .85);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
    background: #2c5d27;
    transition: transform .25s ease, box-shadow .25s ease;
}
.hero26__tile img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .4s ease;
}
.hero26__label {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; align-items: flex-end; gap: 10px;
    padding: 34px 18px 14px;
    background: linear-gradient(180deg, rgba(30, 84, 28, 0) 0%, rgba(30, 84, 28, .85) 45%, rgba(28, 80, 26, .96) 100%);
    color: #fff;
    font-size: 17px; line-height: 1.2; font-weight: 600;
}
.hero26__label i { display: inline-block; margin: 0 0 .12em .55em; vertical-align: middle; }
.hero26__price { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .88); }
.hero26__tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); text-decoration: none; }
.hero26__tile:hover img { transform: scale(1.05); }

/* ---------- планшет ---------- */
@media screen and (max-width: 1200px) {
    .hero26__inner { grid-template-columns: 1fr; gap: 34px; padding: 50px 24px 60px; min-height: 0; }
    .hero26__title { font-size: 80px; }
}

/* ---------- телефон ---------- */
@media screen and (max-width: 900px) {
    .hero26 { background-image: url(/img/hero/autumn-1200.webp); background-position: 20% center; }
    .hero26__inner { padding: 30px 16px 36px; gap: 26px; }
    .hero26__title { font-size: 50px; }
    .hero26__subtitle { font-size: 16px; margin-top: 14px; }
    .hero26__btn { font-size: 15px; padding: 14px 24px; margin-top: 20px; border-radius: 14px; }
    .hero26__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .hero26__tile { border-radius: 12px; }
    .hero26__label { font-size: 14px; padding: 26px 12px 10px; }
}
@media screen and (max-width: 380px) {
    .hero26__title { font-size: 42px; }
}
