.p2-wrapper{--p2-color-text: #000000; --p2-color-text-muted: #666666; --p2-color-accent: #B90001; --p2-color-accent-hover: #990001; --p2-color-card-bg: #F4F6F9; --p2-color-yandex: #F5C518; --p2-color-border: #EAEAEA; --p2-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05); --p2-shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08); --p2-radius-sm: 8px; --p2-radius-md: 10px; --p2-radius-lg: 15px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale}
/* ==========================================================================
   Hero Section
========================================================================== */
.wrapper__natsbg{background: linear-gradient(135deg, #f8f9fa 0%, #eef1f5 100%);}
.p2-hero-list{margin:30px 0}
.p2-hero-list li{gap:10px}
.p2-hero-list li svg{color: var(--p2-color-accent); font-size: 24px}
.p2-hero{position: relative; padding: 80px 0 120px; background: linear-gradient(to right, #ffffff 40%, #f4f6f9 100%); overflow: hidden}
/* Background Image placeholder */
.p2-hero-bg{position: absolute; top: 0; right: 0; width: 60%; height: 100%; background-image: url('https://images.unsplash.com/photo-1541888087405-eb81f14897f2?q=80&w=2070&auto=format&fit=crop'); /* Placeholder image of team */
    background-size: cover; background-position: center left; mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%); -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%); z-index: 1}
.p2-hero-content{position: relative; z-index: 2; max-width: 600px}
.p2-hero-title{font-size: 48px; font-weight: 800; line-height: 1.2; margin: 0 0 20px 0}
.p2-hero-subtitle{font-size: 24px; font-weight: 600; margin: 0 0 40px 0}
.p2-hero-price{color: var(--p2-color-accent); font-weight: 800}
.p2-btn-hero{display: inline-flex; align-items: center; padding: 18px 32px; background: linear-gradient(84.93deg, #B90001 0%, #530001 98.31%); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; border-radius: var(--p2-radius-md); transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 6px 15px rgba(185, 0, 1, 0.2)}
.p2-btn-hero:hover{background: var(--p2-color-accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(185, 0, 1, 0.3)}
.p2-badge-gift{display: inline-block; background: #000; color: #fff; font-size: 10px; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; margin-left: 10px; font-weight: 800}
/* ==========================================================================
   Features Cards
   ========================================================================== */
.p2-features{position: relative; z-index: 3; margin-top: -60px; padding-bottom: 60px}
.p2-features-grid{display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px}
.p2-feature-card{background: var(--p2-color-card-bg); border-radius: var(--p2-radius-lg); padding: 20px 15px; display: flex; align-items: center; gap: 15px; box-shadow: var(--p2-shadow-sm); transition: transform 0.3s ease}
.p2-feature-card:hover{transform: translateY(-5px)}
.p2-feature-icon{flex-shrink: 0; color: var(--p2-color-accent); font-size: 24px}
.p2-feature-text{font-size: 13px; font-weight: 600; line-height: 1.4}
.p2-feature-yandex{background: var(--p2-color-yandex); flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px}
.p2-features-grid{display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px}
.p2-feature-item{background: #fff; padding: 25px; border-radius: var(--p2-radius-md); box-shadow: var(--p2-shadow-sm); display: flex; align-items: center; gap: 15px}
.p2-feature-icon{font-size: 40px; color: var(--p2-color-accent); flex-shrink: 0}
.p2-feature-text{font-size: 0.95rem; font-weight: 600; color: var(--p2-color-text)}
.p2-yandex-score{display: flex; align-items: center; font-size: 24px; font-weight: 800; gap: 8px}
.p2-yandex-stars{display: flex; color: #fff; font-size: 14px}
.p2-yandex-text{font-size: 10px; font-weight: 500}
.p2-yandex-logo{display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: #fff; border-radius: 50%; color: red; font-weight: 800; font-size: 14px}
/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1259px){.p2-features-grid {grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 991px){.p2-hero-title {font-size: 40px;}
    .p2-hero-bg {width: 50%;opacity: 0.5;}
    .p2-footer-grid {grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 767px){.p2-hero-bg {display: none;}
    .p2-hero-title {font-size: 32px;}
    .p2-features-grid {grid-template-columns: 1fr;}
    .p2-footer-grid {grid-template-columns: 1fr;}
    .p2-footer-bottom {flex-direction: column;gap: 10px;text-align: center;}
}
/* ==========================================================================
   WALLS PAGE (.steny/index.html)
   ========================================================================== */
.p2-bg-light {background-color: #F9FAFB}
.p2-walls-hero-grid {display: grid;grid-template-columns: 1fr 1fr;gap: 40px;align-items: center}
.p2-walls-hero-title{line-height:1.2}
.p2-accent-text {color: var(--p2-color-accent)}
.p2-walls-hero-desc {font-size: 20px;margin: 0 0 40px 0}
.p2-walls-hero-buttons{display: flex;gap: 15px}
/* Collage */
.p2-walls-hero-collage {display: grid;grid-template-columns: 1fr 1fr;grid-template-rows: 1fr 1fr;gap: 15px;height: 450px}
.p2-collage-item {position: relative;border-radius: var(--p2-radius-md);background-size: cover;background-position: center;overflow: hidden;transition: transform 0.3s ease;cursor: pointer}
.p2-collage-item:hover {transform: scale(1.03);z-index: 2;box-shadow: var(--p2-shadow-md)}
.p2-collage-item::after {content: '';position: absolute;bottom: 0; left: 0; right: 0;height: 60%;background: linear-gradient(to top, rgba(0,0,0,0.8), transparent)}
.p2-collage-label {position: absolute;bottom: 15px;left: 15px;color: #fff;font-weight: 700;font-size: 14px;z-index: 2}
.p2-collage-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.p2-collage-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.p2-collage-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
/* Services Grid */
.p2-services-grid {display: grid;grid-template-columns: repeat(4, 1fr);gap: 20px}
.p2-service-card {background: #fff;border: 1px solid var(--p2-color-border);padding: 30px 20px;border-radius: var(--p2-radius-md);transition: transform 0.3s ease, box-shadow 0.3s ease}
.p2-service-card:hover {transform: translateY(-5px);box-shadow: var(--p2-shadow-md);border-color: transparent}
.p2-service-icon {font-size: 40px;color: var(--p2-color-accent);margin-bottom: 20px}
.p2-service-title {font-size: 20px;font-weight: 700;margin: 0 0 10px 0}
.p2-service-text {font-size: 16px;line-height: 1.5;margin: 0}
/* Comparison Grid */
.heading-center .heading__title, .heading-center .heading__text{text-align:center !important}
.p2-comparison-grid {display: grid;grid-template-columns: repeat(3, 1fr);gap: 30px;margin-top: 40px}
.p2-comparison-col {background: #fff;padding: 30px;border-radius: var(--p2-radius-md);border: 1px solid var(--p2-color-border)}
.p2-comp-icon {font-size: 32px;color: var(--p2-color-accent);margin-bottom: 15px}
.p2-comp-title {font-size: 20px;font-weight: 700;margin: 0 0 10px 0}
.p2-comp-text {font-size: 16px}


.p2-comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    align-items: stretch;
}

.p2-comparison-col {
    background: #fff;
    padding: 30px;
    border-radius: var(--p2-radius-md);
    box-shadow: var(--p2-shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p2-comparison-col:hover {
    box-shadow: var(--p2-shadow-md);
}

.p2-comp-highlight {
    transform: scale(1.05);
    z-index: 2;
    background: linear-gradient(145deg, #ffffff, #f8faff);
    box-shadow: var(--p2-shadow-md);
    border: 2px solid var(--p2-color-accent);
}

.p2-comp-icon {
    font-size: 40px;
    color: var(--p2-color-accent);
    margin-bottom: 15px;
}

.p2-comp-icon iconify-icon {
    font-size: 40px;
}

.p2-comp-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--p2-color-text);
    margin-bottom: 15px;
}

.p2-comp-list {
    text-align: left;
    padding-left: 20px;
    margin: 0;
}

.p2-comp-list-item {
    margin-bottom: 8px;
    line-height: 1.5;
	position:relative;
    list-style: disc;
}
.p2-comp-list-item::before{ width:5px; height:5px; background:var(--p2-color-accent); position:absolute; left:0; top:2px; border-radius:10px}
.p2-comp-list-check {
    list-style: none;
    padding-left: 0;
    color: #111;
}

.p2-comp-list-check-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.p2-comp-check-icon {
    color: var(--p2-color-accent);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 20px;
}

.p2-design-text-block {
    border-left: 4px solid var(--p2-color-accent);
    padding-left: 20px;
    margin: 20px 0;
}

.p2-design-text-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--p2-color-text);
}

.p2-design-text-text {
    color: var(--p2-color-text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}


/* Banner Section */
.p2-section-banner {background: #111}
.p2-banner-title.heading__title{font-weight: 800;color:#fff;margin: 0 0 20px 0}
.p2-banner-text{color:#fff;}
/* Room Tags */
.section__rooms .heading__title{text-align:center !important}
.p2-rooms-tags {display: flex;flex-wrap: wrap;gap: 15px;justify-content: center}
.p2-room-tag {display: inline-flex;align-items: center;gap: 8px;padding: 10px 20px;background: #fff;border: 1px solid var(--p2-color-border);border-radius: 50px;font-size: 14px;font-weight: 600;transition: all 0.3s ease;cursor: default}
.p2-room-tag:hover {background: var(--p2-color-accent);color: #fff;border-color: var(--p2-color-accent)}
/* Timeline */
.wrapper__timeline .module__heading{text-align:center !important}
.p2-timeline {display: grid;grid-template-columns: repeat(6, 1fr);gap: 15px;margin-top: 40px}
.p2-timeline-item {text-align: center;position: relative}
.p2-timeline-num {width: 50px;height: 50px; background: #fff;border: 2px solid var(--p2-color-accent);color: var(--p2-color-accent);border-radius: 50%;display: flex;align-items: center;justify-content: center;font-size: 20px;font-weight: 800;margin: 0 auto 15px auto;position: relative;z-index: 2}
.p2-timeline-item:not(:last-child)::after {content: '';position: absolute;top: 25px;left: 50%;width: 100%;height: 2px;background: var(--p2-color-border);z-index: 1}
.p2-timeline-title {font-size: 14px;font-weight: 600}
/* CTA */
.p2-cta-box {background: var(--p2-color-accent);color: #fff;padding: 50px;border-radius: var(--p2-radius-lg);text-align: center}
.p2-cta-box .p2-cta-title{font-size: 36px;font-weight: 800;margin: 0 0 15px 0;color: #fff}
.p2-cta-text {font-size: 18px;max-width: 600px;margin: 0 auto;}
.p2-btn-dark{border:none !important; margin-top:20px}
.p2-btn-dark:hover{Background:#1a1a1a}
/* New Responsive */
@media (max-width: 1569px) {
	.p2-walls-hero-desc{font-size:18px}
}
@media (max-width: 1259px) {
	.p2-walls-hero-desc{font-size:16px}
	.p2-service-title, .p2-comp-title{font-size: 18px}
	.p2-service-text, .p2-comp-text{font-size: 15px}
}
@media (max-width: 991px) {
	.p2-walls-hero-title br{display:none}
	.p2-walls-hero-buttons{justify-content:center}
    .p2-walls-hero-grid {grid-template-columns: 1fr}
    .p2-services-grid{grid-template-columns: repeat(2, 1fr);}
	.p2-service-text, .p2-comp-text{font-size: 14px}
    .p2-comparison-grid {margin-top:30px;grid-template-columns: repeat(2, 1fr);}
    .p2-timeline{grid-template-columns: repeat(3, 1fr); row-gap: 40px}
    .p2-timeline-item:nth-child(3)::after{display: none}
}
@media (max-width: 767px){
	.p2-walls-hero-title{font-size: 28px;}
	.p2-walls-hero-desc{font-size:14px}
    .p2-services-grid {grid-template-columns: 1fr}
    .p2-walls-hero-collage{height: auto;grid-template-columns: 1fr;grid-template-rows: auto;}
    .p2-comparison-grid {grid-template-columns: 1fr; gap:20px; margin-top:10px}
    .p2-timeline {grid-template-columns: 1fr;row-gap: 30px;}
    .p2-timeline-item::after {width: 2px; height: 100%; top: 50px; left: 50%; margin-left: -1px}
    .p2-timeline-item:last-child::after{display: none}
    .p2-collage-1, .p2-collage-2, .p2-collage-3 {grid-column: 1 / -1;grid-row: auto;height: 250px;}
}
@media (max-width: 575px){
	.p2-walls-hero-buttons{flex-direction: column;}
	.p2-timeline-item:not(:last-child)::after{display:none}
}
/* Image variant for service cards */
.p2-service-card-img{padding: 0; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column}
.p2-service-img{height: 200px; background-size: cover; background-position: center; transition: transform 0.3s ease}
.p2-service-card-img:hover .p2-service-img{transform: scale(1.05)}
.p2-service-content{padding: 30px 20px; background: #fff; position: relative; z-index: 2; flex-grow: 1}
/* ==========================================================================
   QUIET WALLS PAGE (.steny/tihie-steny.html)
   ========================================================================== */
/* Hero Section Quiet */
.p2-hero-quiet{padding: 60px 0 100px}
.p2-hero-quiet-grid{display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center}
.p2-hero-quiet-content{max-width: 600px}
.p2-hero-benefits{list-style: none; padding: 0; margin: 0 0 40px 0; display: flex; flex-direction: column; gap: 15px}
.p2-hero-benefits li{display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600}
.p2-benefit-icon{color: var(--p2-color-accent); font-size: 24px}
.p2-hero-quiet-media{position: relative}
/* Video Wrapper */
.p2-video-wrapper{position: relative; border-radius: var(--p2-radius-lg); overflow: hidden; box-shadow: var(--p2-shadow-md); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: #000}
.p2-video-poster{position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8}
.p2-play-btn{position: relative; z-index: 2; width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(84.93deg, #B90001 0%, #530001 98.31%); color: #fff; border: none; font-size: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.3s ease; box-shadow: 0 0 0 10px rgba(185, 0, 1, 0.2)}
.p2-play-btn:hover{transform: scale(1.1)}
.p2-video-caption{position: absolute; bottom: 20px; left: 20px; z-index: 2; color: #fff; font-weight: 600; font-size: 14px; background: rgba(0,0,0,0.5); padding: 8px 15px; border-radius: 30px}
.p2-stats-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.p2-stats-content {
    border-left: 4px solid var(--p2-color-accent);
    padding-left: 20px;
}

.p2-stats-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--p2-color-text);
}

.p2-stats-text {
    color: var(--p2-color-text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.p2-video-wrapper {
    cursor: pointer;
    border-radius: var(--p2-radius-md);
    overflow: hidden;
    box-shadow: var(--p2-shadow-lg);
    transition: transform 0.3s ease;
    position: relative;
}

.p2-video-wrapper:hover {
    transform: translateY(-5px);
}

.p2-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p2-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.p2-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: #fff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.p2-video-wrapper:hover .p2-video-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.p2-video-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    z-index: 2;
}

.p2-video-caption-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
    font-size: 1rem;
}

.p2-video-caption-duration {
    font-size: 0.85rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.p2-video-caption-duration iconify-icon {
    font-size: 16px;
}

/* Text Block Large */
.p2-text-block-large{max-width: 900px; margin: 0 auto; font-size: 18px; line-height: 1.8; color: var(--p2-color-text-muted)}
.p2-text-block-large p{margin-bottom: 20px}
/* Tasks Grid */
.p2-tasks-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px}
.p2-task-card{background: var(--p2-color-card-bg); padding: 40px 30px; border-radius: var(--p2-radius-md); transition: transform 0.3s ease}
.p2-task-card:hover{transform: translateY(-5px)}
.p2-task-icon{font-size: 40px; color: var(--p2-color-accent); margin-bottom: 20px}
.p2-task-title{font-size: 20px; color:#000; font-weight: 800; margin: 0 0 15px 0}
.p2-task-text{font-size: 15px;  line-height: 1.6; margin: 0}
/* Honest Box */
.p2-section-honest{padding-top: 0}
.p2-honest-box{background: #fff; border: 1px solid var(--p2-color-border); border-left: 5px solid var(--p2-color-accent); padding: 40px; border-radius: var(--p2-radius-md); display: flex; gap: 30px; align-items: flex-start}
.p2-honest-icon{font-size: 48px; color: var(--p2-color-accent)}
.p2-honest-title{font-size: 24px; font-weight: 800; margin: 0 0 15px 0}
.p2-honest-content p{font-size: 16px; line-height: 1.6; color: var(--p2-color-text-muted); margin: 0}
/* Schema (3 Layers) */
.p2-schema-wrapper{display: flex; justify-content: space-between; align-items: stretch; margin-top: 40px; gap: 20px}
.p2-schema-layer{flex: 1; background: #fff; border: 1px solid var(--p2-color-border); padding: 40px 30px; border-radius: var(--p2-radius-md); text-align: center; position: relative}
.p2-schema-num{width: 60px; height: 60px; background: var(--p2-color-card-bg); color: var(--p2-color-accent); font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 20px auto}
.p2-schema-divider{display: flex; align-items: center; color: var(--p2-color-border); font-size: 40px}
.p2-schema-title{font-size: 20px; font-weight: 700; margin: 0 0 15px 0}
.p2-schema-text{font-size: 15px; color: var(--p2-color-text-muted)}
/* Design Grid */
.p2-design-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px}
.p2-design-card{position: relative; border-radius: var(--p2-radius-md); overflow: hidden; aspect-ratio: 4/3; cursor: pointer}
.p2-design-img, .p2-design-card picture{width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease}
.p2-design-card:hover .p2-design-img{transform: scale(1.05)}
.p2-design-card::after{content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); pointer-events: none}
.p2-design-title{position: absolute; bottom: 20px; left: 20px; color: #fff; font-size: 16px; font-weight: 700; z-index: 2}
/* Calculator Form */
.p2-calc-wrapper{display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center}
.p2-calc-text{font-size: 18px; line-height: 1.6; color: var(--p2-color-text-muted); margin-top: 20px}
.p2-calc-form-box{background: #fff; padding: 40px; border-radius: var(--p2-radius-lg); box-shadow: var(--p2-shadow-md)}
.p2-mini-calc{display: flex; flex-direction: column; gap: 20px}
.p2-calc-row{display: flex; flex-direction: column; gap: 8px}
.p2-calc-label{font-size: 14px; font-weight: 600}
.p2-calc-input{width: 100%; padding: 12px 15px; border: 1px solid var(--p2-color-border); border-radius: var(--p2-radius-sm); font-size: 16px}
.p2-calc-input:focus{outline: none; border-color: var(--p2-color-accent)}
.p2-calc-checkbox-row{display: flex; flex-direction: column; gap: 10px; margin-top: 10px}
.p2-checkbox-label{display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer}

.p2-calc-banner {
    background-image: url('/templates/potolki/images/steny/nscalc.webp');
    background-image: image-set(
        url('/templates/potolki/images/steny/nscalc.webp') type('image/webp'),
        url('/templates/potolki/images/steny/nscalc.jpg') type('image/jpeg')
    );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--p2-radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--p2-shadow-lg);
}
.p2-calc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.p2-calc-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 50px;
}

/* Левая часть */
.p2-calc-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.p2-calc-badge {
    align-self: flex-start;
}

.p2-calc-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 20px 0 15px 0;
    line-height: 1.2;
    color: #fff;
}

.p2-calc-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 30px;
}

.p2-calc-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.p2-calc-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.p2-calc-feature-icon {
    color: var(--p2-color-accent);
    font-size: 24px;
}

.p2-calc-feature-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
}

/* Правая часть - форма */
.p2-calc-form-wrapper {
    background: #fff;
    border-radius: var(--p2-radius-md);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.p2-calc-form-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--p2-color-text);
}

.p2-calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.p2-calc-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.p2-calc-form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--p2-color-text-muted);
}

.p2-calc-input-wrapper {
    position: relative;
}

.p2-calc-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #aaa;
    pointer-events: none;
}

input.p2-calc-input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid var(--p2-color-border);
    border-radius: var(--p2-radius-sm);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    background: #fff;
}

input.p2-calc-input:focus{
    border-color: var(--p2-color-accent);
}

.p2-calc-input::placeholder {
    color: #bbb;
}

.p2-calc-submit {
    width: 100%;
    margin-top: 10px;
}

.p2-calc-agreement {
    font-size: 0.75rem;
    color: #aaa;
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}
.p2-calc-agreement a{
    color: #990001
}

.p2-calc-agreement-link {
    color: #aaa;
    text-decoration: underline;
}

.p2-calc-agreement-link:hover {
    color: var(--p2-color-accent);
}

/* Адаптив */
@media (max-width: 768px) {
    .p2-calc-grid {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .p2-calc-title {
        font-size: 1.8rem;
    }
    
    .p2-calc-form-wrapper {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .p2-calc-grid {
        padding: 20px 15px;
        gap: 20px;
    }
    
    .p2-calc-title {
        font-size: 1.4rem;
    }
    
    .p2-calc-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .p2-calc-form-wrapper {
        padding: 20px;
    }
}
/* Trust Grid */
.p2-trust-grid{display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; margin-top: 40px}
.p2-trust-item{background: var(--p2-color-card-bg); padding: 20px 10px; text-align: center; border-radius: var(--p2-radius-md); font-size: 14px; font-weight: 600; color: var(--p2-color-accent); display: flex; align-items: center; justify-content: center; height: 100px}
/* FAQ Accordion */
.p2-faq-accordion{display: flex; flex-direction: column; gap: 15px; margin:0 auto; max-width:1000px}
.p2-faq-item{background: #fff; border: 1px solid var(--p2-color-border); border-radius: var(--p2-radius-md); overflow: hidden}
.p2-faq-question{padding: 20px 25px; font-size: 18px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; transition: background 0.3s ease}
.p2-faq-question::-webkit-details-marker{display: none}
.p2-faq-question:hover{background: #FAFAFA}
.p2-faq-icon{font-size: 24px; color: var(--p2-color-accent); transition: transform 0.3s ease}
.p2-faq-item[open] .p2-faq-icon{transform: rotate(180deg)}
.p2-faq-answer{padding: 0 25px 20px 25px; font-size: 15px; line-height: 1.6; color: var(--p2-color-text-muted)}
/* Responsive updates for new blocks */
@media (max-width: 991px){.p2-hero-quiet-grid, .p2-calc-wrapper{grid-template-columns: 1fr}
    .p2-tasks-grid{grid-template-columns: repeat(2, 1fr)}
    .p2-schema-wrapper{flex-direction: column; align-items: stretch}
    .p2-schema-divider{transform: rotate(90deg); justify-content: center}
    .p2-design-grid{grid-template-columns: repeat(2, 1fr)}
    .p2-trust-grid{grid-template-columns: repeat(3, 1fr)}
}
@media (max-width: 767px){.p2-tasks-grid, .p2-design-grid{grid-template-columns: 1fr}
    .p2-honest-box{flex-direction: column; gap: 15px; text-align: center}
    .p2-trust-grid{grid-template-columns: repeat(2, 1fr)}
    .p2-faq-question{font-size: 16px; padding: 15px 20px}
    .p2-honest-title{font-size: 18px}
    .p2-animate[style*="padding: 50px"]{padding: 30px !important}
    .p2-animate[style*="padding: 50px"] h2{font-size: 22px !important}
}
/* Gallery Grid */
.p2-gallery-grid{display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 15px}
.p2-gallery-item{border-radius: var(--p2-radius-md); overflow: hidden; position: relative; cursor: pointer}
.p2-gallery-item img{width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease}
.p2-gallery-item:hover img{transform: scale(1.05)}
.p2-gal-large{grid-column: span 2; grid-row: span 2}
.p2-gal-wide{grid-column: span 2}
@media (max-width: 767px){
	.p2-gallery-grid{grid-template-columns: 1fr; grid-auto-rows: 200px}
    .p2-gal-large, .p2-gal-wide{grid-column: span 1; grid-row: span 1}
}
/* Shorts Grid */
.p2-shorts-grid{display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px}
.p2-short-item{position: relative; border-radius: var(--p2-radius-md); overflow: hidden; aspect-ratio: 9/16; cursor: pointer; box-shadow: var(--p2-shadow-md)}
.p2-short-img, .p2-short-item picture{width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease}
.p2-short-item:hover .p2-short-img{transform: scale(1.05)}
.p2-short-item::after{content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); pointer-events: none}
.p2-short-play{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border: 2px solid #fff; color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.3s ease; cursor: pointer}
.p2-short-item:hover .p2-short-play{background: var(--p2-color-accent); border-color: var(--p2-color-accent)}
.p2-short-info{position: absolute; bottom: 20px; left: 20px; right: 20px; z-index: 2; color: #fff; display: flex; flex-direction: column; gap: 5px}
.p2-short-views{font-size: 13px; display: flex; align-items: center; gap: 5px; opacity: 0.8}
.p2-short-title{font-size: 16px; font-weight: 700; line-height: 1.3; color:#fff}
@media (max-width: 991px){.p2-shorts-grid{grid-template-columns: repeat(3, 1fr)}
    .p2-short-item:nth-child(4){display: none}
}
@media (max-width: 767px){.p2-shorts-grid{grid-template-columns: repeat(2, 1fr)}
    .p2-short-item:nth-child(4){display: block}
}
/* Modern About Block */
.p2-about-grid{display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: flex-start}
.p2-about-title{font-size: 42px; font-weight: 800; line-height: 1.1; margin: 0 0 30px 0}
.p2-about-line{width: 60px; height: 4px; background: var(--p2-color-accent); border-radius: 2px}
.p2-about-text-col{font-size: 18px; color: var(--p2-color-text-muted); line-height: 1.8}
.p2-about-text-col p{margin-bottom: 20px}
.p2-about-lead{font-size: 24px; font-weight: 600; line-height: 1.5; margin-bottom: 25px}
.p2-about-quote{margin-top: 30px; padding: 20px 25px; background: #fff; border-left: 4px solid var(--p2-color-accent); border-radius: 0 var(--p2-radius-md) var(--p2-radius-md) 0; font-size: 16px; font-style: italic; box-shadow: 0 5px 15px rgba(0,0,0,0.05)}
@media (max-width: 991px){
	.p2-about-grid{grid-template-columns: 1fr; gap: 30px}
}
@media (max-width: 767px){
	.p2-about-title{font-size: 32px}
    .p2-about-lead{font-size: 20px}
}
/* Expert Quote Block */
/* Expert Quote Block */
.p2-expert-quote {
    background: #fff;
    border-radius: var(--p2-radius-lg);
    box-shadow: var(--p2-shadow-lg, 0 10px 30px rgba(0,0,0,0.08));
    display: flex;
    align-items: stretch;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    border: 1px solid var(--p2-color-border);
}

.p2-expert-photo {
    flex: 0 0 350px;
    min-height: 100%;
}

.p2-expert-photo picture,
.p2-expert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p2-expert-content {
    padding: 50px;
    position: relative;
    flex: 1;
}

.p2-expert-quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 120px;
    color: var(--p2-color-accent);
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.p2-expert-title {
    color: #000;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 20px 0;
    position: relative;
    z-index: 1;
}

.p2-expert-text {
    font-size: 18px;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    color: var(--p2-color-text-muted);
}

.p2-expert-author {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.p2-expert-author strong {
    font-size: 18px;
    color: var(--p2-color-text);
}

.p2-expert-author span {
    font-size: 14px;
    color: var(--p2-color-accent);
    font-weight: 600;
}

/* Адаптив */

/* Планшеты */
@media (max-width: 991px) {
    .p2-expert-photo {
        flex: 0 0 280px;
    }
    
    .p2-expert-content {
        padding: 40px 35px;
    }
    
    .p2-expert-title {
        font-size: 22px;
    }
    
    .p2-expert-text {
        font-size: 17px;
    }
    
    .p2-expert-quote-icon {
        font-size: 90px;
        top: 25px;
        right: 30px;
    }
}

/* Мобильные */
@media (max-width: 767px) {
    .p2-expert-quote {
        flex-direction: column;
        border-radius: var(--p2-radius-md);
    }
    
    .p2-expert-photo {
        flex: none;
        width: 100%;
        height: 600px;
        min-height: unset;
    }
    
    .p2-expert-content {
        padding: 30px 25px;
    }
    
    .p2-expert-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .p2-expert-text {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .p2-expert-quote-icon {
        font-size: 70px;
        top: 20px;
        right: 20px;
        opacity: 0.06;
    }
    
    .p2-expert-author strong {
        font-size: 17px;
    }
    
    .p2-expert-author span {
        font-size: 13px;
    }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
    .p2-expert-photo {
        height: auto;
    }
    
    .p2-expert-content {
        padding: 20px 18px;
    }
    
    .p2-expert-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .p2-expert-text {
        font-size: 15px;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    .p2-expert-quote-icon {
        font-size: 55px;
        top: 15px;
        right: 15px;
        opacity: 0.05;
    }
    
    .p2-expert-author strong {
        font-size: 16px;
    }
    
    .p2-expert-author span {
        font-size: 12px;
    }
}
/* Fabric Catalog */
.p2-fabric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.p2-fabric-card {
    background: #fff;
    border-radius: var(--p2-radius-md);
    overflow: hidden;
    box-shadow: var(--p2-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--p2-color-border);
}

.p2-fabric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--p2-shadow-md);
}

.p2-fabric-card picture,
.p2-fabric-card img {
    width: 100%;
    display: block;
    border-bottom: 1px solid var(--p2-color-border);
}

.p2-fabric-info {
    padding: 20px;
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
}

.p2-fabric-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--p2-color-text);
}

.p2-btn-sm {
    padding: 6px 15px;
    font-size: 14px;
}

.p2-fabric-btn {
    width: 100%;
    max-width: 110px;
    text-align: center;
    white-space: nowrap;
}

/* Адаптив */

/* Планшеты и ноутбуки */
@media (max-width: 1259px) {
    .p2-fabric-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* Планшеты */
@media (max-width: 991px) {
    .p2-fabric-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .p2-fabric-info {
        padding: 16px;
        gap: 12px;
        flex-direction: column;
        align-items: stretch;
    }
    
    .p2-fabric-name {
        font-size: 15px;
        text-align: center;
    }
    
    .p2-fabric-btn {
        max-width: 100%;
    }
}

/* Мобильные */
@media (max-width: 767px) {
    .p2-fabric-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .p2-fabric-info {
        padding: 12px;
        gap: 10px;
    }
    
    .p2-fabric-name {
        font-size: 13px;
    }
    
    .p2-btn-sm {
        padding: 5px 12px;
        font-size: 12px;
    }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
    .p2-fabric-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .p2-fabric-info {
        padding: 10px;
        gap: 8px;
    }
    
    .p2-fabric-name {
        font-size: 12px;
    }
    
    .p2-btn-sm {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* Очень маленькие телефоны */
@media (max-width: 380px) {
    .p2-fabric-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .p2-fabric-info {
        padding: 14px;
        flex-direction: row;
        gap: 12px;
		align-items:center
    }
    
    .p2-fabric-name {
        font-size: 14px;
        text-align: left;
    }
    
    .p2-fabric-btn {
        max-width: 100px;
    }
}
/* Modal */
.p2-modal-overlay{position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease}
.p2-modal-overlay.active{opacity: 1; visibility: visible}
.p2-modal-content{background: #fff; width: 100%; max-width: 450px; padding: 40px; border-radius: var(--p2-radius-lg); position: relative; transform: translateY(20px); transition: transform 0.3s ease}
.p2-modal-overlay.active .p2-modal-content{transform: translateY(0)}
.p2-modal-close{position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 28px; color: var(--p2-color-text-muted); cursor: pointer; transition: color 0.3s ease}
.p2-modal-close:hover{color: var(--p2-color-accent)}
.p2-modal-title{font-size: 24px; font-weight: 800; margin: 0 0 15px 0}
.p2-modal-desc{font-size: 15px; color: var(--p2-color-text-muted); margin-bottom: 25px; line-height: 1.5}
/* Bento Grid */
.p2-bento-grid{display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px}
.p2-bento-card{background: #fff; border-radius: var(--p2-radius-lg); padding: 30px; display: flex; flex-direction: column;  position: relative; overflow: hidden; border: 1px solid var(--p2-color-border); transition: transform 0.3s ease, box-shadow 0.3s ease}
.p2-bento-card:hover{transform: translateY(-5px); box-shadow: var(--p2-shadow-lg)}
.p2-bento-wide{grid-column: span 2}
.p2-bento-tall{grid-row: span 2}
.p2-bento-icon{font-size: 40px; color: var(--p2-color-accent); margin-bottom: 15px}
.p2-bento-title{font-size:24px; font-weight: 800; margin: 0 0 10px 0; color: var(--p2-color-text)}
.p2-bento-text{font-size: 16px; line-height: 1.6; margin: 0}
.p2-bento-accent{background: var(--p2-color-accent); color: #fff; border: none}
.p2-bento-accent .p2-bento-title, .p2-bento-accent .p2-bento-text{color: #fff}
/* Image Cards */
.p2-bento-image{padding: 0; border: none}
.p2-bento-image img{width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease}
.p2-bento-image:hover img{transform: scale(1.05)}
.p2-bento-overlay{position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%); padding: 30px; display: flex; flex-direction: column; color: #fff}
.p2-bento-image .p2-bento-title, .p2-bento-image .p2-bento-text{color: #fff}
.p2-bento-image .p2-bento-text{opacity: 0.8}
.p2-bento-play{width: 50px; height: 50px; background: var(--p2-color-accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px}
/* Responsive */
@media (max-width: 1259px) {
	.p2-bento-grid {grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 991px){.p2-bento-grid{margin-top:20px; grid-template-columns: repeat(2, 1fr)}
    .p2-bento-wide{grid-column: span 2}
    .p2-bento-tall{grid-row: span 1; grid-column: span 2}
	.p2-bento-title {font-size:22px;}
}
@media (max-width: 767px){.p2-bento-grid {margin-top:10px;grid-template-columns: 1fr;grid-auto-rows: auto;}
    .p2-bento-card {padding: 30px;min-height: 200px;}
    .p2-bento-wide, .p2-bento-tall {grid-column: span 1;}
	.p2-bento-title {font-size:20px;}
	.p2-bento-text{font-size:14px}
}
/* Modern CTA Blocks */
.p2-cta-inline{background: var(--p2-color-accent); border-radius: var(--p2-radius-lg); padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: #fff; box-shadow: var(--p2-shadow-lg); position: relative; overflow: hidden}
.p2-cta-inline::before{content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%); pointer-events: none}
.p2-cta-content{flex: 1; position: relative; z-index: 2}
.p2-cta-title{font-size: 32px; font-weight: 800; margin: 0 0 15px 0; color: #fff; line-height: 1.2}
.p2-cta-desc{font-size: 16px; opacity: 0.9; margin: 0; line-height: 1.5}
.p2-cta-form-wrapper{flex: 0 0 400px; position: relative; z-index: 2}
.p2-cta-form{display: flex; background: #fff; padding: 5px; border-radius: 50px; box-shadow: 0 10px 20px rgba(0,0,0,0.1);align-items: center;}
input.p2-cta-input{flex: 1; border: none; background: transparent; padding: 0 0 0 15px; font-size: 16px; outline: none;height: 100%;}
.p2-cta-btn{background: var(--p2-color-accent); color: #fff; border: none; padding: 15px 30px; border-radius: 40px; font-weight: 700; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease}
.p2-cta-btn:hover{transform: scale(1.05); box-shadow: 0 5px 15px rgba(0,0,0,0.2)}
.p2-cta-bg-icon {
    color: var(--p2-color-accent);
    opacity: 0.1;
}

.p2-cta-title {
    color: var(--p2-color-text);
}

.p2-cta-desc {
    color: var(--p2-color-text-muted);
}
.p2-cta-inline .p2-cta-title, .p2-cta-inline .p2-cta-desc{color:#fff}
/* Light Variant */
.p2-cta-inline.p2-cta-light{background: #fff; border: 1px solid var(--p2-color-border)}
.p2-cta-light .p2-cta-desc{color: var(--p2-color-text-muted)}
.p2-cta-light .p2-cta-form{background: var(--p2-bg-light); border: 1px solid var(--p2-color-border); box-shadow: none}
@media (max-width: 991px){.p2-cta-inline{flex-direction: column; text-align: center; padding: 40px 30px}
    .p2-cta-form-wrapper{width: 100%; flex: auto}
}
@media (max-width: 480px){
	.p2-cta-form{flex-direction: column; border-radius: var(--p2-radius-md); padding: 15px; background: transparent; box-shadow: none; gap: 10px}
    .p2-cta-light .p2-cta-form{background: transparent; border: none}
	input.p2-cta-input{background: #fff; border-radius: var(--p2-radius-md); padding: 15px; text-align: center}
    .p2-cta-light .p2-cta-input{border: 1px solid var(--p2-color-border)}
    .p2-cta-btn{border-radius: var(--p2-radius-md); width: 100%}
}
/* CTA Visual Effects */
.p2-cta-bg-icon{position: absolute; top: -20%; right: -5%; font-size: 350px; color: #fff; opacity: 0.05; z-index: 1; pointer-events: none}
.p2-cta-dark .p2-cta-bg-icon{color: var(--p2-color-accent); opacity: 0.1}
/* Animations */
@keyframes p2Float{
	0%, 100% { transform: translateY(0) rotate(0deg)}
    50% { transform: translateY(-20px) rotate(5deg)}
}
.p2-anim-float{animation: p2Float 6s ease-in-out infinite}
@keyframes p2PulseGlow{
	0%, 100% { transform: scale(1); opacity: 0.05; }
    50% { transform: scale(1.05); opacity: 0.15; }
}
.p2-anim-pulse{animation: p2PulseGlow 4s ease-in-out infinite}
/* Glassmorphism for CTA */
.p2-cta-glass{ background-image: url('/templates/potolki/images/steny/nscalc.webp');
    background-image: image-set(
        url('/templates/potolki/images/steny/nscalc.webp') type('image/webp'),
        url('/templates/potolki/images/steny/nscalc.jpg') type('image/jpeg')
    );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat; position: relative; border: none !important}
.p2-cta-glass::before{content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.8); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 1}
.p2-cta-glass .p2-cta-content, .p2-cta-glass .p2-cta-form-wrapper{z-index: 2}
/* Interactive Input Hover/Focus */
.p2-cta-form:focus-within{box-shadow: 0 15px 30px rgba(0,0,0,0.15); transform: translateY(-2px); transition: all 0.3s ease}
/* Dark Glassmorphism for CTA */
.p2-cta-glass-dark{background: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?q=80&w=1200&auto=format&fit=crop') center/cover no-repeat; position: relative; border: 1px solid rgba(255,255,255,0.1) !important; box-shadow: 0 20px 40px rgba(0,0,0,0.4)}
.p2-cta-glass-dark::before{content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 1; pointer-events: none}
.p2-cta-glass-dark .p2-cta-content, .p2-cta-glass-dark .p2-cta-form-wrapper{position: relative; z-index: 10}
.p2-cta-form, .p2-cta-input{position: relative; z-index: 20; pointer-events: auto}
.p2-cta-glass-dark .p2-cta-title, .p2-cta-glass-dark .p2-cta-desc{color: #fff !important}
.p2-cta-glass-dark .p2-cta-form{background: rgba(255, 255, 255, 0.1) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important}
.p2-cta-glass-dark .p2-cta-btn{background: var(--p2-color-accent) !important; color: #fff !important}
/* Pulsing Badge */
.p2-badge{display: inline-block; background: linear-gradient(135deg, #FF3366 0%, #FF9933 100%); color: #fff; font-size: 14px; font-weight: 800; padding: 5px 15px; border-radius: 20px; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(255, 51, 102, 0.4); animation: p2PulseBadge 2s infinite}
@keyframes p2PulseBadge{0%, 100% { transform: scale(1); box-shadow: 0 5px 15px rgba(255, 51, 102, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 10px 25px rgba(255, 51, 102, 0.6); }
}
/* Interactive & Animations */
.p2-header.scrolled{background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); box-shadow: 0 5px 20px rgba(0,0,0,0.05); padding: 10px 0}
.p2-animate{opacity: 0; transition: opacity 0.8s ease, transform 0.8s ease}
.p2-fade-up{transform: translateY(40px)}
.p2-fade-in{transform: scale(0.95)}
.p2-animate.visible{opacity: 1; transform: translateY(0) scale(1)}
/* Modal Windows */


.p2-modal-overlay{position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; z-index: 9999}
.p2-modal-overlay.active{opacity: 1; visibility: visible}
.p2-modal-window{background: #fff; border-radius: 20px; padding: 40px; width: 100%; max-width: 500px; position: relative; transform: translateY(20px) scale(0.95); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 20px 40px rgba(0,0,0,0.2)}
.p2-modal-window.video-modal{max-width: 800px; padding: 0; background: transparent; box-shadow: none}
.p2-modal-overlay.active .p2-modal-window{transform: translateY(0) scale(1)}
.p2-modal-close{position: absolute; top: 15px; right: 15px; background: #f0f0f0; border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #333; transition: background 0.2s, color 0.2s; z-index: 2}
.p2-modal-close:hover{background: #333; color: #fff}
.p2-modal-window.video-modal .p2-modal-close{top: -40px; right: 0; background: rgba(255,255,255,0.2); color: #fff}
.p2-modal-window.video-modal .p2-modal-close:hover{background: #fff; color: #333}
.p2-video-container{position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; background: #000}
.p2-video-container iframe,
.p2-video-container video{position: absolute; top: 0; left: 0; width: 100%; height: 100%}
.p2-modal-title{font-size: 24px; font-weight: 800; margin-bottom: 10px; color: #1a1a1a}
.p2-modal-desc{color: #666; margin-bottom: 25px; font-size: 15px}
.p2-input-group{margin-bottom: 20px}
.p2-input{width: 100%; padding: 15px 20px; border: 1px solid #ddd; border-radius: 10px; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s}
.p2-input:focus{border-color: #333; outline: none; box-shadow: 0 0 0 3px rgba(51,51,51,0.1)}
.p2-btn-submit{width: 100%; padding: 15px; background: #333; color: #fff; border: none; border-radius: 10px; font-size: 16px; font-weight: bold; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px}
.p2-btn-submit:hover{background: #555}


/* Hover Enhancements */
.p2-service-card-img, .p2-fabric-card, .p2-design-card, .p2-short-item, .p2-bento-card, .p2-gallery-item{transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer}
.p2-service-card-img:hover, .p2-fabric-card:hover, .p2-design-card:hover, .p2-short-item:hover, .p2-bento-card:hover, .p2-gallery-item:hover{transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1)}
/* Gallery Enhancements */
.p2-gallery-item{position: relative; overflow: hidden; border-radius: var(--p2-radius-md)}
.p2-gallery-item picture, .p2-gallery-item img{width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease}
.p2-gallery-item:hover img{transform: scale(1.05)}
.p2-gallery-overlay{position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; color: #fff; font-size: 32px; z-index: 2}
.p2-gallery-item:hover .p2-gallery-overlay{opacity: 1}
/* Gallery Modal Specifics */
.p2-modal-window.gallery-modal{max-width: 90vw; height: 90vh; padding: 0; background: transparent; box-shadow: none; display: flex; align-items: center; justify-content: center}
.gallery-modal .p2-modal-close{top: -40px; right: 0; background: rgba(255,255,255,0.2); color: #fff}
.gallery-modal .p2-modal-close:hover{background: #fff; color: #000}
.p2-gallery-img-container{position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex: 1}
.p2-gallery-img-container img{max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--p2-radius-sm); box-shadow: 0 10px 40px rgba(0,0,0,0.5); z-index: 2; position: relative}
.p2-gallery-loader{position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 40px; color: #fff; z-index: 1}
.p2-gallery-nav{position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); color: #fff; border: none; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; transition: background 0.3s ease; z-index: 5; backdrop-filter: blur(5px)}
.p2-gallery-nav:hover{background: rgba(255,255,255,0.3)}
.p2-gallery-prev{left: 20px}
.p2-gallery-next{right: 20px}
/* Form Success State */
.p2-form-success{display: none; text-align: center; padding: 20px 0}
.p2-form-success.active{display: block}
.p2-form-success-icon{font-size: 48px; color: #4CAF50; margin-bottom: 15px}
.p2-form-content.hidden{display: none}


.p2-blockwall {
    background: linear-gradient(135deg, var(--p2-color-text) 0%, #111 100%);
    color: #fff;
    border-radius: var(--p2-radius-lg);
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.p2-blockwall-bg-icon {
    position: absolute;
    right: -5%;
    top: -20%;
    font-size: 300px;
    opacity: 0.05;
    pointer-events: none;
}

.p2-blockwall-content {
    position: relative;
    z-index: 2;
}

.p2-blockwall-badge {
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.2);
}

.p2-blockwall-title {
    color: #fff;
}

.p2-blockwall-desc {
    line-height: 1.6;
    margin-bottom: 30px;
}

.p2-blockwall-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.p2-blockwall-list-item {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.p2-blockwall-check {
    color: var(--p2-color-accent);
    flex-shrink: 0;
}

.p2-blockwall-image {
    border-radius: var(--p2-radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 300px;
}

.p2-blockwall-image picture,
.p2-blockwall-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ===== АДАПТИВ ===== */

/* Планшеты и ноутбуки */
@media (max-width: 991px) {
    .p2-blockwall {
        padding: 40px;
        gap: 30px;
    }


}

/* Мобильные */
@media (max-width: 767px) {
    .p2-blockwall {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 25px;
    }

    .p2-blockwall-content {
        order: 1;
    }


  


}

/* Маленькие телефоны */
@media (max-width: 575px) {
    .p2-blockwall {
        padding: 20px;
        border-radius: var(--p2-radius-md);
        gap: 20px;
    }

    .p2-blockwall-desc {
        margin-bottom: 20px;
    }




   


}


.p2-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.p2-review-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--p2-radius-md);
    box-shadow: var(--p2-shadow-sm);
}

.p2-review-stars {
    display: flex;
    gap: 5px;
    color: #F59E0B;
    font-size: 20px;
    margin-bottom: 15px;
}

.p2-review-text {
    font-style: italic;
    color: var(--p2-color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.p2-review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.p2-review-avatar {
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.p2-avatar-a {
    background: var(--p2-color-accent);
}

.p2-avatar-e {
    background: var(--p2-color-text);
}

.p2-review-name {
    margin: 0;
    font-size: 1rem;
    color: var(--p2-color-text);
}

.p2-review-city {
    font-size: 0.8rem;
    color: #aaa;
}

/* Адаптив */
@media (max-width: 767px) {
    .p2-reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }
    
    .p2-review-card {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .p2-review-card {
        padding: 15px;
    }
    
    .p2-review-text {
        font-size: 0.9rem;
    }
}


.p2-section-nav {
    border-top: 1px solid var(--p2-color-border);
    border-bottom: 1px solid var(--p2-color-border);
}



.p2-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.p2-nav-link {
    border-radius: 30px;
}

/* Адаптив */
@media (max-width: 575px) {

    
    .p2-nav-links {
        gap: 10px;
    }
    
  
}


/* Родительский контейнер — все стили только внутри него */
.p2-walls-hero .p2-walls-hero-collage {
    display: flex;
    gap: 10px;
}

.p2-walls-hero .p2-hero-col-left,
.p2-walls-hero .p2-hero-col-right {
    flex: 1;
    border-radius: var(--p2-radius-md, 12px) 0 0 var(--p2-radius-md, 12px);
    overflow: hidden;
    position: relative;
}

.p2-walls-hero .p2-hero-col-right {
    border-radius: 0 var(--p2-radius-md, 12px) var(--p2-radius-md, 12px) 0;
    box-shadow: -10px 0 20px rgba(0,0,0,0.1);
}

.p2-walls-hero .p2-hero-col-left picture,
.p2-walls-hero .p2-hero-col-right picture,
.p2-walls-hero .p2-hero-col-left img,
.p2-walls-hero .p2-hero-col-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p2-walls-hero .p2-hero-col-left img {
    opacity: 0.85;
}

.p2-walls-hero .p2-hero-col-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.p2-walls-hero .p2-hero-col-label-accent {
    background: var(--p2-color-accent, #e84545);
}

/* Адаптив */
@media (max-width: 400px) {
    .p2-walls-hero .p2-walls-hero-collage {
        flex-direction: column;
        gap: 10px;
    }
    
    .p2-walls-hero .p2-hero-col-left,
    .p2-walls-hero .p2-hero-col-right {
        border-radius: var(--p2-radius-md, 12px);
        min-height: 200px;
    }
    
    .p2-walls-hero .p2-hero-col-right {
        border-radius: var(--p2-radius-md, 12px);
        box-shadow: none;
    }
}

@media (max-width: 575px) {
    .p2-walls-hero .p2-hero-col-left,
    .p2-walls-hero .p2-hero-col-right {
        min-height: 150px;
    }
    
    .p2-walls-hero .p2-hero-col-label {
        font-size: 0.75rem;
        padding: 4px 12px;
        bottom: 12px;
        left: 12px;
    }
}


.p2-color-warning {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: #fff;
    padding: 40px;
    border-radius: var(--p2-radius-lg);
    box-shadow: var(--p2-shadow-md);
    border-left: 5px solid var(--p2-color-accent);
}

.p2-warning-icon {
    font-size: 50px;
    color: var(--p2-color-accent);
    flex-shrink: 0;
}

.p2-warning-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--p2-color-text);
}

.p2-warning-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--p2-color-text-muted);
    margin: 0;
}

/* Адаптив */
@media (max-width: 767px) {
    .p2-color-warning {
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        gap: 20px;
        text-align: center;
        border-left: none;
        border-top: 5px solid var(--p2-color-accent);
    }
    
    .p2-warning-title {
        font-size: 1.4rem;
    }
    
    .p2-warning-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .p2-color-warning {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .p2-warning-icon {
        font-size: 36px;
    }
    
    .p2-warning-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .p2-warning-text {
        font-size: 0.9rem;
    }
}


.p2-paint-compare {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.p2-compare-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--p2-radius-lg);
    box-shadow: var(--p2-shadow-sm);
}

.p2-compare-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--p2-color-text);
}

.p2-compare-icon-plus {
    color: #10B981;
    font-size: 28px;
}

.p2-compare-icon-minus {
    color: #EF4444;
    font-size: 28px;
}

.p2-compare-list {
    list-style: none;
    padding: 0;
    color: var(--p2-color-text-muted);
}

.p2-compare-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.p2-compare-item:last-child {
    margin-bottom: 0;
}

.p2-compare-item-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.p2-compare-item-icon-plus {
    color: #10B981;
}

.p2-compare-item-icon-minus {
    color: #EF4444;
}

.p2-compare-item span {
    margin-top: -1px;
}

/* Адаптив */
@media (max-width: 767px) {
    .p2-paint-compare {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .p2-compare-card {
        padding: 25px 20px;
    }
    
    .p2-compare-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .p2-compare-item {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .p2-compare-card {
        padding: 20px 15px;
    }
    
    .p2-compare-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .p2-compare-item {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .p2-compare-item-icon {
        font-size: 18px;
    }
}


.compare-three-type {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.compare-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--p2-radius-lg);
    box-shadow: var(--p2-shadow-sm);
}

.compare-card-highlight {
    box-shadow: var(--p2-shadow-lg);
    transform: scale(1.05);
    z-index: 2;
    border: 2px solid var(--p2-color-accent);
}

.compare-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.compare-icon-paint {
    background: var(--p2-bg-light);
}

.compare-icon-highlight {
    background: rgba(59, 130, 246, 0.1);
}

.compare-icon-silent {
    background: rgba(0, 0, 0, 0.05);
}

.compare-icon {
    font-size: 30px;
    color: var(--p2-color-text);
}

.compare-icon-accent {
    color: var(--p2-color-accent);
}

.compare-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--p2-color-text);
}

.compare-list {
    list-style: none;
    padding: 0;
    color: var(--p2-color-text-muted);
}

.compare-list-highlight {
    color: var(--p2-color-text);
}

.compare-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.compare-item:last-child {
    margin-bottom: 0;
}

.compare-item-icon {
    margin-top: 4px;
    flex-shrink: 0;
}

.compare-item-icon-neutral {
    color: #ccc;
}

.compare-item-icon-minus {
    color: #EF4444;
}

.compare-item-icon-info {
    color: #aaa;
}

.compare-item-icon-plus {
    color: var(--p2-color-accent);
}

.compare-item-icon-plus-dark {
    color: var(--p2-color-text);
}

/* Адаптив */
@media (max-width: 991px) {
    .compare-card-highlight {
        transform: none;
        z-index: 0;
    }
}

@media (max-width: 767px) {
    .compare-three-type {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .compare-card {
        padding: 25px 20px;
    }
    
    .compare-card-highlight {
        transform: none;
        z-index: 0;
        border-width: 2px;
    }
    
    .compare-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .compare-item {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 575px) {
    .compare-card {
        padding: 20px 15px;
    }
    
    .compare-title {
        font-size: 1.1rem;
    }
    
    .compare-item {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .compare-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .compare-icon {
        font-size: 24px;
    }
}

.p-color-change {
    border-left: 4px solid var(--p2-color-text);
    padding-left: 20px;
    margin: 20px 0;
}

.p-color-change-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--p2-color-text);
}

.p-color-change-text {
    color: var(--p2-color-text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
}

.p-color-change-text strong {
    color: var(--p2-color-text);
	font-weight:700
}

/* Адаптив */
@media (max-width: 767px) {
    .p-color-change {
        padding-left: 15px;
        margin: 15px 0;
    }
    
    .p-color-change-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .p-color-change-text {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .p-color-change {
        padding-left: 12px;
        border-left-width: 3px;
        margin: 10px 0;
    }
    
    .p-color-change-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .p-color-change-text {
        font-size: 0.9rem;
    }
}

.p2-cta-compare-wrap {
    background-image: url('/templates/potolki/images/steny/hero1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media(min-width:576px){
	
.p2-cta-compare-wrap .p2-cta-form-wrapper form.p2-cta-form{background:#fff !important}
}
@media(min-width:992px){
	.p2-cta-compare-wrap .p2-cta-form-wrapper{
    flex: 0 0 450px;
}
}
@media(max-width:575px){
	  .p2-cta-compare-wrap .p2-cta-form-wrapper form.p2-cta-form {
    flex-direction: column;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
	gap:10px
  }
  .p2-cta-compare-wrap input.p2-cta-input{background:#fff; background: #fff;
    border-radius: var(--p2-radius-md);
    padding: 15px;
    text-align: center;}
  .p2-cta-compare-wrap button.p2-cta-btn{width:100%}
}


.p2-viravnivanie {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: var(--p2-bg-light);
    padding: 40px;
    border-radius: var(--p2-radius-lg);
}

.p2-viravnivanie-icon {
    font-size: 60px;
    color: var(--p2-color-accent);
    flex-shrink: 0;
}

.p2-viravnivanie-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 800;
    color: var(--p2-color-text);
}

.p2-viravnivanie-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--p2-color-text-muted);
    margin: 0;
}

/* Адаптив */
@media (max-width: 767px) {
    .p2-viravnivanie {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .p2-viravnivanie-icon {
        font-size: 48px;
    }
    
    .p2-viravnivanie-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .p2-viravnivanie-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .p2-viravnivanie {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .p2-viravnivanie-icon {
        font-size: 36px;
    }
    
    .p2-viravnivanie-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .p2-viravnivanie-text {
        font-size: 0.9rem;
    }
}


.p2-viravnivanie-steps {
    max-width: 800px;
    margin: 40px auto 0;
}

.p2-steps-list {
    list-style: none;
    padding: 0;
    position: relative;
}

.p2-steps-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--p2-color-border);
    z-index: 1;
}

.p2-step-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.p2-step-item:last-of-type {
    margin-bottom: 0;
}

.p2-step-number {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid var(--p2-color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--p2-color-accent);
    flex-shrink: 0;
}

.p2-step-text {
    background: #fff;
    padding: 15px 25px;
    border-radius: var(--p2-radius-md);
    flex: 1;
    box-shadow: var(--p2-shadow-sm);
    font-weight: 600;
    color: var(--p2-color-text);
}

.p2-step-final .p2-step-number {
    background: var(--p2-color-accent);
    border-color: var(--p2-color-accent);
    color: #fff;
}

.p2-step-final .p2-step-text {
    background: var(--p2-color-accent);
    color: #fff;
    font-weight: 700;
}

.p2-step-warning {
    margin-top: 40px;
    padding: 25px;
    border-left: 4px solid #FF3366;
    background: rgba(255, 51, 102, 0.05);
    border-radius: 0 var(--p2-radius-md) var(--p2-radius-md) 0;
}

.p2-step-warning-text {
    margin: 0;
    color: var(--p2-color-text-muted);
    line-height: 1.6;
}

.p2-step-warning-strong {
    color: #FF3366;
}

/* Адаптив */
@media (max-width: 767px) {
    .p2-viravnivanie-steps {
        margin: 30px auto 0;
    }
    
    .p2-step-item {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .p2-step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .p2-step-text {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
    
    .p2-steps-line {
        left: 19px;
    }
    
    .p2-step-warning {
        padding: 20px;
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .p2-step-item {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .p2-step-number {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
        border-width: 2px;
    }
    
    .p2-step-text {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    .p2-steps-line {
        left: 16px;
    }
    
    .p2-step-warning {
        padding: 15px;
        margin-top: 25px;
        border-left-width: 3px;
    }
    
    .p2-step-warning-text {
        font-size: 0.9rem;
    }
}

/* Родительский класс tihie-video */
.tihie-video .tihie-video-desc {
    font-size: 16px;
    color: var(--p2-color-text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.tihie-video .tihie-video-benefits {
    margin-bottom: 0;
}

.tihie-video .tihie-video-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.tihie-video .tihie-video-benefit-item:last-child {
    margin-bottom: 0;
}

.tihie-video .tihie-video-benefit-text {
    font-size: 15px;
    font-weight: normal;
    color: var(--p2-color-text-muted);
}

.tihie-video .tihie-video-benefit-text strong {
    color: var(--p2-color-text);
}

.tihie-video .p2-benefit-icon {
    font-size: 24px;
    color: var(--p2-color-accent);
    flex-shrink: 0;
    margin-top: 1px;
}

/* Картинка */
.tihie-video .p2-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Родительский класс tihie-comparison */
.tihie-comparison {
    grid-template-columns: 1fr 1fr;
}

.tihie-comparison .tihie-comp-icon-muted {
    color: var(--p2-color-text-muted);
}

/* Родительский класс tihie-timeline */
.tihie-timeline {
    grid-template-columns: repeat(7, 1fr);
}

.tihie-timeline-text {
    margin-top: 40px;
    text-align: center;
    color: var(--p2-color-text-muted);
}

/* Адаптив */

/* Планшеты */
@media (max-width: 991px) {
    .tihie-timeline {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* 4 снизу, 3 сверху */
    .tihie-timeline .p2-timeline-item:nth-child(1),
    .tihie-timeline .p2-timeline-item:nth-child(2),
    .tihie-timeline .p2-timeline-item:nth-child(3) {
        order: 0;
    }
    
    .tihie-timeline .p2-timeline-item:nth-child(4),
    .tihie-timeline .p2-timeline-item:nth-child(5),
    .tihie-timeline .p2-timeline-item:nth-child(6),
    .tihie-timeline .p2-timeline-item:nth-child(7) {
        order: 1;
    }
    
    .tihie-timeline-text {
        margin-top: 30px;
    }
	.tihie-timeline .p2-timeline-item:nth-child(6)::after{display:none}
}

/* Мобильные */
@media (max-width: 767px) {
    .tihie-timeline {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .tihie-timeline .p2-timeline-item:not(:last-child)::after{display:none}
    .tihie-timeline .p2-timeline-item {
        order: unset !important;
    }
    
    .tihie-timeline-text {
        margin-top: 25px;
    }
}

@media (max-width: 575px) {
    .tihie-timeline-text {
        margin-top: 20px;
        font-size: 0.95rem;
    }
}

.tihie-bottom-CTA{background: linear-gradient(135deg, var(--p2-color-text) 0%, #111 100%); overflow: hidden;}
.color-CTA-black .p2-cta-title, .color-CTA-black .p2-cta-desc{color:#000}


.tihie-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tihie-video-grid .p2-video-wrapper {
    position: relative;
    border-radius: var(--p2-radius-md);
    overflow: hidden;
    aspect-ratio: 9 / 16;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.tihie-video-grid .p2-video-wrapper picture,
.tihie-video-grid .p2-video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tihie-video-grid .p2-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--p2-color-accent);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.tihie-video-grid .p2-video-wrapper:hover .p2-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.tihie-video-grid .p2-video-caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    z-index: 1;
    text-align: center;
    pointer-events: none;
}

/* Адаптив */
@media (max-width: 767px) {
    .tihie-video-grid {
        gap: 10px;
    }
    
    .tihie-video-grid .p2-play-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .tihie-video-grid .p2-video-caption {
        font-size: 11px;
        bottom: 8px;
        left: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .tihie-video-grid {
        gap: 8px;
    }
    
    .tihie-video-grid .p2-play-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .tihie-video-grid .p2-video-caption {
        font-size: 10px;
        bottom: 6px;
        left: 6px;
        right: 6px;
    }
}


.p2-bento-last-tiheie {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.p2-bento-last-tiheie .p2-bento-card {
    background: #fff;
    border-radius: var(--p2-radius-lg);
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--p2-color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p2-bento-last-tiheie .p2-bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--p2-shadow-lg);
}

.p2-bento-last-tiheie .p2-bento-wide {
    grid-column: span 2;
}

.p2-bento-last-tiheie .p2-bento-tall {
    grid-row: span 2;
}

.p2-bento-last-tiheie .p2-bento-icon {
    font-size: 40px;
    color: var(--p2-color-accent);
    margin-bottom: 15px;
}

.p2-bento-last-tiheie .p2-bento-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: var(--p2-color-text);
}

.p2-bento-last-tiheie .p2-bento-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.p2-bento-last-tiheie .p2-bento-accent {
    background: var(--p2-color-accent);
    color: #fff;
    border: none;
}

.p2-bento-last-tiheie .p2-bento-accent .p2-bento-title,
.p2-bento-last-tiheie .p2-bento-accent .p2-bento-text {
    color: #fff;
}

/* Bento Image */
.p2-bento-last-tiheie .p2-bento-image {
    padding: 0;
    position: relative;
}

.p2-bento-last-tiheie .p2-bento-image picture,
.p2-bento-last-tiheie .p2-bento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p2-bento-last-tiheie .p2-bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(transparent 30%, rgba(0,0,0,0.7));
    color: #fff;
}

.p2-bento-last-tiheie .p2-bento-overlay .p2-bento-title,
.p2-bento-last-tiheie .p2-bento-overlay .p2-bento-text {
    color: #fff;
}

.p2-bento-last-tiheie .p2-bento-play {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--p2-color-accent);
    margin-bottom: 15px;
}

.p2-bento-last-tiheie .p2-bento-title-mt-auto {
    margin-top: auto;
}

/* ===== АДАПТИВ ===== */

/* Планшеты */
@media (max-width: 991px) {
    .p2-bento-last-tiheie {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .p2-bento-last-tiheie .p2-bento-wide {
        grid-column: span 2;
    }
    
    .p2-bento-last-tiheie .p2-bento-tall {
        grid-row: span 1;
    }
}

/* Мобильные */
@media (max-width: 767px) {
    .p2-bento-last-tiheie {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 30px;
    }
    
    .p2-bento-last-tiheie .p2-bento-card {
        /*! padding: 20px; */
    }
    
    .p2-bento-last-tiheie .p2-bento-wide {
        grid-column: span 2;
    }
    
    .p2-bento-last-tiheie .p2-bento-tall {
        grid-row: span 1;
    }
    
    .p2-bento-last-tiheie .p2-bento-title {
        font-size: 18px;
    }
    
    .p2-bento-last-tiheie .p2-bento-text {
        font-size: 14px;
    }
    
    .p2-bento-last-tiheie .p2-bento-icon {
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    .p2-bento-last-tiheie .p2-bento-overlay {
        padding: 20px;
    }
    
    .p2-bento-last-tiheie .p2-bento-play {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
    .p2-bento-last-tiheie {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 20px;
    }
    
    .p2-bento-last-tiheie .p2-bento-card {
        /*! padding: 15px; */
        border-radius: var(--p2-radius-md);
    }
    
    .p2-bento-last-tiheie .p2-bento-wide {
        grid-column: span 2;
    }
    
    .p2-bento-last-tiheie .p2-bento-tall {
        grid-row: span 1;
    }
    
    .p2-bento-last-tiheie .p2-bento-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .p2-bento-last-tiheie .p2-bento-title-xl {
        font-size: 24px !important;
    }
    
    .p2-bento-last-tiheie .p2-bento-title-sm {
        font-size: 16px !important;
    }
    
    .p2-bento-last-tiheie .p2-bento-text {
        font-size: 13px;
    }
    
    .p2-bento-last-tiheie .p2-bento-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .p2-bento-last-tiheie .p2-bento-overlay {
        padding: 15px;
    }
    
    .p2-bento-last-tiheie .p2-bento-play {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-bottom: 10px;
    }
}

/* Очень маленькие */
@media (max-width: 380px) {
    .p2-bento-last-tiheie {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .p2-bento-last-tiheie .p2-bento-wide {
        grid-column: span 1;
    }
}