﻿/* RESET & FONTS */
:root {
    --primary: #002E44;
    --accent: #0d6efd;
    --text-main: #222;
    --text-light: #515252;
    --bg-light: #f8f9fa;
    --font-stack: 'Arial', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; } /* Плавная прокрутка к якорю */
body { font-family: var(--font-stack); color: var(--text-main); line-height: 1.5; background: #fff; font-size: 16px; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 15px; }

/* HEADER */
header { background: #fff; border-bottom: 1px solid #e0e0e0; position: sticky; top: 0; z-index: 1000; }
.top-bar { background: var(--primary); color: #fff; padding: 10px 0; font-size: 0.8rem; }
.header-main { padding: 15px 0; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: -1px; }
.nav-menu { display: flex; gap: 20px; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; color: var(--text-light); }
.nav-menu a:hover { color: var(--accent); }

/* HERO ARTICLE */
.main-content { padding: 40px 0; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.article-meta { color: var(--accent); font-weight: bold; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 10px; }
.article-date { color: #777; font-weight: normal; margin-left: 10px; text-transform: none; }

h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; color: #000; font-weight: 700; }
h2 { font-size: 1.5rem; margin: 30px 0 15px; color: #000; }

.content-text p { margin-bottom: 20px; font-size: 1.1rem; color: #333; }
.content-text b { font-weight: 700; }
.editorial-note { background: #f0f4f8; border-left: 4px solid var(--accent); padding: 15px; font-style: italic; margin: 20px 0; }

/* STEPS SECTION (NEW) */
.steps-container { margin: 40px 0; border-top: 1px solid #eee; padding-top: 20px; }
.step-item { margin-bottom: 40px; }
.step-header { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; font-weight: bold; margin-bottom: 10px; }
.check-icon { color: green; font-size: 1.5rem; }
.step-link { 
    color: var(--accent); 
    text-decoration: underline; 
    font-weight: bold; 
    font-size: 1.1rem; 
    display: block; 
    margin-bottom: 15px; 
}
.step-link:hover { color: #0056b3; }
.step-image { border: 1px solid #ddd; padding: 5px; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

/* SIDEBAR */
.sidebar-title { font-size: 1.2rem; border-bottom: 2px solid var(--primary); padding-bottom: 10px; margin-bottom: 20px; text-transform: uppercase; }
.sidebar-item { display: flex; gap: 10px; margin-bottom: 20px; }
.sidebar-item img { width: 100px; height: 70px; object-fit: cover; }
.sidebar-item h4 { font-size: 0.95rem; line-height: 1.3; }

/* FORM SECTION */
.form-wrapper { background: #f8f9fa; padding: 30px; border-radius: 8px; border: 1px solid #ddd; margin: 40px 0; scroll-margin-top: 100px; }
.form-title { text-align: center; margin-bottom: 20px; font-size: 1.5rem; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
.btn-submit { 
    display: block; width: 100%; background: var(--accent); color: #fff !important; 
    padding: 15px; border: none; border-radius: 4px; font-size: 1.1rem; font-weight: bold; cursor: pointer; text-align: center;
}
.btn-submit:hover { background: #0056b3; }

.success-message { display: none; text-align: center; background: #d4edda; color: #155724; padding: 20px; border-radius: 5px; margin-bottom: 20px; }

/* FOOTER */
footer { background: var(--primary); color: #fff; padding: 40px 0; margin-top: 50px; font-size: 0.9rem; }
.footer-links a { color: #ccc; margin-right: 15px; }
.disclaimer { font-size: 0.75rem; color: #888; margin-top: 20px; line-height: 1.4; }

/* MOBILE */
@media (max-width: 768px) {
    .main-content { grid-template-columns: 1fr; }
    .nav-menu { display: none; }
    h1 { font-size: 1.8rem; }
    .sidebar { display: none; }
}
