* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
    color: #1a2a3a;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo, .nav-link, .btn {
    font-family: 'Playfair Display', serif;
}

.accent {
    color: #e8a020;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 860px) {
    .container { padding: 0 24px; }
}
@media (max-width: 520px) {
    .container { padding: 0 16px; }
}

/* HEADER */
.header {
    background: #0a1a2a;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #e8a020;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.logo-img {
    height: 120px;
    width: auto;
    transition: transform 0.2s;
}
.logo-img:hover { transform: scale(1.02); }

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-link {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #d0d8e0;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 4px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e8a020;
    transition: width 0.2s;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-link:hover,
.nav-link.active {
    color: #e8a020;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    color: #e8a020;
    background: rgba(232, 160, 32, 0.1);
    padding: 8px 16px;
    border-radius: 40px;
    transition: all 0.2s;
}
.header-phone:hover {
    background: #e8a020;
    color: #0a1a2a;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.2s;
    border-radius: 2px;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 860px) {
    .mobile-toggle { display: flex; }
    .nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #0a1a2a;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border-bottom: 1px solid #e8a020;
    }
    .nav.active { display: block; }
    .nav-list { flex-direction: column; align-items: center; gap: 16px; }
    .header-phone span { display: none; }
    .header-phone { padding: 10px; }
}

/* PAGES */
.page {
    display: none;
    animation: fadeIn 0.3s ease;
}
.page.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* HERO */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #e8edf2 0%, #dce3ea 100%);
    text-align: center;
}
.hero-content-centered {
    max-width: 800px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 160, 32, 0.12);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #e8a020;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0a1a2a;
}
.hero p {
    font-size: 1.05rem;
    color: #3a4a5a;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}
.btn-primary {
    background: #e8a020;
    color: #0a1a2a;
    box-shadow: 0 4px 12px rgba(232, 160, 32, 0.3);
}
.btn-primary:hover {
    background: #d48c10;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 160, 32, 0.4);
}
.btn-outline {
    background: transparent;
    border: 2px solid #e8a020;
    color: #e8a020;
}
.btn-outline:hover {
    background: #e8a020;
    color: #0a1a2a;
    transform: translateY(-2px);
}

/* ICONS SECTION */
.icons-section {
    padding: 60px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e8a020;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: #0a1a2a;
}
.section-description {
    font-size: 1rem;
    color: #3a4a5a;
    max-width: 600px;
    margin: 12px auto 0;
}
.icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.icon-card {
    background: white;
    text-align: center;
    padding: 32px 20px;
    border-radius: 20px;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e1e8ef;
}
.icon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(232, 160, 32, 0.1);
    border-color: #e8a020;
}
.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(232, 160, 32, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s;
}
.icon-card:hover .icon-wrapper { background: #e8a020; }
.icon-wrapper i {
    font-size: 28px;
    color: #e8a020;
    transition: all 0.3s;
}
.icon-card:hover .icon-wrapper i { color: white; }
.icon-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.icon-card p {
    font-size: 0.85rem;
    color: #5a6a7a;
}

/* INFO SECTION */
.info-section {
    padding: 60px 0;
    background: white;
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.info-card {
    background: #f8fafc;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e1e8ef;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(232, 160, 32, 0.08);
    border-color: #e8a020;
}
.info-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.info-card:hover .info-image img {
    transform: scale(1.05);
}
.info-content {
    padding: 24px;
}
.info-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #e8a020;
    margin-bottom: 12px;
    font-weight: 500;
}
.info-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0a1a2a;
    margin-bottom: 12px;
    line-height: 1.4;
}
.info-content p {
    font-size: 0.9rem;
    color: #3a4a5a;
    line-height: 1.6;
    margin-bottom: 16px;
}
.info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e8a020;
    text-decoration: none;
    transition: gap 0.2s;
}
.info-link:hover {
    gap: 12px;
    color: #d48c10;
}

/* PAGE HERO */
.page-hero {
    background: #0a1a2a;
    padding: 60px 0 40px;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 12px;
    color: white;
}
.page-hero p {
    color: #e8a020;
}

/* ANNOUNCEMENTS */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}
.announcement-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}
.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.announcement-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* COMING SOON */
.coming-soon {
    text-align: center;
    padding: 80px 20px;
}
.coming-soon-icon {
    width: 100px;
    height: 100px;
    background: rgba(232, 160, 32, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.coming-soon-icon i {
    font-size: 48px;
    color: #e8a020;
}
.coming-soon h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #0a1a2a;
}
.coming-soon p {
    color: #5a6a7a;
    margin-bottom: 24px;
}
.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.loading-dots span {
    width: 10px;
    height: 10px;
    background: #e8a020;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* TWO COLUMNS */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    padding: 60px 0;
}
.main-content {
    background: white;
    border-radius: 28px;
    padding: 28px 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e1e8ef;
}
.main-content h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #0a1a2a;
}
.sidebar {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 24px 20px;
    border: 1px solid #e1e8ef;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.vertical-menu {
    list-style: none;
}
.vertical-menu li {
    margin-bottom: 14px;
}
.vertical-menu a {
    text-decoration: none;
    color: #3a4a5a;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 14px;
    transition: all 0.2s;
    background-color: #f8fafc;
}
.vertical-menu a i {
    width: 24px;
    color: #e8a020;
}
.vertical-menu a:hover {
    background-color: #eef2f6;
    transform: translateX(4px);
}
.vertical-menu a.active-sidebar {
    background-color: rgba(232, 160, 32, 0.1);
    color: #e8a020;
    font-weight: 600;
}

/* MAP */
.yandex-map {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    margin: 20px 0 10px;
    border: 1px solid #dee2e6;
}
.yandex-map iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}
.map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e8a020;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px dashed #e8a020;
    transition: all 0.2s;
}
.map-link:hover {
    gap: 12px;
    color: #d48c10;
}

/* ADDRESS & PHONES */
.addr-line {
    background: #f4f9f0;
    padding: 16px 20px;
    border-radius: 20px;
    margin-bottom: 18px;
}
.phone-line {
    font-size: 1.1rem;
    padding: 14px 18px;
    background: #f8fafc;
    border-radius: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.phone-line strong {
    color: #e8a020;
}

/* FOOTER */
.footer {
    background: #0a1a2a;
    color: #8a9aaa;
    padding: 40px 0;
    margin-top: 60px;
}
.footer-content {
    text-align: center;
}
.footer-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #e8a020;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.footer-links a {
    color: #8a9aaa;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #e8a020;
}
.footer-copyright p {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* SCROLL TOP */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #e8a020;
    color: #0a1a2a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(232, 160, 32, 0.3);
}
.scroll-top:hover {
    background: #d48c10;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(232, 160, 32, 0.4);
}
.scroll-top.show {
    opacity: 1;
    visibility: visible;
}
@media (max-width: 768px) {
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 860px) {
    .two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sidebar {
        position: static;
        order: 2;
    }
    .icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .icon-card {
        padding: 20px 12px;
    }
    .icon-wrapper {
        width: 50px;
        height: 50px;
    }
    .icon-wrapper i {
        font-size: 20px;
    }
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 520px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn {
        justify-content: center;
        width: 100%;
        max-width: 250px;
    }
    .phone-line {
        flex-direction: column;
        gap: 8px;
    }
    .icons-grid {
        grid-template-columns: 1fr;
    }
    .info-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}
/* КОНТАКТЫ В ШАПКЕ (ТЕЛЕФОН + ПОЧТА) */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-email {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    color: #e8a020;
    background: rgba(232, 160, 32, 0.1);
    padding: 8px 16px;
    border-radius: 40px;
    transition: all 0.2s;
}

.header-email:hover {
    background: #e8a020;
    color: #0a1a2a;
}

/* Адаптив для мобильных — скрываем контакты */
@media (max-width: 860px) {
    .header-contacts {
        display: none;
    }
}