:root {
    --primary: #5d6afb;
    --primary-light: #7987ff;
    --secondary: #ff9e7d;
    --accent: #6cdfcc;
    --dark: #2a2d48;
    --light: #f8f9ff;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
}
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.3; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }

/* Tablet и Mobile отступы */
@media (max-width: 992px) {
    section { padding: 60px 0; }
}
@media (max-width: 768px) {
    section { padding: 50px 0; }
}
@media (max-width: 480px) {
    section { padding: 40px 0; }
}

/* Header */
header {
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 50px; width: auto; transition: var(--transition); }
.logo:hover img { transform: scale(1.05); }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 30px; }
.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Мобильное меню */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0 15px 25px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-links li { margin: 15px 0; }
    .nav-links a { font-size: 18px; }
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(93,106,251,0.4);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background-color: var(--primary-light); transform: translateY(-5px); }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://umka.aurora-pro.by/wp-content/uploads/2026/07/bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.22;
    z-index: -1;
}
.hero-content { max-width: 800px; text-align: center; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 { font-size: 6rem; color: var(--primary); margin-bottom: 20px; animation: fadeInDown 1s ease; }
.hero h1 span { color: var(--secondary); }
.hero p { font-family: 'Segoe Script', 'Caveat', cursive; font-size: 3rem; color: var(--dark); margin-bottom: 40px; animation: fadeInUp 1s ease 0.3s both; }

@media (max-width: 992px) {
    .hero h1 { font-size: 4.5rem; }
    .hero p { font-size: 1.6rem; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 3.2rem; }
    .hero p { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 4rem; }
    .hero p { font-size: 2rem; }
}

/* About */
.about-expert { background-color: var(--white); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.8rem; color: var(--dark); display: inline-block; position: relative; }
.section-title h2::after {
    content: ''; position: absolute; bottom: -15px; left: 50%;
    transform: translateX(-50%); width: 80px; height: 4px;
    background-color: var(--accent); border-radius: 2px;
}
@media (max-width: 768px) {
    .section-title { margin-bottom: 40px; }
    .section-title h2 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
    .section-title h2 { font-size: 1.8rem; }
}

.expert-content { display: flex; align-items: center; gap: 50px; }
.expert-image { flex: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.expert-image img { width: 100%; height: auto; display: block; transition: var(--transition); }
.expert-image:hover img { transform: scale(1.05); }
.expert-info { flex: 1; }
.expert-name { font-size: 2.2rem; color: var(--primary); margin-bottom: 10px; }
.expert-title { font-size: 1.2rem; color: var(--secondary); font-weight: 600; margin-bottom: 20px; }
.expert-text { font-size: 1.1rem; color: var(--gray); margin-bottom: 25px; }

@media (max-width: 992px) {
    .expert-content { flex-direction: column; text-align: center; gap: 30px; }
    .expert-name { font-size: 1.8rem; }
}
@media (max-width: 768px) {
    .expert-text { font-size: 1rem; }
}

/* Directions */
.directions { background-color: var(--light); }
.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .directions-grid { gap: 20px; }
}
@media (max-width: 480px) {
    .directions-grid { grid-template-columns: 1fr; }
}

.direction-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}
.direction-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.direction-icon {
    width: 70px; height: 70px; background-color: rgba(93,106,251,0.1);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    margin: 0 auto 20px; color: var(--primary); font-size: 28px;
}
.direction-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--dark); }
.direction-card p { color: var(--gray); font-size: 0.95rem; }
@media (max-width: 768px) {
    .direction-card { padding: 25px; }
    .direction-card h3 { font-size: 1.3rem; }
}
.directions-footer { text-align: center; font-size: 1.2rem; color: var(--primary); font-weight: 600; padding-top: 30px; border-top: 1px solid rgba(108,117,125,0.1); }
@media (max-width: 768px) {
    .directions-footer { font-size: 1rem; }
}

/* Price Section */
.price { background-color: var(--white); }
.price-container { max-width: 900px; margin: 0 auto; }
.price-note { text-align: center; margin-bottom: 40px; color: var(--gray); font-style: italic; }
.price-category {
    margin-bottom: 20px;
    background: #f8f9ff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(93,106,251,0.1);
}
.price-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
    flex-wrap: wrap;
    gap: 15px;
}
.price-category-header:hover { background: rgba(93,106,251,0.05); }
.price-category-header h3 { font-size: 1.3rem; color: var(--primary); margin: 0; }
@media (max-width: 768px) {
    .price-category-header { flex-direction: column; align-items: flex-start; }
    .price-category-header h3 { font-size: 1.1rem; }
}
.toggle-price-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.toggle-price-btn:hover { background: var(--primary-light); transform: scale(1.02); }
.price-items-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9ff;
}
.price-items-wrapper.open { max-height: 800px; }
.price-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px 25px 25px;
}
@media (max-width: 768px) {
    .price-items { grid-template-columns: 1fr; padding: 15px 20px 20px; }
}
.price-item {
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.price-item:hover { background: white; transform: translateX(5px); box-shadow: var(--shadow); }
.price-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; flex-wrap: wrap; gap: 5px; }
.price-item-name { font-weight: 700; font-size: 1rem; color: var(--dark); }
.price-item-cost { font-weight: 700; font-size: 1.3rem; color: var(--primary); }
.price-item-details { color: var(--gray); font-size: 0.85rem; margin-bottom: 5px; }
.price-item-per { color: var(--secondary); font-weight: 600; font-size: 0.9rem; }

/* Price Call to Action */
.price-call-to-action {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #f0f2ff, #e8ebff);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border: 1px solid rgba(93,106,251,0.2);
}
@media (max-width: 768px) {
    .price-call-to-action { flex-direction: column; text-align: center; padding: 25px; }
}
.price-call-to-action i { font-size: 2.5rem; color: var(--primary); }
.price-call-to-action h4 { font-size: 1.2rem; margin-bottom: 5px; }
.price-call-to-action p { color: var(--gray); margin: 0; }
.btn-call {
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}
@media (max-width: 768px) { .btn-call { white-space: normal; } }
.btn-call:hover { background: var(--primary-light); transform: scale(1.02); }

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00c853, #00a844);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,200,83,0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    animation: float 3s ease-in-out infinite, pulse 2s infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(0,200,83,0.4); }
    50% { box-shadow: 0 4px 25px rgba(0,200,83,0.7); }
    100% { box-shadow: 0 4px 15px rgba(0,200,83,0.4); }
}
.floating-call-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #00e05a, #00c853);
    box-shadow: 0 6px 20px rgba(0,200,83,0.6);
    animation: none;
}
@media (max-width: 768px) {
    .floating-call-btn { width: 50px; height: 50px; font-size: 1.4rem; bottom: 90px; right: 15px; }
    .back-to-top { width: 45px; height: 45px; font-size: 1.2rem; bottom: 25px; right: 15px; }
}
@media (max-width: 480px) {
    .floating-call-btn { width: 45px; height: 45px; font-size: 1.2rem; bottom: 80px; right: 12px; }
    .back-to-top { width: 40px; height: 40px; font-size: 1rem; bottom: 20px; right: 12px; }
}

/* Gallery Slider */
.gallery-slider {
    background: linear-gradient(135deg, #f0f2ff 0%, #ffffff 100%);
    padding: 60px 0;
}
.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
    .slider-container { border-radius: 15px; margin: 30px auto 0; }
}
.slider-wrapper { display: flex; transition: transform 0.5s ease-in-out; }
.slide { flex: 0 0 100%; position: relative; aspect-ratio: 16/9; background: #1a1a2e; }
.slide img { width: 100%; height: 100%; object-fit: contain; display: block; background: #1a1a2e; }

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.9); border: none; width: 44px; height: 44px;
    border-radius: 50%; cursor: pointer; font-size: 1.3rem; color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: var(--transition); z-index: 10;
}
.slider-btn:hover { background: var(--primary); color: white; transform: translateY(-50%) scale(1.05); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }
@media (max-width: 768px) {
    .slider-btn { width: 36px; height: 36px; font-size: 1rem; }
    .prev-btn { left: 12px; }
    .next-btn { right: 12px; }
}
.slider-dots { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.dot { width: 12px; height: 12px; background: #ccc; border-radius: 50%; cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--primary); width: 28px; border-radius: 6px; }
@media (max-width: 480px) {
    .dot { width: 10px; height: 10px; }
    .dot.active { width: 22px; }
}

/* Video Slide Styles */
.video-slide { position: relative; background: #000; }
.slide-video { width: 100%; height: 100%; object-fit: contain; }
.slide:not(.active-video) .slide-video { opacity: 0.5; }

.video-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    z-index: 5;
}
@media (max-width: 768px) {
    .video-label { bottom: 10px; left: 10px; padding: 4px 10px; font-size: 0.7rem; }
}

.video-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    z-index: 10;
}
@media (max-width: 768px) {
    .video-controls { top: 10px; right: 10px; gap: 8px; }
}

.video-play-pause-btn,
.video-sound-btn {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-play-pause-btn:hover,
.video-sound-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .video-play-pause-btn,
    .video-sound-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Reviews */
.reviews { background-color: var(--white); padding: 80px 0; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .reviews-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
}
.review-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(93,106,251,0.1);
    transition: var(--transition);
}
.review-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.review-header { display: flex; gap: 15px; margin-bottom: 20px; align-items: center; flex-wrap: wrap; }
.reviewer-avatar {
    width: 55px; height: 55px; background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.8rem;
}
.reviewer-name { font-size: 1.2rem; margin-bottom: 5px; }
.review-rating i { color: #FFD700; font-size: 0.85rem; }
.review-text { font-size: 0.98rem; line-height: 1.6; color: var(--gray); font-style: italic; margin: 15px 0; position: relative; padding-left: 18px; }
.review-text::before { content: '"'; position: absolute; left: 0; top: -5px; font-size: 2rem; color: rgba(93,106,251,0.2); }
.review-direction { display: inline-flex; align-items: center; gap: 6px; background: #f0f2ff; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; color: var(--primary); margin-top: 10px; }

.reviews-external { background: linear-gradient(135deg, #f8f9ff, #fff); padding: 35px; border-radius: var(--radius); text-align: center; margin-top: 30px; }
@media (max-width: 768px) { .reviews-external { padding: 25px; } }
.external-reviews-links { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; margin-top: 20px; }
.external-link { display: flex; align-items: center; gap: 15px; background: white; padding: 12px 25px; border-radius: 50px; text-decoration: none; color: var(--dark); transition: var(--transition); box-shadow: 0 5px 12px rgba(0,0,0,0.05); }
.external-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (max-width: 480px) { .external-link { padding: 10px 18px; gap: 10px; } }
.link-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; }
.google { background: #4285F4; }
.yandex { background: #FC3F1D; }

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .footer-content { gap: 30px; }
}
.footer-section h3 { font-size: 1.4rem; margin-bottom: 20px; position: relative; display: inline-block; }
.footer-section h3::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 40px; height: 3px; background: var(--accent); }
.contact-info li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; list-style: none; flex-wrap: wrap; }
.contact-info i { color: var(--accent); width: 20px; }
.footer-phone-link { color: white; text-decoration: none; transition: all 0.3s; }
.footer-phone-link:hover { color: var(--accent); text-decoration: underline; }
.social-links { display: flex; gap: 15px; margin-top: 20px; flex-wrap: wrap; }
.social-links a {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: var(--transition);
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.map-container { height: 220px; border-radius: var(--radius); overflow: hidden; margin-top: 15px; }
.map-container iframe { width: 100%; height: 100%; border: none; }
@media (max-width: 768px) {
    .map-container { height: 200px; }
}

/* Animations */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }