:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 35, 0.8);
    --blue: #00d4ff;
    --yellow: #ffd700;
    --pink: #ff6b9d;
    --gradient-main: linear-gradient(135deg, #00d4ff 0%, #ff6b9d 50%, #ffd700 100%);
    --gradient-glow: linear-gradient(90deg, #00d4ff, #ff6b9d, #ffd700, #00d4ff);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Анимированный живой фон */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(-45deg, #0a0a0f, #1a1a2e, #0f0f1a, #151525);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Плавающие частицы фона */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 20s; background: var(--blue); }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 25s; background: var(--pink); }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 18s; background: var(--yellow); }
.particle:nth-child(4) { left: 50%; animation-delay: 1s; animation-duration: 22s; background: var(--blue); }
.particle:nth-child(5) { left: 70%; animation-delay: 3s; animation-duration: 28s; background: var(--pink); }
.particle:nth-child(6) { left: 80%; animation-delay: 5s; animation-duration: 19s; background: var(--yellow); }
.particle:nth-child(7) { left: 90%; animation-delay: 2.5s; animation-duration: 24s; background: var(--blue); }

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* Header & Navigation */
.header {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 5px 30px rgba(0, 212, 255, 0.15);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--blue);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle:hover span {
    background: var(--pink);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 0 80px;
    background: transparent;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-glow);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 5s ease infinite, slideInUp 1s ease-out;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.4));
    line-height: 1.2;
}

@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Glow Button */
.btn {
    display: inline-block;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), 0 0 60px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 50px rgba(0, 212, 255, 0.6), 0 0 80px rgba(255, 107, 157, 0.5);
}

/* Sections */
section {
    padding: 120px 0;
    position: relative;
}

section h2 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

/* About Section */
.about {
    background: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-section {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.about-section:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-glow);
    transform: translateX(5px);
}

.about-section h3 {
    color: var(--blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-section ul {
    list-style: none;
    padding-left: 0;
}

.about-section li {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-section li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-size: 1.2rem;
}

.about-section strong {
    color: var(--pink);
    font-weight: 600;
}

.master-photo {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    border: 3px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 107, 157, 0.1));
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.master-photo:hover {
    border-color: var(--blue);
    box-shadow: 0 20px 80px rgba(0, 212, 255, 0.4);
    transform: scale(1.02);
}

.master-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
    margin-bottom: 15px;
}

.master-name {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

.btn-master-tips {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.8rem 1.8rem;
    background: var(--gradient-main);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 40px rgba(255, 107, 157, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-master-tips:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(255, 107, 157, 0.4);
}

.features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature:hover {
    transform: translateX(10px) scale(1.02);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.feature:hover::before {
    opacity: 0.1;
}

.feature-icon {
    font-size: 3rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.feature h3 {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.feature p {
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Services Section */
.services {
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--blue), transparent, var(--pink), transparent, var(--yellow), transparent);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--bg-card);
    border-radius: 22px;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.5;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3), 0 0 40px rgba(255, 107, 157, 0.2);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Prices Section */
.prices {
    background: transparent;
}

.prices-table {
    overflow-x: auto;
    margin-bottom: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
}

th, td {
    padding: 1.5rem 2rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

th {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(255, 107, 157, 0.2));
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

td {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

tr:hover td {
    background: rgba(0, 212, 255, 0.1);
    color: var(--text-primary);
    padding-left: 2.5rem;
}

tr:last-child td {
    border-bottom: none;
}

tr td:first-child {
    border-right: 3px solid transparent;
    transition: border-color 0.3s ease;
}

tr:hover td:first-child {
    border-right-color: var(--blue);
}

.prices-note {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.1rem;
}

/* Tips Section */
.tips {
    background: transparent;
}

.tips h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.tip-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    animation: gradientRotate 3s linear infinite;
}

.tip-card::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--bg-card);
    border-radius: 22px;
    z-index: 0;
}

.tip-card:hover::before {
    opacity: 0.5;
}

.tip-card > * {
    position: relative;
    z-index: 1;
}

.tip-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3), 0 0 40px rgba(255, 107, 157, 0.2);
}

.tip-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tip-card:hover .tip-icon {
    transform: scale(1.2) rotate(10deg);
}

.tip-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.tip-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .tip-card {
        padding: 2rem 1.5rem;
    }
    .tip-icon {
        font-size: 3rem;
    }
}

/* Contacts Section */
.contacts {
    background: transparent;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--blue);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.contact-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-item p, .contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--blue);
}

/* Footer */
.footer {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    cursor: default;
}

.tag:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--blue);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.footer p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-widget {
        display: none !important;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 0;
        display: none;
        gap: 0;
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-menu li {
        text-align: center;
        padding: 1rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }

    .about-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    section {
        padding: 80px 0;
    }

    section h2 {
        font-size: 2.5rem;
    }

}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 14px 35px;
        font-size: 1.05rem;
    }

    .feature {
        flex-direction: column;
        text-align: center;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        font-size: 3rem;
    }

    th, td {
        padding: 1rem;
        font-size: 0.95rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .contacts-info {
        gap: 1.5rem;
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.workshop-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.workshop-photos img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    display: block;
}

.workshop-photos img:hover {
    transform: scale(1.02);
    border-color: var(--blue);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.3);
}

/* Map Section */
.map-section {
    margin-top: 4rem;
    text-align: center;
}

.map-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.map-container {
    width: 100%;
    height: 420px;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 212, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.map-container:hover {
    border-color: var(--blue);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.3), 0 0 40px rgba(255, 107, 157, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: contrast(105%);
}

.map-label {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--pink);
    background: rgba(255, 107, 157, 0.05);
    border: 1px solid rgba(255, 107, 157, 0.2);
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    display: inline-block;
    width: 100%;
    transition: all 0.3s ease;
}

.map-label:hover {
    background: rgba(255, 107, 157, 0.1);
    border-color: var(--pink);
    box-shadow: 0 0 15px rgba(255, 107, 157, 0.2);
    transform: translateY(-2px);
}

.map-label-pin {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .map-container {
        height: 320px;
    }
    .map-section {
        margin-top: 3rem;
    }
    .map-section h3 {
        font-size: 1.6rem;
    }
}

/* Reviews Section */
.reviews {
    background: transparent;
}

.reviews-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.reviews-grid {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marquee-scroll linear infinite;
    will-change: transform;
}

.reviews-marquee:hover .reviews-grid {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.review-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    flex: 0 0 300px;
    max-width: 340px;
}

.review-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--blue), transparent, var(--pink), transparent, var(--yellow), transparent);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.review-card::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--bg-card);
    border-radius: 22px;
    z-index: 0;
}

.review-card:hover::before {
    opacity: 0.4;
}

.review-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2), 0 0 40px rgba(255, 107, 157, 0.15);
}

.review-card > * {
    position: relative;
    z-index: 1;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--bg-dark);
    flex-shrink: 0;
}

.review-meta h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.review-stars {
    font-size: 1rem;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
}

.review-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
}

.review-text::before {
    content: '"';
    color: var(--blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 2px;
}

.review-card[data-source="2gis"] {
    border-left: 3px solid #7cb342;
}

.review-card[data-source="2gis"] .review-avatar {
    background: linear-gradient(135deg, #7cb342 0%, #558b2f 100%);
}

.reviews-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: rgba(15, 15, 30, 0.98);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 25px;
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    margin: 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 212, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--pink);
}

.modal .form-group {
    margin-bottom: 1.5rem;
}

.modal input,
.modal textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: inherit;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.modal input::placeholder,
.modal textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal input:focus,
.modal textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* Star rating */
.rating-label {
    display: block;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.star-rating button {
    background: none;
    border: none;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.star-rating button:hover,
.star-rating button.active {
    color: var(--yellow);
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    transform: scale(1.15);
}

.modal .btn {
    width: 100%;
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-video {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.btn-video:hover {
    border-color: var(--blue);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    transform: translateY(-5px) scale(1.05);
}

.memory-section {
    padding: 80px 20px;
    text-align: center;
}

.memory-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.memory-section .btn-video {
    font-size: 1.3rem;
    padding: 1.2rem 3rem;
}

/* Video Modal */
.video-modal-overlay .modal {
    max-width: 900px;
    padding: 2rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.video-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .video-modal-overlay .modal {
        margin: 10px;
        padding: 1.5rem;
    }
    .review-card {
        flex: 0 0 260px;
        max-width: 85vw;
        padding: 2rem 1.5rem;
    }
}

/* Chat Widget — Telegram Style */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #00d4ff, #ff6b9d);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4), 0 0 30px rgba(255, 107, 157, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: chatPulse 2s infinite ease-in-out;
}

@keyframes chatPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4); }
    50% { transform: scale(1.08); box-shadow: 0 6px 30px rgba(0, 212, 255, 0.6), 0 0 40px rgba(255, 107, 157, 0.4); }
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-toggle .chat-close {
    display: none;
    font-size: 1.6rem;
}

.chat-widget.open .chat-toggle .chat-icon {
    display: none;
}

.chat-widget.open .chat-toggle .chat-close {
    display: block;
}

/* Telegram-style window */
.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 2.5rem);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: #0e1621;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-widget.open .chat-window {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

/* Header */
.chat-header {
    padding: 0.7rem 1rem;
    background: #17212b;
    border-bottom: 1px solid #0e1621;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #ff6b9d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.chat-header-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.chat-header-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.chat-header-status {
    font-size: 0.75rem;
    color: #4ade80;
}

.chat-header-close {
    background: none;
    border: none;
    color: #8a9bb2;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.chat-header-close:hover {
    color: #fff;
}

/* Mode switcher bar */
.chat-mode-bar {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: #17212b;
    border-bottom: 1px solid #0e1621;
    flex-shrink: 0;
}

.chat-mode-btn {
    flex: 1;
    padding: 0.4rem 0.6rem;
    background: #242f3d;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #8a9bb2;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.chat-mode-btn:hover {
    background: #2b3947;
    color: #e0e6ed;
}

.chat-mode-btn.active {
    background: #2b5278;
    color: #fff;
    border-color: #4a9eff;
    box-shadow: 0 0 10px rgba(43, 82, 120, 0.5);
}

/* Messages area */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: #0e1621;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 5px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.chat-message {
    display: flex;
    animation: msgIn 0.25s ease;
    max-width: 85%;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-bubble {
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.45;
    word-wrap: break-word;
    position: relative;
}

.chat-message.bot .chat-bubble {
    background: #182533;
    color: #e0e6ed;
    border-bottom-left-radius: 4px;
}

.chat-message.user .chat-bubble {
    background: #2b5278;
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Quick replies */
.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0 0.8rem 0.6rem;
    background: #0e1621;
    flex-shrink: 0;
}

.chat-quick-replies button {
    background: transparent;
    border: 1px solid #2b5278;
    color: #7aa3c9;
    padding: 0.35rem 0.8rem;
    border-radius: 16px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.chat-quick-replies button:hover {
    background: rgba(43, 82, 120, 0.3);
    color: #fff;
    border-color: #4a9eff;
}

/* Phone banner */
.chat-phone-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    background: #17212b;
    border-top: 1px solid #0e1621;
    animation: phoneIn 0.4s ease;
}

@keyframes phoneIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.chat-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2b5278;
    color: #fff;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(43,82,120,0.3);
}

.chat-phone-link:hover {
    background: #4a9eff;
    transform: scale(1.03);
}

.chat-phone-icon {
    display: inline-block;
    animation: phoneRing 1.2s infinite ease-in-out;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%      { transform: rotate(-12deg); }
    20%      { transform: rotate(12deg); }
    30%      { transform: rotate(-8deg); }
    40%      { transform: rotate(8deg); }
    50%      { transform: rotate(-4deg); }
    60%      { transform: rotate(4deg); }
    70%      { transform: rotate(0deg); }
}

/* Input area */
.chat-input-area {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem 0.7rem 0.7rem;
    background: #17212b;
    border-top: 1px solid #0e1621;
    flex-shrink: 0;
}

.chat-input-area input {
    flex: 1;
    padding: 0.55rem 0.9rem;
    background: #242f3d;
    border: none;
    border-radius: 18px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: background 0.2s;
}

.chat-input-area input::placeholder {
    color: #5c6e82;
}

.chat-input-area input:focus {
    background: #2b3947;
}

.chat-input-area button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #2b5278;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-input-area button:hover {
    background: #3a6ea0;
}

/* Typing indicator */
.chat-typing {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0.4rem;
    animation: msgIn 0.25s ease;
    max-width: 85%;
    align-self: flex-start;
}

.chat-typing .chat-bubble {
    background: #182533;
    color: #e0e6ed;
    border-bottom-left-radius: 4px;
    padding: 0.7rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 3px;
    min-height: 34px;
    min-width: 50px;
}

.typing-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7aa3c9;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.5); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Call action inside bubble */
.chat-call-action {
    margin-top: 0.4rem;
    padding: 0.5rem;
    background: rgba(43, 82, 120, 0.3);
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
    color: #a8c5e0;
}

.chat-call-action a {
    color: #7ec8ff;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.3rem;
    padding: 0.3rem 0.8rem;
    border-radius: 14px;
    background: rgba(43, 82, 120, 0.5);
    transition: all 0.2s;
}

.chat-call-action a:hover {
    background: rgba(43, 82, 120, 0.8);
}

@media (max-width: 480px) {
    .chat-widget {
        bottom: 12px;
        right: 12px;
    }
    .chat-window {
        width: calc(100vw - 24px);
        height: 480px;
    }
}

/* Glowing effect for highlights */
.glow-text {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.8)); }
}

@media (prefers-reduced-motion: reduce) {
    .reviews-grid {
        animation: none;
    }
}
