html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background-color: black;
    font-family: Arial, sans-serif;
}

.header {
    margin: 2px;
    width: calc(100% - 4px);
    box-sizing: border-box;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    

    background-color: black;

    box-shadow: 0 2px 10px rgba(0,0,0,0.08);

    position: sticky;
    top: 0;

    z-index: 1000;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 63px;
    height: 63px;

    object-fit: cover;
    border-radius: 12px;
}

.brand-text h1 {
    font-size: 16px;
    
    color: white;
    font-family: 'Montserrat';
font-weight: 700;
letter-spacing: 1px;
}

.brand-text p {
    font-family: 'Montserrat';
font-weight: 700;
letter-spacing: 1px;
    font-size: 15px;
    color: orangered;
   
    margin-top: -7px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-button {
    background: none;
    border: none;

    font-size: 20px;
    color: white;

    cursor: pointer;

    padding: 2px;

    transition: 0.2s;
}

.icon-button:hover {
    opacity: 0.6;
}

.icon-button:active {
    transform: scale(0.92);
}









/*  Меню три полоски⬇️  */
.menu {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background: #222;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 20px;

    z-index: 2000;

    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);

    transition: 0.25s ease;
}

.menu:target {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.menu a {
    text-decoration: none;
    font-size: 22px;
    color: white;
}

.close {
    position: absolute;
    top: 30px;
    right: 15px;

    font-size: 28px;
}
/*  Меню три полоски⬆️  */






.hero{
    position: relative;

    background:
        
        url("bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero {
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 0 20px;

    text-align: center;
}

.hero-logo {
    width: 320px;
    max-width: 85%;
    margin-bottom: 40px;

    filter: drop-shadow(0 0 25px rgba(255, 80, 80, 0.25));
}

.hero h2 {
    color: white;

    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;

    margin-bottom: 25px;
}

.hero-services {
    color: #b8b8b8;

    font-size: 20px;
    font-weight: 300;

    line-height: 1.7;

    margin-bottom: 25px;
}

.hero-description {
    color: white;

    font-size: 24px;
    font-weight: 500;

    opacity: 0.95;
}

@media (max-width: 768px) {

    .hero {
        margin-top: 40px;
    }

    .hero-logo {
        width: 240px;
    }

    .hero h2 {
        font-size: 31px;
    }

    .hero-services {
        font-size: 16px;
    }

    .hero-description {
        font-size: 18px;
    }
}

.hero{
    position: relative;
    padding-bottom: 70px;
}

.hero-contact-btn{
    min-width: 260px;
height: 58px;

font-size: 16px;

padding: 0 28px;
    position: absolute;

    left: 50%;
    bottom: -35px;

    transform: translateX(-50%);

    z-index: 50;

    

    border: none;
    border-radius: 999px;

    cursor: pointer;

    
    font-weight: 700;
    color: #fff;

    background: linear-gradient(
        180deg,
        #ff4d4d,
        #d50000
    );

    box-shadow:
        0 0 12px rgba(255,0,0,.7),
        0 0 30px rgba(255,0,0,.5),
        0 0 60px rgba(255,0,0,.3);

    transition: .3s;
}

.hero-contact-btn:hover{
    transform: translateX(-50%) scale(1.05);

    box-shadow:
        0 0 20px rgba(255,0,0,.9),
        0 0 40px rgba(255,0,0,.7),
        0 0 80px rgba(255,0,0,.4);
}










/* КНОПКА */

.contact-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;

    width: 70px;
    height: 70px;

    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #b30000,
        #ff3b3b
    );

    box-shadow:
        0 10px 30px rgba(255,0,0,.4);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    overflow: hidden;

    transition: .4s;
}

.contact-float:hover{
    transform: scale(1.08);
}

/* Пульсация */

.contact-float::before{
    content:"";
    position:absolute;
    inset:-5px;
    border-radius:50px;
    border:2px solid rgba(255,255,255,.4);

    animation:pulse 2s infinite;
}

@keyframes pulse{
    0%{
        transform:scale(1);
        opacity:1;
    }
    100%{
        transform:scale(1.4);
        opacity:0;
    }
}

/* Иконка */








.services-button-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.services-btn {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.services-btn:hover {
    transform: scale(1.05) !important;
}
.contact-icon{
    font-size:30px;

    animation:phoneShake 1.5s infinite;
}

@keyframes phoneShake{
    0%,100%{
        transform:rotate(0deg);
    }

    20%{
        transform:rotate(-15deg);
    }

    40%{
        transform:rotate(15deg);
    }

    60%{
        transform:rotate(-10deg);
    }

    80%{
        transform:rotate(10deg);
    }
}

/* Текст */

.contact-text{
    display:none;

    color:white;
    font-weight:700;
    font-size:14px;

    padding:0 15px;
    text-align:center;
    white-space:nowrap;
}

.contact-float.show-text{
    width:190px;
}

.contact-float.show-text .contact-icon{
    display:none;
}

.contact-float.show-text .contact-text{
    display:block;
}

/* МОДАЛЬНОЕ ОКНО */

.contact-modal{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.65);

    display:flex;
    align-items:center;
    justify-content:center;

    opacity:0;
    visibility:hidden;

    transition:.4s;

    z-index:10000;
    pointer-events: none;
}

.contact-modal.active{
    opacity:1;
    visibility:visible;
    pointer-events: auto;
}

.contact-modal-content{

    background:white;

    width:90%;
    max-width:450px;

    padding:40px;

    border-radius:20px;

    text-align:center;

    transform:translateY(40px);

    transition:.4s;
}

.contact-modal.active .contact-modal-content{
    transform:translateY(0);
}

.contact-close{
    position:absolute;
    margin-top:-20px;
    margin-left:170px;

    border:none;
    background:none;

    font-size:24px;
    cursor:pointer;
}

.phone-number{
    font-size:28px;
    font-weight:700;
    color:#b30000;

    margin:25px 0;
}

.call-btn{
    display:inline-block;

    background:#b30000;
    color:white;

    text-decoration:none;

    padding:15px 30px;
    border-radius:12px;

    transition:.3s;
}

.call-btn:hover{
    background:#d90000;
}







/* ===== НАШИ УСЛУГИ ===== */

.services{
    max-width:1200px;
    margin:100px auto 80px;
    padding:0 20px;
}

.services-title{
    color:white;
    text-align:center;

    font-size:42px;
    font-weight:700;

    margin-bottom:40px;
}

.services-grid{
    display:grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap:25px;
}

.service-card{
    position:relative;

    height:240px;

    border-radius:24px;

    overflow:hidden;

    background-size:cover;
    background-position:center;

    cursor:pointer;

    transition:.35s;
}

.service-card:hover{
    transform:translateY(-8px);
}

.service-overlay{
    position:absolute;
    inset:0;

    background:rgba(0,0,0,.55);

    transition:.35s;
}

.service-card:hover .service-overlay{
    background:rgba(0,0,0,.25);
}

.service-name{
    position: absolute;

    top: 35%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 100%;

    text-align: center;

    color: white;

    font-size: 28px;
    font-weight: 700;

    padding: 0 20px;

    z-index: 2;

    pointer-events: none;
}


.service-price{
    position:absolute;
    left:15px;
    right:15px;
    bottom:30px;

    z-index:2;

    text-align:center;

    padding:12px;

   color: orangered;

    font-size:22px;
    font-weight:700;

    

   
}
@media(max-width:768px){

    .services-title{
        font-size:32px;
    }

    .service-card{
        height:180px;
    }

    .service-name{
        font-size:22px;
    }
}



/* FAQ */

.faq-section {
    max-width: 900px;
    margin: 90px auto;
    padding: 0 20px;
}

.faq-title {
    text-align: center;
    color: white;
    font-size: 38px;
    margin-bottom: 35px;
    font-weight: 700;
}

.faq-item {
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    margin-bottom: 18px;
    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0,0,0,0.35);

    transition: 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 69, 0, 0.3);
}

.faq-item.active {
    border-color: rgba(255, 69, 0, 0.35);

    box-shadow:
        0 0 15px rgba(255, 69, 0, 0.12);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;

    position: relative;

    padding: 22px 95px 22px 25px;

    color: white;
    font-size: 18px;
    font-weight: 600;

    text-align: left;
    line-height: 1.4;

    cursor: pointer;
}

.faq-question span {
    position: absolute;
    right: 25px;
    top: 50%;

    transform: translateY(-50%);

 color: #ff2d2d;
font-size: 28px;
    font-weight: 700;

    transition: 0.3s;
}





.faq-answer {
    max-height: 0;
    overflow: hidden;

    padding: 0 28px;

    color: #b8b8b8;
    font-size: 17px;
    line-height: 1.7;

    transition:
        max-height 0.4s ease,
        padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 0 28px 25px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

@media (max-width: 768px) {

    .faq-title {
        font-size: 30px;
    }

    .faq-question {
        font-size: 17px;
        padding: 20px 70px 20px 20px;
    }

    .faq-answer {
        font-size: 15px;
    }

}












/* ОТЗЫВЫ */
.hidden-review {
    display: none;
    opacity: 0;
}

.hidden-review.show {
    display: block;
    opacity: 1;
    animation: reviewFade .3s ease;
}

@keyframes reviewFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.show-reviews-btn {
    width: 100%;

    margin-top: 5px;

    padding: 13px;

    

    border-radius: 20px;

    background: linear-gradient(
        135deg,
        #b30000,
        #ff3b3b
    );

    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    border: 1px solid rgba(255,255,255,.08);

    transition: .3s;
}

.show-reviews-btn:hover {
    border-color: rgba(255,0,0,.3);

    box-shadow:
        0 0 15px rgba(255,0,0,.1);
}


.reviews-section {
    max-width: 900px;
    margin: 90px auto;
    padding: 0 20px;
}

.reviews-title {
    text-align: center;
    color: white;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 35px;
}

.review-form {
    background: #0d0d0d;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 25px;

    padding: 25px;

    margin-bottom: 35px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.4);
}

.review-form textarea {
    width: 100%;
    min-height: 140px;

    resize: vertical;

    border: none;
    outline: none;

    border-radius: 18px;

    background: #161616;

    color: white;

    padding: 20px;

    font-size: 16px;

    box-sizing: border-box;
}

.review-form textarea::placeholder {
    color: #777;
}

.review-button {
    margin-top: 20px;

    border: none;

    border-radius: 50px;

    padding: 18px 40px;

    background: linear-gradient(
        135deg,
        #b30000,
        #ff3b3b
    );

    color: white;

    font-size: 17px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 0 20px rgba(255,0,0,.4);

    transition: .3s;
}

.review-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 30px rgba(255,0,0,.6);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: #111;

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 22px;

    padding: 25px;

    transition: .3s;

    box-shadow:
        0 10px 25px rgba(0,0,0,.3);
}

.review-card:hover {
    border-color: rgba(255,0,0,.25);

    box-shadow:
        0 0 15px rgba(255,0,0,.08);
}

.review-name {
    color: white;

    font-size: 20px;

    font-weight: 700;

    margin-bottom: 15px;
}

.review-text {
    color: #b7b7b7;

    line-height: 1.8;

    white-space: pre-line;
}
.review-form input {
    width: 100%;

    height: 55px;

    border: none;
    outline: none;

    border-radius: 18px;

    background: #161616;

    color: white;

    padding: 0 20px;

    font-size: 16px;

    box-sizing: border-box;

    margin-bottom: 15px;
}

.review-form input::placeholder {
    color: #777;
}
@media (max-width: 768px) {

    .reviews-title {
        font-size: 30px;
    }

    .review-card {
        padding: 20px;
    }

    .review-name {
        font-size: 18px;
    }

    .review-text {
        font-size: 15px;
    }

    .review-button {
        width: 100%;
    }

}


.success-modal {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.45);

    display: flex;

    align-items: center;
    justify-content: center;

    opacity: 0;

    pointer-events: none;

    transition: 0.25s;
}

.success-modal.show {
    opacity: 1;

    pointer-events: auto;
}

.success-box {
    background: white;

    padding: 28px;

    border-radius: 24px;

    max-width: 420px;

    width: calc(100% - 40px);

    text-align: center;
}

.success-box h2 {
    margin-top: 0;

    margin-bottom: 12px;
}

.success-box p {
    margin-bottom: 10px;

    font-size: 18px;
}

.success-box span {
    display: block;

    color: #666;

    margin-bottom: 22px;
}

.success-box button {
    background-color: orangered;

    color: white;

    border: none;

    border-radius: 14px;

    padding: 12px 20px;

    cursor: pointer;
}










.end-section {
    position: relative;
    margin-top: 100px;

    /* background: linear-gradient(
        135deg,
        #b30000,
        #ff3b3b
    ); */

    background:
        
        url("bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    padding: 10px 30px 80px;

    text-align: center;

    overflow: visible;
} 



.end-top {
    position: absolute;

    top: -120px;
    left: 50%;

    transform: translateX(-50%);

    width: 220%;
    height: 180px;

    

    border-radius: 0 0 50% 50%;

    z-index: 1;
}

.end-content {
    position: relative;
    z-index: 2;
}

.end-content h2 {
    color: #fff;
    font-size: 52px;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 35px;
}

.end-content p {
    color: rgba(255,255,255,.95);
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 50px;
}

.end-phone {
    display: inline-block;
    color: white;
    font-size: 32px;
    font-weight: 700;
    text-decoration: underline;
    margin-bottom: 70px;
}

.end-phone:hover {
    opacity: .8;
}

.end-city {
    font-size: 70px;
    font-weight: 900;
    letter-spacing: 12px;
    color: rgba(255, 255, 255, 0.41);
}

@media (max-width:768px) {

    .end-top {
        width: 100%;
        height: 14px;
        top: -90px;
    }

    .end-content h2 {
        font-size: 30px;
        letter-spacing: 4px;
    }

    .end-content p {
        font-size: 18px;
    }

    .end-phone {
        font-size: 28px;
    }

    .end-city {
        font-size: 48px;
        letter-spacing: 8px;
    }
}







.lang-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lang-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.lang-box button {
    margin: 10px;
    padding: 12px 24px;
    cursor: pointer;
}