/* Подключение локального шрифта Orbitron с кириллицей */
@font-face {
    font-family: 'Orbitron', 'Inter', sans-serif;
    src: url('/local/templates/i-navyx-ru/font/orbitron.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
/* При необходимости добавьте другие начертания (bold, 600 и т.д.) */
@font-face {
    font-family: 'Orbitron', 'Inter', sans-serif;
    src: url('/local/templates/i-navyx-ru/font/orbitron.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* ========== СВЕТЛАЯ ТЕМА ========== */
:root {
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #4A4A4A;
    --gold: #C8900A;
    --gold-hover: #A56F08;
    --blue-accent: #2E75B6;
    --border-light: #E5E7EB;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --header-bg: rgba(255,255,255,0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#panel {position: relative;
    z-index: 9999;}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== ХЕДЕР ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s;
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo a {
    text-decoration: none;
    color: var(--text-dark);
}
.logo-accent {
    color: var(--gold);
}
.main-nav .nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.lang-switch {
    display: flex;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}
.lang-link {
    text-decoration: none;
    color: var(--text-muted);
}
.lang-link.active {
    color: var(--gold);
}
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background: var(--gold);
    color: white;
}
.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}
.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 30px;
}
.mobile-menu-toggle span {
    height: 2px;
    background: var(--text-dark);
    width: 100%;
    transition: 0.2s;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mobile-nav-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
}
.mobile-lang {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}
/* ========== МОБИЛЬНОЕ МЕНЮ ========== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    z-index: 1000;
    padding: 30px 20px;
    overflow-y: auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    display: block;
}

/* Список меню в мобильной версии */
.mobile-menu .nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mobile-menu .nav-link {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    transition: color 0.2s;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
    color: var(--gold);
}

/* Блок переключения языка в мобильном меню */
.mobile-lang {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.mobile-lang a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    margin: 0 10px;
}

.mobile-lang a.active {
    color: var(--gold);
}

/* Адаптация для маленьких экранов */
@media (max-width: 480px) {
    .mobile-menu {
        top: 70px;
        padding: 20px 16px;
    }
    .mobile-menu .nav-link {
        font-size: 20px;
    }
}
/* ========== ФУТЕР ========== */
.site-footer {
    background: var(--bg-white);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-light);

}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}
.footer-logo {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gold);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--gold);
}
address {
    font-style: normal;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}
.social-links {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}
.social-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 22px;
    transition: transform 0.2s, color 0.2s;
}
.social-link:hover {
    color: var(--gold);
    transform: translateY(-3px);
}
.footer-copyright {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 20px;
}
.footer-lang a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
}
.footer-lang a.active {
    color: var(--gold);
}

/* ========== АДАПТИВ ========== */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .main-nav, .lang-switch, .btn-sm {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .mobile-menu.active {
        display: flex;
    }
    .header-inner {
        height: 70px;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}

/* ========== ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ ========== */
.main-content {
    margin-top: 80px; /* отступ под фиксированный хедер */
}
@media (max-width: 768px) {
    .main-content {
        margin-top: 70px;
    }
}

/* Hero */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: #000; }
.hero__video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 2; }
.hero__content { position: relative; z-index: 3; max-width: 800px; }
.hero__title { font-family: 'Orbitron', 'Inter', sans-serif; font-size: 56px; font-weight: 800; margin-bottom: 20px; color: white; }
.hero__subtitle { font-size: 20px; margin-bottom: 40px; color: #f0f0f0; }
.hero__buttons { display: flex; gap: 20px; justify-content: center; }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: white; }

.product-highlight { padding: 80px 0; background: var(--bg-white); }
.product-highlight__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.product-highlight__image img { width: 100%; border-radius: 24px; }
.product-highlight__title { font-family: 'Orbitron', 'Inter', sans-serif; font-size: 48px; margin-bottom: 20px; }
.product-highlight__desc { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; }
.product-highlight__specs { display: flex; gap: 40px; margin-bottom: 30px; }
.spec-item { text-align: center; }
.spec-value { font-size: 36px; font-weight: 700; color: var(--gold); }
.spec-unit { font-size: 14px; margin-left: 4px; }
.spec-label { display: block; font-size: 14px; color: var(--text-muted); }

.order-cta { background: var(--gold); padding: 60px 0; text-align: center; color: white; }
.order-cta__title { font-size: 36px; margin-bottom: 10px; }
.order-cta__subtitle { font-size: 18px; margin-bottom: 30px; }
.order-cta .btn-primary { background: white; color: var(--gold); }
.order-cta .btn-primary:hover { background: #f0f0f0; }

.news-section { padding: 80px 0; }
.news-section__title { text-align: center; font-size: 36px; margin-bottom: 48px; }
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.news-card { background: var(--bg-white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); }
.news-card__img { width: 100%; height: 200px; object-fit: cover; }
.news-card { padding: 20px; }
.news-card__date { color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.news-card__title { font-size: 20px; margin-bottom: 12px; }
.news-card__excerpt { color: var(--text-muted); margin-bottom: 20px; }
.news-card__link { color: var(--gold); text-decoration: none; font-weight: 600; }
.news-section__more { text-align: center; margin-top: 40px; }

.subscribe {
    position: relative;
    background: url(/local/templates/i-navyx-ru/img/hero-poster.jpg) center/cover no-repeat;
    padding: 80px 0;
    text-align: center;
}
.subscribe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}
.subscribe .container {
    position: relative;
    z-index: 2;
}
.subscribe__title { font-size: 32px; margin-bottom: 10px; }
.subscribe__form { max-width: 500px; margin: 30px auto 0; display: flex; gap: 15px; }
.subscribe__form input { flex:1; padding: 14px 20px; border: 1px solid var(--border-light); border-radius: 40px; outline: none; }

.featured { padding: 60px 0; text-align: center; }
.featured__title { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; text-transform: uppercase; }
.featured__logos { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.featured__logos img { height: 40px; width: auto; opacity: 0.7; }

@media (max-width: 768px) {
    .hero__title { font-size: 36px; }
    .product-highlight__inner { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .subscribe__form { flex-direction: column; }
}
/* Нижняя строка футера с юридическими ссылками */
.footer-bottom {
    border-top: 1px solid var(--border-light);
    margin-top: 40px;
    padding-top: 30px;
    font-size: 13px;
    color: var(--text-muted);
}
.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: var(--gold);
}
.footer-legal-sep {
    margin: 0 10px;
    color: var(--border-light);
}
.footer-copyright-bottom {
    text-align: right;
}
@media (max-width: 768px) {
    .footer-bottom__inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-copyright-bottom {
        text-align: center;
    }
}/* ========== СТРАНИЦА ПРОДУКТА ========== */
.product-hero {
    padding: 120px 0 60px;
    background: var(--bg-white);
}
.product-hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.product-hero__image {
    flex: 1;
}
.product-hero__image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
}
.product-hero__content {
    flex: 1;
}
.product-hero__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    margin-bottom: 24px;
}
.product-hero__list {
    list-style: none;
    font-size: 20px;
    line-height: 1.4;
}
.product-hero__list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}
.product-hero__list li::before {
    content: "•";
    color: var(--gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-meet {
    padding: 60px 0;
    background: var(--bg-light);
}
.product-meet__row {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}
.product-meet__row--reverse {
    flex-direction: row-reverse;
}
.product-meet__image {
    flex: 1;
}
.product-meet__image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
}
.product-meet__text {
    flex: 1;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
}
.product-meet__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 20px;
}
.product-meet__text p {
    margin-bottom: 20px;
}

.product-safety {
    padding: 80px 0;
    background: var(--bg-white);
}
.product-safety__title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 48px;
}
.product-safety__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.safety-item {
    margin-bottom: 32px;
}
.safety-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}
.safety-item p {
    font-size: 18px;
    line-height: 1.4;
}
.product-safety__col--right {
    margin-top: 0;
}

.product-specs {
    padding: 80px 0;
    background: var(--bg-light);
}
.product-specs__title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 48px;
}
.specs-table {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    overflow: hidden;
}
.specs-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
}
.specs-row:last-child {
    border-bottom: none;
}
.specs-row span:first-child {
    font-weight: 600;
    color: var(--text-dark);
}
.specs-row span:last-child {
    font-family: monospace;
    font-size: 16px;
}

.product-gallery {
    padding: 80px 0;
    background: var(--bg-white);
}
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.gallery-main img,
.gallery-side img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
}
.gallery-side {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product-order {
    padding: 80px 0;
    background: var(--gold);
    text-align: center;
    color: white;
}
.product-order__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    margin-bottom: 16px;
}
.product-order__subtitle {
    font-size: 20px;
    margin-bottom: 32px;
}
.product-order .btn-primary {
    background: white;
    color: var(--gold);
}
.product-order .btn-primary:hover {
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .product-hero .container {
        flex-direction: column;
        text-align: center;
    }
    .product-hero__list li {
        text-align: left;
    }
    .product-meet__row,
    .product-meet__row--reverse {
        flex-direction: column;
        text-align: center;
    }
    .product-safety__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .product-safety__col--right {
        margin-top: 0;
    }
    .specs-row {
        flex-direction: column;
        gap: 8px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-side {
        grid-template-columns: 1fr 1fr;
    }
    .product-order__title {
        font-size: 32px;
    }
}
/* ========== ЮРИДИЧЕСКИЕ СТРАНИЦЫ ========== */
.legal-page {
    max-width: 900px;
    margin: 120px auto 60px;
    padding: 0 20px;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}
.legal-page h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.legal-page h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    margin: 32px 0 16px;
    color: var(--text-dark);
}
.legal-page p, .legal-page li {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.legal-page ul {
    margin: 16px 0 16px 24px;
}
.legal-page a {
    color: var(--gold);
    text-decoration: none;
}
.legal-page a:hover {
    text-decoration: underline;
}
.legal-page strong {
    color: var(--text-dark);
}
@media (max-width: 768px) {
    .legal-page {
        margin: 100px auto 40px;
    }
    .legal-page h1 {
        font-size: 28px;
    }
    .legal-page h2 {
        font-size: 20px;
    }
}
/* ========== СТРАНИЦА ТЕХНОЛОГИЙ ========== */
.tech-hero {
    padding: 120px 0 60px;
    background: var(--bg-white);
}
.tech-hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.tech-hero__content {
    flex: 1;
}
.tech-hero__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
}
.tech-hero__subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 500px;
}
.tech-hero__image {
    flex: 1;
}
.tech-hero__image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
}

.tech-section {
    padding: 80px 0;
    background: var(--bg-white);
}
.tech-section--alt {
    background: var(--bg-light);
}
.tech-section__row {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.tech-section__row--reverse {
    flex-direction: row-reverse;
}
.tech-section__text {
    flex: 1;
}
.tech-section__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 24px;
}
.tech-list {
    list-style: none;
    padding: 0;
}
.tech-list li {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.5;
    position: relative;
    padding-left: 24px;
}
.tech-list li::before {
    content: "▹";
    color: var(--gold);
    position: absolute;
    left: 0;
}
.tech-list strong {
    color: var(--gold);
    font-weight: 600;
}
.tech-section__image {
    flex: 1;
}
.tech-section__image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
}

.tech-cta {
    padding: 80px 0;
    background: var(--gold);
    text-align: center;
    color: white;
}
.tech-cta__inner {
    max-width: 700px;
    margin: 0 auto;
}
.tech-cta__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 16px;
}
.tech-cta__text {
    font-size: 20px;
    margin-bottom: 32px;
}
.tech-cta .btn-primary {
    background: white;
    color: var(--gold);
}
.tech-cta .btn-primary:hover {
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .tech-hero .container {
        flex-direction: column;
        text-align: center;
    }
    .tech-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .tech-section__row,
    .tech-section__row--reverse {
        flex-direction: column;
        text-align: center;
    }
    .tech-list li {
        text-align: left;
    }
    .tech-section__title {
        text-align: center;
    }
    .tech-hero__title {
        font-size: 36px;
    }
    .tech-section__title {
        font-size: 28px;
    }
    .tech-cta__title {
        font-size: 28px;
    }
}
/* ========== СТРАНИЦА БЕЗОПАСНОСТИ ========== */
.safety-hero {
    padding: 120px 0 60px;
    background: var(--bg-white);
}
.safety-hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.safety-hero__content {
    flex: 1;
}
.safety-hero__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
}
.safety-hero__subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 500px;
}
.safety-hero__image {
    flex: 1;
}
.safety-hero__image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
}

.safety-features {
    padding: 80px 0;
    background: var(--bg-light);
}
.safety-features__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.safety-feature {
    margin-bottom: 48px;
}
.safety-feature__number {
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}
.safety-feature p {
    font-size: 18px;
    line-height: 1.4;
}
.safety-features__col--right {
    margin-top: 0;
}

.safety-failsafe {
    padding: 80px 0;
    background: var(--bg-white);
}
.safety-failsafe__title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 48px;
}
.failsafe-table {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    overflow: hidden;
}
.failsafe-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    gap: 20px;
}
.failsafe-row:last-child {
    border-bottom: none;
}
.failsafe-row--header {
    background: var(--bg-light);
    font-weight: 700;
}
.failsafe-row span:first-child {
    width: 35%;
    font-weight: 600;
}
.failsafe-row span:last-child {
    width: 65%;
    color: var(--text-muted);
}
.failsafe-row--header span {
    color: var(--text-dark);
}

.safety-cert {
    padding: 80px 0;
    background: var(--bg-light);
}
.safety-cert__title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 48px;
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.cert-item {
    text-align: center;
    padding: 24px;
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}
.cert-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.cert-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
}
.cert-item p {
    color: var(--text-muted);
    font-size: 15px;
}

.safety-tests {
    padding: 80px 0;
    background: var(--bg-white);
}
.safety-tests__title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 48px;
}
.tests-list {
    max-width: 600px;
    margin: 0 auto;
}
.test-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.test-status {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.test-status.done {
    background: #2ecc71;
    color: white;
}
.test-status.in-progress {
    background: #f39c12;
    color: white;
}
.test-status.pending {
    background: #bdc3c7;
    color: white;
}
.test-item span:last-child {
    font-size: 18px;
}

.safety-cta {
    padding: 80px 0;
    background: var(--gold);
    text-align: center;
    color: white;
}
.safety-cta__inner {
    max-width: 700px;
    margin: 0 auto;
}
.safety-cta__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 16px;
}
.safety-cta__text {
    font-size: 20px;
    margin-bottom: 32px;
}
.safety-cta .btn-primary {
    background: white;
    color: var(--gold);
}
.safety-cta .btn-primary:hover {
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .safety-hero .container {
        flex-direction: column;
        text-align: center;
    }
    .safety-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .safety-features__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .safety-features__col--right {
        margin-top: 0;
    }
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .failsafe-row {
        flex-direction: column;
        gap: 8px;
    }
    .failsafe-row span:first-child,
    .failsafe-row span:last-child {
        width: 100%;
    }
    .safety-hero__title {
        font-size: 36px;
    }
    .safety-failsafe__title,
    .safety-cert__title,
    .safety-tests__title {
        font-size: 28px;
    }
    .safety-cta__title {
        font-size: 28px;
    }
}
/* ========== СТРАНИЦА "О КОМПАНИИ" ========== */
.about-hero {
    padding: 120px 0 60px;
    background: var(--bg-white);
}
.about-hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.about-hero__content {
    flex: 1;
}
.about-hero__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
}
.about-hero__subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 500px;
}
.about-hero__image {
    flex: 1;
}
.about-hero__image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
}

.about-mission {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}
.about-mission__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 24px;
}
.about-mission__inner > p {
    max-width: 800px;
    margin: 0 auto 48px;
    font-size: 18px;
    line-height: 1.6;
}
.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.value-item {
    padding: 24px;
    background: var(--bg-white);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}
.value-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.value-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
}
.value-item p {
    color: var(--text-muted);
}

.about-history {
    padding: 80px 0;
    background: var(--bg-white);
}
.about-history__title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 48px;
}
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold);
}
.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}
.timeline-year {
    width: 100px;
    font-weight: 800;
    font-size: 24px;
    color: var(--gold);
    text-align: right;
}
.timeline-content {
    flex: 1;
    padding-bottom: 20px;
}
.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.timeline-content p {
    color: var(--text-muted);
}

.about-team {
    padding: 80px 0;
    background: var(--bg-light);
}
.about-team__title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 48px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.team-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    padding: 20px;
}
.team-card img {
    width: 100%;
    border-radius: 50%;
    max-width: 150px;
    margin: 0 auto 20px;
}
.team-card h3 {
    font-size: 20px;
    margin-bottom: 6px;
}
.team-role {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
}
.team-bio {
    font-size: 14px;
    color: var(--text-muted);
}

.about-contact {
    padding: 80px 0;
    background: var(--bg-white);
}
.about-contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}
.about-contact__info h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 24px;
}
.about-contact__info address {
    font-style: normal;
    margin-bottom: 20px;
    line-height: 1.6;
}
.about-contact__info a {
    color: var(--gold);
    text-decoration: none;
}
.about-contact__info .social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.about-contact__info .social-link {
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .about-hero .container {
        flex-direction: column;
        text-align: center;
    }
    .about-values {
        grid-template-columns: 1fr;
    }
    .timeline::before {
        left: 30px;
    }
    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }
    .timeline-year {
        text-align: left;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .about-contact__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-hero__title {
        font-size: 36px;
    }
}
/* ========== ТОЛЬКО ПОЛЯ ВВОДА РАСТЯГИВАЕМ ========== */
.mf-name input,
.mf-email input,
.mf-phone input,
.mf-message textarea {
    width: 100% !important;
    box-sizing: border-box;
}
/* ============================================
   ПОЛНОСТЬЮ ПЕРЕОПРЕДЕЛЯЕМ СТИЛИ ФОРМЫ
   bitrix:main.feedback — поля на всю ширину (ИСПРАВЛЕННЫЙ)
   ============================================ */

/* 1. Контейнер формы — оставляем как есть, не ломаем */
.about-contact__form,
.mf-form,
.mf-name,
.mf-email,
.mf-phone,
.mf-message {
    width: 100%;
    max-width: 100%;
    display: block;
}

/* 2. Сама форма */
.mf-form form,
.about-contact__form form {
    width: 100%;
    background: #ffffff;
    border-radius: 32px;
    padding: 32px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* 3. Каждый блок поля */
.mf-name,
.mf-email,
.mf-phone,
.mf-message {
    margin-bottom: 24px;
    width: 100%;
}

/* 4. Текст метки */
.mf-text {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #1a2c3e;
}

/* 5. Поля ввода — на всю ширину */
.mf-name input,
.mf-email input,
.mf-phone input,
.mf-message textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    transition: all 0.2s;
}

.mf-message textarea {
    resize: vertical;
    min-height: 120px;
}

/* 6. Фокус */
.mf-name input:focus,
.mf-email input:focus,
.mf-phone input:focus,
.mf-message textarea:focus {
    border-color: #c8900a;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(200,144,10,0.2);
}

/* 7. Кнопка отправки */
input[name="submit"] {
    background: #c8900a;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    width: auto;
    display: inline-block;
}

input[name="submit"]:hover {
    background: #a56f08;
    transform: translateY(-2px);
}
div.mfeedback {}
div.mf-name, div.mf-email, div.mf-phone, div.mf-captcha, div.mf-message {width:80%; padding-bottom:0.4em;}
div.mf-name input, div.mf-email input {width:60%;}
div.mf-message textarea {width: 60%;}
span.mf-req {color:red;}
div.mf-ok-text {color:green; font-weight:bold; padding-bottom: 1em;}
/* 8. Сообщения об ошибках / успехе */
.mf-ok-text,
.mf-error-text {
    padding: 12px 20px;
    border-radius: 28px;
    margin-top: 20px;
    font-size: 14px;
}

/* 9. УДАЛЕНО — НЕ ЛОМАЕМ СЕТКУ (раньше был display: block !important) */

/* .about-contact__inner больше не трогаем */
/* 10. Адаптив */
div.mf-name, div.mf-email, div.mf-phone, div.mf-captcha, div.mf-message {
    width: 100% !important;
    padding-bottom: 0.4em;
}

@media (max-width: 768px) {
    .mf-form form,
    .about-contact__form form {
        padding: 20px;
    }
    input[name="submit"] {
        width: 100%;
        text-align: center;
    }
}

/* ========== СТРАНИЦА ИНВЕСТОРАМ ========== */
.investors-hero {
    padding: 120px 0 60px;
    background: var(--bg-white);
}
.investors-hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.investors-hero__content {
    flex: 1;
}
.investors-hero__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
}
.investors-hero__subtitle {
    font-size: 20px;
    color: var(--text-muted);
}
.investors-hero__image {
    flex: 1;
}
.investors-hero__image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
}

.investors-market {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}
.market-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 40px 0 20px;
}
.stat-card {
    background: var(--bg-white);
    border-radius: 32px;
    padding: 32px;
    width: 240px;
    box-shadow: var(--shadow-sm);
}
.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--gold);
}
.stat-label {
    font-size: 20px;
    font-weight: 600;
    margin: 12px 0 8px;
}
.stat-desc {
    font-size: 14px;
    color: var(--text-muted);
}
.market-source {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 20px;
}

.investors-roadmap {
    padding: 80px 0;
    background: var(--bg-white);
}
.section-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 48px;
}
.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold);
}
.roadmap-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}
.roadmap-year {
    width: 120px;
    font-weight: 800;
    font-size: 22px;
    color: var(--gold);
    text-align: right;
}
.roadmap-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.roadmap-content p {
    color: var(--text-muted);
}

.investors-team {
    padding: 80px 0;
    background: var(--bg-light);
}
.team-short {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.team-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 24px;
    width: 260px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
}
.team-card h3 {
    font-size: 20px;
    margin-bottom: 4px;
}
.team-role {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
}
.team-bio {
    font-size: 14px;
    color: var(--text-muted);
}

.investors-deck {
    padding: 80px 0;
    background: var(--bg-white);
}
.deck-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: 32px;
    padding: 40px;
    text-align: center;
}
.deck-form-wrapper .section-title {
    margin-bottom: 16px;
}
.investor-form {
    text-align: left;
    margin-top: 32px;
}
.investor-form .form-group {
    margin-bottom: 20px;
}
.investor-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}
.investor-form input:not([type="checkbox"]) {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 40px;
    background: var(--bg-white);
}
.investor-form .checkbox label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: normal;
    cursor: pointer;
}
.investor-form .checkbox input {
    width: auto;
}
.investor-form button {
    width: 100%;
    margin-top: 10px;
}
.req {
    color: var(--gold);
}

.investors-contact {
    padding: 80px 0;
    background: var(--bg-light);
}
.investors-contact__inner {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.investors-contact__info {
    flex: 1;
}
.investors-contact__info h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
}
.investors-contact__info address {
    font-style: normal;
    line-height: 1.8;
    margin: 20px 0;
}
.calendly-link {
    margin-top: 20px;
}
.investors-contact__image {
    flex: 1;
}
.investors-contact__image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .investors-hero .container {
        flex-direction: column;
        text-align: center;
    }
    .roadmap-timeline::before {
        left: 20px;
    }
    .roadmap-item {
        flex-direction: column;
        gap: 8px;
        margin-left: 20px;
    }
    .roadmap-year {
        text-align: left;
    }
    .team-short {
        gap: 24px;
    }
    .deck-form-wrapper {
        padding: 24px;
    }
    .investors-contact__inner {
        flex-direction: column;
    }
    .market-stats {
        flex-direction: column;
        align-items: center;
    }
}
/* ========== СТРАНИЦА КОНТАКТЫ ========== */
.contact-hero {
    padding: 120px 0 60px;
    background: var(--bg-white);
}
.contact-hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}
.contact-hero__content {
    flex: 1;
}
.contact-hero__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
}
.contact-hero__subtitle {
    font-size: 20px;
    color: var(--text-muted);
}
.contact-hero__image {
    flex: 1;
}
.contact-hero__image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
}

.contact-details {
    padding: 60px 0;
    background: var(--bg-light);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.contact-info address {
    font-style: normal;
    line-height: 1.8;
    margin-top: 20px;
}
.contact-info address p {
    margin-bottom: 20px;
}
.contact-info a {
    color: var(--gold);
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}
.contact-form-col h2 {
    margin-bottom: 24px;
    font-size: 28px;
}
/* Форма внутри .contact-form-col использует уже существующие стили .mf-* */

.contact-map {
    padding: 80px 0;
    background: var(--bg-white);
}
.contact-map__title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 32px;
}
.map-wrapper {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .contact-hero .container {
        flex-direction: column;
        text-align: center;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-hero__title {
        font-size: 36px;
    }
}

.required { color: var(--gold); }
.alert { padding: 12px 20px; border-radius: 28px; margin-bottom: 20px; }
.alert-success { background: #e8f5e9; color: #2e7d32; }
.alert-danger { background: #ffebee; color: #c62828; }
.captcha-row img { border-radius: 12px; margin: 8px 0; }
.form-control-file { margin-top: 8px; }
/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}
.modal-content {
    background-color: var(--bg-white);
    margin: 10% auto;
    padding: 30px;
    border-radius: 32px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}
.modal-close:hover {
    color: var(--gold);
}
.modal-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    padding-right: 30px;
}

/* ========== СТРАНИЦА 404 ========== */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-light);
}
.error-container {
    max-width: 600px;
    margin: 0 auto;
}
.error-code {
    font-family: 'Orbitron', sans-serif;
    font-size: 120px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -4px;
    line-height: 1;
    margin-bottom: 24px;
}
.error-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.error-message {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.error-search {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.error-search input {
    padding: 12px 20px;
    border: 1px solid var(--border-light);
    border-radius: 40px;
    width: 260px;
    font-size: 16px;
    background: var(--bg-white);
    transition: border-color 0.2s;
}
.error-search input:focus {
    outline: none;
    border-color: var(--gold);
}
.error-search .btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 24px;
}
.error-search .btn-outline:hover {
    background: var(--gold);
    color: white;
}
@media (max-width: 640px) {
    .error-code { font-size: 80px; }
    .error-title { font-size: 24px; }
    .error-search input { width: 100%; }
    .error-search { flex-direction: column; align-items: stretch; }
    .error-search .btn-outline { width: 100%; text-align: center; }
}

/* ========== СТРАНИЦА ПОИСКА ========== */
.search-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--bg-white);
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
}

.search-page form {
    width: 100%;
}

.search-page table {
    width: 100%;
    border-collapse: collapse;
}

.search-query {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    border: 1px solid var(--border-light);
    border-radius: 40px;
    background: var(--bg-light);
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.search-query:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 144, 10, 0.2);
    background: var(--bg-white);
}

.search-button {
    background: var(--gold);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.search-button:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

/* Расширенный поиск */
.search-advanced {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.search-advanced-result {
    font-size: 14px;
    color: var(--text-muted);
}

.search-advanced-result .search-result {
    font-weight: 600;
    color: var(--gold);
    display: inline-block;
    margin-right: 12px;
}

.search-advanced-filter a {
    color: var(--gold);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px dashed var(--gold);
}

.search-advanced-filter a:hover {
    color: var(--gold-hover);
    border-bottom-style: solid;
}

/* Блок расширенного поиска (скрыт по умолчанию) */
.search-filter {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 24px;
    border: 1px solid var(--border-light);
}

.search-filter h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.search-filter table {
    width: 100%;
}

.search-filter-name {
    width: 120px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 8px 12px 8px 0;
    vertical-align: middle;
}

.search-filter-field select {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--border-light);
    border-radius: 40px;
    background: var(--bg-white);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

/* Результаты поиска */
.search-result {
    margin-top: 40px;
}

.search-result .notetext {
    display: block;
    background: #fff3e0;
    padding: 20px;
    border-radius: 28px;
    color: #c8900a;
    text-align: center;
    font-weight: 500;
}

/* Если есть список результатов (стандартные классы Битрикс) */
.search-item {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.search-item-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.search-item-name a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.search-item-name a:hover {
    color: var(--gold);
}

.search-item-content {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}

.search-item .search-preview {
    margin-top: 8px;
    font-size: 14px;
}

/* Пагинация (если есть) */
.search-page .navigation {
    margin-top: 40px;
    text-align: center;
}

.search-page .navigation a,
.search-page .navigation span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 40px;
    background: var(--bg-light);
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s;
}

.search-page .navigation a:hover {
    background: var(--gold);
    color: white;
}

.search-page .navigation span.current {
    background: var(--gold);
    color: white;
}

/* Адаптив */
@media (max-width: 768px) {
    .search-page {
        padding: 20px;
    }
    .search-advanced {
        flex-direction: column;
        align-items: flex-start;
    }
    .search-filter-name {
        width: 100%;
        padding-right: 0;
        padding-bottom: 4px;
    }
    .search-filter table {
        width: 100%;
    }
    .search-filter td {
        display: block;
        width: 100% !important;
    }
    .search-button {
        width: 100%;
        text-align: center;
    }
}

.news-detail {
    padding: 40px 0 60px;
    background: var(--bg-white);
}
.news-detail__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    margin-bottom: 16px;
}
.news-detail__date {
    font-size: 16px;
    color: var(--gold);
    margin-bottom: 32px;
}
.news-detail__img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 32px;
    margin: 32px 0;
    box-shadow: var(--shadow-sm);
}
.news-detail__content {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
}
.news-detail__content p {
    margin-bottom: 20px;
}
.news-detail__back {
    margin-top: 48px;
    text-align: center;
}
@media (max-width: 768px) {
    .news-detail {
        padding: 100px 0 60px;
    }
    .news-detail__title {
        font-size: 32px;
    }
}

/* ========== СТРАНИЦА НОВОСТЕЙ ========== */
.news-page {
    padding: 40px 0 80px;
    background: var(--bg-light);
}
.news-page__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 48px;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.news-card {
    background: var(--bg-white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.15);
}
.news-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.news-card__content {
    padding: 24px;
}
.news-card__date {
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.news-card__title {
    font-size: 22px;
    margin-bottom: 12px;
    line-height: 1.3;
}
.news-card__excerpt {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}
.news-card__link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.news-card__link:hover {
    color: var(--gold-hover);
}
.news-pagination {
    text-align: center;
    margin-top: 48px;
}
.news-pagination a, .news-pagination span {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 40px;
    background: var(--bg-white);
    color: var(--text-dark);
    text-decoration: none;
}
.news-pagination a:hover {
    background: var(--gold);
    color: white;
}
.news-pagination .current {
    background: var(--gold);
    color: white;
}
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .news-page {
        padding: 100px 0 60px;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-page__title {
        font-size: 36px;
    }
}
/* ========== СТРАНИЦА УПРАВЛЕНИЯ ПОДПИСКОЙ ========== */
.subscribe-edit {
    max-width: 900px;
    margin: 40px auto;
    background: var(--bg-white);
    border-radius: 32px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.subscribe-edit .data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.subscribe-edit .data-table thead tr {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.subscribe-edit .data-table th,
.subscribe-edit .data-table td {
    padding: 16px 20px;
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
}

.subscribe-edit .data-table tfoot td {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    padding: 16px 20px;
}

.subscribe-edit .data-table th {
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
}

/* Текстовые сообщения */
.subscribe-edit .notetext {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px 20px;
    border-radius: 28px;
    display: inline-block;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.subscribe-edit .errortext {
    background: #ffebee;
    color: #c62828;
    padding: 12px 20px;
    border-radius: 28px;
    display: inline-block;
    margin: 0 0 20px 0;
    font-weight: 500;
}

/* Поля ввода */
.subscribe-edit input[type="text"],
.subscribe-edit input[type="email"],
.subscribe-edit input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 40px;
    font-size: 15px;
    background: var(--bg-white);
    transition: all 0.2s;
    box-sizing: border-box;
}

.subscribe-edit input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,144,10,0.2);
}

/* Чекбоксы и радио */
.subscribe-edit input[type="checkbox"],
.subscribe-edit input[type="radio"] {
    margin-right: 8px;
    accent-color: var(--gold);
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.subscribe-edit label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 20px;
    cursor: pointer;
}

/* Кнопки */
.subscribe-edit input[type="submit"],
.subscribe-edit input[type="button"],
.subscribe-edit button {
    background: var(--gold);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 12px;
}

.subscribe-edit input[type="submit"]:hover,
.subscribe-edit input[type="button"]:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

.subscribe-edit input[type="reset"] {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s;
}

.subscribe-edit input[type="reset"]:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Ссылки */
.subscribe-edit a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px dashed var(--gold);
}

.subscribe-edit a:hover {
    color: var(--gold-hover);
    border-bottom-style: solid;
}

/* Адаптив для таблиц */
@media (max-width: 768px) {
    .subscribe-edit {
        padding: 20px;
    }
    .subscribe-edit .data-table,
    .subscribe-edit .data-table tbody,
    .subscribe-edit .data-table tr,
    .subscribe-edit .data-table td {
        display: block;
        width: 100%;
    }
    .subscribe-edit .data-table thead {
        display: none;
    }
    .subscribe-edit .data-table tr {
        margin-bottom: 20px;
        border: 1px solid var(--border-light);
        border-radius: 24px;
        padding: 12px;
    }
    .subscribe-edit .data-table td {
        border: none;
        padding: 8px 12px;
        position: relative;
        padding-left: 40%;
    }
    .subscribe-edit .data-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        width: 35%;
        font-weight: 600;
        color: var(--text-dark);
    }
    .subscribe-edit .data-table tfoot td {
        display: block;
        text-align: center;
    }
    .subscribe-edit input[type="submit"],
    .subscribe-edit input[type="reset"] {
        width: 100%;
        margin: 8px 0;
        text-align: center;
    }
    .subscribe-edit label {
        display: block;
        margin-bottom: 8px;
    }
}
/* ========== СТРАНИЦА /LEGAL/ (список документов) ========== */
.legal-index-page {
    padding: 120px 0 80px;
    background: var(--bg-light);
    min-height: 60vh;
}
.legal-index-container {
    max-width: 1100px;
    margin: 0 auto;
}
.legal-index__title {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-dark);
}
.legal-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.legal-link-card {
    background: var(--bg-white);
    border-radius: 32px;
    padding: 32px;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: block;
}
.legal-link-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -12px rgba(0,0,0,0.15);
}
.legal-link-icon {
    font-size: 48px;
    margin-bottom: 20px;
}
.legal-link-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}
.legal-link-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}
.legal-link-arrow {
    font-size: 24px;
    color: var(--gold);
    transition: transform 0.2s;
    display: inline-block;
}
.legal-link-card:hover .legal-link-arrow {
    transform: translateX(6px);
}
@media (max-width: 768px) {
    .legal-index-page {
        padding: 100px 0 60px;
    }
    .legal-index__title {
        font-size: 32px;
    }
    .legal-link-card {
        padding: 24px;
    }
}