* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #111111;
    overflow-x: hidden;
}

/* ========== ВЕРХНЯЯ ПОЛОСА ========== */
.top-bar {
    background-color: #111111;
    color: #aaaaaa;
    padding: 12px 0;
    font-size: 13px;
    letter-spacing: 0.3px;
}
.top-bar a {
    color: #aaaaaa;
    text-decoration: none;
    transition: 0.2s;
}
.top-bar a:hover {
    color: #FFD700;
}

/* ========== НАВИГАЦИЯ ========== */
.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111111 !important;
}
.nav-link {
    color: #111111 !important;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: 0.2s;
    position: relative;
}
.nav-link:hover {
    color: #FFD700 !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: 0.3s;
}
.nav-link:hover::after {
    width: 100%;
}

/* ========== КНОПКА В ШАПКЕ ========== */
.discuss-btn-header {
    background-color: #FFD700;
    color: #111111;
    border: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px 32px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-decoration: none !important;
    text-transform: uppercase;
}
.discuss-btn-header:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

button, .btn, .btn-hero, .discuss-btn-header, .btn-dark-custom, .btn-outline-custom, .btn-outline-custom-white {
    text-decoration: none !important;
}

/* ========== HERO С ВИДЕО ========== */
.hero-video-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}
.typing-text {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 3px;
    opacity: 0.85;
    margin-top: 20px;
}
@media (min-width: 768px) {
    .typing-text { font-size: 4rem; }
    .hero-subtitle { font-size: 0.9rem; }
}
@media (min-width: 992px) {
    .typing-text { font-size: 5rem; }
    .hero-subtitle { font-size: 1rem; }
}

/* ========== КНОПКИ ГЕРОЯ ========== */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}
.btn-hero {
    padding: 14px 32px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-hero i {
    transition: transform 0.3s ease;
}
.btn-hero:hover i {
    transform: translateX(6px);
}
@media (min-width: 768px) {
    .btn-hero {
        padding: 16px 40px;
        font-size: 0.9rem;
    }
}
.btn-hero-primary {
    background-color: #FFD700;
    color: #111111;
}
.btn-hero-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.btn-hero-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}
.btn-hero-secondary:hover {
    background-color: white;
    color: #111111;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ========== СЕКЦИИ ========== */
.section {
    padding: 80px 0;
}
.section-alt {
    background-color: #F8F8F8;
    padding: 80px 0;
}
.section-subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #FFD700;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .section-title { font-size: 2.5rem; }
}
@media (min-width: 992px) {
    .section-title { font-size: 3rem; }
}

/* ========== КАРТОЧКИ УСЛУГ ========== */
.service-card {
    background: #FFFFFF;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -15px rgba(0,0,0,0.08);
    border-color: #FFD700;
}
.service-icon {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1.2rem;
}
.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.service-card p {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.service-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: #FFD700;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* ========== PARALLAX СЕКЦИИ ========== */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
    color: white;
}
.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}
.parallax-section .container {
    position: relative;
    z-index: 2;
}
.parallax-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-left: 4px solid #FFD700;
    height: 100%;
}
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
        padding: 60px 0;
    }
    .parallax-content {
        padding: 25px;
    }
}

/* ========== СТАТИСТИКА ========== */
.stat-card-white {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 15px;
    text-align: center;
    transition: 0.3s;
    height: 100%;
}
.stat-card-white:hover {
    transform: translateY(-5px);
    background: white;
}
.stat-number-white {
    font-size: 2rem;
    font-weight: 800;
    color: #FFD700;
    line-height: 1;
}
.stat-label-white {
    font-size: 0.7rem;
    color: #111;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ========== ПРЕИМУЩЕСТВА ========== */
.advantage-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border: 1px solid #eee;
    transition: 0.3s;
    height: 100%;
}
.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: #FFD700;
}
.advantage-icon {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 1.2rem;
}
.advantage-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.advantage-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ========== ЭТАПЫ ========== */
.steps-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.step-modern {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.95);
    transition: 0.3s;
    position: relative;
}
.step-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.step-modern-icon {
    width: 70px;
    height: 70px;
    background: #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.step-modern-icon i {
    font-size: 2rem;
    color: #111111;
}
.step-modern-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #111111;
    color: #FFD700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}
.step-modern h4 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 1rem 0 0.5rem;
    color: #111;
}
.step-modern p {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}
@media (max-width: 768px) {
    .steps-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* ========== ПРОЕКТЫ (карточки с анимацией как на главной) ========== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.project-card {
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
    cursor: pointer;
    border: 2px dashed #ccc;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s;
    display: block;
}
.project-card:hover img {
    transform: scale(1.05);
}
.project-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    padding: 20px;
    transition: 0.4s;
    color: white;
}
.project-card:hover .project-overlay {
    bottom: 0;
}
.project-overlay h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.project-overlay p {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .project-card img {
        height: 250px;
    }
}

/* ========== ПАГИНАЦИЯ ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #eee;
    color: #111;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
}
.pagination a:hover {
    background: #FFD700;
    border-color: #FFD700;
    color: #111;
}
.pagination .active {
    background: #111;
    color: white;
    border-color: #111;
}
@media (max-width: 768px) {
    .pagination a, .pagination span {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* ========== ОТЗЫВЫ ========== */
.review-card {
    background: #FFFFFF;
    border: 1px solid #eee;
    padding: 2rem;
    transition: 0.3s;
    height: 100%;
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: #FFD700;
}
.review-rating {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: #FFD700;
}
.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
}
.review-author {
    margin-top: 1.2rem;
    font-weight: 700;
    color: #111;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* ========== ОБЩИЕ КНОПКИ ========== */
.btn-dark-custom {
    background-color: #111111;
    color: white;
    border: none;
    padding: 12px 32px;
    font-weight: 700;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: inline-block;
}
.btn-dark-custom:hover {
    background-color: #FFD700;
    color: #111111;
    transform: translateY(-2px);
}
.btn-outline-custom {
    background-color: transparent;
    border: 2px solid #111;
    color: #111;
    padding: 10px 28px;
    font-weight: 700;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: inline-block;
}
.btn-outline-custom:hover {
    background-color: #111;
    color: white;
    transform: translateY(-2px);
}
.btn-outline-custom-white {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 28px;
    font-weight: 700;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: inline-block;
}
.btn-outline-custom-white:hover {
    background-color: white;
    color: #111111;
    transform: translateY(-2px);
}

/* ========== ПРИЗЫВ ========== */
.cta-block {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.cta-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.cta-content {
    position: relative;
    z-index: 2;
}
.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}
.cta-text {
    font-size: 1.1rem;
    color: #aaa;
}
.cta-features span {
    font-size: 0.9rem;
    color: white;
}
.cta-features i {
    color: #FFD700;
}
.cta-button {
    background-color: #FFD700;
    color: #111111;
    border: none;
    padding: 14px 42px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .cta-title { font-size: 1.8rem; }
    .cta-text { font-size: 0.9rem; }
    .cta-features span { font-size: 0.75rem; }
}

/* ========== ФУТЕР С КРУГЛЫМИ СОЦСЕТЯМИ ========== */
footer {
    background-color: #111111;
    color: #aaa;
    padding: 60px 0 30px;
}
footer a {
    color: #aaa;
    text-decoration: none;
    transition: 0.2s;
}
footer a:hover {
    color: #FFD700;
}
footer h3, footer h5 {
    color: white;
}
.social-footer {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-footer-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    color: white;
    font-size: 1.4rem;
    text-decoration: none !important;
}
.social-footer-link:hover {
    background: #FFD700;
    color: #111111;
    transform: translateY(-3px);
    text-decoration: none !important;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal-callback {
    border: none;
}
.modal-callback-header {
    background: #FFD700;
    padding: 35px 30px 25px;
    position: relative;
}
.btn-close-white {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 28px;
    color: #111111;
    cursor: pointer;
    transition: 0.2s;
    opacity: 0.7;
}
.btn-close-white:hover {
    opacity: 1;
    transform: scale(1.1);
}
.callback-icon {
    font-size: 3rem;
    color: #111111;
    background: rgba(0,0,0,0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.callback-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111111;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.callback-subtitle {
    font-size: 1rem;
    color: #111111;
    opacity: 0.8;
}
.callback-benefits {
    background: #f8f9fa;
    padding: 25px;
    height: 100%;
}
.callback-benefits h4 {
    font-size: 1.3rem;
    font-weight: 700;
}
.callback-benefits ul li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #444;
}
.callback-phones {
    border-top: 1px solid #ddd;
    padding-top: 15px;
}
.callback-phone {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    display: inline-block;
}
.callback-phone:hover {
    color: #FFD700;
}
.btn-callback-submit {
    background: #111111;
    color: white;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.btn-callback-submit:hover {
    background: #FFD700;
    color: #111111;
    transform: translateY(-2px);
}
.modal-callback .form-control,
.modal-callback .form-select {
    padding: 12px 15px;
    border: 1px solid #ddd;
}
.modal-callback .form-control:focus,
.modal-callback .form-select:focus {
    border-color: #FFD700;
    box-shadow: none;
}
@media (max-width: 768px) {
    .modal-callback-header {
        padding: 25px 20px;
    }
    .callback-title {
        font-size: 1.3rem;
    }
    .callback-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* ========== СТРАНИЦА "О НАС" ========== */
.page-hero {
    padding: 80px 0 40px;
    background-color: #FFFFFF;
}
.page-hero .display-3 {
    font-size: 2.5rem;
}
@media (min-width: 768px) {
    .page-hero .display-3 {
        font-size: 3.5rem;
    }
}

/* Блок в начале (о компании) - используем q2.jpg */
.about-image-placeholder {
    background: url('q2.jpg') center/cover no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image-placeholder::before {
    display: none;
}

/* Блок команды - НЕ ТРОГАЕМ, оставляем как было */
.team-placeholder {
    background: #e0e0e0;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #aaa;
    color: #aaa;
    font-size: 0.85rem;
    text-transform: uppercase;
}
.team-placeholder::before {
    content: "ФОТО";
}

/* Блок в конце (технологии/материалы) - используем q1.jpg */
.tech-placeholder {
    background: url('q1.jpg') center/cover no-repeat;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tech-placeholder::before {
    display: none;
}

.parallax-content-simple {
    background: rgba(0, 0, 0, 0.5);
    padding: 50px;
}
@media (max-width: 768px) {
    .parallax-content-simple {
        padding: 30px;
    }
}
.material-item {
    padding: 10px 0;
    font-size: 0.95rem;
    color: #444;
    border-bottom: 1px solid #eee;
}

/* ========== СТРАНИЦА УСЛУГ ========== */
.service-card ul li {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 6px;
}

/* ========== СТРАНИЦА КОНТАКТЫ ========== */
.contacts-info-box {
    background: #FFFFFF;
    border: 1px solid #eee;
    padding: 30px;
}
.contacts-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}
.contacts-item:last-child {
    border-bottom: none;
}
.contacts-icon {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #FFD700;
}
.contacts-text span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 5px;
}
.contacts-text p, .contacts-text a {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
}
.contacts-text a:hover {
    color: #FFD700;
}
.contacts-map {
    border: 1px solid #eee;
    height: 100%;
}
.contacts-map iframe {
    width: 100%;
    height: 350px;
    display: block;
}

/* ========== ФОРМЫ ========== */
.form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
}
.form-control:focus {
    border-color: #FFD700;
    box-shadow: none;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 768px) {
    .hero-video-section {
        height: 70vh;
        min-height: 500px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    .section, .section-alt, .cta-block {
        padding: 60px 0;
    }
    .parallax-section {
        padding: 60px 0;
    }
    .contacts-info-box {
        padding: 20px;
    }
}

.text-white {
    color: white !important;
}

/* ========== ФОРМА ОБРАТНОЙ СВЯЗИ ========== */
.contacts-form {
    background: #FFFFFF;
    border: 1px solid #eee;
    padding: 40px;
}
.contacts-form-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
}
.contacts-form-subtitle {
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}
.contacts-form .form-control {
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 0;
    width: 100%;
}
.contacts-form .form-control:focus {
    border-color: #FFD700;
    outline: none;
    box-shadow: none;
}
.contacts-submit-btn {
    background: #111111;
    color: white;
    border: none;
    padding: 12px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    cursor: pointer;
}
.contacts-submit-btn:hover {
    background: #FFD700;
    color: #111111;
    transform: translateY(-2px);
}
.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    text-align: center;
}
@media (max-width: 768px) {
    .contacts-form {
        padding: 25px;
    }
    .contacts-form-title {
        font-size: 1.2rem;
    }
    .contacts-submit-btn {
        width: 100%;
    }
}

/* ========== КРАСИВАЯ СТРЕЛОЧКА ДЛЯ ВЫПАДАЮЩЕГО МЕНЮ (ВАРИАНТ 3) ========== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    border-top: none;
    border-left: none;
    position: relative;
    top: -2px;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(225deg);
    border-color: #FFD700;
}

/* Выпадающее меню при наведении */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    background: white;
    border: none;
    border-radius: 0;
    margin-top: 12px;
    padding: 12px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    min-width: 200px;
    left: 0;
}

.dropdown-item {
    padding: 10px 25px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111;
    transition: 0.2s;
    position: relative;
}

.dropdown-item:hover {
    background-color: #FFD700;
    color: #111;
    padding-left: 35px;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: #111;
    transition: width 0.2s ease;
}

.dropdown-item:hover::before {
    width: 10px;
}

/* Анимация появления меню */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown:hover .dropdown-menu {
    animation: fadeInDown 0.2s ease forwards;
}

/* Для мобильных устройств */
@media (max-width: 992px) {
    .dropdown-menu {
        position: static;
        float: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        padding-left: 20px;
    }
    .dropdown.show .dropdown-menu {
        display: block;
    }
}

/* ========== ГАЛЕРЕЯ ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.gallery-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
    border: 1px solid #eee;
}
.gallery-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s;
    display: block;
}
.gallery-card:hover img {
    transform: scale(1.05);
}
.gallery-card-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    padding: 15px;
    transition: 0.4s;
    color: white;
    text-align: center;
}
.gallery-card:hover .gallery-card-overlay {
    bottom: 0;
}
.gallery-card-overlay h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-card img {
        height: 250px;
    }
}

/* ========== СТРАНИЦА ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ ========== */
.privacy-content {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px;
}
.privacy-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFD700;
}
.privacy-content h2:first-child {
    margin-top: 0;
}
.privacy-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}
.privacy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
.privacy-content li {
    margin-bottom: 8px;
    color: #555;
}
@media (max-width: 768px) {
    .privacy-content {
        padding: 25px;
    }
    .privacy-content h2 {
        font-size: 1.2rem;
    }
}

/* ========== БЕГУЩАЯ СТРОКА ========== */
.ticker-section {
    background: #000000;
    border-top: 1px solid rgba(255, 193, 7, 0.3);
    border-bottom: 1px solid rgba(255, 193, 7, 0.3);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 10;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    padding: 16px 0;
}

.ticker {
    display: inline-block;
    animation: ticker-scroll 35s linear infinite;
    white-space: nowrap;
}

.ticker__item {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

/* Разделитель между элементами — кружок */
.ticker__item:not(:last-child)::after {
    content: "●";
    display: inline-block;
    margin: 0 35px;
    font-size: 1.2rem;
    color: #ffc107;
    vertical-align: middle;
}

/* Анимация */
@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Пауза при наведении */
.ticker-section:hover .ticker {
    animation-play-state: paused;
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .ticker-wrap {
        padding: 12px 0;
    }
    .ticker__item {
        font-size: 0.8rem;
    }
    .ticker__item:not(:last-child)::after {
        margin: 0 18px;
        font-size: 0.9rem;
    }
    .ticker {
        animation-duration: 25s;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .ticker-wrap {
        padding: 10px 0;
    }
    .ticker__item {
        font-size: 0.7rem;
    }
    .ticker__item:not(:last-child)::after {
        margin: 0 12px;
        font-size: 0.8rem;
    }
    .ticker {
        animation-duration: 20s;
    }
}

/* ========== БЕГУЩАЯ СТРОКА ВНИЗУ (ПРИКОЛЬНАЯ) ========== */
.ticker-section-bottom {
    background: #ffc107;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 10;
    border-top: 2px solid #1a1a2e;
    border-bottom: 2px solid #1a1a2e;
}

.ticker-wrap-bottom {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.ticker-bottom {
    display: inline-block;
    animation: ticker-scroll-bottom 40s linear infinite;
    white-space: nowrap;
}

.ticker__item-bottom {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
}

/* Разделитель между элементами — кружок */
.ticker__item-bottom:not(:last-child)::after {
    content: "●";
    display: inline-block;
    margin: 0 40px;
    font-size: 1.5rem;
    color: #000000;
    vertical-align: middle;
}

/* Анимация */
@keyframes ticker-scroll-bottom {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Пауза при наведении */
.ticker-section-bottom:hover .ticker-bottom {
    animation-play-state: paused;
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .ticker-wrap-bottom {
        padding: 14px 0;
    }
    .ticker__item-bottom {
        font-size: 1rem;
    }
    .ticker__item-bottom:not(:last-child)::after {
        margin: 0 20px;
        font-size: 1.2rem;
    }
    .ticker-bottom {
        animation-duration: 30s;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .ticker-wrap-bottom {
        padding: 10px 0;
    }
    .ticker__item-bottom {
        font-size: 0.85rem;
    }
    .ticker__item-bottom:not(:last-child)::after {
        margin: 0 12px;
        font-size: 1rem;
    }
    .ticker-bottom {
        animation-duration: 25s;
    }
}
/* ========== КНОПКА СКРОЛЛА НАВЕРХ ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top i {
    color: #1a1a2e;
    font-size: 24px;
    transition: 0.3s;
}

.scroll-to-top:hover {
    background-color: #e6a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:hover i {
    transform: translateY(-2px);
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
    .scroll-to-top i {
        font-size: 20px;
    }
}

/* Адрес в шапке - строго одна строка */
.address-inline {
    white-space: nowrap !important;
    display: inline-block !important;
}

/* На мобильных тоже не переносим */
@media (max-width: 768px) {
    .address-inline {
        white-space: nowrap !important;
    }
    .top-bar .col-md-6.text-md-end {
        flex-wrap: wrap;
    }
}

/* Если всё равно не влазит - уменьшаем шрифт на телефонах */
@media (max-width: 480px) {
    .top-bar {
        font-size: 11px;
    }
}

/* Для видео в галерее */
.gallery-card {
    position: relative;
    cursor: pointer;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: 0.3s;
    z-index: 2;
    pointer-events: none;
}

.gallery-card:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    color: #ffc107;
}
/* ========== СТИЛИ ДЛЯ СТРАНИЦ УСЛУГ И ЭТАПОВ ========== */
.service-info, .stage-info {
    border-radius: 0;
}

.service-price-box {
    border-radius: 0;
}

.feature-item, .importance-item, .advantage-item, .quality-item, .benefit-item, .exception-item {
    border-radius: 0;
}

/* Анимация для карточек */
.service-card-link, .step-modern-link {
    transition: all 0.3s ease;
}

.service-card, .step-modern {
    transition: all 0.3s ease;
}

/* Модальное окно проекта с каруселью */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 50%;
}

/* Хлебные крошки (опционально) */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: #ffc107;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #666;
}