:root {
    --bg-dark: #0a0d14;
    --bg-card: #121723;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-glow: rgba(59, 130, 246, 0.4);
    --accent: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.3);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --success: #10b981;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Навигация */
header {
    background: rgba(18, 23, 35, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero секция */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    text-align: center;
    background: radial-gradient(circle at top, rgba(139, 92, 246, 0.15), transparent 60%);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 25px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

/* Блоки преимуществ */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
}

/* Таблица цен */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 2rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pricing-table th, .pricing-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.pricing-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
}

.pricing-table td {
    color: var(--text-muted);
}

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

.btn-table {
    padding: 0.4rem 1rem;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Отзывы */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Форма заказа */
.booking-section {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-card));
    border-top: 1px solid var(--border);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-main);
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-size: 0.85rem;
}

.contact-form button[type="submit"] {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background: var(--primary-hover);
}

/* FAQ */
details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1.2rem;
    transition: all 0.3s ease;
}

details[open] {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

summary {
    font-weight: 600;
    cursor: pointer;
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Футер */
.site-footer {
    background: #070a0f;
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-grid h3, .footer-grid h4 {
    margin-bottom: 1.2rem;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 0.8rem;
}

.footer-grid a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-grid a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Карты */
.map-container {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

/* Cookie Баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    z-index: 1000;
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-container p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cookie-container a {
    color: var(--primary);
    text-decoration: underline;
}

/* Ошибки */
.error-page {
    padding: 10rem 0;
    text-align: center;
}

.error-page h1 {
    font-size: 6rem;
    color: var(--accent);
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: var(--bg-card);
        padding: 2rem;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
}