* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    padding: 0;
    margin: 0;
}

a {
    display: block;
    text-decoration: none;
    color: inherit;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    background-color: #feecf7;
}

section[id],
footer[id] {
    scroll-margin-top: 80px;
}

.bold {
    font-weight: bold;
}

.container {
    max-width: 1920px;
    outline: 3px solid #feb6e2;
    display: flex;
    flex-direction: column;
}

header,
main,
footer {
    padding: 0 20px;
}

.header_title {
    margin: 0;
}

.menu_block {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    position: sticky;
    top: 0;
    background-color: #feecf7;
    z-index: 100;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.burger_btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.burger_btn span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger_btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger_btn.active span:nth-child(2) {
    opacity: 0;
}

.burger_btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu {
    display: flex;
    gap: 10px;
}

.menu li {
    list-style: none;
    position: relative;
}

.menu li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    padding-bottom: 5px;
}

.menu li::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #feb6e2;
    transition: width 0.3s ease;
}

.menu li:hover::after {
    width: 100%;
}

.menu li:hover a {
    color: #feb6e2;
}

.about_me {
    padding: 0 20px;
    background-color: #f9f9f9;
    max-width: 1200px;
    border-radius: 8px;
    margin: 0 auto;
}

.about_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
}

.about_me h2,
.cases h2 {
    text-align: center;
    font-size: 36px;
    margin: 20px 0;
}

.about_content {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 10px 0;
}

.about_text {
    flex: 1;
}

.about_text h3 {
    font-size: 28px;
    margin: 5px 0 15px;
}

.about_text h3 span {
    color: #feb6e2;
}

.experience {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.career_path {
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0;
    color: #000;
}

.what_it_means h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.what_it_means ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.what_it_means li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
}


.what_it_means .two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.what_it_means .two-columns li {
    margin-bottom: 0;
}

.about_photo {
    flex: 1;
    text-align: center;

}

.about_photo img {
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.companies {
    text-align: center;
    /* border-top: 1px solid #e0e0e0; */
}

.companies p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.logo {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 20px;
    background: rgb(220, 219, 219);
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.logo img {
    max-width: 25px;
    border-radius: 50%;
}

.logo div {
    padding-top: 3px;
}

.first_case,
.second_case,
.first_useful_case,
.work_format,
.model_work_type {
    padding: 10px 20px;
    background-color: #ffffff;
    max-width: 1200px;
    border-radius: 8px;
    margin: 10px auto;

}

.first_case h3,
.second_case h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.case_grid {
    margin: 0 auto;
}

.case_header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 2px solid #feb6e2;
    font-weight: 700;
    font-size: 18px;
    color: #333;
}

.case_row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 2px solid #feb6e2;
    font-size: 16px;
    color: #555;
}

.case_row:last-child {
    border-bottom: none;
}

.case_row:hover {
    background-color: #fef0f8;
    transition: background-color 0.3s ease;
}

.main_answer {
    margin: 20px auto 0;
    padding: 20px;
    background-color: #afa9a9d2;
    max-width: 1200px;
    border-radius: 8px;
} 

.main_useful .case_header,
.first_case .case_header{
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 2px solid #feb6e2;
    font-weight: 700;
    font-size: 18px;
    color: #333;
    background-color: #ffffff;
}

.main_useful .case_row,
.first_case .case_row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 2px solid #feb6e2;
    font-size: 16px;
    color: #555;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.main_useful .case_row:last-child,
.first_case .case_row:last-child {
    border-bottom: none;
}

.main_useful .case_row:hover,
.first_case .case_row:hover {
    background-color: #fef0f8;
}

.main_useful .case_row div:first-child,
.first_case .case_row div:first-child {
    font-weight: 700;
    font-size: 18px;
}

.first_useful_case h3{
    font-size: 24px;
    text-align: left;
    margin: 0 0 30px;
}

.first_useful_case p,
.format_content p {
    text-align: center;
    font-size: 20px;
}

.work_format_wrapper h2 {
    text-align: center;
    font-size: 36px;
    margin: 20px 0;
}

.work_format {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px 20px;
}

.format_content h3 {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.work_format .case_grid {
    max-width: 1200px;
    margin: 0 auto;
}

.work_format .three_cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 2px solid #feb6e2;
    font-weight: 700;
    font-size: 18px;
    color: #333;
    background-color: #ffffff;
}

.work_format .case_row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
    color: #555;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.work_format .case_row:last-child {
    border-bottom: none;
}

.work_format .case_row:hover {
    background-color: #fef0f8;
}

.work_format .price {
    font-weight: 700;
    color: #feb6e2;
    font-size: 18px;
}

.model_work_type h2 {
    text-align: center;
    font-size: 36px;
    margin: 20px 0;
}

.model_work_type .case_grid {
    margin: 0 auto;
}

.model_work_type .two_cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 2px solid #feb6e2;
    color: #555;
    background-color: #ffffff;
}

.model_work_type .two_cols_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 2px solid #feb6e2;
    color: #555;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

.model_work_type .two_cols_row:last-child {
    border-bottom: none;
}

.model_work_type .two_cols_row:hover {
    background-color: #fef0f8;
}

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 60px 20px 30px;
    margin-top: 60px;
}

.footer_content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer_title {
    font-size: 42px;
    font-weight: 700;
    color: #feb6e2;
    margin-bottom: 30px;
    text-align: center;
}

.footer_contact {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto 50px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer_contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact_text {
    font-size: 24px;
    margin-bottom: 15px;
}

.telegram_link {
    color: #feb6e2;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    display: inline-block;
}

.telegram_link:hover {
    color: #fd9ad6;
    text-decoration: underline;
}

.contact_note {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.6;
}

.footer_bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 20px;
}

.floating_tg {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.tg_icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating_tg:hover {
    animation: none;
    transform: scale(1.1);
}

.floating_tg:hover .tg_icon {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
    .burger_btn {
        display: flex;
    }

    .menu_block {
        position: sticky;
        top: 0;
        background-color: #feecf7;
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: #feecf7;
        flex-direction: column;
        justify-content: flex-start;
        gap: 20px;
        padding: 80px 30px 30px;
        margin: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 100;
    }

    .menu.active {
        right: 0;
    }

    .menu li {
        width: 100%;
        list-style: none;
    }

    .menu li a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
    }

    .menu li::after {
        bottom: 10px;
    }

    .menu_overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 99;
    }

    .menu_overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .container {
        outline: none;
    }

    .about_content {
        flex-direction: column;
        align-items: center;
    }

    .about_text {
        text-align: center;
        margin: 10px 0;
    }

    .what_it_means ul {
        text-align: left;
        display: inline-block;
        width: 100%;
    }
    
    .what_it_means .two-columns {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-items: center;
    }

    .about_me h2,
    .cases h2,
    .work_format_wrapper h2,
    .model_work_type h2,
    .footer_title {
        font-size: 30px;
    }

    .case_header,
    .case_row,
    .work_format .three_cols,
    .work_format .case_row,
    .model_work_type .two_cols,
    .model_work_type .two_cols_row {
        gap: 15px;
        padding: 12px 15px;
    }

    .case_header div,
    .case_row div,
    .work_format .three_cols div,
    .work_format .case_row div {
        font-size: 14px;
    }

    .first_useful_case h3 {
        font-size: 22px;
    }

    .footer_contact {
        padding: 30px;
        max-width: 500px;
    }

    .contact_text {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    header,
    main,
    footer {
        padding: 0 15px;
    }

    .menu_block {
        padding: 12px 15px;
    }
    
    .header_title {
        font-size: 20px;
    }

    .burger_btn {
        width: 25px;
        height: 18px;
    }
    
    .burger_btn.active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    
    .burger_btn.active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    .about_me {
        padding: 0 15px;
    }

    .about_me h2,
    .cases h2,
    .work_format_wrapper h2,
    .model_work_type h2,
    .footer_title {
        font-size: 24px;
        margin: 15px 0;
    }

    .about_text h3 {
        font-size: 22px;
    }

    .experience,
    .career_path {
        font-size: 16px;
    }

    .what_it_means h4 {
        font-size: 18px;
    }

    .what_it_means li {
        font-size: 14px;
    }

    .about_photo img {
        max-width: 200px;
    }

    .logos {
        flex-wrap: wrap;
        gap: 12px;
    }

    .logo {
        padding: 6px 15px;
        font-size: 13px;
    }

    .logo img {
        max-width: 20px;
    }

    /* Мобильные стили для таблиц */
    .case_header {
        display: none;
    }

    .case_row {
        display: block;
        padding: 15px;
        margin-bottom: 15px;
        border-bottom: 1px solid #e0e0e0;
        border-radius: 10px;
        background-color: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .case_row div {
        padding: 8px 0;
        position: relative;
        font-size: 14px;
    }

    /* Стили для полезных кейсов */
    .main_useful .case_header {
        display: none;
    }

    .main_useful .case_row {
        display: block;
        padding: 15px;
        margin-bottom: 15px;
    }

    .main_useful .case_row div {
        padding: 8px 0;
        padding-left: 35%;
        position: relative;
    }

    .main_useful .case_row div:nth-child(1)::before {
        content: "Шаг:";
        position: absolute;
        left: 0;
        font-weight: bold;
        color: #feb6e2;
    }

    .main_useful .case_row div:nth-child(2)::before {
        content: "Что делаем:";
        position: absolute;
        left: 0;
        font-weight: bold;
        color: #feb6e2;
    }

    /* Стили для форматов работы */
    .work_format .three_cols {
        display: none;
    }

    .work_format .case_row {
        display: block;
        padding: 15px;
        margin-bottom: 15px;
    }

    .work_format .case_row div {
        padding: 8px 0;
        position: relative;
    }

    .work_format .case_row div:nth-child(1)::before {
        content: "Стоимость:";
        position: absolute;
        left: 0;
        font-weight: bold;
        color: #feb6e2;
    }

    .work_format .case_row div:nth-child(2)::before {
        content: "Что происходит:";
        position: absolute;
        left: 0;
        font-weight: bold;
        color: #feb6e2;
    }

    .work_format .case_row div:nth-child(3)::before {
        content: "Результат:";
        position: absolute;
        left: 0;
        font-weight: bold;
        color: #feb6e2;
    }

    /* Стили для сравнения моделей */
    .model_work_type .two_cols {
        display: none;
    }

    .model_work_type .two_cols_row {
        display: block;
        padding: 15px;
        margin-bottom: 15px;
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .model_work_type .two_cols_row div {
        padding: 8px 0;
        position: relative;
    }

    .model_work_type .two_cols_row div:nth-child(1)::before {
        content: "Модель курсов:";
        position: absolute;
        left: 0;
        font-weight: bold;
        color: #feb6e2;
        font-size: 14px;
    }

    .model_work_type .two_cols_row div:nth-child(2)::before {
        content: "Моя модель:";
        position: absolute;
        left: 0;
        font-weight: bold;
        color: #feb6e2;
        font-size: 14px;
    }

    /* Заголовки секций */
    .first_case h3,
    .second_case h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .first_useful_case h3 {
        font-size: 18px;
        text-align: center;
    }

    .first_useful_case p,
    .format_content p {
        font-size: 16px;
        padding: 10px;
    }

    .format_content h3 {
        font-size: 16px;
        text-align: left;
    }

    .main_answer h2 {
        font-size: 18px;
    }

    /* Футер */
    .footer {
        padding: 40px 15px 20px;
        margin-top: 40px;
    }

    .footer_contact {
        padding: 20px;
    }

    .contact_text {
        font-size: 18px;
    }

    .contact_note {
        font-size: 14px;
    }

    /* Плавающая кнопка */
    .floating_tg {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .about_me h2,
    .cases h2,
    .work_format_wrapper h2,
    .model_work_type h2,
    .footer_title {
        font-size: 22px;
    }

    .case_row div,
    .main_useful .case_row div,
    .work_format .case_row div,
    .model_work_type .two_cols_row div {
        font-size: 13px;
    }

    .main_useful .case_header,
    .first_case .case_header{
    grid-template-columns: 1fr 1fr;
    }

    .main_useful .case_row,
    .first_case .case_row {
    grid-template-columns: 1fr 1fr;
}

    .footer_title {
        font-size: 28px;
    }

    .contact_text {
        font-size: 16px;
    }

    .footer_contact {
        padding: 15px;
    }
    
    .menu_block {
        padding: 10px 15px;
    }
    
    .header_title {
        font-size: 18px;
    }
}

.early_cta {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 22px;
    background: transparent;
    border: 2px solid currentColor;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
}
.early_cta:hover {
    background: rgba(255,255,255,0.12);
}

/* --- Полоса с метриками --- */
.metrics_strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    margin: 0;
    padding: 0;
}
@media (max-width: 768px) {
    .metrics_strip { grid-template-columns: repeat(2, 1fr); }
}
.metric {
    padding: 28px 20px;
    border-right: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.metric:last-child { border-right: none; }
@media (max-width: 768px) {
    .metric:nth-child(2n) { border-right: none; }
    .metric { border-bottom: 1px solid rgba(255,255,255,0.12); }
}
.metric_num {
    font-family: 'Rubik', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}
.metric_label {
    font-size: 13px;
    opacity: 0.65;
    line-height: 1.4;
}

/* --- CTA-кнопки под секциями --- */
.section_cta {
    margin-top: 28px;
    padding: 0 0 8px;
    text-align: center;
}
.cta_btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 15px;
    transition: opacity 0.2s, transform 0.15s;
}
.cta_btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}
.cta_btn--light {
    background: #fff;
    color: #1a1a2e;
}
.cta_btn--dark {
    background: #1a1a2e;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
}

/* --- Кнопка в футере --- */
.footer_contact .cta_btn {
    margin-top: 18px;
}

/* --- Результат жирным в B2B таблице --- */
.case_row strong {
    display: block;
    margin-top: 6px;
    font-weight: 600;
    opacity: 0.9;
}

.social_links {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.social_link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    padding: 14px 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    background: rgba(255, 255, 255, 0.05);
}

.social_link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.social_icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.9;
}

@media (max-width: 600px) {
    .social_links {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .social_link {
        justify-content: center;
    }
}

