@font-face {
    font-family: 'Gotham Pro-Black';
    src: url('../fonts/GothamPro-Black.woff2') format('woff2'),
         url('../fonts/GothamPro-Black.woff') format('woff'),
         url('../fonts/GothamPro-Black.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gotham Pro';
    src: url('../fonts/GothamPro.woff2') format('woff2'),
         url('../fonts/GothamPro.woff') format('woff'),
         url('../fonts/GothamPro.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Gotham Pro', sans-serif;
}


* {
margin: 0;
padding: 0;

}

input, a, p {
    font-family: 'Gotham Pro', sans-serif;
}

.scroll-btn {
        display: flex;
        box-shadow: 13px 0px 20px 0px rgba(9, 1, 33, 0.25);
        background: linear-gradient(190deg, rgba(70, 65, 166, 1), rgba(26.99, 25.06, 64, 1) 100%);
        color: rgba(255, 255, 255, 1);
        font-family: 'Gotham Pro-Black', sans-serif;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        text-transform: uppercase;
    }


@media(min-width: 700px){
    .scroll-btn {
        position: fixed;
        left: -174px;
        top: 30%;
        z-index: 1000;
        transform: rotate(-90.00deg);
        width: 448px;
        height: 104px;
        font-size: 48px;
        font-weight: 700;
        line-height: 152%;
        border-radius: 0px 0px 69px 69px;

    }
    
}

/* Мобільні: спочатку звичайна кнопка в блоці */
@media(max-width: 699px){
    .scroll-btn {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        width: 380px;
        display: flex;
        height: 66px;
        font-size: 34px;
        font-weight: 700;
        line-height: 152%;
        border-radius: 69px 69px 0px 0px ;
        justify-content: center;
        align-items: center;
        text-decoration: none;
    }
    
    .scroll-btn.stopped {
        position: absolute; /* відкріпляється */
    }
}

#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}




.toast {
    padding: 15px 25px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    min-width: 250px;
    text-align: center;
    opacity: 0;
    animation: fadein 0.5s forwards, fadeout 0.5s 4.5s forwards;
}

/* Стилі для success/error/info */
.toast.success { background-color: #4caf50; } /* зелений */
.toast.error { background-color: #f44336; }   /* червоний */
.toast.info { background-color: #2196f3; }    /* синій */

/* Анімації */
@keyframes fadein {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(0%) translateY(0); }
}

@keyframes fadeout {
    from { opacity: 1; }
    to { opacity: 0; }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 40px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

/* Картинка всередині */
.modal-content {
    display: block;
    margin: auto; /* горизонтальне центрування */
    max-width: 90%; /* не виходить за межі екрану */
    max-height: 85%; /* не виходить за межі екрану */
    border-radius: 8px;
}

/* Для дуже маленьких екранів (мобільних) */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 80%;
    }
}

/* Х (закрити) */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}
.zoomable {
    cursor: zoom-in;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}


.heater-image {
    display: flex;
}

.heater-image img {
    width: 100%;
}

.main-heater-text {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
}


.main-heater-text h2{
    background: linear-gradient(90deg, rgba(22,10,79,1), rgba(110,112,225,1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* для підтримки у Firefox */
    background-clip: text;
    color: transparent;
    font-family: 'Gotham Pro-Black', sans-serif;

    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
}

.main-heater-text p {
    color: rgba(4, 2, 18, 1);
    font-family: 'Gotham Pro', sans-serif;
    font-weight: 400;
    line-height: 218%;
    letter-spacing: 0%;
    text-align: left;
}

.our-spec-content h2, .why-content h2{
    color: rgba(255, 255, 255, 1);
    font-family: 'Gotham Pro-Black', sans-serif;

    font-weight: 700;
    line-height: 94%;
    text-transform: uppercase;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;

}





.our-spec-content {
    background: url(../img/our_spec.png) no-repeat center / cover;
    padding: 46px 0;
}



#o-one {
    background:
        linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,0) 50%),
        url(../img/s_parquet.png) no-repeat;
    background-size:
        cover,
        cover;
    background-position:
        center,                  /* позиція для ГРАДІЄНТА */
        center calc(50% - 28px); /* позиція для ЗОБРАЖЕННЯ */
}

#o-two {
         background:
        linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,0) 50%),
        url(../img/s_doors.png) no-repeat;
    background-size:
        cover,
        cover;
    background-position:
        center,                  /* позиція для ГРАДІЄНТА */
        center calc(50% - 28px); /* позиція для ЗОБРАЖЕННЯ */
}

#o-three {
     background:
        linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,0) 50%),
        url(../img/s_molding.png) no-repeat;
    background-size:
        cover,
        cover;
    background-position:
        center,                  /* позиція для ГРАДІЄНТА */
        center calc(50% - 28px); /* позиція для ЗОБРАЖЕННЯ */
}

#o-four {
     background:
        linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,0) 50%),
        url(../img/s_wall_panels.png) no-repeat;
    background-size:
        cover,
        cover;
    background-position:
        center,                  /* позиція для ГРАДІЄНТА */
        center calc(50% - 28px); /* позиція для ЗОБРАЖЕННЯ */
}
#o-five {
     background:
        linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 25%, rgba(255,255,255,0) 50%),
        url(../img/s_elements.png) no-repeat;
    background-size:
        cover,
        cover;
    background-position:
        center,                  /* позиція для ГРАДІЄНТА */
        center calc(50% - 28px); /* позиція для ЗОБРАЖЕННЯ */
}





.why-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}




.why-g-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

}

.why-grid-block-main-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1220px;
    gap: 44px;
    justify-content: center;

}



.why-grid-block-container {
    border-radius: 30px;
    background: rgba(255, 255, 255, 1);
}

.why-g-content span {
    color: rgba(22, 10, 79, 1);
    font-family: 'Gotham Pro', sans-serif;
    font-weight: 700;
    line-height: 152%;
    text-align: center;
    width: 85%;
}

.portfolio h2 {
    background: linear-gradient(90deg, rgba(22, 10, 79, 1), rgba(110, 112, 225, 1));
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: 'Gotham Pro-Black', sans-serif;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    padding: 32px 0;
}

.galery-main-text h2 {
    background: linear-gradient(90deg, rgba(22, 10, 79, 1), rgba(110, 112, 225, 1));
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: 'Gotham Pro-Black', sans-serif;
    font-size: 60px;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
}

.galery-main-text p {
    color: rgba(13, 13, 13, 1);
    font-family: 'Gotham Pro', sans-serif;
    font-weight: 400;
    line-height: 218%;
    text-align: left;
    max-width: 414px;
}


.gallery {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}





.gallery-main.t img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px 187px 0px 0px;
}

.gallery-thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}



.thumbs {
    display: flex;
    gap: 8px;
    transition: transform 0.3s ease;
}

.thumb {

    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
}

.thumb.active {
    opacity: 1;
    transform: scale(1.05);
}

.thumb-btn {
    border: none;
    border-radius: 81px;
    background: rgba(90, 92, 191, 1);
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    bottom: 12px;
}







.galery-main-text {
    display: flex;
    flex-direction: column;
    gap: 51px;
    max-width: 520px;
}

.input-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}



.contact-container h2 {
    background: linear-gradient(90deg, rgba(22, 10, 79, 1), rgba(110, 112, 225, 1));
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: 'Gotham Pro-Black', sans-serif;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    padding: 24px 0;
}


form {
    display: flex;
    flex-direction: column;
}

.send-btn {
    border-radius: 64px;
    background: var(--text, linear-gradient(90.00deg, rgba(22, 10, 79, 1), rgba(110, 112, 225, 1) 100%));
    border: none;
    height: 43px;
    color: rgba(255, 255, 255, 1);
    font-family: 'Gotham Pro', sans-serif;
    font-size: 22px;
    margin: 24px 0;
}

.input-wrap input:focus {
    border-color: #6655ff;
    outline: none;
}

.input-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    fill: #777;
}

.portfolio-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1200px;
}





.contact-container {
    box-shadow: 18px 18px 23px 0px rgba(0, 0, 0, 0.38);
    background: rgba(255, 255, 255, 0.84);
    display: flex;
    flex-direction: column;
    align-items: center;v
}

.checkbox-wrap input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

/* Контейнер */
.checkbox-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-transform: uppercase;
}

/* Стилізований чекбокс */
.checkbox-wrap .custom-checkbox {
    width: 25px;
    height: 25px;
    border: 1px solid rgba(90, 92, 191, 1);
    border-radius: 5px;
    background: rgba(217, 217, 217, 1);
    display: inline-block;
    transition: 0.2s;
    position: relative;
    
}

/* Галочка */
.checkbox-wrap input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "";
    width: 13px;
    height: 13px;
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(90, 92, 191, 1);
    border-radius: 3px;
}

.contact-us {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 82px 0;
    background: url(../img/get-in-touch.png) no-repeat center / cover;
}

.footer {
    background: rgba(0, 0, 0, 1);
    display: flex;
    justify-content: space-around;
    padding: 30px 0;
    color: white;
    text-align: right;
    align-items: center;
    font-family: 'Gotham Pro', sans-serif;
    font-size: 19px;
    text-transform: uppercase;
    font-weight: 400;
}

/* Ховер ефект */
.checkbox-wrap:hover .custom-checkbox {
    background: #e5e5e5;
}






@media (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media (min-width: 700px){
.container{
    max-width: 920px;
}

.main-heater-text {
 padding: 90px 0;
}

.our-spec-content h2{
    text-align: left;
    font-size: 59px;
    width: 800px;
}

.o-s-g-content span {
    padding: 27px;
    color: rgba(48, 50, 124, 1);
    font-family: 'Gotham Pro', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 94%;
    text-align: left;
}

.o-s-g-content {
    width: 205px;
    height: 314px;
    border-radius: 30px;
    box-shadow: 0px 23px 41px 0px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
    display: flex;
    align-items: flex-end;
}

.top-p{
    padding-top: 52px;
}

.our-spec-grid-block-container {
    display: flex;
    gap: 18px;
    padding: 46px 50px;
    justify-content: center;
}

.main-heater-text h2, .portfolio h2{
    font-size: 90px;
}

.main-heater-text p, .galery-main-text p{
    font-size: 20px;
}

.galery-main-block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    align-items: center;
    padding: 60px 0;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 187px 0px 0px 0px;
}

.thumb {
    width: 132px;
    height: 132px;
}

.gallery-main {
    width: 750px;
    height: 526px;
    margin: 0 auto 20px;
    position: relative;
}

.why-content h2{
    text-align: right;
    padding-top: 90px;
    font-size: 90px;
    width: 1200px;
}

.portfolio-item img {
    width: 280px;
    height: 220px;
}

.thumbs-wrapper {
    width: 560px; /* 4 картинки × 132px + прогалини */
    overflow: hidden;
}

.next {
    right: 50px;
}
.prev {
    left: 50px;
}

.thumb-btn {
    width: 80px;
    height: 80px;
 }

 .input-wrap input {
    width: 304px;
    padding: 12px 14px 12px 44px;
    font-size: 15px;
    border: 1px solid rgba(100, 102, 212, 1);
    border-radius: 134px;
    background: rgba(208, 207, 207, 1);
}

.input-message {
    border: 1px solid rgba(100, 102, 212, 1);
    border-radius: 18px;
    background: rgba(208, 207, 207, 1);
    width: 331px;
    padding: 12px 14px 12px 16px;
    font-size: 15px;
}

.contact-container h2 {
    font-size: 43px;
}


.contact-container {
    width: 424px;
    height: 538px;
    border-radius: 47px;
}

.pc-hide {
    display: none;
}

.why-g-content span{
    font-size: 25px;
}

.why-g-content {
    width: 232px;
    height: 309px;
    gap: 23px;
    padding: 20px;
}

.why-choose-us-block{
    background: url(../img/why_choose-us.png) no-repeat center / cover;
    padding: 46px 0;
}

.why-grid-block-main-container{
    padding: 90px 0;
}

}




@media (min-width: 320px) and  (max-width: 699px){

.mob-hide {
    display: none;
}

.mob-reverse{
    flex-direction: column !important;
}

.pc-hide {
    background: linear-gradient(90deg, rgba(22, 10, 79, 1), rgba(110, 112, 225, 1));
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: 'Gotham Pro-Black', sans-serif;
    font-size: 32px;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    padding: 0 25px 29px;
}

.our-spec-content h2{
    text-align: left;
    width: 230px;
}

.o-s-g-content span {
    padding: 16px;
    color: rgba(48, 50, 124, 1);
    font-family: 'Gotham Pro', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 94%;
    text-align: left;
}

.o-s-g-content {
    width: 122px;
    height: 186px;
    border-radius: 30px;
    box-shadow: 0px 23px 41px 0px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 1);
    display: flex;
    align-items: flex-end;
}

.our-spec-grid-block-container {
    display: flex;
    gap: 18px;
    padding: 46px 50px 10px;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.main-heater-text h2, .why-content h2, .portfolio h2{
    font-size: 34px;
    padding: 0 25px;
}

.main-heater-text p, .galery-main-text p{
    font-size: 12px;
    padding: 0 25px;
}

.galery-main-block {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;

    align-items: center;
    padding: 27px 0;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 187px 0px 0px 0px;
}

.thumb {
    width: 57px;
    height: 59px;
}

.gallery-main {
    width: 100%;
    height: 320px;
    margin: 0 auto 20px;
    position: relative;
}

.portfolio-item img {
    width: 140px;
    height: 94px;
}

.thumbs-wrapper {
    width: 320px; /* 4 картинки × 132px + прогалини */
    overflow: hidden;
}

.next {
    right: 20px;
}
.prev {
    left: 20px;
}

.thumb-btn {

    width: 63px;
    height: 62px;
 }

 .input-wrap input {
    width: 238px;
    padding: 12px 14px 12px 44px;
    font-size: 15px;
    border: 1px solid rgba(100, 102, 212, 1);
    border-radius: 134px;
    background: rgba(208, 207, 207, 1);
}

.input-message {
    border: 1px solid rgba(100, 102, 212, 1);
    border-radius: 18px;
    background: rgba(208, 207, 207, 1);
    width: 268px;
    padding: 12px 14px 12px 16px;
    font-size: 15px;
    font-family: 'Gotham Pro', sans-serif;
}

.contact-container h2 {
    font-size: 24px;
}

.contact-container {
    width: 349px;
    height: 493px;
    border-radius: 17px;
}

.why-g-content span{
    font-size: 12px;
}

.why-g-content {
    width: 112px;
    height: 150px;
    gap: 13px;
    padding: 16px 10px;
}

.why-g-content svg {
    width: 70px;
}

.why-choose-us-block{
    background: url(../img/why_choose-us-mob.png) no-repeat center / cover;
    padding-top: 62px;
}

.why-grid-block-main-container{
    padding: 60px 0;
}

.portfolio h2 {
   padding: 25px;

}

.main-heater-text {
 padding: 60px 0;
}



}