*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth; /* Плавная прокрутка по якорям */
}
@font-face {
    font-family: 'UkraineHeadLight';
    src: url('./fonts/2/e-UkraineHead-Light.otf') format('opentype'),
    url('./fonts/2/e-UkraineHead-Light.otf') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'e-Ukraine-Light';
    src: url('./fonts/e-Ukraine-Light.otf') format('otf'),
    url('./fonts/e-Ukraine-Light.otf') format('otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'e-Ukraine-Regular';
    src: url('./fonts/e-UkraineHead-Regular.otf') format('opentype'),
    url('./fonts/e-ukrainehead-regular_w.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'e-Ukraine-Medium';
    src: url('./fonts/e-Ukraine-Medium.otf') format('otf'),
    url('./fonts/e-Ukraine-Medium.otf') format('otf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'e-Ukraine-Bold';
    src: url('./fonts/e-Ukraine-Bold.otf') format('otf'),
    url('./fonts/e-Ukraine-Bold.otf') format('otf');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'e-Ukraine', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Скрываем возможные вылеты анимации */
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

ol, ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}
* {
    font-family: 'e-Ukraine-Regular', sans-serif;
}
.container {
    width: 1220px;
    margin: 0 auto;
    max-width: 100%; /* Добавлено для безопасности */
}
.flex {
    display: flex;
}
.flex-align-center {
    align-items: center;
}
.justify-content-between {
    justify-content: space-between;
}
header {
    position: relative;
    background: url('./img/firstSectionEllipse.svg') bottom center no-repeat;
    height: 720px;
}
header:after {
    content: '';
    position: absolute;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%);
    height: 280px;
    width: 100%;
    bottom: 0;
}
header h1 {
    background: linear-gradient(90deg, #EB651D 0%, rgba(235, 101, 29, 0.60) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 66px;
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 600;
    text-transform: uppercase;
}
.w100 {
    width: 100%;
}
.mt13 {
    margin-top: 13px;
}
.heading-banner {
    height: 430px;
    position: relative;
}
.heading-banner img {
    position: absolute;
    top: -182px;
    left: -30px;
}
header p {
    font-size: 20px;
    letter-spacing: -0.8px;
    max-width: 500px;
    color: #000;
    font-weight: 400;
    padding-left: 8px;
    line-height: 24px;
}
header p b {
    color: #EB651D;
    font-weight: 400;
}
.heading-banner-tags {
    width: 380px;
}
.heading-banner-tags span {
    color: #1F1F1F;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.8px;
    border-radius: 15px;
    border: 1px solid #1F1F1F;
    padding: 13px 17px;
    text-align: center;
}
.heading-banner-tags > div:nth-child(1) span {
    border-color: #1F1F1F;
}
.heading-banner-tags-item--result {
    border-color: #EB651D !important;
}
.header-price-block {
    position: absolute;
    right: 0;
    bottom: -90px;
    z-index: 3;
}
.header-price-block s {
    font-size: 20px;
    text-decoration-line: line-through;
    text-decoration-color: red;
    color: #000000;
    display: block;
    text-align: right;
    line-height: 20px;
}
.header-price-block div {
    margin-top: 7px;
}
.header-price-block span {
    font-size: 18px;
    font-weight: 400;
    text-transform: lowercase;
    line-height: 18px;
}
.header-price-block b {
    font-weight: 400;
    font-size: 50px;
    color: #EB651D;
    letter-spacing: -4px;
    line-height: 50px;
}



.problems-section {
    width: 100%;
    /* min-height, а не height: інакше кнопка вилазить за межі секції
       й обрізається через overflow: hidden */
    min-height: 811px;
    padding-bottom: 50px;
    position: relative;
    background: white;
    overflow: hidden;
}

.problem-card {
    padding: 13px 32px;
    border-radius: 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: absolute;
}

.problem-text {
    color: #1F1F1F;
    font-size: 18px;
    font-weight: 400;
    text-transform: lowercase;
    word-wrap: break-word;
}

.problem-container {
    height: 570px;
}
.problem-1 {
    width: 583px;
    min-height: 70px;
    left: 23px;
    top: 276px;
    outline: 1px #EB651D solid;
    outline-offset: -1px;
}

.glow {
    width: 851px;
    height: 349px;
    left: 260px;
    top: 174px;
    position: absolute;
    background: rgba(255, 127.88, 59.58, 0.27);
    /*box-shadow: 256.1px 256.1px 256.1px;*/
    border-radius: 9999px;
    filter: blur(128.05px);
}

.title {
    text-align: center;
    color: #1F1F1F;
    font-size: 80px;
    font-weight: 400;
    line-height: 80px;
    word-wrap: break-word;
}

.problem-2 {
    width: 687px;
    min-height: 70px;
    left: 19px;
    top: 217.70px;
    transform: rotate(-4deg);
    transform-origin: top left;
    background: #FAFAFA;
    outline: 1px #1F1F1F solid;
}

.problem-3 {
    width: 790px;
    min-height: 70px;
    left: 432.62px;
    top: 335px;
    transform: rotate(3deg);
    transform-origin: top left;
    background: #FAFAFA;
    outline: 1px #EB651D solid;
}

.problem-4 {
    width: 583px;
    min-height: 70px;
    left: 23px;
    top: 401px;
    background: rgba(250, 250, 250, 0.15);
    outline: 1px #1F1F1F solid;
    backdrop-filter: blur(5px);
}

.problem-5 {
    width: 893px;
    min-height: 70px;
    left: 328px;
    top: 463px;
    background: #FAFAFA;
    outline: 1px #EB651D solid;
}

.problem-6 {
    width: 585px;
    min-height: 94px;
    left: 635px;
    top: 226px;
    background: rgba(250, 250, 250, 0.15);
    outline: 1px #1F1F1F solid;
    backdrop-filter: blur(5px);
}

.summary {
    text-align: center;
    font-size: 26px;
    font-weight: 400;
    word-wrap: break-word;
    margin-top: 14px;
}

.summary-highlight {
    background: linear-gradient(90deg, #EB651D 47.21%, #FF005F 65.39%, #1C6DD0 84.65%);;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-button {
    width: 585px;
    height: 91px;
    background: radial-gradient(ellipse 120.34% 286.43% at 50.00% 50.00%, #EB651D 0%, #FF2A60 100%);
    border-radius: 120px;
    text-align: center;
    color: white;
    font-size: 26px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 auto;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
    opacity: 0.95;
    transform: scale(1.02);
}

.cta-gradient {
    width: 585px;
    height: 91px;
    position: absolute;
}
.cta-text {
    left: 157px;
    top: 30px;
    position: absolute;

    word-wrap: break-word;
}
.about-me {
    position: relative;
    overflow: hidden;
}
.about-me-capture1 {
    width: 866px;
    height: 679px;
    left: 1044px;
    top: -314px;
    position: absolute;
    background: rgba(28, 109, 208, 0.17);
    /*box-shadow: 256.1000061035156px 256.1000061035156px 256.1000061035156px;*/
    border-radius: 9999px;
    filter: blur(128.05px);
    z-index: -1;
}
.about-me-capture2 {
    width: 857px;
    height: 551px;
    left: -275px;
    top: 148px;
    position: absolute;
    background: rgba(255, 127.88, 59.58, 0.62);
    box-shadow: 409.79998779296875px 409.79998779296875px 409.79998779296875px;
    border-radius: 9999px;
    filter: blur(204.90px);
    z-index: -1;
}
.about-me__left {
    width: 612px;
    height: 700px;
    position: relative;
    flex-shrink: 0;
}
.about-me__left h4 {
    position: absolute;
    color: white;
    font-size: 80px;
    font-weight: 400;
    bottom: 31px;
    line-height: 78px;
    left: 58px;
}
.about-me__left h6 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -1.04px;
    color: #1F1F1F;
    position: absolute;
    left: 0;
    top: 250px;
}
.about-me__right {
    margin-top: 70px;
    flex-grow: 1;
}
.about-me__text {
    min-height: 50px;
    border-radius: 15px;
    background: rgba(235, 101, 29, 0.11);
    box-shadow: 1px 1px 2px 0 rgba(160, 160, 160, 0.07) inset;
    backdrop-filter: blur(150px);
    display: flex;
    align-items: center;
    width: 100%;
    padding: 17px 28px;
    margin-bottom: 13px;
}
.about-me__text b {
    color: #1F1F1F;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: -2px;
    text-transform: uppercase;
}
.about-me__text p {
    color: #1F1F1F;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.72px;
    line-height: 21px;
}
.about-me__blocks {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 30px;
}
.about-me__block {
    display: flex;
    align-items: flex-start;
}
.about-me__block:nth-child(2n), .about-me__block:nth-child(3n) {
    margin-left: 5px;
}

.about-me__block span {
    color: #7d7d7d;
    font-size: 13px;
    font-weight: 200;
    letter-spacing: -0.6px;
    margin-top: 0px;
    margin-right: 6px;
}
.about-me__block p {
    color: #1F1F1F;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: -0.72px;
}




.slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    gap: 20px;
    padding: 50px 40px;
    -webkit-overflow-scrolling: touch;
}

.slider::-webkit-scrollbar {
    display: none;
}

.photo {
    flex: 0 0 auto;
    width: 250px;
    height: 378px;
    box-sizing: border-box;
    object-fit: cover;
    scroll-snap-align: start;
    border-radius: 25px;
    border: 1px solid #EB651D;
    background: #fff;
    transition: transform 0.3s ease;
}
.photo:hover {
    transform: scale(1.05);
}
.photo.photo--original {
    border: 0;
    border-radius: 0;
}

.slider-btn {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #f26522;
    border-radius: 50%;
    font-size: 24px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #f26522;
}

.slider-btn.left {
    left: 5px;
}

.slider-btn.right {
    right: 5px;
}


.course-block {
    border-radius: 2rem;
    padding: 2rem 90px;
    margin: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    background: #FFFFFF;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.main-title {
    font-size: 80px;
    font-weight: 400;
    line-height: 100%; /* 80px */
    letter-spacing: -3.2px;
    text-transform: lowercase;
}

.main-title .highlight {
    background: linear-gradient(90deg, #EB651D 0%, #FF005F 48.56%, #1C6DD0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features {

}

.feature {
    width: 100%;
    border-radius: 15px;
    border: 1px solid #EB651D;
    display: flex;
    align-items: center;
    padding: 13px 25px;
    margin-top: 10px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(235, 101, 29, 0.15);
}

.highlight-bg {
    background-color: #f26322;
    color: white;
    border: none;
}

/* У блоці з практичними уроками — почергове помаранчеве заповнення */
.features > div:first-child > div:first-child > .feature:nth-child(odd),
.features > div:first-child > div:last-child > .feature:nth-child(odd),
.features > .feature:last-child {
    background-color: #f26322;
    color: #fff;
    border: none;
}
.features > div:first-child > div:first-child > .feature:nth-child(even),
.features > div:first-child > div:last-child > .feature:nth-child(even) {
    background-color: #fff;
    color: #1F1F1F;
    border: 1px solid #EB651D;
}

.who_is_this_course {
    padding: 50px 0;
    background: url('./img/unsplash.svg') center center no-repeat;
    background-size: cover;
}

.who_is_this_course h2  {
    color: #EB651D;
    text-align: center;
    text-shadow: 0 0 63.5px rgba(0, 0, 0, 0.60);
    font-size: 80px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 80px */
    letter-spacing: -3.2px;
    margin-top: 20px;
}
.who_is_this_course__items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
}
.who_is_this_course__item {
    font-family: "UkraineHeadLight", sans-serif;
    font-weight: 300;
    width: 380px;
    min-height: 160px;
    border-radius: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    font-size: 16px;
    letter-spacing: -0.72px;
    text-transform: lowercase;
    color: #FFF;
    transition: transform 0.3s ease;
}
.who_is_this_course__item:hover {
    transform: translateY(-5px);
}
.who_is_this_course__item {
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}
.who_is_this_course__item:nth-child(odd) {
    border: 1px solid #EB651D;
}
.who_is_this_course .cta-button {
    margin-top: 60px;
}


.course-program .container {
    margin-top: 57px;
    display: flex;
}

.course-program h2 {
    font-family: "UkraineHeadLight", sans-serif;
    max-width: 484px;
    font-size: 80px;
    line-height: 80px;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 40px;
    color: #222;
}
.program-list {
    border-top: 1px solid #eee;
    margin-top: 160px;
}
.course-program .program-list {
    flex: 1;
    min-width: 0;
}
.program-item {
    border-bottom: 1px solid #eee;
}
.item-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s ease;
}
.item-summary:hover {
    background-color: rgba(235, 101, 29, 0.03);
}
.item-summary::-webkit-details-marker {
    display: none;
}
.item-left {
    display: flex;
    align-items: flex-start;
}
.item-number {
    font-family: "UkraineHeadLight", sans-serif;
    font-size: 15px;
    font-weight: 200;
    margin-right: 0;
    min-width: 30px;
    color: #6F6F6F;
    letter-spacing: -0.6px;
}
.item-text {
    font-family: "UkraineHeadLight", sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #333;
    padding-right: 70px;
    margin-top: 3px;
}
.item-toggle {
    position: relative;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}
.item-toggle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 3px;
    background-color: #ff6347;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}
.item-toggle::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background-color: #ff6347;
    transform: translateX(-50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.program-item[open] > .item-summary .item-toggle::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}
.item-content {
    padding: 0px 10px 24px 54px;
    color: #555;
    line-height: 1.6;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.item-content p {
    margin: 0 0 15px 0;
}
.item-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.item-content li {
    color: #1F1F1F;
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-family: "UkraineHeadLight", sans-serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.8px;
}
.item-content li:last-child {
    margin-bottom: 0;
}
.item-content li::before {
    content: '○';
    position: absolute;
    left: 0;
    top: 0;
    color: #ccc;
    font-size: 1.2em;
    line-height: 1.4;
}

.how-it-works {
    background-color: #F5F5F7; /* Світло-сірий фон як на скрині */
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
    background: url('./img/how-it-works-bg.svg') no-repeat;
    background-size: cover;
}

.laptop-slider-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 160px;
}

.laptop-container {
    position: relative;
    width: 800px; /* Ширина ноутбука */
    max-width: 90%;
    margin-top: -25px;
}

.laptop-image {
    display: block;
    max-width: 840px !important;
    position: absolute;
    top: -221px;
    left: -74px;
    width: 840px;
}

/* Область накладання поверх екрану */
.laptop-screen-overlay {
    position: absolute;
    /* Ці параметри підганяють контент під екран макбука.
       Якщо текст вилазить за рамки - трохи підправте top/left/width/height */
    top: 6%;
    left: 12%;
    width: 76%;
    height: 82%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.screen-ui {
    width: 530px;
    height: 344px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.screen-text {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    color: #1F1F1F;
    max-width: 420px;
}

/* Фрази лежать в одній клітинці сітки: висота — за найдовшою, змінюються плавно */
.screen-slides {
    display: grid;
    place-items: center;
    width: 100%;
}
.screen-slides .screen-text {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.screen-slides .screen-text.is-active {
    opacity: 1;
    transform: none;
}

/* Навігаційні стрілки */
.slider-nav {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-nav:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.slider-nav.prev { margin-right: 30px; }
.slider-nav.next { margin-left: 30px; }


/* Декоративні елементи (Куточки та REC) */
.ui-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 2px solid #FF5C35; /* Колір куточків */
    opacity: 0.8;
}

.top-left {
    top: 10px; left: 10px;
    border-bottom: none; border-right: none;
}
.top-right {
    top: 10px; right: 10px;
    border-bottom: none; border-left: none;
}
.bottom-left {
    bottom: 10px; left: 10px;
    border-top: none; border-right: none;
}
.bottom-right {
    bottom: 10px; right: 10px;
    border-top: none; border-left: none;
}

.ui-rec-dot {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 10px;
    height: 10px;
    background-color: #FF5C35;
    border-radius: 50%;
    animation: blink 2s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.how-it-works .cta-button {
    margin-top: 315px;
    z-index: 2;
    position: relative;
}
.price-section {
    padding: 50px 0px;
    background-color: #fff;
}

.price-section h2 {
    font-size: 80px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -3.2px;
    color: #1F1F1F;
    /* Використовуємо той самий шрифт, що й в інших заголовках */
    font-family: 'e-Ukraine-Regular', sans-serif;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 140px;
}

.price-card {
    width: 585px; /* Ширина відповідає ширині кнопки cta-button */
    height: 91px;
    border: 1px solid #EB651D;
    border-radius: 15px; /* Кути менш заокруглені, ніж у кнопки */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    background: #fff;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}
.price-card:hover {
    transform: scale(1.02);
}

.price-card span {
    color: #1F1F1F;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.72px;
}

.price-card b {
    color: #EB651D;
    font-size: 50px;
    font-weight: 400;
    letter-spacing: -2px;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: #fff;
    overflow: hidden; /* Щоб приховати скролбар */
}

.reviews-section h2 {
    color: #EB651D;
    text-align: center;
    font-size: 80px;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 60px;
    letter-spacing: -2px;
}

.reviews-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 20px;
}

.reviews-slider {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 20px 10px;
    /* Без цього flex-елемент розтягується під усі картки і ламає розмітку */
    flex: 1 1 auto;
    min-width: 0;
    scroll-snap-type: x proximity;
    cursor: grab;
    outline: none;
    /* Приховуємо скролбар */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reviews-slider.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

.reviews-slider::-webkit-scrollbar {
    display: none;
}

/* Навігаційні стрілки */
.review-nav {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.review-nav:hover {
    transform: scale(1.1);
}

/* Крапки-індикатори */
.reviews-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}
.reviews-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #D9D9D9;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}
.reviews-dot.active {
    background: #EB651D;
    transform: scale(1.35);
}

/* Макет телефону */
.phone-mockup {
    width: 330px;
    height: 680px;
    border: 10px solid #1F1F1F;
    border-radius: 50px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    background: #fff;
    transition: transform 0.4s ease;
    scroll-snap-align: start;
}
.phone-mockup:hover {
    transform: translateY(-10px);
}

/* "Чубчик" (Notch) */
.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background-color: #1F1F1F;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 5;
}

/* Вміст телефону */
.phone-content {
    height: 100%;
    padding: 50px 25px 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blue-theme {
    background: linear-gradient(180deg, #FFFFFF 40%, #DCEEFD 100%);
}
.orange-theme {
    background: linear-gradient(180deg, #FFFFFF 40%, #FFF0E3 100%);
}
.pink-theme {
    background: linear-gradient(180deg, #FFFFFF 40%, #FFEFF3 100%);
}

/* Шапка відгуку */
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.review-author {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.review-header .name {
    color: #EB651D;
    font-size: 16px;
    line-height: 20px;
}
.review-header .handle {
    color: #8A8A8A;
    font-size: 12px;
    line-height: 15px;
}
.review-body {
    flex-grow: 1;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.review-body::-webkit-scrollbar {
    display: none;
}

.review-header .avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    background: #EEE;
    /* фірмове кільце навколо фото, як в Instagram */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(235, 101, 29, 0.55);
    user-select: none;
    -webkit-user-drag: none;
}
.review-body p {
    font-size: 14px;
    line-height: 18px;
}
.review-body p + p {
    margin-top: 10px;
}
.review-footer {
    border-top: 1px solid #EB651D;
}
.review-footer span {
    color: #EB651D;
    text-align: center;
    display: block;
    padding-top: 15px;
}

/* Money Back Section */
.money-back-section {
    background-color: #E8E8ED; /* Цвет фона как на макете */
    padding: 50px 0;
    text-align: center;
}

.money-back-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.money-back-subtitle {
    font-size: 26px; /* Размер надзаголовка */
    color: #1F1F1F;
    font-weight: 400;
    padding-top: 50px;
}

.money-back-title {
    font-size: 70px; /* Размер основного заголовка */
    line-height: 100%;
    font-weight: 400;
    letter-spacing: -3.2px;
    margin-bottom: 40px;

    /* Градиент текста: от оранжевого через розовый к синему */
    background: linear-gradient(90deg, #EB651D 0%, #FF005F 45%, #1C6DD0 80%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Для корректного отображения на разных фонах */
    display: inline-block;
}

.money-back-desc {
    color: #1F1F1F;
    font-size: 20px;
    line-height: 1.4;
    max-width: 950px;
    margin-bottom: 60px;
    font-weight: 400;
}

/* Адаптив для мобильных (на случай если понадобится) */
@media (max-width: 768px) {
    .money-back-title {
        font-size: 40px;
        letter-spacing: -1px;
    }
    .money-back-desc {
        font-size: 16px;
        padding: 0 20px;
    }
}

.faq h2 {
    color: #EB651D;
    font-size: 80px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: -2px;
    padding-top: 50px;
}
.faq .program-list {
    margin-top: 50px;
}

.final-call {
    margin-top: 100px;
    padding: 80px 0 20px 0;
    background: linear-gradient(90deg, #F0F6FF 0%, #FFF3EB 100%);
    text-align: center;
}

.final-call__subtitle {
    color: #1F1F1F;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 0px;
    letter-spacing: -0.5px;
}

.final-call__title {
    color: #1F1F1F;
    font-size: 60px; /* Используем размер заголовков сайта */
    line-height: 100%;
    letter-spacing: -3.2px;
    margin-bottom: 15px;
}

.final-call__gradient {
    margin-top: 40px;
    font-size: 60px;
    line-height: 100%;
    letter-spacing: -3.2px;
    margin-bottom: 60px;
    background: linear-gradient(90deg, #EB651D 0%, #FF005F 50%, #1C6DD0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Модификация кнопки, чтобы она была более "оранжевой" как на макете,
   или можно оставить стандартную .cta-button */
.final-call__btn {
    background: linear-gradient(90deg, #F56033 0%, #F14822 100%);
    box-shadow: 0px 10px 40px rgba(242, 86, 44, 0.3);
    margin-top: 40px;
}

/* ========================================= */
/* SCROLL ANIMATION STYLES START HERE        */
/* ========================================= */

/* 1. Базовый класс для всех анимируемых элементов */
.reveal-item {
    opacity: 0;
    /* Используем cubic-bezier для дорогого, "упругого" эффекта */
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

/* 2. Эффект появления снизу (для заголовков, текстов) */
.reveal-up {
    transform: translateY(40px);
    filter: blur(5px);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* 3. Эффект появления слева (для списков, боковых панелей) */
.reveal-left {
    transform: translateX(-40px);
    filter: blur(2px);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

/* 4. Специальный класс для карточек с наклоном */
/* Он не меняет transform на 0, а просто проявляет элемент */
.reveal-static {
    filter: blur(12px);
    opacity: 0;
    transform: scale(0.9); /* Слегка уменьшен */
}

/* Восстанавливаем оригинальные трансформации при активации */
.reveal-static.active {
    opacity: 1;
    filter: blur(0);
    /* Здесь нет общего transform, он берется из специфичных классов ниже */
}

/* Восстанавливаем масштаб и поворот для конкретных карточек */
.problem-card.reveal-static.active {
    transform: scale(1);
}
.problem-2.reveal-static.active {
    transform: rotate(-4deg) scale(1);
}
.problem-3.reveal-static.active {
    transform: rotate(3deg) scale(1);
}

/* 5. Задержки (Stagger effect) */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* 6. Анимация пульсации для кнопок */
@keyframes pulse-orange {
    0% { box-shadow: 0 0 0 0 rgba(235, 101, 29, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(235, 101, 29, 0); }
    100% { box-shadow: 0 0 0 0 rgba(235, 101, 29, 0); }
}

.cta-button:hover {
    animation: pulse-orange 2s infinite;
}

/* 7. Плавное парение фоновых элементов */
@keyframes float-slow {
    0% { transform: translate(0, 0); }
    50% { transform: translate(15px, -15px); }
    100% { transform: translate(0, 0); }
}

.glow, .about-me-capture1, .about-me-capture2 {
    animation: float-slow 8s infinite ease-in-out;
}

/* Затримка для 6-го елемента (використовується в розмітці, але була відсутня) */
.delay-600 { transition-delay: 0.6s; }

/* ========== Бонуси ========== */
.bonuses {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.bonus-card {
    border: 1px solid #EB651D;
    border-radius: 20px;
    padding: 28px 30px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF4EC 100%);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bonus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(235, 101, 29, 0.15);
}

.bonus-label {
    align-self: flex-start;
    background: radial-gradient(ellipse 120% 286% at 50% 50%, #EB651D 0%, #FF2A60 100%);
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 120px;
    margin-bottom: 18px;
}

.bonus-title {
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #1F1F1F;
    font-weight: 400;
    margin-bottom: 12px;
}

.bonus-text {
    font-family: "UkraineHeadLight", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

/* ========== Фінальний заклик ========== */
.final-call__title {
    font-size: 30px;
    line-height: 1.35;
    letter-spacing: -0.5px;
    margin-top: 25px;
    margin-bottom: 0;
}

.final-call__gradient {
    font-size: 54px;
    line-height: 1.05;
    letter-spacing: -2px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    text-transform: lowercase;
}

/* =========================================================
   ОПЛАТА — модальне вікно
   ========================================================= */
.pay-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 14, 10, 0.55);
    backdrop-filter: blur(6px);
    overflow-y: auto;
}

.pay-modal.is-open {
    display: flex;
}

.pay-dialog {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: auto;
    padding: 34px 34px 28px;
    background: #fff;
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    animation: payIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes payIn {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}

.pay-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #F2F2F5;
    color: #1F1F1F;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}
.pay-close:hover {
    background: #E4E4EA;
}

.pay-kicker {
    color: #EB651D;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pay-title {
    margin-top: 6px;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #1F1F1F;
}

.pay-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 22px;
    padding: 14px 22px;
    border: 1px solid #EB651D;
    border-radius: 15px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF4EC 100%);
}
.pay-summary span {
    font-size: 15px;
    color: #1F1F1F;
}
.pay-summary b {
    font-size: 34px;
    font-weight: 400;
    letter-spacing: -1.5px;
    color: #EB651D;
}

.pay-field {
    display: block;
    margin-bottom: 14px;
}
.pay-field span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #6F6F6F;
}
.pay-field input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #DCDCE2;
    border-radius: 14px;
    background: #FCFCFD;
    font-size: 16px;
    color: #1F1F1F;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pay-field input:focus {
    outline: none;
    border-color: #EB651D;
    box-shadow: 0 0 0 3px rgba(235, 101, 29, 0.15);
}

.pay-status {
    min-height: 0;
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.4;
}
.pay-status--err  { color: #D22B2B; margin-top: 10px; }
.pay-status--ok   { color: #1E8E3E; margin-top: 10px; }
.pay-status--info { color: #6F6F6F; margin-top: 10px; }

.pay-submit {
    width: 100%;
    min-height: 62px;
    margin-top: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: 120px;
    background: radial-gradient(ellipse 120.34% 286.43% at 50% 50%, #EB651D 0%, #FF2A60 100%);
    color: #fff;
    font-size: 19px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.pay-submit:hover:not(:disabled) {
    transform: scale(1.02);
    opacity: 0.96;
}
.pay-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.pay-note {
    margin-top: 14px;
    font-family: "UkraineHeadLight", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #8A8A8A;
    text-align: center;
}

.pay-test-hint {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px dashed #C9C9D2;
    border-radius: 14px;
    background: #FAFAFC;
    font-size: 12px;
    line-height: 1.55;
    color: #555;
}
.pay-test-hint ul {
    margin-top: 8px;
    list-style: none;
    padding: 0;
}
.pay-test-hint li {
    margin-bottom: 4px;
}
.pay-test-hint code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: #1F1F1F;
    background: #EFEFF3;
    border-radius: 4px;
    padding: 1px 5px;
}

@media (max-width: 480px) {
    .pay-modal {
        padding: 12px;
    }
    .pay-dialog {
        padding: 28px 20px 22px;
        border-radius: 22px;
    }
    .pay-title {
        font-size: 19px;
    }
    .pay-summary b {
        font-size: 28px;
    }
}

/* =========================================================
   АДАПТИВ
   Точки: 1240px (усе, що нижче десктопного макета 1220px),
          900px (планшет), 600px (телефон), 400px (вузький телефон)
   ========================================================= */

/* --- Плавне масштабування великих заголовків --- */
.title,
.main-title,
.who_is_this_course h2,
.course-program h2,
.price-section h2,
.reviews-section h2,
.faq h2 {
    font-size: clamp(36px, 6.2vw, 80px);
    letter-spacing: -0.04em;
}

header h1 {
    font-size: clamp(28px, 5.2vw, 66px);
    letter-spacing: -0.03em;
}

.money-back-title {
    font-size: clamp(32px, 5.4vw, 70px);
    letter-spacing: -0.045em;
}

.final-call__gradient {
    font-size: clamp(28px, 4.2vw, 54px);
    letter-spacing: -0.035em;
}

.about-me__left h4 {
    font-size: clamp(38px, 6vw, 80px);
    line-height: 0.98;
}

/* ============ < 1240px: макет перестає бути фіксованим ============ */
@media (max-width: 1239px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cta-button {
        width: 100% !important;
        max-width: 585px;
        height: auto;
        min-height: 72px;
        padding: 14px 24px;
        font-size: clamp(16px, 2.4vw, 26px) !important;
        line-height: 1.25;
    }

    /* --- Хедер --- */
    header {
        height: auto;
        padding: 20px 0 40px;
        background-size: 140% auto;
    }
    header::after {
        height: 120px;
    }
    .heading-banner {
        height: auto;
        flex-direction: column;
        align-items: center;
    }
    .heading-banner img {
        position: static;
        width: 100%;
        max-width: 620px;
        margin: 10px auto 20px;
    }
    header p {
        max-width: 620px;
        padding-left: 0;
        text-align: center;
    }
    .heading-banner-tags {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
    .header-price-block {
        /* relative, а не static: інакше біла заливка header::after
           (position:absolute) перекриває ціну */
        position: relative;
        z-index: 2;
        inset: auto;
        margin: 26px auto 30px;
        text-align: center;
    }
    .header-price-block div {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    /* --- Блок проблем: колаж -> вертикальний список --- */
    .problems-section {
        height: auto;
        padding: 50px 0 40px;
    }
    .problem-container {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    .problems-section .title {
        position: static;
        order: -1;
        margin-bottom: 20px;
        line-height: 1.02;
    }
    .glow {
        display: none;
    }
    .problem-card {
        position: static;
        width: 100% !important;
        max-width: 720px;
        min-height: 0 !important;
        transform: none !important;
    }
    .problem-3 {
        outline: 1px #EB651D solid;
    }
    .summary {
        font-size: clamp(17px, 2.2vw, 26px);
    }

    /* --- Хто я --- */
    .about-me .container {
        flex-direction: column;
    }
    .about-me {
        padding-bottom: 64px;
    }
    .about-me__left {
        width: 100%;
        max-width: 612px;
        height: auto;
        margin: 0 auto;
    }
    .about-me__left img {
        width: 100%;
        /* М'яке розчинення внизу, щоб фото не виглядало обрізаним */
        -webkit-mask-image: linear-gradient(180deg, #000 76%, rgba(0, 0, 0, 0.72) 88%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 76%, rgba(0, 0, 0, 0.72) 88%, transparent 100%);
        filter: drop-shadow(0 14px 24px rgba(235, 101, 29, 0.16));
    }
    .about-me__left h4 {
        left: 24px;
        bottom: 18px;
    }
    .about-me__left h6 {
        top: 10px;
        left: 4px;
    }
    .about-me__right {
        width: 100%;
        margin-top: 26px;
    }
    .about-me__blocks {
        width: 100%;
        position: relative;
        z-index: 1;
    }
    .about-me__block {
        min-width: 0;
    }
    /* Третій пункт не залежить від прокрутки/анімації та завжди видимий */
    .about-me__block:nth-child(3) {
        opacity: 1;
        transform: none;
        filter: none;
    }

    /* --- Програма курсу --- */
    .course-program .container {
        flex-direction: column;
        margin-top: 40px;
    }
    .course-program h2 {
        max-width: 100%;
        margin-bottom: 10px;
    }
    .program-list,
    .course-program .program-list {
        margin-top: 24px;
    }

    /* --- Вартість --- */
    .price-section .container.flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .price-wrapper {
        width: 100%;
        margin-top: 30px;
        align-items: center;
    }
    .price-card {
        width: 100%;
        max-width: 585px;
        padding: 0 26px;
    }

    /* --- Курс для тебе --- */
    .who_is_this_course__item {
        width: calc(50% - 10px);
    }
}

/* ============ < 900px: планшет ============ */
@media (max-width: 899px) {
    /* --- Блок "це не просто курс" --- */
    .course-block {
        padding: 26px 20px;
    }
    .features > div:first-child {
        flex-direction: column !important;
    }
    .features > div:first-child > div {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .feature {
        min-height: 0 !important;
        height: auto !important;
        padding: 14px 18px;
    }
    .feature br {
        display: none;
    }
    .subtitle {
        font-size: 1.15rem;
    }

    /* --- Хто я --- */
    .about-me__blocks {
        flex-direction: column;
        gap: 14px;
    }
    .about-me__block {
        margin-left: 0 !important;
    }
    .about-me__text {
        flex-wrap: wrap;
        padding: 14px 18px;
    }
    .about-me__text p br,
    .about-me__block p br {
        display: none;
    }
    .about-me__block p {
        font-size: 16px;
    }

    /* --- Як це працює: прибираємо макбук, лишаємо "екран" --- */
    .how-it-works {
        padding: 50px 0;
        margin-top: 20px;
    }
    .how-it-works .title {
        font-size: min(21vw, 120px);
        line-height: 0.88;
        margin-bottom: 0 !important;
    }

    /* Ноутбук у потоці на всю ширину, стрілки під ним */
    .laptop-slider-wrapper {
        flex-wrap: wrap;
        gap: 24px 16px;
        max-width: 100%;
        margin-top: 6px;
    }
    .laptop-container {
        order: -1;
        flex: 0 0 100%;
        width: 100%;
        max-width: 640px;
        margin: 0 auto;
    }
    .laptop-image {
        position: relative;
        z-index: 1;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 100% !important;
    }
    /* Екран у PNG (855x686) прозорий: кладемо фрази ПІД картинку
       точно у цю область, рамка й виріз камери перекривають краї */
    .laptop-screen-overlay {
        top: 3.5%;
        left: 11.93%;
        width: 76.37%;
        height: 61.52%;
        z-index: 0;
    }
    .screen-ui {
        width: 100%;
        height: 100%;
        padding: 6% 10%;
        background: linear-gradient(160deg, #F2F5FF 0%, #FFFFFF 45%, #FFE4D4 100%);
    }
    .screen-text {
        max-width: 92%;
        font-size: clamp(13px, 3.6vw, 20px);
        line-height: 1.35;
    }
    .ui-corner {
        width: 7%;
        height: auto;
        aspect-ratio: 1;
    }
    .ui-corner.top-left { top: 12%; left: 5%; }
    .ui-corner.top-right { top: 12%; right: 5%; }
    .ui-corner.bottom-left { bottom: 7%; left: 5%; }
    .ui-corner.bottom-right { bottom: 7%; right: 5%; }
    .ui-rec-dot {
        top: 17%;
        right: 10%;
        width: 7px;
        height: 7px;
    }

    .slider-nav {
        width: 72px;
        height: 72px;
        margin: 0 !important;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.85);
    }
    /* На тачі hover «залипає» — без білої заливки, інакше стрілку не видно */
    .slider-nav:hover {
        background: rgba(255, 255, 255, 0.15);
        box-shadow: none;
    }
    .slider-nav svg path {
        stroke: #fff;
    }
    .how-it-works .cta-button {
        margin-top: 40px;
    }

    /* --- Програма / питання --- */
    .item-text {
        font-size: clamp(17px, 2.6vw, 26px);
        padding-right: 20px;
    }
    .item-content {
        padding: 0 0 20px 30px;
    }
    .item-content li {
        font-size: 15px;
        padding-left: 20px;
    }

    /* --- Бонуси --- */
    .bonuses {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    /* --- Фінальний заклик --- */
    .final-call {
        margin-top: 60px;
        padding: 50px 0 20px;
    }
    .final-call__subtitle {
        font-size: 18px;
    }
    .final-call__title {
        font-size: 20px;
        line-height: 1.45;
    }
}

/* ============ < 1200px: мобільний та iPad ============ */
@media (max-width: 1199px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cta-button {
        min-height: 64px;
        border-radius: 60px;
    }

    /* --- Хедер --- */
    header p {
        font-size: 17px;
        line-height: 22px;
    }
    .heading-banner-tags span {
        font-size: 16px;
        padding: 11px 14px;
    }
    .header-price-block b {
        font-size: 40px;
        letter-spacing: -2px;
        line-height: 40px;
    }

    /* --- Проблеми --- */
    .problem-card {
        padding: 12px 20px;
        border-radius: 18px;
    }
    .problem-text {
        font-size: 16px;
        line-height: 21px;
    }

    /* --- Хто я --- */
    .about-me__text b {
        font-size: 36px;
    }
    .about-me__text p {
        font-size: 15px;
    }
    /* --- Фото-стрічка --- */
    .slider {
        gap: 12px;
        padding: 30px 16px;
    }
    .photo {
        width: 170px;
        height: 257px;
        border-radius: 18px;
    }

    /* --- Курс для тебе --- */
    .who_is_this_course__item {
        width: 100%;
        min-height: 0;
        padding: 22px 24px;
        border-radius: 30px;
    }

    /* --- Відгуки --- */
    .reviews-section {
        padding: 50px 0;
    }
    .reviews-section h2 {
        margin-bottom: 30px;
    }
    .review-nav {
        display: none;
    }
    .reviews-wrapper {
        gap: 0;
    }
    .reviews-slider {
        gap: 20px;
        padding: 16px;
        scroll-snap-type: x mandatory;
    }
    .phone-mockup {
        width: 290px;
        /* на вузькому екрані текст не влазить у фіксовану висоту —
           хай картки виростають під найдовший відгук (flex stretch),
           замість внутрішнього скролу всередині горизонтального свайпу */
        height: auto;
        min-height: 520px;
        border-width: 8px;
        border-radius: 42px;
    }
    .phone-content {
        padding: 46px 20px 24px;
    }
    .review-body {
        overflow: visible;
    }
    .review-header {
        gap: 12px;
        margin-bottom: 18px;
    }

    /* --- Вартість / бонуси --- */
    .price-card {
        height: auto;
        min-height: 78px;
        padding: 14px 20px;
    }
    .price-card b {
        font-size: 36px;
    }
    .bonus-card {
        padding: 22px 20px;
    }
    .bonus-title {
        font-size: 18px;
    }

    /* --- Повернення грошей --- */
    .money-back-subtitle {
        font-size: 20px;
        padding-top: 20px;
    }
    .money-back-desc br {
        display: none;
    }

    /* --- Питання --- */
    .item-summary {
        padding: 18px 0;
    }
    .item-number {
        min-width: 24px;
    }
    .item-text br {
        display: none;
    }
    .item-toggle {
        margin-right: 0;
    }
}

/* ============ < 400px: вузький телефон ============ */
@media (max-width: 399px) {
    .phone-mockup {
        width: 265px;
        min-height: 500px;
    }
    .cta-button {
        min-height: 58px;
        font-size: 15px !important;
    }
}

/* =========================================================
   Мобільний перший екран «Говорити легко» (< 1200px)
   Розміри у vw рахуються від макета шириною 375px
   ========================================================= */
.hero-m {
    display: none;
}

@media (max-width: 1199px) {
    header {
        padding: 0 0 40px;
        overflow: hidden;
    }
    header > .container {
        display: none;
    }

    .hero-m {
        display: block;
        position: relative;
        z-index: 3;
        padding: 44px 16px 0;
    }
    /* Персиковий відблиск за фото */
    .hero-m::before {
        content: '';
        position: absolute;
        top: 20vw;
        right: -40vw;
        width: 130vw;
        height: 130vw;
        background: radial-gradient(closest-side, rgba(255, 128, 60, 0.32), rgba(255, 128, 60, 0));
        pointer-events: none;
    }

    .hero-m__title {
        position: relative;
        z-index: 2;
        text-transform: uppercase;
        background: linear-gradient(90deg, #EB651D 0%, rgba(235, 101, 29, 0.6) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    /* Кожен рядок на всю ширину колонки (100vw - 32px):
       розмір підібраний під довжину рядка */
    .hero-m__title-line {
        display: block;
        white-space: nowrap;
        line-height: 0.95;
        letter-spacing: -0.03em;
    }
    .hero-m__title-line:nth-child(1) {
        font-size: 12vw;
    }
    .hero-m__title-line:nth-child(2) {
        font-size: 9.5vw;
    }
    .hero-m__title-line:nth-child(3) {
        font-size: 8.1vw;
    }

    .hero-m__visual {
        position: relative;
        height: 101vw;
        margin-top: 10px;
    }
    .hero-m__photo {
        position: absolute;
        top: -8vw; /* голова трохи заходить під заголовок */
        left: 17vw;
        width: 94vw;
        max-width: none;
        /* Фото розчиняється в білому ще до тегів, як на макеті */
        -webkit-mask-image: linear-gradient(180deg, #000 46%, transparent 64%);
        mask-image: linear-gradient(180deg, #000 46%, transparent 64%);
    }
    .hero-m__photo.reveal-static.active {
        transform: none;
    }
    .hero-m__lead {
        position: relative;
        z-index: 2;
        /* px-ліміт: на ширших телефонах текст не наїжджає на сорочку */
        max-width: min(58vw, 232px);
        padding-top: 10vw; /* відступ від заголовка, текст на рівні обличчя */
        text-align: left;
        font-size: 17px;
        line-height: 1.16;
        letter-spacing: -0.02em;
        color: #000;
    }
    .hero-m__lead b {
        color: #EB651D;
        font-weight: 400;
    }

    .hero-m__tags {
        position: relative;
        z-index: 2;
        display: flex;
        flex-wrap: wrap;
        gap: 11px 24px;
    }
    /* Ширина за текстом: «практика, яка змінює» не влазить у половину рядка */
    .hero-m__tag {
        flex: 1 1 auto;
        padding: 9px 10px;
        border: 1px solid #1F1F1F;
        border-radius: 11px;
        background: rgba(255, 255, 255, 0.7);
        color: #1F1F1F;
        font-size: 13px;
        line-height: 1.2;
        letter-spacing: -0.02em;
        text-align: center;
    }
    .hero-m__tag--accent {
        border-color: #1F1F1F;
    }
    .hero-m__tag--wide {
        flex-basis: 100%;
    }
    .hero-m__tag--result {
        border-color: #EB651D;
    }

    .hero-m__price {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-top: 30px;
    }
    .hero-m__price > span {
        padding-bottom: 5px;
        font-size: 13px;
        text-transform: lowercase;
        color: #1F1F1F;
    }
    .hero-m__price b {
        display: block;
        font-weight: 400;
        font-size: 40px;
        line-height: 1;
        letter-spacing: -0.04em;
        color: #EB651D;
    }

    header > .cta-button {
        z-index: 3 !important;
        width: calc(100% - 32px) !important;
        min-height: 66px;
        margin-top: 10px;
        font-size: 19px !important;
    }
}

/* Планшетне масштабування першого екрана: зберігаємо пропорції мобільної композиції */
@media (min-width: 600px) and (max-width: 1199px) {
    .hero-m {
        max-width: 820px;
        margin: 0 auto;
        padding: 52px 32px 0;
    }
    .hero-m__title-line:nth-child(1) {
        font-size: clamp(52px, 8vw, 82px);
    }
    .hero-m__title-line:nth-child(2) {
        font-size: clamp(42px, 6.35vw, 66px);
    }
    .hero-m__title-line:nth-child(3) {
        font-size: clamp(36px, 5.4vw, 58px);
    }
    .hero-m__visual {
        height: clamp(500px, 64vw, 640px);
    }
    .hero-m__photo {
        top: -4vw;
        left: 14vw;
        width: min(72vw, 620px);
    }
    .hero-m__lead {
        max-width: min(36vw, 300px);
        padding-top: 8vw;
        font-size: clamp(18px, 2.1vw, 24px);
        line-height: 1.2;
    }
    .hero-m__tag {
        font-size: clamp(14px, 1.8vw, 18px);
    }
    .hero-m__price b {
        font-size: clamp(40px, 4.8vw, 54px);
    }
}
