*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

.section_title {
    font-size: 40px;
}

.badge {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
    color: #000000;
    background: #FFD700;
    font-size: 24px;
    font-weight: 700;
}

.section_title span {
    color: #FFD700;
}

a {
    text-decoration: none;
    color: inherit;
}

*:focus {
    outline: 2px solid #FFD700;
}

#prefernces .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    gap: 30px;
}

h4.text {
    max-width: 300px;
}

.preferences {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 600;
    background-color: #1a1a1a;
    min-height: 100vh;
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1rem;
}

.container--wide {
    max-width: 1440px;
}

.container--narrow {
    max-width: 768px;
}

header {
    background-color: #000000;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    padding-block: 1rem;
    position: fixed;
    width: 100%;
    z-index: 100;
    border-bottom: 2px solid #FFD700;
}

section {
    margin-bottom: 5%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header__nav ul {
    display: flex;
    gap: 1.5rem;
}

.header__nav a {
    font-weight: 500;
    transition: color 0.2s ease;
    color: #ffffff;
}

.header__nav a:hover {
    color: #FFD700;
}

/* Стили для контактов в header */
.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.header__contacts-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.header__phone:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.header__phone i {
    font-size: 1.1em;
}

.header__whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.3em;
    transition: all 0.3s ease;
}

.header__whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px) scale(1.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .header__phone span {
        display: none;
    }

    .header__phone {
        width: 45px;
        height: 45px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

footer {
    background-color: #000000;
    color: white;
    padding-block: 2rem;
    margin-top: auto;
    border-top: 2px solid #FFD700;
}

.footer__logo {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer__nav ul {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.footer__copyright {
    font-size: 0.875rem;
    color: #808080;
}

.bg_img {
    width: 100%;
    height: 100vh;
    align-content: center;
    background-size: cover;
    background-position: center;
    padding-block: 4rem;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)),
    url("../assets/imgs/maxresdefault.jpg");
    background-repeat: no-repeat;
}

.bodyheader_title {
    margin-bottom: 15%;
    color: white;
}

.bodyheader_title h1 {
    margin-bottom: 5%;
    font-weight: 700;
    font-size: 48px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.bodyheader_title h4 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

#bodyHeader .container {
    display: flex;
    gap: 5%;
    justify-content: center;
    flex-direction: column;
}

.bodyheader_button {
    align-self: center;
}

.bodyheader_button a {
    padding: 15px 30px;
    font-size: 20px;
    color: #000000;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
    background: #FFD700;
    display: inline-block;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.bodyheader_button a:hover {
    background: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Новые стили для галереи-карусели */
.gallery {
    max-width: 900px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.gallery__main {
    display: none;
}

.gallery__thumbs {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
    align-items: center;
}

.gallery__thumbs img {
    min-width: 280px;
    height: 200px;
    object-fit: cover;
    border: 3px solid #2a2a2a;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
}

.gallery__thumbs img:hover {
    border-color: #FFD700;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.gallery__thumbs img.active {
    border-color: #FFD700;
    border-width: 4px;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.9);
    color: #000000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    font-weight: bold;
}

.gallery-arrow:hover {
    background: #FFC700;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.gallery-arrow.prev {
    left: 10px;
}

.gallery-arrow.next {
    right: 10px;
}

/* Модальное окно для полноэкранного просмотра */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 3px solid #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #FFD700;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
    transition: all 0.3s;
}

.gallery-modal-close:hover {
    color: #FFC700;
    transform: scale(1.2);
}

#additional_services {
    background: #000000;
    color: white;
    border-top: 2px solid #FFD700;
    border-bottom: 2px solid #FFD700;
}

#additional_services .container {
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.services_title {
    font-size: 40px;
    margin-bottom: 5%;
    color: #FFD700;
}

.services_item {
    padding: 10px 15px;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
    background: #2a2a2a;
    color: white;
    transition: all 0.3s ease;
}

.services_item:hover {
    background: #3a3a3a;
    transform: translateX(5px);
}

.additional_services {
    display: flex;
    flex-direction: column;
    align-self: center;
}

.services_items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 280px;
}

.services_item:nth-child(2), .services_item:nth-child(3) {
    background: #FFD700;
    color: #000000;
    font-weight: 700;
}

.services_item:nth-child(2):hover, .services_item:nth-child(3):hover {
    background: #FFC700;
}

#glass_remove .container {
    display: flex;
    gap: 5%;
}

.container .text {
    display: flex;
    flex-direction: column;
    gap: 5%;
}

.advantages-block {
    margin: 40px 0 50px;
    padding: 0 20px;
}

.advantages-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 25px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.advantage-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.advantage-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.advantage-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.advantages-cta {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-top: 40px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .advantages-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .advantage-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .advantage-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .advantage-content h4 {
        font-size: 18px;
    }

    .advantage-content p {
        font-size: 15px;
    }

    .advantages-cta {
        font-size: 16px;
        padding: 15px;
    }
}

.text .text__title {
    font-size: 36px;
    color: #FFD700;
}

.text .text__content {
    font-weight: 400;
    font-size: 16px;
    color: #cccccc;
}

.text .text__button {
    padding: 10px 15px;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
    background: #FFD700;
    color: #000000;
    align-self: end;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
}

.text .text__button:hover {
    background: #FFC700;
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

#some_facts {
    background: #000000;
    color: white;
    padding: 30px 0;
    border-top: 2px solid #FFD700;
    border-bottom: 2px solid #FFD700;
}

#some_facts .container {
    display: flex;
    flex-direction: column;
    align-content: center;
}

#some_facts .section_title h1 {
    color: #000000;
}

.facts_items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.facts_item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #FFD700;
    transition: all 0.3s ease;
}

.facts_item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.facts_item .icon {
    width: 50px;
    height: 50px;
}

.facts_item h3 {
    font-weight: 400;
    color: #cccccc;
}

#order_call {
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    padding: 30px 0;
}

#order_call .section_title {
    color: #000000;
    margin-bottom: 5%;
}

#order_call .container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.form_inputs button {
    padding: 10px 15px;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
    background: #000000;
    color: #FFD700;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.form_inputs button:hover {
    background: #1a1a1a;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.form_inputs input[type=text] {
    border: none;
    border-bottom: 2px solid #000000;
    background: transparent;
    color: #000000;
    padding-bottom: 5px;
    padding-left: 4px;
    width: 40%;
    margin-bottom: 3%;
    font-size: 20px;
    font-weight: 600;
}

.form_inputs input::placeholder {
    color: #333333;
    font-size: 16px;
}

.footer {
    background-color: #000000;
    color: #fff;
    padding-block: 3rem;
    font-family: 'Segoe UI', sans-serif;
}

.footer__contacts {
    flex: 0 0 300px;
}

.footer__contacts h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    color: #FFD700;
}

.contact-item {
    margin-bottom: 2rem;
    padding-left: 10px;
    border-left: 3px solid #FFD700;
}

.contact-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
    color: #FFD700;
}

.contact-item p {
    margin: 0.25rem 0;
    color: #ccc;
}

.phone {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    color: #FFD700;
    text-decoration: none;
    margin: 0.5rem 0;
}

.service-images-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.service-images-grid .service-image {
    flex: 1;
    min-width: 250px;
}

.phone:hover {
    text-decoration: underline;
    color: #FFC700;
}

.btn-copy {
    background: none;
    border: 1px solid #FFD700;
    cursor: pointer;
    font-size: 1rem;
    color: #FFD700;
    margin-left: 0.5rem;
    transition: all 0.2s;
    padding: 2px 8px;
    border-radius: 4px;
}

.btn-copy:hover {
    background: #FFD700;
    color: #000000;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1a1a1a;
    color: #FFD700;
    font-size: 1.2rem;
    transition: all 0.2s;
    border: 2px solid #FFD700;
}

.social-icons a:hover {
    background-color: #FFD700;
    color: #000000;
    transform: scale(1.1);
}

.footer__map {
    flex: 1;
    min-width: 400px;
    border-radius: 8px;
    border: 2px solid #FFD700;
}

.footer__map iframe {
    border-radius: 8px;
}

.footer__credits {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #808080;
}

.footer__credits a {
    color: #FFD700;
    text-decoration: none;
}

.footer__credits a:hover {
    text-decoration: underline;
    color: #FFC700;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/* АДАПТИВНОСТЬ */

/* Планшеты */
@media (max-width: 992px) {
    .section_title {
        font-size: 32px;
    }

    .bodyheader_title h1 {
        font-size: 36px;
    }

    .bodyheader_title h4 {
        font-size: 20px;
    }

    .preferences {
        flex-wrap: wrap;
        gap: 30px;
    }

    .preferences__item {
        flex: 1 1 45%;
        background: #1a1a1a;
        padding: 20px;
        border-radius: 8px;
        border-left: 4px solid #FFD700;
    }

    #additional_services .container {
        flex-direction: column;
        gap: 30px;
    }

    #additional_services img {
        width: 100% !important;
        max-width: 500px;
        align-self: center;
    }

    .services_title {
        font-size: 32px;
    }

    #glass_remove .container {
        flex-direction: column;
    }

    #glass_remove img {
        max-width: 100% !important;
    }

    .text .text__title {
        font-size: 28px;
    }

    .gallery__thumbs img {
        min-width: 220px;
        height: 160px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .header__nav ul {
        gap: 1rem;
        font-size: 14px;
    }

    .header__logo {
        font-size: 1.2rem;
    }

    .section_title {
        font-size: 24px;
        text-align: center;
    }

    .badge {
        font-size: 18px;
        padding: 15px 10px;
    }

    .bg_img {
        height: auto;
        min-height: 60vh;
        padding-block: 2rem;
    }

    .bodyheader_title {
        margin-bottom: 10%;
    }

    .bodyheader_title h1 {
        font-size: 28px;
        margin-bottom: 8%;
    }

    .bodyheader_title h4 {
        font-size: 18px;
    }

    .bodyheader_button a {
        padding: 12px 24px;
        font-size: 16px;
    }

    .preferences {
        flex-direction: column;
    }

    .preferences__item {
        width: 100%;
        background: #1a1a1a;
        padding: 20px;
        border-radius: 8px;
        border-left: 4px solid #FFD700;
    }

    h4.text {
        max-width: 100%;
    }

    .services_title {
        font-size: 24px;
        text-align: center;
    }

    .services_items {
        max-width: 100%;
        justify-content: center;
    }

    .text .text__title {
        font-size: 24px;
    }

    .text .text__content {
        font-size: 14px;
    }

    .text .text__button {
        align-self: center;
    }

    .facts_items {
        grid-template-columns: 1fr;
    }

    .form_inputs .inputs {
        flex-direction: column !important;
        gap: 15px;
    }

    .form_inputs input[type=text] {
        width: 100% !important;
    }

    .footer__content {
        flex-direction: column;
        gap: 30px;
    }

    .footer__contacts {
        flex: auto;
        width: 100%;
    }

    .footer__map {
        width: 100%;
        min-width: auto;
        height: 300px;
    }

    .footer__contacts h2 {
        font-size: 1.5rem;
    }

    .gallery {
        margin: 1rem auto;
    }

    .gallery__thumbs img {
        min-width: 200px;
        height: 140px;
    }

    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .container {
        padding-inline: 0.75rem;
    }

    .header__nav ul {
        gap: 0.5rem;
        font-size: 12px;
    }

    .header__logo {
        font-size: 1rem;
    }

    .section_title {
        font-size: 20px;
    }

    .bodyheader_title h1 {
        font-size: 22px;
    }

    .bodyheader_title h4 {
        font-size: 16px;
    }

    .bodyheader_button a {
        padding: 10px 20px;
        font-size: 14px;
    }

    .badge {
        font-size: 16px;
        clip-path: polygon(0 0, 98% 0, 100% 100%, 2% 100%);
    }

    .services_item {
        clip-path: polygon(0 0, 97% 0, 100% 100%, 3% 100%);
    }

    .text .text__button {
        clip-path: polygon(0 0, 97% 0, 100% 100%, 3% 100%);
    }

    .form_inputs button {
        clip-path: polygon(0 0, 97% 0, 100% 100%, 3% 100%);
    }

    .gallery__thumbs img {
        min-width: 160px;
        height: 120px;
    }

    .gallery-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .gallery-arrow.prev {
        left: 5px;
    }

    .gallery-arrow.next {
        right: 5px;
    }
}

/* СТИЛИ ДЛЯ СЕРВИСНЫХ СТРАНИЦ */

.service-page {
    padding: 60px 0;
    background: #1a1a1a;
}

.service-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.service-content--reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-title {
    font-size: 42px;
    color: #FFD700;
    margin: 30px 0;
    font-weight: 700;
    line-height: 1.2;
}

.service-description {
    color: #cccccc;
}

.service-description p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
}

.service-description h3 {
    color: #FFD700;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-list {
    list-style: none;
    margin-bottom: 25px;
}

.service-list li {
    padding: 10px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.service-list li:hover {
    padding-left: 10px;
    border-left: 3px solid #FFD700;
}

.service-list i {
    color: #FFD700;
    font-size: 18px;
    min-width: 20px;
}

.service-image {
    flex: 1;
    position: relative;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 3px solid #FFD700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    color: #000000;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.service-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding: 20px;
    background: #000000;
    border-left: 4px solid #FFD700;
    border-radius: 8px;
}

.price-label {
    font-size: 18px;
    color: #cccccc;
}

.price-value {
    font-size: 36px;
    color: #FFD700;
    font-weight: 700;
}

/* ФОРМА */
#service_form {
    padding: 80px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #2a2a2a;
    padding: 50px;
    border-radius: 12px;
    border: 2px solid #FFD700;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
}

.form-title {
    font-size: 32px;
    color: #FFD700;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.form-subtitle {
    text-align: center;
    color: #cccccc;
    margin-bottom: 40px;
    font-size: 16px;
}

.service-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 15px 20px;
    background: #1a1a1a;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #FFD700;
    outline: none;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #808080;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

.form-submit {
    padding: 18px 40px;
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    color: #000000;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.form-submit:active {
    transform: translateY(0);
}

.form-privacy {
    text-align: center;
    font-size: 12px;
    color: #808080;
    margin-top: 15px;
}

/* АДАПТИВНОСТЬ ДЛЯ СЕРВИСНЫХ СТРАНИЦ */

@media (max-width: 992px) {
    .service-content {
        gap: 40px;
    }

    .service-title {
        font-size: 36px;
    }

    .service-description h3 {
        font-size: 22px;
    }

    .form-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .service-page {
        padding: 40px 0;
    }

    .service-content,
    .service-content--reverse {
        flex-direction: column;
    }

    .service-title {
        font-size: 28px;
        text-align: center;
    }

    .service-description h3 {
        font-size: 20px;
    }

    .service-description p {
        font-size: 14px;
    }

    .service-list li {
        font-size: 14px;
    }

    .price-value {
        font-size: 28px;
    }

    .image-badge {
        font-size: 12px;
        padding: 10px 20px;
        bottom: 10px;
        left: 10px;
    }

    #service_form {
        padding: 60px 0;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 26px;
    }

    .form-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service-page {
        padding: 30px 0;
    }

    .service-title {
        font-size: 24px;
    }

    .service-description h3 {
        font-size: 18px;
    }

    .service-description p {
        font-size: 13px;
    }

    .service-list li {
        font-size: 13px;
        padding: 8px 0;
    }

    .service-price {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .price-value {
        font-size: 24px;
    }

    .form-wrapper {
        padding: 25px 15px;
    }

    .form-title {
        font-size: 22px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 15px;
        font-size: 14px;
    }

    .form-submit {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* Universal Carousel Styles */
.universal-carousel {
    position: relative;
    margin-top: 60px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.universal-carousel .carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin: 0 auto;
}

.universal-carousel .carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.universal-carousel .carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 450px;
    height: 320px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.universal-carousel .carousel-item.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 3;
    pointer-events: auto;
}

.universal-carousel .carousel-item.prev {
    opacity: 0.4;
    transform: translate(-130%, -50%) scale(0.85);
    z-index: 2;
    filter: brightness(0.7);
}

.universal-carousel .carousel-item.next {
    opacity: 0.4;
    transform: translate(30%, -50%) scale(0.85);
    z-index: 2;
    filter: brightness(0.7);
}

.universal-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
}

.universal-carousel .carousel-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.universal-carousel .prev-btn {
    left: 10%;
}

.universal-carousel .next-btn {
    right: 10%;
}

.universal-carousel .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.universal-carousel .carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.universal-carousel .carousel-dot.active {
    background: #667eea;
    width: 30px;
    border-radius: 6px;
}

/* Testimonial specific styles */
.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.author-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.rating-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.rating {
    background: #FFD700;
    color: #333;
    padding: 5px 12px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.stars {
    color: #FFD700;
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    flex: 1;
}

/* Gallery specific styles */
.gallery-item-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-item-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

/* Gallery specific styles - override carousel-item for galleries */
#work_gallery .carousel-item,
#place_gallery .carousel-item {
    background: transparent;
    padding: 0;
    box-shadow: none;
    width: 500px;
    height: 450px;
}

.gallery-item-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    cursor: pointer;
    padding: 10px;
}

.gallery-item-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.gallery-item-content:hover img {
    transform: scale(1.05);
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Neon yellow glow for gallery images - subtle version */
.gallery-item-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow:
            0 0 5px rgba(255, 215, 0, 0.6),
            0 0 10px rgba(255, 215, 0, 0.4),
            0 0 15px rgba(255, 215, 0, 0.2),
            0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 215, 0, 0.8);
}

.gallery-item-content:hover img {
    transform: scale(1.05);
    box-shadow:
            0 0 8px rgba(255, 215, 0, 0.8),
            0 0 12px rgba(255, 215, 0, 0.5),
            0 0 18px rgba(255, 215, 0, 0.3),
            0 8px 25px rgba(0,0,0,0.4);
    border-color: rgba(255, 215, 0, 1);
}

.universal-carousel .carousel-item.active .gallery-item-content img {
    box-shadow:
            0 0 8px rgba(255, 215, 0, 0.7),
            0 0 12px rgba(255, 215, 0, 0.4),
            0 0 16px rgba(255, 215, 0, 0.2),
            0 5px 20px rgba(0,0,0,0.3);
}

/* Apply gallery styles to certificates section too */
#certifitcates .carousel-item {
    background: transparent;
    padding: 0;
    box-shadow: none;
    width: 500px;
    height: 450px;
}

/* Mobile Version */
/* ============================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ============================================ */

@media (max-width: 968px) {
    /* Header */
    header .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header__nav {
        order: 3;
        width: 100%;
    }

    .header__nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .header__nav a {
        font-size: 14px;
        padding: 8px 12px;
        background: #2a2a2a;
        border-radius: 5px;
    }

    /* Главный экран */
    .bg_img {
        height: 70vh;
        padding-block: 2rem;
    }

    .bodyheader_title h1 {
        font-size: 28px;
    }

    .bodyheader_title h4 {
        font-size: 16px;
    }

    .bodyheader_button a {
        padding: 12px 25px;
        font-size: 16px;
    }

    /* Секции */
    section {
        margin-bottom: 10%;
    }

    .section_title {
        font-size: 26px;
        text-align: center;
        margin-bottom: 30px;
    }

    /* Преимущества */
    .preferences {
        flex-direction: column;
        gap: 25px;
    }

    .preferences__item {
        text-align: center;
    }

    .preferences__item .title {
        font-size: 24px;
    }

    h4.text {
        max-width: 100%;
    }

    .badge {
        font-size: 16px;
        padding: 15px 10px;
        text-align: center;
    }

    /* Карусель - ГЛАВНОЕ ИСПРАВЛЕНИЕ */
    .universal-carousel {
        height: 420px;
        padding: 0 10px;
        margin-bottom: 60px;
    }

    .universal-carousel .carousel-wrapper {
        height: 380px;
    }

    .universal-carousel .carousel-item {
        width: 85vw;
        max-width: 340px;
        height: 320px;
        padding: 20px 15px;
    }

    /* Галерея внутри карусели */
    #work_gallery .carousel-item,
    #place_gallery .carousel-item,
    #certifitcates .carousel-item {
        width: 85vw;
        max-width: 340px;
        height: 350px;
    }

    .universal-carousel .carousel-item.prev,
    .universal-carousel .carousel-item.next {
        display: none;
    }

    .gallery-item-content {
        padding: 5px;
    }

    .gallery-item-content img {
        max-height: 320px;
    }

    /* Боковые элементы карусели */
    .universal-carousel .carousel-item.prev {
        transform: translate(-110%, -50%) scale(0.7);
        opacity: 0.2;
    }

    .universal-carousel .carousel-item.next {
        transform: translate(10%, -50%) scale(0.7);
        opacity: 0.2;
    }

    /* Кнопки карусели */
    .universal-carousel .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .universal-carousel .prev-btn {
        left: 5px;
    }

    .universal-carousel .next-btn {
        right: 5px;
    }

    .universal-carousel .carousel-dots {
        bottom: -45px;
        gap: 8px;
    }

    .universal-carousel .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .universal-carousel .carousel-dot.active {
        width: 20px;
    }

    /* Отзывы */
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .rating-block {
        align-items: flex-start;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .testimonial-text {
        font-size: 14px;
        text-align: left;
        -webkit-line-clamp: 6;
    }

    /* Дополнительные услуги */
    #additional_services .container {
        flex-direction: column;
        gap: 30px;
    }

    .services_title {
        font-size: 28px;
        text-align: center;
    }

    .services_items {
        flex-direction: column;
        gap: 15px;
    }

    .services_item {
        text-align: center;
        padding: 15px 20px;
    }

    /* Замена стекла с выездом */
    #glass_remove .container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    #glass_remove img {
        max-width: 100% !important;
    }

    #glass_remove .text__title {
        font-size: 26px;
    }

    #glass_remove .text__content {
        font-size: 16px;
    }

    /* Факты */
    .facts_items {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Форма заявки */
    #order_call .inputs {
        flex-direction: column !important;
        gap: 15px;
    }

    #order_call input {
        width: 100% !important;
    }

    #order_call button {
        width: 100%;
        padding: 15px;
    }

    /* Footer */
    .footer__content {
        flex-direction: column;
        gap: 30px;
    }

    .footer__contacts {
        text-align: center;
    }

    .contact-item {
        margin-bottom: 30px;
    }

    .footer__map {
        height: 300px;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .bodyheader_title h1 {
        font-size: 22px;
    }

    .bodyheader_title h4 {
        font-size: 14px;
    }

    .section_title {
        font-size: 22px;
    }

    /* Карусель на очень маленьких экранах */
    .universal-carousel {
        height: 400px;
    }

    .universal-carousel .carousel-wrapper {
        height: 360px;
    }

    .universal-carousel .carousel-item.prev,
    .universal-carousel .carousel-item.next {
        display: none;
    }

    .universal-carousel .carousel-item {
        width: 90vw;
        max-width: 300px;
        height: 300px;
        padding: 15px 10px;
    }

    #work_gallery .carousel-item,
    #place_gallery .carousel-item,
    #certifitcates .carousel-item {
        width: 90vw;
        max-width: 300px;
        height: 330px;
    }

    .gallery-item-content img {
        max-height: 300px;
    }

    .universal-carousel .carousel-item.prev,
    .universal-carousel .carousel-item.next {
        opacity: 0.1;
        transform: translate(-120%, -50%) scale(0.6);
    }

    .universal-carousel .carousel-item.next {
        transform: translate(20%, -50%) scale(0.6);
    }

    .universal-carousel .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .testimonial-text {
        -webkit-line-clamp: 7;
        font-size: 13px;
    }

    .preferences__item .title {
        font-size: 20px;
    }

    .badge {
        font-size: 14px;
    }

    .services_title {
        font-size: 24px;
    }
}
.header__burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: relative;
}

.header__burger span {
    width: 100%;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Анимация кнопки при открытии */
.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 968px) {
    .header__burger {
        display: flex;
    }

    .nav-contact-item {
        padding: 10px 0;
    }

    .nav-contact-item .header__phone,
    .nav-contact-item .header__whatsapp {
        width: 100%;
        justify-content: center;
        border-radius: 8px;
        margin: 0;
    }

    .nav-contact-item .header__phone {
        padding: 12px 20px;
    }

    .nav-contact-item .header__phone span {
        display: inline !important;
    }

    .nav-contact-item .header__whatsapp {
        width: 100%;
        height: 50px;
    }

    /* Скрываем меню и контакты по умолчанию */
    .header__nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: #000000;
        border-right: 2px solid #FFD700;
        padding: 80px 20px 20px;
        transition: left 0.3s ease;
        z-index: 100;
        overflow-y: auto;
    }

    .header__nav.active {
        left: 0;
    }

    .header__nav ul {
        flex-direction: column;
        gap: 0;
    }

    .header__nav li {
        border-bottom: 1px solid #333;
    }

    .header__nav a {
        display: block;
        padding: 15px 10px;
        font-size: 18px;
        transition: all 0.3s ease;
    }

    .header__nav a:hover {
        background: #1a1a1a;
        padding-left: 20px;
    }

    /* Контакты в мобильном меню */
    .header__contacts {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #000000;
        border-left: 2px solid #FFD700;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 99;
        flex-direction: column;
        gap: 20px;
        justify-content: flex-start;
    }

    .header__contacts.active {
        right: 0;
    }

    /* Оверлей для закрытия меню */
    .header__overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 98;
    }

    .header__overlay.active {
        display: block;
    }
}

/* Адаптивность для других секций */
@media (max-width: 968px) {
    .section_title {
        font-size: 28px;
        text-align: center;
    }

    .preferences {
        flex-direction: column;
        gap: 30px;
    }

    .preferences__item {
        text-align: center;
    }

    h4.text {
        max-width: 100%;
    }

    .bodyheader_title h1 {
        font-size: 32px;
    }

    .bodyheader_title h4 {
        font-size: 18px;
    }

    .badge {
        font-size: 18px;
        padding: 15px 10px;
    }

    .services_title {
        font-size: 28px;
        text-align: center;
    }

    .services_items {
        flex-direction: column;
        gap: 15px;
    }

    #additional_services .container {
        flex-direction: column;
    }

    #glass_remove .container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    #glass_remove img {
        max-width: 100% !important;
    }

    .facts_items {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer__content {
        flex-direction: column;
        gap: 30px;
    }

    .footer__map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .section_title {
        font-size: 24px;
    }

    .bodyheader_title h1 {
        font-size: 24px;
    }

    .bodyheader_title h4 {
        font-size: 16px;
    }

    .bodyheader_button a {
        padding: 12px 20px;
        font-size: 16px;
    }

    .badge {
        font-size: 16px;
    }

    .services_title {
        font-size: 24px;
    }
}

/* Form Message Notifications */
.form-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 400px;
}

.form-message.show {
    opacity: 1;
    transform: translateX(0);
}

.form-message-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    border-left: 4px solid #155724;
}

.form-message-error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
    border-left: 4px solid #721c24;
}

.form-message .message-icon {
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.form-message .message-text {
    flex-grow: 1;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .form-message {
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
        top: 10px;
        font-size: 14px;
        padding: 12px 16px;
    }
}
