/* ======================
   БАЗА
====================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* базовые фоны в цветах логотипа */
    --bg-page: #f5f5f2;
    --bg-main: #ffffff;
    --bg-soft: #e5ecef;
    --bg-dark: #020617;

    /* акцент: бирюзово-графитовый */
    --accent: #667985;
    --accent-soft: #8fa4b2;
    --accent-extra: #b7d2c9;

    /* тексты */
    --text-main: #22252b;
    --text-muted: #6c737b;
    --text-on-dark: #f5f7fa;

    /* бордеры и тени */
    --border-subtle: #d5dde3;
    --shadow-soft: 0 18px 45px rgba(17, 24, 39, 0.08);
    --radius-card: 18px;
}

body {
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-page);
    color: var(--text-main);
    line-height: 1.7;
    font-size: 15px;
}

/* ======================
   ОБЩИЕ КОНТЕЙНЕРЫ
====================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 28px;
}

/* светлый / тёмный фон секций (без картинок) */

.section-light {
    background: #f5f5f2;
}

.section-dark {
    background: radial-gradient(circle at top left, #1f2933 0, #020617 60%);
    color: var(--text-on-dark);
}

/* классы-маркировки, чтобы ничего не ломать */
.section-bg-about,
.section-bg-services,
.section-bg-banks,
.section-bg-contact {
    /* светлые секции */
}

.section-bg-reasons,
.section-bg-process,
.section-bg-reviews {
    /* тёмные секции */
}

/* ======================
   ШАПКА
====================== */

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 249, 251, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 100px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 22px;
    font-size: 14px;
    margin-left: auto;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    position: relative;
    padding: 8px 0 6px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
    transition: width 0.2s ease;
}

.nav a:hover {
    color: var(--accent);
}

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

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

.hero {
    position: relative;
    padding: 120px 0 120px;
    background: url("img/bg-hero-vvs.jpg") center center / cover no-repeat;
    color: var(--text-on-dark);
}

/* затемняющий слой */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left,
                rgba(0, 0, 0, 0.32),
                rgba(0, 0, 0, 0.65));
    z-index: 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 360px;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 720px;
    color: var(--text-on-dark);
}

.hero h1 {
    margin-top: -60px;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0;
    color: #f9fafb;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 19px;
    font-weight: 600;
    margin-top: 10px;
    color: #e5e7eb;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 15px;
    color: #e5e7eb;
    max-width: 560px;
    margin-top: 16px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* факты в hero */

.hero-facts {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    font-size: 12px;
}

.hero-facts li {
    list-style: none;
}

.hero-facts strong {
    display: block;
    font-size: 16px;
    margin-bottom: 2px;
    color: #f9fafb;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-facts span {
    color: #e5e7eb;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* колонка с калькулятором */

.hero-calculator {
    max-width: 380px;
    width: 100%;
    margin-left: auto;
}

/* калькулятор без карточки/рамки */

.hero-calculator-card {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    transform: translateY(-10px);
}

.hero-calculator-card h2 {
    font-size: 20px;
    margin-bottom: 6px;
    color: #f9fafb;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-calculator-subtitle {
    font-size: 13px;
    color: #e5e7eb;
    margin-bottom: 14px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* подписи полей в калькуляторе */
.hero .calculator-form .form-group label {
    color: #f9fafb;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* маленький текст под кнопкой */
.hero .form-note {
    color: #e5e7eb;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.12s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(102, 121, 133, 0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(102, 121, 133, 0.6);
}

.btn-outline {
    background: #ffffff;
    color: var(--accent);
    border: 1px solid rgba(102, 121, 133, 0.45);
}

.btn-outline:hover {
    background: #eef2f4;
}

.btn-link {
    padding: 0;
    border-radius: 0;
    border: none;
    background: none;
    color: var(--accent);
    font-size: 14px;
}

.btn-link:hover {
    color: #4f6573;
}

.btn-block {
    width: 100%;
}

/* ======================
   СТРИП СО СТАТИСТИКОЙ
====================== */

.strip {
    background: radial-gradient(circle at left, #343b44 0, #25272c 65%);
    padding: 20px 0;
    color: var(--text-on-dark);
}

.strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.strip-text {
    font-size: 14px;
    max-width: 420px;
    color: #e5e7eb;
}

.strip-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.strip-stat {
    display: flex;
    flex-direction: column;
}

.strip-value {
    font-size: 18px;
    font-weight: 600;
}

.strip-label {
    font-size: 12px;
    color: #9ca3af;
}

/* ======================
   О КОМПАНИИ
====================== */

.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: flex-start;
}

.about-inner p {
    font-size: 15px;
    margin-bottom: 14px;
    color: var(--text-main);
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-card {
    padding: 20px 20px 22px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.about-card h3 {
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
    color: var(--text-main);
}

.about-card p {
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
    color: #2a3036;
}

/* ======================
   ПОЧЕМУ ВЫБИРАЮТ
====================== */

.section-bg-reasons h2 {
    text-align: center;
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* ======================
   УСЛУГИ
====================== */

#services h2 {
    text-align: center;
}

.services-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 20px 22px;
    color: var(--text-main);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card h3 {
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
    color: var(--text-main);
}

.service-card p {
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #2a3036;
    font-weight: 500;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.7);
}

.service-card-wide {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

/* ======================
   ЭТАПЫ РАБОТЫ
====================== */

#process h2 {
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* ======================
   БАНКИ
====================== */

.banks-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-align: center;
}

.banks-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    align-items: center;
}

.bank-card {
    padding: 10px 14px;
    background: #f7f8fa;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
}

/* фикс размера логотипов */
.bank-card img {
    width: 110px;
    height: auto;
    max-height: 40px;
    object-fit: contain;
    display: block;
}

/* ======================
   ОТЗЫВЫ
====================== */

#reviews h2 {
    text-align: center;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* ======================
   КОНТАКТЫ
====================== */

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
}

.contact-owner-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.9);
    padding: 18px 18px 20px;
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-subtle);
}

.contact-owner-photo {
    width: 100%;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 12px;
}

.contact-owner-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.contact-owner-role {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 6px;
}

.contact-owner-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* панель контактов без рамки, слегка прозрачная */

.contact-panel {
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-main);
    padding: 24px 22px 24px;
    border-radius: var(--radius-card);
    border: none;
    box-shadow: none;
}

.contact-panel h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.contact-lead {
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 14px;
}

.contact-panel .contact-list {
    list-style: none;
    font-size: 14px;
    margin-bottom: 20px;
    padding-left: 0;
    color: var(--text-main);
}

.contact-panel .contact-list li + li {
    margin-top: 4px;
}

.contact-form {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

/* форма */

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: var(--text-main);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    font-size: 13px;
    color: var(--text-main);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(102, 121, 133, 0.4);
}

.form-note {
    margin-top: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

/* сообщения статуса отправки формы */

.form-status {
    margin-top: 10px;
    font-size: 13px;
    color: #16a34a;
}

.form-status.error {
    color: #b91c1c;
}

/* ======================
   ПОДВАЛ
====================== */

.footer {
    background: #181a1e;
    border-top: 1px solid rgba(120, 130, 140, 0.4);
    padding: 16px 0 18px;
    font-size: 12px;
    color: #9ca3af;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

/* ======================
   ШРИФТЫ ДЛЯ ЗАГОЛОВКОВ / КНОПОК
====================== */

.section-bg-banks h2 {
    text-align: center;
}

h1, h2, h3,
.nav a,
.btn {
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ======================
   ШЕСТИГРАННЫЕ СТЕКЛЯННЫЕ КАРТОЧКИ
   (Почему выбирают / Как мы работаем / Отзывы)
====================== */

.reasons-grid .reason-item,
.steps .step,
.reviews-grid .review-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;

    /* симметричный шестигранник
       верхняя грань уже, чтобы не казалось «расплющенным» */
    clip-path: polygon(
        28% 0,
        72% 0,
        100% 50%,
        72% 100%,
        28% 100%,
        0 50%
    );

    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);

    padding: 20px 26px;
    transition:
        transform 0.2s ease-out,
        box-shadow 0.2s ease-out,
        background 0.2s ease-out,
        border-color 0.2s ease-out;
}

/* текст светлый и читаемый */

.reasons-grid .reason-item,
.reasons-grid .reason-item *,
.steps .step,
.steps .step *,
.reviews-grid .review-card,
.reviews-grid .review-card * {
    color: #f9fafb;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* hover-эффект: стекло поднимается и чуть светлеет */

.reasons-grid .reason-item:hover,
.steps .step:hover,
.reviews-grid .review-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 26px 55px rgba(0, 0, 0, 0.9);
}

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

@media (max-width: 960px) {
    .hero {
        padding: 90px 0 100px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-inner {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-calculator {
        max-width: 100%;
        width: 100%;
    }

    .strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .about-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card-wide {
        grid-column: 1 / -1;
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-owner-card {
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    .header-inner {
        justify-content: space-between;
    }

    .nav {
        display: none;
    }

    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 72px 0 84px;
    }

    .strip {
        padding: 18px 0;
    }

    .hero-facts {
        grid-template-columns: 1fr;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-panel h2 {
        font-size: 22px;
    }

    .hero-calculator-card {
        transform: translateY(0);
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    /* на мобиле — обычные прямоугольники, без clip-path */
    .reasons-grid .reason-item,
    .steps .step,
    .reviews-grid .review-card {
        clip-path: none;
        border-radius: 16px;
    }
}
/* ===========================
   ВОЗВРАТ ВСЕХ ФОНОВЫХ КАРТИНОК СЕКЦИЙ
   =========================== */

/* hero как был (гора) */
.hero {
    background: url("img/bg-hero-vvs.jpg") center center / cover no-repeat;
}

/* остальные секции */
.section-bg-about {
    background: url("img/bg-about-vvs.jpg") center center / cover no-repeat;
}

.section-bg-services {
    background: url("img/bg-services-vvs.jpg") center center / cover no-repeat;
}

.section-bg-process {
    background: url("img/bg-process-vvs.jpg") center center / cover no-repeat;
}

.section-bg-reasons {
    background: url("img/bg-reasons-vvs.jpg") center center / cover no-repeat;
}

.section-bg-banks {
    background: url("img/bg-banks-vvs.jpg") center center / cover no-repeat;
}

.section-bg-reviews {
    background: url("img/bg-reviews-vvs.jpg") center center / cover no-repeat;
}

.section-bg-contact {
    background: url("img/bg-contact-vvs.jpg") center center / cover no-repeat;
}

/* немного общего затемнения для тёмных секций,
   чтобы текст и стекло читались */
.section-bg-reasons,
.section-bg-process,
.section-bg-reviews {
    position: relative;
}

.section-bg-reasons::before,
.section-bg-process::before,
.section-bg-reviews::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left,
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.7)
    );
    z-index: 0;
}

.section-bg-reasons .container,
.section-bg-process .container,
.section-bg-reviews .container {
    position: relative;
    z-index: 1;
}

/* ===========================
   КАРТОЧКИ = КВАДРАТНОЕ МАТОВОЕ СТЕКЛО
   =========================== */

/* светлые карточки (на светлых фонах) */
.about-card,
.service-card,
.contact-owner-card,
.contact-panel,
.bank-card {
    position: relative;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* текст там обычный тёмный */
.about-card,
.about-card * ,
.service-card,
.service-card * ,
.contact-owner-card,
.contact-owner-card * ,
.contact-panel,
.contact-panel * ,
.bank-card,
.bank-card * {
    color: #111827;
    text-shadow: none;
}

/* тёмные карточки (на тёмных фонах: почему, этапы, отзывы) */
.reason-item,
.step,
.review-card {
    position: relative;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.60);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 18px 20px;
    /* убиваем все прошлые фигурные формы */
    clip-path: none;
}

/* светлый читаемый текст на тёмных стеклянных карточках */
.reason-item,
.reason-item * ,
.step,
.step * ,
.review-card,
.review-card * {
    color: #f9fafb;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* лёгкий hover для всех карточек */
.about-card:hover,
.service-card:hover,
.contact-owner-card:hover,
.contact-panel:hover,
.bank-card:hover,
.reason-item:hover,
.step:hover,
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
    transition:
        transform 0.18s ease-out,
        box-shadow 0.18s ease-out,
        background 0.18s ease-out;
}

/* ===========================
   ФИКС ДЛЯ РАЗДЕЛА БАНКИ
   =========================== */

.bank-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-card img {
    max-width: 120px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ===========================
   УБИРАЕМ ШЕСТИГРАННИКИ И КЛИПЫ,
   ЕСЛИ ГДЕ-ТО ЕЩЁ ОСТАЛИСЬ
   =========================== */

.reasons-grid .reason-item,
.steps .step,
.reviews-grid .review-card {
    clip-path: none !important;
    border-radius: 18px;
}

/* на мобильных оставляем всё тем же,
   просто уменьшаем тень, чтобы не было тяжело */
@media (max-width: 720px) {
    .about-card,
    .service-card,
    .contact-owner-card,
    .contact-panel,
    .bank-card,
    .reason-item,
    .step,
    .review-card {
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
        transform: none;
    }
}
/* ===========================
   ГЛОБАЛЬНЫЕ МАТОВЫЕ КАРТОЧКИ
   для всех разделов
   =========================== */

/* общие настройки для ВСЕХ карточек */
.about-card,
.service-card,
.reason-item,
.step,
.review-card,
.contact-owner-card,
.contact-panel,
.bank-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;

    border: none !important;          /* убираем любые рамки */
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.40);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        transform 0.22s ease-out,
        box-shadow 0.22s ease-out,
        background 0.22s ease-out;
}

/* --- светлые карточки (О компании, Услуги, контакты, банки) --- */
.about-card,
.service-card,
.contact-owner-card,
.contact-panel,
.bank-card {
    background: rgba(249, 250, 251, 0.26);  /* более прозрачное стекло */

    color: #0f172a;
}

.about-card *,
.service-card *,
.contact-owner-card *,
.contact-panel *,
.bank-card * {
    color: #0f172a;
    text-shadow: none;
}

/* --- тёмные карточки (Почему выбирают, Как мы работаем, Отзывы) --- */
.reason-item,
.step,
.review-card {
    background: rgba(15, 23, 42, 0.38);     /* тоже более прозрачное стекло */

    color: #f9fafb;
}

.reason-item *,
.step *,
.review-card * {
    color: #f9fafb;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* --- эффект движения при наведении для всех карточек --- */
.about-card:hover,
.service-card:hover,
.contact-owner-card:hover,
.contact-panel:hover,
.bank-card:hover,
.reason-item:hover,
.step:hover,
.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.85);
    background-color: rgba(255, 255, 255, 0.03); /* лёгкое «подсветление» */
}

/* немного подправим банки, чтобы раздел не раздувался */
.bank-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
}

.bank-card img {
    max-width: 120px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* на мобильных тени помягче и без движения */
@media (max-width: 720px) {
    .about-card,
    .service-card,
    .contact-owner-card,
    .contact-panel,
    .bank-card,
    .reason-item,
    .step,
    .review-card {
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
        transform: none;
    }

    .about-card:hover,
    .service-card:hover,
    .contact-owner-card:hover,
    .contact-panel:hover,
    .bank-card:hover,
    .reason-item:hover,
    .step:hover,
    .review-card:hover {
        transform: none;
    }
}
/* =======================================
   1. О КОМПАНИИ – читаемый текст + стекло
   ======================================= */

/* затемняем фон, чтобы поверх было видно текст */
.section-bg-about {
    position: relative;
    color: #f9fafb;
}

.section-bg-about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(6, 10, 20, 0.82) 0%,
        rgba(6, 10, 20, 0.75) 45%,
        rgba(6, 10, 20, 0.35) 100%
    );
    z-index: 0;
}

.section-bg-about .about-inner {
    position: relative;
    z-index: 1;
}

/* текстовый блок слева тоже на стекле */
.about-text {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 26px;
    padding: 24px 26px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75);
}

.about-text h2 {
    color: #f9fafb;
    margin-bottom: 14px;
}

.about-text p {
    color: #e5e7eb;
}

/* карточки "о компании" — светлый текст, более прозрачное стекло */
.about-card {
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: none;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.8);
    color: #f9fafb;
}

.about-card h3 {
    color: #f9fafb;
}

.about-card p {
    color: #e5e7eb;
}

/* общий эффект движения для всех карточек сайта */
.about-card,
.service-card,
.reason-item,
.step,
.review-card,
.bank-card,
.contact-panel {
    transition:
        transform 0.18s ease-out,
        box-shadow 0.18s ease-out,
        background 0.18s ease-out;
}

.about-card:hover,
.service-card:hover,
.reason-item:hover,
.step:hover,
.review-card:hover,
.bank-card:hover,
.contact-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9);
}

/* =======================================
   2. Почему выбирают / Как работаем / Отзывы
   – более прозрачное тёмное стекло
   ======================================= */

.reason-item,
.step,
.review-card {
    background: rgba(15, 23, 42, 0.45);  /* было почти глухо тёмное */
    border: none;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #f9fafb;
}

.reason-item *,
.step *,
.review-card * {
    color: #f9fafb;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* акцент в отзывах по имени/городу */
.review-author {
    color: #7ee0ff;         /* мягкий бирюзовый акцент */
    font-weight: 600;
}

/* =======================================
   3. Услуги – светлое стекло, читаемый текст
   ======================================= */

.section-bg-services {
    position: relative;
    color: #111827;
}

.section-bg-services::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.7) 40%,
        rgba(255, 255, 255, 0.35) 100%
    );
    z-index: 0;
}

.section-bg-services .container {
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.78);
    border: none;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.service-card h3,
.service-card p {
    color: #111827;
    text-shadow: none;
}

/* =======================================
   4. Банки – затемняем фон, подсвечиваем текст
   ======================================= */

.section-bg-banks {
    position: relative;
    color: #f9fafb;
}

.section-bg-banks::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.8) 0%,
        rgba(15, 23, 42, 0.55) 40%,
        rgba(15, 23, 42, 0.25) 100%
    );
    z-index: 0;
}

.section-bg-banks .container {
    position: relative;
    z-index: 1;
}

.section-bg-banks h2,
.section-bg-banks .banks-subtitle {
    color: #f9fafb;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* логотипы банков тоже на стекле */
.bank-card {
    background: rgba(255, 255, 255, 0.82);
    border: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* =======================================
   5. Контакты – подсветить карточку формы
   ======================================= */

.contact-panel {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
    color: #111827;
}

.contact-panel h2,
.contact-panel .contact-lead,
.contact-panel .contact-list li,
.contact-panel .form-group label,
.contact-panel .form-note {
    color: #111827;
}
/* Ещё более прозрачное стекло для карточек */

/* Почему выбирают, Как мы работаем, Отзывы */
.reasons-grid .reason-item,
.steps .step,
.reviews-grid .review-card {
    background: rgba(15, 23, 42, 0.30);      /* было 0.45 */
}

/* hover — чуть плотнее, но всё ещё полупрозрачное */
.reasons-grid .reason-item:hover,
.steps .step:hover,
.reviews-grid .review-card:hover {
    background: rgba(15, 23, 42, 0.50);      /* было 0.7 */
}

/* Наши услуги — светлое стекло */
.service-card {
    background: rgba(255, 255, 255, 0.65);   /* было ~0.78 */
}

/* при наведении немного усиливаем, но не до глухого белого */
.service-card:hover {
    background: rgba(255, 255, 255, 0.78);
}
/* ==== Супер-прозрачное стекло для карточек ==== */

/* ПОЧЕМУ ВЫБИРАЮТ */
.section-bg-reasons .reason-item {
    background: rgba(6, 12, 23, 0.30) !important; /* прозрачнее */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* НАШИ УСЛУГИ */
#services .service-card {
    background: rgba(255, 255, 255, 0.55) !important; /* хорошо видно фон */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* КАК МЫ РАБОТАЕМ */
#process .step {
    background: rgba(6, 12, 23, 0.30) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* ОТЗЫВЫ КЛИЕНТОВ */
#reviews .review-card {
    background: rgba(6, 12, 23, 0.30) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Убираем старые плотные плёнки поверх карточек,
   чтобы они не мешали прозрачности */
.section-bg-reasons .reason-item::before,
#process .step::before,
#reviews .review-card::before,
#services .service-card::before {
    background: none !important;
}
/* Наши услуги — ещё более прозрачные карточки */
#services .service-card {
    background: rgba(255, 255, 255, 0.10) !important; /* было 0.55 */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
