/* ===== CSS Reset & Базовые стили ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.dark-bg {
    background-color: #0a2540;
    color: #f0f0f0;
}

/* ===== Типографика ===== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.dark-bg .section-subtitle {
    color: #ccc;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.highlight {
    color: #d4af37;
}

p {
    margin-bottom: 1rem;
}

/* ===== Кнопки ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: #1e3a8a;
    color: white;
}

.btn-primary:hover {
    background-color: #133a7c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.btn-secondary:hover {
    background-color: #1e3a8a;
    color: white;
}

.btn-small {
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-telegram {
    background-color: #0088cc;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-telegram:hover {
    background-color: #0077b5;
}

/* ===== Шапка ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #0a2540;
    white-space: nowrap;
}

.logo span {
    color: #d4af37;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    color: #1e3a8a;
}

.header-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 20px;
}

.header-phone {
    font-weight: 600;
    color: #0a2540;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 5px;
    transition: color 0.3s;
    white-space: nowrap;
}

.header-phone:hover {
    color: #1e3a8a;
}

.header-messengers {
    display: flex;
    gap: 12px;
}

.messenger-link {
    color: #555;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.messenger-link:hover {
    color: #0088cc;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #0a2540;
    cursor: pointer;
    padding: 5px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0a2540 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
    padding: 180px 0 120px;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2600&q=80') center/cover no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2.5rem;
}

.feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.feature i {
    color: #d4af37;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Benefits Section ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-top: 4px solid #1e3a8a;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: #0a2540;
    margin-bottom: 15px;
}

.benefit-card p {
    margin-bottom: 10px;
}

.benefit-card strong {
    color: #1e3a8a;
}

/* ===== Team Section ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.team-icon {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.team-card h3 {
    color: #fff;
    margin-bottom: 15px;
}

/* ===== Process Section ===== */
.process-timeline {
    max-width: 800px;
    margin: 50px auto 0;
}

.process-step {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #d4af37;
    color: #0a2540;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-right: 25px;
    font-family: 'Playfair Display', serif;
}

.step-content {
    flex-grow: 1;
    padding-top: 10px;
}

.step-content h3 {
    color: #0a2540;
}

/* ===== For Whom Section ===== */
.for-whom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.for-whom-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.for-whom-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.for-whom-icon {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.for-whom-card h3 {
    color: #fff;
    margin-bottom: 15px;
}

/* ===== About Section ===== */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-photo img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-contacts {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.contact-link {
    display: block;
    color: #1e3a8a;
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #0a2540;
    text-decoration: underline;
}

.contact-link i {
    margin-right: 10px;
    width: 20px;
}

/* ===== Form Section ===== */
.form-wrapper {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}

input, select, textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border 0.3s;
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-footer {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
}

.privacy-note {
    font-size: 0.9rem;
    color: #777;
    margin-top: 15px;
    line-height: 1.5;
}

.privacy-note a {
    color: #1e3a8a;
    text-decoration: none;
}

.privacy-note a:hover {
    text-decoration: underline;
}

.success-message {
    text-align: center;
    padding: 40px;
    background: #f0fff4;
    border-radius: 12px;
    border: 2px solid #38a169;
    margin-top: 30px;
    display: none;
}

.success-message i {
    font-size: 4rem;
    color: #38a169;
    margin-bottom: 20px;
}

.success-message h3 {
    color: #2d3748;
    margin-bottom: 10px;
}

.success-message p {
    color: #4a5568;
}

.form-alternative {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.alternative-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ===== Footer ===== */
.footer {
    background-color: #0a2540;
    color: #f0f0f0;
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-link {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.6;
}

.copyright {
    margin-bottom: 10px;
}

/* ===== Адаптивность ===== */
@media (max-width: 1100px) {
    .header-contacts {
        display: none;
    }
}

@media (max-width: 992px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-photo {
        max-width: 400px;
        margin: 0 auto;
    }
    .hero {
        padding: 150px 0 80px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
        transition: left 0.3s ease;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        z-index: 999;
        overflow-y: auto;
    }
    .nav.active {
        left: 0;
    }
    .menu-toggle {
        display: block;
    }
    .hero-buttons, .alternative-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        width: 100%;
        max-width: 300px;
    }
    .contact-form {
        grid-template-columns: 1fr;
    }
    .form-wrapper {
        padding: 30px 25px;
    }
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    .feature {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .benefit-card, .team-card, .for-whom-card {
        padding: 20px;
    }
    .section {
        padding: 60px 0;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
}