/* ============================================================
   DESIGN TOKENS — внутренние страницы neo-pdtr.ru
   Светлая тема, как на главной странице
   ============================================================ */

:root {
    --color-primary:     #2A7FBA;
    --color-accent:      #4ABCD4;
    --color-danger:      #FF3B30;
    --color-cta-bg:      #2A7FBA;
    --color-bg-card:     #F2F2F2;
    --color-text-main:   #4ABCD4;
    --color-text-title:  #324172;
    --color-text-body:   #717171;
    --color-text-muted:  #717171;
    --color-text-dim:    #999999;
    --color-border:      #e5e5e5;
    --font-primary:      'Montserrat', sans-serif;
    --section-padding:   60px 0;
    --container-width:   960px;
    --card-radius:       12px;
    --card-padding:      24px;
}

/* ============================================================
   BODY
   ============================================================ */

body {
    background-color: #ffffff;
}

/* ============================================================
   HEADER
   ============================================================ */

/* Хедер прозрачен до скролла — класс header--scrolled добавляет scroll.js */

.header__logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header__logo-img {
    height: 60px;
    width: 60px;
    border-radius: 14px;
    flex-shrink: 0;
}

.header__logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 27px;
    color: #ffffff;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.page-main {
    padding-top: 0;
}

.page-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.page-container--center {
    text-align: center;
}

/* ============================================================
   СЕКЦИИ
   ============================================================ */

.section-hero {
    background: url("../img/backgrounds/landing-bg.png") no-repeat center center;
    background-size: cover;
    padding: 170px 0 60px;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72vh;
}

.section-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 0;
}

.section-hero .page-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Белые секции */
.section-white,
.section-dark,
.section-darker {
    background: #ffffff;
    padding: var(--section-padding);
}

/* Секции с фоновой картинкой */
.section-bg-img,
.section-bg-img-2,
.section-bg-img-3 {
    padding: var(--section-padding);
    position: relative;
}

.section-bg-img {
    background: url("../img/backgrounds/landing-bg.png") no-repeat center center;
    background-size: cover;
}

.section-bg-img-2 {
    background: url("../img/backgrounds/abouttech-bg.png") no-repeat center center;
    background-size: cover;
}

.section-bg-img-3 {
    background: url("../img/backgrounds/online-bg.png") no-repeat center center;
    background-size: cover;
}

.section-bg-img::before,
.section-bg-img-2::before,
.section-bg-img-3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
    z-index: 0;
}

.section-bg-img > .page-container,
.section-bg-img-2 > .page-container,
.section-bg-img-3 > .page-container {
    position: relative;
    z-index: 1;
}

/* Белый текст внутри секций с картинкой */
.section-bg-img .page-h2,
.section-bg-img-2 .page-h2,
.section-bg-img-3 .page-h2,
.section-bg-img .page-h3,
.section-bg-img-2 .page-h3,
.section-bg-img-3 .page-h3 {
    color: #ffffff;
}

.section-bg-img .page-card,
.section-bg-img-2 .page-card,
.section-bg-img-3 .page-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.section-bg-img .page-card__text--body,
.section-bg-img-2 .page-card__text--body,
.section-bg-img-3 .page-card__text--body,
.section-bg-img .page-card__text,
.section-bg-img-2 .page-card__text,
.section-bg-img-3 .page-card__text {
    color: rgba(255, 255, 255, 0.88);
}

.section-bg-img .page-step,
.section-bg-img-2 .page-step,
.section-bg-img-3 .page-step {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.section-bg-img .page-step__title,
.section-bg-img-2 .page-step__title,
.section-bg-img-3 .page-step__title {
    color: #ffffff;
}

.section-bg-img .page-step__text,
.section-bg-img-2 .page-step__text,
.section-bg-img-3 .page-step__text {
    color: rgba(255, 255, 255, 0.80);
}

.section-bg-img .page-faq__item,
.section-bg-img-2 .page-faq__item,
.section-bg-img-3 .page-faq__item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.section-bg-img .page-faq__question,
.section-bg-img-2 .page-faq__question,
.section-bg-img-3 .page-faq__question {
    color: #ffffff;
}

.section-bg-img .page-faq__answer,
.section-bg-img-2 .page-faq__answer,
.section-bg-img-3 .page-faq__answer {
    color: rgba(255, 255, 255, 0.80);
}

.section-bg-img .page-checklist li,
.section-bg-img-2 .page-checklist li,
.section-bg-img-3 .page-checklist li {
    color: rgba(255, 255, 255, 0.88);
}

.section-bg-img .page-card--explain,
.section-bg-img-2 .page-card--explain,
.section-bg-img-3 .page-card--explain {
    background: rgba(255, 255, 255, 0.12);
}

.section-bg-img .page-card__subtitle,
.section-bg-img-2 .page-card__subtitle,
.section-bg-img-3 .page-card__subtitle {
    color: #ffffff;
}

/* CTA */
.section-cta {
    background: var(--color-cta-bg);
    padding: var(--section-padding);
}

/* Ссылки на другие страницы */
.section-links {
    background: #ffffff;
    padding: 50px 0;
}

/* ============================================================
   ХЛЕБНЫЕ КРОШКИ
   ============================================================ */

.breadcrumb {
    margin-bottom: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumb__link {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.breadcrumb__sep {
    margin: 0 8px;
}

.breadcrumb__current {
    color: rgba(255, 255, 255, 0.80);
}

/* ============================================================
   ТИПОГРАФИКА
   ============================================================ */

.page-h1 {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: clamp(28px, 5vw, 52px);
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.page-h1 .accent {
    color: var(--color-accent);
}

.page-h2 {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: clamp(22px, 4vw, 36px);
    color: var(--color-accent);
    margin-bottom: 32px;
}

.page-h2--sm {
    margin-bottom: 24px;
}

.page-h2--links {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 20px;
}

.page-h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.page-lead {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 32px;
}

/* ============================================================
   КНОПКИ В HERO
   ============================================================ */

.page-btn-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   КАРТОЧКИ
   ============================================================ */

.page-card {
    background: var(--color-bg-card);
    border-radius: var(--card-radius);
    padding: var(--card-padding);
}

.page-card--left {
    border-left: 3px solid var(--color-accent);
}

.page-card--top {
    border-top: 3px solid var(--color-accent);
}

.page-card__title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-accent);
    margin: 0 0 12px;
}

.page-card__title--sm {
    font-size: 14px;
    margin: 0 0 10px;
}

.page-card__text {
    color: var(--color-text-body);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.page-card__text--muted {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.page-card__text--body {
    color: var(--color-text-body);
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

/* ============================================================
   ГРИД СЕТКИ
   ============================================================ */

.page-grid-2 {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    max-width: 840px;
}

.page-grid-auto {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-grid-joints {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 40px;
}

.page-grid-links {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ============================================================
   ЧЕКЛИСТ
   ============================================================ */

.page-checklist-wrap {
    margin-top: 40px;
}

.page-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.page-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-text-body);
    font-size: 15px;
    line-height: 1.5;
}

.page-check {
    color: var(--color-accent);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============================================================
   ШАГИ (нумерованные)
   ============================================================ */

.page-steps {
    display: grid;
    gap: 20px;
}

.page-step {
    display: flex;
    gap: 20px;
    background: var(--color-bg-card);
    border-radius: var(--card-radius);
    padding: var(--card-padding);
}

.step-circle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    color: #ffffff;
}

.page-step__body {
    display: block;
}

.page-step__title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 17px;
    color: var(--color-text-title);
    margin: 0 0 8px;
}

.page-step__text {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   FAQ
   ============================================================ */

.page-faq {
    display: grid;
    gap: 16px;
}

.page-faq__item {
    background: var(--color-bg-card);
    border-radius: var(--card-radius);
    padding: 20px 24px;
    cursor: pointer;
}

.page-faq__question {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    color: var(--color-text-title);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.page-faq__question::-webkit-details-marker {
    display: none;
}

.page-faq__icon {
    color: var(--color-accent);
    font-size: 20px;
    flex-shrink: 0;
}

.page-faq__answer {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 16px 0 0;
}

/* ============================================================
   CTA СЕКЦИЯ
   ============================================================ */

.page-cta__title {
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: clamp(24px, 4vw, 40px);
    color: #ffffff;
    margin-bottom: 16px;
}

.page-cta__text {
    font-size: 18px;
    color: #bfdbfe;
    margin-bottom: 32px;
    line-height: 1.6;
}

.page-cta__btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-cta__address {
    color: #bfdbfe;
    font-size: 14px;
    margin-top: 20px;
}

.hero__button--cta {
    background: #fff;
    color: var(--color-cta-bg);
    font-size: 17px;
    padding: 18px 40px;
}

.hero__button--cta .hero__button-icon {
    background: var(--color-cta-bg);
}

.page-cta__tel {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    padding: 18px 24px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    transition: background-color 0.35s ease, border-color 0.35s ease;
}

.page-cta__tel:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
   НАВИГАЦИОННЫЕ ССЫЛКИ (блок «Другие направления»)
   ============================================================ */

.page-link-card {
    display: block;
    background: #F2F2F2;
    border-radius: 20px;
    padding: 20px;
    color: var(--color-text-title);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.4s, color 0.4s;
}

.page-link-card:hover {
    background: var(--color-primary);
    color: #ffffff;
}

/* ============================================================
   СПЕЦИАЛЬНЫЙ БЛОК (sustavah)
   ============================================================ */

.page-card--explain {
    max-width: 840px;
}

.page-card__subtitle {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-text-title);
    margin: 0 0 12px;
}

/* ============================================================
   HERO GRID
   ============================================================ */

.page-hero__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: center;
}

.page-hero__text {
    display: flex;
    flex-direction: column;
}

.page-hero__image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.page-hero__img {
    width: 100%;
    max-width: 360px;
    border-radius: 24px;
    object-fit: cover;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.6));
    display: block;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1250px) {
    .page-main {
        padding-top: 0;
    }

    .page-hero__grid {
        grid-template-columns: 1fr 300px;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .page-hero__grid {
        grid-template-columns: 1fr;
    }

    .page-hero__image {
        display: none;
    }

    .section-hero {
        min-height: auto;
        padding: 120px 0 40px;
    }
}

@media (max-width: 700px) {
    .page-grid-2 {
        grid-template-columns: 1fr;
    }

    .page-h1 {
        font-size: clamp(24px, 7vw, 36px);
    }

    .section-hero,
    .section-white,
    .section-dark,
    .section-darker,
    .section-bg-img,
    .section-bg-img-2,
    .section-bg-img-3,
    .section-cta {
        padding: 40px 0;
    }

    .section-links {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .page-step {
        flex-direction: column;
        gap: 12px;
    }

    .page-cta__btns {
        flex-direction: column;
        align-items: center;
    }
}
