/* ================================================================
ШРИФТЫ — локальные, без Google Fonts
================================================================ */
@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-Regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-Medium.woff2') format('woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('/fonts/Inter-Black.woff2') format('woff2');
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'JetBrains Mono';
src: url('/fonts/JetBrainsMono-Medium.woff2') format('woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
}
/* ================================================================
ПЕРЕМЕННЫЕ
================================================================ */
:root {
--bg: #0a0a0a;
--bg-light: #141414;
--bg-card: #1a1a1a;
--text: #f5f5f5;
--text-muted: #a3a3a3;
--neon: #a3e635;
--neon-dim: #84cc16;
--accent: #22d3ee;
--border: #2a2a2a;
--radius: 20px;
}
[data-theme="light"] {
--bg: #fafafa;
--bg-light: #f0f0f0;
--bg-card: #ffffff;
--text: #0a0a0a;
--text-muted: #666666;
--neon: #65a30d;
--neon-dim: #4d7c0f;
--accent: #0891b2;
--border: #e5e5e5;
}
/* ================================================================
СБРОС И БАЗА
================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.6; transition: background 0.3s, color 0.3s; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }
/* ================================================================
ХЕДЕР
================================================================ */
.header {
position: sticky;
top: 0;
background: rgba(10, 10, 10, 0.85);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
z-index: 100;
transition: background 0.3s;
}
[data-theme="light"] .header { background: rgba(250, 250, 250, 0.85); }
.header__inner {
display: flex;
align-items: center;
justify-content: space-between;
height: 70px;
gap: 24px;
}
.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo {
font-weight: 900;
font-size: 1.35rem;
color: var(--text);
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
letter-spacing: -0.02em;
}
.logo__icon { font-size: 1.2rem; }
.text-neon { color: var(--neon); }
/* Навигация */
.nav {
display: flex;
align-items: center;
gap: 4px;
flex: 1;
justify-content: center;
margin: 0 16px;
}
.nav > a, .nav__dropdown-toggle {
padding: 8px 14px;
color: var(--text-muted);
font-weight: 500;
font-size: 0.9rem;
text-decoration: none;
border-radius: 10px;
transition: all 0.2s;
white-space: nowrap;
background: none;
border: none;
font-family: 'Inter', sans-serif;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 5px;
}
.nav > a:hover, .nav__dropdown-toggle:hover { color: var(--neon); background: rgba(163, 230, 53, 0.08); }
.nav > a.nav-active { color: var(--neon); }
/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle svg { transition: transform 0.2s; }
.nav__dropdown.is-open .nav__dropdown-toggle svg { transform: rotate(180deg); }
.nav__dropdown-menu {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%) translateY(-8px);
margin-top: 8px;
min-width: 240px;
padding: 8px;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 16px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
opacity: 0;
visibility: hidden;
transition: all 0.2s;
z-index: 200;
}
[data-theme="light"] .nav__dropdown-menu { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); }
.nav__dropdown.is-open .nav__dropdown-menu {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}
.nav__dropdown-menu a {
display: block;
padding: 10px 14px;
color: var(--text-muted);
font-size: 0.9rem;
text-decoration: none;
border-radius: 10px;
transition: all 0.15s;
white-space: nowrap;
}
.nav__dropdown-menu a:hover { color: var(--text); background: var(--bg-light); }
.nav__dropdown-menu a.nav-active { color: var(--neon); background: rgba(163, 230, 53, 0.08); }
/* Переключатель темы */
.theme-toggle {
position: relative;
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--bg-card);
border: 1px solid var(--border);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 1rem;
transition: all 0.2s;
padding: 0;
flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--neon); transform: scale(1.05); }
.theme-toggle__icon { position: absolute; transition: opacity 0.2s, transform 0.2s; }
.theme-toggle__icon--sun { opacity: 0; transform: scale(0.5); }
.theme-toggle__icon--moon { opacity: 1; transform: scale(1); }
[data-theme="light"] .theme-toggle__icon--sun { opacity: 1; transform: scale(1); }
[data-theme="light"] .theme-toggle__icon--moon { opacity: 0; transform: scale(0.5); }
/* Бургер */
.burger {
display: none;
width: 40px;
height: 40px;
border: 1px solid var(--border);
border-radius: 12px;
background: var(--bg-card);
cursor: pointer;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
padding: 0;
transition: all 0.2s;
}
.burger:hover { border-color: var(--neon); }
.burger span {
display: block;
width: 18px;
height: 2px;
background: var(--text);
border-radius: 2px;
transition: all 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* Мобильное меню */
.mobile-menu {
position: fixed;
top: 70px;
left: 0;
right: 0;
bottom: 0;
background: var(--bg);
transform: translateX(100%);
transition: transform 0.3s ease;
overflow-y: auto;
z-index: 99;
padding: 20px 0;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__inner { display: flex; flex-direction: column; padding: 0 24px; }
.mobile-menu__inner a {
display: block;
padding: 16px 0;
color: var(--text);
font-size: 1.05rem;
font-weight: 500;
text-decoration: none;
border-bottom: 1px solid var(--border);
transition: color 0.2s;
}
.mobile-menu__inner a:hover, .mobile-menu__inner a.nav-active { color: var(--neon); }
body.menu-open { overflow: hidden; }
/* ================================================================
КНОПКИ
================================================================ */
.btn {
display: inline-block;
padding: 14px 28px;
border-radius: 100px;
font-weight: 700;
text-decoration: none;
cursor: pointer;
border: none;
transition: all 0.3s;
font-size: 1rem;
font-family: 'Inter', sans-serif;
}
.btn, .btn:visited, .btn:hover, .btn:focus, .btn:active { text-decoration: none; }
.btn--primary, .btn--primary:visited { background: var(--neon); color: #0a0a0a; }
.btn--primary:hover, .btn--primary:focus { background: var(--neon-dim); color: #0a0a0a; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(163,230,53,0.3); }
.btn--ghost, .btn--ghost:visited { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover, .btn--ghost:focus { border-color: var(--neon); color: var(--neon); }
.btn--small, .btn--small:visited { padding: 10px 20px; font-size: 0.9rem; background: var(--neon); color: #0a0a0a; font-weight: 700; }
.btn--small:hover, .btn--small:focus { background: var(--neon-dim); color: #0a0a0a; }
.btn--full { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
/* ================================================================
HERO
================================================================ */
.hero { padding: 80px 0; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero__title { font-size: 3rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.text-gradient { background: linear-gradient(135deg, var(--neon), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 32px; max-width: 500px; }
.hero__actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat__value { font-size: 1.5rem; font-weight: 900; color: var(--neon); display: block; }
.stat__label { font-size: 0.85rem; color: var(--text-muted); }
.hero__visual { display: flex; justify-content: center; }
.orbit { position: relative; width: 300px; height: 300px; display: flex; align-items: center; justify-content: center; }
.orbit__ring { position: absolute; width: 100%; height: 100%; border: 2px solid var(--border); border-radius: 50%; animation: pulse 4s infinite; }
.orbit__ring::after { content: ''; position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; background: var(--neon); border-radius: 50%; box-shadow: 0 0 30px var(--neon); }
.orbit__core { font-size: 5rem; animation: float 3s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.4; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
/* ================================================================
СЕКЦИИ
================================================================ */
.section { padding: 80px 0; }
.section--dark { background: var(--bg-light); transition: background 0.3s; }
.section__title { font-size: 2.2rem; font-weight: 900; text-align: center; margin-bottom: 12px; }
.section__subtitle { text-align: center; color: var(--text-muted); margin-bottom: 48px; }
/* ================================================================
КАЛЬКУЛЯТОРЫ
================================================================ */
.calc-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 40px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; padding: 6px; max-width: 700px; margin-left: auto; margin-right: auto; flex-wrap: wrap; }
.calc-tab { flex: 1; padding: 12px 20px; background: transparent; border: none; border-radius: 100px; color: var(--text-muted); font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: all 0.3s; white-space: nowrap; }
.calc-tab:hover { color: var(--text); }
.calc-tab.active { background: var(--neon); color: #0a0a0a; box-shadow: 0 4px 20px rgba(163, 230, 53, 0.3); }
.calc-panel { display: none; }
.calc-panel.active { display: block; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.calc-form { display: flex; flex-direction: column; gap: 20px; }
.field label { display: block; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.field input { width: 100%; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-size: 1rem; font-weight: 500; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.3s; min-height: 48px; }
.field input:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(163,230,53,0.15); }
.field select { width: 100%; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-size: 1rem; font-weight: 500; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.3s; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3e635' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 18px center; background-size: 20px; padding-right: 48px; min-height: 48px; }
.field select:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.15); }
.field select option { background: var(--bg-card); color: var(--text); }
.calc-result { display: flex; flex-direction: column; gap: 20px; }
.calc-result__card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.3s; }
.calc-result__card:hover { border-color: var(--neon); transform: translateY(-4px); }
.calc-result__card--accent { background: linear-gradient(135deg, rgba(163,230,53,0.1), rgba(34,211,238,0.05)); border-color: rgba(163,230,53,0.4); }
[data-theme="light"] .calc-result__card--accent { background: linear-gradient(135deg, rgba(101,163,13,0.08), rgba(8,145,178,0.04)); }
.calc-result__label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.calc-result__value { display: block; font-size: 2.5rem; font-weight: 900; color: var(--neon); font-family: 'JetBrains Mono', monospace; }
.calc-result__hint { font-size: 0.85rem; color: var(--text-muted); }
/* Fuel tabs */
.fuel-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; padding: 0 20px; }
.fuel-tab { padding: 10px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; color: var(--text-muted); font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.fuel-tab:hover { border-color: var(--neon); color: var(--neon); }
.fuel-tab.is-active { background: var(--neon); border-color: var(--neon); color: #0a0a0a; box-shadow: 0 4px 20px rgba(163, 230, 53, 0.3); }
/* Fuel compare */
.fuel-compare { margin-top: 60px; padding: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.fuel-compare__title { font-size: 1.5rem; margin-bottom: 8px; }
.fuel-compare__subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 24px; }
.fuel-compare__table-wrap { overflow-x: auto; }
.fuel-compare__table { width: 100%; border-collapse: collapse; min-width: 600px; }
.fuel-compare__table th { padding: 12px 16px; text-align: left; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 2px solid var(--border); font-weight: 600; }
.fuel-compare__table th:not(:first-child) { text-align: right; }
.fuel-compare__table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text); font-size: 0.95rem; }
.fuel-compare__table td:not(:first-child) { text-align: right; font-family: 'JetBrains Mono', monospace; }
.fuel-compare__row--petrol td:first-child { border-left: 3px solid #f97316; padding-left: 13px; }
.fuel-compare__row--diesel td:first-child { border-left: 3px solid #eab308; padding-left: 13px; }
.fuel-compare__row--methane td:first-child { border-left: 3px solid #22d3ee; padding-left: 13px; }
.fuel-compare__row--propane td:first-child { border-left: 3px solid #a855f7; padding-left: 13px; }
.fuel-compare__row--hybrid td:first-child { border-left: 3px solid #06b6d4; padding-left: 13px; }
.fuel-compare__row--electric td { color: var(--neon); font-weight: 700; }
.fuel-compare__row--electric td:first-child { border-left: 3px solid var(--neon); padding-left: 13px; }
.fuel-compare__note { margin-top: 20px; padding: 16px; background: var(--bg-light); border-radius: 12px; font-size: 0.95rem; color: var(--text-muted); }
.fuel-compare__note strong { color: var(--neon); }
/* Compare cards */
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.compare-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.3s; }
.compare-card:hover { transform: translateY(-4px); }
.compare-card--ev { border-color: var(--neon); }
.compare-card--petrol { border-color: #f97316; }
.compare-card--hybrid { border-color: #22d3ee; }
.compare-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.compare-card__header h3 { font-size: 1.2rem; }
.compare-card__icon { font-size: 1.8rem; }
.compare-card__result { margin-bottom: 16px; }
.compare-card__result:last-of-type { margin-bottom: 20px; }
.compare-card__label { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.compare-card__value { display: block; font-size: 1.6rem; font-weight: 900; font-family: 'JetBrains Mono', monospace; }
.compare-card--ev .compare-card__value { color: var(--neon); }
.compare-card--petrol .compare-card__value { color: #f97316; }
.compare-card--hybrid .compare-card__value { color: #22d3ee; }
.compare-card__note { font-size: 0.9rem; color: var(--text-muted); padding-top: 16px; border-top: 1px solid var(--border); }
.compare-inputs { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.compare-inputs__title { text-align: center; font-size: 1.2rem; margin-bottom: 24px; }
/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all 0.3s; }
.feature-card:hover { border-color: var(--neon); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.feature-card__icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }
/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; cursor: pointer; }
.blog-card:hover { border-color: var(--neon); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.blog-card__image { width: 100%; height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: linear-gradient(135deg, rgba(163,230,53,0.1), rgba(34,211,238,0.05)); position: relative; }
[data-theme="light"] .blog-card__image { background: linear-gradient(135deg, rgba(101,163,13,0.08), rgba(8,145,178,0.05)); }
.blog-card__body { padding: 24px; }
.blog-card__date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; font-family: 'JetBrains Mono', monospace; }
.blog-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.blog-card__excerpt { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.blog-card__read { color: var(--neon); font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.blog-card__read:hover { text-decoration: underline; }
.blog-more { text-align: center; margin-top: 40px; }
.blog-empty { text-align: center; padding: 60px 20px; color: var(--text); font-size: 1.2rem; }
.blog-card__badge { position: absolute; top: 12px; right: 12px; padding: 4px 10px; background: var(--neon); color: #0a0a0a; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 6px; z-index: 2; }
.blog-more .btn { min-width: 220px; }
/* Blog filters */
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.blog-filter__btn { padding: 10px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; color: var(--text-muted); font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.blog-filter__btn:hover { border-color: var(--neon); color: var(--neon); }
.blog-filter__btn.is-active { background: var(--neon); border-color: var(--neon); color: #0a0a0a; }
.blog-filter__count { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; opacity: 0.7; font-weight: 500; }
.blog-filter__btn.is-active .blog-filter__count { opacity: 1; font-weight: 700; }
.blog-controls { display: flex; gap: 12px; max-width: 800px; margin: 0 auto 40px; }
.blog-search__input { flex: 1; padding: 14px 22px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; color: var(--text); font-size: 1rem; font-family: 'Inter', sans-serif; outline: none; transition: all 0.3s; }
.blog-search__input:focus { border-color: var(--neon); box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.15); }
.blog-search__input::placeholder { color: var(--text-muted); }
.blog-sort { padding: 14px 42px 14px 22px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 500; outline: none; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3e635' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 18px center; background-size: 20px; transition: all 0.2s; }
.blog-sort:hover, .blog-sort:focus { border-color: var(--neon); }
/* FAQ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; padding: 20px 0; background: none; border: none; color: var(--text); font-size: 1.1rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: 'Inter', sans-serif; transition: color 0.2s; }
.faq-question:hover { color: var(--neon); }
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--neon); transition: transform 0.3s; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { color: var(--text-muted); padding-bottom: 20px; }
/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.9rem; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--text-muted); text-decoration: none; }
.footer__links a:hover { color: var(--neon); }
/* ================================================================
СТАТЬИ
================================================================ */
.article-page {
max-width: 800px;
margin: 0 auto;
padding: 60px 20px;
width: 100%;
}
.article-page h1 { font-size: 2.5rem; font-weight: 900; margin-bottom: 16px; line-height: 1.2; color: var(--text); }
.article-page .article-meta { color: var(--text-muted); margin-bottom: 32px; font-family: 'JetBrains Mono', monospace; }
.article-page h2 { font-size: 1.6rem; margin: 32px 0 16px; color: var(--text); }
.article-page h3 { font-size: 1.3rem; margin: 24px 0 12px; color: var(--text); }
.article-page p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }
.article-page ul, .article-page ol { color: var(--text-muted); margin-bottom: 16px; padding-left: 24px; }
.article-page li { margin-bottom: 8px; }
.article-page blockquote { border-left: 3px solid var(--neon); padding: 16px 24px; background: var(--bg-card); border-radius: 0 12px 12px 0; margin-bottom: 16px; color: var(--text); }
.article-page a { color: var(--neon); }
.article-page table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.article-page th { padding: 12px; text-align: left; background: var(--bg-card); border-bottom: 2px solid var(--neon); color: var(--text); }
.article-page td { padding: 12px; border-bottom: 1px solid var(--border); color: var(--text-muted); }
/* Partner banner */
.partner-banner { display: block; border-radius: var(--radius); overflow: hidden; transition: all 0.3s; margin: 40px 0; position: relative; border: 1px solid var(--border); line-height: 0; }
.partner-banner:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); border-color: var(--neon); }
.partner-banner img { width: 100%; height: auto; display: block; }
.partner-banner__label { position: absolute; top: 8px; left: 8px; background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 0.7rem; padding: 3px 10px; border-radius: 4px; font-family: 'Inter', sans-serif; letter-spacing: 0.05em; z-index: 2; line-height: 1; text-transform: uppercase; }
[data-theme="light"] .partner-banner__label { background: rgba(0, 0, 0, 0.85); }
/* Breadcrumbs */
.breadcrumbs { padding: 20px 0 0; font-size: 0.85rem; color: var(--text-muted); font-family: 'Inter', sans-serif; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--neon); }
.breadcrumbs__separator { margin: 0 8px; color: var(--border); }
.breadcrumbs__current { color: var(--text); }
/* Info block */
.info-block { max-width: 800px; margin: 0 auto; color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }
.info-block h3 { color: var(--text); margin: 24px 0 12px; font-size: 1.3rem; }
.info-block p { margin-bottom: 16px; }
.info-block a { color: var(--neon); text-decoration: none; }
.info-block a:hover { text-decoration: underline; }
/* Contact form */
.contact-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.contact-form textarea { width: 100%; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 500; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.3s; resize: vertical; min-height: 120px; }
.contact-form textarea:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.15); }
.contact-form textarea::placeholder { color: var(--text-muted); }
/* Model compare */
.model-compare { max-width: 900px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.model-compare__selectors { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: end; margin-bottom: 32px; }
.model-compare__vs { font-size: 1.2rem; font-weight: 900; color: var(--neon); padding-bottom: 14px; font-family: 'JetBrains Mono', monospace; }
.model-compare__result { border-top: 1px solid var(--border); padding-top: 24px; }
.model-compare__header { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--border); }
.model-compare__name { font-size: 1.15rem; font-weight: 700; text-align: center; color: var(--neon); }
.model-compare__row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); text-align: center; }
.model-compare__row:last-child { border-bottom: none; }
.model-compare__label { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.model-compare__val { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1rem; padding: 6px 12px; border-radius: 8px; transition: all 0.2s; }
.model-compare__win { background: rgba(163, 230, 53, 0.15); color: var(--neon); }
[data-theme="light"] .model-compare__win { background: rgba(101, 163, 13, 0.12); }
.model-compare__lose { color: var(--text-muted); opacity: 0.7; }
/* Share buttons */
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); align-items: center; }
.share-buttons__label { color: var(--text-muted); font-size: 0.85rem; margin-right: 8px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 100px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; text-decoration: none; }
.share-btn:hover { border-color: var(--neon); color: var(--neon); transform: translateY(-2px); }
.share-btn--tg:hover { border-color: #229ED9; color: #229ED9; }
.share-btn--vk:hover { border-color: #0077FF; color: #0077FF; }
.share-btn--wa:hover { border-color: #25D366; color: #25D366; }
.share-btn--copy:hover { border-color: var(--neon); color: var(--neon); }
.share-btn__icon { font-size: 1rem; }
/* ================================================================
ОТЗЫВЫ ВЛАДЕЛЬЦЕВ
================================================================ */
.reviews-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.reviews-filter__btn { padding: 10px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; color: var(--text-muted); font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.reviews-filter__btn:hover { border-color: var(--neon); color: var(--neon); }
.reviews-filter__btn.is-active { background: var(--neon); border-color: var(--neon); color: #0a0a0a; }
.reviews-filter__count { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; opacity: 0.7; font-weight: 500; }
.reviews-filter__btn.is-active .reviews-filter__count { opacity: 1; font-weight: 700; }
.reviews-controls { display: flex; justify-content: center; margin-bottom: 32px; }
.reviews-controls .blog-sort { min-width: 220px; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.3s; }
.review-card:hover { border-color: var(--neon); transform: translateY(-4px); }
.review-card__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--neon), var(--accent)); color: #0a0a0a; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 900; flex-shrink: 0; }
.review-card__name { font-weight: 700; font-size: 1rem; color: var(--text); }
.review-card__date { font-size: 0.8rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.review-card__stars { display: flex; gap: 2px; flex-shrink: 0; }
.review-card__star { color: var(--border); font-size: 1.1rem; transition: color 0.2s; }
.review-card__star.is-filled { color: var(--neon); }
.review-card__car { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 16px; padding: 12px 16px; background: var(--bg-light); border-radius: 12px; }
.review-card__brand { font-weight: 900; color: var(--neon); font-size: 1rem; }
.review-card__model { font-weight: 700; color: var(--text); font-size: 1rem; }
.review-card__meta { font-size: 0.85rem; color: var(--text-muted); margin-left: auto; }
.review-card__section { margin-bottom: 12px; }
.review-card__section-label { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.review-card__section p { color: var(--text); font-size: 0.95rem; margin: 0; line-height: 1.5; }
.review-card__text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.review-form { display: flex; flex-direction: column; gap: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.review-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review-form textarea { width: 100%; padding: 14px 18px; background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 500; outline: none; transition: border-color 0.2s, box-shadow 0.2s; resize: vertical; min-height: 80px; }
.review-form textarea:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.15); }
.review-form textarea::placeholder { color: var(--text-muted); }
.rating-input { display: flex; gap: 6px; padding: 8px 0; }
.rating-input__star { background: none; border: none; color: var(--border); font-size: 2rem; cursor: pointer; padding: 0; line-height: 1; transition: all 0.15s; }
.rating-input__star.is-filled, .rating-input__star.is-hover { color: var(--neon); transform: scale(1.1); }
.rating-input__star:hover { transform: scale(1.15); }
.rating-input__hint { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.form-message { padding: 16px 20px; border-radius: 12px; font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.form-message--success { background: rgba(163, 230, 53, 0.15); border: 1px solid var(--neon); color: var(--neon); }
.form-message--error { background: rgba(239, 68, 68, 0.15); border: 1px solid #ef4444; color: #ef4444; }
/* ================================================================
ЛИД-МАГНИТ (сбор email)
================================================================ */
.lead-magnet { max-width: 800px; margin: 40px auto; }
.lead-magnet__inner { background: linear-gradient(135deg, rgba(163,230,53,0.12), rgba(34,211,238,0.06)); border: 1px solid rgba(163,230,53,0.4); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.lead-magnet__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--neon); font-weight: 700; }
.lead-magnet h3 { font-size: 1.4rem; color: var(--text); margin: 8px 0; }
.lead-magnet p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.lead-magnet__form { display: flex; gap: 12px; flex-wrap: wrap; }
.lead-magnet__input { flex: 1; min-width: 220px; padding: 12px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; color: var(--text); font-size: 1rem; font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.lead-magnet__input:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(163,230,53,0.15); }
.lead-magnet__hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.lead-magnet__note { font-size: 0.8rem; color: var(--text-muted); }
@media (max-width: 768px) {
.lead-magnet { margin: 24px 0; }
.lead-magnet__inner { padding: 24px 20px; }
.lead-magnet__form { flex-direction: column; }
.lead-magnet__form .btn { width: 100%; }
}
/* ================================================================
АДАПТИВ
================================================================ */
@media (max-width: 1024px) {
.nav { display: none; }
.burger { display: flex; }
.header__inner { gap: 12px; }
}
@media (min-width: 1025px) {
.mobile-menu { display: none; }
}
@media (max-width: 768px) {
.hero__grid { grid-template-columns: 1fr; gap: 40px; }
.hero__title { font-size: 2.2rem; }
.calc-grid { grid-template-columns: 1fr; }
.features-grid { grid-template-columns: 1fr; }
.blog-grid { grid-template-columns: 1fr; }
.compare-grid { grid-template-columns: 1fr; }
.reviews-grid { grid-template-columns: 1fr; }
.footer__inner { flex-direction: column; gap: 16px; text-align: center; }
.article-page h1 { font-size: 1.8rem; }
.article-page { padding: 40px 16px; }
.calc-tabs { flex-direction: column; border-radius: 20px; max-width: 100%; }
.calc-tab { border-radius: 14px; padding: 14px 20px; }
.partner-banner { margin: 24px 0; border-radius: 12px; }
.partner-banner img { max-height: 120px; object-fit: cover; }
.calc-result__value { font-size: 1.8rem; }
.article-page table { font-size: 0.9rem; }
.article-page th, .article-page td { padding: 8px; }
.fuel-tabs { gap: 6px; padding: 0 12px; }
.fuel-tab { padding: 8px 14px; font-size: 0.85rem; }
.blog-filter { gap: 6px; }
.blog-filter__btn { padding: 8px 14px; font-size: 0.85rem; }
.blog-controls { flex-direction: column; gap: 10px; }
.blog-sort { width: 100%; }
.fuel-compare { padding: 20px 16px; }
.fuel-compare__title { font-size: 1.2rem; }
.compare-inputs { padding: 20px 16px; }
.model-compare { padding: 20px 16px; }
.model-compare__selectors { grid-template-columns: 1fr; gap: 12px; }
.model-compare__vs { padding: 0; text-align: center; }
.model-compare__row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
.model-compare__label { order: -1; font-size: 0.75rem; }
.model-compare__val { text-align: center; }
.review-form__row { grid-template-columns: 1fr; gap: 16px; }
.header__actions { gap: 8px; }
}
@media (max-width: 480px) {
.logo { font-size: 1.15rem; }
.btn--small { padding: 8px 14px; font-size: 0.85rem; }
.theme-toggle { width: 36px; height: 36px; font-size: 0.9rem; }
.burger { width: 36px; height: 36px; }
}