
:root {
    --shell-max: 1720px;
}


.header-section .navbar.site-navbar {
    width: 100% !important;
    max-width: var(--shell-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-lockup {
    text-decoration: none;
}

.brand-mark {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    background: linear-gradient(150deg, rgba(14, 240, 173, .22), rgba(14, 240, 173, .04));
    border: 1px solid rgba(14, 240, 173, .35);
    transition: .3s;
}

.brand-mark img {
    width: 24px;
    height: auto;
}

.brand-lockup:hover .brand-mark {
    border-color: var(--p300);
    box-shadow: 0 0 22px rgba(14, 240, 173, .25);
}

.brand-name {
    font-family: var(--head-font);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    color: var(--n0);
    letter-spacing: .02em;
    text-transform: uppercase;
}

.brand-tagline {
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--p300);
    margin-top: 3px;
}

.main-menu {
    margin: 0 auto;
    padding: 0;
}

/* отступы через margin, а не flex-gap — работает в любом браузере */
.main-menu > li + li {
    margin-left: 30px;
}

.main-menu > li > a {
    font-family: var(--head-font);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--n0);
    position: relative;
    padding: 6px 0;
    display: inline-block;
}

.main-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--p300);
    transition: .3s;
}

.main-menu > li > a:hover,
.main-menu > li > a.active {
    color: var(--p300);
}

.main-menu > li > a:hover::after,
.main-menu > li > a.active::after {
    width: 100%;
}

.nav-cta {
    white-space: nowrap;
    padding: 11px 22px !important;
    font-size: 15px;
}

.burger {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--n600);
    background: rgba(255, 255, 255, .04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--n0);
    transition: .3s;
}

.burger span + span {
    margin-top: 5px;
}

.burger:hover {
    border-color: var(--p300);
}

.burger:hover span {
    background: var(--p300);
}



.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    visibility: hidden;
    pointer-events: none;
}

.mobile-drawer.open {
    visibility: visible;
    pointer-events: auto;
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 8, 16, .72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: .35s;
}

.mobile-drawer.open .drawer-backdrop {
    opacity: 1;
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 88vw);
    background: var(--n900);
    border-left: 1px solid var(--n700);
    padding: 22px 22px 40px;
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform .38s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open .drawer-panel {
    transform: translateX(0);
}

.drawer-head {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--n700);
}

.drawer-close {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    border: 1px solid var(--n600);
    background: rgba(255, 255, 255, .04);
    transition: .3s;
}

.drawer-close i {
    color: var(--n0);
    font-size: 22px;
}

.drawer-close:hover {
    border-color: var(--p300);
}

.drawer-close:hover i {
    color: var(--p300);
}

.drawer-menu {
    margin: 10px 0 0;
}

.drawer-menu li + li {
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.drawer-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 4px;
    font-family: var(--head-font);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--n0);
    transition: .3s;
}

.drawer-menu a i {
    font-size: 20px;
    color: var(--n300);
    transition: .3s;
}

.drawer-menu a:hover,
.drawer-menu a.active {
    color: var(--p300);
    padding-left: 10px;
}

.drawer-menu a:hover i,
.drawer-menu a.active i {
    color: var(--p300);
}

.drawer-contact {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--n700);
    display: grid;
    gap: 14px;
}

.drawer-contact i {
    font-size: 20px;
    color: var(--p300);
}

.drawer-contact span,
.drawer-contact a {
    font-size: 15px;
    line-height: 22px;
    color: var(--n50);
}

.drawer-contact a:hover {
    color: var(--p300);
}

.drawer-cta {
    margin-top: 26px;
}

.drawer-cta .btn-box {
    justify-content: center;
}

body.drawer-open {
    overflow: hidden;
}

/* Гасим наследие шаблона: боковое меню и лишние правила на мобильных */
.sidebar-wrapper {
    display: none !important;
}

@media (max-width: 1199px) {
    .header-section .navbar.site-navbar {
        width: 100% !important;
    }

    .header-section .navbar.site-navbar .main-menu {
        position: static;
        max-height: none;
        overflow: visible;
        width: auto;
    }
}

/* ------------------------------------------------------- INNER BANNERS --- */

.banner-section.inner-banner .main-content h1 {
    max-width: 18ch;
}

.banner-section.inner-banner .main-content p {
    max-width: 62ch;
}

.banner-section.inner-banner::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 240, 173, .16) 0%, rgba(14, 240, 173, 0) 68%);
    pointer-events: none;
}

/* ------------------------------------------------------------ SECTIONS --- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--head-font);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--p300);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--p300);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 40px;
    border: 1px solid var(--n600);
    background: rgba(255, 255, 255, .03);
    font-size: 14px;
    line-height: 20px;
    color: var(--n30);
    white-space: nowrap;
}

.chip.accent {
    border-color: rgba(14, 240, 173, .45);
    color: var(--p300);
}

.chip i {
    font-size: 18px;
    color: var(--p300);
}

.tile {
    height: 100%;
    background: var(--n800);
    border: 1px solid var(--n700);
    border-radius: 18px;
    padding: 32px 28px;
    transition: .3s;
}

.tile:hover {
    border-color: rgba(14, 240, 173, .45);
    transform: translateY(-4px);
}

.tile .icon-box {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 240, 173, .1);
    border: 1px solid rgba(14, 240, 173, .28);
    margin-bottom: 22px;
}

.tile .icon-box i {
    color: var(--p300);
    font-size: 30px;
}

.tile h4,
.tile h3 {
    margin-bottom: 12px;
}

.tile .tile-meta {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--n700);
    font-size: 14px;
    color: var(--n70);
}

.check-list {
    display: grid;
    gap: 14px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--n40);
}

.check-list li i {
    color: var(--p300);
    font-size: 20px;
    line-height: 24px;
    flex-shrink: 0;
}

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--n700);
    border: 1px solid var(--n700);
    border-radius: 18px;
    overflow: hidden;
}

.stat-strip .stat-cell {
    background: var(--n900);
    padding: 30px 22px;
    text-align: center;
}

.stat-strip .stat-value {
    font-family: var(--head-font);
    font-weight: 700;
    font-size: 42px;
    line-height: 1.1;
    color: var(--p300);
    display: block;
}

.stat-strip .stat-label {
    font-size: 14px;
    line-height: 20px;
    color: var(--n60);
    margin-top: 8px;
    display: block;
}

@media (max-width: 767px) {
    .stat-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-strip .stat-value {
        font-size: 32px;
    }
}

/* Portfolio v2: preserve the stronger 16:9 key-art composition and show the
   generated service scenes as editorial banners rather than shallow strips. */
.service-card .thumb::before,
.service-row .media::before {
    padding-top: 56.25%;
}

.service-card .thumb img,
.service-row .media img,
.mockup-card img {
    object-position: center center;
}

.mockup-card::before {
    padding-top: 56.25%;
}

.mockup-card img {
    transition: transform .55s cubic-bezier(.2,.7,.2,1), filter .35s;
}

.mockup-card:hover img {
    transform: scale(1.035);
    filter: saturate(1.08) contrast(1.03);
}

.service-card .thumb img {
    transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.service-card:hover .thumb img {
    transform: scale(1.035);
}

.our-games .mockup-grid {
    row-gap: 28px;
}

.mockup-card {
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 22px 55px rgba(0,0,0,.28);
}

.screen-strip .phone {
    border-color: rgba(255,255,255,.13);
    box-shadow: 0 24px 60px rgba(0,0,0,.38), 0 0 0 5px rgba(255,255,255,.025);
}

/* --------------------------------------------------------- GAMES BLOCK --- */

.game-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.game-filter button {
    padding: 10px 22px;
    border-radius: 40px;
    border: 1px solid var(--n600);
    background: rgba(255, 255, 255, .03);
    color: var(--n30);
    font-family: var(--head-font);
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: 14px;
    transition: .3s;
}

.game-filter button:hover {
    border-color: var(--p300);
    color: var(--p300);
}

.game-filter button.active {
    background: var(--p300);
    border-color: var(--p300);
    color: var(--n800);
}

.game-card {
    display: block;
    height: 100%;
    background: var(--n800);
    border: 1px solid var(--n700);
    border-radius: 18px;
    overflow: hidden;
    transition: .3s;
}

.game-card:hover {
    border-color: rgba(14, 240, 173, .5);
    transform: translateY(-6px);
}

.game-card .thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 700 / 488;
    background: var(--n900);
}

.game-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.game-card:hover .thumb img {
    transform: scale(1.05);
}

.game-card .thumb .genre-tag {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(6, 8, 16, .78);
    border: 1px solid rgba(14, 240, 173, .4);
    color: var(--p300);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.game-card .card-body {
    padding: 22px 24px 26px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.game-card .card-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--n600);
}

.game-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card h4 {
    margin-bottom: 6px;
    font-size: 22px;
    line-height: 28px;
}

.game-card:hover h4 {
    color: var(--p300);
}

.game-card .card-tagline {
    font-size: 14px;
    line-height: 21px;
    color: var(--n70);
}

.game-card .card-foot {
    padding: 0 24px 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.game-card .card-foot span {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--n70);
    border: 1px solid var(--n700);
    border-radius: 30px;
    padding: 4px 12px;
}

/* --------------------------------------------------------- GAME DETAIL --- */

.game-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--n700);
}

.game-hero img {
    width: 100%;
    display: block;
}

.game-spec {
    background: var(--n800);
    border: 1px solid var(--n700);
    border-radius: 18px;
    overflow: hidden;
}

.game-spec li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--n700);
}

.game-spec li:last-child {
    border-bottom: none;
}

.game-spec .k {
    color: var(--n70);
    font-size: 14px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.game-spec .v {
    color: var(--n0);
    font-weight: 600;
    text-align: right;
}

.shot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.shot-grid img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--n700);
}

@media (max-width: 575px) {
    .shot-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .shot-grid img:last-child {
        display: none;
    }
}

/* ========================================================================
   PREMIUM VISUAL SYSTEM — consistent rhythm, alternating section surfaces,
   polished navigation and project-specific imagery.
   ======================================================================== */

:root {
    --section-space: 60px;
    --surface-0: #0b0e18;
    --surface-1: #111522;
    --surface-2: #171c2b;
    --surface-border: rgba(255, 255, 255, .075);
    --premium-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

body {
    background: var(--surface-0);
}

/* A predictable 60px vertical rhythm on every content section. */
main > section,
body > section:not(.banner-section) {
    padding-top: var(--section-space) !important;
    padding-bottom: var(--section-space) !important;
}

/* Alternate section surfaces on every page, including sections that had no
   explicit background in the original template. */
body > section:not(.banner-section):nth-of-type(odd) {
    background-color: var(--surface-0);
}

body > section:not(.banner-section):nth-of-type(even) {
    background-color: var(--surface-1);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

body > section.our-services,
body > section.our-game-features,
body > section.gaming-character,
body > section.faqs-section {
    background-color: var(--surface-2);
}

body > section.contact-us {
    background:
        radial-gradient(circle at 18% 20%, rgba(14, 240, 173, .09), transparent 34%),
        var(--surface-0);
}

/* Header: remove the offset template overlay and make navigation look like a
   composed set of tactile controls. */
.header-section,
.header-section.header-fixed {
    background: rgba(12, 16, 28, .88) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.header-section::before,
.header-section::after,
.header-section .navbar::before,
.header-section .navbar::after {
    transform: none !important;
    left: 0 !important;
    right: 0 !important;
}

.header-section .navbar.site-navbar {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

.main-menu {
    display: inline-flex;
    align-items: center;
    padding: 5px;
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
}

.main-menu > li + li {
    margin-left: 2px;
}

.main-menu > li > a {
    padding: 10px 15px;
    border-radius: 11px;
    color: #d9deea;
    font-size: 13px;
    letter-spacing: .055em;
    transition: color .25s, background .25s, box-shadow .25s;
}

.main-menu > li > a::after {
    display: none;
}

.main-menu > li > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .075);
}

.main-menu > li > a.active {
    color: #07140f;
    background: linear-gradient(135deg, #72f4c6, #24d99c);
    box-shadow: 0 8px 24px rgba(14, 240, 173, .2);
}

.nav-cta {
    border-radius: 13px !important;
    box-shadow: 0 10px 28px rgba(14, 240, 173, .2);
}

/* Premium hero image is decorative and supports the live project carousel. */
.banner-section.index-one {
    background-image:
        linear-gradient(90deg, rgba(12, 15, 27, .99) 0%, rgba(12, 15, 27, .93) 42%, rgba(12, 15, 27, .35) 78%, rgba(12, 15, 27, .72) 100%),
        url('../images/premium/hero-mobile-game-studio.webp') !important;
    background-size: cover !important;
    background-position: center !important;
}

.banner-section.index-one .overlay {
    background: linear-gradient(180deg, transparent 65%, var(--surface-1) 100%);
}

.banner-section.index-one .shape-area .hero-blob,
.banner-section.index-one .shape-area .shape-2,
.banner-section.index-one .shape-area .shape-3 {
    opacity: .18 !important;
}

.banner-section .main-content p {
    max-width: 610px;
    color: #c7cedc;
}

.game-carousel .single-slider {
    border-radius: 24px;
    background: rgba(245, 248, 252, .97);
    box-shadow: var(--premium-shadow);
}

.game-carousel .thumb img {
    box-shadow: 0 18px 35px rgba(0, 0, 0, .18);
}

/* Imagery gets consistent editorial framing instead of arbitrary template
   proportions. Higher-resolution generated sources remain crisp after CSS crop. */
.about-block .sec-img,
.game-hero,
.service-row .media {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: var(--surface-2);
    box-shadow: var(--premium-shadow);
}

.about-block .sec-img > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.game-hero img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.service-card,
.tile,
.process-item,
.quote-card,
.site-form,
.stat-strip {
    border-color: rgba(255, 255, 255, .09) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
}

.service-card:hover,
.tile:hover {
    border-color: rgba(14, 240, 173, .42) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .25), 0 0 0 1px rgba(14, 240, 173, .08);
}

.banner-section.inner-banner {
    min-height: 350px;
    display: flex;
    align-items: end;
    background:
        radial-gradient(circle at 82% 20%, rgba(14, 240, 173, .17), transparent 30%),
        linear-gradient(135deg, #151a2a 0%, #0d111d 75%) !important;
    border-bottom: 1px solid var(--surface-border);
}

.banner-section.inner-banner .banner-content {
    padding-top: 120px;
    padding-bottom: 60px;
}

.site-footer .footer-top {
    padding-top: 60px !important;
}

@media (max-width: 1399px) {
    .main-menu > li > a {
        padding-inline: 11px;
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    :root { --section-space: 60px; }

    .banner-section.index-one {
        background-position: 64% center !important;
    }

    .banner-section.index-one::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(9, 12, 21, .48);
        pointer-events: none;
    }
}

@media (max-width: 575px) {
    .header-section .navbar.site-navbar {
        padding: 9px 14px !important;
    }

    .banner-section.inner-banner .banner-content {
        padding-top: 105px;
        padding-bottom: 60px;
    }

    .banner-section.index-one {
        background-position: 68% center !important;
    }

    .about-block .sec-img,
    .game-hero,
    .service-row .media {
        border-radius: 18px;
    }
}

.result-card {
    background: var(--n800);
    border: 1px solid var(--n700);
    border-radius: 18px;
    padding: 28px 24px;
    text-align: center;
    height: 100%;
}

.result-card .value {
    font-family: var(--head-font);
    font-weight: 700;
    font-size: 40px;
    line-height: 1.1;
    color: var(--p300);
    display: block;
}

.result-card .label {
    display: block;
    margin-top: 10px;
    color: var(--n60);
    font-size: 15px;
}

/* ------------------------------------------------------------- PROCESS --- */

.process-list {
    counter-reset: step;
    display: grid;
    gap: 20px;
}

.process-item {
    position: relative;
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 26px;
    padding: 30px;
    background: var(--n800);
    border: 1px solid var(--n700);
    border-radius: 18px;
    transition: .3s;
}

.process-item:hover {
    border-color: rgba(14, 240, 173, .45);
}

.process-item .step-no {
    counter-increment: step;
    width: 92px;
    height: 92px;
    border-radius: 20px;
    background: rgba(14, 240, 173, .08);
    border: 1px solid rgba(14, 240, 173, .3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.process-item .step-no i {
    font-size: 28px;
    color: var(--p300);
}

.process-item .step-no::after {
    content: "0" counter(step);
    font-family: var(--head-font);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .1em;
    color: var(--n60);
}

.process-item .step-out {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--n600);
    font-size: 14px;
    color: var(--n70);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.process-item .step-out i {
    color: var(--p300);
    font-size: 18px;
}

@media (max-width: 575px) {
    .process-item {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px 20px;
    }
}

.timeline-list {
    display: grid;
    gap: 0;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 28px;
    padding: 26px 0;
    border-bottom: 1px solid var(--n700);
}

.timeline-item:first-child {
    border-top: 1px solid var(--n700);
}

.timeline-item .tl-week {
    font-family: var(--head-font);
    font-weight: 700;
    color: var(--p300);
    letter-spacing: .05em;
    text-transform: uppercase;
}

@media (max-width: 575px) {
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* ------------------------------------------------------------- SERVICE --- */

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--n700);
}

.service-row:last-child {
    border-bottom: none;
}

.service-row .media {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--n700);
    position: relative;
}

.service-row .media img {
    width: 100%;
    display: block;
    aspect-ratio: 700 / 488;
    object-fit: cover;
}

.service-row:nth-child(even) .media {
    order: 2;
}

@media (max-width: 991px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0;
    }

    .service-row:nth-child(even) .media {
        order: 0;
    }
}

.service-index {
    font-family: var(--head-font);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .18em;
    color: var(--n60);
}

/* -------------------------------------------------------------- FORMS --- */

.site-form {
    background: var(--n900);
    border: 1px solid var(--n700);
    border-radius: 20px;
}

.site-form .form-heading {
    font-size: 26px;
    line-height: 32px;
}

.site-form .form-note {
    color: var(--n60);
    font-size: 15px;
}

.site-form .form-inside {
    background: var(--n800);
    border: 1px solid var(--n600);
    border-radius: 16px;
}

.site-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--n30);
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.site-form label span {
    color: var(--p300);
}

.site-form .single-input {
    margin-bottom: 20px;
}

.site-form input,
.site-form textarea,
.site-form .nice-select {
    background-color: rgba(255, 255, 255, .02);
    border-radius: 12px;
}

.site-form textarea {
    resize: vertical;
    min-height: 120px;
}

.site-form .nice-select {
    width: 100%;
    line-height: 26px;
    height: auto;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, .02);
    font-size: 16px;
    color: var(--n0);
}

.site-form .nice-select .list {
    border: 1px solid var(--n600);
    border-radius: 12px;
    max-height: 260px;
    overflow-y: auto;
}

.site-form .nice-select .option {
    color: var(--n30);
}

.site-form .nice-select .option:hover,
.site-form .nice-select .option.focus,
.site-form .nice-select .option.selected.focus {
    background-color: var(--n700);
    color: var(--p300);
}

.site-form .error-msg {
    display: none;
    margin-top: 6px;
    font-size: 13px;
    color: var(--danger-color);
}

.site-form .field.has-error input,
.site-form .field.has-error textarea {
    border-color: var(--danger-color);
}

.site-form .field.has-error .error-msg {
    display: block;
}

.consent-field .consent-label {
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    color: var(--n50);
    cursor: pointer;
    margin-bottom: 0;
}

.consent-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: #0ef0ad;
    cursor: pointer;
}

.consent-field .consent-text a {
    color: var(--p300);
    text-decoration: underline;
}

.consent-field.has-error .consent-text {
    color: var(--danger-color);
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-hint {
    font-size: 14px;
    color: var(--n60);
}

.form-alert {
    display: none;
    margin-top: 20px;
    padding: 18px 22px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 23px;
}

.form-alert.show {
    display: block;
}

.form-alert strong {
    display: block;
    font-family: var(--head-font);
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--n0);
}

.form-alert.success {
    background: rgba(63, 202, 144, .12);
    border: 1px solid rgba(63, 202, 144, .45);
    color: #b8f3d8;
}

.form-alert.error {
    background: rgba(237, 80, 80, .1);
    border: 1px solid rgba(237, 80, 80, .45);
    color: #f6c3c3;
}

/* --------------------------------------------------------- CONTACT BOX --- */

.contact-cards {
    display: grid;
    gap: 18px;
}

.contact-card {
    display: flex;
    gap: 18px;
    padding: 26px;
    background: var(--n800);
    border: 1px solid var(--n700);
    border-radius: 18px;
    transition: .3s;
}

.contact-card:hover {
    border-color: rgba(14, 240, 173, .45);
}

.contact-card .icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 240, 173, .1);
    border: 1px solid rgba(14, 240, 173, .3);
}

.contact-card .icon i {
    color: var(--p300);
    font-size: 26px;
}

.contact-card h5 {
    margin-bottom: 6px;
}

.contact-card a {
    color: var(--n30);
    word-break: break-word;
}

.contact-card a:hover {
    color: var(--p300);
}

/* --------------------------------------------------- ADVERTISE & COLLAB --- */

.advertise-block {
    position: relative;
    background: linear-gradient(140deg, rgba(14, 240, 173, .1) 0%, rgba(14, 240, 173, 0) 45%), var(--n800);
    border: 1px solid var(--n700);
    border-radius: 22px;
    padding: 52px 48px;
    overflow: hidden;
}

.advertise-block::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 240, 173, .18) 0%, rgba(14, 240, 173, 0) 70%);
}

.advertise-block p {
    font-size: 17px;
    line-height: 29px;
    color: var(--n40);
    max-width: 90ch;
    position: relative;
    z-index: 1;
}

@media (max-width: 575px) {
    .advertise-block {
        padding: 32px 22px;
    }
}

/* ------------------------------------------------------- LEGAL / TERMS --- */

.legal-content {
    background: var(--n800);
    border: 1px solid var(--n700);
    border-radius: 20px;
    padding: 48px 46px;
}

.legal-content h2 {
    font-size: 28px;
    line-height: 36px;
    margin: 42px 0 14px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 21px;
    line-height: 28px;
    margin: 26px 0 10px;
}

.legal-content p {
    margin-bottom: 14px;
    color: var(--n40);
    line-height: 27px;
}

.legal-content ul {
    margin: 0 0 18px;
    display: grid;
    gap: 10px;
}

.legal-content ul li {
    padding-left: 24px;
    position: relative;
    color: var(--n40);
    line-height: 25px;
}

.legal-content ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--p300);
}

.legal-content a {
    color: var(--p300);
    text-decoration: underline;
}

.legal-meta {
    padding: 18px 22px;
    border: 1px dashed var(--n600);
    border-radius: 14px;
    color: var(--n60);
    font-size: 15px;
    margin-bottom: 34px;
}

@media (max-width: 575px) {
    .legal-content {
        padding: 28px 20px;
    }
}

/* --------------------------------------------------------------- FAQ ----- */

.faqs-section .accordion-item {
    background: var(--n800);
    border: 1px solid var(--n700);
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
}

.faqs-section .accordion-button {
    background: transparent;
    color: var(--n0);
    font-family: var(--head-font);
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    padding: 22px 26px;
    box-shadow: none;
}

.faqs-section .accordion-button:not(.collapsed) {
    color: var(--p300);
    background: transparent;
}

.faqs-section .accordion-button::after {
    filter: invert(1);
}

.faqs-section .accordion-body {
    padding: 0 26px 24px;
}

.faqs-section .accordion-body p {
    color: var(--n50);
    line-height: 26px;
}

/* -------------------------------------------------------------- FOOTER --- */

.site-footer {
    position: relative;
    background: var(--n800);
    border-top: 1px solid var(--n700);
    overflow: hidden;
}

.site-footer .footer-glow {
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 320px;
    background: radial-gradient(ellipse, rgba(14, 240, 173, .12) 0%, rgba(14, 240, 173, 0) 70%);
    pointer-events: none;
}

.site-footer .footer-about {
    color: var(--n60);
    line-height: 26px;
    font-size: 15px;
}

.site-footer .footer-title {
    font-size: 18px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.site-footer .footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: var(--p300);
}

.site-footer .footer-nav li + li {
    margin-top: 10px;
}

.site-footer .footer-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--n60);
    font-size: 15px;
    transition: .3s;
}

.site-footer .footer-nav a i {
    font-size: 18px;
    color: var(--p300);
    transition: .3s;
}

.site-footer .footer-nav a:hover {
    color: var(--p300);
    transform: translateX(4px);
}

.site-footer .footer-contact {
    display: grid;
    gap: 14px;
}

.site-footer .footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.site-footer .footer-contact i {
    font-size: 20px;
    color: var(--p300);
}

.site-footer .footer-contact span,
.site-footer .footer-contact a {
    font-size: 15px;
    line-height: 23px;
    color: var(--n60);
}

.site-footer .footer-contact a:hover {
    color: var(--p300);
}

.site-footer .footer-legal a {
    font-size: 14px;
    color: var(--n60);
    border-bottom: 1px solid transparent;
}

.site-footer .footer-legal li + li::before {
    content: "•";
    color: var(--n600);
    margin-right: 12px;
}

.site-footer .footer-legal a:hover {
    color: var(--p300);
    border-color: var(--p300);
}

.site-footer .footer-tech {
    margin-top: 40px;
    padding: 24px 0;
    border-top: 1px solid var(--n700);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.site-footer .footer-tech .tech-label {
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--n70);
}

.site-footer .footer-tech ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer .footer-tech li {
    font-size: 13px;
    color: var(--n40);
    padding: 5px 14px;
    border: 1px solid var(--n700);
    border-radius: 30px;
}

.site-footer .footer-bottom {
    border-top: 1px solid var(--n700);
    padding: 22px 0 26px;
}

.site-footer .copyright {
    color: var(--n70);
    font-size: 14px;
    margin: 0;
}

/* --------------------------------------------------------------- MISC ---- */

.cta-band {
    position: relative;
    background: linear-gradient(120deg, rgba(14, 240, 173, .14) 0%, rgba(14, 240, 173, 0) 55%), var(--n800);
    border: 1px solid var(--n700);
    border-radius: 22px;
    padding: 54px 48px;
    overflow: hidden;
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 240, 173, .2) 0%, rgba(14, 240, 173, 0) 70%);
}

.cta-band > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 575px) {
    .cta-band {
        padding: 32px 22px;
    }
}

.quote-card {
    background: var(--n800);
    border: 1px solid var(--n700);
    border-radius: 18px;
    padding: 34px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.quote-card .stars {
    display: flex;
    gap: 2px;
}

.quote-card .stars i {
    color: #EDCB50;
    font-size: 20px;
}

.quote-card p {
    font-size: 16px;
    line-height: 27px;
    color: var(--n30);
    flex-grow: 1;
}

.quote-card .who {
    border-top: 1px solid var(--n700);
    padding-top: 18px;
}

.quote-card .who h5 {
    font-size: 17px;
    margin-bottom: 4px;
}

.quote-card .who span {
    font-size: 14px;
    color: var(--n70);
    display: block;
}

.section-note {
    color: var(--n60);
    font-size: 15px;
}

.mockup-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--n70);
}

.mockup-note i {
    font-size: 16px;
    color: var(--p300);
}

a.plain-link {
    color: var(--p300);
    border-bottom: 1px solid rgba(14, 240, 173, .4);
}

a.plain-link:hover {
    border-color: var(--p300);
}

/* ------------------------------------------------- template overrides ---- */

/* белая карточка проекта в герое: читаемый вторичный текст */
.banner-section .single-slider p {
    color: var(--n300);
}

.banner-section .single-slider .thumb img {
    border-radius: 12px;
}

/* акцентная часть заголовка на внутренних баннерах */
.inner-banner .main-content h1 span,
.display-four span {
    color: var(--p300);
}

/* заголовок внутри .alt-bg (тёмный текст на зелёном) не трогаем */
.alt-bg .display-four span {
    color: var(--n800);
}

/* секции с фоновой картинкой шаблона: держим контент выше декора */
.our-games > .container,
.our-focus > .container,
.how-it-works > .container {
    position: relative;
    z-index: 1;
}

/* аккуратные отступы у заголовков секций */
.section-header .eyebrow,
.section-text .eyebrow {
    margin-bottom: 16px;
}

.section-header + .service-list {
    margin-top: -10px;
}

/* «шапка» секции: одинаковая ширина текста */
.section-note {
    max-width: 60ch;
}

/* карточка формы на светлом фоне не появляется — фиксируем цвет заголовка */
.site-form .form-heading,
.site-form label {
    color: var(--n0);
}

.site-form label {
    color: var(--n30);
}

/* кнопка отправки: не растягивается на всю ширину */
.site-form button[type="submit"] {
    min-width: 190px;
    justify-content: center;
}

.site-form button[type="submit"]:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* мелкие правки типографики на больших экранах */
@media (min-width: 1400px) {
    .banner-section.inner-banner .main-content h1 {
        font-size: 62px;
        line-height: 70px;
    }
}

@media (max-width: 575px) {
    .brand-name {
        font-size: 19px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 12px;
    }

    .burger {
        width: 42px;
        height: 42px;
    }
}

/* галочка в чипе рисуется CSS — не зависит от иконочного шрифта */
.chip.tick::before {
    content: "";
    width: 6px;
    height: 11px;
    border: solid var(--p300);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-right: 4px;
    margin-top: -3px;
    flex-shrink: 0;
}

/* пока карусель не инициализирована — показываем только первый слайд,
   чтобы блок не разъезжался при медленной загрузке скриптов */
.game-carousel:not(.slick-initialized) .slide-area:nth-child(n+2) {
    display: none;
}

/* -------------------------------------------------- CSS-иконки списков --- */

.tick-icon {
    position: relative;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    border: 1px solid rgba(14, 240, 173, .5);
    background: rgba(14, 240, 173, .12);
    display: inline-block;
    margin-top: 2px;
    flex-shrink: 0;
}

.tick-icon::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 5px;
    height: 9px;
    border: solid var(--p300);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.tick-icon.star {
    border-radius: 4px;
    transform: rotate(45deg);
}

.tick-icon.star::after {
    transform: rotate(0deg);
    left: 8px;
    top: 6px;
    width: 4px;
    height: 4px;
    border-width: 0;
    background: var(--p300);
    border-radius: 1px;
}

/* «Main services» — компактные плитки со списком услуг */
.service-tick-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 24px 22px;
    background: var(--n800);
    border: 1px solid var(--n700);
    border-radius: 16px;
    transition: .3s;
}

.service-tick-tile:hover {
    border-color: rgba(14, 240, 173, .45);
    transform: translateY(-3px);
}

.service-tick-tile span.label {
    color: var(--n0);
    font-weight: 600;
    font-size: 15px;
    line-height: 23px;
}

/* Хлебные крошки: разделитель символом, без зависимости от иконочного шрифта */
.banner-section.inner-banner .banner-content .breadcrumb-area .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "\203A" !important;
    font-family: var(--head-font) !important;
    font-size: 22px !important;
    line-height: 22px;
    top: -1px;
    left: 4px;
}

.banner-section.inner-banner .banner-content .breadcrumb-area .breadcrumb li {
    padding-left: 22px;
    margin-left: 8px;
    white-space: nowrap;
}

.banner-section.inner-banner .banner-content .breadcrumb-area .breadcrumb li:first-child {
    padding-left: 0;
    margin-left: 0;
}

.banner-section.inner-banner .banner-content .breadcrumb-area {
    max-width: 100%;
    overflow: hidden;
}

/* внутренние баннеры: без иллюстраций шаблона, только абстрактный декор */
.banner-section.about,
.banner-section.inner-banner {
    background-image: none !important;
}

/* стрелка-шеврон рисуется CSS — не зависит от иконочного шрифта */
.arrow-icon {
    display: inline-block;
    width: 6px;
    height: 6px;
    border: solid var(--p300);
    border-width: 1.5px 1.5px 0 0;
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-right: 2px;
    transition: .3s;
}

.drawer-menu .arrow-icon {
    width: 8px;
    height: 8px;
    border-color: var(--n300);
    border-width: 2px 2px 0 0;
}

.drawer-menu a:hover .arrow-icon,
.drawer-menu a.active .arrow-icon {
    border-color: var(--p300);
}

/* страховка: если иконочный шрифт не успел загрузиться, вместо длинного
   слова-лигатуры показывается обрезанный до размера иконки символ */
.material-symbols-outlined {
    width: 1em;
    overflow: hidden;
}

/* ------------------------------------------------ декор героя (главная) --- */

/* мягкие градиентные пятна вместо планеты; не перекрывают текст */
.banner-section.index-one .shape-area .hero-blob {
    position: absolute;
    animation: heroFloat 9s ease-in-out infinite alternate;
    pointer-events: none;
    user-select: none;
}

.banner-section.index-one .shape-area .hero-blob-1 {
    width: 460px;
    max-width: 34vw;
    top: -8%;
    left: -150px;
    opacity: .55;
    filter: blur(6px);
}

.banner-section.index-one .shape-area .hero-blob-2 {
    width: 190px;
    max-width: 15vw;
    bottom: 14%;
    left: 6%;
    opacity: .3;
    filter: blur(5px);
    animation-duration: 12s;
    animation-delay: -3s;
}

@keyframes heroFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        transform: translate3d(18px, -26px, 0) scale(1.06);
    }
}

@media (max-width: 991px) {
    .banner-section.index-one .shape-area .hero-blob-1 {
        width: 260px;
        max-width: 45vw;
        top: 3%;
        left: -70px;
        opacity: .6;
    }

    .banner-section.index-one .shape-area .hero-blob-2 {
        display: none;
    }
}

/* геймпад в герое: уводим ниже, чтобы не наезжал на строку с тегами */
.banner-section.index-one .shape-area .shape-2 {
    left: calc(50% - 330px);
    bottom: 2%;
    opacity: .9;
}

@media (max-width: 991px) {
    .banner-section.index-one .shape-area .shape-2,
    .banner-section.index-one .shape-area .shape-3 {
        display: none;
    }
}

/* --------------------------------------------------- КАРТОЧКИ УСЛУГ ------ */

.service-card {
    display: block;
    height: 100%;
    background: var(--n800);
    border: 1px solid var(--n700);
    border-radius: 18px;
    overflow: hidden;
    transition: .3s;
}

.service-card:hover {
    border-color: rgba(14, 240, 173, .5);
    transform: translateY(-6px);
}

.service-card .thumb {
    position: relative;
    aspect-ratio: 700 / 300;
    overflow: hidden;
    background: var(--n900);
}

.service-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.service-card:hover .thumb img {
    transform: scale(1.06);
}

.service-card .thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 24, 41, 0) 35%, rgba(22, 24, 41, .92) 100%);
}

.service-card .service-icon {
    position: relative;
    z-index: 2;
    display: flex;
    width: 56px;
    height: 56px;
    margin-top: -54px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--n800);
    border: 1px solid rgba(14, 240, 173, .35);
    transition: .3s;
}

.service-card .service-icon i {
    color: var(--p300);
    font-size: 28px;
}

.service-card:hover .service-icon {
    background: var(--p300);
    border-color: var(--p300);
}

.service-card:hover .service-icon i {
    color: var(--n800);
}

.service-card .card-body {
    padding: 22px 24px 26px;
}

.service-card h4 {
    font-size: 21px;
    line-height: 28px;
    margin-bottom: 10px;
}

.service-card:hover h4 {
    color: var(--p300);
}

.service-card .card-body p {
    color: var(--n60);
    font-size: 15px;
    line-height: 24px;
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--p300);
    font-weight: 600;
    font-size: 15px;
}

.service-card .card-link::after {
    content: "";
    width: 7px;
    height: 7px;
    border: solid var(--p300);
    border-width: 1.5px 1.5px 0 0;
    transform: rotate(45deg);
    transition: .3s;
}

.service-card:hover .card-link::after {
    transform: rotate(45deg) translate(3px, -3px);
}

/* -------------------------------------------- ВИТРИНА МАКАПОВ ------------ */

.mockup-card {
    position: relative;
    margin: 0;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--n700);
    background: var(--n900);
    transition: .3s;
}

.mockup-card:hover {
    border-color: rgba(14, 240, 173, .5);
    transform: translateY(-6px);
}

.mockup-card img {
    width: 100%;
    display: block;
    aspect-ratio: 700 / 488;
    object-fit: cover;
    transition: .6s;
}

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

.mockup-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 22px 20px;
    background: linear-gradient(180deg, rgba(6, 8, 16, 0) 0%, rgba(6, 8, 16, .9) 60%);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-card .m-title {
    font-family: var(--head-font);
    font-weight: 700;
    font-size: 20px;
    color: var(--n0);
}

.mockup-card .m-genre {
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--p300);
}

.mockup-note .info-dot {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border-radius: 50%;
    border: 1px solid rgba(14, 240, 173, .6);
    position: relative;
    display: inline-block;
}

.mockup-note .info-dot::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 2px;
    height: 8px;
    background: var(--p300);
    border-radius: 1px;
}

/* -------------------------------------------------- ЛОГОТИП (новый) ------ */

.brand-mark {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 45%, rgba(14, 240, 173, .18) 0%, rgba(14, 240, 173, .04) 70%);
    border: 1px solid rgba(14, 240, 173, .3);
    overflow: hidden;
}

.brand-mark img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(14, 240, 173, .35));
    transition: .3s;
}

.brand-lockup:hover .brand-mark img {
    transform: scale(1.06);
}

.site-footer .brand-mark {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 16px;
}

.site-footer .brand-mark img {
    width: 52px;
    height: 52px;
}

@media (max-width: 575px) {
    .brand-mark {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 12px;
    }

    .brand-mark img {
        width: 38px;
        height: 38px;
    }
}


.site-footer .brand-lockup {
    align-items: flex-start;
}


.site-footer .brand-text {
    padding-top: 16px;
}


.site-footer .footer-contact i.material-symbols-outlined {
    width: 20px;
    min-width: 20px;
    font-size: 20px;
    line-height: 22px;
    overflow: hidden;
}

/* --------------------------------------- контактные иконки на чистом CSS -- */

.ci {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* булавка */
.ci-pin::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 0;
    width: 14px;
    height: 14px;
    border: 2px solid var(--p300);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.ci-pin::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 5px;
    width: 4px;
    height: 4px;
    background: var(--p300);
    border-radius: 50%;
}

/* конверт */
.ci-mail::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 3px;
    width: 18px;
    height: 13px;
    border: 2px solid var(--p300);
    border-radius: 3px;
}

.ci-mail::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--p300);
    border-bottom: 2px solid var(--p300);
    transform: skewX(-32deg) rotate(-46deg);
    transform-origin: left bottom;
}

/* трубка */
.ci-phone::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 2px;
    width: 13px;
    height: 15px;
    border: 2px solid var(--p300);
    border-radius: 4px;
}

.ci-phone::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 12px;
    width: 4px;
    height: 2px;
    background: var(--p300);
    border-radius: 1px;
}

/* часы */
.ci-clock::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 1px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--p300);
    border-radius: 50%;
}

.ci-clock::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 5px;
    width: 2px;
    height: 6px;
    background: var(--p300);
    box-shadow: 2px 6px 0 -1px var(--p300);
    border-radius: 1px;
}

/* крестик */
.ci-close {
    width: 22px;
    height: 22px;
}

.ci-close::before,
.ci-close::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 10px;
    width: 18px;
    height: 2px;
    background: var(--n0);
    border-radius: 2px;
}

.ci-close::before {
    transform: rotate(45deg);
}

.ci-close::after {
    transform: rotate(-45deg);
}

.drawer-close:hover .ci-close::before,
.drawer-close:hover .ci-close::after {
    background: var(--p300);
}

.drawer-contact .ci {
    margin-top: 1px;
}

/* ------------------------------------------- лента экранных макапов ------ */

.screens-block {
    padding-top: 40px;
    border-top: 1px solid var(--n700);
}

.screen-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.screen-strip li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.screen-strip .phone {
    position: relative;
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--n600);
    background: var(--n900);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    transition: .3s;
}

.screen-strip .phone::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 34%;
    height: 5px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .22);
}

.screen-strip li:hover .phone {
    transform: translateY(-6px);
    border-color: rgba(14, 240, 173, .5);
}

.screen-strip .phone img {
    width: 100%;
    display: block;
    aspect-ratio: 440 / 782;
    object-fit: cover;
}

.screen-strip .screen-label {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--n70);
    text-align: center;
}

@media (max-width: 1199px) {
    .screen-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 575px) {
    .screen-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .screen-strip li:nth-child(n+5) {
        display: none;
    }
}

/* кадрируем арт так, чтобы подпись на картинке не попадала в карточку */
.service-card .thumb img {
    object-position: center top;
}

/* «iOS» не должно превращаться в «IOS» */
.service-card h4,
.mockup-card .m-title {
    text-transform: none;
}

/* ------------------------------------------------------------------------
   Пропорции картинок через padding-хак: работает во всех браузерах,
   включая те, что не понимают aspect-ratio.
   ------------------------------------------------------------------------ */

.service-card .thumb {
    position: relative;
}

.service-card .thumb::before {
    content: "";
    display: block;
    padding-top: 42.85%;
    /* 300 / 700 */
}

.service-card .thumb img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.mockup-card {
    position: relative;
}

.mockup-card::before {
    content: "";
    display: block;
    padding-top: 69.71%;
    /* 488 / 700 */
}

.mockup-card img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.screen-strip .phone::before {
    content: "";
    display: block;
    padding-top: 177.72%;
    /* 782 / 440 */
}

.screen-strip .phone img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* пропорции для крупных иллюстраций на странице услуг */
.service-row .media {
    position: relative;
}

.service-row .media::before {
    content: "";
    display: block;
    padding-top: 42.85%;
    /* 700 / 300 */
}

.service-row .media img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* подпись у макапа не нужна — название и жанр уже есть на самой картинке */
.mockup-card figcaption {
    display: none;
}

/* лента экранов на flex: работает и там, где нет CSS Grid */
.screen-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.screen-strip li {
    width: calc((100% - 100px) / 6);
}

.stat-strip {
    display: flex;
    flex-wrap: wrap;
}

.stat-strip .stat-cell {
    flex: 1 1 25%;
    min-width: 180px;
    border-right: 1px solid var(--n700);
}

.stat-strip .stat-cell:last-child {
    border-right: none;
}

@media (max-width: 1199px) {
    .screen-strip li {
        width: calc((100% - 48px) / 3);
    }
}

@media (max-width: 767px) {
    .stat-strip .stat-cell {
        flex: 1 1 50%;
    }
}

@media (max-width: 575px) {
    .screen-strip li {
        width: calc((100% - 16px) / 2);
    }
}

/* Final cascade guards for the premium header/hero. */
.banner-section.index-one > .shape-area,
.banner-section.index-one > .ellipse-area {
    display: none !important;
}

.banner-section.index-one::before,
.banner-section.index-one::after {
    content: none !important;
    display: none !important;
}

.header-section .nav-cta,
.header-section .nav-cta:hover,
.header-section .nav-cta:focus {
    color: #07140f !important;
}

.main-menu > li > a.active {
    background: linear-gradient(135deg, #72f4c6, #24d99c) !important;
    color: #07140f !important;
}

@media (max-width: 767px) {
    .banner-section.index-one .game-carousel {
        display: none !important;
    }

    .banner-section.index-one .banner-content {
        padding-bottom: 70px;
    }
}


.brand-tagline {
    font-size: 9px;
    line-height: 1;
}


.fs-four, h4, h4>a {
    font-size: 17px;
    line-height: 24.2px;
}

@media (max-width: 991px) {
    .fs-four, h4, h4>a {
        font-size: 14px;
        line-height: 23px;
    }
}


.drawer-menu li a span {
            font-size: 12px;
        line-height: 22px;
}

.drawer-contact span, .drawer-contact a {
    font-size: 13px;
    line-height: 22px;
    color: var(--n50);
}

.footer-nav li a span {
            font-size: 14px;

        }

 .site-footer .footer-contact span, .site-footer .footer-contact a {
    font-size: 14px;
    line-height: 21px;
    color: var(--n60);
}

/* Brand-colour loading state. */
.preloader {
    background: var(--p300) !important;
}

.preloader .loader::before {
    border-color: var(--n900) !important;
}

/* Four statistics always share one row on desktop; mobile is a simple stack. */
.stat-strip {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    flex-wrap: initial !important;
}

.stat-strip .stat-cell {
    min-width: 0 !important;
    border-right: 1px solid var(--n700);
    border-bottom: 0;
}

.stat-strip .stat-cell:last-child {
    border-right: 0;
}

/* Body copy stays consistent across cards, lists, banners and forms. */
body,
p,
li,
.section-note,
.form-hint,
.form-note,
.contact-card p,
.contact-card a,
.check-list li,
.accordion-body p {
    font-size: 15px;
    line-height: 1.65;
}

.banner-section.inner-banner .main-content p {
    font-size: 16px !important;
    line-height: 1.55 !important;
}

/* Compact forms: same type scale as the rest of the site. */
.site-form .form-heading {
    font-size: 22px;
    line-height: 1.3;
}

.site-form .form-note,
.site-form label,
.site-form input,
.site-form textarea,
.site-form select,
.site-form .nice-select,
.site-form .nice-select .option,
.site-form input::placeholder,
.site-form textarea::placeholder,
.site-form .consent-text,
.site-form .form-hint {
    font-size: 14px !important;
    line-height: 1.5;
}

.site-form input,
.site-form textarea,
.site-form .nice-select {
    padding: 12px 15px;
}

.site-form .single-input {
    margin-bottom: 16px;
}

.site-form .form-inside {
    margin-top: 20px !important;
}

/* The MVP artwork is a genuine 16:9 production scene, so avoid tall crops. */
.specialize .game-hero img,
.recently-completed .game-hero img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767px) {
    .stat-strip {
        grid-template-columns: 1fr !important;
    }

    .stat-strip .stat-cell {
        border-right: 0;
        border-bottom: 1px solid var(--n700);
        padding: 24px 18px;
    }

    .stat-strip .stat-cell:last-child {
        border-bottom: 0;
    }

    /* Breadcrumbs add noise and wrap badly on narrow screens. */
    .banner-section.inner-banner .breadcrumb-area {
        display: none !important;
    }

    .banner-section.inner-banner .main-content {
        padding-bottom: 0;
    }

    body,
    p,
    li,
    .section-note,
    .form-hint,
    .form-note,
    .check-list li,
    .accordion-body p {
        font-size: 14px;
        line-height: 1.6;
    }

    .site-form {
        padding: 22px 16px !important;
    }

    .site-form .form-inside {
        padding: 18px 14px !important;
    }
}

.site-footer .brand-text {
    padding-top: 1px;
}


.site-form label, .site-form .nice-select {
    font-size: 12px !important;
}


.nice-select .current {    font-size: 13px;}

.site-form input, .site-form textarea, .site-form .nice-select {
    font-size: 13px !important;
}


@media(min-width: 1000px) {
    .brand-name {
    font-size: 21px;
    line-height: 1.1;}
}


.faqs-section .accordion-button {
    font-size: 16px;}

    .accordion-body p {
    font-size: 14px; }

    .faqs-section .accordion-button::after {
    filter: none;
}



@media(max-width: 999px) {
    .screen-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
}