:root {
    --primary-color: #0055b7;
    --secondary-color: #d82f2f;
    --accent-color: #ffcc00;
    --text-color: #333;
    --light-text: #fff;
    --dark-color: #1a1a1a;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
}

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

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-gray);
}

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

/* Шапка */
.header {
    background-color: var(--dark-color);
    color: var(--light-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__logo {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

.header__logo img {
    height: 50px;
    margin-right: 15px;
}

.header__logo h1 {
    font-size: 1.5rem;
    color: var(--light-text);
}

.header__nav ul {
    display: flex;
    list-style: none;
}

.header__nav li {
    margin-left: 25px;
}

.header__nav a {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.header__nav a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Баннер */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/banner.jpg') no-repeat center center;
    background-size: cover;
    color: var(--light-text);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.banner h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.banner__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Основные секции */
.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
}

.section h2:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* О нас */
.about__content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.about__text {
    flex: 1;
}

.about__text h3 {
    color: var(--secondary-color);
    margin: 25px 0 15px;
    font-size: 1.3rem;
}

.about__text ul {
    list-style-position: inside;
    margin-top: 15px;
}

.about__text li {
    margin-bottom: 10px;
    padding-left: 10px;
}

.about__image {
    flex: 1;
    position: relative;
}

.about__image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--primary-color);
}

.image-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
    font-style: italic;
}

/* Миссия */
.mission__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mission__item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-color);
}

.mission__item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Как вступить */
.join__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.step {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.step__number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step h3 {
    margin: 15px 0 10px;
    color: var(--secondary-color);
}

.join__form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.join__form h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

/* Контакты */
.contacts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact__method {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact__method h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.contact__method p {
    margin-bottom: 10px;
}

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

.contact__method a:hover {
    text-decoration: underline;
}

/* FAQ */
.faq__items {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq__item {
    background-color: white;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq__item h3 {
    padding: 20px;
    background-color: var(--secondary-color);
    color: white;
    cursor: pointer;
    position: relative;
}

.faq__item h3:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq__item.active h3:after {
    content: '-';
}

.faq__answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq__item.active .faq__answer {
    padding: 20px;
    max-height: 500px;
}

/* Подвал */
.footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer__logo p {
    margin-bottom: 5px;
}

.footer h3 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer a {
    color: var(--light-text);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer__copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    min-width: 180px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}