h2 {
    position: relative;
    font-size: 2.8rem;
    font-weight: 800;
    /*line-height: 1.1;*/
    line-height: 1.15;
    color: #1f2937;
    text-align: center;
    /*margin: 3.5rem 0 2.5rem;*/
    margin: 4rem auto 3rem;
    /*margin: 4rem auto 3.5rem;*/
    letter-spacing: -0.02em;
    max-width: 820px;
    -webkit-font-smoothing: antialiased; /* важливо для Mac */
    -moz-osx-font-smoothing: grayscale;
}
h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #E75308, #FF8A4D);
    /*background: linear-gradient(90deg, #E75308, #ff9a5c);*/
    border-radius: 4px;
    transition: all 0.4s ease;
    display: block;
    margin: 16px auto 0;
}
h2 {
    opacity: 0;
    transform: translateY(30px);
    animation: titleFadeIn 0.8s forwards;
    cursor: pointer
}
@keyframes titleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
h2:hover::after {
    width: 110px;
    background: linear-gradient(90deg, #FF8A4D, #E75308);
}
h2 {
    background: linear-gradient(90deg, #1f2937, #E75308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
 


.page-title .wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.page-title {
    background-image: url("/assets/images/poslugi/veneers/DSC01477.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 580px;
    position: relative;
    display: flex;
    /*align-items: center;*/
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 60px;
}
.page-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

        

.intro-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 0 0 6rem;
    position: relative;
    overflow: hidden;
}
.intro-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(231,83,8,0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.intro-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.intro-content h2 {
    font-size: 2.85rem;
    line-height: 1.15;
    margin-bottom: 1.4rem;
}
.h2-subtitle {
    font-size: 1.32rem;
    line-height: 1.55;
    color: #475569;
    margin-bottom: 2.2rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
        
.btn-cta {
    display: inline-block;
    background: linear-gradient(90deg, #E75308, #FF6B2B);
    color: white;
    font-size: 1.28rem;
    font-weight: 700;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(231, 83, 8, 0.35);
    transition: all 0.4s ease;
}
.btn-cta:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(231, 83, 8, 0.45);
}
        
.consult-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}
.consult-form input, .consult-form textarea {
    width: 100%;
    padding: 15px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.05rem;
    transition: border 0.3s;
}
.consult-form input:focus, .consult-form textarea:focus {
    border-color: #E75308;
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 83, 8, 0.1);
}
.btn-submit {
    width: 100%;
    background: linear-gradient(90deg, #E75308, #FF6B2B);
    color: white;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s;
}
.btn-submit:hover { transform: translateY(-3px); }
        
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: white;
    padding: 2.8rem 2.5rem 2.2rem;
    border-radius: 24px;
    width: 100%;
    max-width: 620px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    animation: modalAppear 0.4s ease;
}
@keyframes modalAppear {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    cursor: pointer;
    color: #999;
}
.modal h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.1rem;
}
.modal-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 2rem;
}



.custom-slider {
    position: relative;
    max-width: 380px;
    margin: 3rem auto;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.slides-container {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.32, 0.72, 0, 1);
}
.slide {
    min-width: 100%;
    position: relative;
}
.slide img {
    width: 100%;
    height: auto;
    /*aspect-ratio: 9 / 16;*/
    object-fit: contain;
    display: block;
    cursor: zoom-in;
}
.custom-slider, .slide { background: transparent; }
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(231, 83, 8, 0.05);
    color: white;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.7rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}
.prev { left: 12px; }
.next { right: 12px; }
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.dot {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
        }
.dot.active {
    background: #E75308;
    transform: scale(1.4);
}






        .reviews-list {
            list-style: none;
            padding-left: 0;
            text-align: left; !important
        }
        .reviews-list li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 18px;
            font-size: 17px;
            line-height: 1.5;
            color: #333;
        }
        .reviews-list li::before {
            content: "֍";
            position: absolute;
            left: 0;
            color: #E75308;
            font-size: 22px;
            font-weight: bold;
            line-height: 1;
        }
    
        .alternating-block {
            display: grid;
            grid-template-columns: 1fr 1fr;
            /*position: relative;*/
            /*gap: 5rem;*/
            gap: 6rem;
            align-items: center;
            margin: 6rem 0;
            /*margin: 7rem 0;*/
            opacity: 0;
            /*transform: translateY(60px);*/
            transform: translateY(40px);
            /*animation: fadeUpBlock 0.9s forwards;*/
            transition: all 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
        }
        .alternating-block.reverse { direction: rtl; }
        .alternating-block.reverse > * { direction: ltr; }

        .alternating-block.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .text-block { 
            padding: 0;
            text-align:center;
        }
        .text-block h2 {
            font-size: 2.4rem;
            /*font-size: 2.6rem;*/
            margin-bottom: 1.5rem;
            /*margin-bottom: 1.8rem;*/
            color: #1f2937;
            line-height: 1.15;
            font-weight: 800;
        }
        .text-block p, .text-block ul {
            font-size: 1.15rem;
            line-height: 1.65;
            color: #475569;
        }

        .image-block {
            position: relative;
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
        }
        .image-block img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
            /*transition: transform 0.8s ease;*/
        }
        
        .alternating-block:hover .image-block::before { opacity: 1; }
        .alternating-block:hover .image-block img { transform: scale(1.06); }
        .alternating-block:hover .image-block::after {
            transform: scale(1.3);
            opacity: 0.25;
        }
        
        .alternating-block:nth-child(1) { animation-delay: 0.1s; }
        .alternating-block:nth-child(2) { animation-delay: 0.3s; }
        .alternating-block:nth-child(3) { animation-delay: 0.5s; }
        
        @keyframes fadeUpBlock {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @media (max-width: 992px) {
            .alternating-block {
                grid-template-columns: 1fr;
                gap: 3rem;
                margin: 5rem 0;
            }
            
            .text-block h2 {
                font-size: 2.2rem;
            }
        }
        
        .feature-card {
            background: white;
            padding: 2.5rem 1.5rem;
            border-radius: 24px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.07);
            transition: all 0.4s ease;
        }
        .feature-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 25px 50px rgba(231, 83, 8, 0.15);
        }
        .feature-card img {
            width: 70px;
            height: 70px;
            margin-bottom: 1.5rem;
        }
        
        .before-after-grid {
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
        }
        .before-after-pair {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.2rem;
        }
        .before-after-item { position: relative; }
        .before-after-item .label {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(0,0,0,0.75);
            color: white;
            font-size: 0.85rem;
            padding: 4px 12px;
            border-radius: 20px;
            z-index: 2;
            font-weight: 500;
        }
        .before-after-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 16px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        @media (max-width: 768px) {
            .before-after-pair {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
        }
/*--------------------------------------------------------------*/
        .feature-card .quote-item {
            border-bottom: 1px solid #E75308;
        }
/*--------------------------------------------------------------*/
        .quote-item {
            padding-bottom: 1.8rem;
            border-bottom: 1px solid #f1f5f9;
        }
        .quote-item:last-child { border-bottom: none; }
        .quote {
            font-size: 1.32rem;
            line-height: 1.5;
            color: #1e2937;
            font-weight: 500;
        }






        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.8rem;
        }
        .price-card {
            background: #fff;
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            border: 2px solid #f1f5f9;
            transition: all 0.4s;
        }
        .price-card:hover {
            border-color: #E75308;
            transform: scale(1.03);
        }
        .price {
            font-size: 2rem;
            font-weight: 700;
            color: #E75308;
            margin: 1rem 0;
        }

    
    
    
    
    
        .testimonial-with-video {
            display: grid;
            grid-template-columns: 380px 1fr;
            gap: 4rem;
            align-items: start;
            margin-top: 3rem;
        }
        .testimonial-video-wrapper { max-width: 380px; }
        .portrait-video {
            width: 100%;
            height: auto;
            aspect-ratio: 9 / 16;
            object-fit: cover;
            display: block;
            border-radius: 28px;
        }
        
        @media (max-width: 992px) {
            .testimonial-with-video {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
        }
        
        
        
        
        
        .process-timeline {
            max-width: 1100px;
            margin: 4rem auto;
        }
        .process-step {
            display: grid;
            grid-template-columns: 80px 1fr 1fr;
            gap: 3rem;
            align-items: center;
            margin-bottom: 4.5rem;
            position: relative;
        }
        .process-step:last-child { margin-bottom: 0; }
        .step-number {
            font-size: 4.5rem;
            font-weight: 900;
            color: #E75308;
            opacity: 0.15;
            transition: all 0.4s;
        }
        .process-step:hover .step-number {
            opacity: 0.35;
            transform: scale(1.1);
        }
        .step-content h3 {
            font-size: 1.65rem;
            margin-bottom: 0.8rem;
            color: #1f2937;
        }
        .process-step::before {
            content: '';
            position: absolute;
            left: 38px;
            top: 90px;
            bottom: -60px;
            width: 4px;
            background: linear-gradient(to bottom, #E75308, #f3f4f6);
            z-index: -1;
        }
/* ??????????????????????????????????????????????????????????? */
        .step-image img {
            width: 100%;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
/* ??????????????????????????????????????????????????????????? */
    
    
    
    
    
        .doctor-section {
            background: #f8fafc;
            padding: 5rem 0;
        }
        .doctor-block {
            display: grid;
            grid-template-columns: 1fr 1.1fr;
            gap: 5rem;
            align-items: center;
            max-width: 1100px;
            margin: 3rem auto;
        }
        .doctor-photo {
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .doctor-photo img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.6s ease;
        }
        .doctor-block:hover .doctor-photo img { transform: scale(1.04); }
        .doctor-info { padding: 1rem 0; }
        .doctor-quote {
            font-size: 1.28rem;
            line-height: 1.55;
            color: #1e2937;
            font-style: italic;
            margin-bottom: 2.5rem;
            border-left: 5px solid #E75308;
            padding-left: 1.8rem;
        }
        .doctor-credentials {
            display: flex;
            flex-direction: column;
            gap: 1.8rem;
        }
        .credential-item strong {
            display: block;
            color: #E75308;
            font-size: 1.1rem;
            margin-bottom: 0.4rem;
        }
        .credential-item p {
            color: #475569;
            margin: 0;
        }
        
        @media (max-width: 992px) {
            .doctor-block {
                grid-template-columns: 1fr;
                gap: 3rem;
                text-align: center;
            }
            .doctor-quote {
                text-align: left;
            }
        }
        
        
        
        
        
        .final-cta {
            background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
            position: relative;
            padding: 8rem 0;
            overflow: hidden;
            color: white;
        }
        .final-cta__bg {
            position: absolute;
            inset: 0;
            z-index: -1;
        }
        .final-cta__bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.65) contrast(1.1);
        }
        .final-cta__content {
            position: relative;
            z-index: 2;
            max-width: 700px;
        }
        .white {
            font-size: 3.1rem;
            line-height: 1.15;
            font-weight: 800;
            margin-bottom: 1.8rem;
            filter: drop-shadow(2px 4px 4px rgba(0, 0, 0, 0.9));
            background: linear-gradient(0deg, #E75308, #E75308);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .final-cta__text { text-align: center; }
        .final-cta__text h1 {
            /*font-size: 1.8em;*/
            font-size: 1.25rem;
            line-height: 1.6;
            margin-bottom: 2.5rem;
            opacity: 0.95;
        }
        
        @media (max-width: 768px) {
            .white {
                margin-top:-20%;
                font-size:1.8rem;
            }
            .final-cta__text h1 {
                margin-top:70%;
            }
        }
        
        
        
        
        
        .faq-section {
            background: #f8fafc;
            padding: 5rem 0;
        }
        .faq-accordion {
            max-width: 820px;
            margin: 3rem auto;
        }
        .faq-item {
            background: white;
            margin-bottom: 12px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: all 0.3s;
        }
        .faq-item:last-child { margin-bottom: 0;  }
        .faq-question {
            width: 100%;
            padding: 1.4rem 1.8rem;
            background: none;
            border: none;
            text-align: left;
            font-size: 1.1rem;
            font-weight: 600;
            color: #1e2937;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .faq-icon {
            font-size: 1.6rem;
            font-weight: 300;
            transition: transform 0.4s ease;
        }
        .faq-item.active .faq-icon { transform: rotate(45deg); }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            background: #f8fafc;
        }
        .faq-item.active .faq-answer {
            max-height: 200px;
            padding: 0 1.8rem 1.6rem;
        }
        .faq-answer p {
            color: #475569;
            line-height: 1.65;
        }
        
        
        
        
        
    @media (max-width: 1200px) {
        .alternating-block { gap: 4rem; }
    }
    
    @media (max-width: 992px) {
        .alternating-block {
            grid-template-columns: 1fr;
            gap: 3rem;
            margin: 4rem 0;
        }
        .text-block h2 { font-size: 2.2rem; }
    }
    
    @media (max-width: 768px) {
        .page-title { min-height: 420px; padding-bottom: 40px; }
        .before-after-pair { grid-template-columns: 1fr; gap: 1rem; }
    }
    
    @media (max-width: 480px) {
        .btn-cta { padding: 1rem 2rem; font-size: 1.1rem; }
    }