:root {
    --red: #a34343;
    --beige: #ffe4bd;
    --light-beige: #f9f5ee;
    --text-color: #333
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    font-size: 100%
}

img, video {
    max-width: 100%;
    display: block
}

ol, ul {
    list-style: none
}

body, input, select, textarea, button, label, table, tbody, tfoot, thead, tr, th, td {
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2
}

.socialpane .slogan {
    line-height: 1.825
}

a {
    text-decoration: none
}

.red {
    background: var(--red);
    color: var(--beige)
}

.beige {
    background: var(--beige)
}

.light-beige {
    background: var(--light-beige)
}

.red-text {
    color: var(--red)
}

.d-flex {
    display: flex
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    width: 100%;
    overflow: hidden
}

main {
    flex: 1
}

.h2 {
    font-size: 1.25rem;
    color: var(--red);
    text-align: center;
    font-weight: 900
}

section {
    opacity: 0;
    transform: translateY(1.875rem);
    transition: opacity .8s ease, transform .8s ease
}

section.visible {
    opacity: 1;
    transform: translateY(0)
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0;
    position: relative
}

.hero {
    text-align: center;
    padding: 4.5rem 15.625rem 5.625rem
}

.hero h1, .big-header {
    font-size: 2.625rem;
    color: var(--red);
    font-weight: 900;
    line-height: 1.25
}

.hero .container, .section-videos .big-header {
    display: flex;
    justify-content: center
}

.big-header {
    text-align: center
}

.section-stage {
    margin-top: 2.75rem
}

.stage:not(:first-child) {
    margin: 105px 0
}

.stage-content {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    align-items: start
}

.stage-num {
    line-height: .8;
    font-size: 7.5rem;
    font-weight: 900;
    color: var(--red);
    margin-right: 3.125rem
}

.stage-text-top {
    display: flex;
    max-width: 50%
}

.stage-text-main {
    padding-top: 120px
}

.stage-text-main p {
    line-height: 1.4
}

.stage-text-main .red-text {
    font-weight: 700
}

.stage-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3
}

.stage-text p {
    font-size: 17px;
    margin-bottom: 1.875rem
}

.stage-text strong, .beige-banner-text strong, .guarantee-text strong {
    color: var(--red);
    font-weight: 700
}

.stage-text .highlighted {
    border-left: 2px solid var(--red);
    padding-left: 25px;
    color: var(--red);
    font-weight: 700
}

.stage.stage-image .stage-img {
    position: relative;
    height: 100%;
    transition: transform .5s cubic-bezier(.25, .46, .45, .94)
}

.stage-image__left .stage-content {
    margin-top: 5rem
}

.stage-image__left .stage-text-main {
    margin-left: 4rem
}

.stage-image__right .stage-text-main {
    margin-right: 4.75rem
}

.stage-image__right .stage-img::after, .stage-image__left .stage-img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 90%;
    background-image: url('../img/background.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: .8;
    transition: transform .5s ease, opacity .5s ease
}

.stage.stage-image.stage-image__right .stage-img::after {
    top: 0;
    right: 0;
    background-position: right top
}

.stage.stage-image.stage-image__left .stage-img::before {
    bottom: 0;
    left: 0;
    background-position: left bottom
}

.stage-image__right:hover .stage-img::after {
    transform: translateY(10px) translateX(-5px);
    opacity: 1
}

.stage-image__left:hover .stage-img::before {
    transform: translateY(-10px) translateX(5px);
    opacity: 1
}

.stage.stage-image .stage-img img {
    max-width: 100%;
    transition: transform .5s ease
}

.stage-image__right .stage-img {
    padding-top: 10%;
    padding-right: 10%
}

.stage-image__left .stage-img {
    padding-bottom: 10%;
    padding-left: 10%
}

.stage-img:hover img {
    transform: scale(1.02)
}

.section-consult {
    margin-top: 5.75rem
}

.container-consult, .container-contact {
    display: grid;
    grid-template-columns:1fr 3fr 2fr;
    padding: 3rem 0
}

.consult-image, .contact-image {
    display: flex;
    align-items: center;
    justify-content: center
}

.consult-text p, .contact-text p {
    font-size: 2.25rem;
    line-height: 1.2
}

.contact-text {
    font-weight: 500;
    padding-right: 2.5rem
}

.consult-text, .contact-text .white-text {
    font-weight: 900
}

.consult-links, .contact-links {
    display: grid;
    padding: 0 5rem 0 1rem;
    grid-template-columns:repeat(3, 1fr);
    align-content: center
}

.white-text {
    color: #fff
}

.section-gallery {
    margin-top: 3.75rem
}

.double-banner {
    position: relative;
    margin-bottom: 11rem;
    margin-top: 6.75rem
}

.beige-banner {
    padding: 5rem 0 10rem
}

.beige-banner-parts {
    display: grid;
    grid-template-columns:repeat(3, 1fr)
}

.beige-banner-parts span {
    font-size: 4.8rem;
    font-weight: 900;
    color: var(--red)
}

.beige-banner-parts__left, .beige-banner-parts__right, .beige-banner-parts__center {
    display: flex;
    align-items: center;
    justify-content: center
}

.beige-banner-parts__center img {
    transition: transform .5s cubic-bezier(.25, .46, .45, .94)
}

.beige-banner-parts__center:hover img {
    transform: scale(1.02)
}

.beige-banner-text {
    margin-top: 4.2rem;
    display: grid;
    grid-template-columns:repeat(2, 1fr)
}

.red-banner {
    position: absolute;
    bottom: -11.25rem;
    background: var(--red);
    display: grid;
    grid-template-columns:51% 49%;
    gap: 2.5rem;
    padding: 3.125rem 7.875rem;
    align-items: center
}

.red-banner-text {
    font-size: 2.25rem;
    color: var(--beige);
    font-weight: 900;
    line-height: 2.5rem
}

.red-banner-years {
    color: var(--beige);
    font-weight: 900;
    display: flex;
    justify-content: center
}

.red-banner-years__number {
    font-size: 11.25rem;
    line-height: 10rem
}

.red-banner-years__text {
    font-size: 7.81rem;
    line-height: 8rem
}

.section-examples {
    padding-top: 6.75rem
}

.examples-header {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 4.375rem
}

img[loading="lazy"] {
    transition: opacity .3s ease
}

.payment {
    display: flex;
    align-items: center;
}

.gallery-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.gallery-slider {
    margin: 0;
}

.gallery-slide {
    padding: 0;
    margin: 0;
    outline: none;
}

.gallery-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-slide img:hover {
    transform: scale(1.02);
}

.gallery-slider-wrapper .slick-list {
    overflow: visible;
}

.gallery-slider-wrapper .slick-track {
    display: flex;
    align-items: center;
}

.gallery-slider-wrapper .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(163, 67, 67, 0.8);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.gallery-slider-wrapper .slider-nav:hover {
    background: var(--red);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.gallery-slider-wrapper .slider-prev {
    left: 0;
}

.gallery-slider-wrapper .slider-next {
    right: 0;
}

.gallery-slider-wrapper .slick-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 0;
}

.gallery-slider-wrapper .slick-dots li {
    list-style: none;
}

.gallery-slider-wrapper .slick-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(163, 67, 67, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    text-indent: -9999px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-slider-wrapper .slick-dots li.slick-active button {
    background: var(--red);
    transform: scale(1.3);
}

.gallery-slider-wrapper .slick-dots button:hover {
    background: rgba(163, 67, 67, 0.6);
    transform: scale(1.2);
}

.slick-examples {
    position: relative;
    margin: 0 -15px;
}

.slick-examples .slick-list {
    padding: 20px 0;
}

.slick-examples .slick-slide {
    padding: 0 15px;
    height: auto;
}

.slick-examples .slick-track {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.slick-examples .example-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 25px;
}

.slick-examples .example-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.slick-examples .example-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    flex-shrink: 0;
}

.slick-examples .example-card p {
    padding: 1.5rem 1.5rem 2.5rem;
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
    margin: 0;
    flex-grow: 1;
    color: var(--text-color);
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
    background: #fff;
}

.slick-examples .example-card:hover p {
    font-weight: 500;
}

.examples-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(163, 67, 67, 0.8);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.examples-slider-nav:hover {
    background: var(--red);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.examples-slider-prev {
    left: -60px;
}

.examples-slider-next {
    right: -60px;
}

.slick-examples ~ .slick-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding: 10px 0 40px;
}

.slick-examples ~ .slick-dots li {
    list-style: none;
}

.slick-examples ~ .slick-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(163, 67, 67, 0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    text-indent: -9999px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.slick-examples ~ .slick-dots li.slick-active button {
    background: var(--red);
    transform: scale(1.3);
}

.slick-examples ~ .slick-dots button:hover {
    background: rgba(163, 67, 67, 0.6);
    transform: scale(1.2);
}

.section-guarantee {
    margin-top: 6.75rem
}

.container-guarantee {
    display: grid;
    grid-template-columns:1fr 5fr;
    padding: 3rem 11rem 3rem 3rem;
    margin-top: 3.75rem
}

.guarantee-image {
    display: flex;
    align-items: center;
    justify-content: center
}

.section-steps {
    margin-top: 7.5rem
}

.big-header-steps {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--red);
    text-align: center
}

.steps-subtitle {
    font-size: 1.5rem;
    margin-top: 3rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center
}

.steps-list {
    display: grid;
    grid-template-columns:repeat(5, 1fr);
    gap: 2.5rem;
    position: relative;
    margin-top: 5rem
}

.step {
    position: relative
}

.step:hover {
    cursor: default
}

.step-circle {
    width: 125px;
    height: 125px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #e0d8cb;
    color: #fff;
    font-size: 4.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: background-color .4s ease-in-out .1s, color .3s ease-in-out .1s
}

.step::before {
    content: '';
    position: absolute;
    top: 65px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #e5d9cc 0, #e5d9cc 4px, transparent 4px, transparent 8px);
    z-index: 0
}

.step:first-child::before {
    display: none
}

.step:hover .step-circle {
    background: var(--red)
}

.step-text {
    padding: 1rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color);
    transition: color .4s ease-in-out .1s
}

.step:hover .step-text {
    color: var(--red)
}

.section-contact {
    margin-top: 6.25rem
}

.section-videos {
    margin-top: 5rem
}

.videos {
    margin-top: 5rem;
    margin-bottom: 5.625rem;
    display: flex;
    justify-content: center;
    gap: 25px
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .95);
    z-index: 10000;
    opacity: 0;
    transition: opacity .4s cubic-bezier(.4, 0, .2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px)
}

.lightbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(163, 67, 67, .1) 0, rgba(0, 0, 0, .95) 70%);
    opacity: .5;
    pointer-events: none
}

.lightbox::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, .8) 150%);
    pointer-events: none
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(.95)
    }
    to {
        opacity: 1;
        transform: scale(1)
    }
}

.lightbox.active .lightbox-content {
    animation: lightboxFadeIn .4s cubic-bezier(.4, 0, .2, 1)
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(163, 67, 67, .7)
    }
    70% {
        box-shadow: 0 0 0 10px rgba(163, 67, 67, 0)
    }
    100% {
        box-shadow: 0 0 0 0 rgba(163, 67, 67, 0)
    }
}

.lightbox-prev:hover, .lightbox-next:hover, .lightbox-close:hover {
    animation: buttonPulse 1.5s infinite
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 100px
}

.lightbox-image-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

@keyframes slideHighlight {
    0% {
        transform: scale(1)
    }
    50% {
        transform: scale(1.02)
    }
    100% {
        transform: scale(1)
    }
}

.lightbox.active .lightbox-image-container {
    animation: slideHighlight .6s ease-out
}

.lightbox-image {
    max-width: 90vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    transition: transform .3s ease;
    cursor: zoom-in
}

.lightbox-image.portrait {
    max-height: 85vh;
    max-width: calc(90vw - 100px)
}

.lightbox-image.landscape {
    max-width: 90vw;
    max-height: 75vh
}

.lightbox-image.square {
    max-width: min(80vh, 80vw);
    max-height: min(80vh, 80vw)
}

.lightbox-image:not(.zoomed)::after {
    content: '🔍';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    opacity: 0;
    transition: opacity .3s ease
}

.lightbox-image:hover:not(.zoomed)::after {
    opacity: .7
}

.lightbox-image.zoomed {
    cursor: zoom-out;
    transform: scale(1.5);
    transition: transform .3s ease;
    max-width: none;
    max-height: none
}

.lightbox-image.loading {
    opacity: .5;
    filter: blur(5px);
    transition: opacity .3s ease, filter .3s ease
}

.lightbox-title {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(163, 67, 67, .95);
    color: #fff;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10002
}

.lightbox-close {
    position: fixed;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: rgba(163, 67, 67, .95);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .3)
}

.lightbox-close:hover {
    background: var(--red);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .4)
}

.lightbox-prev, .lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(163, 67, 67, .8);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .3)
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--red);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .4)
}

.lightbox-prev {
    left: 25px
}

.lightbox-next {
    right: 25px
}

.lightbox-counter {
    position: fixed;
    top: 25px;
    left: 25px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    background: rgba(0, 0, 0, .5);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px)
}

.lightbox-thumbnails {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, .7);
    border-radius: 30px;
    max-width: 90%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--red) rgba(0, 0, 0, .3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .3)
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 6px
}

.lightbox-thumbnails::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .2);
    border-radius: 3px
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 3px
}

.lightbox-thumbnails::-webkit-scrollbar-thumb:hover {
    background: #c55c5c
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid transparent;
    opacity: .6;
    transition: all .3s ease;
    flex-shrink: 0
}

.thumbnail:hover {
    opacity: .9;
    transform: scale(1.05)
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--red);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(163, 67, 67, .4)
}

.call-form {
    display: flex;
    align-items: center;
}

.call-form .order-call-link {
    margin-left: .5rem;
}

header .main-menu ul li .submenu {
    top: 18px;
}	

@media (max-width: 1286px) {
    .red-banner {
        bottom: -16.25rem;
    }
}

@media (max-width: 1140px) {
    .close-popup {
        top: -3.125rem
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem
    }

    .hero {
        padding: 3.125rem 1.25rem
    }

    .hero h1, .big-header {
        font-size: 2.25rem
    }

    .stage-content {
        grid-template-columns:1fr;
        gap: 2.5rem
    }

    .stage-text-top {
        max-width: 100%
    }

    .stage-num {
        font-size: 5rem;
        margin-right: 2.5rem
    }

    .stage-text-main {
        padding-top: 3.75rem;
        margin: 0 !important
    }

    .stage-image__right .stage-img, .stage-image__left .stage-img {
        padding: 0;
        margin-top: 1.875rem;
        display: flex;
        justify-content: center
    }

    .stage-image__right .stage-img::after, .stage-image__left .stage-img::before {
        display: none
    }

    .container-consult, .container-contact {
        grid-template-columns:1fr;
        gap: 1.875rem;
        padding: 2.5rem 2.5rem;
        text-align: center
    }

    .consult-image, .contact-image {
        margin-bottom: 2.5rem
    }

    .consult-links, .contact-links {
        padding: 0;
        justify-content: center;
        gap: 2.5rem;
        max-width: 18.75rem;
        margin: 0 auto
    }

    .consult-text, .contact-text {
        padding-right: 0;
        margin-bottom: 2.5rem
    }

    .steps-list {
        grid-template-columns:repeat(3, 1fr);
        gap: 1.875rem
    }

    .double-banner {
        margin-bottom: 15rem
    }

    .beige-banner {
        padding: 3rem 2.5rem 8rem
    }

    .beige-banner-parts span {
        font-size: 3rem;
        text-align: center
    }

    .red-banner {
        bottom: -18.25rem;
        left: 0;
        grid-template-columns:1fr;
        text-align: center;
        padding: 1.875rem 2.5rem;
        gap: 2.5rem;
        width: 100%
    }

    .red-banner-text {
        font-size: 1.8rem;
        line-height: 2.2rem
    }

    .beige-banner-text {
        grid-template-columns:1fr;
        gap: 1.875rem;
        margin-top: 2.5rem
    }

    .container-guarantee {
        grid-template-columns:1fr;
        padding: 1.875rem 2.5rem;
        text-align: center;
        gap: 1.875rem
    }

    .guarantee-image {
        order: -1
    }

    .videos {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 2.5rem
    }

    .videos iframe {
        width: 100%;
        height: 25rem
    }

    .lightbox-content {
        padding: 30px 15px 80px
    }

    .lightbox-image-container {
        min-height: 50vh
    }

    .lightbox-image {
        max-width: 85vw;
        max-height: 70vh
    }

    .lightbox-image.portrait {
        max-height: 75vh;
        max-width: calc(85vw - 80px)
    }

    .lightbox-image.landscape {
        max-width: 85vw;
        max-height: 65vh
    }

    .lightbox-image.square {
        max-width: min(70vh, 70vw);
        max-height: min(70vh, 70vw)
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 28px
    }

    .lightbox-prev, .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 24px
    }

    .lightbox-prev {
        left: 15px
    }

    .lightbox-next {
        right: 15px
    }

    .lightbox-title {
        font-size: 14px;
        padding: 8px 20px;
        bottom: -45px
    }

    .thumbnail {
        width: 70px;
        height: 50px
    }

    .steps-list {
        grid-template-columns:repeat(2, 1fr);
        gap: 20px
    }

    .steps-list > :last-child:nth-child(odd) {
        grid-column: 1/-1;
        justify-self: center;
        max-width: 50%
    }

    .step::before {
        display: none
    }

    .gallery-slider-wrapper {
        padding: 0 20px;
    }

    .examples-slider-prev {
        left: -40px;
    }

    .examples-slider-next {
        right: -40px;
    }

    .slick-examples .example-card {
        margin-bottom: 20px;
    }

    .slick-examples .slick-track {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 2.5rem;
    }

    .hero h1, .big-header {
        font-size: 1.8rem
    }

    .big-header-steps {
        font-size: 3rem
    }

    .h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem
    }

    .stage-title {
        font-size: 1.2rem
    }

    .stage-text p {
        font-size: 16px
    }

    .stage:not(:first-child) {
        margin: 3.75rem 0
    }

    .section-stage {
        margin-top: 4rem
    }

    .slick-examples .example-card img {
        height: 15.625rem
    }

    .stage-image__left .stage-content {
        margin-top: 1rem
    }

    .stage-image__right .stage-content {
        display: flex;
        flex-direction: column-reverse
    }

    .stage-text-main {
        padding-top: .5rem
    }

    .consult-image, .contact-image {
        display: none
    }

    .container-consult, .container-contact {
        gap: .7rem
    }

    .container-consult p, .container-contact p {
        font-size: 2.1rem
    }

    .steps-list {
        grid-template-columns:repeat(2, 1fr)
    }

    .videos iframe {
        height: 18.75rem
    }

    .beige-banner-parts {
        display: grid;
        grid-template-columns:1fr auto auto 1fr;
        justify-content: center;
        align-items: center;
        gap: 20px
    }

    .beige-banner-parts__left {
        grid-column: 2
    }

    .beige-banner-parts__right {
        grid-column: 3
    }

    .beige-banner-parts__center {
        grid-column: 1/-1;
        grid-row: 2
    }

    .beige-banner-parts__center {
        order: -1
    }

    .beige-banner-parts span {
        font-size: 2.5rem
    }

    .red-banner-years__number {
        font-size: 8rem;
        line-height: 7rem
    }

    .red-banner-years__text {
        font-size: 5rem;
        line-height: 6rem
    }

    .gallery-slider-wrapper .slider-prev,
    .gallery-slider-wrapper .slider-next {
        display: none !important
    }

    .gallery-slider-wrapper {
        padding: 0 15px;
    }

    .gallery-slide img {
        height: 20rem;
    }

    .lightbox-content {
        padding: 20px 10px 70px
    }

    .lightbox-image-container {
        min-height: 40vh
    }

    .lightbox-image {
        max-width: 80vw;
        max-height: 60vh
    }

    .lightbox-image.portrait {
        max-height: 65vh;
        max-width: calc(80vw - 60px)
    }

    .lightbox-image.landscape {
        max-width: 80vw;
        max-height: 55vh
    }

    .lightbox-image.square {
        max-width: min(60vh, 60vw);
        max-height: min(60vh, 60vw)
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px
    }

    .lightbox-prev, .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 20px
    }

    .lightbox-prev {
        left: 10px
    }

    .lightbox-next {
        right: 10px
    }

    .lightbox-title {
        font-size: 13px;
        padding: 6px 16px;
        bottom: -40px;
        max-width: 90%
    }

    .lightbox-thumbnails {
        padding: 10px 15px;
        border-radius: 20px;
        bottom: 15px
    }

    .thumbnail {
        width: 60px;
        height: 45px
    }

    .lightbox-counter {
        top: 15px;
        left: 15px;
        font-size: 14px;
        padding: 6px 12px
    }

    .section-consult,
    .section-contact {
        margin-top: 4rem
    }

    .section-examples {
        padding-top: 4rem
    }

    .section-guarantee {
        margin-top: 4rem
    }

    .section-steps {
        margin-top: 5rem
    }

    .section-videos {
        margin-top: 4rem
    }

    .stage-title br, .red-banner-text br, .consult-text br, .contact-text br, .big-header br {
        display: none
    }

    .slick-examples {
        margin: 0 -10px;
    }

    .slick-examples .slick-slide {
        padding: 0 10px;
    }

    .slick-examples .slick-list {
        padding: 15px 0;
    }

    .examples-slider-prev,
    .examples-slider-next {
        display: none !important;
    }

    .slick-examples .example-card {
        margin-bottom: 15px;
    }

    .slick-examples .example-card p {
        padding: 1.2rem 1.2rem 2rem;
    }

    .slick-examples .slick-track {
        gap: 20px;
    }
}

@media (min-height: 1200px) and (max-width: 1024px) {
    .hero {
        padding: 6.25rem 2.5rem
    }

    .step-circle {
        width: 150px;
        height: 150px;
        font-size: 5rem
    }

    .stage-num {
        font-size: 6rem
    }
}

@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi) {
    .stage-image__right .stage-img::after, .stage-image__left .stage-img::before {
        background-size: cover
    }
}

@media (max-width: 640px) {
    .hero h1, .big-header {
        font-size: 1.5rem;
        line-height: 1.3
    }

    .red-banner {
        bottom: -16.25rem
    }

    .steps-list {
        max-width: 100%;
        padding: 1.5rem;
        grid-template-columns:1fr
    }

    .step {
        display: flex;
        align-items: flex-start;
        gap: 15px
    }

    .step-circle {
        width: 90px;
        height: 90px;
        min-width: 90px;
        font-size: 2.875rem;
        margin: 0;
        flex-shrink: 0
    }

    .steps-list > :last-child:nth-child(odd) {
        grid-column: inherit;
        justify-self: left;
        max-width: 100%
    }

    .step-text {
        font-size: 1.125rem;
        text-align: left;
        margin: 0
    }

    .gallery-slider-wrapper {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero h1, .big-header {
        font-size: 1.5rem
    }

    .big-header-steps {
        font-size: 2.5rem
    }

    .steps-subtitle {
        font-size: 1.2rem;
        padding: 0 2.5rem
    }

    .step-circle {
        width: 6.25rem;
        height: 6.25rem;
        font-size: 3.5rem
    }

    .step-text {
        padding: 1rem 10px
    }

    .stage-num {
        font-size: 4rem
    }

    .consult-text p, .contact-text p {
        font-size: 1.5rem;
        line-height: 1.8rem
    }

    .h2 {
        font-size: 1.5rem;
    }

    .beige-banner-parts span {
        font-size: 1.8rem;
    }

    .beige-banner {
        padding: 3rem .8rem 8.5rem;
    }

    .red-banner-text {
        font-size: 1.5rem;
        line-height: 1.8rem
    }

    .red-banner-years__number {
        font-size: 6rem;
        line-height: 5rem
    }

    .red-banner-years__text {
        font-size: 4rem;
        line-height: 5rem
    }

    .videos iframe {
        height: 18.75rem;
        max-width: 100%
    }

    .stage-text-main p {
        margin-bottom: 2.5rem;
        font-size: 15px
    }

    .stage-text .highlighted {
        padding-left: 15px
    }

    .beige-banner-text__item {
        font-size: .95rem
    }

    .lightbox-content {
        padding: 15px 5px 60px
    }

    .lightbox-image-container {
        min-height: 30vh
    }

    .lightbox-image {
        max-width: 90vw;
        max-height: 50vh
    }

    .lightbox-image.portrait {
        max-height: 55vh;
        max-width: calc(90vw - 40px)
    }

    .lightbox-image.landscape {
        max-width: 90vw;
        max-height: 45vh
    }

    .lightbox-image.square {
        max-width: min(50vh, 50vw);
        max-height: min(50vh, 50vw)
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px
    }

    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 18px
    }

    .lightbox-prev {
        left: 5px
    }

    .lightbox-next {
        right: 5px
    }

    .lightbox-title {
        font-size: 12px;
        padding: 5px 12px;
        bottom: -35px
    }

    .lightbox-thumbnails {
        padding: 8px 12px;
        border-radius: 15px;
        bottom: 10px;
        gap: 6px
    }

    .thumbnail {
        width: 50px;
        height: 35px
    }

    .lightbox-counter {
        display: none
    }

    .slick-examples .example-card p {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .gallery-slider-wrapper {
        padding: 0 5px;
    }

    .slick-examples {
        margin: 0 -8px;
    }

    .slick-examples .slick-slide {
        padding: 0 8px;
    }

    .slick-examples .slick-list {
        padding: 10px 0;
    }

    .slick-examples .example-card {
        margin-bottom: 12px;
    }

    .slick-examples .example-card p {
        padding: 1rem 1rem 1.5rem;
    }

    .slick-examples .slick-track {
        gap: 15px;
    }

}

@media (max-width: 360px) {
    .hero h1, .big-header {
        font-size: 1.5rem
    }

    .big-header-steps {
        font-size: 2rem
    }

    .step-circle {
        width: 5rem;
        height: 5rem;
        font-size: 2.8rem
    }

    .consult-links, .contact-links {
        grid-template-columns:repeat(3, 3.75rem);
        gap: 10px
    }

    .consult-text p, .contact-text p {
        font-size: 1rem;
        line-height: 1.2rem;
        word-break: break-all;
    }

    .h2 {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }

    .red-banner-years__number {
        font-size: 5rem;
        line-height: 4rem
    }

    .red-banner-years__text {
        font-size: 3rem;
        line-height: 4rem
    }

    .videos iframe {
        height: 15.625rem
    }

    .beige-banner-parts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .beige-banner-parts__left,
    .beige-banner-parts__center,
    .beige-banner-parts__right {
        grid-column: 1;
    }

    .beige-banner-parts__center {
        grid-row: 3;
    }

    .beige-banner-parts__left {
        grid-row: 1;
    }

    .beige-banner-parts__right {
        grid-row: 2;
    }
}

@media (max-width: 768px) {
    .lightbox-image-container {
        min-height: 50vh
    }

    .lightbox-thumbnails {
        bottom: 60px
    }
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-list:focus {
    outline: none;
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
}

.slick-track:before,
.slick-track:after {
    display: table;
    content: '';
}

.slick-track:after {
    clear: both;
}

.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}

.slick-slide img {
    display: block;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-loading .slick-slide {
    visibility: hidden;
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
    display: none;
}

.gallery-slider .slick-list {
    margin: 0 !important;
    padding: 0 !important;
}