/* Главная по макету 2026 («Главная / Клиентский дизайн · Просторная версия»). Всё под .home2 */
.home2 {
    --gold: #C89A61;
    --gold-hover: #B5864E;
    --dark: #262624;
    --bg: #F7F5F1;
    --text: #252525;
    --muted: #73716D;
    --line: #E7E1D8;
    --serif: 'Lora', Georgia, serif;
    --sans: 'Manrope', Arial, sans-serif;
    background: var(--bg);
    font-family: var(--sans);
    color: var(--text);
    overflow: hidden;
}

.home2 *,
.home2 *::before,
.home2 *::after {
    box-sizing: border-box;
}

.home2 a {
    text-decoration: none;
}

.home2 p {
    margin: 0;
}

.home2 svg {
    flex-shrink: 0;
}

.home2-container {
    max-width: 1256px;
    margin: 0 auto;
    padding: 0 20px;
}

.home2-section {
    padding: 56px 0;
}

.home2-kicker {
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--gold);
}

.home2-kicker--light {
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0;
}

.home2-title {
    margin: 0 0 28px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 40px;
    line-height: 1.18;
    color: var(--text);
}

.home2-title a {
    color: inherit;
}

.home2-title--sm {
    margin-bottom: 16px;
    font-size: 34px;
}

.home2-text {
    font-size: 16px;
    line-height: 1.45;
    color: var(--muted);
}

.home2 .home2-subtitle {
    margin: -18px 0 28px;
}

.home2-note {
    margin-top: 28px !important;
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
}

/* Кнопки */
.home2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 18px 20px;
    border: 1px solid var(--gold);
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    transition: background .3s, color .3s, border-color .3s;
}

.home2 .home2-btn--gold {
    background: var(--gold);
    color: #fff;
}

.home2 .home2-btn--gold:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    color: #fff;
}

.home2 .home2-btn--outline {
    background: transparent;
    color: var(--gold);
}

.home2 .home2-btn--outline:hover {
    background: var(--gold);
    color: #fff;
}

.home2-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 64px;
    padding: 12px 34px;
    border-radius: 32px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.33;
    text-align: center;
    transition: background .3s, border-color .3s;
}

.home2-pill svg {
    width: 20px;
    height: 20px;
}

.home2 .home2-pill--gold {
    background: var(--gold);
    color: var(--bg);
}

.home2 .home2-pill--gold:hover {
    background: var(--gold-hover);
    color: var(--bg);
}

.home2 .home2-pill--dark {
    border: 1px solid var(--line);
    background: var(--dark);
    color: #fff;
}

.home2 .home2-pill--dark:hover {
    border-color: var(--gold);
    color: #fff;
}

/* 01 Первый экран — слайдер. На ПК компактная высота (клиент: без пустоты над текстом), на мобилке — в один экран */
.home2-slider {
    position: relative;
    background: #1E1E1C;
}

/* slick.css ставит слайдам display: block — возвращаем flex */
.home2-slider .home2-hero {
    display: flex;
}

/* До запуска slick показываем только первый слайд */
.home2-slider:not(.slick-initialized) .home2-hero + .home2-hero {
    display: none;
}

.home2-slider .slick-track {
    display: flex;
}

.home2-slider .slick-slide {
    height: auto;
}

.home2-slider .slick-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home2-slider .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}

.home2-slider .slick-dots button {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .4);
    font-size: 0;
    transition: width .3s, background .3s;
}

.home2-slider .slick-dots button::before {
    display: none;
}

.home2-slider .slick-dots .slick-active button {
    width: 28px;
    background: var(--gold);
}

.home2-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 560px;
    padding: 40px 0 64px;
    background: #1E1E1C;
    color: #fff;
}

/* Старые слайды: затемнение слева, чтобы текст читался на любой картинке */
.home2-hero--banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 20, 18, .9) 0%, rgba(20, 20, 18, .7) 45%, rgba(20, 20, 18, .15) 100%);
}

.home2-hero--banner .home2-hero__bg {
    object-position: center;
}

.home2-hero__title--banner {
    font-size: 46px;
}

.home2-hero__text p {
    margin: 0;
}

.home2 button.home2-pill {
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

.home2-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.home2-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.home2-hero__content {
    max-width: 730px;
}

.home2-hero__title {
    margin-bottom: 22px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 58px;
    line-height: 1.18;
    color: #fff;
}

.home2-hero__title span {
    color: var(--gold);
}

.home2-hero__text {
    margin-bottom: 22px !important;
    font-size: 18px;
    line-height: 1.45;
}

.home2-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 22px;
}

.home2-hero__buttons .home2-pill--gold {
    width: 294px;
}

.home2-hero__buttons .home2-pill--dark {
    width: 274px;
}

.home2-hero__note {
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: .05em;
}

.home2-hero__quote {
    flex-shrink: 0;
    width: 230px;
    margin-right: 10px;
    margin-bottom: 40px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 21px;
    line-height: 1.4;
}

/* 02 Что делать */
.home2-steps .home2-title {
    max-width: 800px;
    margin-bottom: 16px;
}

.home2-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home2-step {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 116px;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .05);
    transition: box-shadow .3s;
}

.home2-step:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
}

.home2-step svg {
    width: 30px;
    height: 30px;
    color: var(--gold);
}

.home2-step__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home2-step__name {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35;
    color: var(--text);
}

.home2-step__text {
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
}

.home2-steps__memo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.home2-steps__memo p {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.45;
    color: var(--muted);
}

.home2-steps__memo .home2-btn {
    flex-shrink: 0;
    width: 250px;
    min-height: 61px;
}

/* 03 Горячая линия */
.home2-hotline {
    position: relative;
    padding: 40px 0;
    background: var(--dark);
    color: #fff;
}

.home2-hotline__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .22;
}

.home2-hotline__inner {
    position: relative;
    display: grid;
    grid-template-columns: 272px minmax(0, 400px) minmax(0, 480px);
    align-items: center;
    gap: 32px;
}

.home2-hotline__photo {
    display: block;
    width: 100%;
    height: 290px;
    object-fit: cover;
}

.home2-hotline__title {
    margin-bottom: 18px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 29px;
    line-height: 1.18;
    color: var(--gold);
}

.home2-hotline__hours {
    margin-top: 48px;
    font-size: 20px;
    line-height: 1.45;
}

.home2-hotline__contacts {
    padding-left: 0;
}

.home2 .home2-hotline__phone {
    display: inline-block;
    margin-bottom: 18px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 33px;
    line-height: 1.18;
    color: var(--gold);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}

.home2-hotline__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home2-hotline__list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 27px;
}

.home2-hotline__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
}

/* 04 Видео */
.home2-video__inner {
    display: grid;
    grid-template-columns: 428px minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.home2-video__about .home2-text {
    margin-bottom: 16px;
}

.home2-video__btn {
    width: 280px;
}

.home2-video__cover {
    position: relative;
    display: block;
    height: 336px;
    overflow: hidden;
    border-radius: 10px;
}

.home2-video__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.home2-video__cover:hover img {
    transform: scale(1.03);
}

.home2-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    color: #fff;
}

.home2-video__play svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* 05 Пакеты */
.home2-packages__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
}

.home2-package {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 28px;
    border-radius: 8px;
    background: #fff;
}

.home2-package__label {
    font-weight: 600;
    font-size: 10px;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--muted);
}

.home2-package__name {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 23px;
    line-height: 1.25;
    color: var(--text);
}

.home2-package__price {
    width: 100%;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    font-size: 30px;
    line-height: 1.25;
    color: var(--text);
}

.home2-package__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 28px;
    color: var(--muted);
}

.home2-package .home2-btn {
    width: 250px;
    max-width: 100%;
    min-height: 61px;
    border-radius: 4px;
    justify-content: flex-start;
}

.home2-package--dark {
    background: var(--dark);
}

.home2-package--dark .home2-package__label,
.home2-package--dark .home2-package__price {
    color: var(--gold);
}

.home2-package--dark .home2-package__name {
    color: #fff;
}

.home2-package--dark .home2-package__list {
    color: #D4D1CB;
}

/* 06, 09 Карточки с фото */
.home2-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home2-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    transition: box-shadow .3s;
}

.home2-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.home2-card__img {
    display: block;
    width: 100%;
    height: 148px;
    object-fit: cover;
}

.home2-card__img--empty {
    background: var(--line);
}

.home2-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
    padding: 18px;
}

.home2-card__name {
    font-weight: 600;
    font-size: 17px;
    line-height: 1.4;
    color: var(--text);
}

.home2-card__text {
    font-size: 14px;
    line-height: 1.4;
    color: var(--muted);
}

.home2-card__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    color: var(--gold);
}

.home2-card__more svg {
    width: 20px;
    height: 20px;
    transition: transform .3s;
}

.home2-card:hover .home2-card__more svg {
    transform: translate(2px, -2px);
}

/* 07 Почему выбирают */
.home2-why {
    padding-bottom: 24px;
}

.home2-why .home2-title {
    color: #26302D;
}

.home2-why__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.home2-why__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    text-align: center;
}

.home2-why__item svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

.home2-why__name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.45;
    color: #26302D;
}

.home2-why__text {
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}

/* 08 Команда */
.home2-team {
    padding-top: 12px;
}

.home2-team__inner {
    display: grid;
    grid-template-columns: 260px minmax(0, 424px) minmax(0, 484px);
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.home2-team__photo {
    display: block;
    width: 100%;
    height: 320px;
    border-radius: 8px;
    object-fit: cover;
}

.home2-team__about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.home2-team__name {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 26px;
    line-height: 1.18;
    color: var(--text);
}

.home2-team__role {
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}

.home2-team__quote {
    font-size: 15px;
    line-height: 1.45;
    color: var(--muted);
}

.home2-team__about .home2-btn {
    width: 250px;
    min-height: 63px;
    border-radius: 0;
}

.home2-team__group {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.home2-team__group img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.home2-team__group span {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 12px;
    font-size: 15px;
    line-height: 1.45;
    color: #fff;
    text-align: center;
}

/* 10 Отзывы 2ГИС */
.home2-reviews .home2-title {
    margin-bottom: 32px;
}

.home2-reviews__widget iframe {
    display: block;
    width: 100%;
    height: 608px;
    border: 0;
    border-radius: 8px;
    background: #fff;
}

/* 11 SEO-текст */
.home2-seo {
    background: #fff;
}

.home2-seo .home2-title {
    margin-bottom: 28px;
}

.home2 .home2-seo a {
    color: inherit;
}

.home2-seo__remember {
    margin: 28px 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--gold);
}

.home2-seo__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: seo;
}

.home2-seo__list li {
    position: relative;
    margin-bottom: 16px;
    padding-left: 36px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--muted);
    counter-increment: seo;
}

.home2-seo__list li:last-child {
    margin-bottom: 0;
}

.home2-seo__list li::before {
    content: counter(seo) '.';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--gold);
}

/* Адаптив */
@media (max-width: 1200px) {
    .home2-hotline__inner {
        grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr);
    }

    .home2-team__inner {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .home2-team__group {
        grid-column: 1 / -1;
    }

    .home2-team__group img {
        height: 320px;
    }
}

@media (max-width: 1024px) {
    .home2-hero__title {
        font-size: 46px;
    }

    .home2-hero__quote {
        display: none;
    }

    .home2-steps__grid,
    .home2-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home2-hotline__inner {
        grid-template-columns: 200px minmax(0, 1fr);
    }

    .home2-hotline__contacts {
        grid-column: 2;
    }

    .home2-video__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 32px;
    }

    .home2-packages__grid {
        grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
        gap: 16px;
    }

    .home2-why__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 32px;
    }
}

@media (max-width: 767px) {
    .home2-section {
        padding: 40px 0;
    }

    .home2-title {
        margin-bottom: 20px;
        font-size: 28px;
    }

    .home2-title br {
        display: none;
    }

    .home2 .home2-subtitle {
        margin: -10px 0 20px;
    }

    .home2-text {
        font-size: 15px;
    }

    .home2-hero {
        min-height: calc(100vh - 120px);
        min-height: calc(100svh - 120px);
        padding: 40px 0 48px;
    }

    .home2-hero__bg {
        object-position: 70% center;
        opacity: .45;
    }

    .home2-hero--banner .home2-hero__bg {
        opacity: 1;
    }

    .home2-hero--banner::after {
        background: rgba(20, 20, 18, .7);
    }

    .home2-hero__title--banner {
        font-size: 30px;
    }

    .home2-slider .slick-dots {
        bottom: 16px;
    }

    .home2-hero__title {
        font-size: 34px;
    }

    .home2-hero__text {
        font-size: 16px;
    }

    .home2-hero__text br {
        display: none;
    }

    .home2-hero__buttons {
        flex-direction: column;
        gap: 12px;
    }

    .home2-hero__buttons .home2-pill--gold,
    .home2-hero__buttons .home2-pill--dark {
        width: 100%;
    }

    .home2-steps__grid,
    .home2-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .home2-step {
        min-height: 0;
    }

    .home2-step__name br {
        display: none;
    }

    .home2-steps__memo {
        flex-direction: column;
        align-items: stretch;
    }

    .home2-steps__memo p {
        font-size: 17px;
    }

    .home2-steps__memo .home2-btn {
        width: 100%;
    }

    .home2-hotline__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .home2-hotline__photo {
        display: none;
    }

    .home2-hotline__contacts {
        grid-column: auto;
    }

    .home2-hotline__title {
        font-size: 24px;
    }

    .home2-hotline__title br {
        display: none;
    }

    .home2-hotline__hours {
        margin-top: 0;
        font-size: 17px;
    }

    .home2 .home2-hotline__phone {
        font-size: 28px;
    }

    .home2-video__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .home2-video__cover {
        order: -1;
        height: 210px;
    }

    .home2-video__btn {
        width: 100%;
    }

    .home2-package {
        padding: 24px 20px;
    }

    .home2-package__price {
        font-size: 26px;
    }

    .home2-package .home2-btn {
        width: 100%;
        justify-content: center;
    }

    .home2-why__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .home2-team__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .home2-team__photo {
        height: auto;
        aspect-ratio: 13 / 16;
        object-position: center top;
    }

    .home2-team__about .home2-btn {
        width: 100%;
    }

    .home2-team__group img {
        height: 200px;
    }

    .home2-reviews__widget iframe {
        height: 640px;
    }

    .home2-seo__list li {
        padding-left: 28px;
        font-size: 15px;
    }
}
