.page-header {
    background: linear-gradient(135deg, #2d3033 0%, #31344e 100%);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/Back_fon.png') center/cover no-repeat;
    opacity: 0.1;
}

.page-header__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header__title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.page-header__breadcrumbs {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.page-header__breadcrumbs a {
    color: #ffd000;
    text-decoration: none;
}

.page-header__breadcrumbs a:hover {
    text-decoration: underline;
}

.page-header__breadcrumbs .separator {
    margin: 0 10px;
}

.page-header__description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* ========== HISTORY SECTION ========== */
.history-section {
    padding: 80px 0;
    background: #fff;
}

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

.history__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.history__content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2d3033;
}

.history__year {
    font-size: 1.1rem;
    color: #ffd000;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.history__content p {
    color: #6c7279;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.history__timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
    background: #2d3033;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffd000;
    min-width: 80px;
}

.timeline-text {
    color: #2d3033;
    font-weight: 500;
}

/* ========== MISSION SECTION ========== */
.mission-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section__description {
    font-size: 1.1rem;
    color: #6c7279;
    max-width: 700px;
    margin: 0 auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mission-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ffd000, #ff9800);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.mission-card:hover::before {
    transform: scaleX(1);
}

.mission-card__icon {
    margin-bottom: 20px;
    color: #ffd000;
}

.mission-card__icon svg {
    width: 50px;
    height: 50px;
}

.mission-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2d3033;
}

.mission-card p {
    color: #6c7279;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========== TEAM SECTION ========== */
.team-section {
    padding: 80px 0;
    background: #fff;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-card__image {
    overflow: hidden;
    height: 300px;
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-card__image img {
    transform: scale(1.05);
}

.team-card__name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 20px 0 5px;
    color: #2d3033;
}

.team-card__position {
    color: #ffd000;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-card__info {
    color: #6c7279;
    font-size: 0.85rem;
    margin-bottom: 15px;
    padding: 0 20px;
}

.team-card__info p {
    margin-bottom: 5px;
}

.team-card__contacts {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-card__phone,
.team-card__email {
    color: #6c7279;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.team-card__phone:hover,
.team-card__email:hover {
    color: #ffd000;
}

/* ========== ACHIEVEMENTS SECTION ========== */
.achievements-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d3033 0%, #31344e 100%);
    color: #fff;
}

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

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.achievement-item {
    padding: 20px;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffd000;
    margin-bottom: 10px;
}

.achievement-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.achievement-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== REVIEWS SECTION ========== */
.reviews-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.reviews-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
}

.reviews-slider__container {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    flex-shrink: 0;
    width: 100%;
    padding: 20px;
}

.review-card__content {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.review-card:hover .review-card__content {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.review-card__rating {
    color: #ffd000;
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-card__text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6c7279;
    font-style: italic;
    margin-bottom: 20px;
}

.review-card__author {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.review-card__author strong {
    display: block;
    font-size: 1rem;
    color: #2d3033;
    margin-bottom: 5px;
}

.review-card__author span {
    font-size: 0.85rem;
    color: #ffd000;
}

/* Кнопки навигации */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #ffd000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: #2d3033;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-prev {
    left: -60px;
}

.slider-next {
    right: -60px;
}

.slider-prev:hover,
.slider-next:hover {
    background: #e6bc00;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 208, 0, 0.3);
    cursor: pointer;
}

/* Точки навигации */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.slider-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    background: #d0d0d0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0;
}

.slider-dots button:hover {
    background: #ffd000;
    transform: scale(1.2);
}

.slider-dots button.active {
    background: #ffd000;
    transform: scale(1.2);
}

/* ========== JOIN SECTION ========== */
.join-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d3033 0%, #31344e 100%);
    color: #fff;
    text-align: center;
}

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

.join-content {
    max-width: 700px;
    margin: 0 auto;
}

.join-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.join-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1rem;
}

/* ========== CALLBACK SECTION ========== */
.callback-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d3033 0%, #31344e 100%);
    color: #fff;
}

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

.callback__inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.callback__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.callback__description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.callback__form {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #ffd000;
    box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.1);
}

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

.callback__agree {
    font-size: 0.8rem;
    color: #6c7279;
    margin-top: 1rem;
}

.callback__agree a {
    color: #ffd000;
    text-decoration: underline;
}

.callback__agree a:hover {
    text-decoration: none;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: #ffd000;
    color: #2d3033;
    border-color: #ffd000;
}

.btn-primary:hover {
    background: transparent;
    color: #ffd000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 208, 0, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 992px) {
    .history__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .slider-prev {
        left: -30px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slider-next {
        right: -30px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header__title {
        font-size: 2rem;
    }
    
    .history-section,
    .mission-section,
    .team-section,
    .achievements-section,
    .reviews-section,
    .join-section,
    .callback-section {
        padding: 60px 0;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card__image {
        height: 280px;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .achievement-number {
        font-size: 2.5rem;
    }
    
    .reviews-slider {
        padding: 0 15px;
    }
    
    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .slider-prev {
        left: -15px;
    }
    
    .slider-next {
        right: -15px;
    }
    
    .review-card__content {
        padding: 25px;
    }
    
    .review-card__text {
        font-size: 1rem;
    }
    
    .slider-dots {
        gap: 10px;
        margin-top: 20px;
    }
    
    .slider-dots button {
        width: 10px;
        height: 10px;
    }
    
    .join-content h2 {
        font-size: 1.75rem;
    }
    
    .callback__form {
        padding: 25px;
    }
    
    .callback__title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .page-header__title {
        font-size: 1.75rem;
    }
    
    .page-header__description {
        font-size: 1rem;
    }
    
    .history__content h2 {
        font-size: 1.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .timeline-year {
        min-width: auto;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-prev,
    .slider-next {
        display: none !important;
    }
    
    .review-card__content {
        padding: 20px;
    }
    
    .review-card__rating {
        font-size: 1rem;
    }
    
    .review-card__text {
        font-size: 0.9rem;
    }
    
    .slider-dots {
        gap: 8px;
        margin-top: 15px;
    }
    
    .slider-dots button {
        width: 8px;
        height: 8px;
    }
    
    .join-content h2 {
        font-size: 1.5rem;
    }
    
    .join-content p {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .callback__form {
        padding: 20px;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission-card,
.team-card,
.achievement-item,
.review-card,
.timeline-item {
    animation: fadeInUp 0.5s ease forwards;
}

/* ========== DARK MODE SUPPORT ========== */
@media (prefers-color-scheme: dark) {
    .history-section {
        background: #1a1a1a;
    }
    
    .history__content h2 {
        color: #fff;
    }
    
    .history__content p {
        color: #b0b0b0;
    }
    
    .timeline-item {
        background: #2d2d2d;
    }
    
    .timeline-text {
        color: #fff;
    }
    
    .mission-section {
        background: #1a1a1a;
    }
    
    .mission-card {
        background: #2d2d2d;
    }
    
    .mission-card h3 {
        color: #fff;
    }
    
    .mission-card p {
        color: #b0b0b0;
    }
    
    .team-section {
        background: #1a1a1a;
    }
    
    .team-card {
        background: #2d2d2d;
    }
    
    .team-card__name {
        color: #fff;
    }
    
    .team-card__info {
        color: #b0b0b0;
    }
    
    .team-card__phone,
    .team-card__email {
        color: #b0b0b0;
    }
    
    .reviews-section {
        background: #1a1a1a;
    }
    
    .review-card__content {
        background: #2d2d2d;
    }
    
    .review-card__text {
        color: #b0b0b0;
    }
    
    .review-card__author strong {
        color: #fff;
    }
    
    .callback__form {
        background: #2d2d2d;
    }
    
    .form-control {
        background: #1a1a1a;
        border-color: #404040;
        color: #e0e0e0;
    }
    
    .form-control:focus {
        border-color: #ffd000;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .page-header,
    .callback-section,
    .join-section,
    .reviews-slider,
    .scroll-top,
    .burger,
    .footer {
        display: none;
    }
    
    .mission-card,
    .team-card,
    .achievement-item,
    .review-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .achievements-section {
        background: #fff;
        color: #000;
    }
    
    .achievement-number {
        color: #000;
    }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus {
    outline: 2px solid #ffd000;
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid #ffd000;
    outline-offset: 2px;
}