* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid #444;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.logo span {
    color: #d4af37;
}

/* Иконка ВКонтакте в меню */
.vk-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.vk-link img {
    width: 24px;
    height: auto;
    transition: transform 0.2s;
}

.vk-link:hover img {
    transform: scale(1.1);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: #d4af37;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4af37;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.hero {
    background: linear-gradient(rgba(10, 10, 10, 0.8), rgba(20, 20, 20, 0.9)), url('./assets/pictures/1200x600.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #f0f0f0;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #1a1a1a;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: linear-gradient(135deg, #b8860b, #8b6914);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #d4af37;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
}

.services {
    background-color: #1e1e1e;
}

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

.service-card {
    background: #2d2d2d;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #444;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

.service-icon {
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #d4af37;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: #d4af37;
    margin-bottom: 1rem;
}

.service-content p {
    color: #b0b0b0;
}

.about {
    background-color: #1a1a1a;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #b0b0b0;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #444;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
}

.contact .section-title h2 {
    color: #d4af37;
}

.contact-container {
    display: flex;
    gap: 3rem;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    color: #b0b0b0;
}

.contact-form {
    flex: 1;
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 10px;
    color: #e0e0e0;
    border: 1px solid #444;
}

.contact-form h3 {
    color: #d4af37;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #e0e0e0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #3a3a3a;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 1rem;
    color: #e0e0e0;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* === СТИЛИ ДЛЯ ЧЕКБОКСА СОГЛАСИЯ === */
.form-group.consent-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.form-group.consent-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95em;
    color: #ccc;
    line-height: 1.4;
    cursor: pointer;
    margin: 0;
}

.form-group.consent-group input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.form-group.consent-group a {
    color: #d4af37;
    text-decoration: underline;
}

footer {
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    color: white;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #444;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    color: #d4af37;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #d4af37, transparent);
}

.footer-column p {
    color: #b0b0b0;
    margin-bottom: 1rem;
}

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

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

.footer-column ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    padding-left: 10px;
}

.footer-column ul li a::before {
    content: '•';
    color: #d4af37;
    position: absolute;
    left: 0;
}

.footer-column ul li a:hover {
    color: #d4af37;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}

/* === КАРТА НА СТРАНИЦЕ КОНТАКТОВ === */
.contact-map h3 {
    margin-top: 2rem;
    color: #d4af37;
    font-size: 1.5rem;
}

#yandex-map {
    width: 100%;
    height: 300px;
    max-height: 500px;
    min-height: 200px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: 1px solid #444;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
        justify-content: center;
    }

    nav ul li {
        margin: 0 1rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }

    #yandex-map {
        height: 250px;
    }
}