* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background: url("../images/backgr.jpg") no-repeat center center fixed;
    background-size: cover;
    background-color: rgb(83, 83, 83);
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

body.modal-open {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.813);
    z-index: -1;
}

.glass-effect {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    background: rgba(81, 177, 255, 0.103);
    box-shadow: 0 0 10px #ffffff,
        0 0 25px #00bfff,
        0 0 40px #0077ff;
}

header {
    background: rgba(37, 35, 35, 0.92);
    width: 100%;
    height: 170px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
    padding: 10px 40px;
    position: relative;
    z-index: 10;
    border-radius: 0 0 34px 34px;
}

.Selection {
    color: #3e98ff;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 200px;
    padding-bottom: 25px;
}

.header-logo-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin-right: 250px;
    padding-bottom: 25px;
}

.header-right .phone {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease, transform 0.3s ease;
}

.header-right .phone:hover {
    background-color: 0 0 10px #ffffff, 0 0 25px #00bfff, 0 0 40px #0077ff;
    transform: scale(1.05);
    color: #b0d5ff;
}

.header-right .work-time {
    font-size: 0.9rem;
    color: #ddd;
    margin: 0;
}

.header-center {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 110px;
    margin-right: 255px;
}

.header-center a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.2s;
    padding: 6px 12px;
    border-radius: 30px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.header-center a:hover {
    box-shadow: 0 0 10px #ffffff, 0 0 25px #00bfff, 0 0 40px #0077ff;
    transform: scale(1.05);
}

.main {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto;
}

.main-top {
    min-height: 80vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding: 0 150px;
    position: relative;
}

.main-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 50%;
    color: #fff;
    margin-left: 100px;
}

.main-title h1 {
    font-size: 3.2rem;
    margin-bottom: 24px;
    color: #ffffff;
}

.main-title h2 {
    font-size: 2rem;
    margin-bottom: 32px;
    color: #fff;
}

.main-advantages-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.main-advantages-icons figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    color: #fff;
}

.main-advantages-icons .icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

.main-advantages-icons img {
    max-width: 60%;
    padding: 6px;
}

.main-advantages-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.main-advantages-icons figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    color: #fff;
}

.main-advantages-icons .icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-advantages-icons .icon-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.main-advantages-icons figcaption {
    font-size: 1.3rem;
    color: #fff;
    text-align: center;
    margin-top: 8px;
}


.main-advantages-icons figcaption {
    font-size: 1.3rem;
    color: #fff;
    text-align: center;
}

.main-image {
    flex: 0 0 340px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.main-image img {
    height: 600px;
}

.services-title {
    text-align: center;
    padding: 60px 20px 40px;
}

.services-title h2 {
    font-size: 2.2rem;
    color: #fff;
    margin: 0;
}

.main-container {
    padding: 40px 20px;
    margin: 24px;
    border-radius: 34px;
    overflow: hidden;
}

#price-list h2.price-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
}

#price-list p {
    font-size: 1.5rem;
    color: #ccc;
    text-align: center;
    margin-bottom: 30px;
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.price-cards {
    display: flex;
    justify-content: center;
    gap: 200px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* карточка */
.price-card {
    position: relative;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.872);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 12px rgba(0, 119, 255, 0.4);
    width: 320px;
    height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 0 18px #ffffff,
        0 0 25px #00bfff,
        0 0 40px #0077ff;
}

.price-card h3 {
    font-size: 1.4rem;
    color: #000000;
    margin: 0;
    font-weight: bolder;
}

.price-card button {
    position: relative;
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 1rem;
    background: linear-gradient(90deg, #0078ff, #00bfff);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px #00bfff, 0 0 16px #0077ff;
    z-index: 2;
}

.price-card button:hover {
    box-shadow: 0 0 10px #ffffffb1,
        0 0 20px #00bfff72,
        0 0 35px #0077ff38;
    transform: scale(1.08);
}

.price-card::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 160px;
    height: 160px;
    background: url('../images/repair_icon.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
}


.table-wrapper {
    box-sizing: border-box;
    max-width: 100%;
    margin: 40px auto;
    border-radius: 20px;
    padding: 25px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.872);
    border: 1px solid rgba(255, 255, 255, 0.18);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease, opacity 0.6s ease;
}

.table-wrapper.active {
    opacity: 1;
    max-height: none;
    overflow: visible;
}

.table-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.table-header h3 {
    font-size: 1.8rem;
    color: #000000;
    font-weight: bold;
    text-align: center;
}

.table-header button {
    position: absolute;
    right: 0;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #b3caff;
    transition: 0.3s;
}

.table-header button:hover {
    color: #ff1919;
}

.table-container {
    overflow: visible;
    max-height: none;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
}

.table-container th {
    background: #0077ff;
    color: #ffffff;
    font-weight: bold;
    padding: 14px;
    text-align: left;
    font-size: 1.5rem;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.table-container td {
    padding: 12px 16px;
    color: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.table-container tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.06);
}

.table-container tr:hover td {
    background: rgba(37, 76, 120, 0.388);
    color: #fff;
    transition: 0.3s;
}

.wa_batton {
    position: relative;
    background-color: #0078ff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 250px;
    margin: 0 auto 70px;
    border-radius: 30px;
    height: 70px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 10px #5ea9ff8f, 0 0 30px #4a9eff;
    overflow: visible;
    z-index: 1;
    font-size: 1.2rem;
}

.wa_batton:hover {
    box-shadow: 0 0 10px #ffffff, 0 0 25px #00bfff, 0 0 40px #0077ff;
    transform: scale(1.05);
} 

/* .wa_batton:hover {
    background-color: #ff0000;
    box-shadow: 0 0 10px #ffffff, 0 0 25px #ff0000, 0 0 40px #ff1e00;
    transform: scale(1.05);
} */

.wa_batton::before,
.wa_batton::after {
    content: '';
    position: absolute;
    top: 50%;
    width: max(300px, 38vw);
    height: 2px;
    background-color: #0077ffa9;
    box-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff;
    transform: translateY(-50%);
    pointer-events: none;
}

.wa_batton::before {
    right: 100%;
    margin-right: 40px;
}

.wa_batton::after {
    left: 100%;
    margin-left: 40px;
}

#our-advantages {
    margin-top: 20px;
    text-align: center;
}

#our-advantages h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
}

.our-advantages-item {
    display: inline-block;
    vertical-align: top;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 30px 25px;
    width: 320px;
    height: 300px;
    /* фиксированная высота */
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    box-sizing: border-box;
}


.our-advantages-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.our-advantages-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.our-advantages-item img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.our-advantages-item h3 {
    font-size: 1.4rem;
    margin: 0;
    color: #fff;
}

.our-advantages-item p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
    color: #ddd;
}

.reviews {
    margin-top: 60px;
    padding-bottom: 60px;
    text-align: center;
}

.reviews h2 {
    font-size: 2rem;
    color: #fff;
}

.reviews-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto 50px;
    padding: 0 60px;
    box-sizing: border-box;
    overflow: visible;
}

.reviews-carousel {
    display: flex;
    justify-content: flex-start;
    overflow: hidden;
    gap: 30px;
    width: 100%;
    padding: 40px 0;
    position: relative;
}

.review-card {
    flex: 0 0 350px;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px;
    text-align: left;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 0 10px #ffffff, 0 0 25px #00bfff, 0 0 40px #0077ff;
    opacity: 0.5;
}

.review-card.active {
    transform: scale(1.05);
    opacity: 1;
    z-index: 1;
    box-shadow: 0 0 10px #ffffff, 0 0 20px #00bfff, 0 0 30px #0077ff;
}

.reviews-wrapper::before {
    left: 0;
    -webkit-backdrop-filter: blur(155px);
    backdrop-filter: blur(150px);
}

.review-author {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #b3caff;
}

.review-text {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #ddd;
}

.review-date {
    font-size: 0.9rem;
    color: #aaa;
}

.review-stars {
    margin-top: 8px;
    color: gold;
    font-size: 1.1rem;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    box-shadow: 0 0 10px #ffffff, 0 0 25px #00bfff, 0 0 40px #0077ff;
    transform: scale(0.9.05);
}

.carousel-prev {
    left: -70px;
}

.carousel-next {
    right: -70px;
}

.add-review-btn {
    all: unset;
    position: relative;
    background-color: #0078ff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 220px;
    margin: 0 auto 0;
    border-radius: 30px;
    height: 70px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 10px #5ea9ff8f, 0 0 30px #4a9eff;
    overflow: visible;
    z-index: 1;
    border: none;
    cursor: pointer;
    padding: 0 20px;
    font-size: 1.2rem;
}

.add-review-btn:hover {
    box-shadow: 0 0 10px #ffffff, 0 0 25px #00bfff, 0 0 40px #0077ff;
    transform: scale(1.05);
}

.add-review-btn::before,
.add-review-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    width: max(300px, 38vw);
    height: 2px;
    background-color: #0077ffa9;
    box-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff;
    transform: translateY(-50%);
    pointer-events: none;
}

.add-review-btn::before {
    right: 100%;
    margin-right: 40px;
}

.add-review-btn::after {
    left: 100%;
    margin-left: 40px;
}

/* === МОДАЛЬНОЕ ОКНО === */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    position: relative;
    background: rgba(20, 20, 20, 0.9);
    border-radius: 20px;
    padding: 20px;
    max-width: 500px;
    color: #fff;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 0 15px #ffffff, 0 0 25px #00bfff, 0 0 40px #0077ff;
}

.modal-content h3 {
    margin-bottom: 15px;
}

.modal-content label {
    display: block;
    margin: 10px 0 5px;
    font-size: 0.95rem;
    color: #b3caff;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: none;
    margin-bottom: 12px;
    font-family: inherit;
}

.modal-content textarea {
    resize: vertical;
    min-height: 80px;
}

.star-rating {
    display: flex;
    gap: 5px;
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 15px;
}

.star-rating span {
    color: #ccc;
    transition: color 0.2s;
}

.star-rating span.active {
    color: gold;
}

.modal-content button[type="submit"] {
    background: #0078ff;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.modal-content button[type="submit"]:hover {
    box-shadow: 0 0 10px #ffffff, 0 0 20px #00bfff, 0 0 30px #0077ff;
    transform: scale(1.05);
}

.modal .close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #fff;
}

#steps-to-repair {
    text-align: center;
}

#steps-to-repair h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
}

.steps-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.steps-image {
    width: 100%;
    height: auto;
    display: block;
}

.steps-texts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0px;
    margin-top: 15px;
}

.steps-texts h3 {
    font-size: 1.2rem;
    color: #ddd;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}


footer {
    background: rgba(37, 35, 35, 0.92);
    color: #fff;
    padding: 40px 20px 20px;
    border-radius: 34px 34px 0 0;
}

.footer-container {
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    gap: 12px;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.footer-left p {
    font-size: 1rem;
    color: #ccc;
    margin: 0;
    line-height: 1.4;
}

.footer-left span {
    font-size: 0.9rem;
    color: #aaa;
    display: block;
    margin-top: 10px;
}

.footer-right-group {
    display: flex;
    gap: 40px;
}

.footer-contacts {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 350px;
}

.footer-contacts h2,
#footer-map h2 {
    color: #b3caff;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.footer-contacts a {
    color: #b3caff;
    text-decoration: none;
}

.footer-contacts a:hover {
    text-decoration: underline;
}

.mas_icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin: 0 6px 0 0;
}

#footer-map {
    max-width: 350px;
}

#footer-map h2 {
    text-align: center;
}

#footer-map .map-container {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 0 10px #ffffff, 0 0 25px #00bfff, 0 0 40px #0077ff;
}

#footer-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

@media (max-width: 1200px) {
    .main-top {
        min-height: 70vh;
    }

    .main-advantages-icons figure figcaption {
        display: none;
    }

    .header-left {
        margin-left: 50px;
    }

    .header-right {
        margin-right: 50px;
        text-align: center;
    }

    .header-center {
        margin-right: 0;
        gap: 20px;
    }

    .main-top {
        padding: 0 60px;
        gap: 30px;
    }

    .price-cards {
        gap: 60px;
        justify-content: flex-start;
    }

}

@media (max-width: 992px) {
    header {
        height: auto;
        padding: 20px;
    }

    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .header-left {
        margin-left: 0;
        padding-bottom: 0;
    }

    .header-right {
        order: 2;
        margin: 3px 0;
        text-align: center;
    }

    .header-center {
        order: 3;
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-top {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
        gap: 25px;
        height: auto;
        text-align: center;
    }

    .main-title {
        max-width: 100%;
        margin-left: 0;
    }

    .main-title h1 {
        font-size: 2.1rem;
    }

    .main-title h2 {
        font-size: 1.8rem;
        text-align: left;
    }

    .main-advantages-icons {
        height: 100px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .main-advantages-icons figure {
        width: 90px;
    }

    .main-advantages-icons figure figcaption {
        display: none;
    }

    .main-advantages-icons .icon-box {
        width: 65px;
        height: 65px;
    }

    .main-image {
        display: none;
    }

    .price-cards {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    .price-card {
        flex: 1 1 280px;
        max-width: 350px;
        min-height: 200px;
        padding: 20px;
        box-sizing: border-box;
    }

    .our-advantages-item {
        max-width: 300px;
        padding: 20px;
    }

    .our-advantages-item h3 {
        font-size: 1.2rem;
    }

    .our-advantages-item p {
        font-size: 0.9rem;
    }

    .review-card {
        flex: 0 0 40%;
        min-width: 150px;
    }

    .steps-texts {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-right-group {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .footer-contacts,
    #footer-map {
        max-width: 100%;
    }

    #footer-map {
        width: 75%;
    }

    #footer-map h2 {
        text-align: center;
    }
}

@media (max-width: 850px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-right-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .footer-contacts,
    #footer-map {
        max-width: 100%;
    }

    #footer-map {
        width: 50%;
    }

    #footer-map h2 {
        text-align: center;
    }
}


@media (max-width: 768px) {
    .main-title h1 {
        font-size: 1.6rem;
    }

    .main-title h2 {
        font-size: 1.1rem;
    }

    .main-advantages-icons figure {
        width: 70px;
        ;
    }

    .main-advantages-icons figure figcaption {
        display: none;
    }

    .steps-texts {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .reviews-wrapper {
        padding: 0 20px;
    }

    .review-card {
        flex: 0 0 70%;
        margin: 0 auto;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        border: none;
    }

    thead {
        display: none;
    }

    tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        overflow: hidden;
        box-sizing: border-box;
    }

    td {
        display: flex;
        justify-content: space-between;
        padding: 8px;
        font-size: 0.95rem;
        border-bottom: 1px solid #ddd;
        word-wrap: break-word;
        word-break: break-word;
        white-space: normal;
        max-width: 100%;
        box-sizing: border-box;
    }

    td::before {
        content: attr(data-label);
        font-weight: bold;
        margin-right: 10px;
        flex-shrink: 0;
    }

    th {
        display: none;
    }

    tr td:last-child {
        border-bottom: none;
    }

    .carousel-prev {
        left: -25px;
        font-size: 1.5rem;
    }

    .carousel-next {
        right: -25px;
        font-size: 1.5rem;
    }

    .our-advantages-item {
        margin-left: 6.5px;
        max-width: 275px;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 1rem;
    }

    .header-right .phone {
        font-size: 1.2rem;
    }

    .header-center a {
        font-size: 0.9rem;
        padding: 6px 8px;
    }

    .main-title h1 {
        font-size: 1.4rem;
    }

    .main-title h2 {
        font-size: 1rem;
    }

    .main-advantages-icons {
        height: 80px;
        gap: 5px;
    }

    .main-advantages-icons figure figcaption {
        display: none;
    }

    .price-card {
        width: 100%;
        height: auto;
    }

    .steps-texts {
        grid-template-columns: 1fr;
    }

    .review-card {
        flex: 0 0 90%;
        font-size: 0.9rem;
    }

    .wa_batton,
    .add-review-btn {
        max-width: 90%;
        font-size: 1rem;
        height: 60px;
    }

    .carousel-prev {
        left: -20px;
    }

    .carousel-next {
        right: -20px;
    }

    .our-advantages-item {
        max-width: 100%;
        width: 100%;
        padding: 15px;
    }

        .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-right-group {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .footer-contacts,
    #footer-map {
        max-width: 100%;
    }

    #footer-map {
        width: 75%;
    }

    #footer-map h2 {
        text-align: center;
    }
}