:root {
    --primary: #0d53be;
    --primary-dark: #0a4296;
    --primary-light: #2d72e1;
    --primary-gradient: linear-gradient(135deg, #0d53be 0%, #2d72e1 100%);
    --secondary: #10b981;
    --secondary-gradient: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --accent: #f59e0b;
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow: 0 10px 25px rgba(13, 83, 190, 0.1);
    --shadow-lg: 0 15px 35px rgba(13, 83, 190, 0.15);
    --shadow-hover: 0 20px 40px rgba(13, 83, 190, 0.2);
    --shadow-xl: 0 25px 50px rgba(13, 83, 190, 0.25);
    --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    font-size: 12px;
    /* Уменьшено на 2 единицы */
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 40px rgba(13, 83, 190, 0.15);
    overflow: hidden;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 2;
}

.mobile-menu__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--primary);
}

.mobile-menu__logo img {
    height: 30px;
    width: 30px;
}

.mobile-menu__close {
    background: var(--light-gray);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu__close:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-menu__content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.mobile-menu__nav {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-menu__nav-item {
    margin-bottom: 8px;
}

.mobile-menu__nav-link {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--light-gray);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.mobile-menu__nav-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(5px);
}

.mobile-menu__nav-icon {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.mobile-menu__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.mobile-menu__btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
}

.mobile-menu__footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
    text-align: center;
}

.mobile-menu__social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mobile-menu__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--light-gray);
    border-radius: 12px;
    color: var(--dark);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.mobile-menu__social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.mobile-menu__copyright {
    color: var(--gray);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Overlay для фона */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.header {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    position: fixed;
    width: 90%;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    box-shadow: 0 2px 30px rgba(13, 83, 190, 0.15);
    transition: var(--transition);
    height: 60px;
    max-width: 1600px;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    /* Уменьшены отступы */
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 900;
    gap: 12px;
    font-size: 1rem;
    /* Уменьшено */
    color: var(--primary);
    transition: var(--transition);
}

/* Новый логотип SCW-GROUP */
.header__logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-gradient);
    border-radius: 10px;
    margin-right: 10px;
    color: var(--white);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.header__logo img {
    height: 36px;
    width: 36px;
}

.header__logo-icon::before {
    content: "";
    position: absolute;
    width: 24px;
    /* Уменьшено */
    height: 24px;
    /* Уменьшено */
    border: 2px solid var(--white);
    border-radius: 6px;
    /* Скругленный внутренний квадрат */
    transform: rotate(45deg);
}

.header__logo-icon::after {
    content: "↗";
    position: absolute;
    font-size: 0.9rem;
    /* Уменьшено */
    color: var(--white);
    font-weight: 900;
    bottom: 4px;
    left: 4px;
    transform: rotate(45deg);
}

.header__logo:hover {
    transform: translateY(-2px);
}

.header__nav {
    display: flex;
    list-style: none;
}

.header__nav-item {
    margin: 0 12px;
    /* Уменьшено */
}

.header__nav-link {
    text-decoration: none;
    color: var(--dark-light);
    font-weight: 600;
    font-size: 0.8rem;
    /* Уменьшено */
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
    /* Уменьшено */
}

.header__nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    /* Уменьшено */
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.header__nav-link:hover {
    color: var(--primary);
}

.header__nav-link:hover::after {
    width: 100%;
}

.header__buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Уменьшено */
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    /* Уменьшено */
    border-radius: 10px;
    /* Уменьшено */
    font-weight: 700;
    font-size: 0.8rem;
    /* Уменьшено */
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn__icon {
    margin-right: 6px;
    /* Уменьшено */
    font-size: 0.8rem;
    /* Уменьшено */
}

.btn--login {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--light-gray);
}

.btn--login:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 8px 15px rgba(13, 83, 190, 0.3);
    /* Уменьшено */
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.header__mobile-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    /* Уменьшено */
    color: var(--dark);
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section с тенью для слайдера */
.hero {
    padding: 140px 0 80px;
    /* Уменьшено */
    background: linear-gradient(45deg, var(--primary-light) 40%, white);
    position: relative;
    overflow: hidden;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    z-index: 2;
}

/* Скрытый заголовок */
.hero__title {
    font-size: 2.5rem;
    /* Уменьшено */
    font-weight: 900;
    margin-bottom: 15px;
    /* Уменьшено */
    color: var(--dark);
    line-height: 1.1;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
}

.hero__subtitle {
    font-size: 1rem;
    /* Уменьшено */
    color: var(--gray);
    max-width: 700px;
    margin-bottom: 50px;
    line-height: 1.6;
    font-weight: 500;
    text-align: left;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
}

/* Features Slider с тенью */
.features-slider {
    width: 100%;
    margin-bottom: 60px;
    /* Уменьшено */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.12);
    /* Добавлена тень */
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 450px;
    /* Уменьшено */
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background-color: white;
}

.swiper-content {
    flex: 1;
    max-width: 600px;
    padding: 50px;
    /* Уменьшено */
}

.swiper-title {
    font-size: 2rem;
    /* Уменьшено */
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 12px;
    /* Уменьшено */
    line-height: 1.2;
}

.swiper-text {
    font-size: 0.9rem;
    /* Уменьшено */
    color: var(--dark-light);
    line-height: 1.7;
    margin-bottom: 20px;
    /* Уменьшено */
}

.swiper-image {
    flex: 1;
    max-width: 500px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    /* Уменьшено */
    background-size: cover;
    background-position: center;
}

.swiper-pagination {
    position: relative;
    margin-top: 20px;
    /* Уменьшено */
    text-align: center;
}

.swiper-pagination-bullet {
    width: 8px;
    /* Уменьшено */
    height: 8px;
    /* Уменьшено */
    background-color: var(--light-gray);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary);
}

/* Custom Services Section - изменена на создание ЛК */
.custom-services {
    padding: 80px 0;
    /* Уменьшено */
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.custom-services__content {
    display: flex;
    align-items: center;
    gap: 50px;
    /* Уменьшено */
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    /* Уменьшено */
    box-shadow: var(--shadow-lg);
}

.custom-services__image {
    flex: 1;
    min-height: 300px;
    /* Уменьшено */
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    /* Уменьшено */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.custom-services__text {
    flex: 1;
}

.custom-services__title {
    font-size: 1.9rem;
    /* Уменьшено */
    font-weight: 900;
    margin-bottom: 12px;
    /* Уменьшено */
    color: var(--dark);
    line-height: 1.2;
}

.custom-services__description {
    font-size: 0.9rem;
    /* Уменьшено */
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    /* Уменьшено */
}

/* Domain Check */
.domain-check {
    width: 100%;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    /* Уменьшено */
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    /* Уменьшено */
}

.domain-check__title {
    font-size: 1.6rem;
    /* Уменьшено */
    font-weight: 800;
    margin-bottom: 20px;
    /* Уменьшено */
    color: var(--dark);
    text-align: left;
}

.domain-check__form {
    display: flex;
    gap: 12px;
    /* Уменьшено */
    margin-bottom: 20px;
    /* Уменьшено */
    width: 100%;
}

.domain-check__input {
    flex: 1;
    padding: 16px 20px;
    /* Уменьшено */
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    /* Уменьшено */
    font-size: 1rem;
    /* Уменьшено */
    font-weight: 600;
    transition: var(--transition);
    min-height: 54px;
    /* Уменьшено */
}

.domain-check__input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 83, 190, 0.1);
    /* Уменьшено */
}

.domain-check__btn {
    padding: 0 35px;
    /* Уменьшено */
    font-size: 1rem;
    /* Уменьшено */
    font-weight: 700;
    border-radius: 10px;
    /* Уменьшено */
    min-height: 54px;
    /* Уменьшено */
}

.domain-check__extensions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /* Уменьшено */
    justify-content: flex-start;
}

.domain-check__extension {
    padding: 8px 16px;
    /* Уменьшено */
    background: var(--light-gray);
    border-radius: 8px;
    /* Уменьшено */
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 0.8rem;
    /* Уменьшено */
}

.domain-check__extension:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.domain-check__extension--popular {
    background: var(--secondary);
    color: var(--white);
}

/* Section Common */
.section {
    padding: 70px 0;
    /* Уменьшено */
}

.section__header {
    margin-bottom: 50px;
    /* Уменьшено */
    text-align: left;
}

.section__subtitle {
    font-size: 0.8rem;
    /* Уменьшено */
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* Уменьшено */
    margin-bottom: 10px;
    /* Уменьшено */
}

.section__title {
    font-size: 2.2rem;
    /* Уменьшено */
    font-weight: 900;
    margin-bottom: 12px;
    /* Уменьшено */
    color: var(--dark);
    line-height: 1.1;
    text-align: left;
}

.section__description {
    font-size: 1rem;
    /* Уменьшено */
    color: var(--gray);
    max-width: 700px;
    font-weight: 500;
    text-align: left;
}

#services {
    position: relative;
    padding-top: 40px;
}

#services::before {
    content: "";
    position: absolute;
    width: 100%;
    scale: 1.1;
    height: clamp(80px, 6vw, 120px);
    top: 10px;
    transform: translateY(-100%) translateX(-50%);
    left: 50%;
    background-image: url("../imgs/decoration.svg");
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /* Уменьшено */
    margin-bottom: 70px;
    /* Уменьшено */
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    /* Уменьшено */
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* ИЗМЕНЕНИЕ 1: Убрали синий псевдоэлемент в карточках услуг */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0px;
    /* Изменено с 5px на 0px */
    background: transparent;
    /* Изменено с var(--primary-gradient) на прозрачный */
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.service-card__icon {
    width: 54px;
    /* Уменьшено */
    height: 54px;
    /* Уменьшено */
    border-radius: 14px;
    /* Уменьшено */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    /* Уменьшено */
    font-size: 1.4rem;
    /* Уменьшено */
    color: var(--white);
    background: var(--primary-gradient);
}

.service-card__title {
    font-size: 1.3rem;
    /* Уменьшено */
    font-weight: 800;
    margin-bottom: 10px;
    /* Уменьшено */
    color: var(--dark);
}

.service-card__description {
    color: var(--gray);
    margin-bottom: 18px;
    /* Уменьшено */
    line-height: 1.7;
    font-weight: 500;
    flex-grow: 1;
    font-size: 0.85rem;
    /* Уменьшено */
}

/* Цены в услугах */
.service-card__price {
    font-size: 1.4rem;
    /* Уменьшено */
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 15px;
    /* Уменьшено */
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-card__price-from {
    font-size: 0.9rem;
    /* Уменьшено */
    color: var(--gray);
    font-weight: 600;
}

.service-card__features {
    list-style: none;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Уменьшено */
}

.service-card__feature {
    padding: 7px 0;
    /* Уменьшено */
    border-bottom: 1px solid var(--light-gray);
    color: var(--gray);
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.8rem;
    /* Уменьшено */
}

.service-card__feature-icon {
    margin-right: 8px;
    /* Уменьшено */
    font-size: 1rem;
    /* Уменьшено */
    color: var(--primary);
}

.service-card__cta {
    margin-top: auto;
}

/* Technology Stack */
.tech-section {
    background: var(--white);
    padding: 70px 0;
    /* Уменьшено */
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* Уменьшено */
    margin-bottom: 30px;
    /* Уменьшено */
    transition: all 0.5s ease;
    overflow: visible;
    max-height: 340px;
    /* Уменьшено */
}

.tech-grid.expanded {
    max-height: 1600px;
    /* Уменьшено */
}

.tech-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 22px;
    /* Уменьшено */
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tech-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.tech-item__icon {
    font-size: 2.2rem;
    /* Уменьшено */
    margin-bottom: 12px;
    /* Уменьшено */
    color: var(--primary);
    height: 45px;
    /* Уменьшено */
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-item__name {
    font-size: 1rem;
    /* Уменьшено */
    font-weight: 700;
    color: var(--dark);
}

.tech-toggle-btn {
    display: block;
    margin: 30px auto 0;
    /* Уменьшено */
    padding: 10px 30px;
    /* Уменьшено */
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 10px;
    /* Уменьшено */
    font-weight: 700;
    font-size: 0.9rem;
    /* Уменьшено */
    cursor: pointer;
    transition: var(--transition);
}

.tech-toggle-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* ИЗМЕНЕНИЕ 2: Портфолио на 12 колонок с обновленным расположением */
.portfolio-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 70px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* Изменено на 12 колонок */
    grid-auto-rows: 280px;
    /* Увеличенная высота */
    gap: 20px;
}

.portfolio-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

/* Обновленные правила для элементов портфолио */
.portfolio-item:nth-child(1) {
    grid-column: span 4;
    /* Занимает 4 колонки */
    grid-row: span 1;
}

.portfolio-item:nth-child(2) {
    grid-column: span 4;
    /* Занимает 4 колонки */
    grid-row: span 1;
}

.portfolio-item:nth-child(3) {
    grid-column: span 4;
    /* Занимает 4 колонки */
    grid-row: span 1;
}

.portfolio-item:nth-child(4) {
    grid-column: span 6;
    /* Занимает 6 колонок */
    grid-row: span 1;
}

/* Элементы 5 и 6 одинаковой высоты и занимают по 6 колонок каждый */
.portfolio-item:nth-child(5) {
    grid-column: span 6;
    /* Занимает 6 колонок */
    grid-row: span 1;
}

.portfolio-item:nth-child(6) {
    grid-column: span 6;
    /* Занимает 6 колонок */
    grid-row: span 1;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.portfolio-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 83, 190, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .portfolio-item__overlay {
    opacity: 1;
}

.portfolio-item__title {
    font-size: 1.3rem;
    /* Уменьшено */
    font-weight: 800;
    color: var(--white);
}

/* Benefits Section */
.benefits {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    /* Уменьшено */
}

.benefit-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    /* Уменьшено */
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.benefit-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    /* Уменьшено */
}

.benefit-card__number {
    font-size: 2.2rem;
    /* Уменьшено */
    font-weight: 900;
    color: var(--primary);
    margin-right: 12px;
    /* Уменьшено */
    opacity: 0.8;
    min-width: 45px;
    /* Уменьшено */
}

.benefit-card__icon {
    width: 40px;
    /* Уменьшено */
    height: 40px;
    /* Уменьшено */
    border-radius: 10px;
    /* Уменьшено */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    /* Уменьшено */
    color: var(--white);
    background: var(--primary-gradient);
}

.benefit-card__title {
    font-size: 1.3rem;
    /* Уменьшено */
    font-weight: 800;
    margin-bottom: 10px;
    /* Уменьшено */
    color: var(--dark);
}

.benefit-card__description {
    color: var(--gray);
    line-height: 1.7;
    font-weight: 500;
    font-size: 0.85rem;
    /* Уменьшено */
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Уменьшено */
    gap: 20px;
    /* Уменьшено */
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    /* Уменьшено */
    box-shadow: var(--shadow);
    border: 2px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card__text {
    font-size: 0.9rem;
    /* Уменьшено */
    color: var(--gray);
    line-height: 1.7;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 20px;
    /* Уменьшено */
    flex-grow: 1;
    min-height: 90px;
    /* Уменьшено */
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.testimonial-card__avatar {
    width: 40px;
    /* Уменьшено */
    height: 40px;
    /* Уменьшено */
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    margin-right: 10px;
    /* Уменьшено */
    font-size: 0.8rem;
    /* Уменьшено */
}

.testimonial-card__info h4 {
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
    /* Уменьшено */
    font-size: 0.9rem;
    /* Уменьшено */
}

.testimonial-card__info p {
    color: var(--gray);
    font-weight: 500;
    font-size: 0.8rem;
    /* Уменьшено */
}

/* ИЗМЕНЕНИЕ 3: Раздел "Наши достижения" с белым фоном вместо градиента */
.stats {
    background: var(--white);
    /* Изменено с var(--gradient-dark) на белый */
    color: var(--dark);
    /* Изменен цвет текста на темный */
    padding: 70px 0;
    /* Уменьшено */
}

.stats__header {
    text-align: center;
    margin-bottom: 50px;
    /* Уменьшено */
}

.stats__title {
    font-size: 2.2rem;
    /* Уменьшено */
    font-weight: 900;
    margin-bottom: 12px;
    /* Уменьшено */
    color: var(--dark);
    /* Изменено с var(--white) на темный */
}

.stats__description {
    font-size: 1rem;
    /* Уменьшено */
    color: var(--gray);
    /* Изменено с #94A3B8 на серый */
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Уменьшено */
    gap: 16px;
    /* Уменьшено */
    text-align: center;
}

.stat-item__number {
    font-size: 2.5rem;
    /* Уменьшено */
    font-weight: 900;
    margin-bottom: 6px;
    /* Уменьшено */
    background: var(--primary-gradient);
    /* Градиент для текста оставлен */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item__label {
    font-size: 1rem;
    /* Уменьшено */
    color: var(--dark);
    /* Изменено с var(--white) на темный */
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
    /* Уменьшено */
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Уменьшено */
    gap: 40px;
    /* Уменьшено */
    margin-bottom: 50px;
    /* Уменьшено */
}

.footer__logo {
    font-size: 1.4rem;
    /* Уменьшено */
    font-weight: 900;
    margin-bottom: 12px;
    /* Уменьшено */
    display: flex;
    align-items: center;
}

.footer__logo-icon {
    margin-right: 8px;
    /* Уменьшено */
    color: var(--primary-light);
}

.footer__about {
    color: #94a3b8;
    margin-bottom: 20px;
    /* Уменьшено */
    line-height: 1.7;
    font-weight: 500;
    font-size: 0.8rem;
    /* Уменьшено */
}

.footer__social {
    display: flex;
    gap: 10px;
    /* Уменьшено */
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    /* Уменьшено */
    height: 36px;
    /* Уменьшено */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    /* Уменьшено */
    color: #94a3b8;
    font-size: 1rem;
    /* Уменьшено */
    transition: var(--transition);
    text-decoration: none;
}

.footer__social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
}

.footer__heading {
    font-size: 1rem;
    /* Уменьшено */
    font-weight: 800;
    margin-bottom: 18px;
    /* Уменьшено */
    color: var(--white);
}

.footer__links {
    list-style: none;
}

.footer__link-item {
    margin-bottom: 10px;
    /* Уменьшено */
}

.footer__link {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.8rem;
    /* Уменьшено */
}

.footer__link-icon {
    margin-right: 6px;
    /* Уменьшено */
    font-size: 0.7rem;
    /* Уменьшено */
    opacity: 0.7;
}

.footer__link:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer__bottom {
    text-align: center;
    padding-top: 20px;
    /* Уменьшено */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.75rem;
    /* Уменьшено */
    font-weight: 500;
}

/* Качественный адаптив */
@media (max-width: 1500px) {
    .header {
        width: 100%;
        max-width: calc(100vw - 48px);
        padding-inline: 24px;
    }
}
/* Tablet - 768px и меньше */
@media (max-width: 768px) {
    .header__nav,
    .header__buttons {
        display: none !important;
    }

    .header__mobile-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: var(--light-gray);
        border-radius: 12px;
        transition: var(--transition);
    }

    .header__mobile-btn:hover {
        background: var(--primary);
        color: var(--white);
    }

    .header__mobile-btn i {
        font-size: 1.2rem;
    }
    .container {
        padding: 0 20px;
    }

    .header {
        height: 56px;
        padding: 0 20px;
    }

    .header__container {
        padding: 10px 0;
    }

    .header__nav,
    .header__buttons {
        display: none;
    }

    .header__mobile-btn {
        display: block;
    }

    .hero {
        padding: 120px 0 60px;
        text-align: center;
    }

    .swiper {
        height: 75vh;
    }

    .swiper-slide {
        flex-direction: column;
        text-align: center;
    }

    .swiper-content {
        padding: 30px;
        max-width: 100%;
    }

    .swiper-image {
        max-width: 100%;
        width: 100%;
        height: 180px;
        order: -1;
    }

    .swiper-title {
        font-size: 1.7rem;
    }

    .swiper-text {
        font-size: 0.85rem;
    }

    .domain-check {
        padding: 25px;
        margin-bottom: 50px;
    }

    .domain-check__title {
        font-size: 1.4rem;
        text-align: center;
    }

    .domain-check__form {
        flex-direction: column;
    }

    .domain-check__btn {
        width: 100%;
    }

    .domain-check__extensions {
        justify-content: center;
    }

    .section {
        padding: 60px 0;
    }

    .benefits-grid {
        display: flex;
        flex-direction: column;
    }

    .section__header {
        margin-bottom: 40px;
        text-align: center;
    }

    .section__title {
        font-size: 1.9rem;
        text-align: center;
    }

    .section__description {
        text-align: center;
        margin: 0 auto;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px;
    }

    .custom-services__content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 30px;
    }

    .custom-services__image {
        min-height: 250px;
        width: 100%;
        order: -1;
    }

    .custom-services__title {
        font-size: 1.7rem;
    }

    .custom-services__description {
        font-size: 0.85rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-height: 600px;
    }

    .tech-grid.expanded {
        max-height: 2400px;
    }

    .tech-item {
        padding: 20px;
    }

    .portfolio-grid {
        display: flex;
        flex-direction: column;
    }
    .portfolio-item {
        height: 300px;
    }
    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(5),
    .portfolio-item:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .portfolio-item:nth-child(2) {
        grid-column: span 1;
        grid-row: span 2;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .benefit-card {
        padding: 25px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 25px;
    }

    .stats__title {
        font-size: 1.9rem;
    }

    .stats__description {
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Mobile menu styles */
    .mobile-menu-active .header__nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 25px;
        box-shadow: var(--shadow);
        gap: 15px;
        z-index: 999;
    }

    .mobile-menu-active .header__buttons {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 240px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 25px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        gap: 12px;
        z-index: 999;
    }
    .header {
        height: 52px;
        max-width: calc(100% - 40px);
    }
    .swiper .btn {
        width: 100%;
    }
}

/* Mobile - 480px и меньше */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header {
        height: 52px;
        max-width: calc(100% - 24px);
    }

    .hero {
        padding: 100px 0 40px;
    }

    .swiper {
        height: 90vh;
    }

    .swiper-content {
        padding: 20px;
    }

    .swiper-title {
        font-size: 1.5rem;
    }

    .swiper-text {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .swiper-image {
        height: 150px;
    }

    .domain-check {
        padding: 20px;
        margin-bottom: 40px;
    }

    .domain-check__title {
        font-size: 1.3rem;
    }

    .domain-check__input {
        padding: 14px 16px;
        font-size: 0.9rem;
        min-height: 48px;
    }

    .domain-check__btn {
        min-height: 48px;
        font-size: 0.9rem;
    }

    .domain-check__extensions {
        gap: 6px;
    }

    .domain-check__extension {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .section {
        padding: 50px 0;
    }

    .section__header {
        margin-bottom: 30px;
    }

    .section__subtitle {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .section__title {
        font-size: 1.6rem;
    }

    .service-card,
    .benefit-card,
    .tech-item,
    .testimonial-card {
        padding: 20px;
    }

    .service-card__title,
    .benefit-card__title {
        font-size: 1.2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
        gap: 12px;
    }

    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(2),
    .portfolio-item:nth-child(3),
    .portfolio-item:nth-child(4),
    .portfolio-item:nth-child(5),
    .portfolio-item:nth-child(6) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .custom-services__content {
        padding: 20px;
        gap: 20px;
    }
    .custom-services .btn {
        width: 100%;
    }

    .custom-services__title {
        font-size: 1.5rem;
    }

    .custom-services__description {
        font-size: 0.8rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .testimonial-card__text {
        font-size: 0.85rem;
        min-height: 80px;
    }

    .stats__title {
        font-size: 1.7rem;
    }

    .stats__description {
        font-size: 0.85rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item__number {
        font-size: 2.2rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer__social-link {
        width: 34px;
        height: 34px;
    }
    .tech-grid {
        max-height: 1200px;
    }
}

/* Small Mobile - 360px и меньше */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .swiper {
        height: 500px;
    }

    .swiper-title {
        font-size: 1.4rem;
    }

    .service-card__price {
        font-size: 1.2rem;
    }

    .portfolio-grid {
        grid-auto-rows: 200px;
    }
}
