* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Montserrat', sans-serif; line-height: 1.6; color: #0e0a0a;; background-color: #FFFBF7; overflow-x: hidden; } img { max-width: 100%; height: auto; } /***** Header *****/ .header { width: 100%; padding: 0; display: flex; flex-direction: column; background-color: #FFFBF7; position: relative; 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; } .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, 184, 168, 0.4); border-color: #FFB8A8; } .slogan { font-family: 'Dancing Script', cursive; font-weight: 600; background-color: #8E7CC3; color: white; text-align: center; margin-top: 5px; display: none; width: 100%; border: 2px solid #8E7CC3; border-radius: 30px; padding: 8px 15px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; margin-bottom: 10px; position: relative; } .slogan:hover { background-color: #FF9A7A; color: #4A4A4A; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); } .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: #8E7CC3; } .menu ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; margin: 0; } .menu_item { margin: 0; flex-grow: 1; text-align: center; border-right: 1px solid rgba(255,255,255,0.2); } .menu_item:last-child { border-right: none; } .menu_item a { color: white; font-weight: 600; font-size: 16px; text-decoration: none; padding: 15px 5px; display: block; transition: all 0.3s ease; } .menu_item a:hover { background-color: #FF9A7A; color: #4A4A4A; } .menu-toggle { display: none; background: #8E7CC3; color: white; border: none; 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: #FF9A7A; color: #4A4A4A; } /***** Main Content *****/ main { padding: 20px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; } h1, h2, h3, h4 { margin: 45px 0; text-align: center; } h1 { font-size: 2.2rem; color: #4A4A4A; margin-bottom: 10px; } h1 i { color: #FFB8A8; margin-right: 10px; } h2 { font-size: 1.8rem; color: #523c96; margin: 25px 0 15px; } h2 i { color: #FFB8A8; margin-right: 10px; } h3 { font-size: 1.5rem; color: #422893; } h3 i { color: #c75f48; margin-right: 10px; } h4 { font-size: 1.2rem; color: #4A4A4A; } .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__foto { background-color: #f0f0f0; } .persona__info { background: linear-gradient(135deg, #585881 0%, #a6a1b6 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: 0px 0px 10px 0px; display: block; font-size: 1rem; transition: all 0.3s; } .persona__info a:hover { color: #090842; } .persona__info a i { margin-right: 8px; } .obo_mne { margin: 20px 0; padding: 25px; background-color: #E8D7FF; border-radius: 10px; overflow: hidden; } ul, ol { margin: 10px 0; padding-left: 20px; } li { margin-bottom: 8px; font-size: 16px; } li i { color: #FFB8A8; margin-right: 8px; } p { margin: 15px 0; font-size: 18px; line-height: 1.6; } p i { color: #FFB8A8; margin-right: 8px; } .text-section { margin: 25px 0; } .benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin: 30px 0; } .benefit-card { background: white; padding: 25px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s; border-top: 4px solid #FFB8A8; } .benefit-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); } .benefit-card h3 { color: #3c2d6a; margin-bottom: 15px; font-size: 1.4rem; } .benefit-card h3 i { color: #FFB8A8; margin-right: 10px; } .cta-section { background: linear-gradient(135deg, #FFB8A8 0%, #FFB8A8 100%); padding: 40px; border-radius: 15px; color: #1c1c9f; text-align: center; margin: 40px 0; } .cta-button { display: inline-block; background: white; color: #4f3795; padding: 15px 30px; border-radius: 50px; text-decoration: none; font-weight: bold; margin-top: 20px; transition: all 0.3s; font-size: 1.2rem; text-align: center; word-wrap: break-word; white-space: normal; } .cta-button:hover { background-color: #cc6f53; color: #f5f4f4; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); } .cta-button i { margin-right: 10px; } .guarantee-section { background-color: rgba(255, 184, 168, 0.2); border-left: 5px solid #FFB8A8; padding: 20px; margin: 30px 0; border-radius: 5px; } .guarantee-section h3 i { color: #FFB8A8; margin-right: 10px; } .stats-section { display: flex; justify-content: space-around; flex-wrap: wrap; margin: 40px 0; text-align: center; } .stat-item { margin: 15px; flex: 1; min-width: 200px; } .stat-number { font-size: 2.5rem; font-weight: bold; color: #544581; display: block; } .stat-text { font-size: 1.1rem; color: #363434; } .services-list { columns: 2; column-gap: 30px; margin: 20px 0; } .services-list li { break-inside: avoid; margin-bottom: 15px; padding-left: 10px; position: relative; } .services-list li:before { content: "✓"; color: #FFB8A8; font-weight: bold; position: absolute; left: -15px; } a { color: #8E7CC3; text-decoration: none; transition: all 0.3s; } a:hover { color: #FF9A7A; } /***** Footer *****/ .footer { width: 100%; padding: 30px 15px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; background-color: #8E7CC3; margin-top: 40px; } .footer_copyright { color: white; font-weight: 600; font-size: 18px; margin: 10px 0; text-align: center; width: 100%; } .footer_copyright i { color: #FFB8A8; margin: 0 5px; } .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: white; font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.3s ease; padding: 5px; } .footer_menu_link:hover { background-color: #FF9A7A; color: #4A4A4A; 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: white; color: #8E7CC3; margin: 5px; font-size: 20px; transition: all 0.3s ease; flex-shrink: 0; } .social-icon:hover { transform: translateY(-3px); background-color: #FF9A7A; color: white; } /***** Стили для бокового меню *****/ .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: #8E7CC3; 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(0, 0, 0, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.2); position: sticky; top: 0; z-index: 2002; min-height: 60px; border-radius: 0 0 0 15px; } .side-menu-title { color: white; font-weight: 600; font-size: 18px; margin: 0; } .close-menu { background: none; border: none; font-size: 28px; color: white; 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); color: #8E7CC3; } .close-menu:hover { transform: rotate(90deg); background-color: white; color: #FF9A7A; } .side-menu ul { list-style: none; padding: 0; margin: 0; max-height: 80vh; overflow-y: auto; } .side-menu-item { border-bottom: 1px solid rgba(255, 255, 255, 0.2); } .side-menu-item:last-child { border-bottom: none; } .side-menu-link { display: block; padding: 15px 20px; color: white; font-weight: 600; text-decoration: none; transition: all 0.3s; white-space: nowrap; } .side-menu-link:hover { background-color: #FF9A7A; color: #4A4A4A; } .side-menu-link i { margin-right: 10px; width: 20px; text-align: center; color: #FFB8A8; } /***** Медиазапросы для разных экранов *****/ /* Очень маленькие экраны (до 320px) - гамбургер-меню */ @media (max-width: 320px) { .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; } .header-top { flex-direction: column; align-items: center; text-align: center; padding: 10px; } .logo-container { flex-direction: column; margin-bottom: 10px; width: 100%; } .logo-img { height: 50px; } .slogan { display: block; font-size: 16px; margin-top: 5px; padding: 6px 12px; } .menu-toggle { display: block; width: 100%; } .menu { display: none; } .container__persona { width: 200px; height: 250px; } .services-list { columns: 1; } h1 { font-size: 1.2rem; } h2 { font-size: 1.0rem; margin: 20px 0 15px; } h3 { font-size: 1.0rem; margin: 20px 0 15px; } p { margin: 15px 0; font-size: 14px; line-height: 1.6; } .benefit-card h3 { color: #8E7CC3; margin-bottom: 15px; font-size: 1.0rem; } .cta-button { padding: 12px 20px; font-size: 0.7rem; white-space: normal; line-height: 1.2; } /* Добавляем отступ для основного контента, чтобы избежать наложения */ main { padding-top: 180px; position: relative; z-index: 1; } /* Исправляем поведение иконок в футере */ .social-links { justify-content: center; flex-wrap: wrap; } .social-icon { margin: 5px; } .stats-section { flex-direction: column; align-items: center; } .stat-item { min-width: 150px; } .benefits-grid { grid-template-columns: 0.7fr; } .obo_mne { padding: 15px; } .cta-section { padding: 20px; } /* Исправление бокового меню для очень маленьких экранов */ .side-menu { width: 100%; right: -100%; height: 100%; border-radius: 0; } .side-menu.active { right: 0; } .side-menu-header { padding: 15px; min-height: 50px; position: sticky; top: 0; background-color: rgba(0, 0, 0, 0.1); border-radius: 0; } .close-menu { width: 35px; height: 35px; font-size: 28px; } .side-menu ul { max-height: 60vh; } } /* Малые экраны (321px - 503px) - адаптивное меню */ @media (max-width: 503px) { .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; } .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; text-align: center; margin-top: 5px; width: 100%; font-size: 14px; padding: 5px 5px; } .menu-toggle { display: flex; align-items: center; justify-content: center; width: 60px; height: 40px; margin-left: 10px; } .menu { display: none; } .container__persona { width: 220px; height: 280px; } .services-list { columns: 1; } h1 { font-size: 1.8rem; } h2 { font-size: 1.4rem; } p { margin: 15px 0; font-size: 14px; line-height: 1.6; } .benefit-card h3 { color: #8E7CC3; margin-bottom: 15px; font-size: 1.2rem; } .cta-button { white-space: normal; line-height: 1.4; padding: 20px 18px; border-radius: 50px; } .cta-button { display: inline-block; background: white; color: #8E7CC3; padding: 20px 18px; border-radius: 50px; } /* Исправляем поведение иконок в футере */ .social-links { justify-content: center; flex-wrap: wrap; } .social-icon { margin: 5px; } .benefits-grid { grid-template-columns: 1fr; } /* Добавляем отступ для основного контента, чтобы избежать наложения */ main { padding-top: 190px; position: relative; z-index: 1; } /* Фиксируем боковое меню для маленьких экранов */ .side-menu-header { padding: 15px; position: sticky; top: 0; z-index: 2002; background-color: rgba(0, 0, 0, 0.1); min-height: 50px; } .close-menu { width: 35px; height: 35px; font-size: 28px; background-color: rgba(255, 255, 255, 0.9); } .side-menu ul { max-height: 60vh; } } /* Средние экраны (504px - 768px) - адаптивное меню */ @media (min-width: 504px) and (max-width: 768px) { .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; } .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: 22px; padding: 10px 3px; } .menu-toggle { display: flex; align-items: center; justify-content: center; width: 60px; height: 40px; margin-left: 10px; } .menu { display: none; } .container__persona { width: 220px; height: 280px; } .services-list { columns: 1; } h1 { font-size: 1.8rem; } h2 { font-size: 1.4rem; } p { margin: 15px 0; font-size: 14px; line-height: 1.6; } .benefit-card h3 { color: #8E7CC3; margin-bottom: 15px; font-size: 1.2rem; } .cta-button { white-space: normal; line-height: 1.4; padding: 15px 30px; border-radius: 50px; } .cta-button { display: inline-block; background: white; color: #8E7CC3; padding: 20px 18px; border-radius: 50px; } /* Исправляем поведение иконок в футере */ .social-links { justify-content: center; flex-wrap: wrap; } .social-icon { margin: 5px; } .benefits-grid { grid-template-columns: 1fr; } /* Добавляем отступ для основного контента, чтобы избежать наложения */ main { padding-top: 145px; position: relative; z-index: 1; } .side-menu-header { min-height: 50px; } .side-menu ul { max-height: 60vh; } } /* Большие экраны (769px и выше) - фиксированное меню */ @media (min-width: 769px) { .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; flex-direction: row; flex-wrap: nowrap; align-items: center; padding: 0; } .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: flex-end; } .menu_item a { padding: 15px 10px; font-size: 15px; } .services-list { columns: 2; } .benefits-grid { grid-template-columns: repeat(2, 1fr); } /* Добавляем отступ для основного контента, чтобы избежать наложения */ main { padding-top: 120px; position: relative; z-index: 1; } } /* Большие экраны (992px и выше) - обычное меню */ @media (min-width: 992px) { .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; } .header-top { padding: 15px 20px; flex: 0 0 auto; } .slogan { display: none; } .menu { width: auto; flex-grow: 1; display: block !important; position: static; max-height: none !important; } .menu-toggle { display: none; } .menu ul { justify-content: flex-end; flex-direction: row; } .menu_item a { font-size: 16px; padding: 18px 15px; } .container__persona { width: 250px; height: 300px; margin: 0 30px 20px 0; float: left; } .obo_mne, .kak_prox_zanyt { padding: 30px; } .services-list { columns: 2; } /* Добавляем отступ для основного контента, чтобы избежать наложения */ main { padding-top: 120px; position: relative; z-index: 1; } } /* Очень большие экраны (1200px и выше) */ @media (min-width: 1200px) { .menu_item a { font-size: 18px; padding: 20px 25px; } .footer_copyright { font-size: 18px; } } /* Специальные исправления для бокового меню на мобильных устройствах */ @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; } }