:root {
    --accent-orange: #ff9800;
    --accent-yellow: #ffd54f;
    --accent-red: #e4172a;
    --text-dark: #1d1d1d;
    --text-muted: #555;
    --bg-light: #ffffff;
    --bg-soft: #fafafa;
    --transition-fast: 0.25s ease;
}

/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

/* базовый размер шрифта для контента */
html {
    font-size: 20px;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ------------------------------------------------------------- */
/* HERO — ДЕСКТОПНАЯ ВЕРСИЯ */
/* ------------------------------------------------------------- */

.hero {
    position: relative;
    min-height: 100vh;
    background-image: url("../img/panel.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 40px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* NAVIGATION */

.hero__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero__logo img {
    max-width: 260px;
    height: auto;
}

/* размеры меню возвращены к «комфортным» меньшим */
.hero__menu {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero__menu a {
    position: relative;
    padding-bottom: 4px;
}

.hero__menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange));
    transition: width 0.25s ease;
}

.hero__menu a:hover::after {
    width: 100%;
}

/* Кнопка CONTACT ME в навигации */

.hero__menu-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 20px;
    line-height: 1;
    background: linear-gradient(135deg, #ffb300, #ffe082);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

/* убираем подчёркивание-ховер именно у этой кнопки */
.hero__menu-cta::after {
    display: none !important;
}

.hero__menu-cta:hover {
    filter: brightness(1.05);
}

/* оптический сдвиг текста вниз */
.hero__menu-cta span {
    display: block;
    transform: translateY(2px);
}

/* MOBILE NAV TOGGLE (базовые стили) */

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    width: 32px;
    height: 24px;
    cursor: pointer;
    position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--text-dark);
    border-radius: 999px;
    transition: 0.25s;
}

.nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle-label span::before {
    content: "";
    top: -8px;
}

.nav-toggle-label span::after {
    content: "";
    bottom: -8px;
}

.nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
}

.nav-toggle:checked + .nav-toggle-label span::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ------------------------------------------------------------- */
/* HERO CONTENT (ДЕСКТОП) */
/* ------------------------------------------------------------- */

.hero__content {
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 32px;
}

.hero__text-block {
    width: 50%;
    max-width: 540px;
    margin-top: -10px;
}

.hero__spacer {
    width: 50%;
}

/* фото как <img> для мобилок/планшетов — по умолчанию скрыто */
.hero__photo-mobile {
    display: none;
    max-width: 100%;
    height: auto;
    margin: 24px 0 16px;
}

/* ------------------------------------------------------------- */
/* HERO TITLE */
/* ------------------------------------------------------------- */

.hero__title {
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
}

/* каллиграфия + размер под 20px root */
.hero__experience-label {
    font-family:"Great Vibes", cursive;
    font-weight: 400;
    letter-spacing: 0;
    font-size: 2.7rem;
    color: var(--accent-red);
    margin-bottom: -5px;
    line-height: 1.05;
}

/* GOOGLE ADS SPECIALIST */
.hero__line-main {
    font-size: 1.9rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-dark);
    white-space: nowrap;
    max-width: 55vw;
    line-height: 1.12;
}

/* ------------------------------------------------------------- */
/* BENEFIT LIST */
/* ------------------------------------------------------------- */

.hero__list {
    padding: 0;
    margin: 28px 0 38px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero__list-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #444;
}

.hero__list-item::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* обе галочки — тёмно-серые */
.hero__list-item::before {
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'>\
<path d='M6 17l7 7L26 10' stroke='%23444' stroke-width='3.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>");
}

/* акцент 5+ */

.hero__line-5plus {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--accent-red) !important;
}

/* ------------------------------------------------------------- */
/* CTA BUTTON */
/* ------------------------------------------------------------- */

.hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 20px 60px;
    border-radius: 999px;
    border: none;
    cursor: pointer;

    font-size: 1.4rem;
    font-weight: 400;          /* не жирный */
    text-transform: uppercase; /* ПРОПИСНЫЕ */
    letter-spacing: 0.5px;

    color: #ffdd55; /* жёлтый текст */

    background: linear-gradient(to bottom, #ff0000 0%, #b30000 100%);
    box-shadow: none;

    transition: transform 0.25s ease, filter 0.25s ease;
}

.hero__button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.hero__button:active {
    transform: translateY(0);
}

.hero__button--desktop { }

.hero__button--mobile {
    display: none;
}

/* ------------------------------------------------------------- */
/* СЕКЦИИ НИЖЕ HERO */
/* ------------------------------------------------------------- */

.section {
    padding: 60px 20px;
}

.section--light {
    background-color: var(--bg-soft);
}

.section__inner {
    max-width: 900px;
    margin: 0 auto;
}

.section h2 {
    margin: 0 0 18px;
    font-size: 2rem;
}

/* Увеличенное расстояние между параграфами во всех секциях */
.section p {
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 1rem;
}

.section p:last-child {
    margin-bottom: 0;
}

/* WHY section — центральный заголовок */

.section--why .section-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--accent-red);
}

/* ПОЛОСКА ПОД ЗАГОЛОВКОМ */

.section-title-line {
    width: 70%;
    height: 2px;
    margin: 20px auto 40px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 0, 0, 0.18),
        transparent
    );
}

/* ------------------------------------------------------------- */
/* WHY SECTION CARDS — ДЕСКТОП/ПЛАНШЕТ (БАЗА) */
/* ------------------------------------------------------------- */

/* Заголовок WHY */
.section--why .section-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--text-muted); /* весь заголовок серый */
}

/* Красное слово "Isn’t" */
.section--why .section-title .section-title__highlight {
    color: var(--accent-red);
}

/* Контейнер WHY */
.section--why .section__inner {
    max-width: 1100px;
}

/* Карточки WHY */
.why-cards {
    margin-top: 82px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* две колонки через flex */
.why-card {
    display: flex;
    align-items: center;
    gap: 32px;
}

.why-card--reverse {
    flex-direction: row-reverse;
}

/* каждая колонка по 50% */
.why-card__image,
.why-card__content {
    flex: 0 0 50%;
    max-width: 50%;
}

/* колонка с изображением */
.why-card__image {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* если карточка реверсная — прижимаем картинку к ПРАВОМУ краю */
.why-card--reverse .why-card__image {
    justify-content: flex-end;
}

.why-card__image img {
    display: block;
    max-width: 90%;
    height: auto;
}

/* колонка с текстом — заголовок + текст по центру по вертикали */
.why-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* заголовок карточки WHY */
.why-card__title {
    margin: 0 0 4px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-muted);      /* тот же серый, что и у заголовка секции */
    text-transform: uppercase;     /* ПРОПИСНЫЕ */
}

/* текст карточки WHY */
.why-card__text {
    margin: 0 0 16px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.why-card__text:last-child {
    margin-bottom: 0;
}

.why-card__text--chain {
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 4px;
}

/* ------------------------------------------------------------- */
/* ADVANTAGES — reuse WHY styles (same layout as WHY) */
/* ------------------------------------------------------------- */

.section--advantages .section__inner {
    max-width: 1100px; /* как в WHY */
}

.section--advantages .section-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--text-muted); /* как WHY */
}

.section--advantages .section-title .section-title__highlight {
    color: var(--accent-red);
}
/* ------------------------------------------------------------- */
/* ABOUT SECTION                                                 */
/* ------------------------------------------------------------- */

.section--about {
  background-color: #ffcc01; /* как в outcome */
  color: var(--text-dark);
}

.section--about .section__inner {
  max-width: 1100px; /* как WHY/OUTCOME */
}

/* Заголовок */
.section--about .section-title--about {
  text-align: center;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.3;
  color: var(--text-dark);
}

/* Контент */
.section--about .about-content {
  margin-top: 32px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
}

/* весь текст в ABOUT — чёрный */
.section--about .about-content,
.section--about .about-content p,
.section--about .about-content li,
.section--about .about-content strong,
.section--about .about-content em {
  color: var(--text-dark);
}

/* Фото слева */
.section--about .about-photo {
  float: left;
  width: 35%;
  height: auto;
  display: block;
  margin: 19px 24px 16px 0;
  
}

/* clearfix */
.section--about .about-content::after {
  content: "";
  display: block;
  clear: both;
}

/* Подзаголовки */
.section--about .about-content h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

/* Параграфы */
.section--about .about-content p {
  margin: 0 0 12px;
}

/* базовый список в ABOUT — как у тебя ниже */
.section--about .about-content ul {
  margin: 0 0 14px 0;
  padding-left: 2.4em;
  list-style: disc;
  list-style-position: outside;
}

.section--about .about-content ul li {
  margin-bottom: 6px;
  padding-left: 0.4em;
}

/* СПИСОК РЯДОМ С ФОТО — ключевое исправление */
.section--about .about-content ul.about-ul--near-photo {
  display: flow-root;          /* создаём BFC: ul “уходит” от float корректно */
  padding-left: 2.4em;         /* теперь будет реально двигаться */
  margin: 0 0 14px 0;
}

/* чтобы маркеры по размеру были как в обычном списке */
.section--about .about-content ul.about-ul--near-photo li::marker {
  font-size: 1em;
}

/* ------------------------------------------------------------- */
/* ABOUT — mobile                                                */
/* ------------------------------------------------------------- */

@media (max-width: 768px) {
  .section--about .section__inner {
    max-width: 600px;
  }

  .section--about .about-content {
    margin-top: 24px;
  }

  .section--about .about-photo {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px 0;
  }

  /* на мобиле делаем как обычный список */
  .section--about .about-content ul.about-ul--near-photo {
    list-style-position: outside;
    padding-left: 2.4em;
  }

  .section--about .about-content ul.about-ul--near-photo li {
    padding-left: 0.4em;
    text-indent: 0;
  }
}

/* ------------------------------------------------------------- */
/* OUTCOME SECTION                              */
/* ------------------------------------------------------------- */

.section--outcome {
    background-color: #ffcc01;
    background-image: url("../img/outcomebg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    /* сверху 80px, снизу больше воздуха */
    padding: 50px 20px 70px;
}

.section--outcome .section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Заголовок */
/* Заголовок Outcome — перекрываем общий .section h2 */
.section--outcome .section-title--outcome {
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 16px; /* меньше отступ — остальное даст полоска */
    color: var(--text-dark);
}

/* Полоска под заголовком The Outcome */
.section--outcome .section-title-line--outcome {
    width: 45%; /* уже, чем в WHY, можно подстроить по вкусу */
    height: 2px;
    margin: 16px auto 40px; /* суммарно даёт примерно тот же воздух вниз */
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 0, 0, 0.18),
        transparent
    );
}

/* Обёртка карточек */
.outcome-cards {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin: 0; /* убираем лишний внешний отступ */
}

.outcome-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.outcome-card__icon img {
    display: block;
    max-width: 96px;
    height: auto;
    margin: 0 auto 10px;
}

.outcome-card__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* --- Горизонтальное расположение трёх карточек на десктопе --- */
@media (min-width: 1024px) {
    .outcome-cards {
        display: flex;
        justify-content: space-between;
        gap: 32px;
    }

    .outcome-card {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative; /* для псевдо-элемента с линией */
    }

    /* Пунктирная вертикальная линия между карточками */
    .outcome-card:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 8px;
        bottom: 8px;
        right: -16px;                 /* половина gap (32px), чтобы линия была посередине между карточками */
        border-right: 2px dashed rgba(0, 0, 0, 0.35);
    }
}

/* ------------------------------------------------------------- */
/* EXPERIENCE SECTION                                             */
/* ------------------------------------------------------------- */
/* весь текст в EXPERIENCE — чёрный, как в ABOUT */
.section--experience,
.section--experience p,
.section--experience li,
.section--experience strong,
.section--experience em,
.section--experience a {
  color: var(--text-dark) !important;
 }
 
.section--experience {
  background-color: #ffcc01; /* как ABOUT */
  color: var(--text-dark);
}

.section--experience .section__inner {
  max-width: 1100px; /* как WHY/ABOUT/OUTCOME */
}

/* Заголовок как в ABOUT */
.section--experience .section-title--experience {
  text-align: center;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.3;
  color: var(--text-dark);
}

/* 2 колонки на десктопе */
.experience-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.experience-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* карточка: слева иконка, справа текст */
.experience-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.experience-card__icon {
  flex: 0 0 auto;
  width: 64px;
}

.experience-card__icon img {
  display: block;
  width: 64px;
  height: auto;
}

.experience-card__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
}

/* CONTACT — заголовок как в WHY */
.section--contact .section-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
  color: var(--text-muted);
}
.section--contact p {
  text-align: center;
}

/* капча: небольшой отступ */
.contact-form__captcha {
  margin-top: 6px;
}
.section--contact .contact-recaptcha {
  display: flex;
  justify-content: center;
}

.contact-form__button {
  align-self: center;
}
/* CONTACT — mobile: все поля в одну колонку */
@media (max-width: 768px) {

  /* каждый "ряд" формы превращаем в колонку */
  .section--contact .contact-form__row {
    flex-direction: column;
    gap: 14px;
  }

  /* на всякий случай: растягиваем поля на всю ширину */
  .section--contact .contact-form input,
  .section--contact .contact-form textarea {
    width: 100%;
  }

  /* капча по центру (и на мобиле тоже) */
  .section--contact .g-recaptcha {
    display: flex;
    justify-content: center;
  }
}


/* MOBILE: одна колонка, карточка — иконка сверху, текст снизу */
@media (max-width: 768px) {
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .experience-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .experience-card__icon {
    width: auto;
  }

  .experience-card__icon img {
    width: 88px; /* можно 80–96 по вкусу */
  }
}

/* ------------------------------------------------------------- */
/* CONTACT FORM */
/* ------------------------------------------------------------- */

.section--contact .section__inner {
    max-width: 640px;
}

.contact-form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form__row {
    display: flex;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #dddddd;
    font: inherit;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 2px rgba(255, 152, 0, 0.2);
}

.contact-form__button {
    align-self: center;
}
/* CONTACT — заголовок как в WHY */
.section--contact .section-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
  color: var(--text-muted);
}

/* капча: небольшой отступ */
.contact-form__captcha {
  margin-top: 6px;
}
p.contact-form__note {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.3;
  text-align: center;
  opacity: 0.7;
}



/* ------------------------------------------------------------- */
/* FOOTER */
/* ------------------------------------------------------------- */

.footer {
  padding: 20px;
  background: #111;
  color: #f5f5f5;
  font-size: 0.95rem;
  text-align: center;
}

.footer__copy {
  line-height: 1.4;
}

/* ссылки менее заметные */
.footer__links {
  margin-top: 8px;
  font-size: 0.82rem;
  opacity: 0.7;
}

.footer__links a {
  color: #f5f5f5;
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__sep {
  margin: 0 10px;
  opacity: 0.6;
}



/* ------------------------------------------------------------- */
/* ОБЩИЕ АДАПТИВНЫЕ ПРАВКИ */
/* ------------------------------------------------------------- */

@media (max-width: 1199px) {
    .hero {
        min-height: auto;
    }

    .hero__inner {
        min-height: auto;
        padding-bottom: 40px;
    }
}

/* ------------------------------------------------------------- */
/* 1024–1199px — большие планшеты / маленькие ноуты */
/* ------------------------------------------------------------- */

@media (min-width: 1024px) and (max-width: 1199px) {
    .hero__inner {
        max-width: 1160px;
        padding: 32px 40px 40px;
    }

    .hero__text-block {
        margin-left: 40px;
    }

    .hero__line-main {
        font-size: 1.9rem;
        white-space: nowrap;
        max-width: 100%;
        line-height: 1.12;
        margin-top: 6px;
        margin-bottom: 12px;
    }

    .hero__title {
        align-items: flex-start;
        text-align: left;
    }

    .why-cards {
        gap: 32px;
    }
}

/* ------------------------------------------------------------- */
/* 769–1023px — планшеты */
/* ------------------------------------------------------------- */

@media (min-width: 769px) and (max-width: 1023px) {
    .hero {
        background-image: none;
        background-color: #ffffff;
    }

    .hero__inner {
        max-width: 800px;
    }

    .hero__nav {
        padding-top: 10px;
        padding-bottom: 6px;
    }

    .hero__logo img {
        max-width: 200px;
    }

    .hero__menu {
        gap: 20px;
        font-size: 0.68rem;
    }

    .hero__menu-cta {
        height: 32px;
        padding: 0 16px;
        font-size: 0.68rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    .hero__content {
        flex-direction: column;
        align-items: center;
        padding: 24px 48px 0;
    }

    .hero__text-block {
        width: 100%;
        max-width: 520px;
        padding-left: 40px;
        text-align: center;
    }

    .hero__title {
        align-items: center;
        text-align: center;
        margin-bottom: 18px;
    }

    .hero__experience-label {
        font-size: 2.1rem;
        margin-bottom: 0;
        line-height: 1.05;
    }

    .hero__line-main {
        white-space: nowrap;
        font-size: 1.8rem;
        line-height: 1.15;
        margin-top: 10px;
        margin-bottom: 14px;
        max-width: 100%;
    }

    .hero__list {
        align-items: center;
        text-align: center;
        gap: 6px;
        margin: 12px 0 20px;
    }

    .hero__list-item {
        justify-content: center;
        line-height: 1.1;
    }

    .hero__spacer {
        display: none;
    }

    .hero__photo-mobile {
        display: block;
        max-width: 560px;
        height: auto;
        margin: 24px auto 8px;
    }

    .hero__button--desktop {
        display: none;
    }

    .hero__button--mobile {
        display: inline-flex;
        margin-top: 20px;
    }

    .hero__button {
        width: auto;
        justify-content: center;
    }

    /* ---------- WHY на планшетах (одна колонка) ---------- */

    .section--why .section__inner {
        max-width: 760px;
    }

    .why-cards {
        gap: 32px;
    }

    /* сама карточка — одна колонка */
    .why-card,
    .why-card--reverse {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        position: relative;
        width: 100%;
    }

    /* заголовок сверху из data-title */
    .why-card::before {
        content: attr(data-title);
        display: block;
        width: 100%;
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--text-dark);
        text-align: center;
        margin: 0 0 6px;
    }

    /* реальный h3 скрываем на планшетах */
    .why-card__title {
        display: none;
    }

    /* картинка и текст на всю ширину */
    .why-card__image,
    .why-card__content {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .why-card__image {
        margin: 4px auto 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .why-card__image img {
        max-width: 100%;
        height: auto;
    }

    .why-card__content {
        padding: 0;
        text-align: left;
    }

    .why-card__text {
        margin: 0 0 12px;
        line-height: 1.5;
    }

    .why-card__text:last-child {
        margin-bottom: 0;
    }
}

/* ------------------------------------------------------------- */
/* МОБИЛЬНАЯ ВЕРСИЯ (до 768px) */
/* ------------------------------------------------------------- */

@media (max-width: 768px) {
    /* мобильное меню */
    .nav-toggle-label {
        display: block;
    }

    .hero__menu {
        position: absolute;
        top: 80px;
        right: 16px;
        left: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 14px;
        background: rgba(255, 255, 255, 0.97);
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        transition: 0.25s ease;
        font-size: 0.8rem;
    }

    .nav-toggle:checked ~ .hero__menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* hero-композиция */

    .hero {
        background-image: none;
        background-color: #ffffff;
    }

    .hero__content {
        flex-direction: column;
        align-items: center;
        padding-top: 24px;
    }

    .hero__text-block {
        width: 100%;
        max-width: 500px;
        margin-top: 0;
        text-align: center;
    }

    .hero__spacer {
        display: none;
    }

    .hero__photo-mobile {
        display: block;
    }

    .hero__button--desktop {
        display: none;
    }

    .hero__button--mobile {
        display: inline-flex;
    }

    .hero__experience-label {
        font-size: 2.1rem;
        margin-bottom: 2px;
        line-height: 1.05;
    }

    .hero__line-main {
        font-size: 1.9rem;
        white-space: normal;
        max-width: 100%;
        line-height: 1.18;
        margin-top: 6px;
        margin-bottom: 10px;
    }

    .hero__title {
        margin-bottom: 16px;
    }

    .hero__list {
        margin: 16px 0 22px;
        gap: 4px;
        align-items: center;
        text-align: center;
    }

    .hero__list-item {
        font-size: 1.3rem;
        line-height: 1.1;
        justify-content: center;
    }

    .hero__button--mobile {
        margin-top: 12px;
    }

    .hero__button {
        width: auto;
        justify-content: center;
        padding: 16px 32px;
    }

    /* WHY section на мобильных */
    .section--why .section__inner {
        max-width: 600px;
    }

    .why-cards {
        gap: 24px;
    }

    /* Карточка — вертикальная колонка */
    .why-card,
    .why-card--reverse {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        position: relative;
        width: 100%;
    }

    /* Визуальный заголовок сверху: текст берётся из data-title */
    .why-card::before {
        content: attr(data-title);
        display: block;
        width: 100%;
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--text-dark);
        text-align: center;      /* центрируем заголовок */
        margin: 0 0 4px;         /* небольшой отступ вниз */
    }

    /* Сам h3 скрываем только на мобильных */
    .why-card__title {
        display: none;
    }

    /* Картинка и текст на всю ширину */
    .why-card__image,
    .why-card__content {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    /* Картинка — по центру, с меньшими отступами */
    .why-card__image {
        margin: 2px auto 4px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .why-card__image img {
        max-width: 100%;
        height: auto;
    }

    /* Текст — снизу, выравнивается влево */
    .why-card__content {
        padding: 0;
        text-align: left;
    }

    .why-card__text {
        text-align: left;
        margin: 0 0 10px;
        line-height: 1.45;
    }

    .why-card__text:last-child {
        margin-bottom: 0;
    }

    .section--outcome .section__inner {
        max-width: 600px;
    }

    /* большой зазор между заголовком и первой карточкой ТОЛЬКО на мобиле */
    .section--outcome .section-title--outcome {
        margin-top: 0;
        margin-bottom: 36px; /* можно менять на 60/80px — теперь будет работать */
    }

    .section--outcome .outcome-cards {
        flex-direction: column;   /* в колонку */
        align-items: stretch;     /* на всю ширину контейнера */
        gap: 20px;                /* вертикальный зазор между карточками */
        margin-top: 0;            /* не добавляем лишних отступов сверху */
    }

    .outcome-card {
        max-width: 100%;
    }

    /* на всякий случай добавим небольшой верхний отступ именно у первой иконки */
    .section--outcome .outcome-card:first-child .outcome-card__icon {
        margin-top: 12px;
    }
	/* ABOUT на мобиле: заголовок, линия, фото на всю ширину, потом текст */
.section--about .section__inner {
    max-width: 600px;
}

.section--about .about-content {
    margin-top: 24px;
}

/* убираем float, делаем фото на всю ширину */
.section--about .about-photo {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px 0;
}

}

/* совсем маленькие экраны */

@media (max-width: 480px) {
    .hero__experience-label {
        font-size: 1.8rem;
    }

    .hero__line-main {
        font-size: 1.6rem;
    }

    .hero__list-item {
        font-size: 1.2rem;
    }
}

/* ------------------------------------------------------------- */
/* ОСОБЫЕ БРЕЙКПОИНТЫ */
/* ------------------------------------------------------------- */

/* iPad Air (820px portrait) и Surface Pro 7 (912px portrait) */

@media (width: 820px) and (orientation: portrait),
       (width: 912px) and (orientation: portrait) {
    .hero__line-main {
        white-space: nowrap !important;
        font-size: 1.9rem;
        max-width: 100%;
        text-align: center;
        line-height: 1.15;
    }

    .hero__experience-label {
        font-size: 2.1rem;
        text-align: center;
        width: 100%;
    }

    .hero__title {
        text-align: center !important;
        align-items: center !important;
        width: 100%;
    }

    .hero__text-block {
        text-align: center !important;
        align-items: center !important;
        margin-left: 0 !important;
        padding-left: 0;
        max-width: 520px;
    }

    .hero__list {
        align-items: center !important;
        text-align: center !important;
    }

    .hero__list-item {
        justify-content: center !important;
    }
}

/* iPad Pro 1024px portrait — ведём себя как планшет (одна колонка в WHY) */
/* 1024 px (iPad Pro + Nest Hub) — WHY как на планшете: одна колонка */
@media (width: 1024px) {

    .section--why .section__inner {
        max-width: 760px;
    }

    .why-cards {
        gap: 32px;
    }

    .why-card,
    .why-card--reverse {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        position: relative;
        width: 100%;
    }

    /* заголовок сверху берём из data-title */
    .why-card::before {
        content: attr(data-title);
        display: block;
        width: 100%;
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--text-dark);
        text-align: center;
        margin: 0 0 6px;
    }

    /* настоящий h3 скрываем на этом брейкпоинте */
    .why-card__title {
        display: none;
    }

    /* картинка и текст — на всю ширину */
    .why-card__image,
    .why-card__content {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .why-card__image {
        margin: 4px auto 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .why-card__image img {
        max-width: 100%;
        height: auto;
    }

    .why-card__content {
        padding: 0;
        text-align: left;
    }

    .why-card__text {
        margin: 0 0 12px;
        line-height: 1.5;
    }

    .why-card__text:last-child {
        margin-bottom: 0;
    }
}

/* iPad Air 1180px landscape — подправляем hero и добавляем воздух в WHY */

@media (width: 1180px) and (orientation: landscape) {
    .hero__text-block {
        max-width: 560px;
        margin-left: 80px;
    }

    .hero__title {
        text-align: left;
        align-items: flex-start;
    }

    .hero__list {
        align-items: flex-start;
        text-align: left;
    }

    .hero__list-item {
        justify-content: flex-start;
    }

    .hero__experience-label {
        margin-bottom: -6px;
    }

    .hero__line-main {
        margin-top: 4px;
        margin-bottom: 14px;
    }

    /* немного воздуха по краям для всех секций на этом брейкпоинте */
    .section {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* дополнительно сужаем WHY, чтобы она не прилипала к краям */
    .section--why .section__inner {
        max-width: 960px;  /* было 1100px */
    }
}
