:root {
    --color-primary: #75d08d;
    --color-bg: #181c27;
    --color-bg-secondary: #fff;
    --color-text: #000;
    --color-text-secondary: #fff;
    --color-text-secondary: #b1b5c3;
}

body {
    font-family: Arial, sans-serif;
    background: var(--color-bg);
    margin: 0;
    padding: 0;
    color: var(--color-text);
}

header {
    background: var(--color-bg);
    color: var(--color-text);
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.header_mobile {
    background: var(--color-bg-secondary);
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

.header_link {
    display: block;
    width: 100%;

}

.header_img {
    height: 100%;
    width: 100%;
    height: auto;
}
.header_img_mobile {
    height: 70px;
}

nav {
    background: var(--color-primary);
    padding: 10px 0;
    text-align: center;
}

nav a {
    color: #222;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

.container {
    max-width: 900px;
    margin: 0px auto;
    background: var(--color-bg-secondary);
    padding: 10px 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.8;
    color: var(--color-text);
}

h1,
h2,
h3 {
    color: var(--color-text);
    margin-top: 1.5em;
}

h1 {
    font-size: 2.2em;
    margin-top: 0.5em;
}

h2 {
    text-align: center;
    font-size: 1.5em;
}

h3 {
    font-size: 1.2em;
}

p {
    margin: 10px;
    text-align: justify;
}

.btn {
    display: inline-block;
    background: #75d08d;
    color: #fff;
    padding: 12px 28px;
    border-radius: 5px;
    font-size: 1.1em;
    text-decoration: none;
    margin: 20px 0;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.btn:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
    transform: translateY(-4px);
}

.btn_mobile_size_xxl {
    width: 100%;
    margin: 0;
    padding: 12px 0px;
    border-radius: 0px;
}

.btn_mobile_size_xxl:hover {
    transform: translateY(0);
}

ul,
ol {
    margin-left: 1.5em;
}

ol,
ul {
    width: 100%;
    padding-left: 0;
    margin-left: 0;
    list-style: none;
    list-style-position: inside;
}

ol {
    counter-reset: custom;
}

ol>li {
    position: relative;
    padding-left: 2.2em;
    margin-bottom: 0.5em;
    color: inherit;
}

ol>li:before {
    content: counter(custom) ".";
    counter-increment: custom;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.1em;
}

ul>li {
    position: relative;
    padding-left: 2.2em;
    margin-bottom: 0.5em;
    color: inherit;
}

ul>li:before {
    content: '';
    display: inline-block;
    width: .5em;
    height: .5em;
    border-radius: 50%;
    background: var(--color-primary);
    position: absolute;
    left: 0.1em;
    top: 0.6em;
}

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
}

.logo {
    width: 180px;
    height: 40px;
    background: #eee;
    display: inline-block;
    border-radius: 6px;
    margin-bottom: 10px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    color: #1a5d99;
    font-size: 1.3em;
    letter-spacing: 2px;
}

.footer {
    background: var(--color-bg-primary);
    color: var(--color-text-secondary);
    text-align: center;
    padding: 50px 0 50px 0;
    margin-top: 0px;
    font-size: 0.95em;
    width: 100%;
}

.center_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Показываем первый header только на десктопе, второй скрываем */
header:nth-of-type(1) { display: block; }
header:nth-of-type(2) { display: none; }

/* На мобильных: скрываем первый, показываем второй */
@media (max-width: 600px) {
  header:nth-of-type(1) { display: none; }
  header:nth-of-type(2) { display: flex; }
}

@media (max-width: 600px) {
    .container {
        padding: 15px 5vw;
    }

    h1 {
        font-size: 1.3em;
    }

    h2 {
        font-size: 1.1em;
    }
}