
/* sections/archive-grid/style.css */
/* Идеальная сетка для 4 элементов */
.archive-grid__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}
.archive-grid__subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
}
.archive-grid__card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
@media (max-width: 1200px) {
    .archive-grid__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .archive-grid__list { grid-template-columns: 1fr; }
}

/* sections/benefits/style.css */
/*! FILE: blocks/main/benefits.css */
/*
Зависимости:
- нет

Используемые переменные:
- --color-gray-dark
- --color-brand-yellow
- --transition-fast
*/

/* ==========================================================================
   БЛОК: BENEFITS (Преимущества - 6 иконок)
   ========================================================================== */

.benefits {
    padding-top: 0;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 40px;
    margin: 0;
    padding: 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform var(--transition-fast);
}

/* На наведение — только движение, без изменения заливки/обводки иконки */
.benefit-item:hover {
    transform: translateX(5px);
}

.benefit-item__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Любая иконка (в т.ч. вставленная из библиотеки компонентов с произвольными
   width/height) вписывается в бокс 46×46 с сохранением пропорций —
   иначе крупный <svg> распирал сетку и ломал вёрстку. */
.benefit-item__icon svg {
    width: 100%;
    height: 100%;
    max-width: 46px;
    max-height: 46px;
    display: block;
}

/* Заливка фоном работает НЕЗАВИСИМО от наличия класса benefit-item__path:
   иконки, добавленные через библиотеку/вставленные кодом, его не содержат,
   поэтому целимся прямо в <path> внутри иконки. */
.benefit-item__icon svg path,
.benefit-item__path {
    fill: rgb(20 20 20 / 70%);
    stroke: transparent;
    stroke-width: 1px;
}

.benefit-item__text {
    font-size: 18px;
    color: var(--color-gray-dark);
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   МЕДИА-ЗАПРОСЫ (Адаптив Преимуществ)
   ========================================================================== */

@media (max-width: 992px) {
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* sections/buyout-steps/style.css */
.buyout-steps__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 25px;
    border-radius: 5px;
    border-top: 3px solid var(--color-brand-yellow);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-brand-yellow);
}

.step-card__number {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-brand-yellow);
    margin-bottom: 15px;
}

.step-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-gray-dark);
}

.step-card__desc {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* sections/category-hero/style.css */
/*! FILE: blocks/skupka/category-hero.css */
/*
Зависимости:
- global/buttons.css

Используемые переменные:
- --color-white
- --color-border
- --color-gray-dark
- --color-brand-yellow
- --transition-fast
*/

/* ==========================================================================
   БЛОК: CAT-HERO (Главный экран категорий)
   ========================================================================== */
.cat-hero {
    overflow: hidden;
    padding: 60px 0;
}

.cat-hero__grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
    gap: 40px;
}

/* --- Инфо-колонка --- */
.cat-hero__col--info {
    flex: 1 1 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cat-hero__header {
    margin-bottom: 30px;
}

.cat-hero__title {
    font-size: clamp(28px, 4vw, 42px); 
    margin-bottom: 20px;
    line-height: 1.2;
}

.cat-hero__subtitle {
    font-size: 20px; 
    color: var(--color-gray-dark);
    line-height: 1.5;
}

/* --- Сетка преимуществ --- */
.cat-hero__benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.cat-benefit-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 5px;
    padding: 15px 20px;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.cat-benefit-card:hover {
    border-color: var(--color-brand-yellow);
    transform: translateY(-3px);
}

.cat-benefit-card__icon {
    flex-shrink: 0;
    display: flex;
    color: var(--color-brand-yellow);
}

.cat-benefit-card__text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    color: var(--color-gray-dark);
}

/* --- Кнопки (Этот блок пропал в твоем коде) --- */
.cat-hero__actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.cat-hero__actions .btn {
    padding: 10px 16px;
    font-size: 15px;
    white-space: nowrap;
}
/* --- Медиа-колонка --- */
.cat-hero__col--media {
    border: 1px solid var(--color-border);
    border-radius: 5px;
    flex: 0 0 38%;
    max-width: 480px;
    aspect-ratio: 4 / 3;        /* Фиксированное соотношение — высота от ширины, не от соседней колонки */
    position: relative;
    overflow: hidden;
    align-self: center;          /* Центрируем вертикально, не растягиваем на полную высоту строки */
    background-color: var(--color-gray-light);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.cat-hero__col--media:hover {
    border-color: var(--color-brand-yellow);
    transform: translateY(-3px);
}

/* Размытый «фон-подложка» из той же картинки — заполняет поля по краям при любых
   пропорциях, создавая эффект cover, при этом сам предмет (слой выше) не обрезается. */
.cat-hero__img-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;           /* Заполняет весь бокс целиком (края уходят под основной слой) */
    object-position: center;
    filter: blur(22px) saturate(1.15);
    transform: scale(1.12);      /* Прячем светлую кайму, которую даёт blur у границ */
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.cat-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;         /* Показываем предмет целиком, без обрезки — работает для любых изображений */
    object-position: center;
    z-index: 1;                  /* Над размытой подложкой */
}

/* --- Адаптив --- */
@media (max-width: 992px) {
    .cat-hero__grid {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .cat-hero__col--media {
        width: 100%;
        max-width: 100%;
        flex: none;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 576px) {
    .cat-hero__actions {
        flex-direction: column;
    }

    .cat-hero__actions .btn {
        width: 100%;
    }

    .cat-hero__col--media {
        aspect-ratio: 3 / 2;    /* На мобильном чуть шире, чтобы не занимать лишнюю высоту */
    }
}

/* sections/comparison/style.css */
/*! FILE: blocks/main/comparison.css */
/*
Зависимости:
- global/accordion.css
- global/custom-list.css

Используемые переменные:
- --color-white
- --color-border
- --color-brand-yellow
- --color-brand-yellow-hover
- --color-gray-dark
- --color-gray-light
- --color-text-muted
*/

.comparison__header {
    margin-bottom: 40px;
}

.comparison__acc-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.comparison__check {
    width: 18px;
    height: 18px;
    color: var(--color-brand-yellow);
    flex-shrink: 0;
}

.comparison__desc {
    font-size: 18px;
    color: var(--color-gray-dark);
    max-width: 800px;
}

.comparison__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.comparison__col {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.comparison__col--charts {
    border: 1px solid var(--color-brand-yellow);
    border-radius: 5px;
    padding: 30px;
    background-color: var(--color-white);
}

.comparison__charts-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray-dark);
    text-transform: uppercase;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 25px;
}

.comparison__charts-header--no-border {
    border-bottom: none;
}

/* Блок одного графика */
.comparison__chart-group {
    margin-bottom: 30px;
}

.comparison__chart-group:last-child {
    margin-bottom: 0;
}

.comparison__chart-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gray-dark);
    margin-bottom: 15px;
}

.comparison__chart-row {
    display: grid;
    grid-template-columns: 140px 1fr 80px;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 18px;
}

.comparison__chart-label {
    color: var(--color-gray-dark);
    font-weight: 500;
}

.comparison__chart-track {
    height: 12px;
    width: 100%;
    background-color: var(--color-gray-light);
    border-radius: 6px;
    overflow: hidden;
}

.comparison__chart-fill {
    height: 100%;
    background: linear-gradient(90deg, #f5c340, #ffd875);
    border-radius: 6px;
    transition: width 1s ease-out;
}

.comparison__chart-value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-weight: 600;
    white-space: nowrap;
}

/* Подсказки (Tooltip) */
.comparison__chart-info {
    position: relative;
    margin-left: 8px;
    display: inline-flex;
    cursor: help;
}

.comparison__chart-icon {
    width: 18px;
    height: 18px;
    background: var(--color-brand-yellow);
    color: var(--color-gray-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    font-family: serif;
    font-style: italic;
    transition: background 0.3s ease;
}

.comparison__chart-info:hover .comparison__chart-icon {
    background: var(--color-brand-yellow-hover);
}

.comparison__chart-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    width: max-content;
    max-width: 300px;
    white-space: normal;
    padding: 10px 14px;
    background: var(--color-gray-dark);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.comparison__chart-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 4px;
    border: 6px solid transparent;
    border-top-color: var(--color-gray-dark);
}

.comparison__chart-info:hover .comparison__chart-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Адаптив */
@media (max-width: 1100px) {
    .comparison__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .comparison__col--charts {
        padding: 20px 15px;
    }
    .comparison__chart-row {
        grid-template-columns: 100px 1fr auto;
        gap: 10px;
        font-size: 14px;
    }
    .comparison__chart-tooltip {
        position: fixed;
        right: 10px;
        left: 10px;
        width: auto;
    }
}

/* sections/comparison-v2/style.css */
/* Сетка для 3 карточек (никогда не висят) */
.comparison-v2__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}
.comparison-v2__desc {
    font-size: 18px;
    color: var(--color-gray-dark);
}
.comparison-v2__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 5px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.comparison-v2__card:hover {
    border-color: var(--color-brand-yellow);
    transform: translateY(-5px);
}
.comparison-v2__card--highlight {
    border-top: 4px solid var(--color-brand-yellow);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.comparison-v2__card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-gray-dark);
    text-align: left;
}
.comparison-v2__param {
    display: flex;
    flex-direction: column;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 10px;
}
.comparison-v2__param:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.comparison-v2__label {
    font-size: 14px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}
.comparison-v2__value {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-gray-dark);
}
.comparison-v2__highlight-box {
    background: var(--color-brand-yellow);
    color: var(--color-gray-dark);
    padding: 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
}
.comparison-v2__action {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.comparison-v2__action .btn {
    background: var(--color-gray-dark);
    color: var(--color-brand-yellow);
}
.comparison-v2__action .btn:hover {
    background: #000;
}
@media (max-width: 992px) {
    .comparison-v2__grid {
        grid-template-columns: 1fr;
    }
}

/* sections/dynamic-archive/style.css */
.icon-eval-grid__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-content: center;
}

.icon-eval-card {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: 8px; /* Чуть увеличили скругление для красоты с картинкой */
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Важно, чтобы картинка не вылезала за скругленные углы */
    transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.icon-eval-card:hover {
    border-color: var(--color-brand-yellow);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Бейдж теперь позиционируется поверх картинки */
.icon-eval-card__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--color-brand-yellow);
    padding: 6px 14px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}

/* Контейнер для фото */
.icon-eval-card__media {
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.icon-eval-card__img {
    width: 100%;
    height: 100%;
    /* Не обрезаем изображение карточки — вписываем целиком (letterbox допустим). */
    object-fit: contain;
    background-color: var(--color-gray-light);
    transition: transform 0.5s ease;
}

.icon-eval-card:hover .icon-eval-card__img {
    transform: scale(1.05);
}

/* Контентная часть */
.icon-eval-card__content {
    padding: 25px; /* Перенесли отступ из родителя сюда */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.icon-eval-card__title { 
    font-size: 22px; 
    margin: 0 0 10px 0; 
    color: var(--color-gray-dark);
}

.icon-eval-card__specs { 
    font-size: 14px; 
    color: var(--color-text-muted); 
    flex-grow: 1; 
    margin-bottom: 20px;
    line-height: 1.5;
}

.icon-eval-card__price-label {
    font-size: 14px;
    color: var(--color-text-muted);
    display: block;
}

.icon-eval-card__price {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-gray-dark);
    margin-top: 5px;
}

.icon-eval-grid__footer { 
    text-align: center; 
    margin-top: 50px; 
}

/* sections/eval-magnet/style.css */
.eval-magnet__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
}
.eval-magnet__subtitle {
    font-size: 18px;
    color: var(--color-gray-dark);
    line-height: 1.6;
}
.eval-magnet__form-wrap {
    background: var(--color-white);
    padding: 30px;
    border-radius: 5px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
@media (max-width: 992px) {
    .eval-magnet__grid {
        grid-template-columns: 1fr;
    }
}

/* sections/expert/style.css */
/*! FILE: blocks/main/expert.css */

/* Пара: фото сверху слева, плитки внизу слева, форма справа — кнопка на одной линии с плитками. */
.expert-eval {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-height: none;
    overflow: visible;
    box-sizing: border-box;
}

.expert-eval__container {
    width: 100%;
}

.expert-eval__header {
    margin-bottom: 16px;
    max-width: var(--section-title-max, 1060px);
}

.expert-eval__subtitle {
    font-size: 17px;
    color: var(--color-text-muted);
    line-height: 1.45;
    margin-top: 6px;
}

.expert-eval__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
    grid-template-rows: auto auto;
    gap: 12px 24px;
    align-items: stretch;
}

.expert-eval__col--media {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 0;
    border-radius: 10px;
    background-color: transparent;
}

.expert-eval__img-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(18px) saturate(1.12);
    transform: scale(1.15);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.expert-eval__img {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
    border-radius: 10px;
    display: block;
    box-shadow: none;
}

.expert-section__form-wrap {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    z-index: 4;
    background-color: var(--color-white);
    border-radius: 8px;
    border: 1px solid var(--color-brand-yellow);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: visible;
}
.expert-section__form-wrap .eval-form-container,
.expert-section__form-wrap .eval-form {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
}
.expert-section__form-wrap .eval-form__head,
.expert-section__form-wrap .eval-form__subtitle {
    display: none;
}
.expert-section__form-wrap .eval-form__foot {
    margin-top: 12px;
}

.expert-eval__col--contacts {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 12px 16px;
    background: var(--color-white);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.contact-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
}

.contact-info__label {
    font-size: 14px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.contact-info__phone {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gray-dark);
    transition: color var(--transition-fast);
    line-height: 1.2;
}

.contact-info__phone:hover {
    color: var(--color-brand-yellow);
}

.contact-info__map-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1;
    color: var(--color-gray-dark);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 8px 12px;
    margin-top: 0;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-info__map-wrap:hover {
    border-color: var(--color-brand-yellow);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.contact-info__map-wrap .contact-ico {
    color: var(--color-brand-yellow-hover);
    font-size: 18px;
    margin-right: 0;
}

.contact-info__link {
    color: var(--color-brand-yellow-hover);
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-info__link:hover {
    color: var(--color-gray-dark);
}

.expert-eval .contact-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
    width: auto;
    flex: 0 1 auto;
}

.expert-eval__col--contacts .btn,
.expert-eval .contact-actions .btn {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 8px 16px;
    font-size: 14px;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.expert-eval .contact-actions--row { flex-direction: row; flex-wrap: wrap; margin-bottom: 0; width: auto; }
.expert-eval .contact-actions--row .btn { flex: 0 1 auto; }

@media (max-width: 1100px) {
    .expert-eval__grid {
        grid-template-columns: 1fr minmax(280px, 42%);
    }
}

@media (max-width: 860px) {
    .expert-eval {
        min-height: 0;
        justify-content: flex-start;
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .expert-eval__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .expert-eval__col--media {
        grid-column: 1;
        grid-row: 1;
        min-height: 220px;
        max-height: 320px;
    }

    .expert-section__form-wrap {
        grid-column: 1;
        grid-row: 2;
    }

    .expert-eval__col--contacts {
        grid-column: 1;
        grid-row: 3;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-height: 560px) {
    .expert-eval {
        min-height: 0;
        justify-content: flex-start;
    }
    .expert-eval__img {
        max-height: none;
    }
}

.page__content .expert-eval {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* sections/expert-guide/style.css */
.expert-guide__card {
    background: var(--color-white);
    border: 2px solid var(--color-brand-yellow);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.expert-guide__subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--color-gray-dark);
}

.expert-guide__info {
    margin-bottom: 30px;
    line-height: 1.6;
}

.expert-guide__steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.expert-guide__step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.expert-guide__step-num {
    background: var(--color-brand-yellow);
    color: var(--color-gray-dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
}

.expert-guide__warning {
    background: #fff9e6;
    border-left: 4px solid #ffcc00;
    padding: 15px 20px;
    font-size: 15px;
}

/* sections/faq/style.css */
.faq__container {
    margin: 0 auto;
}

.faq__header {
    margin-bottom: 40px;
    text-align: center;
}

.faq__content {
    margin-bottom: 30px;
}

.faq__footer {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.faq__btn {
    min-width: 250px;
}

/* sections/furniture-photo/style.css */
.furniture-photo__header {
    margin-bottom: 40px;
}
.furniture-photo__subtitle {
    font-size: 18px;
    color: var(--color-gray-dark);
    max-width: 900px;
    line-height: 1.5;
}
.furniture-photo__content {
    background: var(--color-gray-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 30px;
    border-left: 4px solid var(--color-brand-yellow);
}

/* sections/gallery/style.css */
/* ==========================================================================
   БЛОК: GALLERY (Примеры выкупленных предметов)
   ========================================================================== */

.gallery {
    padding: 80px 0;
}

.gallery__header {
    margin-bottom: 40px;
    text-align: left;
}

.gallery__title {
    text-align: left;
    margin-bottom: 15px;
}

.gallery__subtitle {
    font-size: 16px;
    color: var(--color-gray-dark);
    max-width: 800px;
    margin: 0;
    line-height: 1.5;
}

/* --- Флексбокс сетка --- */
.gallery__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-card {
    /* Вычисляем ширину: 25% минус доля отступов gap (20px * 3 / 4) */
    width: calc(25% - 15px); 
    border: 1px solid var(--color-border);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: none;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-brand-yellow);
}

.gallery-card__media {
    height: 280px;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.gallery-card__img {
    width: 100%;
    height: 100%;
    /* Не обрезаем изображение карточки — вписываем целиком (letterbox допустим). */
    object-fit: contain;
    background-color: var(--color-gray-light);
    transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-card__img {
    transform: scale(1.05); /* Плавный зум при наведении */
}

.gallery-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Позволяет контенту занимать все свободное место по высоте */
}

.gallery-card__title {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--color-gray-dark);
    font-family: var(--font-heading);
}

.gallery-card__list {
    margin-bottom: 30px;
}

.gallery-card__list .custom-list__item {
    font-size: 14px;
    margin-bottom: 6px;
}

/* Стилизация ценника */
.gallery-card__price-wrap {
    margin-top: auto; /* МАГИЯ ФЛЕКСБОКСА: отталкивает блок в самый низ */
    background-color: #fdfdfd;
    padding: 11px 15px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-brand-yellow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-card__price-label {
    font-size: 14px;
    color: var(--color-text-muted);
}

.gallery-card__price-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gray-dark);
}

/* Кнопка под галереей */
.gallery__footer {
    display: flex;
    justify-content: center;
}

/* --- Адаптив для Flexbox --- */
@media (max-width: 1200px) { 
    .gallery-card { 
        /* 2 карточки в ряд */
        width: calc(50% - 10px); 
    } 
}

@media (max-width: 768px) { 
    .gallery-card { 
        /* 1 карточка в ряд на мобилках */
        width: 100%; 
    } 
}

/* sections/hero/style.css */
/*! FILE: blocks/main/hero.css */
/*
Зависимости:
- global/buttons.css

Используемые переменные:
- --color-brand-yellow
- --color-gray-dark
- --color-white
- --transition-fast
*/

.hero {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.hero__decor-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url('/assets/images/svg/medali.svg'), url('/assets/images/svg/mech.svg');
    background-size: 400px auto, 400px auto;
    background-repeat: no-repeat, no-repeat;
    background-position: calc(50% - 150px) calc(50% - 230px), calc(50% + 100px) calc(50% - 130px);
    opacity: 0.8;
}

.hero__top {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.hero__slider {
    flex: 1 1 60%;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-brand-yellow);
    border-radius: 5px;
    background-color: transparent;
    padding: 0;
    overflow: hidden;
}

.hero__slide {
    width: 100% !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.hero__slide-content {
    margin-bottom: 40px;
}

.hero__title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
    font-weight: 500;
    color: var(--color-gray-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.hero__subtitle {
    font-size: 20px;
    color: var(--color-gray-dark);
    line-height: 1.6;
}

.hero__pagination {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    left: unset !important;
    margin: 0;
    display: flex;
    gap: 10px;
    z-index: 10;
    width: fit-content !important;
}

.hero__bullet {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background-color: var(--color-white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero__bullet--active {
    border-color: var(--color-brand-yellow);
    background-color: var(--color-brand-yellow);
}

/* Уменьшение и выравнивание кнопок в Hero */
.hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding: 20px;
    width: 100%;
}
.hero__actions .btn {
    padding: 10px 16px; /* Уменьшенные отступы */
    font-size: 15px; /* Уменьшенный шрифт */
    white-space: nowrap;
}
.hero__actions .btn__icon {
    width: 18px; /* Уменьшенные иконки */
    height: 18px;
}

.hero__features {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    position: relative;
    background-color: var(--color-white);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-grow: 1;
}

.feature-card--offset {
    transform: translateX(-15px);
}

.feature-card__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 120px;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
    opacity: 0.6;
}

.feature-card__content {
    position: relative;
    z-index: 2;
    font-size: 18px;
    color: var(--color-gray-dark);
    line-height: 1.5;
}

.how-it-works {
    margin-top: 40px;
}

.how-it-works__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.how-it-works__title {
    margin-bottom: 20px;
}

.step {
    display: flex;
    flex-direction: column;
}

.step__icon {
    width: 41px;
    height: 41px;
    color: #4d4d4d;
    margin-bottom: 15px;
}

.step__path {
    stroke: var(--color-brand-yellow);
    stroke-width: 1px;
}

.step__title {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-gray-dark);
    margin-bottom: 10px;
}

.step__desc {
    font-size: 18px;
    color: var(--color-gray-dark);
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .hero__top { flex-direction: column; }
    .hero__slider { flex: none; width: 100%; }
    .feature-card--offset { transform: translateX(0); }
    .how-it-works__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { padding: 40px 0; }
    .hero__title { font-size: 2rem; }
    .hero__actions { flex-direction: column; align-items: flex-start; gap: 15px; }
    .how-it-works__grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .hero__actions {
        flex-direction: column; /* На мобилках в столбик, но ширина останется общей */
        padding: 15px;
    }
    .hero__actions .btn {
        width: 100%;
    }
}

/* sections/how-it-works/style.css */
section.how-it-works .how-it-works__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 32px;
}

.how-it-works__step {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-brand-yellow);
    border-radius: 6px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.how-it-works__num {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-brand-yellow);
    margin-bottom: 12px;
    line-height: 1;
}

.how-it-works__title {
    font-size: 19px;
    font-weight: 600;
    color: var(--color-gray-dark);
    margin-bottom: 10px;
}

.how-it-works__desc {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
    margin-top: auto;
    padding-top: 10px;
}

@media (max-width: 768px) {
    section.how-it-works .how-it-works__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    section.how-it-works .how-it-works__grid {
        grid-template-columns: 1fr;
    }
}

/* sections/item-structure/style.css */
.item-structure__header {
    margin-bottom: 40px;
}

.item-structure__subtitle {
    font-size: 18px;
    color: var(--color-gray-dark);
    max-width: 900px;
    line-height: 1.5;
}

.item-structure__list {
    background: var(--color-gray-light);
    border: 1px solid var(--color-border);
    border-radius: 5px;
    padding: 30px;
    border-left: 4px solid var(--color-brand-yellow);
}

.item-structure__name {
    color: var(--color-gray-dark);
}

/* sections/legal-trust/style.css */
/*! FILE: blocks/skupka/legal-trust.css */
/*
Зависимости:
- нет

Используемые переменные:
- --color-white
- --color-border
- --color-gray-dark
- --color-text-muted
- --color-brand-yellow
*/

.legal-trust__header {
    text-align: center;
    margin-bottom: 50px;
}

.legal-trust__subtitle {
    font-size: 18px;
    color: var(--color-gray-dark);
    max-width: 800px;
    margin: 0;
    text-align: left;
    line-height: 1.5;
}

.legal-trust__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.legal-trust__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.legal-trust__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.legal-trust__icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
    background: #fdfdfd;
    border: 1px solid var(--color-border);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    color: var(--color-gray-dark);
}

.legal-trust__icon svg {
    width: 28px;
    height: 28px;
}

.legal-trust__text {
    display: flex;
    flex-direction: column;
}

.legal-trust__item-title {
    font-size: 20px;
    color: var(--color-gray-dark);
    margin-bottom: 8px;
}

.legal-trust__item-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* --- Обособленный компонент карточки офиса --- */
.office-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all var(--transition-fast);
}
.office-card:hover{
    transform: translateY(-3px);
    border-color: var(--color-brand-yellow);
}
.office-card__img-wrap {
    position: relative;
    height: 300px;
    width: 100%;
}

.office-card__img {
    width: 100%;
    height: 100%;
    /* Не обрезаем фото — вписываем целиком (letterbox допустим). */
    object-fit: contain;
    background-color: var(--color-gray-light);
}

.office-card__badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    padding: 8px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.office-card__badge-icon {
    color: var(--color-brand-yellow);
}

.office-card__badge-text {
    font-weight: 500;
    font-size: 14px;
}

.office-card__info {
    padding: 25px;
}

.office-card__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-gray-dark);
    margin-bottom: 12px;
}

.office-card__desc {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .legal-trust__grid {
        grid-template-columns: 1fr;
    }
}

/* sections/logistics/style.css */
/* ==========================================================================
   Компонент: Logistics (Такелаж и вывоз)
   ========================================================================== */
.logistics {
    padding: var(--section-pad) 0;
}

.logistics__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.logistics__subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-top: 15px;
    line-height: 1.6;
}

.logistics__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.logistics-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.logistics-card:hover {
    border-color: var(--color-brand-yellow);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.logistics-card__icon {
    font-size: 34px;
    line-height: 1;
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-light);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    aspect-ratio: 1 / 1;
}

.logistics-card__icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-gray-dark);
}

.logistics-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-gray-dark);
}

.logistics-card__desc {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.logistics__cta {
    text-align: center;
}

/* sections/online-eval/style.css */
/*! FILE: blocks/skupka/online-eval.css */
/*
Зависимости:
- global/buttons.css
- global/custom-list.css
- components/form-eval.css
*/
.online-eval__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: stretch;
    width: 100%;
}

.online-eval__info {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.online-eval__instruction {
    margin-bottom: 16px;
}

.online-eval__instruction-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--color-gray-dark);
}

.online-eval__list {
    margin-bottom: 0;
}

.online-eval__socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding: 16px 18px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-brand-yellow);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.online-eval__phone-block {
    margin-bottom: 0 !important;
}

.online-eval__phone-link {
    color: var(--color-gray-dark) !important;
    transition: color var(--transition-fast);
}

.online-eval__phone-link:hover {
    color: var(--color-brand-yellow-hover) !important;
}

.online-eval__socials-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.online-eval__socials .contact-actions--row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

.online-eval__socials .contact-actions--row .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    padding: 9px 12px;
    font-size: 14px;
}

.online-eval__form-wrap {
    min-width: 0;
    border: 1px solid var(--color-brand-yellow);
    border-radius: 8px;
    padding: 20px;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: visible;
}

.online-eval__form-wrap .eval-form-container,
.online-eval__form-wrap .eval-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.online-eval__form-wrap .eval-form__foot {
    margin-top: auto;
}

.online-eval__title {
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--color-gray-dark);
}

@media (max-width: 992px) {
    .online-eval__grid {
        grid-template-columns: 1fr;
    }
    .online-eval__form-wrap {
        max-width: 100%;
    }
}

/* sections/our-experts/style.css */
/*! FILE: blocks/main/our_experts.css */
/*
Зависимости:
- components/form-eval.css

Используемые переменные:
- --color-white
- --color-brand-yellow
- --color-gray-dark
- --color-gray-light
- --color-text-muted
- --color-border
*/

.experts__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 480px);
    align-items: stretch;
    gap: 28px;
    width: 100%;
}

.experts__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.experts__header {
    margin-bottom: 16px;
}

.experts__subtitle {
    font-size: 18px;
    color: var(--color-gray-dark);
}

.experts__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(340px, 1fr) auto auto;
    grid-auto-rows: minmax(340px, 1fr) auto auto;
    column-gap: 16px;
    row-gap: 0;
    flex: 1 1 auto;
    align-items: stretch;
    margin-top: 0;
    padding: 8px 8px 8px;
}

/* Фото / имя / должность — общие ряды, линия под фото на одной высоте.
   Селекторы привязаны к своей сетке .experts__cards намеренно: имя .expert-card
   занято ещё и карточкой инженера в русстановской форме заявки
   (site/partials/forms/expert.blade.php). Без привязки subgrid и grid-row: span 3
   доставались и ей — форма рядом переставала тянуться, и колонки в паре
   расходились по высоте почти на треть. */
.experts__cards .expert-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    background-color: var(--color-white);
    border: 1px solid var(--color-brand-yellow);
    border-radius: 5px;
    overflow: hidden;
}

.experts__cards .expert-card__photo {
    min-height: 340px;
    min-width: 0;
    background-color: var(--color-gray-light);
    background-image: url('/assets/images/expert-avatar.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.experts__cards .expert-card__details {
    display: contents;
}

.experts__cards .expert-card__name {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 15px 15px 5px;
    text-align: center;
    color: var(--color-gray-dark);
    border-top: 1px solid var(--color-brand-yellow);
}

.experts__cards .expert-card__role {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-text-muted);
    margin: 0;
    padding: 0 15px 15px;
    text-align: center;
}

/* --- Обертка формы --- */
.experts__form-wrapper {
    min-width: 0;
    width: 100%;
    max-width: none;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 24px 24px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}
.experts__form-wrapper .eval-form-container,
.experts__form-wrapper .eval-form {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.experts__form-wrapper .eval-form__foot {
    margin-top: auto;
}
.experts__form-wrapper .eval-form__head {
    margin-bottom: 14px;
}
.experts__form-wrapper .eval-form__fields-wrapper {
    gap: 14px 14px;
}
.experts__form-wrapper .eval-form__input,
.experts__form-wrapper .eval-form__select,
.experts__form-wrapper .eval-form__file-label {
    min-height: 44px;
}
.experts__form-wrapper .eval-form__input--textarea {
    min-height: 88px;
}

.experts__form-title {
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-gray-dark);
}

@media (max-width: 1024px) {
    .experts__grid {
        grid-template-columns: 1fr;
    }
    .experts__form-wrapper {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .experts__cards {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
        overflow-x: auto;
    }
}

@supports not (grid-template-rows: subgrid) {
    .experts__cards .expert-card {
        display: flex;
        flex-direction: column;
        grid-row: auto;
        height: 100%;
    }
    .experts__cards .expert-card__photo {
        flex: 1 1 auto;
    }
    .experts__cards .expert-card__details {
        display: block;
        padding: 15px;
        text-align: center;
        border-top: 1px solid var(--color-brand-yellow);
    }
    .experts__cards .expert-card__name,
    .experts__cards .expert-card__role {
        border-top: 0;
        padding: 0;
    }
    .experts__cards .expert-card__name {
        margin-bottom: 5px;
    }
}

/* sections/photo-guide/style.css */
.photo-guide__header {
    margin-bottom: 40px;
}
.photo-guide__subtitle {
    font-size: 18px;
    color: var(--color-gray-dark);
    max-width: 900px;
    line-height: 1.5;
}
.photo-guide__content {
    background: var(--color-gray-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 30px;
    border-left: 4px solid var(--color-brand-yellow);
}

/* sections/porcelain-photo/style.css */
.porcelain-photo__header {
    margin-bottom: 40px;
}
.porcelain-photo__subtitle {
    font-size: 18px;
    color: var(--color-gray-dark);
    max-width: 900px;
    line-height: 1.5;
}
.porcelain-photo__content {
    background: var(--color-gray-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 30px;
    border-left: 4px solid var(--color-brand-yellow);
}

/* sections/pricing-factors/style.css */
/*! FILE: blocks/main/pricing-factors.css */

.pricing-factors__header { margin-bottom: 0px; }
.pricing-factors__intro { font-size: 18px; color: var(--color-gray-dark); margin-bottom: 40px; max-width: 900px; line-height: 1.6; }
.pricing-factors__intro-text { margin-bottom: 15px; }

.pricing-factors__accordion .accordion__item {
    border: 1px solid var(--color-border); box-shadow: none; transition: border-color var(--transition-fast), transform var(--transition-fast); border-radius: 8px; background: var(--color-white);
}
.pricing-factors__accordion .accordion__item:hover { border-color: var(--color-brand-yellow); }
.pricing-factors__trigger { background-color: var(--color-brand-yellow); color: var(--color-gray-dark); font-weight: 600; border-radius: 5px; padding: 15px 25px; }

/* --- Внутренняя таблица --- */
.pricing-factors__table-wrapper { overflow-x: auto; margin-bottom: 40px; border-radius: 5px; border: 1px solid var(--color-border); }
.pricing-factors__table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    min-width: 700px;
    table-layout: fixed; /* Распределяем колонки ровно */
}
.pricing-factors__thead { background-color: var(--color-gray-light); border-bottom: 2px solid var(--color-brand-yellow); }
.pricing-factors__th, .pricing-factors__td { border-bottom: 1px solid var(--color-border); padding: 20px 25px; vertical-align: top; text-align: left; font-size: 17px; color: var(--color-gray-dark); line-height: 1.5; }
.pricing-factors__th { font-weight: 600; font-family: var(--font-heading); font-size: 19px; }
.pricing-factors__th:nth-child(1) { width: 25%; }
.pricing-factors__th:nth-child(2) { width: 30%; }
.pricing-factors__th:nth-child(3) { width: 45%; }
.pricing-factors__tr:last-child .pricing-factors__td { border-bottom: none; }
.pricing-factors__tr--gray { background-color: #fdfdfd; }
.pricing-factors__list { padding-left: 20px; }

/* --- Блок CTA --- */
.pricing-factors__cta { display: flex; flex-direction: column; gap: 40px; margin-top: 50px; }
.pricing-factors__cta-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 50px; background: var(--color-gray-light); padding: 35px; border-radius: 8px; border-left: 4px solid var(--color-brand-yellow); }
.pricing-factors__cta-info { flex: 1; }
.pricing-factors__cta-title { font-size: 22px; font-weight: 600; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; color: var(--color-gray-dark); font-family: var(--font-heading); }
.pricing-factors__cta-icon { font-size: 24px; }
.pricing-factors__cta-desc { font-size: 17px; margin-bottom: 15px; color: var(--color-text-muted); }

.pricing-factors__actions { display: flex; flex-direction: column; gap: 15px; }
.pricing-factors__btn { width: 100%; font-size: 16px; padding: 12px 25px; border: none; }
.pricing-factors__btn:hover { transform: translateY(-2px); }

.pricing-factors__contacts { display: flex; flex-direction: column; }
.pricing-factors__contact-label { font-size: 20px; color: var(--color-gray-dark); margin-bottom: 5px; }
.pricing-factors__contact-phone { font-size: 24px; font-weight: 600; color: var(--color-gray-dark); margin-bottom: 15px; transition: color var(--transition-fast); }
.pricing-factors__contact-phone:hover { color: var(--color-brand-yellow); }
.pricing-factors__contact-map { font-size: 20px; color: var(--color-gray-dark); }
.pricing-factors__contact-link { text-decoration: underline; transition: color var(--transition-fast); }
.pricing-factors__contact-link:hover { color: var(--color-brand-yellow); }

.pricing-factors__actions .btn, .contact-actions .btn { padding: 10px 16px; font-size: 15px; min-height: 44px; width: 100%; display: inline-flex; align-items: center; justify-content: center; text-transform: uppercase; }

@media (max-width: 992px) {
    .pricing-factors__cta-row { flex-direction: column; padding: 25px; gap: 30px; }
    .pricing-factors__actions { width: 100%; flex: none; }

    .pricing-factors__table-wrapper { border: none; background: transparent; overflow-x: hidden; }
    
    .pricing-factors__table {
        min-width: 0; /* Фикс вылезания за пределы экрана */
    }
    
    .pricing-factors__table, .pricing-factors__tbody, .pricing-factors__tr, .pricing-factors__td { display: block; width: 100%; }
    .pricing-factors__thead { display: none; }
    .pricing-factors__tr { background: var(--color-white); border: 2px solid var(--color-border); border-radius: 8px; margin-bottom: 20px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
    .pricing-factors__tr--gray { background: var(--color-gray-light); }
    .pricing-factors__td { padding: 10px 0; border-bottom: 1px dashed var(--color-border); font-size: 16px; }
    .pricing-factors__td:last-child { border-bottom: none; padding-bottom: 0; }
    .pricing-factors__td:nth-child(2)::before { content: "Как влияет: "; display: block; font-weight: 700; color: var(--color-text-muted); margin-bottom: 5px; font-size: 14px; text-transform: uppercase; }
    .pricing-factors__td:nth-child(3)::before { content: "Важные нюансы: "; display: block; font-weight: 700; color: var(--color-text-muted); margin-bottom: 5px; font-size: 14px; text-transform: uppercase; }
    .pricing-factors__td:nth-child(1) { font-size: 20px; font-weight: 700; color: var(--color-gray-dark); border-bottom: 2px solid var(--color-brand-yellow); padding-top: 0; margin-bottom: 10px; }
}

.pricing-factors__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.factor-card { background: #f8f9fa; border: 1px solid #eaeaea; border-radius: 6px; padding: 25px; transition: transform var(--transition-fast), border-color var(--transition-fast); display: flex; flex-direction: column; }
.factor-card:hover { border-color: var(--color-brand-yellow); transform: translateY(-2px); }
.factor-card__title { font-size: 18px; font-weight: 700; color: var(--color-gray-dark); margin-bottom: 15px; }
.factor-card__divider { height: 2px; background-color: var(--color-brand-yellow); width: 100%; margin-bottom: 20px; }
.factor-card__section { margin-bottom: 15px; }
.factor-card__section:last-child { margin-bottom: 0; }
.factor-card__label { display: block; font-size: 14px; font-weight: 700; color: #777; text-transform: uppercase; margin-bottom: 8px; }
.factor-card__text { font-size: 15px; color: var(--color-gray-dark); margin: 0; }
.factor-card__list { list-style: none; padding: 0; margin: 0; }
.factor-card__list li { position: relative; padding-left: 15px; font-size: 15px; color: var(--color-gray-dark); margin-bottom: 8px; }
.factor-card__list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; background-color: var(--color-brand-yellow); border-radius: 50%; }

@media (max-width: 768px) {
    .pricing-factors__cards { grid-template-columns: 1fr; }
}

/* Инверсия фона cta-row в зависимости от фона секции */
/* Белый фон секции → серый cta-row (по умолчанию) */
.bg_0 .pricing-factors__cta-row,
.bg--white .pricing-factors__cta-row {
    background: var(--color-gray-light);
}
/* Серый фон секции → белый cta-row */
.bg_1 .pricing-factors__cta-row,
.bg--gray .pricing-factors__cta-row {
    background: var(--color-white);
}

/* sections/quiz-icon/style.css */
.quiz-icon { padding: 80px 0; }
.quiz-icon__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.quiz-icon__step { display: none; }
.quiz-icon__step--active { display: block; animation: fadeIn 0.4s ease; }
.quiz-icon__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
    margin: 30px 0;
    align-items: stretch; /* все ячейки тянутся по высоте самой высокой */
}
.quiz-option { cursor: pointer; display: flex; }
.quiz-option.cms-hidden-if-empty { display: none; }
body.admin-edit-mode .quiz-option.cms-hidden-if-empty { display: flex; }
.quiz-option__input { display: none; }
.quiz-option__card {
    display: flex;            /* выравнивание карточек по высоте */
    align-items: center;
    justify-content: center;
    flex: 1;                  /* карточка заполняет всю высоту ячейки grid */
    min-height: 64px;
    padding: 20px;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    text-align: center;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    font-weight: 500;
}
.quiz-option__input:checked + .quiz-option__card {
    border-color: var(--color-brand-yellow);
    background-color: rgba(247, 193, 67, 0.05);
    box-shadow: 0 4px 12px rgba(247, 193, 67, 0.2);
}
.quiz-icon__footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}
/* «Далее» всегда прижата вправо, даже когда «Назад» скрыта на первом шаге
   (раньше из-за justify-content:space-between кнопка прыгала слева направо). */
.quiz-icon__next { margin-left: auto; }
.quiz-icon__progress-bar {
    height: 6px;
    background: var(--color-gray-light);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}
.quiz-icon__progress-fill {
    height: 100%;
    background: var(--color-brand-yellow);
    transition: width 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ФИНАЛ КВИЗА: пояснение + контакты + форма (как в блоке online-eval)
   ========================================================================== */
.quiz-icon__final-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: stretch;
}
.quiz-icon__final-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.quiz-icon__final-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-gray-dark);
    margin: 0 0 12px;
    line-height: 1.25;
}
.quiz-icon__final-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0 0 20px;
}
.quiz-icon__final-hint {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-dark);
    margin: 0 0 10px;
}
.quiz-icon__final-list {
    margin: 0 0 28px;
}
.quiz-icon__final-socials {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-brand-yellow);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.quiz-icon__final-phone {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gray-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.quiz-icon__final-phone:hover {
    color: var(--color-brand-yellow-hover);
}
.quiz-icon__final-socials-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-muted);
}
.quiz-icon__final-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
.quiz-icon__final-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    padding: 9px 12px;
    font-size: 14px;
}
.quiz-icon__final-form {
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--color-white);
    border: 1px solid var(--color-brand-yellow);
    border-radius: 8px;
}
.quiz-icon__final-form .eval-form-container,
.quiz-icon__final-form .eval-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
.quiz-icon__final-form .eval-form__foot {
    margin-top: auto;
}

@media (max-width: 860px) {
    .quiz-icon__final-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Мобильные: уменьшаем паддинги карточки и убираем 240px-минимум у вариантов,
   иначе на узких экранах (≤360px) сетка вариантов вылезает за контейнер. */
@media (max-width: 600px) {
    .quiz-icon { padding: 48px 0; }
    .quiz-icon__card { padding: 24px 16px; }
}

@media (max-width: 480px) {
    .quiz-icon__options { grid-template-columns: 1fr; }
}

/* sections/realexp/style.css */
/*! FILE: blocks/main/realexp.css */
/*
Зависимости:
- global/custom-list.css

Используемые переменные:
- --color-white
- --color-border
- --color-brand-yellow
- --color-gray-light
- --color-gray-dark
- --color-text-muted
- --transition-fast
*/

.real-experience {
    padding: 80px 0;
}

.real-experience__header-main {
    margin-bottom: 50px;
    text-align: center;
}

.real-experience__title-main {
    text-align: center;
}

.real-experience__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.real-experience__card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-brand-yellow);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-fast);
}

.real-experience__card:hover {
    border-color: var(--color-brand-yellow-hover) !important;
}

.real-experience__header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.real-experience__icon {
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-gray-light);
    border-radius: 50%;
}

.real-experience__icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-gray-dark);
}

.real-experience__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-gray-dark);
    margin: 0;
    line-height: 1.3;
}

.real-experience__desc {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* --- Вложенный блок Case Study --- */
.case-study__subtitle {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-gray-dark);
    margin-bottom: 15px;
}

.case-study__list {
    margin-bottom: 25px;
}

.case-study__list-item {
    font-size: 14px;
}

.case-study__highlight {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-gray-dark);
    margin: auto 0 0 0;
    padding: 20px;
    background-color: #fdfdfd;
    border-left: 4px solid var(--color-brand-yellow);
    border-radius: 4px;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .real-experience__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .real-experience__card {
        padding: 30px 20px;
    }
}

/* sections/restoration/style.css */
/*! FILE: blocks/skupka/restoration.css */
/*
Зависимости:
- global/custom-list.css

Используемые переменные:
- --color-white
- --color-gray-dark
- --color-brand-yellow
- --color-border
- --transition-fast
*/

.restoration {
    padding: 60px 0;
}

.restoration__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.restoration__title {
    margin-bottom: 30px;
    text-align: left;
}

.restoration__alert {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.restoration__alert-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #856404;
    margin-bottom: 10px;
}

.restoration__alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.restoration__alert-text {
    margin: 0;
    font-size: 15px;
    color: #856404;
    line-height: 1.5;
}

.restoration__desc {
    font-size: 18px;
    color: var(--color-gray-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ==========================================================================
   Интерактивный слайдер До / После
   ========================================================================== */
.ba-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 5px; /* Строгий токен скругления */
    border: 1px solid var(--color-border); /* Добавили рамку */
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); - ТЕНЬ УДАЛЕНА */
    margin: 0 auto;
    transition: all var(--transition-fast);
}
.ba-slider:hover{
    border-color: var(--color-brand-yellow);
}

.ba-slider__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-slider__before-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.ba-slider__img--before {
    max-width: none;
    height: 100%;
    object-fit: cover;
    /* object-position: left top; - УДАЛЕНО для идеального совпадения картинок */
}

.ba-slider__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
    margin: 0;
}

.ba-slider__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--color-white);
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-slider__button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--color-brand-yellow);
    border: 2px solid var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-dark);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.ba-slider__button svg {
    width: 16px;
    height: 16px;
}

.ba-slider__labels {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
    pointer-events: none;
}

.ba-slider__label {
    background: rgba(0,0,0,0.6);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 992px) {
    .restoration__grid {
        grid-template-columns: 1fr;
    }
}

/* sections/reviews/style.css */
/*! FILE: blocks/main/reviews.css */
/*
Зависимости:
- global/buttons.css

Используемые переменные:
- --color-white
- --color-gray-dark
- --color-brand-yellow
- --color-border
- --color-text-muted
- --transition-fast
*/

.reviews__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviews__link {
    font-size: 16px;
    color: var(--color-gray-dark);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.reviews__link:hover {
    color: var(--color-brand-yellow);
}

.reviews__slider {
    padding-bottom: 20px;
    width: 100%;
}

.reviews__slide {
    height: auto;
}

/* --- Карточка отзыва --- */
.review-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    transition: border-color var(--transition-fast);
}

.review-card:hover {
    border-color: var(--color-brand-yellow);
}

.review-card__content {
    flex-grow: 1;
    margin-bottom: 20px;
}

.review-card__text {
    font-size: 18px;
    color: var(--color-gray-dark);
    line-height: 1.5;
    margin: 0;
}

.review-card__meta {
    margin-top: auto;
}

.review-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.review-card__name {
    font-weight: 600;
    font-size: 16px;
}

.review-card__rating {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.review-card__star {
    width: 16px;
    height: 16px;
    fill: #d9d9d9;
    flex-shrink: 0;
}

.review-card__star.is-filled {
    fill: #f5c340;
}

.review-card__date {
    font-size: 16px;
    color: var(--color-text-muted);
}

/* --- CTA блок (Оставить отзыв) --- */
.review-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white);
    border: 1px solid var(--color-brand-yellow);
    border-radius: 5px;
    padding: 20px 30px;
    margin-top: 30px;
    gap: 20px;
}

.review-cta__title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--color-gray-dark);
}

.review-cta__desc {
    font-size: 18px;
    color: var(--color-text-muted);
    margin: 0;
}

.review-cta__btn {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .reviews__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .review-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .review-cta__btn {
        width: 100%;
    }
}

/* sections/seo-types/style.css */
.seo-types { padding: 80px 0; }
.seo-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.seo-type-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.seo-type-card:hover {
    border-color: var(--color-brand-yellow);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.seo-type-card__media {
    height: 200px;
    overflow: hidden;
}

.seo-type-card__img {
    width: 100%;
    height: 100%;
    /* Не обрезаем изображение карточки — вписываем целиком (letterbox допустим). */
    object-fit: contain;
    background-color: var(--color-gray-light);
    transition: transform 0.5s ease;
}

.seo-type-card:hover .seo-type-card__img {
    transform: scale(1.05);
}

.seo-type-card__content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.seo-type-card__title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--color-gray-dark);
    line-height: 1.3;
}

/* --- Стилизация details/summary --- */
.seo-type-card__details {
    margin-bottom: 20px;
    flex-grow: 1;
}

.seo-type-card__summary {
    cursor: pointer;
    font-size: 15px;
    color: var(--color-brand-yellow-hover);
    font-weight: 500;
    outline: none;
    list-style: none; /* Убираем стандартный треугольник */
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.seo-type-card__summary::-webkit-details-marker {
    display: none; /* Убираем треугольник в WebKit */
}

.seo-type-card__summary::after {
    content: ' ↓';
    font-size: 14px;
}

details[open] .seo-type-card__summary::after {
    content: ' ↑';
}

.seo-type-card__desc {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.5;
    padding-top: 10px;
    border-top: 1px dashed var(--color-border);
    animation: fadeIn 0.3s ease-in-out;
}

.seo-type-card__price {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--color-border);
    font-size: 18px;
    color: var(--color-gray-dark);
}

.seo-type-card__price-label {
    font-size: 14px;
    color: var(--color-text-muted);
    display: block;
}
/* Отключаем стили для summary, если они где-то остались */
.seo-type-card__summary { display: none !important; }
.seo-type-card__desc { 
    opacity: 1 !important; 
    animation: none !important; 
}

/* sections/stamps-catalog/style.css */
.stamps-catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
    justify-content: center;
}
.stamp-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-white);
    transition: border-color var(--transition-fast);
    display: flex;
    flex-direction: column;
}
.stamp-card:hover {
    border-color: var(--color-brand-yellow);
}
.stamp-card__img-wrap {
    height: 200px;
    overflow: hidden;
    background: #f9f9f9;
}
.stamp-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.stamp-card:hover .stamp-card__img {
    transform: scale(1.2);
}
.stamp-card__info { padding: 20px; }
.stamp-card__name { font-size: 20px; margin-bottom: 10px; color: var(--color-gray-dark); }
.stamp-card__desc { font-size: 15px; color: var(--color-text-muted); line-height: 1.4; }

/* sections/webuy/style.css */
/*! FILE: blocks/main/webuy.css */
/*
Зависимости:
- нет

Используемые переменные:
- --color-white
- --color-border
- --color-gray-dark
- --color-brand-yellow
- --color-text-muted
- --transition-fast
*/

/* ==========================================================================
   БЛОК: CATALOG (Секция "Что мы покупаем")
   ========================================================================== */

.catalog {
    padding: 60px 0;
}

.catalog__header {
    text-align: center;
    margin-bottom: 40px;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ==========================================================================
   БЛОК: CATEGORY-CARD (Независимая карточка категории)
   ========================================================================== */

.category-card {
    display: flex;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 5px;
    color: var(--color-gray-dark);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    overflow: hidden;
}

a.category-card:visited,
a.category-card:hover,
a.category-card:focus {
    color: var(--color-gray-dark);
    text-decoration: none;
}

a.category-card:focus-visible {
    outline: 2px solid var(--color-brand-yellow);
    outline-offset: 2px;
}

.category-card:hover {
    border-color: var(--color-brand-yellow);
    box-shadow: 0 8px 25px rgba(245, 195, 64, 0.15);
    transform: translateY(-3px);
}

.category-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.category-card__title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--color-gray-dark);
}

.category-card__desc {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card__more {
    display: inline-block;
    margin-top: auto;
    padding-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.category-card:hover .category-card__more {
    color: var(--color-gray-dark);
    text-decoration: underline;
}

.category-card__media {
    width: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.category-card__img {
    max-width: 100%;
    height: 100%;
    /* Не обрезаем иконку/изображение категории — вписываем целиком. */
    object-fit: contain;
}

/* ==========================================================================
   МЕДИА-ЗАПРОСЫ (Адаптив Каталога)
   ========================================================================== */

@media (max-width: 1024px) {
    .catalog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog {
        padding: 40px 0;
    }

    .catalog__grid {
        grid-template-columns: 1fr;
    }

    .category-card__title {
        font-size: 18px;
    }
}

/* sections/where-to-sell/style.css */
.where-to-sell__header {
    margin-bottom: 40px;
    text-align: center;
}
.where-to-sell__subtitle {
    font-size: 18px;
    color: var(--color-gray-dark);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}
.where-to-sell__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.where-to-sell__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
    display: flex;
    flex-direction: column;
}
.where-to-sell__card:hover {
    border-color: var(--color-brand-yellow);
    transform: translateY(-3px);
}
.where-to-sell__card-title {
    font-size: 20px;
    color: var(--color-gray-dark);
    margin-bottom: 15px;
    font-weight: 600;
}
.where-to-sell__card-desc {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}
@media (max-width: 768px) {
    .where-to-sell__grid {
        grid-template-columns: 1fr;
    }
}

/* layout/footer/style.css */
.footer {
    background-color: var(--color-gray-dark);
    color: var(--color-white);
    padding: 40px 0;
    margin-top: auto;
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer__copyright {
    font-size: 16px;
    color: #a0a0a0;
}

/* layout/header/style.css */
:root {
    --header-h: 84px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    background-color: var(--color-white);
    box-shadow: 0 1px 0 var(--color-border);
}

.header__bar {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px 28px;
    height: var(--header-h);
    min-height: var(--header-h);
    padding-top: 0;
    padding-bottom: 0;
}

.header__logo {
    display: flex;
    align-items: center;
    min-width: 0;
    height: var(--header-h);
}

.custom-logo {
    max-height: 48px;
    width: auto;
    display: block;
}

.header .custom-logo {
    height: var(--header-h);
    max-height: var(--header-h);
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.catalog-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-dark);
    background: none;
    border: 0;
    padding: 6px 0;
    cursor: pointer;
}

.catalog-btn__text {
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.catalog-btn__rect {
    transition: fill var(--transition-fast);
}

.catalog-btn:hover .catalog-btn__text {
    color: var(--color-brand-yellow-hover);
}

.header__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    min-width: 0;
}

.header__cluster {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header__hours {
    font-size: 14px;
    line-height: 1.3;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    min-width: 0;
}

.header__phone {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    color: var(--color-gray-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.header__email {
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-text-muted);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color var(--transition-fast);
}

.header__phone:hover,
.header__email:hover {
    color: var(--color-brand-yellow-hover);
}

.header__actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-font {
    position: relative;
    flex-shrink: 0;
}

.header-font__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--color-brand-yellow);
    color: var(--color-gray-dark);
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.header-font__btn:hover,
.header-font__btn[aria-expanded="true"] {
    background-color: var(--color-brand-yellow-hover);
    transform: scale(var(--btn-hover-scale, 1.03));
}

.header-font__btn:focus-visible {
    outline: 2px solid var(--color-gray-dark);
    outline-offset: 2px;
}

.header-font__svg {
    display: block;
    width: 20px;
    height: 20px;
}

.header-font__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 120;
    width: min(280px, calc(100vw - 24px));
    padding: 14px 14px 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.header-font__menu[hidden] {
    display: none;
}

.header-font__title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-dark);
}

.header-font__choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.header-font__opt {
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    color: var(--color-gray-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.header-font__opt:hover {
    border-color: var(--color-brand-yellow);
}

.header-font__opt.is-active {
    background: var(--color-brand-yellow);
    border-color: var(--color-brand-yellow);
}

.font-tour {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: auto;
}

.font-tour__spot {
    position: fixed;
    border-radius: 50%;
    border: 2px solid var(--color-brand-yellow);
    box-shadow: 0 0 0 9999px rgba(20, 20, 24, 0.72);
    pointer-events: none;
}

.font-tour__pop {
    position: fixed;
    width: min(360px, calc(100vw - 24px));
    padding: 20px 20px 18px;
    background: #fff;
    border: 1px solid var(--color-brand-yellow);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.font-tour__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-gray-dark);
}

.font-tour__text {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.font-tour__choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.header__icons {
    display: none;
    align-items: center;
    gap: 8px;
}

.header__icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--color-gray-dark);
    transition: filter var(--transition-fast), transform var(--transition-fast);
    flex-shrink: 0;
}

.header__icon-link--tg {
    background-color: #2aabee;
    color: #fff;
}

.header__icon-link--max {
    background: transparent;
    padding: 0;
    overflow: hidden;
}

.header__icon-link--max .header__icon-svg {
    width: 42px;
    height: 42px;
}

.header__icon-link--phone {
    background-color: var(--color-brand-yellow);
    color: var(--color-gray-dark);
}

.header__icon-link--email {
    background-color: var(--color-gray-dark);
    color: #fff;
}

.header__icon-link:hover,
.header__icon-link:active {
    transform: scale(var(--btn-hover-scale, 1.03));
    filter: brightness(1.06);
}

.header__icon-svg {
    width: 20px;
    height: 20px;
    display: block;
}

@media (max-width: 1100px) {
    .header__hours { display: none; }
    .header__bar {
        gap: 12px 18px;
        grid-template-columns: auto auto minmax(0, 1fr) auto auto;
    }
}

@media (max-width: 900px) {
    :root { --header-h: 70px; }
    .header__actions,
    .header__contacts,
    .header__hours { display: none; }
    .header__icons { display: flex; }
    .header__bar {
        grid-template-columns: auto auto 1fr auto auto;
        height: var(--header-h);
        min-height: var(--header-h);
    }
    .header__meta { display: none; }
    .header-font { grid-column: 4; }
    .header__icons { grid-column: 5; }
    .header-font__btn {
        background-color: transparent;
        color: var(--color-gray-dark);
    }
    .header-font__btn:hover,
    .header-font__btn[aria-expanded="true"] {
        background-color: var(--color-brand-yellow);
    }
    .header__icon-link--tg,
    .header__icon-link--max { display: none; }
}

@media (max-width: 576px) {
    :root { --header-h: 60px; }
    .catalog-btn__text { display: none; }
    .header-font { grid-column: 4; }
    .header__icon-link,
    .header-font__btn { width: 40px; height: 40px; }
    .header__bar { gap: 8px; }
    .header .custom-logo { max-width: min(42vw, 148px); }
}

/* layout/sidebar/style.css */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    max-width: 450px;
    background-color: var(--color-white);
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform var(--transition-fast);
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
    
}

.sidebar.active {
    height: 100vh;
    transform: translateX(0);
}
 
body.admin-bar .sidebar {
    top: 32px;
    height: calc(100vh - 32px);
}

.sidebar__header {
    background-color: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    border-bottom: 1px solid var(--color-border);
    min-height: 80px;
}

.sidebar__logo {
    margin: auto;
}

.sidebar__close {
    font-size: 40px;
    line-height: 1;
    color: var(--color-gray-dark);
    padding: 0;
    transition: color var(--transition-fast);
}

.sidebar__close:hover {
    color: var(--color-brand-yellow);
}

.sidebar__content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.sidebar__title {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-gray-dark);
    margin-bottom: 10px;
}

.sidebar__nav {
    margin-bottom: 30px;
}

.sidebar__menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.sidebar__menu-link {
    font-size: 18px;
    color: var(--color-gray-dark);
    transition: all var(--transition-fast);
    display: inline-block;
    width: -webkit-fill-available;
}

.sidebar__menu-link:hover {
    color: var(--color-brand-yellow);
    transform: translateX(5px);
}

.sidebar__footer {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar__phone {
    font-size: 22px;
    font-weight: 600;
    font-family: 'Segoe UI', var(--font-primary);
    color: var(--color-gray-dark);
    transition: color var(--transition-fast);
}

.sidebar__phone:hover {
    color: var(--color-brand-yellow);
}

.sidebar__email {
    font-size: 18px;
    color: var(--color-gray-dark);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.sidebar__email:hover {
    color: var(--color-brand-yellow);
}

@media (max-width: 576px) {
    .sidebar { max-width: 85%; }
    .sidebar__header { padding: 15px 20px; }
    .sidebar__content { padding: 20px; }
}

/* layout/tour/style.css */
/* Обучение при первом заходе: жёлтый прожектор, карточка как у шапки Антикторга. */
.antik-tour {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: auto;
}

.antik-tour__spot {
    position: fixed;
    box-sizing: border-box;
    border-radius: 8px;
    border: 2px solid var(--color-brand-yellow);
    box-shadow: 0 0 0 9999px rgba(20, 20, 24, 0.72);
    pointer-events: none;
    transition: none;
}

.antik-tour__spot.is-round {
    border-radius: 50%;
}

.antik-tour__pop {
    position: fixed;
    width: min(380px, calc(100vw - 24px));
    padding: 20px 20px 16px;
    background: #fff;
    border: 1px solid var(--color-brand-yellow);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    pointer-events: auto;
    transition: left 0.3s ease, top 0.3s ease;
}

.antik-tour__badge {
    display: inline-block;
    margin: 0 0 10px;
    padding: 3px 8px;
    background: var(--color-brand-yellow);
    color: var(--color-gray-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    border-radius: 4px;
}

.antik-tour__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-gray-dark);
}

.antik-tour__text {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.antik-tour__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.antik-tour__skip {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.antik-tour__skip:hover,
.antik-tour__skip:focus-visible {
    color: var(--color-gray-dark);
}

.antik-tour__nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.antik-tour__btn {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 5px;
    border: 2px solid var(--color-brand-yellow);
    background: #fff;
    color: var(--color-gray-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.antik-tour__btn:hover,
.antik-tour__btn:focus-visible {
    background: var(--color-brand-yellow);
}

.antik-tour__btn--go {
    background: var(--color-brand-yellow);
}

.antik-tour__btn--go:hover,
.antik-tour__btn--go:focus-visible {
    background: var(--color-brand-yellow-hover);
    border-color: var(--color-brand-yellow-hover);
}

.antik-tour__btn.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 768px) {
    .antik-tour__pop {
        left: 10px !important;
        right: 10px !important;
        width: auto;
        max-width: none;
        padding: 12px 14px 10px;
        max-height: min(34vh, 220px);
        overflow-y: auto;
    }
    .antik-tour.is-dock-bottom .antik-tour__pop {
        top: auto !important;
        bottom: 10px;
        right: 72px !important;
    }
    .antik-tour.is-fab .antik-tour__pop {
        right: auto !important;
        bottom: auto !important;
        width: min(280px, calc(100vw - 96px));
        max-width: min(280px, calc(100vw - 96px));
        max-height: min(42vh, 260px);
    }
    .antik-tour__badge {
        margin-bottom: 8px;
    }
    .antik-tour__title {
        font-size: 17px;
    }
    .antik-tour__text {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) and (max-height: 740px) {
    .antik-tour__pop {
        padding: 10px 12px 8px;
        max-height: min(30vh, 170px);
    }
    .antik-tour__badge {
        margin-bottom: 6px;
        font-size: 11px;
    }
    .antik-tour__title {
        font-size: 15px;
        margin-bottom: 4px;
    }
    .antik-tour__text {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    .antik-tour__btn {
        min-height: 36px;
        padding: 6px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .antik-tour__spot,
    .antik-tour__pop {
        transition: none;
    }
}

/* ui/button/style.css */
/* Файл: css/blocks/global/btn.css | Базовый UI-компонент кнопки */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(var(--space-xs) + 2px); /* 10px - заменяет старый margin-right у .btn__icon */
    padding: calc(var(--space-xs) + 2px) calc(var(--space-sm) + 4px); /* 10px 20px */
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    /* BEM: Блок должен быть независимым, внешние отступы запрещены */
    margin: 0; 
}

/* Иконка внутри кнопки (отступ теперь контролируется через gap в .btn) */
.btn__icon {
    width: 18px;
    height: 18px;
    margin: 0; 
}

/* --- МОДИФИКАТОРЫ КНОПОК --- */

/* СТИЛЬ 1: Желтая кнопка (Primary) */
.btn--primary {
    background-color: var(--color-brand-yellow);
    border-color: var(--color-brand-yellow);
    color: var(--color-gray-dark);
}
.btn--primary svg {
    fill: var(--color-gray-dark); /* Иконки внутри кнопки тоже темные */
}
.btn--primary:hover {
    background-color: var(--color-brand-yellow-hover);
    border-color: var(--color-brand-yellow-hover);
    color: var(--color-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 195, 64, 0.3);
}

/* СТИЛЬ 2: Прозрачная с желтой рамкой (Outline) */
.btn--outline {
    background-color: var(--color-white);
    border-color: var(--color-brand-yellow);
    color: var(--color-gray-dark);
}
.btn--outline:hover {
    background-color: var(--color-brand-yellow);
    color: var(--color-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 195, 64, 0.3);
}

/* СТИЛЬ 3: Уникальные цвета (Соцсети / Спец. предложения) */
.btn--max {
    background: linear-gradient(90deg, #1e7efb, #8a41f6);
    color: var(--color-white);
    border-color: transparent;
}

.btn--max:hover {
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 126, 251, 0.4);
}

.btn--tg {
    background-color: #40b3e0;
    color: var(--color-white);
    border-color: #40b3e0;
}

.btn--tg:hover {
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(64, 179, 224, 0.4);
}

.btn--wa {
    background-color: #2cb742;
    color: var(--color-white);
    border-color: #2cb742;
}

.btn--wa:hover {
    background-color: #19a52e;
    border-color: #19a52e;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 183, 66, 0.4);
}

/* ui/checkbox/style.css */
/* Файл: css/blocks/global/custom-checkbox.css | UI компонент: Кастомный чекбокс (согласие на ПД) */

.custom-checkbox {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.custom-checkbox__text {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
    padding-left: calc(var(--space-md) - 2px); /* 30px */
    margin: 0; /* BEM: никаких внешних отступов */
}

/* Квадратик чекбокса */
.custom-checkbox__text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: calc(var(--space-sm) + 4px); /* 20px */
    height: calc(var(--space-sm) + 4px); /* 20px */
    border: 2px solid var(--color-brand-yellow);
    border-radius: 4px;
    background-color: var(--color-white);
    transition: all var(--transition-fast);
}

/* Галочка внутри чекбокса */
.custom-checkbox__text::after {
    content: '';
    position: absolute;
    left: 7px; /* Микро-позиционирование оставляем в px, так как оно зависит от геометрии галочки */
    top: 6px;
    width: 6px;
    height: 10px;
    border: solid var(--color-gray-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.custom-checkbox:checked + .custom-checkbox__text::before {
    background-color: var(--color-brand-yellow);
}

.custom-checkbox:checked + .custom-checkbox__text::after {
    opacity: 1;
}

.custom-checkbox__link {
    color: var(--color-gray-dark);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.custom-checkbox__link:hover {
    color: var(--color-brand-yellow);
}

/* ui/form-eval/style.css */
/* ==========================================================================
   UI: form-eval — одна сетка полей, шапка по центру, низ формы ровный
   ========================================================================== */

.eval-form-container {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.eval-form__head {
    width: 100%;
    margin: 0 0 12px;
    text-align: center;
}

.eval-form__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--color-gray-dark);
    text-align: center;
    line-height: 1.3;
}

.eval-form__subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 4px 0 0;
    text-align: center;
    line-height: 1.4;
}

.eval-form__head .eval-form__title + .eval-form__subtitle {
    margin-top: 4px;
}

.eval-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    border-radius: 8px;
    flex: 1 1 auto;
    overflow: visible;
}

.eval-form__fields-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    width: 100%;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
}
.eval-form__fields-wrapper:has(.eval-form__row--grow) {
    grid-template-rows: auto 1fr auto;
}

.eval-form__row {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eval-form__row--half {
    grid-column: span 1;
}

.eval-form__row--grow {
    min-height: 0;
}

.eval-form__row--grow .eval-form__input--textarea {
    flex: 1 1 auto;
    min-height: 72px;
    resize: vertical;
}

.eval-form__input,
.eval-form__select,
.eval-form__input--textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.45;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    color: var(--color-gray-dark);
    max-width: 100%;
}

.eval-form__input:focus,
.eval-form__select:focus,
.eval-form__input--textarea:focus {
    border-color: var(--color-brand-yellow);
    box-shadow: 0 0 0 2px rgba(245, 195, 64, 0.2);
    background: #ffffff;
}

.eval-form__input::placeholder,
.eval-form__input--textarea::placeholder {
    color: #8a8a8a;
}

.eval-form__input--textarea {
    min-height: 72px;
    resize: vertical;
    font-family: inherit;
}

.eval-form__label-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    min-height: 18px;
    margin: 0;
    overflow: visible;
}

.eval-form__label {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: var(--color-text-muted, #555);
    margin: 0;
    font-weight: 500;
    line-height: 18px;
}

.eval-form__hint { display: none; }

/* Как .comparison__chart-info / __icon / __tooltip: жёлтый «?», тёмный пузырь сверху справа.
   Сам пузырь на hover выносится на body (script.js), иначе модалка и overflow его режут. */
.eval-form__tip {
    position: relative;
    margin-left: 2px;
    display: inline-flex;
    cursor: help;
    flex-shrink: 0;
    overflow: visible;
}

.eval-form__tip--ported .eval-form__tip-text {
    opacity: 0 !important;
    visibility: hidden !important;
}

.eval-form__tip-icon {
    width: 18px;
    height: 18px;
    background: var(--color-brand-yellow);
    color: var(--color-gray-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    font-style: normal;
    line-height: 18px;
    transition: background 0.3s ease;
}

.eval-form__tip:hover .eval-form__tip-icon,
.eval-form__tip:focus .eval-form__tip-icon,
.eval-form__tip:focus-visible .eval-form__tip-icon {
    background: var(--color-brand-yellow-hover);
}

.eval-form__tip-text {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    width: max-content;
    max-width: 300px;
    white-space: normal;
    padding: 10px 14px;
    background: var(--color-gray-dark);
    color: var(--color-white, #fff);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.eval-form__tip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 4px;
    left: auto;
    margin: 0;
    border: 6px solid transparent;
    border-top-color: var(--color-gray-dark);
}

.eval-form__tip:hover .eval-form__tip-text,
.eval-form__tip:focus .eval-form__tip-text,
.eval-form__tip:focus-visible .eval-form__tip-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.eval-form__tip-text--float {
    position: fixed;
    z-index: 11000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    margin: 0;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: max-content;
    max-width: min(300px, calc(100vw - 16px));
    padding: 10px 14px;
    background: var(--color-gray-dark);
    color: var(--color-white, #fff);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    white-space: normal;
}

.eval-form__tip-text--float:not(.is-above) {
    transform: translateY(-10px);
}

.eval-form__tip-text--float.is-in {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .eval-form__tip-text,
    .eval-form__tip-text--float {
        transition: none;
    }
}

.eval-form__tip-text--float::after {
    content: '';
    position: absolute;
    left: auto;
    right: var(--tip-arrow-right, 4px);
    margin: 0;
    bottom: 100%;
    top: auto;
    border: 6px solid transparent;
    border-top-color: transparent;
    border-bottom-color: var(--color-gray-dark);
}

.eval-form__tip-text--float.is-above::after {
    bottom: auto;
    top: 100%;
    border-bottom-color: transparent;
    border-top-color: var(--color-gray-dark);
}

.eval-form__label--required::after {
    content: " *";
    color: #e84118;
    font-weight: bold;
}

.eval-form__file-wrap {
    position: relative;
    width: 100%;
}

.eval-form__file-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.eval-form__file-label {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    background: #fdfdfd;
    border: 1.5px dashed #d1d1d1;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
    gap: 8px;
}

.eval-form__file-label:hover {
    background: rgba(245, 195, 64, 0.12);
    border-color: var(--color-brand-yellow);
}

.eval-form__file-label--required .eval-form__file-text::after {
    content: " *";
    color: #e84118;
    font-weight: bold;
}

.eval-form__file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-brand-yellow-hover);
}

.eval-form__file-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.eval-form__file-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
}

.eval-form__file-hint { display: none; }

.eval-form__file-label--small {
    flex-direction: row;
    min-height: 40px;
    padding: 8px 12px;
    gap: 6px;
    border-radius: 8px;
    justify-content: flex-start;
    background: #f8f8f8;
}

.eval-form__file-label--small .eval-form__file-icon svg {
    width: 16px;
    height: 16px;
}

.eval-form__file-label--small .eval-form__file-text {
    font-size: 14px;
    color: #555;
}

.eval-form__file-label--small .eval-form__file-hint {
    display: none;
}

.eval-form__row--file-inline {
    grid-column: span 1;
    display: flex;
    align-items: stretch;
}

.eval-form__agreement {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
}

.eval-form__checkbox-label {
    display: block;
    text-align: left;
    line-height: 1.4;
    cursor: pointer;
    flex: 1 1 auto;
    min-width: 0;
}

.eval-form__checkbox-input {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 15px;
    height: 15px;
    margin: 2px 0 0 0;
    flex-shrink: 0;
    cursor: pointer;
    opacity: 1 !important;
    position: static !important;
    pointer-events: auto !important;
}

.eval-form__agreement-text {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.eval-form__agreement a,
.eval-form__agree-link,
.eval-form__agreement-text a {
    color: var(--color-brand-yellow-hover);
    text-decoration: underline;
}

.eval-form__agreement-text a:hover {
    text-decoration: none;
}

.eval-form__foot {
    margin-top: auto;
    padding-top: 12px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 auto;
}

.eval-form__submit-wrapper {
    width: 100%;
    margin: 0;
}

.eval-form__submit {
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    background-color: var(--color-brand-yellow);
    color: var(--color-gray-dark);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    transform: none;
}

.eval-form__submit:hover {
    opacity: 1;
    background-color: var(--color-brand-yellow-hover);
    transform: scale(var(--btn-hover-scale, 1.03));
    box-shadow: none;
}

.eval-form__message {
    width: 100%;
    margin: 0;
    font-size: 14px;
    border-radius: 4px;
    padding: 8px 12px;
}

@media (max-width: 480px) {
    .eval-form__fields-wrapper {
        grid-template-columns: 1fr;
    }

    .eval-form__fields-wrapper:has(.eval-form__row--grow) {
        grid-template-rows: auto auto 1fr auto;
    }

    .eval-form__row--half {
        grid-column: 1 / -1;
    }

    .eval-form {
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eval-form__submit:hover {
        transform: none;
    }
}
