/* Сброс и базовые стили */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body {
    height: 100%;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f8fa;
    color: #222;
    min-height: 100vh;
    line-height: 1.55;
}

/* Контейнер */
.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Header */
.main-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(30,40,70,0.07);
    position: sticky;
    top: 0;
    z-index: 99;
}
.header-flex {
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    display: flex;
    flex-wrap: wrap;
}
.logo img {
    display: block;
    height: 54px;
    width: auto;
    margin-right: 18px;
}

/* Навигация */
.main-nav ul {
    display: flex;
    gap: 26px;
    list-style: none;
}
.main-nav a {
    color: #232931;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 7px;
    transition: background 0.18s, color 0.18s;
    font-size: 18px;
}
.main-nav a:hover, .main-nav a:focus {
    background: #e7eefd;
    color: #2566e5;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 9px;
    margin-left: 14px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.nav-toggle span {
    display: block;
    width: 28px;
    height: 3.5px;
    background: #2566e5;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: 0.22s;
}
.nav-toggle span:last-child {
    margin-bottom: 0;
}
.nav-toggle.open span:nth-child(1) {
    transform: rotate(41deg) translate(5px,7px);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: rotate(-41deg) translate(5px,-7px);
}

/* Mobile nav */
@media (max-width: 850px) {
    .main-nav ul {
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100vw;
        box-shadow: 0 7px 26px rgba(0,0,0,0.08);
        gap: 0;
        display: none;
    }
    .main-nav ul li {
        border-bottom: 1px solid #f0f0f5;
    }
    .main-nav.nav-open ul {
        display: flex;
    }
    .main-nav {
        position: relative;
        z-index: 2;
    }
    .nav-toggle {
        display: flex;
    }
}

/* Адаптивность */
@media (max-width: 540px) {
    .container {
        padding: 0 6px;
    }
    .header-flex {
        flex-direction: column;
        align-items: flex-start;
        min-height: 64px;
    }
    .logo img {
        height: 44px;
    }
}
/* Футер */
.main-footer {
    background: #22273a;
    color: #e3e6ee;
    padding: 36px 0 22px 0;
    font-size: 16px;
    box-shadow: 0 -1px 16px 0 rgba(23,32,60,0.08);
    margin-top: 60px;
}
.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 32px;
}
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}
.footer-logo img {
    height: 44px;
    margin-bottom: 2px;
}
.footer-logo span {
    color: #a5afcb;
    font-size: 15px;
    letter-spacing: 0.1px;
}
.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-nav a {
    color: #b5bdd6;
    text-decoration: none;
    font-size: 17px;
    padding: 5px 8px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
    background: #313755;
    color: #fff;
}
.footer-social a {
    display: inline-block;
    margin-right: 12px;
    opacity: 0.83;
    transition: opacity 0.18s;
}
.footer-social a:last-child {
    margin-right: 0;
}
.footer-social a:hover {
    opacity: 1;
}
.footer-social img {
    display: block;
    height: 24px;
    width: 24px;
    filter: grayscale(0.2) brightness(1.08);
}

/* Адаптив для футера */
@media (max-width: 720px) {
    .footer-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        text-align: left;
    }
    .footer-nav ul {
        gap: 13px;
    }
}
/* Hero (баннер) */
.hero {
    background: linear-gradient(90deg, #e9f1ff 0%, #f7faff 70%, #d3e5ff 100%);
    padding: 58px 0 48px 0;
    min-height: 390px;
}
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-text {
    max-width: 570px;
}
.hero-text h1 {
    font-size: 2.6rem;
    color: #19305c;
    margin-bottom: 18px;
    font-weight: 700;
}
.hero-text p {
    font-size: 1.3rem;
    color: #43475a;
    margin-bottom: 24px;
}
.hero-img {
    max-width: 370px;
    width: 42vw;
    border-radius: 20px;
    box-shadow: 0 6px 36px rgba(36,54,117,0.08);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    background: #2566e5;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.17s, box-shadow 0.17s;
    box-shadow: 0 3px 12px rgba(37,102,229,0.11);
    cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
    background: #1746a0;
}
.btn-light {
    background: #f4f6fd;
    color: #234;
    border: 1px solid #e4e9f3;
    box-shadow: none;
}
.btn-light:hover, .btn-light:focus {
    background: #e7eefd;
    color: #2566e5;
}

/* Секции */
.home-section {
    padding: 52px 0;
}
.home-section.alt-bg {
    background: #f7faff;
}
.section-title {
    font-size: 2rem;
    margin-bottom: 32px;
    color: #23345a;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Новости */
.news-list {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.news-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1.5px 14px rgba(60,70,90,0.07);
    overflow: hidden;
    width: 335px;
    display: flex;
    flex-direction: column;
    min-height: 295px;
    transition: box-shadow 0.17s;
}
.news-card:hover {
    box-shadow: 0 6px 24px rgba(32,56,142,0.13);
}
.news-card img {
    width: 100%;
    height: 146px;
    object-fit: cover;
    object-position: center;
}
.news-card div {
    padding: 19px 18px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1 1 auto;
}
.news-card h3 {
    font-size: 1.11rem;
    font-weight: 600;
    margin-bottom: 3px;
}
.news-card h3 a {
    color: #2042a2;
    text-decoration: none;
}
.news-card .date {
    font-size: 13px;
    color: #7b859b;
    margin-top: 5px;
    align-self: flex-end;
}
.more-link {
    margin-top: 18px;
    display: inline-block;
    font-size: 1rem;
}

/* Игры (grid) */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
    gap: 26px;
}
.game-card {
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 1px 9px rgba(37,65,120,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 10px;
    text-align: center;
    text-decoration: none;
    color: #273755;
    transition: box-shadow 0.17s;
    min-height: 180px;
}
.game-card:hover, .game-card:focus {
    box-shadow: 0 6px 24px rgba(32,56,142,0.12);
    background: #e7eefd;
    color: #2566e5;
}
.game-card img {
    width: 82px;
    height: 82px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 8px;
}
.game-card span {
    font-size: 1.06rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* Железо */
.hardware-cards {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}
.hardware-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 16px rgba(25,40,100,0.08);
    padding: 18px;
    flex: 1 1 280px;
    min-width: 240px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    transition: box-shadow 0.18s;
}
.hardware-card:hover {
    box-shadow: 0 6px 32px rgba(32,56,142,0.13);
}
.hardware-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 7px;
    margin-bottom: 6px;
}
.hardware-card h3 {
    font-size: 1.09rem;
    font-weight: 600;
}
.hardware-card p {
    color: #5d6480;
    font-size: 1rem;
}
.hardware-card .more-link {
    margin-top: 2px;
    color: #2566e5;
    text-decoration: underline;
    font-size: 0.99rem;
    transition: color 0.17s;
}
.hardware-card .more-link:hover {
    color: #1746a0;
}

/* Статьи */
.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 20px;
}
.articles-list article {
    background: #fff;
    border-radius: 11px;
    box-shadow: 0 1px 9px rgba(60,70,90,0.06);
    padding: 19px 16px 13px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.articles-list h3 {
    font-size: 1rem;
    font-weight: 600;
}
.articles-list a {
    color: #2042a2;
    text-decoration: none;
}
.articles-list p {
    font-size: 0.97rem;
    color: #465272;
}

/* About */
.about-portal {
    background: linear-gradient(90deg, #f4f7fe 0%, #e0edff 100%);
}
.about-flex {
    display: flex;
    align-items: center;
    gap: 46px;
    flex-wrap: wrap;
}
.about-text {
    max-width: 500px;
}
.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 13px;
    color: #23345a;
}
.about-text p {
    font-size: 1.13rem;
    color: #465272;
    margin-bottom: 21px;
}
.about-img {
    width: 330px;
    max-width: 45vw;
    border-radius: 18px;
    box-shadow: 0 8px 38px rgba(36,54,117,0.08);
}

/* Быстрая навигация */
.quick-nav {
    background: #f6f8fc;
    padding: 34px 0;
}
.quick-nav-flex {
    display: flex;
    gap: 38px;
    justify-content: center;
    flex-wrap: wrap;
}
.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 13px rgba(60,70,90,0.08);
    padding: 22px 26px 18px 26px;
    text-decoration: none;
    color: #274075;
    font-size: 1.11rem;
    min-width: 155px;
    transition: box-shadow 0.16s, color 0.14s;
}
.quick-nav-item:hover, .quick-nav-item:focus {
    box-shadow: 0 6px 28px rgba(32,56,142,0.14);
    color: #2566e5;
}
.quick-nav-item img {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
}

/* Адаптив главной */
@media (max-width: 1150px) {
    .hero-flex, .about-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
    }
    .hero-img, .about-img {
        width: 100%;
        max-width: 390px;
        margin: 0 auto;
        display: block;
    }
}
@media (max-width: 880px) {
    .news-list, .hardware-cards, .quick-nav-flex {
        flex-direction: column;
        gap: 20px;
    }
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px,1fr));
    }
}
@media (max-width: 540px) {
    .hero-text h1, .about-text h2 {
        font-size: 1.25rem;
    }
    .section-title {
        font-size: 1.17rem;
    }
    .news-card, .hardware-card {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
    .about-img, .hero-img {
        max-width: 97vw;
    }
    .quick-nav-item {
        min-width: 0;
        width: 100%;
    }
}
/* Новости hero */
.news-hero {
    background: linear-gradient(90deg, #ecf4ff 0%, #f7faff 70%, #dde8fa 100%);
    padding: 48px 0 28px 0;
}
.news-hero h1 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 13px;
    color: #23345a;
}
.news-hero p {
    color: #465272;
    font-size: 1.09rem;
    margin-bottom: 0;
}

/* Фильтры */
.news-filters {
    background: #f7faff;
    padding: 18px 0;
    border-bottom: 1px solid #e4e7f1;
}
.filters-flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.filter-form {
    display: flex;
    gap: 18px;
    align-items: center;
}
.filter-form select {
    font-size: 1rem;
    padding: 7px 12px;
    border-radius: 7px;
    border: 1px solid #d8def0;
    background: #fff;
    color: #26395d;
    transition: border 0.17s;
}
.filter-form select:focus {
    border: 1.5px solid #2566e5;
    outline: none;
}

/* Новости grid */
.news-list-section {
    padding: 48px 0 34px 0;
}
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 33px 24px;
    margin-bottom: 22px;
}
.news-large-card {
    grid-column: span 3;
    background: #fff;
    border-radius: 17px;
    box-shadow: 0 2px 22px rgba(25,40,100,0.09);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 198px;
    margin-bottom: 6px;
}
.news-large-card img {
    width: 260px;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
}
.news-large-card div {
    padding: 22px 20px 16px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-large-card h2 {
    font-size: 1.29rem;
    font-weight: 700;
    color: #2042a2;
    margin-bottom: 7px;
}
.news-large-card p {
    color: #465272;
    font-size: 1rem;
    margin-bottom: 8px;
}
.news-large-card .date {
    color: #8391b2;
    font-size: 14px;
}

.news-item {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1.5px 12px rgba(32,56,142,0.07);
    overflow: hidden;
    display: flex;
    min-height: 176px;
    transition: box-shadow 0.15s;
}
.news-item:hover {
    box-shadow: 0 6px 24px rgba(32,56,142,0.13);
}
.news-item img {
    width: 128px;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
}
.news-item div {
    padding: 18px 16px 13px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
}
.news-item h3 {
    font-size: 1.03rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.news-item h3 a {
    color: #2042a2;
    text-decoration: none;
}
.news-item p {
    color: #465272;
    font-size: 0.97rem;
    margin-bottom: 8px;
}
.news-item .date {
    color: #8391b2;
    font-size: 13px;
}

/* Рекомендации */
.news-recommended {
    background: #f6f8fc;
    padding: 41px 0 34px 0;
    margin-top: 18px;
}
.rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 24px;
}
.rec-card {
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 1.5px 9px rgba(37,65,120,0.07);
    padding: 14px 13px 12px 13px;
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: #274075;
    font-size: 1.03rem;
    transition: box-shadow 0.13s, color 0.13s;
}
.rec-card img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 7px;
    flex-shrink: 0;
}
.rec-card:hover, .rec-card:focus {
    box-shadow: 0 6px 24px rgba(32,56,142,0.13);
    color: #2566e5;
}

/* Нативное упоминание */
.news-native-link {
    padding: 28px 0 0 0;
    background: #f7faff;
}
.native-text {
    color: #7182a7;
    font-size: 1rem;
    text-align: right;
}
.native-text a {
    color: #2566e5;
    text-decoration: underline dotted;
    opacity: 0.8;
    transition: opacity 0.15s, color 0.13s;
}
.native-text a:hover {
    opacity: 1;
    color: #1746a0;
}

/* Адаптив для news */
@media (max-width: 1100px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    .news-large-card {
        grid-column: span 2;
    }
}
@media (max-width: 720px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-large-card {
        flex-direction: column;
        grid-column: span 1;
    }
    .news-large-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }
    .filters-flex {
        justify-content: center;
    }
    .rec-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
@media (max-width: 520px) {
    .news-item, .news-large-card {
        flex-direction: column;
    }
    .news-item img, .news-large-card img {
        width: 100%;
        height: 120px;
        object-fit: cover;
    }
    .news-item div, .news-large-card div {
        padding: 14px 8px 10px 8px;
    }
}
/* Hero */
.games-hero {
    background: linear-gradient(90deg, #e4f0fd 0%, #f6faff 70%, #e0edff 100%);
    padding: 44px 0 28px 0;
}
.games-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #22335c;
    margin-bottom: 11px;
}
.games-hero p {
    color: #465272;
    font-size: 1.06rem;
}

/* Фильтры и поиск */
.games-filters {
    background: #f7faff;
    padding: 18px 0 4px 0;
    border-bottom: 1px solid #e4e7f1;
}
.games-filters-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px 36px;
}
.games-search {
    display: flex;
    gap: 8px;
    align-items: center;
}
.games-search input {
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid #cfd8ea;
    background: #fff;
    width: 220px;
    transition: border 0.15s;
}
.games-search input:focus {
    border: 1.5px solid #2566e5;
    outline: none;
}
.games-tags {
    display: flex;
    align-items: center;
    gap: 7px;
}
.games-tag {
    display: inline-block;
    background: #e7eefd;
    color: #2566e5;
    font-size: 0.99rem;
    padding: 6px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.14s, color 0.13s;
}
.games-tag:hover,
.games-tag:focus {
    background: #2566e5;
    color: #fff;
}

/* Алфавит */
.games-alpha {
    padding: 19px 0 12px 0;
    background: #f6faff;
}
.alpha-flex {
    display: flex;
    align-items: center;
    gap: 17px;
    flex-wrap: wrap;
}
.alpha-label {
    color: #7b8cb0;
    font-size: 1.03rem;
    margin-right: 7px;
}
.alpha-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.alpha-item {
    display: inline-block;
    background: #e7eefd;
    color: #2566e5;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.95;
    transition: background 0.14s, color 0.13s;
}
.alpha-item:hover,
.alpha-item:focus {
    background: #2566e5;
    color: #fff;
}
.alpha-disabled {
    background: #e0e4ef;
    color: #b4bad6;
    cursor: default;
    pointer-events: none;
    opacity: 0.63;
}

/* Каталог игр */
.games-list-section {
    padding: 38px 0 38px 0;
}
.games-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 32px;
    margin-bottom: 22px;
}
.game-entry {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 14px rgba(25,40,100,0.09);
    display: flex;
    flex-direction: column;
    min-height: 330px;
    overflow: hidden;
    transition: box-shadow 0.14s;
}
.game-entry:hover {
    box-shadow: 0 7px 30px rgba(32,56,142,0.13);
}
.game-entry img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 0;
}
.game-entry div {
    padding: 21px 19px 13px 19px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.game-entry h2 {
    font-size: 1.19rem;
    font-weight: 600;
    color: #2042a2;
    margin-bottom: 3px;
}
.game-entry p {
    color: #465272;
    font-size: 1rem;
    margin-bottom: 11px;
}
.game-more {
    margin-top: auto;
    font-size: 1rem;
    align-self: flex-start;
    padding: 9px 22px;
}

/* Адаптивность */
@media (max-width: 900px) {
    .games-filters-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .games-list-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .games-list-grid {
        grid-template-columns: 1fr;
    }
    .game-entry img {
        height: 140px;
    }
    .games-search input {
        width: 100%;
        min-width: 0;
    }
}
/* Hero */
.hardware-hero {
    background: linear-gradient(90deg, #e9f1ff 0%, #f7faff 70%, #dde7f8 100%);
    padding: 42px 0 25px 0;
}
.hardware-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #23345a;
    margin-bottom: 12px;
}
.hardware-hero p {
    color: #465272;
    font-size: 1.08rem;
}

/* Фильтры */
.hardware-filters {
    background: #f7faff;
    padding: 15px 0 2px 0;
    border-bottom: 1px solid #e4e7f1;
}
.hardware-filters-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px 20px;
}
.hardware-tags {
    display: flex;
    align-items: center;
    gap: 7px;
}
.hardware-tag {
    display: inline-block;
    background: #e7eefd;
    color: #2566e5;
    font-size: 0.99rem;
    padding: 6px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.14s, color 0.13s;
}
.hardware-tag:hover,
.hardware-tag:focus {
    background: #2566e5;
    color: #fff;
}

/* Топ недели */
.hardware-top {
    padding: 38px 0 18px 0;
}
.hardware-top-grid {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.hardware-top-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 14px rgba(25,40,100,0.08);
    min-width: 250px;
    max-width: 370px;
    flex: 1 1 330px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.13s;
}
.hardware-top-card:hover {
    box-shadow: 0 7px 28px rgba(32,56,142,0.13);
}
.hardware-top-card img {
    width: 100%;
    height: 118px;
    object-fit: cover;
}
.hardware-top-card div {
    padding: 18px 15px 14px 15px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.hardware-top-card h3 {
    font-size: 1.09rem;
    font-weight: 600;
    color: #2042a2;
}
.hardware-top-card p {
    color: #465272;
    font-size: 1rem;
}
.hardware-top-card .more-link {
    color: #2566e5;
    text-decoration: underline;
    font-size: 0.99rem;
    margin-top: 4px;
    transition: color 0.13s;
}
.hardware-top-card .more-link:hover {
    color: #1746a0;
}

/* Каталог устройств */
.hardware-list-section {
    padding: 37px 0 22px 0;
}
.hardware-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 28px;
    margin-bottom: 20px;
}
.hardware-entry {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1.5px 12px rgba(32,56,142,0.07);
    display: flex;
    flex-direction: column;
    min-height: 265px;
    overflow: hidden;
    transition: box-shadow 0.14s;
}
.hardware-entry:hover {
    box-shadow: 0 7px 30px rgba(32,56,142,0.13);
}
.hardware-entry img {
    width: 100%;
    height: 102px;
    object-fit: cover;
    border-radius: 0;
}
.hardware-entry div {
    padding: 16px 13px 12px 15px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hardware-entry h3 {
    font-size: 1.09rem;
    font-weight: 600;
    color: #2042a2;
}
.hardware-entry p {
    color: #465272;
    font-size: 0.98rem;
}
.hardware-more {
    margin-top: auto;
    font-size: 0.99rem;
    align-self: flex-start;
    padding: 8px 20px;
}

/* Блок с советом */
.hardware-tip {
    background: linear-gradient(90deg, #e7f2fc 0%, #f6faff 100%);
    padding: 38px 0 26px 0;
    margin-top: 24px;
}
.tip-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.tip-text h2 {
    font-size: 1.22rem;
    color: #23407b;
    font-weight: 700;
    margin-bottom: 7px;
}
.tip-text p {
    color: #455678;
    font-size: 1.07rem;
}
.tip-img {
    width: 142px;
    max-width: 35vw;
    border-radius: 13px;
    box-shadow: 0 6px 18px rgba(60,80,130,0.07);
}

/* Адаптивность */
@media (max-width: 950px) {
    .hardware-top-grid {
        flex-direction: column;
        gap: 16px;
    }
    .tip-flex {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }
    .tip-img {
        width: 100%;
        max-width: 300px;
    }
}
@media (max-width: 660px) {
    .hardware-list-grid {
        grid-template-columns: 1fr;
    }
    .hardware-entry img {
        height: 80px;
    }
}
/* Hero about */
.about-hero {
    background: linear-gradient(90deg, #e9f1ff 0%, #f7faff 70%, #dde7f8 100%);
    padding: 46px 0 30px 0;
}
.about-hero-flex {
    display: flex;
    align-items: center;
    gap: 46px;
    flex-wrap: wrap;
}
.about-hero-text {
    max-width: 540px;
}
.about-hero-text h1 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #23345a;
    margin-bottom: 14px;
}
.about-hero-text p {
    color: #465272;
    font-size: 1.18rem;
    margin-bottom: 15px;
}
.about-qualities {
    margin: 0;
    padding-left: 22px;
    color: #435276;
    font-size: 1.05rem;
    line-height: 1.5;
}
.about-hero-img {
    width: 340px;
    max-width: 44vw;
    border-radius: 18px;
    box-shadow: 0 8px 38px rgba(36,54,117,0.09);
}

/* Основной блок */
.about-block {
    background: #fff;
    padding: 42px 0 22px 0;
}
.about-content {
    display: flex;
    gap: 38px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.about-card {
    background: #f7faff;
    border-radius: 16px;
    box-shadow: 0 1px 10px rgba(32,56,142,0.07);
    padding: 28px 25px 21px 25px;
    flex: 1 1 300px;
    min-width: 260px;
    max-width: 370px;
    margin-bottom: 20px;
}
.about-card h2 {
    font-size: 1.18rem;
    font-weight: 600;
    color: #2042a2;
    margin-bottom: 8px;
}
.about-card p {
    font-size: 1.04rem;
    color: #465272;
}

/* FAQ */
.about-faq {
    background: #f6f8fc;
    padding: 39px 0 29px 0;
}
.faq-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 27px;
    margin-top: 17px;
}
.faq-item h3 {
    font-size: 1.08rem;
    color: #2042a2;
    margin-bottom: 5px;
    font-weight: 600;
}
.faq-item p {
    color: #465272;
    font-size: 0.99rem;
}
.faq-item a {
    color: #2566e5;
    text-decoration: underline;
}

/* Join */
.about-join {
    background: linear-gradient(90deg, #e0edff 0%, #f6faff 100%);
    padding: 32px 0 26px 0;
}
.join-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.about-socials a {
    display: inline-block;
    margin-right: 14px;
    transition: opacity 0.17s;
    opacity: 0.8;
}
.about-socials a:last-child {
    margin-right: 0;
}
.about-socials a:hover {
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 980px) {
    .about-hero-flex,
    .about-content,
    .join-flex {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .about-hero-img {
        width: 100%;
        max-width: 370px;
        margin: 0 auto;
    }
}
@media (max-width: 600px) {
    .about-card, .faq-list {
        min-width: 0;
        max-width: 100%;
    }
    .about-hero-text h1 {
        font-size: 1.25rem;
    }
}
