/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1a2332;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #c9a876;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #d4b887;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: #c9a876;
    color: #1a2332;
}

.btn-primary:hover {
    background-color: #d4b887;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #c9a876;
    border: 2px solid #c9a876;
}

.btn-secondary:hover {
    background-color: #c9a876;
    color: #1a2332;
}

/* Header */
.header {
    background-color: #2c3e50;
    border-bottom: 3px solid #c9a876;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0;
}

.logo a {
    color: inherit;
}

.logo a:hover {
    color: inherit;
}

.award {
    color: #c9a876;
}

.tagline {
    font-size: 0.9rem;
    color: #bdc3c7;
    font-style: italic;
    margin: 0;
}

/* Navigation */
.nav {
    position: relative;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ecf0f1;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: lowercase;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #c9a876;
    background-color: rgba(201, 168, 118, 0.1);
}

/* Main Content */
main {
    margin-top: 100px;
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #c9a876;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #bdc3c7;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-header p {
    font-size: 1.2rem;
    color: #c9a876;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: #34495e;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    color: #c9a876;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #ecf0f1;
    line-height: 1.7;
}

.values-list {
    list-style: none;
    margin-top: 1rem;
}

.values-list li {
    padding: 8px 0 8px 20px;
    position: relative;
    color: #ecf0f1;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c9a876;
    font-weight: bold;
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background-color: #2c3e50;
    border-radius: 12px;
    border: 2px solid #c9a876;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #c9a876;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #ecf0f1;
    font-weight: 500;
}

/* News Section */
.news {
    padding: 6rem 0;
    background-color: #1a2332;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: #2c3e50;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

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

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: #c9a876;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-content h3 {
    margin: 0.5rem 0 1rem;
    color: #ffffff;
}

.news-content h3 a {
    color: inherit;
}

.news-content h3 a:hover {
    color: #c9a876;
}

.news-content p {
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.read-more {
    color: #c9a876;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: #d4b887;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: #34495e;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background-color: #2c3e50;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #4a5f7a;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(201, 168, 118, 0.1);
}

.faq-icon {
    font-size: 1.5rem;
    color: #c9a876;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #bdc3c7;
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    padding: 3rem 0 1rem;
    border-top: 3px solid #c9a876;
}

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

.footer-section h3 {
    color: #c9a876;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5f7a;
    color: #95a5a6;
}

/* Article Styles */
.article-main {
    margin-top: 100px;
    padding: 2rem 0 4rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #c9a876;
}

.breadcrumb span {
    color: #ffffff;
}

.article {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.article-header {
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.article-meta time {
    color: #c9a876;
}

.article-category {
    background-color: #c9a876;
    color: #1a2332;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.article h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.article-lead {
    font-size: 1.2rem;
    color: #c9a876;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.article-image {
    margin: 2rem 0;
    text-align: center;
}

.article-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.article-image caption {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #bdc3c7;
    font-style: italic;
}

.article-content {
    line-height: 1.8;
}

.article-content p {
    color: #ecf0f1;
    margin-bottom: 1.5rem;
}

.article-content h2 {
    color: #c9a876;
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.article-content h3 {
    color: #ffffff;
    margin: 1.5rem 0 1rem;
}

.article-content ul {
    margin: 1rem 0 1.5rem 2rem;
    color: #ecf0f1;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    background-color: #2c3e50;
    border-left: 4px solid #c9a876;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 1rem;
}

.article-content blockquote cite {
    color: #c9a876;
    font-weight: 500;
    font-style: normal;
}

.article-highlight {
    background-color: #34495e;
    border: 2px solid #c9a876;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.article-highlight h3 {
    color: #c9a876;
    margin-bottom: 1rem;
}

.article-highlight p {
    margin-bottom: 1.5rem;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #4a5f7a;
}

.article-share span {
    color: #bdc3c7;
    margin-right: 1rem;
}

.share-link {
    color: #c9a876;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    background-color: #2c3e50;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.share-link:hover {
    background-color: #34495e;
}

/* Related Articles */
.related-articles {
    max-width: 800px;
    margin: 0 auto;
}

.related-articles h2 {
    margin-bottom: 2rem;
    color: #ffffff;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background-color: #2c3e50;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
}

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 1.5rem;
}

.related-content h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.related-content p {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.related-content time {
    color: #c9a876;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header */
    .header-content {
        position: relative;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 1001;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 1.8rem;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

    .nav-toggle:hover {
        background-color: rgba(201, 168, 118, 0.1);
    }

    .nav-toggle:focus {
        outline: 2px solid #c9a876;
        outline-offset: 2px;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: auto;
        width: 280px;
        background-color: #2c3e50;
        border: 2px solid #c9a876;
        border-radius: 8px;
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #4a5f7a;
        color: #ecf0f1;
        font-weight: 500;
        text-transform: lowercase;
        transition: all 0.3s ease;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(201, 168, 118, 0.1);
        color: #c9a876;
    }

    .nav-link:last-child {
        border-bottom: none;
        border-radius: 0 0 6px 6px;
    }

    .nav-link:first-child {
        border-radius: 6px 6px 0 0;
    }

    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Hero */
    .hero {
        padding: 2rem 0 4rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        height: 250px;
    }

    /* About */
    .about {
        padding: 4rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* News */
    .news {
        padding: 4rem 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .faq {
        padding: 4rem 0;
    }

    /* Sections */
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Article */
    .article h1 {
        font-size: 2rem;
    }

    .article-lead {
        font-size: 1.1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    /* Buttons */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-text h2 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-answer p {
        padding: 0 1rem 1rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        margin-bottom: 1rem;
    }
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth animations */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard navigation */
.btn:focus,
.nav-link:focus,
.faq-question:focus {
    outline: 2px solid #c9a876;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .nav,
    .footer,
    .btn {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    main {
        margin-top: 0;
    }
}

/* Общие */
.contact-form { margin-block: 1.5rem 2rem; padding: 1.25rem; border: 1px solid rgba(255,255,255,.15); border-radius: 1rem; background: rgba(255,255,255,.03); backdrop-filter: blur(2px); }
.contact-form .form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .contact-form .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form .form-group { margin-bottom: .9rem; }
.contact-form label { display: block; font-weight: 600; margin-bottom: .35rem; }
.contact-form .req { opacity: .85; }

/* Инпуты */
.contact-form .form-control{ width:100%; padding:.75rem .9rem; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.18); border-radius:.75rem; color:inherit; outline:0; }
.contact-form .form-control::placeholder{ opacity:.6; }
.contact-form .form-control:focus{ border-color:rgba(255,255,255,.35); box-shadow:0 0 0 .2rem rgba(255,255,255,.07); }

/* SELECT — тёмная тема + своя стрелка */
.contact-form select.form-control{
    -webkit-appearance:none; appearance:none;
    padding-right:2.5rem;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right .9rem center;
    background-size:1.1rem;
    color:inherit;
}
.contact-form select.form-control::-ms-expand{ display:none; } /* старый IE/Edge */
.contact-form select.form-control:not(.has-value){ color:rgba(255,255,255,.7); } /* плейсхолдер светлее */

/* Выпадающий список (поддерживается большинством браузеров) */
.contact-form select.form-control option{
    background-color:#1b2432;
    color:#fff;
}

/* Чекбокс, статус, карта */
.contact-form .check{ display:flex; gap:.5rem; align-items:flex-start; font-size:.95rem; }
.contact-form .check input{ margin-top:.25rem; }
.contact-form .hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.contact-form .form-actions{ display:flex; align-items:center; gap:1rem; margin-top:.5rem; }
.contact-form .form-note{ opacity:.7; font-size:.9rem; }
.contact-form .btn.btn-primary{ padding-inline:1.25rem; border-radius:.85rem; }

.form-status{ margin-top:1rem; padding:.75rem 1rem; border-radius:.75rem; display:none; }
.form-status.show{ display:block; }
.form-status.success{ border:1px solid rgba(88,199,112,.4); background:rgba(88,199,112,.08); }
.form-status.error{ border:1px solid rgba(235,87,87,.35); background:rgba(235,87,87,.08); }

.map-embed{ margin-top:1rem; border:1px solid rgba(255,255,255,.15); border-radius:1rem; overflow:hidden; background:rgba(255,255,255,.03); }
.map-embed iframe{ display:block; width:100%; aspect-ratio:16/9; border:0; }
.map-embed .map-link{ margin:.5rem .75rem .75rem; }
.map-embed .map-link a{ text-decoration:underline; }