* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Bitrix Admin Panel */
#panel {
    position: relative;
    z-index: 10000 !important;
}

#panel * {
    z-index: 10000 !important;
}

/* Отступ для body, если панель видна */
body.bx-admin-panel {
    padding-top: 0;
}

html, body {
    height: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 24px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: -0.5px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #d4af37;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #ffffff;
}

.hero p {
    font-size: 20px;
    color: #b0b0b0;
    margin-bottom: 48px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #d4af37;
    color: #0a0a0a;
}

.btn-primary:hover {
    background: #e5c158;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 120px 0;
    position: relative;
}

section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: #ffffff;
}

section h3 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

/* About Section */
.about {
    background: #0f0f0f;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about p {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.service-card {
    background: #141414;
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.1);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #d4af37;
}

.service-card ul {
    list-style: none;
    color: #b0b0b0;
    font-size: 15px;
}

.service-card li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #d4af37;
}

/* Portfolio Section */
.portfolio {
    background: #0f0f0f;
}

.portfolio-item {
    background: #141414;
    padding: 64px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 48px;
}

.portfolio-item h3 {
    color: #d4af37;
    font-size: 36px;
    margin-bottom: 24px;
}

.portfolio-item p {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 16px;
    line-height: 1.8;
}

.portfolio-item ul {
    list-style: none;
    margin: 32px 0;
}

.portfolio-item li {
    font-size: 17px;
    color: #b0b0b0;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.portfolio-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.portfolio-highlight {
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
    margin-top: 32px;
    padding: 24px;
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid #d4af37;
}

/* Why Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 64px;
}

.why-item {
    padding: 32px;
    background: #141414;
    border-left: 3px solid #d4af37;
}

.why-item p {
    font-size: 17px;
    color: #b0b0b0;
}

/* Process Section */
.process {
    background: #0f0f0f;
}

.process-steps {
    margin-top: 64px;
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: #d4af37;
    min-width: 80px;
}

.step-content h4 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 8px;
}

.step-content p {
    color: #b0b0b0;
    font-size: 16px;
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 48px auto 0;
}

.contact-intro {
    text-align: center;
    font-size: 20px;
    color: #b0b0b0;
    margin-bottom: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: #141414;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #e0e0e0;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    text-align: center;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-info p {
    font-size: 16px;
    color: #b0b0b0;
    margin-bottom: 16px;
}

.contact-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 24px;
}

.contact-links a {
    color: #d4af37;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-links a:hover {
    color: #e5c158;
}

/* Footer */
footer {
    background: #0a0a0a;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

footer p {
    color: #666;
    font-size: 14px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Loading state */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 16px;
    padding: 16px;
    text-align: center;
    font-size: 14px;
    display: none;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
    display: block;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    section h2 {
        font-size: 36px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item {
        padding: 32px;
    }

    .process-step {
        flex-direction: column;
        gap: 16px;
    }
}
