/* --- ЗАГРУЗКА ШРИФТОВ --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* --- ЦВЕТОВАЯ ПАЛИТРА --- */
:root {
    --bg-main: #FDFCFB;
    --bg-secondary: #F4F2FF;
    --text-dark: #1A202C;
    --text-secondary: #4A5568;
    --accent-primary: #6D6AFF;
    --accent-secondary: #FF7A59;
    --header-height: 80px;
}

body, html {
    margin: 0; padding: 0; width: 100%;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

/* --- ШАПКА И НАВИГАЦИЯ --- */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height);
    z-index: 1000; background-color: rgba(253, 252, 251, 0.8);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #E2E8F0; display: flex; align-items: center;
}
.header-container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; }
.logo-image { height: 35px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav li { margin-left: 40px; }
.main-nav a { color: var(--text-secondary); text-decoration: none; font-weight: 400; transition: color 0.3s ease; }
.main-nav a:hover { color: var(--text-dark); }

/* --- ОБЩИЕ СТИЛИ СЕКЦИЙ --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
/* ИЗМЕНЕНИЕ: Высота блока уменьшена */
.hero-section { min-height: 50vh; display: flex; justify-content: center; align-items: center; text-align: center; background: linear-gradient(135deg, #6D6AFF 0%, #FF7A59 100%); color: white; padding-top: var(--header-height); }
.content-section { padding: 100px 0; }
#services { background-color: var(--bg-secondary); }
#why-us { background-color: var(--bg-main); }

/* --- МАКЕТ С ИЛЛЮСТРАЦИЯМИ --- */
.section-layout { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.section-text, .section-illustration { flex: 1; }
.layout-reverse { flex-direction: row-reverse; }
.section-illustration img { width: 100%; height: auto; border-radius: 20px; object-fit: cover; max-height: 400px; box-shadow: 0 20px 40px -10px rgba(74, 85, 104, 0.15); }

/* --- ТИПОГРАФИКА --- */
h1 { font-size: 5rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; margin: 0; }
.hero-section p { font-size: 1.2rem; font-weight: 300; color: rgba(255,255,255,0.8); max-width: 600px; margin-top: 20px; line-height: 1.6; margin-left: auto; margin-right: auto; }
h2 { font-size: 3.5rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; margin-bottom: 30px; }
p, li { font-size: 1.1rem; line-height: 1.8; font-weight: 400; color: var(--text-secondary); }
strong { font-weight: 700; color: var(--text-dark); }
a { color: var(--accent-primary); text-decoration: none; font-weight: 700; }

/* --- БЛОК "ПОЧЕМУ МЫ" --- */
.centered-title { text-align: center; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.feature-item { background-color: #ffffff; border: 1px solid #E2E8F0; padding: 30px; border-radius: 16px; text-align: left; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-item:hover { transform: translateY(-8px); }
.feature-item h3 { font-size: 1.2rem; font-weight: 700; margin-top: 0; margin-bottom: 15px; }
.feature-item p { font-size: 0.9rem; line-height: 1.6; }

/* --- БЛОК КОНТАКТОВ --- */
.cta-section { padding: 100px 0; background-color: var(--bg-secondary); }
.cta-card { background: linear-gradient(135deg, #6D6AFF 0%, #8961ff 100%); color: white; text-align: center; padding: 80px 40px; border-radius: 24px; }
.cta-card h2 { color: white; }
.cta-card p { color: rgba(255,255,255,0.8); }
.cta-email { font-size: 1.5rem; color: white; font-weight: 700; margin-top: 20px; display: inline-block; }
.cta-email:hover { text-decoration: underline; }

/* --- ФУТЕР --- */
.site-footer-bottom { padding: 60px 0; background-color: #E2E8F0; color: var(--text-secondary); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.footer-block { margin-right: 20px; margin-bottom: 20px; }
.footer-logo { height: 35px; margin-bottom: 10px; }
.footer-title { font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.footer-block p { font-size: 0.9rem; margin: 0 0 5px 0; }
.footer-block a { font-weight: 400; color: var(--text-secondary); }
.footer-block a:hover { color: var(--accent-primary); }

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 992px) {
    .section-layout { flex-direction: column !important; }
    .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; text-align: center; }
    .container, .header-container { padding: 0 20px; }
    .footer-container { flex-direction: column; }
    .features { grid-template-columns: 1fr; }
    .menu-toggle { display: flex; z-index: 1001; width: 30px; height: 22px; cursor: pointer; flex-direction: column; justify-content: space-between; position: relative; }
    .menu-toggle span { display: block; width: 100%; height: 3px; background-color: var(--text-dark); border-radius: 3px; transition: all 0.3s ease-in-out; }
    .main-nav { position: fixed; top: 0; right: -100%; width: 80%; height: 100%; background-color: #ffffff; flex-direction: column; justify-content: center; align-items: center; transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1); display: flex; }
    .main-nav.is-active { right: 0; box-shadow: -10px 0 30px -15px rgba(0,0,0,0.2); height: unset;}
    .main-nav ul { flex-direction: column; align-items: center; }
    .main-nav li { margin: 25px 0; }
    .main-nav a { font-size: 1.5rem; }
    .menu-toggle.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }               
    .content-section { padding: 20px 0; }       
    .cta-email { font-size: 1rem; }