/* ============================================================
   ROOT ПЕРЕМЕННЫЕ
   ============================================================ */
: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: 45px;
    width: auto;
    border-radius: 5px;
    object-fit: contain;
    margin: 5px;
}



/* Оверлей для затемнения */
.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: 5px;
    position: absolute;   
    left: 34%;
    transform: translateX(-50%);

}

.nav-links a {
    color: black;
    text-decoration: none;
    font-size: 20px;
    padding: 8px 13px;
    transition: all 0.3s ease;
    border-radius: 25px;
    font-weight: 540;
    font-family: 'Playfair Display', serif;
}

.nav-links a:hover {
    color: #94162C;
    transform: translateY(-2px);
}

.nav-links a.active {
    color: #94162C;
}

.spacer {
    width: 150px;
}

/* Кнопка для открытия категорий на мобилках — скрыта на десктопе */
.sidebar-toggle {
    display: none;
}




/* ============================================================
   ПРАВАЯ ЧАСТЬ МЕНЮ
   ============================================================ */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-left: auto;
}

/* ============================================================
   ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКОВ (ВЫПАДАЮЩИЙ)
   ============================================================ */
.language-switcher {
    position: relative;
    display: inline-block;
}

/* Кнопка текущего языка */
.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f5f0ef;
    border: none;
    padding: 6px 12px 6px 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lang-current:hover {
    background: #ece5e3;
}

.lang-current .lang-flag {
    font-size: 16px;
}

.lang-current .lang-code {
    font-weight: 600;
    color: #333;
}

.lang-current .lang-arrow {
    font-size: 10px;
    color: #999;
    transition: transform 0.3s ease;
}

.lang-current.active .lang-arrow {
    transform: rotate(180deg);
}

/* Выпадающий список языков */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.25s ease;
    border: 1px solid #f0ecea;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Скроллбар для выпадающего списка */
.lang-dropdown::-webkit-scrollbar {
    width: 4px;
}
.lang-dropdown::-webkit-scrollbar-track {
    background: transparent;
}
.lang-dropdown::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}
.lang-dropdown::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* Пункты выпадающего списка */
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    font-size: 14px;
}

.lang-option:hover {
    background: #f8f2f0;
    color: #982030;
}

.lang-option.active {
    background: #f8f2f0;
    color: #982030;
    font-weight: 600;
}

.lang-option .lang-flag {
    font-size: 18px;
    flex-shrink: 0;
}

.lang-option .lang-name {
    flex: 1;
}

.lang-option .lang-code-small {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    background: #f5f0ef;
    padding: 2px 8px;
    border-radius: 12px;
}

.lang-option.active .lang-code-small {
    background: #f0e5e2;
    color: #982030;
}

/* Анимация при открытии */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.lang-dropdown.open {
    animation: slideDown 0.2s ease forwards;
}

/* ============================================================
   АВТОРИЗАЦИЯ
   ============================================================ */
.auth-buttons {
    display: flex;
    align-items: center;
}

.btn-login {
    padding: 8px 22px;
    background: transparent;
    color: #333;
    border: 2px solid #ddd;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    border-color: #982030;
    color: #982030;
    transform: translateY(-2px);
}

/* Меню пользователя (авторизован) */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
 
    background: transparent;
    border: 0px;
}



.user-btn.active .user-arrow {
    transform: rotate(180deg);
}

.user-avatar {
    font-size: 18px;
}

.user-name {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-arrow {
    font-size: 10px;
    color: #999;
    transition: transform 0.3s ease;
}

/* Выпадающее меню пользователя */
.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid #f0ecea;
}

.user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.user-dropdown a:hover {
    background: #f8f2f0;
    color: #982030;
}

.user-dropdown hr {
    margin: 6px 16px;
    border: none;
    border-top: 1px solid #f0ecea;
}

.user-dropdown .logout-link {
    color: #dc3545;
}

.user-dropdown .logout-link:hover {
    background: #fff5f5;
    color: #c62828;
}

/* Кнопка "Создать открытку" */
.btn-create-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #982030;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(152, 32, 48, 0.25);
}

.btn-create-card .btn-icon {
    font-size: 16px;
}

.btn-create-card:hover {
    background: #6b1522;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(152, 32, 48, 0.35);
}

.btn-create-card:active {
    transform: translateY(0px);
}

/* ============================================================
   ОСНОВНОЙ КОНТЕЙНЕР
   ============================================================ */
.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: 60px;
    line-height: 1.2;
    color: var(--text-black);
    margin: 0;
    font-weight: 700;
}

.hero-highlight {
    color: var(--primary-red);
    font-size: 60px;
    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-sections {
    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: 25px 50px;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border-radius: 40px;
    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: 600px;
    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;
}

/* ============================================================
   БЛОК С ШАБЛОНАМИ
   ============================================================ */
/* Заголовок для шаблонов */
.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);
}

/* Сетка шаблонов */
.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;
    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);
}

/* ============================================================
   БЛОК "КАК ЭТО РАБОТАЕТ"
   ============================================================ */
.how-it-works {
    max-width: 1100px;
    margin: 0px auto;
    padding: 10px 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: 10px;
    left: 25px;
    width: 35px;
    height: 35px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(152, 32, 48, 0.3);
}

.step-icon {
    font-size: 50px;
    margin-bottom: 3px;
    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;
}

/* ============================================================
   БЛОК ПРЕИМУЩЕСТВ (BENEFITS)
   ============================================================ */
.benefits-section {
    padding: 60px 20px;
    background: #fdf9f8;
    margin: 0;
}
.benefits-container {
    max-width: 1100px;
    margin: 0 auto;
}
.benefits-header {
    text-align: center;
    margin-bottom: 50px;
}
.benefits-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}
.benefits-header p {
    font-size: 18px;
    color: #666;
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}
.benefit-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px 28px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(152, 32, 48, 0.10);
    border-color: rgba(152, 32, 48, 0.15);
}
.benefit-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 5px;
    
}
.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}
.benefit-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px 0;
}
.benefit-tag {
    display: inline-block;
    background: #f5edeb;
    color: #982030;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.benefits-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0e8e6;
}
.stat-item {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #982030;
    line-height: 1.1;
}
.stat-label {
    display: block;
    font-size: 14px;
    color: #888;
    font-weight: 500;
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    height: 50px;
    background: #e5ddd9;
}

/* ============================================================
   БЛОК "ДЛЯ КОГО"
   ============================================================ */
.for-whom-section {
    padding: 70px 20px;
    background: #fff8f7;
    margin: 0;
}
.for-whom-container {
    max-width: 1100px;
    margin: 0 auto;
}
.for-whom-header {
    text-align: center;
    margin-bottom: 45px;
}
.for-whom-header .section-badge {
    display: inline-block;
    background: rgba(152, 32, 48, 0.10);
    color: #982030;
    padding: 4px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.for-whom-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}
.for-whom-header p {
    font-size: 18px;
    color: #666;
    margin: 0;
}
.for-whom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}
.for-whom-card {
    background: white;
    border-radius: 20px;
    padding: 30px 22px 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
.for-whom-card:nth-child(1) { animation-delay: 0.1s; }
.for-whom-card:nth-child(2) { animation-delay: 0.2s; }
.for-whom-card:nth-child(3) { animation-delay: 0.3s; }
.for-whom-card:nth-child(4) { animation-delay: 0.4s; }
.for-whom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(152, 32, 48, 0.10);
    border-color: rgba(152, 32, 48, 0.12);
}
.for-whom-card.highlight {
    border-color: #982030;
    background: #fefaf9;
}
.for-whom-card.highlight:hover {
    border-color: #982030;
    box-shadow: 0 15px 45px rgba(152, 32, 48, 0.18);
}
.for-whom-icon {
    font-size: 44px;
    display: block;
    margin-bottom: 12px;
}
.for-whom-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}
.for-whom-card blockquote {
    font-size: 18px;
    font-weight: 600;
    color: #982030;
    font-style: italic;
    margin: 0 0 12px 0;
    padding-left: 12px;
    border-left: 3px solid #982030;
}
.for-whom-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex: 1;
}
.for-whom-example {
    background: #f8f2f0;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
}
.for-whom-example .example-label {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 3px;
}
.for-whom-example .example-text {
    font-size: 14px;
    color: #333;
}
.for-whom-link {
    color: #982030;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    margin-top: auto;
}
.for-whom-link:hover {
    color: #7a1825;
    transform: translateX(5px);
}
.for-whom-footer {
    text-align: center;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0e8e6;
}
.for-whom-footer p {
    font-size: 16px;
    color: #555;
    margin: 0 0 16px 0;
}
.for-whom-footer p strong {
    color: #1a1a1a;
}
.btn-for-whom {
    display: inline-block;
    padding: 14px 40px;
    background: #982030;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-for-whom:hover {
    background: #7a1825;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(152, 32, 48, 0.25);
}

/* ============================================================
   БЛОК ОТЗЫВОВ
   ============================================================ */
.reviews-section {
    padding: 70px 20px;
    background: #fefcfb;
    margin: 0;
}
.reviews-container {
    max-width: 1100px;
    margin: 0 auto;
}
.reviews-header {
    text-align: center;
    margin-bottom: 45px;
}
.reviews-header .section-badge {
    display: inline-block;
    background: rgba(152, 32, 48, 0.10);
    color: #982030;
    padding: 4px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.reviews-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}
.reviews-header p {
    font-size: 18px;
    color: #666;
    margin: 0;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 45px;
}
.review-card {
    background: white;
    border-radius: 20px;
    padding: 28px 22px 22px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0ecea;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}
.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}
.review-card.highlight {
    border-color: #982030;
    background: #fefaf9;
}
.review-stars {
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.review-card blockquote {
    font-size: 15px;
    color: #333;
    font-style: italic;
    line-height: 1.6;
    margin: 0 0 18px 0;
    flex: 1;
}
.review-card blockquote::before {
  
    color: #982030;
    font-size: 20px;
}
.review-card blockquote::after {
   
    color: #982030;
    font-size: 20px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0ecea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.review-info {
    display: flex;
    flex-direction: column;
}
.review-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
}
.review-detail {
    font-size: 12px;
    color: #999;
}
.review-date {
    font-size: 12px;
    color: #bbb;
    margin-top: 6px;
}
.reviews-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0ecea;
}
.review-stat-item {
    text-align: center;
}
.review-stat-item .stat-number {
    display: block;
    font-size: 38px;
    font-weight: 800;
    color: #982030;
    line-height: 1.1;
}
.review-stat-item .stat-label {
    display: block;
    font-size: 14px;
    color: #888;
    font-weight: 500;
    margin-top: 2px;
}
.review-stat-item .stat-stars {
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 4px;
}

/* ============================================================
   БЛОК FAQ
   ============================================================ */
.faq-section {
    padding: 5px 20px;
    background: #fdf9f8;
    margin: 0;
}
.faq-container {
    max-width: 820px;
    margin: 0 auto;
}
.faq-header {
    text-align: center;
    margin-bottom: 45px;
}
.faq-header .section-badge {
    display: inline-block;
    background: rgba(152, 32, 48, 0.10);
    color: #982030;
    padding: 4px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.faq-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}
.faq-header p {
    font-size: 18px;
    color: #666;
    margin: 0;
}
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}
.faq-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0ecea;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}
.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.10s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.20s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-item:nth-child(6) { animation-delay: 0.30s; }
.faq-item:nth-child(7) { animation-delay: 0.35s; }
.faq-item:nth-child(8) { animation-delay: 0.40s; }
.faq-item:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}
.faq-item.active {
    border-color: #982030;
    box-shadow: 0 5px 30px rgba(152, 32, 48, 0.08);
}
.faq-question {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    gap: 12px;
}
.faq-question:hover {
    background: #faf6f5;
}
.faq-icon {
    font-size: 20px;
    flex-shrink: 0;
}
.faq-text {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    flex: 1;
}
.faq-arrow {
    font-size: 14px;
    color: #999;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: #982030;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 22px 24px;
}
.faq-answer p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}
.faq-answer p strong {
    color: #982030;
}
.faq-footer {
    text-align: center;
    padding: 20px;
}
.faq-footer p {
    font-size: 15px;
    color: #666;
    margin: 0;
}
.faq-footer a {
    color: #982030;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #982030;
    transition: all 0.3s ease;
}
.faq-footer a:hover {
    color: #7a1825;
    border-bottom-color: #7a1825;
}

/* ============================================================
   БЛОК CTA (ПРИЗЫВ К ДЕЙСТВИЮ)
   ============================================================ */
.cta-section {
    padding: 70px 20px 80px;
    background: #982030;
    margin: 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '❤️';
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 300px;
    opacity: 0.06;
    transform: rotate(15deg);
}
.cta-section::after {
    content: '🎉';
    position: absolute;
    bottom: -80px;
    left: -30px;
    font-size: 250px;
    opacity: 0.06;
    transform: rotate(-10deg);
}
.cta-container {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cta-content {
    text-align: center;
    color: white;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}
.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.10);
}
.cta-content h2 {
    font-size: 44px;
    font-weight: 800;
    margin: 0 0 16px 0;
    line-height: 1.2;
}
.cta-content p {
    font-size: 20px;
    opacity: 0.85;
    margin: 0 0 30px 0;
}
.cta-content p strong {
    font-weight: 700;
    opacity: 1;
}
.cta-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 35px;
    margin-bottom: 35px;
}
.cta-feature {
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}
.cta-feature span {
    font-size: 20px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}
.btn-cta-primary {
    display: inline-block;
    padding: 18px 50px;
    background: white;
    color: #982030;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.btn-cta-primary:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.25);
}
.btn-cta-secondary {
    display: inline-block;
    padding: 18px 40px;
    background: transparent;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.30);
    transition: all 0.3s ease;
}
.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.50);
    transform: scale(1.02);
}
.cta-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.70;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.trust-divider {
    opacity: 0.30;
}

/* ============================================================
   EDITORIAL БЛОК
   ============================================================ */
.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;
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.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;
}

/* ============================================================
   КЛЮЧЕВЫЕ КАДРЫ
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   СКРОЛЛБАР ДЛЯ 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;
}

/* ============================================================
   АНИМАЦИЯ HERO
   ============================================================ */
.hero-left,
.hero-right {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================================
   АДАПТИВНОСТЬ ДЛЯ ПЛАНШЕТОВ И ТЕЛЕФОНОВ
   ============================================================ */
@media (max-width: 1000px) {
    .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;
        font-family: 'Playfair Display', serif;
    }

    .nav-links a {
        padding: 8px 12px;
        font-size: 20px;
        font-family: 'Playfair Display', serif;
    }

    .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;
        margin-bottom: 15px;
        
    }

    .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 {
        
        justify-content: center;
        padding: 20px 40px;
        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;
    }

    .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;
    }

    .footer-links {
        gap: 10px;
    }

    /* Блок "Как это работает" */
    .how-it-works {
        margin-top: 5px;
        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: 10px;
        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;
    }

    /* Блок преимуществ */
    .benefits-section {
        padding: 40px 16px;
    }
    .benefits-header h2 {
        font-size: 28px;
    }
    .benefits-header p {
        font-size: 16px;
    }
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .benefit-card {
        padding: 24px 18px 20px;
    }
    .benefit-icon {
        font-size: 38px;
        
    }






    .benefit-card h3 {
        font-size: 17px;
    }
    .benefit-card p {
        font-size: 14px;
    }
    .benefits-stats {
        flex-direction: column;
        gap: 20px;
        padding: 25px 20px;
    }
    .stat-divider {
        width: 80%;
        height: 1px;
        background: #e5ddd9;
    }
    .stat-number {
        font-size: 34px;
    }

    /* Блок "Для кого" */
    .for-whom-section {
        padding: 45px 16px;
    }
    .for-whom-header h2 {
        font-size: 28px;
    }
    .for-whom-header p {
        font-size: 16px;
    }
    .for-whom-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .for-whom-card {
        padding: 22px 16px 20px;
    }
    .for-whom-icon {
        font-size: 36px;
    }
    .for-whom-card h3 {
        font-size: 17px;
    }
    .for-whom-card blockquote {
        font-size: 15px;
    }
    .for-whom-card p {
        font-size: 13px;
    }

    /* Блок отзывов */
    .reviews-section {
        padding: 45px 16px;
    }
    .reviews-header h2 {
        font-size: 28px;
    }
    .reviews-header p {
        font-size: 16px;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .review-card {
        padding: 20px 18px;
    }
    .reviews-stats {
        flex-direction: column;
        gap: 20px;
        padding: 25px 20px;
    }
    .stat-divider {
        width: 80%;
        height: 1px;
        background: #e5ddd9;
    }
    .review-stat-item .stat-number {
        font-size: 32px;
    }

    /* Блок FAQ */
    .faq-section {
        padding: 5px 16px;
    }
    .faq-header h2 {
        font-size: 28px;
    }
    .faq-header p {
        font-size: 16px;
    }
    .faq-question {
        padding: 14px 18px;
    }
    .faq-text {
        font-size: 14px;
    }
    .faq-answer p {
        font-size: 14px;
    }
    .faq-item.active .faq-answer {
        padding: 0 18px 18px 18px;
    }

    /* Блок CTA */
    .cta-section {
        padding: 50px 16px 60px;
    }
    .cta-content h2 {
        font-size: 32px;
    }
    .cta-content p {
        font-size: 17px;
    }
    .cta-features {
        gap: 12px 25px;
    }
    .cta-feature {
        font-size: 13px;
    }
    .btn-cta-primary {
        padding: 15px 35px;
        font-size: 16px;
    }
    .btn-cta-secondary {
        padding: 15px 30px;
        font-size: 16px;
    }
    .cta-trust {
        gap: 12px;
        font-size: 13px;
    }
    .cta-section::before {
        font-size: 200px;
        top: -30px;
        right: -30px;
    }
    .cta-section::after {
        font-size: 180px;
        bottom: -50px;
        left: -20px;
    }
}

/* ============================================================
   АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ ТЕЛЕФОНОВ
   ============================================================ */
@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;
    }

    .how-title {
        font-size: 24px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .benefit-card {
        padding: 20px 16px;
    }
    .benefits-header h2 {
        font-size: 24px;
    }

    .for-whom-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .for-whom-header h2 {
        font-size: 24px;
    }
    .for-whom-footer {
        padding: 20px 16px;
    }
    .btn-for-whom {
        padding: 12px 30px;
        font-size: 15px;
    }

    .reviews-header h2 {
        font-size: 24px;
    }

    .faq-header h2 {
        font-size: 24px;
    }
    .faq-question {
        padding: 12px 14px;
        gap: 8px;
    }
    .faq-icon {
        font-size: 16px;
    }
    .faq-text {
        font-size: 13px;
    }

    .cta-content h2 {
        font-size: 26px;
    }
    .cta-content p {
        font-size: 15px;
    }
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 320px;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
    }
    .cta-trust {
        flex-direction: column;
        gap: 6px;
    }
    .trust-divider {
        display: none;
    }

    .templates-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   АДАПТИВНОСТЬ ДЛЯ ПЛАНШЕТОВ (1024PX)
   ============================================================ */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .benefits-header h2 {
        font-size: 32px;
    }

    .for-whom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .for-whom-header h2 {
        font-size: 32px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .reviews-header h2 {
        font-size: 32px;
    }

    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}









@media (max-width: 595px) {

.nav-links a {
     
        font-size: 16px;
        font-family: 'Playfair Display', serif;
    }

.navbar-right {   
    gap: 5px;  
}

.btn-create-card {
   
    gap: 8px;
    padding: 10px 15px;
    font-size: 12px;
    
}




.btn-login {
    padding: 8px 15px;
    font-size: 12px;
   
}

.lang-current {
    gap: 6px;
    padding: 6px 12px 6px 10px;
    font-size: 12px; 
}

.logo img {
    height: 35px;
    width: auto;
    border-radius: 5px;
    object-fit: contain;
    margin: 5px;
}

}









@media (max-width: 478px) {

.navbar {
    padding: 10px;
}

.navbar-right {   
    gap: 5px;  
}

.btn-create-card {
   
    gap: 8px;
    padding: 8px 10px;
    font-size: 10px;
    
}

.user-btn {
   
    gap: 3px;

    padding: 8px 5px 8px 5px;
    font-size: 10px;
     max-width: 85px;


}

.btn-login {
    padding: 7px 10px;
    font-size: 10px;
   
}

.lang-current {
    gap: 3px;
    padding: 6px 10px 6px 8px;
    font-size: 10px; 
}

.logo img {
    height: 28px;
    width: auto;
    border-radius: 5px;
    object-fit: contain;
    margin: 5px;
}

}










































/* ============================================================
   АДАПТИВНОСТЬ ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ (< 377px)
   ============================================================ */
@media (max-width: 377px) {
    /* Навбар */
    .navbar {
        padding: 6px 8px;
    }

    .logo img {
        height: 20px;
    }

    .nav-links {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 5px;
    }

    .nav-links a {
        font-size: 13px;
        padding: 4px 8px;
       
    }

    /* Правая часть навбара */
    .navbar-right {
        gap: 4px;
    }

    .btn-create-card {
        padding: 5px 8px;
        font-size: 8px;
        gap: 1px;
    }

    .user-btn {
   
    gap: 2px;

    padding: 3px 3px 3px 3px;
    font-size: 8px;
     max-width: 70px;


}

    .btn-login {
        padding: 5px 8px;
        font-size: 8px;
    }

    .lang-current {
        padding: 4px 6px;
        font-size: 8px;
        gap: 2px;
    }

    .lang-current .lang-arrow {
        font-size: 7px;
    }

    /* Hero секция */
    .hero-title,
    .hero-highlight {
        font-size: 28px;
    }

    .hero-description {
        font-size: 12px;
    }

    .time-badge {
        font-size: 10px;
        padding: 3px 15px;
    }

    .cta-question {
        font-size: 15px;
    }

    .btn-yes,
    .btn-no {
        padding: 13px 14px;
        font-size: 13px;
        min-width: 130px;
        width: 100%;
    }

    .phone-mockup {
        width: 220px;
        height: 400px;
        padding: 8px;
        border-radius: 30px;
    }

    .phone-mockup::before {
        width: 50px;
        height: 8px;
        top: 10px;
    }

    .phone-mockup::after {
        width: 30px;
        height: 3px;
        top: 14px;
    }

    .phone-screen {
        border-radius: 22px;
    }

   



    /* How it works */
    .how-title {
        font-size: 20px;
    }

    .how-subtitle {
        font-size: 12px;
    }

    .step-card {
        padding: 20px 15px 25px;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
        top: 10px;
        left: 15px;
    }

    .step-icon {
        font-size: 32px;
    }

    .step-title {
        font-size: 16px;
    }

    .step-description {
        font-size: 12px;
    }

    /* Benefits */
    .benefits-section {
        padding: 30px 12px;
    }

    .benefits-header h2 {
        font-size: 20px;
    }

    .benefits-header p {
        font-size: 13px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .benefit-card {
        padding: 16px 14px;
    }

    .benefit-icon {
        font-size: 30px;
       
    }

    .benefit-card h3 {
        font-size: 15px;
    }

    .benefit-card p {
        font-size: 12px;
    }

    .benefits-stats {
        padding: 20px 15px;
        gap: 15px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* For whom */
    .for-whom-section {
        padding: 30px 12px;
    }

    .for-whom-header h2 {
        font-size: 20px;
    }

    .for-whom-header p {
        font-size: 13px;
    }

    .for-whom-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .for-whom-card {
        padding: 18px 14px;
    }

    .for-whom-icon {
        font-size: 30px;
    }

    .for-whom-card h3 {
        font-size: 15px;
    }

    .for-whom-card blockquote {
        font-size: 13px;
        padding-left: 8px;
    }

    .for-whom-card p {
        font-size: 12px;
    }

    .for-whom-example {
        padding: 8px 12px;
    }

    .for-whom-example .example-text {
        font-size: 12px;
    }

    .for-whom-footer {
        padding: 15px;
    }

    .btn-for-whom {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Reviews */
    .reviews-section {
        padding: 30px 12px;
    }

    .reviews-header h2 {
        font-size: 20px;
    }

    .reviews-header p {
        font-size: 13px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .review-card {
        padding: 16px 14px;
    }

    .review-card blockquote {
        font-size: 13px;
    }

    .review-name {
        font-size: 13px;
    }

    .review-detail {
        font-size: 10px;
    }

    .reviews-stats {
        padding: 20px 15px;
        gap: 15px;
    }

    .review-stat-item .stat-number {
        font-size: 28px;
    }

    /* FAQ */
    .faq-section {
        padding: 5px 12px;
    }

    .faq-header h2 {
        font-size: 20px;
    }

    .faq-header p {
        font-size: 13px;
    }

    .faq-question {
        padding: 12px 14px;
    }

    .faq-text {
        font-size: 13px;
    }

    .faq-icon {
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 13px;
    }

    .faq-item.active .faq-answer {
        padding: 0 14px 14px 14px;
    }

    /* CTA */
    .cta-section {
        padding: 40px 12px 50px;
    }

    .cta-content h2 {
        font-size: 22px;
    }

    .cta-content p {
        font-size: 13px;
    }

    .cta-badge {
        font-size: 11px;
        padding: 4px 16px;
    }

    .cta-features {
        gap: 6px;
        flex-direction: column;
    }

    .cta-feature {
        font-size: 12px;
    }

    .cta-feature span {
        font-size: 16px;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 10px 20px;
        font-size: 13px;
        max-width: 100%;
    }

    .cta-trust {
        font-size: 11px;
        gap: 8px;
        flex-direction: column;
    }

    .trust-divider {
        display: none;
    }

    /* Editorial */
    .editorial-section {
        padding: 20px 0;
    }

    .editorial-grid {
        gap: 10px;
        padding: 0 10px;
    }

    .card {
        padding: 16px;
        min-height: 120px;
    }

    .big-card h2 {
        font-size: 18px;
    }

    .card p {
        font-size: 12px;
    }

    .small-card h3 {
        font-size: 15px;
    }

    .big-card a {
        font-size: 15px;
    }

    .avatars span {
        width: 22px !important;
        height: 22px !important;
    }

    /* Футер */
    .footer {
        padding: 25px 15px;
        border-radius: 12px 12px 0 0;
    }

    .footer-links {
        gap: 8px;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-info p {
        font-size: 10px;
    }

    /* Общее */
    .page {
        padding: 0 10px 16px;
        margin: 15px auto;
    }

    .hero {
        margin-top: 15px;
        margin-bottom: 25px;
    }

    .how-it-works {
        padding: 15px 10px;
        margin: 15px auto;
    }

    .templates-header {
        padding: 0 0 15px 10px;
    }
}



.benefitimg {
    height: 120px;
}

@media (max-width: 700px) {
    .benefitimg {
    height: 90px;
}
}


.stepimgs {
    height: 80px;
}

@media (max-width: 700px) {
    .stepimgs {
    height: 60px;
}
}























/* ================================================================
   КАРУСЕЛЬ ОТЗЫВОВ — БЕСКОНЕЧНАЯ ПРОКРУТКА
   ================================================================ */
.reviews-carousel-section {
    padding: 60px 20px;
   
    overflow: hidden;
}

.reviews-carousel-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ----- ЗАГОЛОВОК ----- */
.reviews-carousel-header {
    text-align: center;
    margin-bottom: 45px;
}

.reviews-badge {
    display: inline-block;
    background: rgba(152, 32, 48, 0.10);
    color: #982030;
    padding: 4px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.reviews-carousel-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.reviews-carousel-header p {
    font-size: 17px;
    color: #777;
    margin: 0;
}

/* ================================================================
   КАРУСЕЛЬ
   ================================================================ */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
   
    height: 280px;
}

/* ----- ОБЁРТКА ТРЕКА ----- */
.carousel-track-wrapper {
    overflow: hidden;
    flex: 1;
    border-radius: 16px;
    position: relative;
}

/* ----- ТРЕК С КАРТОЧКАМИ (БЕСКОНЕЧНЫЙ) ----- */
.carousel-track {
    display: flex;
    gap: 25px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* ================================================================
   КАРТОЧКА ОТЗЫВА
   ================================================================ */
.review-classic-card {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
    background: #ffffff;
    border-radius: 16px;
    padding: 5px 5px 5px 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0ecea;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.review-classic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(152, 32, 48, 0.08);
}

.review-classic-card.highlight {
    border-color: #982030;
    background: #fefaf9;
}

/* ----- ВЕРХ ----- */
.review-classic-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-classic-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #f0ecea;
}

.review-classic-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-classic-user {
    flex: 1;
    min-width: 0;
}

.review-classic-name {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.3;
}

.review-classic-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.review-classic-stars .stars {
    font-size: 15px;
    letter-spacing: 1px;
}

.review-classic-stars .rating {
    font-weight: 700;
    font-size: 14px;
    color: #982030;
}

/* ----- ТЕКСТ ----- */
.review-classic-body {
    flex: 1;
    margin-bottom: 10px;
}

.review-classic-text {
    font-size: 13px;
    color: #444;
    line-height: 1.65;
    margin: 0;
}

/* ----- НИЗ ----- */
.review-classic-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f3efed;
    font-size: 13px;
}

.review-classic-date {
    color: #999;
}

.review-classic-tag {
    display: inline-block;
    padding: 4px 14px;
    background: #f5f0ef;
    color: #982030;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

/* ================================================================
   СТРЕЛКИ
   ================================================================ */
.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #e5ddd9;
    background: white;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    z-index: 5;
}

.carousel-btn:hover {
    background: #982030;
    color: white;
    border-color: #982030;
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(152, 32, 48, 0.25);
}

.carousel-btn:active {
    transform: scale(0.92);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* ================================================================
   ТОЧКИ (ИНДИКАТОРЫ)
   ================================================================ */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 45px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot.active {
    background: #982030;
    transform: scale(1.2);
    width: 28px;
    border-radius: 5px;
}

.carousel-dot:hover {
    background: #982030;
    opacity: 0.6;
}

/* ================================================================
   СТАТИСТИКА
   ================================================================ */
.reviews-classic-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0ecea;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #982030;
    line-height: 1.1;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #888;
    font-weight: 500;
    margin-top: 2px;
}

.stat-stars {
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: #e5ddd9;
}

/* ================================================================
   КНОПКА "ВСЕ ОТЗЫВЫ"
   ================================================================ */
.reviews-classic-footer {
    text-align: center;
}

.reviews-classic-link {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid #982030;
    border-radius: 50px;
    color: #982030;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reviews-classic-link:hover {
    background: #982030;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(152, 32, 48, 0.20);
}

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */

/* Планшеты и маленькие десктопы */
@media (max-width: 1024px) {
    .review-classic-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }

    .reviews-carousel-header h2 {
        font-size: 30px;
    }

    .carousel-wrapper {
        gap: 12px;
    }
}

/* Телефоны */
@media (max-width: 768px) {
    .reviews-carousel-section {
        padding: 45px 12px;
    }

    .reviews-carousel-header h2 {
        font-size: 26px;
    }

    .reviews-carousel-header p {
        font-size: 15px;
    }

    .review-classic-card {
        flex: 0 0 260px;
        min-width: 260px;
        max-width: 260px;
        padding: 20px 16px 18px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        border: 1.5px solid #e5ddd9;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .carousel-wrapper {
        gap: 8px;
    }

    .review-classic-avatar {
        width: 40px;
        height: 40px;
    }

    .review-classic-name {
        font-size: 14px;
    }

    .review-classic-text {
        font-size: 13px;
    }

    .reviews-classic-stats {
        flex-direction: column;
        gap: 20px;
        padding: 25px 20px;
    }

    .stat-divider {
        width: 80%;
        height: 1px;
        background: #e5ddd9;
    }

    .stat-number {
        font-size: 30px;
    }

    .carousel-dots {
        gap: 8px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 24px;
    }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
    .reviews-carousel-section {
        padding: 35px 8px;
    }

    .reviews-carousel-header h2 {
        font-size: 22px;
    }

    .review-classic-card {
        flex: 0 0 220px;
        min-width: 220px;
        max-width: 220px;
        padding: 16px 14px 14px;
        border-radius: 12px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        border: 1.5px solid #e5ddd9;
    }

    .carousel-btn svg {
        width: 14px;
        height: 14px;
    }

    .carousel-wrapper {
        gap: 6px;
    }

    .review-classic-avatar {
        width: 34px;
        height: 34px;
    }

    .review-classic-name {
        font-size: 13px;
    }

    .review-classic-stars .stars {
        font-size: 12px;
    }

    .review-classic-text {
        font-size: 12px;
    }

    .review-classic-bottom {
        font-size: 11px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .review-classic-tag {
        font-size: 10px;
        padding: 2px 10px;
    }

    .reviews-classic-stats {
        padding: 20px 16px;
        gap: 15px;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 12px;
    }

    .reviews-classic-link {
        padding: 10px 30px;
        font-size: 13px;
    }

    .carousel-dots {
        gap: 6px;
        margin-bottom: 30px;
    }

    .carousel-dot {
        width: 6px;
        height: 6px;
    }

    .carousel-dot.active {
        width: 18px;
    }
}






.pipi {
    height: 35px;
}




@media (max-width: 478px) {

.pipi {
    height: 27px;
}
}

@media (max-width: 377px) {

.pipi {
    height: 22px;
}
}
















/* ============================================================
   АДАПТАЦИЯ ПЕРЕКЛЮЧАТЕЛЯ ЯЗЫКОВ ДЛЯ ТЕЛЕФОНОВ
   ============================================================ */

/* Планшеты и маленькие ноутбуки */
@media (max-width: 1024px) {
    .lang-current {
        padding: 4px 10px;
        font-size: 12px;
    }

    .lang-current .lang-code {
        font-size: 11px;
    }

    .lang-current .lang-arrow {
        font-size: 8px;
    }

    .lang-dropdown {
        min-width: 160px;
    }

    .lang-option {
        padding: 8px 14px;
        font-size: 13px;
    }

    .lang-option .lang-flag {
        font-size: 16px;
    }
}

/* Телефоны (768px и меньше) */
@media (max-width: 768px) {
    .language-switcher {
        position: relative;
    }

    .lang-current {
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 14px;
        gap: 4px;
    }

    .lang-current .lang-code {
        font-size: 10px;
    }

    .lang-current .lang-arrow {
        font-size: 7px;
    }

    .lang-dropdown {
        position: absolute;
        top: calc(100% + 4px);
        right: 0;
        left: auto;
        min-width: 150px;
        max-height: 300px;
        border-radius: 12px;
        padding: 6px 0;
        transform: translateY(-10px) scale(0.95);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid #f0ecea;
        background: white;
        /* Убираем всё лишнее */
        width: auto;
        bottom: auto;
    }

    .lang-dropdown::after {
        display: none; /* Убираем iOS-полоску */
    }

    .lang-dropdown.open {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }

    /* Убираем затемнение фона */
    .lang-dropdown.open::before {
        display: none;
    }

    .lang-option {
        padding: 8px 14px;
        font-size: 13px;
        gap: 8px;
        border-bottom: none;
        justify-content: flex-start;
    }

    .lang-option .lang-flag {
        font-size: 16px;
    }

    .lang-option .lang-name {
        font-size: 13px;
    }

    .lang-option .lang-code-small {
        font-size: 10px;
        padding: 1px 8px;
    }
}

/* Маленькие телефоны (480px и меньше) */
@media (max-width: 480px) {
    .lang-current {
        padding: 3px 6px;
        font-size: 10px;
        border-radius: 12px;
        gap: 3px;
    }

    .lang-current .lang-code {
        font-size: 9px;
    }

    .lang-current .lang-arrow {
        font-size: 6px;
    }

    .lang-dropdown {
        min-width: 130px;
        max-height: 250px;
        padding: 4px 0;
        border-radius: 10px;
        right: -10px; /* Смещаем, чтобы не вылезало за экран */
    }

    .lang-option {
        padding: 6px 12px;
        font-size: 12px;
        gap: 6px;
    }

    .lang-option .lang-flag {
        font-size: 14px;
    }

    .lang-option .lang-name {
        font-size: 12px;
    }

    .lang-option .lang-code-small {
        font-size: 9px;
        padding: 1px 6px;
    }
}

/* Очень маленькие телефоны (377px и меньше) */
@media (max-width: 377px) {
    .lang-current {
        padding: 2px 5px;
        font-size: 8px;
        border-radius: 10px;
        gap: 2px;
    }

    .lang-current .lang-code {
        font-size: 8px;
    }

    .lang-current .lang-arrow {
        font-size: 5px;
    }

    .lang-dropdown {
        min-width: 110px;
        max-height: 200px;
        padding: 4px 0;
        border-radius: 8px;
        right: -5px;
    }

    .lang-option {
        padding: 5px 10px;
        font-size: 11px;
        gap: 5px;
    }

    .lang-option .lang-flag {
        font-size: 12px;
    }

    .lang-option .lang-name {
        font-size: 11px;
    }

    .lang-option .lang-code-small {
        font-size: 8px;
        padding: 0px 5px;
    }
}