

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px; 
    height: 100%;
    text-decoration: none;
}

.site-logo {
    height: 42px; 
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}


.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--dark-bg); 
}

.logo span {
    color: var(--primary-color); 
}

.logo-link:hover .site-logo {
    transform: scale(1.05);
}

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

:root {
    --primary-color: #0052cc;
    --secondary-color: #00c853;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-main: #334155;
    --text-light: #64748b;
}

body {
    color: var(--text-main);
    background-color: #fff;
    line-height: 1.6;
}

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

/* Шапка сайта */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--dark-bg);
}

.logo span {
    color: var(--primary-color);
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Главный экран */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 160px 0 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero h1 span {
    color: #38bdf8;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.badge {
    display: inline-block;
    background-color: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #0043a8;
    transform: translateY(-2px);
}

/* Разделы */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
    color: var(--dark-bg);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

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

.format-card {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    border-top: 4px solid var(--primary-color);
}

.format-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

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

.service-block {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.service-block h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.service-list {
    list-style: none;
}

.service-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.service-list li strong {
    color: var(--dark-bg);
    display: block;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.case-card {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-card h4 {
    color: #38bdf8;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-item {
    max-width: 300px;
}

.feature-item h5 {
    font-size: 1.2rem;
    color: #38bdf8;
    margin-bottom: 8px;
}

.contact-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 12px;
}

.contact-box h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
}


.contact-buttons-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.phone-btn {
    display: inline-block;
    background-color: var(--secondary-color); 
    color: #fff;
    border: none;
    padding: 16px 35px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.2);
}

.phone-btn:hover {
    background-color: #00a844;
    transform: translateY(-2px);
}

.phone-active {
    background-color: var(--primary-color) !important; 
    box-shadow: 0 4px 15px rgba(0, 82, 204, 0.2);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.contact-links a {
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.contact-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #38bdf8;
    border-color: #38bdf8;
}

@media (max-width: 480px) {
    .contact-links {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .contact-links a {
        width: 100%;
        text-align: center;
    }
    .phone-btn {
        width: 100%;
        text-align: center;
    }
}


footer {
    background-color: #090d16;
    color: #64748b;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}


@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    nav { display: none; }
    .header-wrap { justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
}
