/* ===== ОБЩИЕ СТИЛИ ДЛЯ ВСЕХ СТРАНИЦ ===== */
@font-face { font-family: 'Montserrat'; src: url('/static/fonts/Montserrat-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/static/fonts/Montserrat-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/static/fonts/Montserrat-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/static/fonts/Montserrat-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/static/fonts/Montserrat-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/static/fonts/Montserrat-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('/static/fonts/Roboto-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('/static/fonts/Roboto-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('/static/fonts/Roboto-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('/static/fonts/Roboto-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

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

body { 
    font-family: 'Roboto', sans-serif; 
    background: #ffffff;
    color: #0f172a; 
    line-height: 1.5;
    overflow-x: hidden;
}

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

/* ===== HEADER ===== */
.site-header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: relative;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img { max-width: 180px; height: auto; }

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-nav a {
    color: #475569;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.header-nav a:hover { color: #3b82f6; }

.header-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white !important;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 13px !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.4);
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: radial-gradient(ellipse at top, #dbeafe 0%, #ffffff 60%);
    padding: 80px 20px;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
    color: #0f172a;
}

.page-hero h1 .accent {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CONTENT SECTION ===== */
.content-section {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.content-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.content-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 35px 0 15px 0;
    padding-left: 15px;
    border-left: 4px solid #3b82f6;
}

.content-card h2:first-child { margin-top: 0; }

.content-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    margin: 20px 0 10px 0;
}

.content-card p {
    margin-bottom: 14px;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

.content-card ul {
    margin: 10px 0 20px 25px;
    color: #475569;
}

.content-card ul li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
}

.meta-info {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.meta-info strong { color: #3b82f6; }

.highlight-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #3b82f6;
    padding: 18px 22px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 14px;
    color: #1e40af;
}

.contacts-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
    border-radius: 16px;
    padding: 25px;
    margin-top: 30px;
}

.contacts-box h3 {
    color: #1e40af;
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 15px;
}

.contacts-box p { margin-bottom: 8px; font-size: 14px; }

.contacts-box a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.contacts-box a:hover { text-decoration: underline; }

/* ===== SHARE WIDGET ===== */
.share-widget {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    margin: 40px auto;
    max-width: 700px;
}

.share-widget-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.vk {
    background: #4C75A3;
    box-shadow: 0 4px 12px rgba(76, 117, 163, 0.3);
}

.share-btn.tg {
    background: #0088cc;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

/* ===== SERVICES BLOCK ===== */
.services-block {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 90px 20px 50px;
}

.services-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.services-column h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 22px;
    color: #60a5fa;
    letter-spacing: 2px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: white;
    text-decoration: none;
    transition: transform 0.2s;
}

.service-item:hover { transform: translateX(5px); }

.service-icon {
    width: 40px; height: 40px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-text {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.footer-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 12px;
}

.footer-link:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .services-grid { grid-template-columns: 1fr; gap: 35px; }
    .header-nav { gap: 15px; }
    .content-card { padding: 30px 20px; }
}

@media (max-width: 600px) {
    .header-container { flex-direction: column; gap: 15px; }
    .page-hero { padding: 50px 15px; }
}
