:root {
    --primary: #d4145a;
    --primary-light: #fcdee8;
    --bg: #faf6fa;
    --text: #1c1c1e;
    --white: #fff;
    --border-radius: 20px;
    --shadow: 0 6px 40px 0 rgba(212, 20, 90, 0.08);
}
body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    font-size: 18px;
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0; z-index: 999;
}
nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0;
}
.logo {
    font-weight: bold; font-size: 2rem; letter-spacing: 2px; color: var(--primary);
}
nav ul {
    list-style: none; display: flex; gap: 32px; margin: 0; padding: 0;
}
nav ul li a {
    text-decoration: none; color: var(--text); font-weight: 500; transition: color 0.2s;
}
nav ul li a:hover {
    color: var(--primary);
}
.btn-main {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 10px 28px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 rgba(212, 20, 90, 0.09);
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn-main:hover, .btn-main:focus {
    background: var(--text);
    color: var(--primary);
    box-shadow: 0 6px 24px 0 rgba(212, 20, 90, 0.17);
}
.btn-main.large { font-size: 1.2rem; padding: 16px 44px; }

.hero {
    display: flex; align-items: center; justify-content: center;
    padding: 64px 0 36px 0;
    background: linear-gradient(104deg, #f0eaea 0%, #ffeaf4 100%);
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    position: relative;
}
.hero-content {
    max-width: 540px; z-index: 1;
}
.hero h1 {
    font-size: 2.85rem;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.hero p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: var(--text);
    opacity: 0.7;
}
.hero-img {
    width: 350px; height: 420px; object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 16px 80px 0 #ffd7ed77;
    margin-left: 60px;
    background: #fff;
    transition: transform 0.35s;
}
.hero-img:hover { transform: scale(1.025); }
.section-title {
    font-size: 2.1rem; font-weight: 700; color: var(--primary);
    margin: 48px 0 34px 0;
}
.about-grid {
    display: flex; flex-wrap: wrap; gap: 32px;
    margin-bottom: 20px;
}
.about-card {
    flex: 1;
    min-width: 220px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    transition: transform 0.25s, box-shadow 0.25s;
}
/* АНИМАЦИЯ ПОЯВЛЕНИЯ */
.about-card,
.review-card,
.module-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(.37,.01,.77,.73);
}

.about-card.in-view,
.review-card.in-view,
.module-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---- */

.about-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 24px 56px 0 rgba(212,20,90,0.14);
}
.about-card h3 {
    font-size: 1.28rem; margin-bottom: 10px; color: var(--primary);
    font-weight: 700;
}
.modules-list { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 32px;}
.module-item {
    padding: 18px 24px;
    background: var(--primary-light);
    color: var(--text);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.06rem;
    box-shadow: 0 1.5px 8px 0 #f0eaea55;
}
.reviews-grid {display: flex; flex-wrap: wrap; gap: 32px;}
.review-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 32px;
    min-width: 220px; max-width: 400px;
    font-size: 1rem;
    transition: box-shadow 0.2s;
}
.review-card span { display: block; margin-top: 16px; color: #a57b90; font-size: 0.98em;}
.cta-block {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--border-radius);
    margin: 42px 0;
    text-align: center;
    padding: 42px 20px;
}
.cta-block h2 { font-size: 2rem; margin-bottom: 28px; color: var(--white);}
footer { background: #fff; border-top: 1px solid #f0eaea;}
.footer-flex {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 0;
    font-size: 1.01rem; color: #bdbdbd;
}
@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center;}
    .hero-img { margin-left: 0; margin-top: 32px;}
    .about-grid, .reviews-grid, .modules-list { flex-direction: column;}
    .hero-content { max-width: 100%; }
}
@media (max-width: 600px) {
    .container { padding: 0 8px; }
    .hero { padding: 38px 0 20px 0;}
    .section-title { font-size: 1.4rem;}
    .cta-block h2 { font-size: 1.25rem;}
}