/* ======================================================== */
/* 1. ПЕРЕМЕННЫЕ И СБРОС СТИЛЕЙ                             */
/* ======================================================== */
:root {
    /* Цветовая палитра */
    --bg-body: #011b2f;
    --bg-section-dark: #051420;
    --bg-section-darker: #010a12;
    --bg-section-marquee: #00070d;
    --bg-card-reviews: #0b2234;
    --primary-amber: #064073;
    --primary-amber-hover: #00a3dc;
    --overlay-modal: rgba(1, 10, 18, 0.75);

    /* Текстовые цвета */
    --text-white: #ffffff;
    --text-muted-85: rgba(255, 255, 255, 0.85);
    --text-muted-80: #bce3f7;
    --text-muted-70: #89a7bd;
    --text-muted-60: rgba(255, 255, 255, 0.6);
    --text-muted-40: rgba(255, 255, 255, 0.4);

    /* Границы и тени */
    --border-amber-alpha: rgba(0, 189, 255, 0.2);
    --border-amber-alpha-40: rgba(0, 189, 255, 0.4);

    /* Макетные сетки и геометрия */
    --container-max-width: 1200px;
    --section-padding: 100px 20px;

    /* Анимации и переходы */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-white);
    overflow-x: hidden;
}

/* ======================================================== */
/* 2. ХЕДЕР И НАВИГАЦИЯ (FIRST SCREEN)                      */
/* ======================================================== */
.site-header {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.header-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 60% 50%, #154563 0%, #051a29 65%, #010a12 100%);
    z-index: 1;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: var(--container-max-width);
    height: 80vh;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.header-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
}

.logo {
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #89a7bd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
    color: #00bdff;
}

.header-content {
    position: absolute;
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
    z-index: 5;
    pointer-events: none;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.left-text { text-align: left; }
.right-text { text-align: right; margin-top: 50px; }

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101;
}

.burger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 10px;
    transition: all var(--transition-normal) ease-in-out;
}

/* ======================================================== */
/* 3. СЕКЦИЯ "О НАС" (ABOUT)                                */
/* ======================================================== */
.about-section {
    background: linear-gradient(180deg, #051a29 10%, #010a12 100%);
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

.about-blob-shape {
    position: absolute;
    width: 100%;
    max-width: 420px;
    height: 420px;
    top: 50%;
    left: 50%;
    background-color: transparent;
    background-image: url('photo/stil_drin.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    transform: translate(-50%, -50%) rotate(-10deg);
    z-index: 1;
}

.about-main-image {
    position: relative;
    max-width: 85%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
}

.about-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-subtitle {
    color: #00bdff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 25px;
}

.section-description {
    color: var(--text-muted-80);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 500px;
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #00bdff;
    color: var(--text-white);
    text-decoration: none;
    padding: 15px 35px;
    margin-top: 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 189, 255, 0.3);
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-call:hover {
    background-color: #00a3dc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 189, 255, 0.5);
}

.btn-icon { font-size: 1.1rem; }

/* ======================================================== */
/* 4. УСЛУГИ / КАТАЛОГ (SERVICES)                          */
/* ======================================================== */
.services-section {
    background-color: #051420;
    padding: var(--section-padding);
    color: var(--text-white);
}

.services-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    text-align: center;
}

.services-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.services-subtitle {
    color: var(--text-muted-60);
    font-size: 1rem;
    margin-bottom: 50px;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background-color: #0b2234;
    border: 1px solid rgba(21, 69, 99, 0.3);
    border-radius: 20px;
    width: 360px;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00bdff;
    box-shadow: 0 15px 40px rgba(0, 189, 255, 0.25);
}

.card-image-box {
    position: relative;
    width: 100%;
    height: 280px;
    background-color: var(--bg-section-darker);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .card-image-box img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 10, 18, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card-overlay span {
    background-color: #0b2234;
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-card:hover .card-overlay { opacity: 1; }

.card-info {
    padding: 25px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-info h3 { font-size: 1.3rem; font-weight: 600; }
.card-price { color: #00bdff; font-weight: 700; font-size: 1.2rem; }

/* ======================================================== */
/* 5. МОДАЛЬНОЕ ОКНО ДЕТАЛЕЙ (MODAL POPUP)                  */
/* ======================================================== */
.site-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.site-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 10, 18, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-wrapper {
    position: relative;
    background-color: #051a29;
    border: 1px solid rgba(21, 69, 99, 0.5);
    width: 90%;
    max-width: 800px;
    border-radius: 24px;
    padding: 40px;
    z-index: 2;
    transform: scale(0.85);
    transition: transform var(--transition-normal);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.site-modal.active .modal-wrapper { transform: scale(1); }

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #89a7bd;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
}

.modal-close-btn:hover { color: #00bdff; }
.modal-body { display: flex; align-items: center; gap: 40px; }
.modal-img-container { flex: 1; display: flex; justify-content: center; align-items: center; }

.modal-img-container img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.modal-text-container { flex: 1.2; text-align: left; }
#modalTitle { font-size: 2.2rem; color: #ffffff; margin-bottom: 15px; }
#modalDesc { color: #bce3f7; font-size: 1.05rem; line-height: 1.6; }

/* ======================================================== */
/* 6. 3D КАРУСЕЛЬ (GALLERY)                                 */
/* ======================================================== */
.gallery-section {
    background-color: #031929;
    padding: var(--section-padding);
    color: var(--text-white);
    overflow: hidden;
}

.gallery-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    text-align: center;
}

.gallery-subtitle {
    color: #00bdff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.gallery-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 60px;
}

.gallery-view {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 450px;
    perspective: 1200px;
}

.gallery-track {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.gallery-slide {
    position: absolute;
    width: 460px;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-amber-alpha);
    cursor: pointer;
    transition: transform var(--transition-slow), opacity var(--transition-slow), z-index var(--transition-slow), border-color var(--transition-slow);
    opacity: 0;
    transform: translate3d(0, 0, -400px) scale(0.5);
    z-index: 0;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.gallery-slide.active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.15);
    z-index: 5;
    border-color: #00bdff;
    box-shadow: 0 20px 50px rgba(0, 189, 255, 0.3);
}

.gallery-slide.prev {
    opacity: 0.5;
    transform: translate3d(-280px, 0, -150px) scale(0.85) rotateY(20deg);
    z-index: 3;
}

.gallery-slide.next {
    opacity: 0.5;
    transform: translate3d(280px, 0, -150px) scale(0.85) rotateY(-20deg);
    z-index: 3;
}

.gallery-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-section-dark);
    border: 1px solid var(--border-amber-alpha-40);
    color: var(--text-white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color var(--transition-normal), border-color var(--transition-normal), transform var(--transition-fast);
}

.gallery-control:hover {
    background-color: #00bdff;
    border-color: var(--text-white);
}

.prev-btn { left: 40px; }
.next-btn { right: 40px; }
.prev-btn:active { transform: translateY(-50%) scale(0.9); }
.next-btn:active { transform: translateY(-50%) scale(0.9); }

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color var(--transition-normal), transform var(--transition-normal);
}

.dot.active {
    background-color: #00bdff;
    transform: scale(1.3);
}

/* ======================================================== */
/* 7. КАЛЬКУЛЯТОР СТОИМОСТИ (CALCULATOR)                    */
/* ======================================================== */
.calc-section {
    background-color: #051420;
    padding: 80px 20px;
    color: #ffffff;
}

.calc-container {
    max-width: 720px;
    margin: 0 auto;
}

.calc-subtitle {
    display: block;
    text-align: center;
    color: #00bdff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 600;
}

.calc-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.calc-card {
    background: linear-gradient(145deg, #0b2234 0%, #061928 100%);
    border: 1px solid rgba(0, 189, 255, 0.25);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calc-label-row label {
    font-size: 1.2rem;
    font-weight: 600;
}

.calc-value-badge {
    background-color: #051420;
    border: 1px solid rgba(0, 189, 255, 0.4);
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #00bdff;
    box-shadow: 0 0 12px rgba(0, 189, 255, 0.15);
}

.calc-value-badge small {
    font-size: 0.9rem;
    font-weight: 400;
    color: #89a7bd;
}

.range-wrapper {
    position: relative;
    margin-bottom: 12px;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 10px;
    outline: none;
    background: linear-gradient(to right, #00bdff 0%, #00bdff var(--progress, 11%), #051420 var(--progress, 11%), #051420 100%);
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #00bdff;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 189, 255, 0.8);
    transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.range-limits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #89a7bd;
}

.depth-hint {
    color: #00bdff;
    background: rgba(0, 189, 255, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 189, 255, 0.2);
}

.calc-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(21, 69, 99, 0) 0%, rgba(21, 69, 99, 0.8) 50%, rgba(21, 69, 99, 0) 100%);
    margin: 30px 0;
}

.calc-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-rate {
    font-size: 0.85rem;
    color: #89a7bd;
}

.price-rate strong {
    color: #ffffff;
}

.total-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.total-label {
    font-size: 1.1rem;
    color: #ffffff;
}

.total-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #00bdff;
    text-shadow: 0 0 15px rgba(0, 189, 255, 0.25);
}

.calc-note {
    font-size: 0.78rem;
    color: #61829a;
    margin-top: 25px;
    text-align: center;
    line-height: 1.4;
}

/* ======================================================== */
/* 8. ВОПРОСЫ И ОТВЕТЫ (FAQ ACCORDION)                      */
/* ======================================================== */
.faq-section {
    background-color: var(--bg-section-dark);
    padding: var(--section-padding);
    color: var(--text-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-subtitle {
    color: #00bdff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.faq-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 50px;
}

.faq-accordion {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--bg-section-darker);
    border: 1px solid var(--border-amber-alpha);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 30px;
    color: var(--text-white);
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color var(--transition-normal);
}

.faq-icon {
    font-size: 1.5rem;
    color: #00bdff;
    transition: transform var(--transition-normal);
    line-height: 1;
}

.faq-item:hover {
    border-color: #00bdff;
    box-shadow: 0 5px 20px rgba(0, 189, 255, 0.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 30px 25px 30px;
    color: var(--text-muted-80);
    line-height: 1.6;
    font-size: 1.05rem;
}

.faq-answer strong {
    color: #00bdff;
    font-weight: 600;
}

.faq-item.active { border-color: #00bdff; }
.faq-item.active .faq-question { color: #00bdff; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--text-white); }

/* ======================================================== */
/* 9. БЕГУЩАЯ СТРОКА ОТЗЫВОВ (MARQUEE REVIEWS)             */
/* ======================================================== */
.reviews-section {
    background-color: var(--bg-section-marquee);
    padding: 100px 0;
    overflow: hidden;
}

.reviews-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.reviews-subtitle {
    color: #00bdff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.reviews-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 60px;
    color: var(--text-white);
}

.reviews-marquee {
    position: relative;
    width: 100%;
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-lane {
    display: flex;
    gap: 30px;
    padding-right: 30px;
    animation: scrollMarquee 35s linear infinite;
}

.reviews-marquee:hover .marquee-lane {
    animation-play-state: paused;
}

.review-card {
    background-color: var(--bg-card-reviews);
    border: 1px solid var(--border-amber-alpha);
    width: 380px;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    transition: border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.review-card:hover {
    border-color: #00bdff;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 189, 255, 0.15);
}

.review-stars {
    color: #00bdff;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-muted-85);
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.review-text strong {
    color: var(--text-white);
    font-weight: 600;
}

.review-author {
    color: var(--text-muted-40);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    display: block;
    margin-top: 5px;
}

/* ======================================================== */
/* 10. ФУТЕР (FOOTER)                                       */
/* ======================================================== */
.site-footer {
    background-color: #010a12;
    border-top: 1px solid rgba(21, 69, 99, 0.4);
    padding: 70px 20px 30px;
    color: #89a7bd;
    font-size: 0.95rem;
}

.footer-container {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-block {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.footer-desc {
    line-height: 1.6;
}

.footer-block h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    color: #89a7bd;
    text-decoration: none;
    transition: color var(--transition-fast, 0.2s ease);
}

.footer-nav ul li a:hover {
    color: #00bdff;
}

.footer-phone-text {
    margin-bottom: 15px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #051420;
    border: 1px solid rgba(21, 69, 99, 0.4);
    border-radius: 50%;
    color: #89a7bd;
    transition: transform var(--transition-fast, 0.2s ease),
    color var(--transition-fast, 0.2s ease),
    border-color var(--transition-fast, 0.2s ease),
    box-shadow var(--transition-fast, 0.2s ease);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    color: #00bdff;
    border-color: #00bdff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 189, 255, 0.3);
}

/* ======================================================== */
/* 11. АНИМАЦИИ (KEYFRAMES)                                 */
/* ======================================================== */
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ======================================================== */
/* 12. МЕДИА-ЗАПРОСЫ (MEDIA QUERIES)                        */
/* ======================================================== */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-text-wrapper {
        align-items: center;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-image-wrapper {
        width: 100%;
        min-height: 320px;
    }

    .about-blob-shape {
        width: 290px;
        height: 290px;
        max-width: none;
        background-image: url('photo/stil_drin.webp')
    }

    .about-main-image {
        max-width: 220px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background: radial-gradient(circle at center, #051420 20%, var(--bg-body) 70%);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transform: translateX(50px);
        transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
    }

    .nav-links.mobile-open {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-links li a {
        font-size: 1.3rem;
    }

    .burger-menu.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .burger-menu.active .bar:nth-child(2) { opacity: 0; }
    .burger-menu.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .right-text {
        text-align: center;
        margin-top: 0;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .modal-body {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .modal-text-container {
        text-align: center;
    }

    .modal-wrapper {
        padding: 30px 20px;
    }

    #modalTitle {
        font-size: 1.8rem;
    }

    .services-title {
        font-size: 2rem;
    }

    .gallery-view {
        height: 320px;
    }

    .gallery-slide {
        width: 280px;
        height: 200px;
    }

    .gallery-slide.prev { transform: translate3d(-130px, 0, -100px) scale(0.8); }
    .gallery-slide.next { transform: translate3d(130px, 0, -100px) scale(0.8); }

    .gallery-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
    .gallery-title { font-size: 2rem; }

    .faq-title {
        font-size: 2rem;
        margin-bottom: 35px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 20px 20px 20px;
        font-size: 0.95rem;
    }

    .reviews-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .review-card {
        width: 300px;
        padding: 20px;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .marquee-lane {
        animation-duration: 25s;
    }

    .footer-container {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .calc-bottom {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .total-price-wrapper {
        justify-content: center;
    }

    .calc-card {
        padding: 25px;
    }
}