:root {
    --bg-dark: #455A44;
    --card-light: #E8F5E9;
    --accent-lime: #9CCC65;
    --btn-green: #8BC34A;
    --btn-yes: #4CAF50;
    --btn-no: #f44336;
    --text-black: #212121;
    --text-white: #FFFFFF;
    --text-gray: #616161;
    --text-light-gray: #9e9e9e;
    --footer-link: #CFD8DC;
    --footer-text: #B0BEC5;
    --card-border: #2E7D32;
    --shadow-green: rgba(46, 125, 50, 0.25);
    --primary-red: #982030;
    --primary-red-dark: #6b1522;
    --primary-red-light: #ddbfc3;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
    background: #fff8f7;
    color: var(--text-black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ========== ВЕРХНЕЕ МЕНЮ ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fefcfb;
    padding: 5px 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 99;
    flex-wrap: wrap;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 5px;
    object-fit: contain;
}

/* БУРГЕР-КНОПКА - скрыта на десктопе */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #982030;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Оверлей для затемнения */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.overlay.active {
    display: block;
}

.nav-links {
    display: flex;
    gap: 15px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: black;
    text-decoration: none;
    font-size: 20px;
    padding: 8px 15px;
    transition: all 0.3s ease;
    border-radius: 25px;
    font-weight: 540;
}

.nav-links a:hover {
    color: #94162C;
    transform: translateY(-2px);
}

.nav-links a.active {
    color: #94162C;
}

.spacer {
    width: 150px;
}

/* Кнопка для открытия категорий на мобилках - скрыта на десктопе */
.sidebar-toggle {
    display: none;
}

/* ========== ОСНОВНОЙ КОНТЕЙНЕР ========== */
.main-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

/* ========== МЕНЮ КАТЕГОРИЙ (SIDEBAR) ========== */
.sidebar {
    width: 270px;
    background: #FAFAF9;
    overflow-y: auto;
    box-shadow: 0.1px 0 2px rgba(0,0,0,0.05);
    flex-shrink: 0;
    padding: 20px 5px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.sidebar-item:hover {
    border-left-color: #7F1D1D;
    padding-left: 35px;
    color: #7F1D1D;
    background: rgba(255,255,255,0.1);
}

.sidebar-item:hover .sidebar-text {
    font-size: 15px;
    transform: scale(1.05);
}

.sidebar-item:hover img {
    width: 25px;
    height: 25px;
    filter: brightness(0) saturate(100%) invert(26%) sepia(18%) saturate(2768%) hue-rotate(337deg) brightness(94%) contrast(90%);
    transform: scale(1.1);
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.sidebar-text {
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.heropi a {
    font-family: 'Be Vietnam Pro', sans-serif;
    margin-top: 50px;
    color: #7F1D1D;
    font-size: 23px;
    padding: 0px 0px 0px 25px;
    font-weight: 700;
}

.heropi p {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: #A8A29E;
    font-size: 13px;
    padding: 0px 25px;
    font-weight: 500;
    margin-bottom: 20px;
}

.pip {
    margin-bottom: 20px;
}

/* ========== ОСНОВНОЙ КОНТЕНТ ========== */
.main-content {
    flex: 1;
    min-height: 100%;
}

.page {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 16px 24px;
    width: 100%;
}

/* ========== HERO СЕКЦИЯ ========== */
.hero {
    margin-top: 30px;
    margin-bottom: 50px;
    width: 100%;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.hero-left {
    flex: 1;
    max-width: 600px;
    margin-left: 50px;
}

.hero-title {
    font-size: 70px;
    line-height: 1.2;
    color: var(--text-black);
    margin: 0 0 20px 0;
    font-weight: 700;
}

.hero-highlight {
    color: var(--primary-red);
    font-size: 70px;
    display: inline-block;
    white-space: nowrap;
}

.time-badge {
    background-color: var(--primary-red-light);
    color: var(--primary-red);
    font-weight: 600;
    font-size: 12px;
    padding: 4px 25px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(152, 32, 48, 0.15);
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 10px;
}

.cta-section {
    margin-bottom: 25px;
}

.cta-question {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.btn-yes, .btn-no {
    padding: 16px 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 50px;
    min-width: 50px;
    text-align: center;
}

.btn-yes {
    background-color: var(--primary-red);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(152, 32, 48, 0.3);
}

.btn-no {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-yes:hover {
    background: var(--primary-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(152, 32, 48, 0.4);
}

.btn-no:hover {
    background: var(--primary-red-light);
    color: var(--primary-red-dark);
    transform: translateY(-3px);
}

.btn-yes:active, .btn-no:active {
    transform: translateY(1px);
}

.stats {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light-gray);
    font-size: 14px;
    margin-top: 25px;
}

.stat-image {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.stats-text {
    font-size: 14px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: left;
    align-items: center;
    margin-left: 30px;
}

.phone-mockup {
    width: 335px;
    height: 650px;
    background: #1a1a1a;
    border-radius: 45px;
    padding: 12px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.25);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 12px;
    background: #333;
    border-radius: 20px;
    z-index: 2;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 4px;
    background: #555;
    border-radius: 10px;
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.phone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== ФУТЕР ========== */
.footer {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    background-color: var(--primary-red);
    border-radius: 20px 20px 0 0;
    margin-top: auto;
    clear: both;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.footer-info p {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}



































/* ========== АДАПТИВНОСТЬ ========== */

/* Планшеты и телефоны */
@media (max-width: 768px) {
    .navbar {
        
        position: sticky;
        top: 0;
        z-index: 99;
        background: #fefcfb;
        padding: 8px 20px;  /* ← добавь это */
        width: 100%;  
    }
    
    .burger-menu {
        display: flex;
    }
    
    .nav-links {
        position: static;
        transform: none;
        display: flex !important;
        gap: 10px;
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 0px;
    }
    
    .nav-links a {
        padding: 8px 12px;
        font-size: 16px;
    }
    
    .spacer {
        display: none;
    }
    
    .main-container {
        flex-direction: column;
    }
    
     

   .sidebar {
        position: fixed;
        top: 0; 
        left: -280px;
        width: 240px;
        height: 100vh;
        background: #FAFAF9;
        z-index: 1000;
        transition: left 0.3s ease;
        display: block;
    }
    
    .sidebar.active {
        left: 0;
    }
    
   
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .hero-left {
        max-width: 100%;
        text-align: center;
        margin-left: 0;
        padding: 0 10px;
    }
    
    .hero-title, .hero-highlight {
        font-size: 40px;
        white-space: normal;
    }
    
    .time-badge {
        margin-left: auto;
        margin-right: auto;
        margin-top: 5px;
        margin-bottom: 7px;
    }
    
    
    
    
    .hero-right {
        justify-content: center;
        margin-left: 0;
    }
    
    .phone-mockup {
        width: 300px;
        height: 550px;
    }
    
    .templates-header {
        
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
        padding: 0px;
    }
    
    .templates-link {
        margin-left: 0;
    }
    
    .templates-title {
        font-size: 28px;
    }
    
    .templates-subtitle {
        font-size: 14px;
    }
    
    
    
    



.cta-buttons {
    display: flex;
    justify-content: center;  /* ← ГЛАВНОЕ: раздвигает кнопки к краям */
    align-items: center;
    gap: 10px;
    width: 100%;
}

.btn-yes, .btn-no {
    width: 210px;
    
    justify-content: center;               /* позволяем кнопкам гибко растягиваться */
    padding: 30px 10px;
    font-size: 17px;
    text-align: center;
}












     .editorial-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .card,
    .big-card,
    .small-card,
    .wide-card {
        width: 100%;
        min-height: 180px;
        padding: 20px;
        margin: 0;
        grid-column: auto;
        grid-row: auto;
    }
    
    .big-card h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .card p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .small-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }


}

/* Мобильные телефоны */
@media (max-width: 576px) {
    .hero-title, .hero-highlight {
        font-size: 45px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .cta-question {
        font-size: 17px;
        margin-bottom: 5px;
    }
    
    .btn-yes, .btn-no {
        padding: 15px 20px;
        font-size: 16px;
        min-width: 180px;
    }
    
    .phone-mockup {
        width: 300px;
        height: 550px;
    }
    
    
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-left, .hero-right {
    animation: fadeIn 0.6s ease-out;
}

/* Скроллбар для sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

/* ========== БЛОК С ШАБЛОНАМИ ========== */
.praise {
    padding: 40px 0;
    margin-top: 40px;
}

.praise-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.praise-header-left {
    text-align: left;
}

.praise-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 10px;
    text-align: left;
}

.praise-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 20px;
}

.praise-link:hover {
    transform: translateX(5px);
    color: var(--primary-red-dark);
}

.praise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.template-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.template-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(152, 32, 48, 0.15);
}

.template-card:hover .template-image img {
    transform: scale(1.1);
}

.template-info {
    padding: 20px;
    text-align: center;
}

.template-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 8px;
}

.template-type {
    font-size: 14px;
    color: var(--text-light-gray);
    font-weight: 500;
}

.template-image:has(img[src=""]) {
    background: linear-gradient(135deg, var(--primary-red-light), var(--primary-red));
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-image:has(img[src=""])::before {
    content: "🎂";
    font-size: 60px;
    opacity: 0.7;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 60px 0;
    background: #fff8f7;
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.features-left {
    background-color: #FFF0F0;
    flex: 1;
    padding: 40px 20px;
    text-align: left;
    border-radius: 20px;
}

.features-title {
    font-size: 42px;
    font-weight: 600;
    color: var(--text-black);
    margin-top: 220px;
    line-height: 1.2;
}

.features-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 30px;
}

.features-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.features-link:hover {
    transform: translateX(5px);
    color: var(--primary-red-dark);
}

.features-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.feature-item {
    background-color: #FFF0F0;
    padding: 40px 20px;
    text-align: left;
    border-radius: 20px;
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-item-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 10px;
}

.feature-item-text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ===== EDITORIAL BLOCK ===== */
.editorial-section {
    padding: 50px 0px;
}

.editorial-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 20px;
}

.card {
    border-radius: 25px;
    padding: 30px;
    background: #f3eaea;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.big-card {
    grid-row: span 2;
    background-image: url('/static/images/ready-solutions-bg.jpg');
    background-size: cover;          /* растягивает на весь блок (без искажений) */
    background-position: center;     /* центрирует картинку */
    background-repeat: no-repeat;    /* ❗ НЕ дублировать ❗ */
    background-attachment: scroll;   /* не фиксирует фон (по умолчанию) */
    position: relative;
    
}

.big-card h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.big-card p {
    color: #6b6b6b;
    margin-bottom: 20px;
}

.big-card a {
    color: #982030;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
}

.small-card {
    background: #ffffff;
}

.small-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.small-card p {
    font-size: 14px;
    color: #777;
}

.small-card.red {
    background: #982030;
    color: white;
}

.small-card.red p {
    color: #f3cfd4;
}

.small-card.light {
    background: #f1f1f1;
}

.wide-card {
    grid-column: span 2;
    background: #FFF0F0;
}

.wide-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.wide-card p {
    color: #6b6b6b;
}

.avatars {
    display: flex;
    margin-top: 15px;
    gap: 5px;
}

.avatars span {
    width: 28px !important;
    height: 28px !important;
    
    border-radius: 50%;
    display: inline-block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.avatars .plus {
    background: #982030;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}






/* ===== КАРТОЧКИ ШАБЛОНОВ ===== */

.templates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.template-item {
    max-width: 220px;
    margin: 0 auto;
}

.template-item:hover {
    transform: scale(1.02);
}



/* Картинка-макет телефона */
.template-image {
    width: 100%;
    aspect-ratio: 9 / 19.5;       /* классический телефон 9:16 */
    background: black;
    border-radius: 30px;
    overflow: hidden;
    
    margin-bottom: 12px;
    
}

.template-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* картинка встанет ровно, как экран телефона */
    display: block;
    border-radius: 28px;  

}

/* Название шаблона */
.template-title {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #333;
}

/* Цена */
.template-price {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #c02a2a;
    margin-top: 4px;
}

/* Контент */
.template-content {
    display: flex;
    flex-direction: column;
}

/* Верх (название + цена) */
.template-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-top h3 {
    font-size: 18px;
    font-weight: 600;
}

.price {
    color: #982030;
    font-weight: 600;
}

/* Категория */
.category {
    font-size: 14px;
    color: #8a8a8a;
    margin: 5px 0 15px;
}

/* Кнопка */
.btn-view {
    display: inline-block;
    text-align: center;
    padding: 12px 0;
    background: linear-gradient(135deg, #982030, #b42b3f);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-view:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(152, 32, 48, 0.3);
}



@media (max-width: 992px) {
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .templates-grid {
        grid-template-columns: 1fr;
    }
}



















/* ===== ЗАГОЛОВОК ДЛЯ ШАБЛОНОВ ===== */
.templates-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 0px 20px 20px;
}

.templates-header-left {
    text-align: left;
}

.templates-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 10px;
    text-align: left;
}

.templates-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    text-align: left;
    margin: 0;
}

.templates-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 20px;
}

.templates-link:hover {
    transform: translateX(5px);
    color: var(--primary-red-dark);
}

/* Адаптивность для заголовка */
@media (max-width: 768px) {
    .templates-header {
        flex-direction: column;
        align-items: flex-start;
        
        margin-top: 0px;
        gap: 15px;
    }
    
    .templates-link {
        margin-left: 0;
    }
    
    .templates-title {
        font-size: 28px;
    }
    
    .templates-subtitle {
        font-size: 14px;
    }
    
    
    .footer-links {
   
    gap: 10px;
    
}
    
     .templates-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .editorial-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

}




























/* ===== БЛОК "КАК ЭТО РАБОТАЕТ" ===== */
.how-it-works {
    max-width: 1100px;
    margin: 30px auto;
    padding: 30px 20px;
    position: relative;
}

.how-header {
    text-align: center;
    margin-bottom: 50px;
}

.how-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 15px;
}

.how-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.step-card {
    flex: 1;
    background: white;
    border-radius: 30px;
    padding: 30px 25px 35px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(152, 32, 48, 0.1);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(152, 32, 48, 0.12);
    border-color: rgba(152, 32, 48, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 25px;
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(152, 32, 48, 0.3);
}

.step-icon {
    font-size: 50px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.step-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 15px;
}

.step-description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 20px;
}

.step-tag {
    display: inline-block;
    background: var(--primary-red-light);
    color: var(--primary-red);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 30px;
}

/* Стрелки между шагами */
.steps-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: calc(33% - 30px);
    pointer-events: none;
    z-index: 1;
}

.steps-arrows span {
    font-size: 40px;
    color: var(--primary-red-light);
    font-weight: 300;
}

/* ===== АДАПТИВНОСТЬ ДЛЯ БЛОКА ===== */
@media (max-width: 768px) {
    .how-it-works {
        margin-top: 40px;
        margin-bottom: 0px;
        padding: 10px;
    }
    
    .how-title {
        font-size: 28px;
    }
    
    .how-subtitle {
        font-size: 14px;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-card {
        padding: 25px 20px 30px;
    }
    
    .step-number {
        top: -12px;
        left: 20px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .step-icon {
        font-size: 45px;
    }
    
    .step-title {
        font-size: 20px;
    }
    
    .step-description {
        font-size: 14px;
    }
    
    .steps-arrows {
        display: none;
    }
}

@media (max-width: 576px) {
    .how-title {
        font-size: 24px;
    }
}