:root { --primary-color: #2568B4; /* Основной синий для заголовков */ --secondary-color: #FF7F50; /* Коралловый для кнопок и акцентов */ --accent-color: #2E8B57; /* Дополнительный акцентный цвет */ --light-bg: rgba(255, 245, 235, 0.7); /* Светлый песочный фон */ --card-shadow: 0 10px 30px rgba(0,0,0,0.1); --gradient: linear-gradient(135deg, var(--secondary-color) 0%, #FFA07A 100%); /* Градиент коралловых оттенков */ /* Цвета меню и футера - песочные */ --menu-bg: #F5E6CA; /* Песочный фон */ --menu-text: #333333; /* Темно-серый текст */ --menu-hover: #FF7F50; /* Коралловый при наведении */ --slogan-bg: #FF7F50; /* Коралловый фон для слогана */ --slogan-text: white; /* Белый текст в слогане */ --slogan-hover-bg: #FF6347; /* Темнее коралловый при наведении */ --slogan-hover-text: white; /* Белый текст при наведении */ /* Цвета текста */ --text-dark: #333333; /* Темно-серый основной текст */ --text-light: #555555; /* Серый для второстепенного текста */ } * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Montserrat', sans-serif; line-height: 1.6; color: var(--text-dark); /* Темно-серый текст */ overflow-x: hidden; background-color: #f9f9f9; display: flex; flex-direction: column; min-height: 100vh; } img { max-width: 100%; height: auto; } /***** Telegram Notice *****/ .telegram-notice-top { background-color: var(--menu-bg); /* Песочный фон как в меню */ color: var(--menu-text); /* Темно-серый текст */ padding: 8px 15px; text-align: center; margin: 10px auto 5px; position: relative; z-index: 10; max-width: 1100px; font-size: 20px; width: 90%; border-radius: 5px; box-shadow: 0 3px 10px rgba(26, 15, 15, 0.1); } .telegram-notice-top a { color: var(--primary-color); /* Синий заголовок */ font-weight: 600; text-decoration: none; margin-left: 5px; transition: all 0.3s ease; padding: 2px 5px; border-radius: 3px; } .telegram-notice-top a:hover { color: white; /* Белый текст при наведении */ background-color: var(--menu-hover); /* Коралловый фон при наведении */ } .telegram-notice-top i { margin-right: 5px; } /***** Header *****/ .header { width: 100%; padding: 0; display: flex; flex-direction: column; background-color: var(--menu-bg); /* Песочный фон для меню */ position: fixed; top: 0; left: 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index: 1000; } .header-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; flex-wrap: wrap; background-color: var(--menu-bg); /* Песочный фон */ } .logo-container { display: flex; align-items: center; gap: 15px; } .logo-img { height: 60px; width: auto; border-radius: 8px; object-fit: contain; transition: all 0.3s ease; border: 2px solid transparent; } .logo-img:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(255, 127, 80, 0.4); border-color: var(--secondary-color); /* Коралловый */ } .slogan { font-family: 'Dancing Script', cursive; font-weight: 600; background-color: var(--slogan-bg); /* Коралловый */ color: var(--slogan-text); /* Белый */ text-align: center; margin-top: 5px; display: none; width: 100%; border: 2px solid var(--primary-color); /* Синий контур */ border-radius: 30px; padding: 8px 15px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; margin-bottom: 10px; box-shadow: 0 3px 8px rgba(0,0,0,0.15); } .slogan:hover { background-color: var(--slogan-hover-bg); /* Темнее коралловый */ color: var(--slogan-hover-text); /* Белый */ transform: translateY(-2px); box-shadow: 0 5px 12px rgba(0,0,0,0.2); border-color: var(--secondary-color); /* Коралловый */ } .slogan:active { transform: translateY(1px); box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .slogan::after { content: "✉️"; margin-left: 8px; font-size: 1.2em; } .menu { width: 100%; background-color: var(--menu-bg); /* Песочный фон */ padding: 10px; display: flex; } .menu ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; margin: 0; width: 100%; } .menu_item { margin: 0; text-align: center; } .menu_item a { color: var(--menu-text); /* Темно-серый текст */ font-weight: 600; font-size: 16px; text-decoration: none; padding: 10px 15px; display: block; transition: background-color 0.3s ease, color 0.3s ease; border-radius: 5px; } .menu_item a:hover { background-color: var(--menu-hover); /* Коралловый при наведении */ color: white; /* Белый текст при наведении */ } .menu-toggle { display: none; background: var(--menu-bg); /* Песочный фон */ color: var(--menu-text); /* Темно-серый текст */ border: 1px solid var(--menu-text); font-size: 24px; padding: 10px 15px; cursor: pointer; text-align: center; z-index: 1001; border-radius: 5px; transition: all 0.3s ease; } .menu-toggle:hover { background-color: var(--menu-hover); /* Коралловый при наведении */ color: white; /* Белый текст при наведении */ } /***** Hero Section *****/ .hero { background: linear-gradient(135deg, rgba(255, 245, 235, 0.8) 0%, rgba(255, 228, 196, 0.8) 100%); /* Песочный градиент */ padding: 15px 25px 15px 35px; text-align: center; margin-top: 120px; /* Отступ от фиксированного меню */ margin-bottom: 10px; position: relative; overflow: hidden; } .hero h1 { font-size: 2.5rem; color: var(--primary-color); /* Синий заголовок */ margin-bottom: 20px; position: relative; display: inline-block; } .hero h1::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 100px; height: 4px; background: var(--gradient); /* Коралловый градиент */ border-radius: 2px; } .hero p { font-size: 1.3rem; max-width: 1400px; margin: 0 auto 35px; color: var(--text-dark); /* Темно-серый текст */ } .cta-button { display: inline-block; background: var(--gradient); /* Коралловый градиент */ color: white; padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: bold; margin-top: 20px; transition: all 0.3s; font-size: 1.2rem; text-align: center; box-shadow: 0 5px 15px rgba(255, 127, 80, 0.3); /* Коралловая тень */ position: relative; overflow: hidden; z-index: 1; } .cta-button::before { content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%; background: #FF6347; /* Темнее коралловый */ transition: all 0.5s ease; z-index: -1; } .cta-button:hover::before { width: 100%; } .cta-button:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); color: white; } /***** Main Content *****/ main { padding: 20px; max-width: 1600px; margin: 0 auto; position: relative; z-index: 1; flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; } .content-container { width: 100%; max-width: 1400px; display: flex; flex-direction: column; align-items: center; } h1, h2, h3, h4 { margin: 15px 0; text-align: center; } h1 { font-size: 2.2rem; color: var(--primary-color); /* Синий заголовок */ margin-bottom: 10px; transition: color 0.3s ease; } h1:hover { color: var(--secondary-color); /* Коралловый при наведении */ } h2 { font-size: 1.8rem; color: var(--primary-color); /* Синий заголовок */ margin: 25px 0 15px; position: relative; transition: color 0.3s ease; } h2:hover { color: var(--secondary-color); /* Коралловый при наведении */ } h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--gradient); /* Коралловый градиент */ border-radius: 2px; } h3 { font-size: 1.5rem; color: var(--primary-color); /* Синий заголовок */ transition: color 0.3s ease; } h3:hover { color: var(--secondary-color); /* Коралловый при наведении */ } .about-container { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; margin-bottom: 30px; background: white; padding: 30px; border-radius: 15px; box-shadow: var(--card-shadow); width: 100%; justify-content: center; } .container__persona { perspective: 1000px; width: 250px; height: 300px; margin: 0 auto 30px; } .persona { position: relative; cursor: pointer; width: 100%; height: 100%; transition: transform 1s; transform-style: preserve-3d; } .container__persona:hover .persona { transform: rotateY(180deg); } .persona__foto, .persona__info { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); } .persona__info { background: linear-gradient(135deg, var(--secondary-color) 0%, #FFA07A 100%); /* Коралловый градиент */ text-align: center; transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; padding: 20px; color: white; } .persona__info h3 { color: white; margin-bottom: 15px; font-size: 1.5rem; } .persona__info a { color: white; text-decoration: none; margin: 8px 0; display: block; font-size: 1rem; transition: all 0.3s; } .persona__info a:hover { color: #FFDAB9; /* Светлый песочный при наведении */ } .persona__info a i { margin-right: 8px; } .about-text { flex: 1; min-width: 290px; max-width: 1200px; } .obo_mne { margin: 20px 0; padding: 25px; background-color: var(--light-bg); /* Светлый песочный фон */ border-radius: 10px; overflow: hidden; position: relative; width: 100%; max-width: 1400px; } ul, ol { margin: 10px 0; padding-left: 20px; } li { margin-bottom: 8px; font-size: 16px; color: var(--text-dark); /* Темно-серый текст */ } p { margin: 15px 0; font-size: 18px; line-height: 1.6; text-align: left; color: var(--text-dark); /* Темно-серый текст */ } .benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin: 30px 0; width: 100%; max-width: 1400px; } .benefit-card { background: white; padding: 25px; border-radius: 10px; box-shadow: var(--card-shadow); transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; z-index: 1; text-align: center; } .benefit-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--gradient); /* Коралловый градиент */ z-index: 2; } .benefit-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); } .benefit-card h3 { color: var(--secondary-color); /* Коралловый заголовок */ margin-bottom: 15px; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; transition: color 0.3s ease; } .benefit-card h3:hover { color: var(--primary-color); /* Синий при наведении */ } .benefit-card h3 i { margin-right: 10px; color: var(--accent-color); } .problems-section { background-color: #FFF8E1; /* Светло-желтый фон */ padding: 10px; border-radius: 10px; margin: 30px 0; position: relative; overflow: hidden; width: 100%; max-width: 1600px; } .problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 20px; margin-top: 20px; position: relative; z-index: 1; } .problem-item { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 3px 10px rgba(0,0,0,0.1); transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; text-align: center; } .problem-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); } .problem-item i { font-size: 2rem; color: var(--secondary-color); /* Коралловые иконки */ margin-bottom: 15px; } .cta-section { background: lemonchiffon; /* Коралловый градиент */ padding: 5px 40px; border-radius: 15px; color: white; text-align: center; margin: 20px 0; position: relative; overflow: hidden; width: 100%; max-width: 1400px; } .guarantee-section { background-color: #FFF8E1; /* Светло-желтый фон */ border-left: 5px solid #FFA07A; /* Светлый коралловый */ padding: 5px; margin: 5px 0; border-radius: 5px; position: relative; overflow: hidden; width: 100%; max-width: 1400px; text-align: center; } .stats-section { display: flex; justify-content: space-around; flex-wrap: wrap; margin: 20px 0; text-align: center; width: 100%; max-width: 1400px; } .stat-item { margin: 15px; flex: 1; min-width: 200px; padding: 20px; background: white; border-radius: 10px; box-shadow: var(--card-shadow); transition: transform 0.3s; } .stat-item:hover { transform: translateY(-5px); } .stat-number { font-size: 2.5rem; font-weight: bold; color: var(--secondary-color); /* Коралловый для цифр */ display: block; } .stat-text { font-size: 1.1rem; color: var(--text-dark); /* Темно-серый текст */ } .services-list { columns: 2; column-gap: 30px; margin: 5px 0; width: 100%; max-width: 1200px; } .services-list li { break-inside: avoid; margin-bottom: 15px; padding-left: 10px; position: relative; transition: all 0.3s; padding: 8px 5px 8px 25px; border-radius: 5px; color: var(--text-dark); /* Темно-серый текст */ } .services-list li:hover { background: rgba(255, 127, 80, 0.1); /* Светло-коралловый фон */ transform: translateX(5px); } .services-list li:before { content: "✓"; color: var(--secondary-color); /* Коралловый цвет галочки */ font-weight: bold; position: absolute; left: 5px; } /***** Стили для бокового меню *****/ .side-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 2000; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; } .side-menu-overlay.active { opacity: 1; visibility: visible; } .side-menu { position: fixed; top: 0; right: -100%; width: auto; min-width: 280px; max-width: 90%; height: 100%; background-color: var(--menu-bg); /* Песочный фон */ z-index: 2001; overflow-y: auto; transition: right 0.4s ease; box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2); border-radius: 0 0 0 15px; } .side-menu.active { right: 0; } .side-menu-header { padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; background-color: rgba(245, 230, 202, 0.9); /* Полупрозрачный песочный */ border-bottom: 1px solid rgba(51, 51, 51, 0.2); position: sticky; top: 0; z-index: 2002; min-height: 60px; border-radius: 0 0 0 15px; } .side-menu-title { color: var(--menu-text); /* Темно-серый текст */ font-weight: 600; font-size: 18px; margin: 0; } .close-menu { background: none; border: none; font-size: 28px; color: var(--menu-text); /* Темно-серый текст */ cursor: pointer; transition: transform 0.3s; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; z-index: 2003; font-weight: bold; background-color: rgba(255, 255, 255, 0.9); border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.2); } .close-menu:hover { transform: rotate(90deg); background-color: white; color: var(--secondary-color); /* Коралловый при наведении */ } .side-menu ul { list-style: none; padding: 0; margin: 0; max-height: 80vh; overflow-y: auto; } .side-menu-item { border-bottom: 1px solid rgba(51, 51, 51, 0.2); } .side-menu-item:last-child { border-bottom: none; } .side-menu-link { display: block; padding: 15px 20px; color: var(--menu-text); /* Темно-серый текст */ font-weight: 600; text-decoration: none; transition: all 0.3s; white-space: normal; word-wrap: break-word; line-height: 1.4; border-radius: 5px; margin: 5px; } .side-menu-link:hover { background-color: var(--menu-hover); /* Коралловый при наведении */ color: white; /* Белый текст при наведении */ } .side-menu-link i { margin-right: 10px; width: 20px; text-align: center; } /***** Footer *****/ .footer { width: 100%; padding: 30px 15px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; background-color: var(--menu-bg); /* Песочный фон */ margin-top: 40px; } .footer_copyright { color: var(--menu-text); /* Темно-серый текст */ font-weight: 600; font-size: 18px; margin: 10px 0; text-align: center; width: 100%; } .footer_menu ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; } .footer_menu_item { margin: 5px 10px; } .footer_menu_link { color: var(--menu-text); /* Темно-серый текст */ font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.3s ease; padding: 5px; border-radius: 5px; } .footer_menu_link:hover { background-color: var(--menu-hover); /* Коралловый при наведении */ color: white; /* Белый текст при наведении */ border-radius: 4px; } .social-links { display: flex; justify-content: center; flex-wrap: wrap; margin: 15px 0; width: 100%; } .social-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background-color: var(--menu-text); /* Темно-серый фон */ color: var(--menu-bg); /* Песочный цвет иконок */ margin: 5px; font-size: 20px; transition: all 0.3s ease; flex-shrink: 0; } .social-icon:hover { transform: translateY(-3px); background-color: var(--secondary-color); /* Коралловый фон при наведении */ color: white; /* Белые иконки при наведении */ } /* Стиль для отдельной ссылки на Telegram канал в футере */ .telegram-channel-link { display: inline-flex; align-items: center; justify-content: center; background: rgb(183, 135, 108); color: white; padding: 10px 20px; border-radius: 30px; text-decoration: none; font-weight: 600; margin: 10px 5px; transition: all 0.3s ease; box-shadow: 0 3px 8px rgba(155, 113, 54, 0.3); } .telegram-channel-link:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(124, 76, 14, 0.4); background: linear-gradient(135deg, #6c5827 0%, #9b894c 100%); } .telegram-channel-link i { margin-right: 8px; font-size: 1.2em; } /***** Стили для боковой вкладки *****/ .side-tab { position: fixed; top: 70%; right: 0; transform: translateY(-50%); z-index: 999; display: flex; flex-direction: column; transition: all 0.3s ease; max-height: 80vh; box-shadow: -3px 0 15px rgba(0, 0, 0, 0.1); } .side-tab-toggle { background-color: var(--menu-bg); /* Песочный фон */ color: var(--menu-text); /* Темно-серый текст */ padding: 15px 10px; border-radius: 10px 0 0 10px; cursor: pointer; writing-mode: vertical-rl; text-orientation: mixed; font-weight: 600; display: flex; align-items: center; justify-content: center; border: 2px solid var(--menu-hover); /* Коралловый контур */ border-right: none; transition: all 0.3s ease; min-height: 150px; box-shadow: -3px 0 10px rgba(0,0,0,0.1); } .side-tab-toggle:hover { background-color: var(--menu-hover); /* Коралловый при наведении */ color: white; /* Белый текст при наведении */ } .side-tab-content { width: 320px; background-color: var(--menu-bg); /* Песочный фон */ border-radius: 10px 0 0 10px; border: 2px solid var(--menu-hover); /* Коралловый контур */ border-right: none; padding: 0; overflow: hidden; max-height: 50vh; display: none; box-shadow: -3px 0 15px rgba(0,0,0,0.1); } .side-tab-content.active { display: flex; flex-direction: column; } .side-tab-header { display: flex; justify-content: space-between; align-items: center; padding: 15px; background-color: var(--menu-bg); border-bottom: 2px solid var(--menu-hover); /* Коралловый разделитель */ flex-shrink: 0; position: sticky; top: 0; z-index: 1; } .side-tab-title { color: var(--menu-text); /* Темно-серый текст */ font-weight: 600; font-size: 18px; margin: 0; } .side-tab-close { background: none; border: none; font-size: 24px; color: var(--menu-text); /* Темно-серый текст */ cursor: pointer; transition: transform 0.3s; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; } .side-tab-close:hover { transform: rotate(90deg); background-color: var(--menu-hover); /* Коралловый при наведении */ color: white; /* Белый текст при наведении */ } .telegram-notice { background-color: white; padding: 12px; font-size: 12px; text-align: center; border-bottom: 2px solid var(--menu-hover); flex-shrink: 0; position: sticky; top: 64px; z-index: 1; } .telegram-notice a { color: var(--primary-color); font-weight: 600; text-decoration: none; transition: color 0.3s ease; } .telegram-notice a:hover { color: var(--secondary-color); text-decoration: underline; } .side-tab-items { overflow-y: auto; flex: 1; padding: 15px; } .side-tab-item { background-color: white; padding: 15px; margin-bottom: 15px; border-radius: 8px; box-shadow: 0 3px 8px rgba(0,0,0,0.1); transition: transform 0.3s ease; } .side-tab-item:hover { transform: translateY(-3px); box-shadow: 0 5px 12px rgba(0,0,0,0.15); } .side-tab-item h4 { color: var(--primary-color); /* Синий заголовок */ margin-bottom: 10px; font-size: 16px; text-align: left; } .side-tab-item p { font-size: 14px; color: var(--text-dark); /* Темно-серый текст */ line-height: 1.5; margin: 10px 0; } .side-tab-item video { width: 100%; max-height: 200px; border-radius: 5px; margin: 10px 0; background-color: #000; } /***** Медиазапросы для разных экранов *****/ /* Очень маленькие экраны (до 320px) */ @media (max-width: 320px) { .telegram-notice-top { margin: 5px auto; padding: 6px 10px; font-size: 10px; width: 95%; } .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; } .hero { padding: 15px; margin-top: 150px; /* Уменьшен отступ для маленьких экранов */ } .header-top { flex-direction: column; align-items: center; text-align: center; padding: 8px; } .logo-container { flex-direction: column; margin-bottom: 5px; width: 100%; } .logo-img { height: 45px; } .slogan { display: block; font-size: 14px; margin-top: 3px; padding: 4px 8px; } .menu-toggle { display: block; width: 100%; font-size: 20px; padding: 8px 12px; } .menu { display: none; } .container__persona { width: 180px; height: 220px; } .services-list { columns: 1; } h1 { font-size: 1.2rem; } h2 { font-size: 1.1rem; margin: 15px 0 10px; } h3 { font-size: 1.0rem; margin: 15px 0 10px; } p { margin: 10px 0; font-size: 12px; line-height: 1.5; padding: 0; } .hero h1 { font-size: 1.3rem; margin-bottom: 10px; } .benefit-card h3 { font-size: 1.0rem; } .cta-button { padding: 10px 15px; font-size: 0.8rem; white-space: normal; line-height: 1.2; margin-top: 10px; } main { padding: 10px; padding-top: 0; } .social-links { justify-content: center; flex-wrap: wrap; } .social-icon { margin: 3px; width: 35px; height: 35px; font-size: 16px; } .stats-section { flex-direction: column; align-items: center; } .stat-item { min-width: 120px; padding: 10px; margin: 8px; } .benefits-grid { grid-template-columns: 1fr; gap: 15px; } .obo_mne { padding: 15px; } .cta-section { padding: 15px; } /* Исправление для бокового меню на очень маленьких экранах */ .side-menu { width: 100%; max-width: 100%; border-radius: 0; } .side-menu.active { right: 0; } .side-menu-header { padding: 12px; min-height: 45px; position: sticky; top: 0; background-color: rgba(245, 230, 202, 0.9); border-radius: 0; } .close-menu { width: 30px; height: 30px; font-size: 24px; } .side-menu ul { max-height: 60vh; } .side-menu-link { padding: 10px 12px; font-size: 13px; margin: 3px 5px; } /* Боковая вкладка для очень маленьких экранов */ .side-tab { top: 60%; max-height: 50vh; z-index: 800; } .side-tab-toggle { min-height: 70px; padding: 6px 4px; font-size: 9px; border-radius: 6px 0 0 6px; } .side-tab-content { width: 260px; max-height: 55vh; } .side-tab-item h4 { font-size: 13px; } .side-tab-item p { font-size: 11px; } .side-tab-item video { max-height: 120px; } } /* Малые экраны (321px - 503px) */ @media (min-width: 321px) and (max-width: 503px) { .telegram-notice-top { margin: 8px auto; padding: 8px 12px; font-size: 11px; width: 92%; } .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; } .hero { margin-top: 130px; /* Уменьшен отступ для малых экранов */ padding: 15px 20px; } .header-top { flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 12px; } .logo-container { flex-direction: row; align-items: center; margin-bottom: 0; flex: 1; } .logo-img { height: 50px; } .slogan { display: block; text-align: center; margin-top: 5px; width: 100%; font-size: 14px; padding: 5px 8px; } .menu-toggle { display: flex; align-items: center; justify-content: center; width: 50px; height: 35px; margin-left: 8px; font-size: 20px; } .menu { display: none; } .container__persona { width: 200px; height: 250px; } .services-list { columns: 1; } h1 { font-size: 1.5rem; } h2 { font-size: 1.3rem; } p { margin: 12px 0; font-size: 13px; line-height: 1.5; padding: 0; } .hero h1 { font-size: 1.5rem; margin-bottom: 15px; } .benefit-card h3 { font-size: 1.1rem; } .cta-button { white-space: normal; line-height: 1.3; padding: 12px 20px; border-radius: 40px; font-size: 0.9rem; } .social-links { justify-content: center; flex-wrap: wrap; } .social-icon { margin: 4px; width: 38px; height: 38px; font-size: 18px; } .benefits-grid { grid-template-columns: 1fr; gap: 18px; } main { padding: 15px; padding-top: 0; } /* Исправление для бокового меню на малых экранах */ .side-menu { width: 100%; max-width: 100%; border-radius: 0; } .side-menu.active { right: 0; } .side-menu-header { padding: 12px 15px; position: sticky; top: 0; z-index: 2002; background-color: rgba(245, 230, 202, 0.9); min-height: 45px; border-radius: 0; } .close-menu { width: 32px; height: 32px; font-size: 24px; background-color: rgba(255, 255, 255, 0.9); } .side-menu ul { max-height: 60vh; } .side-menu-link { padding: 12px 15px; font-size: 14px; margin: 4px 8px; } /* Боковая вкладка для малых экранов */ .side-tab { top: 60%; max-height: 55vh; z-index: 800; } .side-tab-toggle { min-height: 90px; padding: 8px 5px; font-size: 11px; border-radius: 8px 0 0 8px; } .side-tab-content { width: 280px; max-height: 60vh; } .side-tab-item video { max-height: 150px; } } /* Средние экраны (504px - 768px) */ @media (min-width: 504px) and (max-width: 768px) { .telegram-notice-top { margin: 10px auto; padding: 10px 15px; font-size: 12px; width: 90%; } .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; } .hero { margin-top: 140px; /* Отступ для средних экранов */ padding: 20px 25px; } .header-top { flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 15px; } .logo-container { flex-direction: row; align-items: center; margin-bottom: 0; flex: 1; } .logo-img { height: 55px; } .slogan { display: block; margin-top: 0; margin-left: 0px; width: auto; flex: 1; font-size: 18px; padding: 8px 10px; } .menu-toggle { display: flex; align-items: center; justify-content: center; width: 55px; height: 38px; margin-left: 10px; font-size: 22px; } .menu { display: none; } .container__persona { width: 220px; height: 280px; } .services-list { columns: 1; } h1 { font-size: 1.7rem; } h2 { font-size: 1.4rem; } p { margin: 15px 0; font-size: 14px; line-height: 1.6; } .hero h1 { font-size: 1.8rem; margin-bottom: 15px; } .benefit-card h3 { font-size: 1.2rem; } .cta-button { white-space: normal; line-height: 1.3; padding: 14px 25px; border-radius: 45px; font-size: 1.0rem; } .social-links { justify-content: center; flex-wrap: wrap; } .social-icon { margin: 5px; } .benefits-grid { grid-template-columns: 1fr; gap: 20px; } main { padding: 18px; padding-top: 0; } /* Исправление для бокового меню на средних экранах */ .side-menu { width: 100%; max-width: 100%; border-radius: 0; } .side-menu.active { right: 0; } .side-menu-header { min-height: 50px; border-radius: 0; } .side-menu ul { max-height: 60vh; } .side-menu-link { padding: 13px 18px; font-size: 15px; margin: 4px 8px; } /* Боковая вкладка для средних экранов */ .side-tab { top: 55%; max-height: 60vh; z-index: 800; } .side-tab-toggle { min-height: 110px; padding: 10px 7px; font-size: 13px; } .side-tab-content { width: 300px; max-height: 65vh; } .side-tab-item video { max-height: 180px; } } /* Большие экраны (769px и выше) */ @media (min-width: 769px) { .telegram-notice-top { margin: 15px auto; padding: 12px 20px; font-size: 16px; width: 85%; } .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; flex-direction: row; flex-wrap: nowrap; align-items: center; padding: 0; } .hero { margin-top: 165px; /* Отступ для больших экранов */ } .header-top { padding: 10px 20px; flex: 0 0 auto; } .logo-img { height: 65px; } .slogan { display: none; } .menu { display: flex; position: static; width: auto; flex: 1 1 auto; } .menu-toggle { display: none; } .menu ul { flex-direction: row; justify-content: space-around; } .menu_item a { padding: 15px 10px; font-size: 15px; } .services-list { columns: 2; } .benefits-grid { grid-template-columns: repeat(2, 1fr); } .hero h1 { font-size: 2.2rem; margin-bottom: 20px; } main { padding: 20px; padding-top: 0; } /* Боковая вкладка на больших экранах */ .side-tab { display: flex; z-index: 999; } .side-tab-item video { max-height: 200px; } } /* Большие экраны (992px и выше) */ @media (min-width: 992px) { .telegram-notice-top { margin: 20px auto; padding: 15px 25px; font-size: 18px; width: 80%; } .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center; padding: 0; } .hero { margin-top: 175px; /* Отступ для очень больших экранов */ } .header-top { padding: 15px 20px; flex: 0 0 auto; } .slogan { display: none; } .menu { width: auto; flex-grow: 1; display: flex !important; position: static; max-height: none !important; } .menu-toggle { display: none; } .menu ul { justify-content: flex-end; justify-content: space-around; } .menu_item a { font-size: 16px; padding: 18px 15px; } .container__persona { width: 250px; height: 300px; margin: 0 30px 20px 0; float: left; } .obo_mne { padding: 30px; } .services-list { columns: 2; } .hero h1 { font-size: 2.5rem; margin-bottom: 20px; } main { padding: 25px; padding-top: 0; } /* Боковая вкладка на очень больших экранах */ .side-tab-content { width: 350px; } .side-tab-item video { max-height: 200px; } } /* Очень большие экраны (1200px и выше) */ @media (min-width: 1200px) { .telegram-notice-top { margin: 25px auto; padding: 18px 30px; font-size: 20px; width: 75%; } .hero { margin-top: 150px; /* Отступ для очень больших экранов */ } .menu_item a { font-size: 18px; padding: 20px 25px; } .footer_copyright { font-size: 18px; } .hero h1 { font-size: 2.8rem; margin-bottom: 20px; } /* Боковая вкладка на очень больших экранах */ .side-tab-content { width: 380px; } .side-tab-item video { max-height: 200px; } } @media (max-width: 768px) { .side-menu-header { padding: 15px 20px; justify-content: space-between; } .close-menu { margin-left: auto; } .side-menu ul { max-height: 60vh; } .side-menu-link { white-space: normal; word-wrap: break-word; line-height: 1.4; } }