* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}
/* Статичный фон на весь сайт */
body {
    background-image: url("mramor.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
html {
    scroll-behavior: smooth;
}

/* HEADER */
.header {
    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px; /* твоя высота header */
    z-index: 1000;
}

/* Фото профиля */
.profile_picture {
    width: 80px;
    height: 80px;
    float: left;
    margin: 10px;
}

/* Имя */
.name_block {
    float: left;
    line-height: 1.1;
    margin-top: 22px;
}

.name {
    font-family: 'Science Gothic', sans-serif;
    font-size: 36px;
    color: #fff;
}

.last_name {
    font-family: 'Science Gothic', sans-serif;
    font-size: 18px;
    color: #fff;
}

/* Меню */
.navigation {
    float: right;
    height: 100%;
    margin-right: 300px;
}

.navigation li {
    float: left;
}

.navigation li a {
    display: block;
    padding: 0 20px;
    line-height: 100px;
    font-family: 'Science Gothic', sans-serif;
    font-size: 20px;
    color: #fff;
}
#benefits {
    scroll-margin-top:-1535px;
}
#process {
    scroll-margin-top:-780px;
}
#contact {
    scroll-margin-top:-5000px;
}

/* ---------- ABOUT ---------- */
/* ===== ABOUT SECTION ===== */
.about {
  display: flex;
  justify-content: center;
}

.about_card {
  display: flex;
  width: 85%;
  gap: 40px;
  padding: 20px 20px 20px 20px;
  background: rgba(220, 220, 220, 0.92);
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
  align-items: flex-start;
  box-sizing: border-box;
}

/* Слайдер */
.about_photo_box {
  width: 400px;
  height: 520px;
  display: flex;
  border-radius: 30px;
}

.slider {
  width: 100%;
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  border-radius: 30px;
}

.slides {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%;
}

.slides img {
  width: 100%;
  height: auto;   /* картинка масштабируется по ширине */
  flex-shrink: 0;
  display: block;
}

/* Кнопки */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}

.prev { left: 12px; }
.next { right: 12px; }

/* ТЕКСТ */
.about_right {
  width: 65%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about_text h2,
.about_text2 h2 {
  font-family: 'Science Gothic', sans-serif;
  font-size: 42px;
  margin-bottom: 18px;
}

.about_text p,
.about_text2 p {
  font-family: 'Science Gothic', sans-serif;
  font-size: 20px;
  line-height: 1.7;
}

/* ---------- JAK TO PROBÍHÁ ---------- */

.process {
    width: 100%;
    padding: 100px 0;
    background: rgba(255,255,255,0); /* прозрачный фон */
}

.process_title {
    font-family: "Science Gothic", sans-serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
}

.process_cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    flex-wrap: wrap;
}

.process_card {
    background: rgba(202, 202, 202, 0.85);
    width: 320px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.25);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

.process_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 35px rgba(0,0,0,0.35);
}

.process_img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.process_card h3 {
    font-family: "Science Gothic", sans-serif;
    font-size: 26px;
    margin-bottom: 10px;
}

.process_card p {
    font-size: 18px;
    line-height: 1.6;
    font-family: "Science Gothic", sans-serif;
}
.process_title {
    color: #ffffff;
    font-family: 'Science Gothic', sans-serif;
    font-size: 32px;
    margin-bottom: 15px;
    font-size: 80px;
}

/* ---------- VOUCHER ---------- */
.voucher {
    width: 100%;
    padding: 140px 20px;
    background: rgba(255,255,255,0); /* прозрачный, как остальные секции */
}

.voucher_title {
    text-align: center;
    font-family: 'Science Gothic', sans-serif;
    font-size: 80px;
    color: #ffffff;
    margin-bottom: 80px;
}

/* Карточка */
.voucher_content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;

    background: rgba(202, 202, 202, 0.88);
    padding: 45px;
    border-radius: 30px;

    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    box-sizing: border-box;
}

/* Изображение */
.voucher_image {
    flex: 1;
}

.voucher_image img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

/* Текст */
.voucher_text {
    flex: 1;
    font-family: 'Science Gothic', sans-serif;
    color: #000;
}

.voucher_text p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* Акцент на первом абзаце */
.voucher_text p:first-child {
    font-size: 22px;
    font-weight: 600;
}

/* ---------- Hover эффект ---------- */
.voucher_content:hover {
    transition: 0.3s ease;
}



/* ---------- CONTACTS ---------- */
.contacts {
    width: 100%;
    padding: 80px 0;
    background: rgba(255,255,255,0.6);
    text-align: center;
}

.contacts_title {
    font-family: "Science Gothic", sans-serif;
    font-size: 48px;
    margin-bottom: 40px;
}

.contacts_line {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* на случай маленьких экранов */
    font-size: 20px;
    font-family: "Science Gothic", sans-serif;
}

.contacts_line span a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.contacts_line span a:hover {
    text-decoration: underline;
}
.why {
    width: 100%;
    padding: 140px 0;
}

.why_title {
    text-align: center;
    font-family: 'Science Gothic', sans-serif;
    font-size: 80px;
    color: #ffffff;
    margin-bottom: 80px;
}

.why_layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.why_cards {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    gap: 40px;
}

.why_card {
    background: rgba(202, 202, 202, 0.85);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
}

.why_card h3 {
    font-family: 'Science Gothic', sans-serif;
    font-size: 24px;
    margin-bottom: 12px;
}

.why_card p {
    font-family: 'Science Gothic', sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

.why_sticker {
    width: 400px;
    height: 520px;
    border-radius: 20px;
    border: 5px solid rgb(94, 94, 94);
}


.signup_section {
    width: 100%;
    padding: 140px 0;
    text-align: center;
}

/* Большой заголовок секции — как везде */
.signup_section_title {
    font-family: 'Science Gothic', sans-serif;
    font-size: 80px;
    color: #ffffff;
    margin-bottom: 80px;
}

/* Карточка */
.signup {
    max-width: 520px;
    margin: 0 auto;
    background: rgba(199, 199, 199, 0.9);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    font-family: 'Science Gothic', sans-serif;
}

/* Картинка */
.signup__image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Заголовок внутри карточки */
.signup__title {
    padding: 30px 30px 12px;
    font-size: 30px;
    line-height: 1.25;
    color: #000;
}

/* Текст */
.signup__text {
    padding: 0 30px 28px;
    font-size: 18px;
    color: #333;
}

/* Кнопка */
.signup__btn {
    display: inline-block;
    margin-bottom: 40px;
    padding: 16px 50px;
    background: #84c949;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: 0.3s ease;
}

.signup__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}


@media (max-width: 768px) {

    /* === BASE === */
    html, body {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Science Gothic', sans-serif;
        font-size: 16px;
        line-height: 1.5;
        color: #000;
    }

    * {
        box-sizing: border-box;
    }

    h2, h3, p {
        margin-top: 0;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* === HEADER === */
    .header {
        height: auto;
        padding: 12px 16
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .profile_picture {
        width: 56px;
        height: 56px;
        margin: 0 12px 0 0;
    }

    .name_block {
        margin: 0;
    }

    .name {
        font-size: 26px;
    }

    .last_name {
        font-size: 15px;
    }

    .navigation {
        width: 100%;
        margin: 12px 0 0;
        display: flex;
        justify-content: center;
        gap: 12px;
    }

    .navigation li a {
        font-size: 15px;
        line-height: 32px;
        padding: 0 10px;
    }

    #benefits {
    scroll-margin-top:-3200px;
}
#process {
    scroll-margin-top:-1600px;
}
#contact {
    scroll-margin-top:-10000px;
}

    /* === SECTIONS BASE === */
    section,
    .signup_section,
    .about {
        width: auto;
    }

    /* === ABOUT === */
    /* Контейнер about */
    .about {
        padding: 0 16px;       /* отступы слева и справа */
        margin: 0;
        display: flex;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    /* Карточка */
    .about_card {
        display: flex;
        flex-direction: column; /* фото сверху, текст под ним */
        gap: 20px;              /* расстояние между фото и текстом */
        width: 100%;
        max-width: 520px;       /* как process_card */
        padding: 16px;          /* внутренние отступы */
        margin: 16px 0;         /* отступ сверху/снизу */
        background: rgba(220, 220, 220, 0.92); /* как desktop */
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.25);
        box-sizing: border-box;
    }

    /* Фото */
    .about_photo_box {
        width: 100%;
        height: auto;
        border-radius: 20px;
        overflow: hidden;
    }

    .slider {
        width: 100%;
        border-radius: 20px;
    }

    .slides img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    /* Текст */
    .about_right {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .about_text h2,
    .about_text2 h2 {
        font-size: 28px;
        margin-bottom: 12px;
        margin-top: 0;
    }

    .about_text p,
    .about_text2 p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 12px;
    }


    /* === PROCESS === */
    .process_title {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .process_cards {
        padding: 0 16px;
        flex-direction: column;
        gap: 24px;
    }

    .process_card {
        width: 100%;
        padding: 22px;
    }

    .process_card h3 {
        font-size: 22px;
    }

    .process_card p {
        font-size: 17px;
    }

    /* === WHY === */
    .why {
        padding: 60px 16px;
    }

    .why_title {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .why_layout {
        flex-direction: column;
        gap: 40px;
    }

    .why_sticker {
        width: 100%;
        max-width: 360px;
        height: auto;
    }

    .why_cards {
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
    }

    /* === SIGNUP === */
    .signup_section_title {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .signup {
        width: 100%;
    }

    .signup__image img {
        height: 260px;
    }

    .signup__title {
        font-size: 24px;
        padding: 24px 20px 10px;
    }

    .signup__text {
        font-size: 16px;
        padding: 0 20px 24px;
    }

    .signup__btn {
        padding: 14px 40px;
        font-size: 17px;
    }

    /* === VOUCHER === */
    .voucher {
        padding: 60px 16px;
    }

    .voucher_title {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .voucher_content {
        flex-direction: column;
        gap: 30px;
        padding: 25px;
    }

    .voucher_text p {
        font-size: 17px;
    }

    /* === CONTACTS === */
    .contacts {
        padding: 60px 16px;
    }

    .contacts_title {
        font-size: 36px;
    }

    .contacts_line {
        flex-direction: column;
        gap: 18px;
        font-size: 17px;
    }
}