:root {
    --pastel-peach: #ffe5d9;
    --pastel-pink: #ffcad4;
    --pastel-lavender: #e2d5f7;
    --pastel-mint: #d4f1e0;
    --pastel-blue: #d4e9f7;
    --pastel-yellow: #fff3c4;
    --pastel-cream: #fdf6ec;
    --accent: #d49ab3;
    --accent-dark: #b87a93;
    --text: #4a4458;
    --text-soft: #6e6880;
    --shadow: 0 8px 24px rgba(180, 160, 200, 0.15);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: var(--pastel-cream);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    color: var(--text);
    line-height: 1.25;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 32px;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

p {
    margin-bottom: 12px;
    color: var(--text-soft);
}

.section {
    padding: 80px 0;
}

.section--description { background: var(--pastel-peach); }
.section--injuries { background: var(--pastel-mint); }
.section--legal { background: var(--pastel-lavender); }
.section--instructors { background: var(--pastel-blue); }
.section--pricing { background: var(--pastel-yellow); }

/* HERO */
.hero {
    background: linear-gradient(135deg, var(--pastel-pink) 0%, var(--pastel-lavender) 100%);
    padding: 100px 0 80px;
    text-align: center;
}

.hero__title {
    font-size: 3.2rem;
    margin-bottom: 16px;
}

.hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 48px;
    color: var(--text-soft);
}

.hero__info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.info-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.info-card__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-card__value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

/* DESCRIPTION */
.section--description p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 16px;
    text-align: center;
}

.program-list {
    list-style: none;
    max-width: 800px;
    margin: 24px auto 0;
}

.program-list li {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 12px;
    border-left: 4px solid var(--accent);
}

.program-list strong {
    color: var(--accent-dark);
    margin-right: 12px;
}

/* INJURIES */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(180, 160, 200, 0.25);
}

.card__icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.card p {
    font-size: 0.95rem;
    margin: 0;
}

/* LEGAL */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.legal-block {
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.legal-block h4 {
    color: var(--accent-dark);
}

/* HERO IMAGE — ЯРКАЯ, не пастельная */
.hero-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.3) contrast(1.1);
}

.hero-image__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 40%, rgba(220, 50, 50, 0.55) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 60px;
}

.hero-image__overlay p {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    margin: 0;
    padding: 0 24px;
}

/* INSTRUCTORS */
.instructors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.instructor {
    background: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

.instructor__avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-lavender));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.instructor__role {
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.instructor__regalia {
    list-style: none;
    text-align: left;
}

.instructor__regalia li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(180, 160, 200, 0.2);
    font-size: 0.95rem;
    color: var(--text-soft);
    position: relative;
    padding-left: 20px;
}

.instructor__regalia li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.instructor__regalia li:last-child {
    border-bottom: none;
}

/* PRICING */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card--featured {
    background: linear-gradient(180deg, #fff 0%, var(--pastel-pink) 100%);
    transform: scale(1.05);
    border: 2px solid var(--accent);
}

.price-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.price-card__price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin: 12px 0 24px;
}

.price-card ul {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
    text-align: left;
}

.price-card ul li {
    padding: 8px 0 8px 24px;
    border-bottom: 1px solid rgba(180, 160, 200, 0.15);
    color: var(--text-soft);
    position: relative;
    font-size: 0.95rem;
}

.price-card ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 12px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    text-decoration: none;
    font-family: inherit;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
}

.btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(212, 154, 179, 0.4);
}

.btn--secondary {
    background: #fff;
    color: var(--accent-dark);
    border: 2px solid var(--accent);
}

.btn--secondary:hover {
    background: var(--accent);
    color: #fff;
}

.btn--block {
    display: block;
    width: 100%;
}

/* FOOTER */
.footer {
    background: var(--text);
    color: #fff;
    padding: 32px 0;
    text-align: center;
}

.footer p {
    color: rgba(255,255,255,0.7);
    margin: 4px 0;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(74, 68, 88, 0.6);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: var(--pastel-cream);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-soft);
    cursor: pointer;
    line-height: 1;
}

.modal__close:hover { color: var(--text); }

.modal__content h3 {
    margin: 0 0 8px;
}

.modal__subtitle {
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--pastel-lavender);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.15s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: var(--pastel-mint);
    color: #2d6a4f;
}

.form-message.error {
    display: block;
    background: var(--pastel-pink);
    color: #9b2c4d;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero__title { font-size: 2.2rem; }
    .hero__subtitle { font-size: 1.1rem; }
    .hero__info { grid-template-columns: 1fr; }
    .instructors,
    .pricing,
    .legal-grid { grid-template-columns: 1fr; }
    .price-card--featured { transform: none; }
    h2 { font-size: 1.7rem; }
    .section { padding: 60px 0; }
    .hero-image { height: 320px; }
    .hero-image__overlay p { font-size: 1.4rem; }
    .modal__content { padding: 28px 24px; }
}
