/* ------------------------------------------------------------------
   Раздел «Перегородки» — стили страниц
   Палитра proem.local: #0f0f0f / #222224, золото #e1b261, Syne
   ------------------------------------------------------------------ */

.pg-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Кнопки ---------- */
.pg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .4px;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.pg-btn--gold {
    background: #e1b261;
    color: #141414;
}
.pg-btn--gold:hover {
    background: #ffffff;
    color: #141414;
    text-decoration: none;
}
.pg-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: #ffffff;
}
.pg-btn--ghost:hover {
    border-color: #e1b261;
    color: #e1b261;
    text-decoration: none;
}
.pg-btn--small {
    padding: 11px 20px;
    font-size: 13px;
    background: transparent;
    border-color: #c9c9c9;
    color: #222224;
}
.pg-btn--small:hover {
    background: #0f0f0f;
    border-color: #0f0f0f;
    color: #ffffff;
    text-decoration: none;
}

/* ---------- Первый экран ---------- */
.pg-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 80px;
    background: #0f0f0f;
    color: #ffffff;
}
.pg-hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: .5;
}
.pg-hero__bg:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #0f0f0f 12%, rgba(15, 15, 15, .78) 55%, rgba(15, 15, 15, .35) 100%);
}
.pg-hero__inner {
    position: relative;
    max-width: 780px;
}
.pg-hero__kicker {
    margin: 22px 0 10px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e1b261;
}
.pg-hero__title {
    margin: 0 0 22px;
    font-size: 76px;
    line-height: 1.04;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pg-hero__descr {
    max-width: 680px;
    margin: 0 0 30px;
    font-size: 17px;
    line-height: 26px;
    color: #dedede;
}
.pg-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- Хлебные крошки ---------- */
.pg-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #8f8f8f;
}
.pg-crumbs a {
    color: #8f8f8f;
    text-decoration: none;
}
.pg-crumbs a:hover {
    color: #e1b261;
}
.pg-crumbs__current {
    color: #e1b261;
}

/* ---------- Секции ---------- */
.pg-section {
    padding: 90px 0;
}
.pg-section--tight {
    padding-top: 40px;
}
.pg-section--light {
    background: #ffffff;
    color: #222224;
}
.pg-section--gray {
    background: #f5f4f2;
    color: #222224;
}
.pg-section--dark {
    background: #0f0f0f;
    color: #ffffff;
}

.pg-section--light h2,
.pg-section--gray h2,
.pg-section--light h3,
.pg-section--gray h3 {
    color: #222224;
}
.pg-section--dark h2,
.pg-section--dark h3 {
    color: #ffffff;
}
.pg-section--light p,
.pg-section--gray p {
    color: #5c5c5e;
}
.pg-section--dark p {
    color: #c7c7c7;
}

.pg-title {
    margin-bottom: 46px;
    max-width: 860px;
}
.pg-title h2 {
    margin: 0 0 16px;
    font-size: 46px;
    line-height: 54px;
    font-weight: 600;
}
.pg-sub {
    margin: 0;
    font-size: 18px;
    line-height: 28px;
}
.pg-lead {
    font-size: 19px;
    line-height: 30px;
}
.pg-note {
    font-size: 14px;
    line-height: 22px;
    color: #9a9a9a !important;
}

/* ---------- Сетка «текст + фото» ---------- */
.pg-two-col {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 54px;
    align-items: center;
}
.pg-two-col--top {
    align-items: start;
}
.pg-two-col__text p:first-child {
    margin-top: 0;
}

/* ---------- Размеры ---------- */
.pg-sizes {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}
.pg-nums {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 30px 0 18px;
    padding: 0;
    list-style: none;
}
.pg-nums__value {
    display: block;
    font-size: 46px;
    line-height: 1;
    font-weight: 600;
    color: #e1b261;
}
.pg-nums__label {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #a7a7a7;
}
.pg-sizes__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.pg-sizes__gallery a {
    display: block;
    overflow: hidden;
    background: #ffffff;
    border-radius: 3px;
}
.pg-sizes__gallery img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: #0f0f0f;
    transition: transform .4s ease;
}
.pg-sizes__gallery a:hover img {
    transform: scale(1.04);
}

/* ---------- Профиль: цвета ---------- */
.pg-colors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.pg-colors__item {
    margin: 0;
    text-align: center;
}
.pg-colors__item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 3px;
    background: #1b1b1b;
}
.pg-colors__item figcaption {
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #b9b9b9;
}

/* ---------- Анодирование ---------- */
.pg-anod {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 54px;
    align-items: center;
}
.pg-anod__img img {
    display: block;
    width: 100%;
    border-radius: 3px;
    object-fit: cover;
}
.pg-details {
    margin-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}
.pg-details__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #e1b261;
    cursor: pointer;
    user-select: none;
}
.pg-details__head i {
    transition: transform .25s ease;
}
.pg-details.open .pg-details__head i {
    transform: rotate(180deg);
}
.pg-details__body {
    display: none;
    padding-bottom: 20px;
}
.pg-details.open .pg-details__body {
    display: block;
}

/* ---------- Вкладки ---------- */
.pg-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 34px;
    margin-bottom: 40px;
    border-bottom: 1px solid #dedbd6;
}
.pg-tabs__btn {
    position: relative;
    padding: 0 0 16px;
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #8b8b8b;
    background: none;
    border: 0;
    cursor: pointer;
    transition: color .2s ease;
}
.pg-tabs__btn:hover {
    color: #222224;
}
.pg-tabs__btn.active {
    color: #222224;
}
.pg-tabs__btn.active:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #222224;
}
.pg-section--dark .pg-tabs {
    border-bottom-color: rgba(255, 255, 255, .18);
}
.pg-section--dark .pg-tabs__btn {
    color: #8f8f8f;
}
.pg-section--dark .pg-tabs__btn:hover,
.pg-section--dark .pg-tabs__btn.active {
    color: #ffffff;
}
.pg-section--dark .pg-tabs__btn.active:after {
    background: #e1b261;
}
.pg-tab-panel {
    display: none;
}
.pg-tab-panel.active {
    display: block;
}

/* ---------- Стекло ---------- */
.pg-glass-group {
    margin-top: 54px;
}
.pg-glass-group:first-of-type {
    margin-top: 34px;
}
.pg-glass-group h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 32px;
}
.pg-glass-group p {
    max-width: 900px;
}
.pg-glass {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 24px;
}
.pg-glass__item {
    margin: 0;
    text-align: center;
}
.pg-glass__item img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 3px;
    background: #f0eeeb;
    transition: transform .4s ease;
}
.pg-glass__item a {
    display: block;
    overflow: hidden;
    border-radius: 3px;
}
.pg-glass__item a:hover img {
    transform: scale(1.05);
}
.pg-glass__item figcaption {
    margin-top: 9px;
    font-size: 13px;
    line-height: 18px;
    color: #66666a;
}
.pg-stat {
    padding: 28px;
    border: 1px solid #e3e0da;
    border-radius: 3px;
    text-align: center;
    background: #faf9f7;
}
.pg-stat__num {
    display: block;
    font-size: 76px;
    line-height: 1;
    font-weight: 600;
    color: #e1b261;
}
.pg-stat__label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    line-height: 20px;
    color: #5c5c5e;
}
.pg-section--dark .pg-stat {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .03);
}
.pg-section--dark .pg-stat__label {
    color: #c7c7c7;
}


/* ---------- Преимущества ---------- */
.pg-adv {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.pg-adv__item {
    position: relative;
    padding: 32px 28px 30px;
    background: #ffffff;
    border-radius: 3px;
}
.pg-adv__num {
    display: block;
    margin-bottom: 16px;
    font-size: 40px;
    line-height: 1;
    font-weight: 600;
    color: #e1b261;
}
.pg-adv__item h3 {
    margin: 0 0 14px;
    font-size: 21px;
    line-height: 28px;
}
.pg-adv__item p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 24px;
}
.pg-adv__item p:last-child {
    margin-bottom: 0;
}

/* ---------- Схемы крепления ---------- */
.pg-mounts {
    margin-top: 64px;
    text-align: center;
}
.pg-mounts__title {
    margin: 0 0 26px;
    font-size: 22px;
    line-height: 30px;
}
.pg-mounts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 900px;
    margin: 0 auto;
}
.pg-mounts__item {
    margin: 0;
    padding: 24px 18px;
    background: #ffffff;
    border-radius: 3px;
}
.pg-mounts__item img {
    display: block;
    width: 100%;
    max-height: 150px;
    object-fit: contain;
}
.pg-mounts__item figcaption {
    margin-top: 16px;
    font-size: 14px;
    color: #5c5c5e;
}
.pg-mounts__note {
    margin: 26px 0 22px;
    font-size: 15px;
    color: #222224 !important;
    font-weight: 600;
}

/* ---------- Дизайны створок ---------- */
.pg-designs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.pg-designs__item {
    margin: 0;
    text-align: center;
}
.pg-designs__item a {
    display: block;
    overflow: hidden;
    border-radius: 3px;
    background: #f0eeeb;
}
.pg-designs__item img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform .4s ease;
}
.pg-designs__item a:hover img {
    transform: scale(1.05);
}
.pg-designs__item figcaption {
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #5c5c5e;
}

/* ---------- Галерея ---------- */
.pg-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.pg-gallery--5 {
    grid-template-columns: repeat(5, 1fr);
}
.pg-gallery--3 {
    grid-template-columns: repeat(3, 1fr);
}
.pg-gallery--3 .pg-gallery__item img {
    aspect-ratio: 16 / 10;
}
.pg-gallery__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 3px;
    background: #eae7e2;
}
.pg-gallery__item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .45s ease;
}
.pg-gallery__item:hover img {
    transform: scale(1.05);
}
/* Раскладки-схемы (20–22 шт.) — вертикальные, показываем целиком на светлой подложке */
.pg-gallery--5 .pg-gallery__item {
    background: #ffffff;
    border: 1px solid #e2ded8;
}
.pg-gallery--5 .pg-gallery__item img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
.pg-gallery--5 .pg-gallery__cap {
    padding: 22px 10px 10px;
    font-size: 12px;
    color: #222224;
    background: linear-gradient(to top, #ffffff 45%, rgba(255, 255, 255, 0));
}
.pg-gallery__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 14px 12px;
    font-size: 13px;
    color: #ffffff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .65));
}

/* ---------- Вводный блок категории ---------- */
.pg-intro {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 54px;
    align-items: center;
}
.pg-intro__img {
    margin: 0;
}
.pg-intro__img img {
    display: block;
    width: 100%;
    border-radius: 3px;
    object-fit: cover;
}
.pg-intro__stat {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid #e3e0da;
}
.pg-intro__num {
    font-size: 76px;
    line-height: .9;
    font-weight: 600;
    color: #e1b261;
}
.pg-intro__label {
    max-width: 260px;
    font-size: 15px;
    line-height: 22px;
    color: #5c5c5e;
}


/* ---------- Карточки моделей ---------- */
.pg-models {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.pg-model {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border-radius: 3px;
}
.pg-model__img {
    overflow: hidden;
}
.pg-model__img img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    background: #dcdad6;
    transition: transform .45s ease;
}
.pg-model__img a:hover img {
    transform: scale(1.04);
}
.pg-model__body {
    padding: 26px 28px 30px;
}
.pg-model__body h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pg-model__body p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 24px;
}

/* ---------- «Смотрите также» ---------- */
.pg-also {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.pg-also__item {
    display: block;
    text-decoration: none;
}
.pg-also__img {
    display: block;
    overflow: hidden;
    border-radius: 3px;
    background: #1b1b1b;
}
.pg-also__img img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    opacity: .9;
    transition: transform .45s ease, opacity .3s ease;
}
.pg-also__item:hover .pg-also__img img {
    transform: scale(1.05);
    opacity: 1;
}
.pg-also__title {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    color: #e6e6e6;
}
.pg-also__item:hover .pg-also__title {
    color: #e1b261;
}

/* ---------- Плитки категорий (обзорная страница) ---------- */
.pg-cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.pg-cat {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border-radius: 3px;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}
.pg-cat:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}
.pg-cat__img {
    display: block;
    overflow: hidden;
}
.pg-cat__img img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .45s ease;
}
.pg-cat:hover .pg-cat__img img {
    transform: scale(1.05);
}
.pg-cat__body {
    display: block;
    padding: 22px 24px 26px;
}
.pg-cat__body h3 {
    margin: 0 0 8px;
    font-size: 21px;
    line-height: 27px;
    color: #222224;
}
.pg-cat__body p {
    margin: 0;
    font-size: 14px;
    line-height: 21px;
    color: #77777a;
}

/* ---------- Финальный CTA ---------- */
.pg-cta {
    padding: 70px 0;
    background: linear-gradient(120deg, #0f0f0f 0%, #1c1c1c 100%);
    color: #ffffff;
}
.pg-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.pg-cta__text {
    max-width: 640px;
}
.pg-cta__text h2 {
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 46px;
    color: #ffffff;
}
.pg-cta__text p {
    margin: 0;
    font-size: 16px;
    line-height: 25px;
    color: #c7c7c7;
}
.pg-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1200px) {
    .pg-designs {
        grid-template-columns: repeat(4, 1fr);
    }
    .pg-gallery--5 {
        grid-template-columns: repeat(4, 1fr);
    }
    .pg-also {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 992px) {
    .pg-section {
        padding: 64px 0;
    }
    .pg-hero {
        padding: 70px 0 60px;
    }
    .pg-hero__title {
        font-size: 54px;
        line-height: 1.06;
    }
    .pg-title h2 {
        font-size: 36px;
        line-height: 44px;
    }
    .pg-two-col,
    .pg-sizes,
    .pg-anod,
    .pg-intro {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .pg-adv,
    .pg-mounts__grid,
    .pg-cats {
        grid-template-columns: repeat(2, 1fr);
    }
    .pg-models {
        grid-template-columns: 1fr;
    }
    .pg-glass {
        grid-template-columns: repeat(3, 1fr);
    }
    .pg-sizes__gallery {
        grid-template-columns: repeat(4, 1fr);
    }
    .pg-gallery,
    .pg-gallery--5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .pg-cta__text h2 {
        font-size: 30px;
        line-height: 38px;
    }
}
@media (max-width: 640px) {
    .pg-container {
        padding: 0 16px;
    }
    .pg-hero__title {
        font-size: 38px;
        line-height: 1.08;
    }
    .pg-title h2 {
        font-size: 27px;
        line-height: 34px;
    }
    .pg-adv,
    .pg-mounts__grid,
    .pg-cats {
        grid-template-columns: 1fr;
    }
    .pg-glass,
    .pg-designs,
    .pg-gallery,
    .pg-gallery--5,
    .pg-also,
    .pg-colors {
        grid-template-columns: repeat(2, 1fr);
    }
    .pg-sizes__gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .pg-nums {
        gap: 24px;
    }
    .pg-nums__value {
        font-size: 34px;
    }
    .pg-intro__num,
    .pg-stat__num {
        font-size: 54px;
    }
    .pg-tabs {
        gap: 6px 18px;
    }
    .pg-tabs__btn {
        font-size: 15px;
        padding-bottom: 12px;
    }
    .pg-cta__actions {
        width: 100%;
    }
    .pg-cta__actions .pg-btn {
        flex: 1 1 auto;
    }
}

