
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Чтобы отступы не взрывали ширину блоков */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 400;
    color: #FFF;
    background: #000000;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.Fon{
    background: linear-gradient(90deg,rgba(0, 0, 0, 1) 0%, rgba(26, 14, 1, 1) 100%);
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1400px; /* Ограничиваем макс ширину на ПК */
    width: 100%;       /* Тянется на мобилках */
    margin: 0 auto;
    padding: 0 20px;   /* Безопасные отступы по бокам */
}

header {
    padding: 50px 0;
}

header .logo {
    text-transform: uppercase;
    font-size: 29px;
    font-weight: 800;
}

header nav {
    float: right;
    width: 50%;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    color: #FFF
}

header nav ul li:not(.active):not(.btn) a:hover {
    border-bottom: 5px solid #D66F00;
    border-radius: 5px;
}

header nav ul li.btn a {
    background: #D66F00;
    padding: 9px 17px;
    border-radius: 5px;
    transition: all 500ms ease;
}

header nav ul li.btn a:hover {
    background: #d63200;
}

header nav ul li.active::after {
    content: '';
    display: block;
    width: 30px;
    height: 5px;
    background: #D66F00;
    border-radius: 10px;
    position: relative;
    top: 4px;
    left: -15px;
}

.hero {
    padding-bottom: 100px;
    position: relative;
}

.hero--info {
    width: 500px;
    padding-top: 70px;
}

.hero--info h2 {
    color: #a15300d8;
    font-size: 22px;
    font-weight: 600;
}

.hero--info h1 {
    font-size: 40px;
    font-weight: 600;
}

.hero--info p {
    font-weight: 500;
    line-height: 170%;
    margin: 30px 0;
}

.hero--info .btn,
.hero-about .info .btn {
    font-size: 17px;
    background: #D66F00;
    color: #FFF;
     border-radius: 50px;
     padding: 15px 30px;
     border: 0;
     transition: all 500ms ease;
}

.hero--info .btn:hover,
.hero-about .info .btn:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.hero img {
    max-width: 30%;
    position: absolute;
    top: 30px;
    right: 300px;
    border-radius: 50px;
}
.trending h3 {
    font-weight: 600;
    font-size: 31px;
}

.trending .see-all, .projects .see-all {
    color: #FFF;
    background: #000000ad;
    font-size: 17px;
    font-weight: 600;
    border-radius: 5px;
    padding: 12px 23px;
    float: right;
    display: block;
    transition: 500ms ease;
}

.trending .see-all:hover, .projects .see-all:hover {
    transform: scale(1.1);
}

.trending .games,
.trending .games1  {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    width: 100%;
    padding: 50px 0;
}

.trending .games .block {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.trending .games1 {
    margin: 20px 0;
}

.trending .games span {
    display: block;
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
}

.trending .games1 span {
    display: block;
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
}

.trending .games .block span .ping-value {
    position: relative;
    top: -4px;
    font-weight: 600;
}

.trending .games img {
    width: 100%;
    max-width: 250px;
    border-radius: 15px;
}

.trending .games1 img {
    width: 100%;
    max-width: 250px;
    border-radius: 15px;
}

.trending .games h4 {
    margin-top: 12px;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.good {
    color: #37d67a;
}

.medium {
    color: #f5c542;
}

.bad {
    color: #ff4d4d;
}

.big-text {
    padding: 20px 0 0 0;
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    width: 800px;
    bottom: 20px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 80px auto;
}

.stat {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 35px 20px;
    text-align: center;
    transition: .3s;
}

.stat:hover {
    transform: translateY(-6px);
    border-color: #D66F00;
}

.stat h2 {
    color: #D66F00;
    font-size: 42px;
    margin-bottom: 10px;
}

.stat p {
    color: #d0d0d0;
    font-size: 18px;
}

.banner {
    padding: 80px 0 0 0;
}

.banner h3 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 30px;
}

.banner p {
    line-height: 170%;
    width: 550px;
}

.banner img {
    width: 100%;
    margin:auto auto;
    justify-content: space-between;
    border-radius: 50px;
    margin-top: -150px; 
    margin-bottom: -100px;
}

.features {
    background:
        linear-gradient(rgba(0,0,0,.85), rgba(0,0,0,.85)),
                
}

.features .block,
.features .blocks {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: .3s;
    margin-bottom: 15px;
}

.features .block:hover {
    transform: translateY(-6px);
    border-color: #D66F00;
}

.features .blocks:hover {
    transform: translateY(-6px);
    border-color: #D66F00;
}

.features h3,
.features p {
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features h3 {
    font-size: 40px;
    color: #ffffff;
}

.features .info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.features .info .block {
    text-align: center;
    width: 17%;
    margin: 30px 2%;
    
}

.features .info .blocks {
    text-align: center;
    width: 17%;
    margin: 30px 2%;
    margin-bottom: 50px;
}

.fruets  {
    width: 15%;
    filter: brightness(0) invert(1);
    margin-top: 15px;
}

.fruet  {
    width: 15%;
    filter: brightness(0) invert(1);
    margin-top: 25px;
}


.features .info p {
    color: #414141;
}

.features .info .one {
    color: #414141;
    margin-top: 12px;
    margin-bottom: 10px;
}

.features p {
    color: #ffffff;
}

.projects {
    padding: 100px 0;
}

.projects h3 {
    font-size: 30px;
    text-align: center;
}

.projects p {
    margin: 40px 0;
    text-align: center;
}

.projects .tg {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
}

.projects .tg img {
    border-radius: 24px;
    max-width: 100%;
}

.projects .st {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
}

.projects .see-all {
    float: none;
    width: max-content; 
    padding: 12px 30px; 
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

.email {
    padding-bottom: 120px;
}

.email h3 {
    margin-top: 60px;
    font-size: 30px;
}

.email .block {
    background: #414141;
    margin-top: 30px;
    border-radius: 10px;
    padding: 40px 3%;
    width: 94%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.email .block h4 {
    font-size: 30px;
    font-weight: 500;
}

.email .block p {
    width: 500px; 
}

.email .block form {
    position: relative;
    width: 100%;
    max-width: 420px; /* Ширина белого поля */
}

/* Настраиваем белое поле */
.email .block input {
    background: #FFF;
    outline: none;
    border: 0;
    border-radius: 5px;
    width: 100%; /* Растягиваем на всю форму */
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #000;
    padding: 20px 150px 20px 30px; 
}

.email .block input::placeholder {
    color: #414141;
}

/* Настраиваем кнопку и "приклеиваем" ее внутрь поля */
.email .block button  {
    background: #D66F00;
    padding: 13px 20px;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    color: #FFF;
    transition: all 500ms ease;
    position: absolute;
    right: 7px; /* Отступ от правого края белого поля */
    top: 50%; /* Сдвигаем на середину */
    transform: translateY(-50%); /* Выравниваем ровно по вертикали */
    z-index: 2;
}

.email .block button:hover {
    background: #d63200;
}

.email .block .input-wrap {
    position: relative;
    width: 100%;
}

.email .block .form-status {
    text-align: left;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    word-wrap: break-word;
}

.hero-about {
    position: relative;
}

.hero-about .info {
    padding: 107px 0;
    width: 500px;
}

.hero-about .info h1 {
    margin-bottom: 15px;
    font-size: 30px;
}

.hero-about .info .btn {
    margin-top: 50px;
    display: inline-block;
}

.hero-about  img {
    position: absolute;
    right: 300px;
    top: 30px;
    border-radius: 50px;
    max-width: 30%;
}

.work {
    padding: 80px 0;
}

.work h2 {
    font-size: 25px;
    margin-bottom: 40px;
}

.work .blocks {
    display: flex;
    justify-content: space-between;
}

.work .blocks .block {
    width: 28%;
    border-radius: 10px;
    padding: 50px 35px;
    background: #1c140f;
}

.work .blocks .block h3 {
    font-size: 20px;
    margin: 20px 0;
}

.work .blocks .block .badge {
    border-radius: 7px;
    padding: 10px 20px;
}

.work .blocks .block .badge.purple {
    background: #560F67;
}

.work .blocks .block .badge.brown {
    background: #31190d;
}

.work .blocks .block .badge.green {
    background: #192a1d;
}

.hero-contacts h1 {
    text-align: center;
    font-size: 33px;
    margin-top: 70px;
    margin-bottom: 30px;
}

.hero-contacts p {
    text-align: center;
}

.hero-contacts img {
    width: 70%;
    margin: 80px 15%;
    border-radius: 50px;
}

.feedback,
.feedback1 {
    padding: 70px 0;
    background: #1c140f;
}

.feedback1 {
    margin-top: 40px;
}

.feedback h2 {
    text-align: center;
    font-weight: 500;
    font-size: 30px;
}

.feedback1 h2 {
    text-align: center;
    font-weight: 500;
    font-size: 30px;
}

.feedback p {
    text-align: center;
    margin-top: 10px;
}

.feedback1 p {
    text-align: center;
    margin-top: 10px;
}

.feedback form {
    margin: 0 auto;
    margin-top: 55px;
    margin-bottom: 80px;
    width: 600px;
}

.feedback1 form {
    margin: 0 auto;
    margin-top: 55px;
    margin-bottom: 80px;
    width: 600px;
}

.feedback form .inline {
    display: flex;
    justify-content: space-between;
}

.feedback1 form .inline {
    display: flex;
    justify-content: space-between;
}

.feedback form .inline>div {
    width: 50%;
}

.feedback1 form .inline>div {
    width: 50%;
}

.feedback form label {
    color: #4f4f4f;
    font-size: 14px;
}

.feedback1 form label {
    color: #4f4f4f;
    font-size: 14px;
}

.feedback form input,
.feedback form textarea {
    background: #2c2420;
    border-radius: 10px;
    border: 0.6px solid #cecece;
    display: block;
    width: 90%;
    padding: 15px 10px;
    outline: none;
    margin-top: 7px;
    margin-bottom: 20px;
}

.feedback1 form input,
.feedback1 form textarea {
    background: #2c2420;
    border-radius: 10px;
    border: 0.6px solid #cecece;
    display: block;
    width: 90%;
    padding: 15px 10px;
    outline: none;
    margin-top: 7px;
    margin-bottom: 20px;
}

.feedback form .one-line {
    width: 96%;
}

.feedback1 form .one-line {
    width: 96%;
}

.feedback form .two-line {
    width: 96%;
    font-size: 15px;
}

.feedback1 form .two-line {
    width: 96%;
    font-size: 15px;
}

.feedback form textarea {
    resize: none;
    height: 200px;
}

.feedback1 form textarea {
    resize: none;
    height: 200px;
}

.feedback form button {
    background: #D66F00;
    border-radius: 5px;
    border: 0;
    float: right;
    cursor: pointer;
    color: #FFF;
    padding: 15px 30px;
    transition: all 500ms ease;
    font-weight: 500;
    font-size: 15px;
    margin-right: 25px;
}

.feedback1 form button {
    background: #D66F00;
    border-radius: 5px;
    border: 0;
    float: right;
    cursor: pointer;
    color: #FFF;
    padding: 15px 30px;
    transition: all 500ms ease;
    font-weight: 500;
    font-size: 15px;
    margin-right: 25px;
}

.feedback form button:hover {
    background-color: #d63200;
}

.feedback1 form button:hover {
    background-color: #d63200;
}

footer {
    background: #000000;
    padding: 50px 10px 0 0;
}

footer .blocks {
    display: flex;
    justify-content: space-between;
}

footer .blocks .logo {
    text-transform: uppercase;
    font-size: 29px;
    font-weight: 800;
}

footer .blocks p {
    width: 300px;
    margin: 15px 0;
    font-size: 17px;
    font-weight: 400;
}

footer .blocks h4 {
    font-weight: 500;
    font-size: 20px;
}

footer .blocks ul li {
    margin-left: 20px;
    margin-top: 7px;
    opacity: 0.5;
}

footer hr {
    margin: 30px 0;
    border: 0;
    height: 0.6px;
    background: #414141;
}

footer > p {
    text-align: center;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    position: relative; 
    top: -5px;
    background-color: #2ecc71;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    animation: dot-pulse 1.8s infinite;
}
@keyframes dot-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.how-it-works {
    margin-top: 60px;
    margin-bottom: 60px;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.step-card {
    background: #111113; /* Темный фон карточки */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #2d2d33;
    text-align: center;
}
.step-num {
    width: 40px;
    height: 40px;
    background: #D66F00;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 20px auto;
    font-size: 1.2rem;
}
.step-card h4 {
    color: #fff;
    margin-bottom: 15px;
}
.step-card p {
    color: #85929E;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Блок: Тарифы */
.pricing-section {
    margin-top: 80px;
    margin-bottom: 80px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: center;
}
.price-card {
    background: #111113;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid #2d2d33;
    transition: transform 0.3s ease;
    text-align: center;
    position: relative;
}
.price-card:hover {
    transform: translateY(-5px);
}
.price-card.popular {
    border: 2px solid #D66F00;
    background: #1a1a1d;
    padding: 50px 30px; /* Делаем центральную карточку чуть выше */
}
.price-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #D66F00;
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}
.price-card h4 { color: #fff; font-size: 1.2rem; }
.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #D66F00;
    margin: 15px 0;
}
.price span { font-size: 1rem; color: #85929E; }
.price-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}
.price-features li {
    margin-bottom: 12px;
    color: #ccc;
    font-size: 0.95rem;
}
.price-features li::before {
    content: "✔ ";
    color: #D66F00;
    margin-right: 8px;
}
.price-btn {
    display: block;
    background: transparent;
    border: 1px solid #D66F00;
    color: #D66F00;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}
.popular-btn {
    background: #D66F00;
    color: #fff;
}
.price-btn:hover {
    background: #ff8500;
    color: #fff;
}

/* Блок: FAQ (Аккордеон) */
.faq-section {
    margin-top: 60px;
    margin-bottom: 80px;
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-accordion details {
    background: #111113;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #2d2d33;
}
.faq-accordion summary {
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
    cursor: pointer;
    outline: none;
    user-select: none;
}
.faq-accordion details[open] summary {
    color: #D66F00;
    margin-bottom: 10px;
}
.faq-accordion p {
    color: #85929E;
    line-height: 1.6;
    margin: 0;
}

.games .block span.good, 
.games .block span.medium, 
.games .block span.bad {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Расстояние между точкой и словом "Пинг" */
}

.reviews { margin: 80px auto; }
.reviews h2 { text-align: center; font-size: 30px; margin-bottom: 40px; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.review-card {
    background: #111113;
    border: 1px solid #2d2d33;
    border-radius: 16px;
    padding: 30px;
    transition: .3s;
}
.review-card:hover { transform: translateY(-6px); border-color: #D66F00; }
.review-stars { color: #D66F00; font-size: 18px; margin-bottom: 15px; }
.review-card p { color: #ccc; line-height: 1.6; margin-bottom: 15px; }
.review-author { color: #85929E; font-size: 14px; font-weight: 600; }

/* Мобильная версия*/
@media (max-width: 768px) {
    
    /* Шапка сайта */
    header nav {
        float: none;
        width: 100%;
        margin-top: 20px;
    }
    header nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 15px;
    }
    header nav ul li.active::after {
        display: none;
    }

    /* Блок Hero */
    .hero {
        display: flex;
        flex-direction: column-reverse;
        padding-bottom: 50px;
    }
    .hero--info {
        width: 100%;
        text-align: center;
        padding-top: 30px;
    }
    .hero img {
        position: static;
        max-width: 70%;
        margin: 0 auto;
        display: block;
        margin-top: 50px;
    }

    /* Секция со стикерами */
    .trending h3 {
        margin-top: 20px;
    }
    .trending .games {
        grid-template-columns: repeat(2, 1fr); /* На телефоне будет по 2 картинки в ряд */
        gap: 15px;
    }
    .trending .games img {
        width: 100%;
        max-width: 260px;
    }

    /* Текст и Баннер */
    .big-text {
        width: 100%;
        font-size: 26px;
    }
    .banner {
        padding: 40px 15px;
        text-align: center;
    }
    .banner p {
        width: 100%;
    }

    /* Блок пейзажей */
    .features .info .block {
        width: 45%;
        margin: 15px 2%;
    }
    .Arrow, .Rot, .Row {
        display: none; /* Прячем стрелочки на мобилках, чтобы не ломали сетку */
    }

    /* Форма рассылки */
    
    .email {
        padding-bottom: 40px;
    }
    .email .block {
        flex-direction: column;
        text-align: center;
        padding: 30px 15px;
    }

    .email .block p {
        margin-bottom: 10px;
    }

    .email .block form {
        margin-top: 25px;
        max-width: 100%; /* На телефоне форма займет всю ширину */
    }

    .email .block p {
        width: 100%; 
    }

    /* Секция Команда (index2.html) */
    .hero-about {
        display: flex;
        flex-direction: column-reverse;
        padding-bottom: 50px;
    }
    .hero-about .info {
        width: 100%;
        text-align: center;
        padding: 50px 0;
    }
    .hero-about img {
        position: static;
        max-width: 70%;
        margin: 0 auto;
        display: block;
        margin-top: 50px;
    }
    .work .blocks {
        flex-direction: column;
        gap: 20px;
    }
    .work .blocks .block {
        width: 100%;
    }

    /* Секция Финал и форма (index3.html) */
    .hero-contacts img {
        width: 100%;
        margin: 40px 0;
    }
    .feedback form {
        width: 100%;
    }
    .feedback form .inline {
        flex-direction: column;
    }
    .feedback form .inline > div {
        width: 100%;
    }
    .feedback form .inline input {
        width: 100%;
    }
    .feedback form .one-line,
    .feedback form .two-line {
        width: 100%;
    }

    .feedback1 form {
        width: 100%;
    }
    .feedback1 form .inline {
        flex-direction: column;
    }
    .feedback1 form .inline > div {
        width: 100%;
    }
    .feedback1 form .inline input {
        width: 100%;
    }
    .feedback1 form .one-line,
    .feedback1 form .two-line {
        width: 100%;
    }

    .feedback1 form button {
        margin-right: 0;
    }

    .feedback form button {
        margin-right: 0;
    }



    /* Подвал сайта */
    footer .blocks {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    footer .blocks .contacts p {
    text-align: center;
    }
    footer .blocks p {
        margin: 15px auto;
    }
    footer .blocks ul li {
        margin-left: 0;
        list-style: none;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px; /* Немного уменьшили отступы между блоками для мобилок */
    }

    /* Исправление для вылезающего текста (image_798581.png) */
    .features .info .block,
    .features .info .blocks {
        width: 45%;
        margin: 15px 2%;
    }

    .banner img {
        margin-top: -35px;    /* Делаем отступ поменьше для телефонов */
        margin-bottom: -30px;
    }
}

/* ==========================================================
   Планшеты (между мобильной версткой и ПК): 769px - 1024px
   ========================================================== */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Шапка: nav был жёстко ограничен 50% ширины и не помещался
       в одну строку — переводим header на flex, чтобы nav занимал
       ровно столько места, сколько нужно, рядом с логотипом. */
    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    header nav {
        float: none;
        width: auto;
    }
    header nav ul {
        gap: 15px;
    }

    /* Картинка в hero и hero-about была position:absolute с фиксированным
       отступом (right: 300px) — на более узком, чем ПК, экране она
       наезжала на текст. Переводим блок на flex с реальным отступом. */
    .hero,
    .hero-about {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }
    .hero--info,
    .hero-about .info {
        width: 55%;
    }
    .hero img,
    .hero-about img {
        position: static;
        max-width: 40%;
        right: auto;
        top: auto;
    }

    /* Инструкция (3 шага), тарифы и отзывы: сетка auto-fit на этой ширине
       схлопывается до 2 колонок, и третья карточка "прилипает" слева да
       ещё и уже остальных. Переводим на flex с переносом строк — все
       карточки остаются одинаковой ширины, а одинокая третья, оставшись
       одна на своей строке, центрируется сама за счёт justify-content. */
    .steps-grid,
    .pricing-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .steps-grid .step-card,
    .pricing-grid .price-card {
        flex: 0 0 calc(50% - 15px); /* 15px = половина gap: 30px у этих сеток */
    }

    .reviews-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .reviews-grid .review-card {
        flex: 0 0 calc(50% - 12.5px); /* 12.5px = половина gap: 25px у reviews-grid */
    }

    /* Команда на странице "О нас" — блоки были слишком узкие
       из-за большого горизонтального padding относительно ширины. */
    .work .blocks .block {
        width: 31%;
        padding: 40px 22px;
    }

    /* Подвал — блокам не хватало гарантированного расстояния между
       собой, justify-content: space-between почти не оставлял зазора. */
    footer .blocks {
        gap: 30px;
    }

    .banner img {
        margin-top: -120px;
    }

    /* Форма "Заявка на тест": серый блок был уже текста над ним (94%,
       без auto-центрирования — прижат влево), а левая колонка с текстом
       имела фиксированную ширину 500px, из-за чего форме с input не
       хватало места и она вылезала за пределы серого фона. Расширяем
       фон вровень с текстом сверху, освобождаем место слева и даём
       полю ввода больше ширины. */
    .email .block {
        width: 100%;
    }
    .email .block p {
        width: auto;
        max-width: 260px;
    }
    .email .block form {
        max-width: 480px;
    }
}