/* Сброс и база */

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #1a1a1a;
line-height: 1.6;
background: var(--beige);
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; margin-bottom: 20px; font-weight: 600; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; margin-bottom: 30px; }
p { margin-bottom: 15px; color: #444; }

/* Кнопки */
.btn {
display: inline-block;
padding: 12px 24px;
border-radius: 6px;
text-decoration: none;
font-weight: 500;
transition: background 0.2s, color 0.2s;
cursor: pointer;
border: none;
font-size: 1rem;
}
.btn-primary { background: #1a2a4a; color: #fff; } 
.btn-primary:hover { background: #0f1a2e; }
.btn-outline { border: 1px solid #1a2a4a; color: #1a2a4a; background: transparent; }
.btn-outline:hover { background: #1a2a4a; color: #fff; }
.btn-small { padding: 8px 16px; font-size: 0.9rem; background: #1a2a4a; color: #fff; }

/* Шапка */
.header { padding: 15px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; background: #f0dde3; /* пыльно-розовый, как hover карточек */; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.logo { font-weight: 700; font-size: 1.2rem; text-decoration: none; color: #1a1a1a; }
.nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.nav-link { text-decoration: none; color: #444; font-size: 0.95rem; }
.nav-link.active, .nav-link:hover { color: #1a2a4a; font-weight: 500; }

/* Hero */
.hero { padding: 80px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-content h1 { font-size: 2.2rem; margin-bottom: 15px; }
.hero-subtitle { font-size: 1.2rem; color: #555; margin-bottom: 25px; }
.hero-trust { font-size: 0.85rem; color: #888; margin-top: 15px; }
.hero-image img { width: 100%; max-width: 400px; border-radius: 8px; display: block; margin: 0 auto; }

/* Секции */
.section { padding: 70px 0; }
.section-gray { background: #f7f7f7; }

/* Список фич */
.features-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.features-list li { padding-left: 25px; position: relative; }
.features-list li::before { content: "✓"; position: absolute; left: 0; color: #1a2a4a; font-weight: bold; }
/* Карточки */
.cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 60px 40px; /* 60px по вертикали, 40px по горизонтали */
margin-top: 35px;
}

.card {
background: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
transition: background 0.3s ease, transform 0.3s ease;
}

.card h3 { margin-bottom: 10px; }

.card p { margin-bottom: 20px; }

.card:hover {
background: #f0dde3;
transform: translateY(-4px);
}

/* На телефоне — одна колонка */
@media (max-width: 768px) {
.cards-grid {
grid-template-columns: 1fr;
gap: 30px;
}
}

/* Сроки */
.deadlines-list { list-style: none; }
.deadlines-list li { margin-bottom: 15px; padding-left: 20px; border-left: 3px solid #1a2a4a; }

/* Форма */
.form-container { max-width: 600px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form label { font-weight: 500; font-size: 0.9rem; }
.contact-form input, .contact-form select {
padding: 12px;
border: 1px solid #ddd;
border-radius: 6px;
font-size: 1rem;
font-family: inherit;
}
.form-note { font-size: 0.9rem; color: #888; margin-top: 10px; }

/* Футер */
.footer { padding: 30px 0; border-top: 1px solid #eee; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; font-size: 0.9rem; color: #666; }
.footer-links a { color: #1a2a4a; text-decoration: none; margin-left: 15px; }

/* Адаптивность (мобильные) */
@media (max-width: 768px) {
.hero-content h1 { font-size: 1.6rem; }
.hero-content h2 { font-size: 1.5rem; }
.hero-grid { grid-template-columns: 1fr; text-align: center; }
.hero-image img { max-width: 250px; }
.features-list { grid-template-columns: 1fr; }
.cards-grid { grid-template-columns: 1fr; }
.header-inner { flex-direction: column; align-items: flex-start; }
.nav { width: 100%; justify-content: space-between; }
.footer-inner { flex-direction: column; text-align: center; }
.footer-links a { margin: 0 10px; }
}

.section-light-blue {
background: #CFE2F3;
}

.section-beige {
background: #F8F3EC;
}

.video-wrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
height: 0;
overflow: hidden;
border-radius: 8px;
margin-bottom: 15px;
}

.video-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}

.founder-block {
display: flex;
align-items: flex-start;
gap: 30px;
background: #ffffff;
padding: 30px;
border-radius: 16px;
box-shadow: 0 10px 25px rgba(0,0,0,0.06);
margin-bottom: 40px;
}

.founder-video {
flex: 0 0 380px; /* фиксированная ширина видео на десктопе */
max-width: 100%;
}

.founder-text {
flex: 1;
}

.founder-name {
font-size: 20px;
font-weight: 600;
margin-bottom: 4px;
color: #2E2E2E;
}

.founder-role {
font-size: 14px;
color: #4F83B5;
margin-bottom: 12px;
}

.founder-text p:last-child {
margin-bottom: 0;
color: #444;
}

/* На телефоне — видео сверху, текст под ним */
@media (max-width: 768px) {
.founder-block {
flex-direction: column;
padding: 20px;
}
.founder-video {
flex: 1 1 auto;
width: 100%;
}
}

.footer-links a {
color: #2E2E2E; /* обычный цвет */
text-decoration: none;
transition: color 0.3s ease; /* плавная смена цвета */
}

.footer-links a:hover {
color: #1a2a4a; /* тёмно-синий при наведении */
font-weight: 500;
}

.logo {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: #2E2E2E;
}

.logo-icon {
width: 40px;
height: 40px;
flex-shrink: 0;
}

.logo-text {
font-size: 20px;
font-weight: 600;
color: #2E2E2E;
white-space: nowrap;
}

.logo-subtitle {
font-size: 14px;
color: #666;
margin-left: 4px;
}
