/* Посадочные блоки страницы товара (partials/product/landing.htm). 24.11.2026.
   Цвета — переменные сайта: --accent-green #96BB47, --accent-dark-green #154C42, --dark-green #07231E. */

/* Вступление и цена — в первом экране, под H1 */
.overview-lead {
    margin: -6px 0 22px;
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.45;
    color: #353535;
}

.overview-price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin: 0 0 22px;
    padding: 10px 18px;
    border-radius: 14px 14px 14px 4px;
    background: #F1F6E6;
    font-size: 1.125rem;
    color: #151515;
}

.overview-price b {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-dark-green);
}

.overview-price span {
    font-weight: 300;
    font-size: .875rem;
    color: #666;
}

/* Общий ритм блоков */
.pl-section {
    padding: 40px 0;
}

.pl-section .section-title {
    margin-bottom: 24px;
}

/* Где применяют */
.pl-apps-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pl-apps-item {
    padding: 12px 20px;
    border: 1px solid #DCE7C6;
    border-radius: 50px;
    background: #F7FAF0;
    font-size: 1rem;
    color: #151515;
}

/* Модельный ряд */
.pl-lineup-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pl-lineup-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

/* Текст в ячейках переносится: на телефоне таблица не уезжает вбок (25.11.2026) */
.pl-lineup-table th,
.pl-lineup-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #E5E5E5;
    text-align: left;
    vertical-align: top;
}

.pl-lineup-table th {
    background: var(--dark-green);
    color: #fff;
    font-weight: 500;
}

.pl-lineup-table th:first-child {
    border-top-left-radius: 12px;
}

.pl-lineup-table th:last-child {
    border-top-right-radius: 12px;
}

.pl-lineup-table tr:nth-child(even) td {
    background: #F7F7F7;
}

.pl-lineup-table p {
    margin: 12px 0 0;
    font-size: .875rem;
    color: #666;
    white-space: normal;
}

/* Фото */
.pl-photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.pl-photos-item a {
    display: block;
    overflow: hidden;
    border-radius: 14px 14px 14px 4px;
    aspect-ratio: 4 / 3;
    background: #EEE;
}

.pl-photos-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.pl-photos-item a:hover img {
    transform: scale(1.04);
}

.pl-photos-caption {
    display: block;
    margin-top: 8px;
    font-size: .875rem;
    line-height: 1.35;
    color: #535353;
}

/* Видео */
/* Ролики вертикальные (1080×1920): плеер по высоте экрана, без чёрных полей */
.pl-video-player {
    display: block;
    width: auto;
    max-width: 100%;
    height: min(80vh, 720px);
    border-radius: 16px;
    background: #000;
}

/* Объекты */
.pl-projects-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pl-projects-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #E5E5E5;
    border-radius: 16px 16px 16px 4px;
    color: #151515;
    transition: border-color .2s ease;
}

.pl-projects-item a:hover {
    border-color: var(--accent-green);
}

.pl-projects-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.pl-projects-name {
    padding: 16px 18px 6px;
    font-weight: 500;
    font-size: 1.0625rem;
    line-height: 1.35;
}

.pl-projects-more {
    margin-top: auto;
    padding: 0 18px 16px;
    font-size: .875rem;
    color: var(--accent-dark-green);
}

/* Частые вопросы */
.pl-faq-list {
    max-width: 960px;
}

.pl-faq-item {
    border-bottom: 1px solid #E5E5E5;
}

.pl-faq-item summary {
    position: relative;
    padding: 20px 44px 20px 0;
    cursor: pointer;
    list-style: none;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.35;
    color: #151515;
}

.pl-faq-item summary::-webkit-details-marker {
    display: none;
}

.pl-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #F1F6E6;
    color: var(--accent-dark-green);
    font-size: 1.25rem;
    line-height: 30px;
    text-align: center;
}

.pl-faq-item[open] summary::after {
    content: '−';
    background: var(--accent-green);
    color: #fff;
}

.pl-faq-answer {
    padding: 0 0 20px;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: #353535;
}

/* Подробный текст */
.pl-text-body {
    max-width: 960px;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.65;
    color: #353535;
}

.pl-text-body h2 {
    margin: 1.4em 0 .6em;
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 1.25;
    color: #151515;
}

.pl-text-body h3 {
    margin: 1.2em 0 .5em;
    font-weight: 500;
    font-size: 1.25rem;
    color: #151515;
}

.pl-text-body p {
    margin: 0 0 1em;
}

.pl-text-body ul {
    margin: 0 0 1em;
    padding-left: 1.2em;
    list-style: disc;
}

.pl-text-body li {
    margin-bottom: .4em;
}

.pl-text-body a {
    color: var(--accent-dark-green);
    text-decoration: underline;
}

/* Призыв к расчёту */
.pl-cta-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 40px;
    border-radius: 24px 24px 24px 6px;
    background: var(--dark-green);
    color: #fff;
}

.pl-cta-title {
    margin: 0 0 8px;
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 1.2;
    color: #fff;
}

.pl-cta-text {
    margin: 0;
    max-width: 620px;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .8);
}

.pl-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pl-cta-button {
    display: inline-block;
    padding: 16px 30px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50px;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    transition: background .2s ease, border-color .2s ease;
}

.pl-cta-button:hover {
    border-color: #fff;
    color: #fff;
}

.pl-cta-button-main {
    border-color: var(--accent-green);
    background: var(--accent-green);
    color: var(--dark-green);
}

.pl-cta-button-main:hover {
    background: #a8cc5a;
    color: var(--dark-green);
}

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

    .pl-projects-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pl-section {
        padding: 28px 0;
    }

    .pl-lineup-table table {
        font-size: .875rem;
    }

    .pl-lineup-table th,
    .pl-lineup-table td {
        padding: 10px 8px;
    }

    .pl-photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .pl-projects-list {
        grid-template-columns: 1fr;
    }

    .pl-cta-box {
        padding: 26px 22px;
    }

    .pl-cta-title {
        font-size: 1.375rem;
    }

    .pl-cta-buttons,
    .pl-cta-button {
        width: 100%;
        text-align: center;
    }
}
