/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 48px;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    filter: brightness(0.25) saturate(0.55);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(14, 28, 54, 0.93) 0%,
            rgba(52, 93, 160, 0.45) 55%,
            rgba(14, 28, 54, 0.85) 100%);
}

/*.hero-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #F4F6F9, transparent);
    z-index: 1;
}*/

/* Container */
.hero-container {
    position: relative;
    z-index: 10;
    max-width: 147rem;
    margin: 0 auto;
    padding: 80px 48px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
}

/* ===== LEFT ===== */
.hero-left {
    max-width: 710px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 7px 18px 7px 11px;
    margin-bottom: 24px;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.hero-badge span {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.hero-title {
    font-size: 44px;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.hero-title .underline {
    position: relative;
    display: inline;
}

.hero-title .underline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 3px;
    background: #C24036;
    border-radius: 2px;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-desc strong {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    background: #C24036;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all .3s;
    box-shadow: 0 6px 20px rgba(194, 64, 54, 0.3);
    position: relative;
}

.btn-primary:hover {
    background: #A83530;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(194, 64, 54, 0.4);
}

.btn-primary svg {
    width: 16px;
    height: 16px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all .3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-2px);
}

.btn-secondary svg {
    width: 16px;
    height: 16px;
}

/* ===== RIGHT — FORM ===== */
.hero-right {
    flex-shrink: 0;
    width: 360px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #345DA0, #C24036);
    border-radius: 18px 18px 0 0;
}

.hc-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.hc-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    margin-bottom: 20px;
}

/* Phone inside card */
.hc-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all .3s;
    margin-bottom: 18px;
}

.hc-phone:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.hc-phone-icon {
    width: 42px;
    height: 42px;
    background: #345DA0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hc-phone-icon svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

.hc-phone-label {
    font-size: 15px;
    line-height: 21px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.hc-phone-num {
    font-size: 20px;
    line-height: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.3px;
}

/* Divider */
.hc-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.hc-divider::before,
.hc-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.hc-divider span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.28);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    white-space: nowrap;
}

/* Form */
.hc-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hc-input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    outline: none;
    transition: all .3s;
}

.hc-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.hc-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.hc-submit {
    width: 100%;
    padding: 14px;
    background: #345DA0;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all .3s;
    margin-top: 2px;
}

.hc-submit:hover {
    background: #2A4D87;
}

.hc-privacy {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.22);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

.hc-privacy a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 24px 80px;
        gap: 36px;
    }

    .hero-right {
        width: 100%;
        max-width: 400px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 48px 16px 70px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
        width: 100%;
    }

    .hero-right {
        max-width: 100%;
    }
}

/* ===== ACCORDION STYLE SERVICES ===== */

.services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-row {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.service-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #345DA0;
    opacity: 0;
    border-radius: 14px 0 0 14px;
    transition: opacity 0.3s;
}

.service-row:hover {
    border-color: #C7D3E5;
    box-shadow: 0 4px 20px rgba(52, 93, 160, 0.07);
}

.service-row:hover::before {
    opacity: 1;
}

.service-row.active {
    border-color: #345DA0;
    box-shadow: 0 8px 32px rgba(52, 93, 160, 0.1);
}

.service-row.active::before {
    opacity: 1;
}

.service-row-header {
    display: flex;
    align-items: center;
    padding: 22px 28px;
    gap: 20px;
    user-select: none;
}

.service-num {
    font-size: 13px;
    font-weight: 800;
    color: #345DA0;
    background: linear-gradient(135deg, #EBF0F8, #D6E0F0);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.service-row.active .service-num {
    background: #345DA0;
    color: #fff;
}

.service-icon-wrap {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #F7F9FC, #EEF2F8);
    border: 1px solid #E8EDF4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.service-row:hover .service-icon-wrap {
    background: linear-gradient(135deg, #EBF0F8, #D6E0F0);
    border-color: #D0D9E8;
}

.service-row.active .service-icon-wrap {
    background: linear-gradient(135deg, #345DA0, #4A7BC8);
    border-color: #345DA0;
}

.service-icon-wrap svg {
    width: 22px;
    height: 22px;
    color: #345DA0;
    transition: color 0.3s;
}

.service-row.active .service-icon-wrap svg {
    color: #fff;
}

.service-main-info {
    flex: 1;
    min-width: 0;
}

.service-title {
    font-size: 17px;
    font-weight: 700;
    color: #1A2B42;
    margin-bottom: 3px;
    line-height: 1.3;
}

.service-brief {
    font-size: 16px;
    color: #8C9BB0;
    font-weight: 500;
    line-height: 1.4;
}

.service-price-badge {
    background: linear-gradient(135deg, #F7F9FC, #EEF2F8);
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 8px 18px;
    text-align: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.service-row:hover .service-price-badge {
    border-color: #D0D9E8;
}

.service-price-label {
    font-size: 10px;
    color: #8C9BB0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.service-price-value {
    font-size: 18px;
    font-weight: 800;
    color: #345DA0;
    line-height: 1.2;
}

.service-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F4F6F9;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.service-row:hover .service-toggle {
    background: #EBF0F8;
    border-color: #D0D9E8;
}

.service-row.active .service-toggle {
    background: #345DA0;
    border-color: #345DA0;
}

.service-toggle svg {
    width: 16px;
    height: 16px;
    color: #8C9BB0;
    transition: all 0.3s;
}

.service-row.active .service-toggle svg {
    color: #fff;
    transform: rotate(180deg);
}

/* Expandable Content */
.service-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-row.active .service-expand {
    max-height: 500px;
}

.service-expand-inner {
    padding: 0 28px 24px 90px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.service-description {
    flex: 1;
    font-size: 16px;
    color: #4A5B73;
    line-height: 1.7;
}

.service-description p {
    margin-bottom: 12px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #F7F9FC;
    border: 1px solid #E8EDF4;
    border-radius: 8px;
    padding: 5px 11px;
    font-size: 16px;
    color: #4A5B73;
    font-weight: 500;
}

.service-tag .dot {
    width: 4px;
    height: 4px;
    background: #C24036;
    border-radius: 50%;
    flex-shrink: 0;
}

.service-expand-cta {
    flex-shrink: 0;
}

.service-expand-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #345DA0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s;
    white-space: nowrap;
}

.service-expand-cta a:hover {
    background: #2A4D87;
}

.service-expand-cta a svg {
    width: 14px;
    height: 14px;
}

/* Divider rows */
.service-divider {
    height: 1px;
    background: transparent;
}

.section-cta-bar {
    margin-top: 40px;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-bar-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1A2B42;
    margin-bottom: 4px;
}

.cta-bar-text p {
    font-size: 15px;
    color: #6B7A8D;
}

.cta-bar-text .phone-hl {
    color: #C24036;
    font-weight: 700;
}

.cta-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #345DA0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.cta-bar-btn:hover {
    color: #fff;
    background: #2A4D87;
}

@media (max-width: 900px) {
    .service-expand-inner {
        flex-direction: column;
        padding-left: 28px;
        gap: 16px;
    }

    .section-cta-bar {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .service-row-header {
        padding: 16px 18px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .service-num {
        display: none;
    }

    .service-price-badge {
        order: 5;
        width: 100%;
        margin-top: 4px;
    }

    .service-expand-inner {
        padding: 0 18px 20px 18px;
    }

    .section-header h2 {
        font-size: 28px;
    }
}

.section {
    margin: 0 auto;
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #345DA0;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 16px;
    color: #6B7A8D;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-header .accent-line {
    width: 60px;
    height: 3px;
    background: #C24036;
    margin: 16px auto 0;
    border-radius: 2px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px 28px 28px;
    position: relative;
    border: 1px solid #E2E8F0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #345DA0;
    border-radius: 16px 16px 0 0;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(52, 93, 160, 0.12), 0 8px 24px rgba(52, 93, 160, 0.08);
    border-color: #345DA0;
}

.card:hover::before {
    opacity: 1;
}

.card.popular {
    border-color: #345DA0;
    box-shadow: 0 8px 32px rgba(52, 93, 160, 0.1);
}

.card.popular::before {
    opacity: 1;
    height: 4px;
    background: linear-gradient(90deg, #345DA0, #4A7BC8);
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #C24036;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #EBF0F8, #D6E0F0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    color: #345DA0;
}

.card-title {
    font-size: 19px;
    font-weight: 700;
    color: #1A2B42;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-subtitle {
    font-size: 15px;
    color: #8C9BB0;
    margin-bottom: 20px;
    font-weight: 500;
}

.card-price-block {
    background: linear-gradient(135deg, #F7F9FC, #EEF2F8);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 22px;
    text-align: center;
    border: 1px solid #E2E8F0;
}

.card-price-label {
    font-size: 12px;
    color: #8C9BB0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-price {
    font-size: 34px;
    font-weight: 800;
    color: #345DA0;
    line-height: 1.1;
    letter-spacing: -1px;
}

.card-price span {
    font-size: 20px;
    font-weight: 600;
}

.card-services {
    flex: 1;
    margin-bottom: 24px;
}

.services-title {
    font-size: 12px;
    font-weight: 700;
    color: #8C9BB0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.service-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    background: #F7F9FC;
    border: 1px solid #E8EDF4;
    border-radius: 8px;
    padding: 6px 11px;
    font-size: 14px;
    color: #4A5B73;
    font-weight: 500;
    line-height: 1.3;
    transition: all 0.2s;
}

.service-tag:hover {
    background: #EEF2F8;
    border-color: #D0D9E8;
}

.service-tag .tag-dot {
    width: 5px;
    height: 5px;
    background: #345DA0;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.5;
}

.card.popular .service-tag .tag-dot {
    opacity: 0.8;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    color: #4A5B73;
    line-height: 1.45;
}

.service-list li svg {
    width: 16px;
    height: 16px;
    color: #345DA0;
    flex-shrink: 0;
    margin-top: 1px;
    opacity: 0.7;
}

.card.popular .service-list li svg {
    opacity: 1;
}

.card-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: 2px solid #345DA0;
    background: transparent;
    color: #345DA0;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.card-btn:hover {
    background: #345DA0;
    color: white;
}

.card.popular .card-btn {
    background: #345DA0;
    color: white;
    border-color: #345DA0;
}

.card.popular .card-btn:hover {
    background: #2A4D87;
    border-color: #2A4D87;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.section-footer p {
    font-size: 16px;
    color: #6B7A8D;
    line-height: 1.6;
}

.section-footer a {
    color: #345DA0;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #345DA0;
}

.section-footer a:hover {
    border-bottom-style: solid;
}

.phone-highlight {
    color: #C24036;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .card-price {
        font-size: 30px;
    }
}

/* ==========================================================
   КАТЕГОРИИ — СВЕТЛЫЙ СТИЛЬ
   Primary:  #345DA0
   Accent:   #C24036 (используется минимально, в деталях)
   ========================================================== */

/* --- ПАЛИТРА ДЛЯ БЫСТРОЙ ПРАВКИ --- */
:root {
    --cat-primary: #345DA0;
    --cat-primary-light: #4a7abf;
    --cat-primary-pale: #eef3fa;
    --cat-primary-bg: #f6f8fb;
    --cat-accent: #C24036;
    --cat-text: #2c2c2c;
    --cat-text-secondary: #5e6778;
    --cat-text-muted: #8c95a5;
    --cat-border: #e2e7ef;
    --cat-card-bg: #ffffff;
    --cat-radius: 14px;
}

/* ==================== СЕКЦИЯ ==================== */
.categories-section {
    padding: 64px 0 80px;
    background-color: var(--cat-primary-bg);
    position: relative;
}

.categories-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== ЗАГОЛОВОК ==================== */
.categories-header {
    text-align: center;
    margin-bottom: 44px;
}

.categories-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--cat-text);
    margin: 0 0 8px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.categories-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--cat-primary);
    margin: 14px auto 0;
    border-radius: 2px;
}

.categories-subtitle {
    font-size: 16px;
    color: var(--cat-text-muted);
    margin: 14px 0 0;
    font-weight: 400;
}

/* ==================== СЕТКА ==================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* ==================== КАРТОЧКА ==================== */
.category-card {
    background: var(--cat-card-bg);
    border-radius: var(--cat-radius);
    overflow: hidden;
    border: 1px solid var(--cat-border);
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 12px 36px rgba(52, 93, 160, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(52, 93, 160, 0.2);
}

/* ==================== ИЗОБРАЖЕНИЕ ==================== */
.card-image-link {
    display: block;
    text-decoration: none;
}

.card-image-wrap {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background: var(--cat-primary-pale);
}

.card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.category-card:hover .card-image {
    transform: scale(1.06);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 50%,
            rgba(52, 93, 160, 0.08) 100%);
    pointer-events: none;
}

/* --- Бейджик количества --- */
.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--cat-card-bg);
    color: var(--cat-primary);
    font-size: 14px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.2px;
    z-index: 2;
}

/* ==================== ТЕЛО ==================== */
.card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* --- Заголовок --- */
.card-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.card-title a {
    color: var(--cat-text);
    text-decoration: none;
    transition: color 0.25s ease;
}

.card-title a:hover {
    color: var(--cat-primary);
}

/* --- Описание (для простых карточек) --- */
.card-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--cat-text-secondary);
    margin: 0 0 auto;
    padding-bottom: 14px;
}

/* ==================== ПОДКАТЕГОРИИ ==================== */
.card-subcategories {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    padding-bottom: 14px;
}

.card-subcategories li {
    border-bottom: 1px solid #f0f2f5;
}

.card-subcategories li:last-child {
    border-bottom: none;
}

.card-subcategories li a {
    display: flex;
    align-items: center;
    padding: 8px 0 8px 18px;
    font-size: 16px;
    color: var(--cat-text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}

/* Точка-буллет */
.card-subcategories li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cat-border);
    transition: all 0.25s ease;
}

.card-subcategories li a:hover {
    color: var(--cat-primary);
    padding-left: 22px;
}

.card-subcategories li a:hover::before {
    background: var(--cat-accent);
    box-shadow: 0 0 0 3px rgba(194, 64, 54, 0.12);
}

/* ==================== ССЫЛКА «СМОТРЕТЬ ВСЕ» ==================== */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cat-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.25s ease;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid #f0f2f5;
}

.card-link svg {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.card-link:hover {
    color: var(--cat-primary-light);
}

.card-link:hover svg {
    transform: translateX(4px);
}

/* ==================== ЛЕВАЯ ПОЛОСКА-АКЦЕНТ ==================== */
.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--cat-primary);
    border-radius: 0 2px 2px 0;
    transition: height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.category-card:hover::after {
    height: 100%;
}

/* ==================== АНИМАЦИЯ ПОЯВЛЕНИЯ ==================== */
.category-card {
    opacity: 0;
    transform: translateY(24px);
    animation: catCardIn 0.5s ease forwards;
}

.category-card:nth-child(1) {
    animation-delay: 0.04s;
}

.category-card:nth-child(2) {
    animation-delay: 0.08s;
}

.category-card:nth-child(3) {
    animation-delay: 0.12s;
}

.category-card:nth-child(4) {
    animation-delay: 0.16s;
}

.category-card:nth-child(5) {
    animation-delay: 0.20s;
}

.category-card:nth-child(6) {
    animation-delay: 0.24s;
}

.category-card:nth-child(7) {
    animation-delay: 0.28s;
}

.category-card:nth-child(8) {
    animation-delay: 0.32s;
}

.category-card:nth-child(9) {
    animation-delay: 0.36s;
}

.category-card:nth-child(10) {
    animation-delay: 0.40s;
}

@keyframes catCardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   АДАПТИВ
   ========================================================== */

/* 3 колонки */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .categories-title {
        font-size: 30px;
    }
}

/* 2 колонки */
@media (max-width: 900px) {
    .categories-section {
        padding: 48px 0 60px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .categories-header {
        margin-bottom: 32px;
    }

    .categories-title {
        font-size: 26px;
    }

    .card-title {
        font-size: 17px;
    }

    .card-body {
        padding: 16px 16px 18px;
    }
}

/* 1 колонка — мобильная горизонтальная раскладка */
@media (max-width: 600px) {
    .categories-section {
        padding: 36px 0 48px;
    }

    .categories-container {
        padding: 0 16px;
    }

    .categories-header {
        margin-bottom: 24px;
    }

    .categories-title {
        font-size: 22px;
    }

    .categories-subtitle {
        font-size: 14px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Горизонтальная карточка */
    .category-card {
        flex-direction: row;
        border-radius: 12px;
    }

    .category-card::after {
        width: 3px;
        border-radius: 0 2px 2px 0;
    }

    .category-card:hover {
        transform: translateY(-3px);
    }

    .card-image-link {
        flex-shrink: 0;
        width: 120px;
    }

    .card-image-wrap {
        padding-top: 0;
        height: 100%;
        min-height: 150px;
    }

    .card-image {
        border-radius: 12px 0 0 12px;
    }

    .card-image-overlay {
        background: linear-gradient(to right,
                transparent 40%,
                rgba(255, 255, 255, 0.3) 100%);
    }

    .card-badge {
        display: none;
    }

    .card-body {
        padding: 14px 14px 14px;
        justify-content: center;
    }

    .card-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .card-description {
        font-size: 13px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        padding-bottom: 10px;
    }

    .card-subcategories li a {
        font-size: 13px;
        padding: 5px 0 5px 14px;
    }

    /* Показываем не больше 3 подкатегорий */
    .card-subcategories li:nth-child(n+4) {
        display: none;
    }

    .card-link {
        font-size: 11px;
        padding-top: 8px;
        letter-spacing: 0.4px;
    }
}

@media (max-width: 380px) {
    .card-image-link {
        width: 100px;
    }

    .card-title {
        font-size: 14px;
    }

    .card-subcategories li a {
        font-size: 12px;
    }
}

.seo-section {
    background: #f7f8fa;
    border-top: 3px solid #345DA0;
    padding: 56px 0 48px;
    color: #444;
}

.seo-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.seo-section__title {
    font-size: 20px;
    font-weight: 700;
    color: #345DA0;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.seo-section__subtitle {
    font-size: 16px;
    color: #888;
    margin: 0 0 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #dde2ea;
}

.seo-section__intro {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    max-width: 900px;
}

.seo-section__intro strong {
    color: #345DA0;
    font-weight: 600;
}

.seo-section__gost-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #b8c8e0;
    border-left: 3px solid #345DA0;
    border-radius: 4px;
    padding: 8px 14px;
    font-size: 16px;
    color: #555;
    margin-bottom: 28px;
}

.seo-section__gost-badge span {
    font-weight: 700;
    color: #345DA0;
}

.seo-section__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #dde2ea;
    border: 1px solid #dde2ea;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 28px;
}

.seo-section__block {
    background: #fff;
    padding: 24px 28px;
    transition: background 0.15s;
}

.seo-section__block:hover {
    background: #f0f4fa;
}

.seo-section__block h3 {
    font-size: 16px;
    font-weight: 700;
    color: #345DA0;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-section__block h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #C24036;
    border-radius: 2px;
    flex-shrink: 0;
}

.seo-section__block p {
    font-size: 16px;
    line-height: 1.75;
    color: #666;
    margin: 0;
}

.seo-section__tags {
    padding-top: 20px;
    border-top: 1px solid #dde2ea;
    font-size: 12px;
    line-height: 2.2;
}

.seo-section__tags a {
    display: inline-block;
    color: #345DA0;
    text-decoration: none;
    margin-right: 6px;
    margin-bottom: 4px;
    padding: 2px 10px;
    border: 1px solid #b8c8e0;
    border-radius: 20px;
    background: #fff;
    transition: all 0.18s;
    font-size: 14px;
}

.seo-section__tags a:hover {
    background: #345DA0;
    color: #fff;
    border-color: #345DA0;
}

@media (max-width: 768px) {
    .seo-section__grid {
        grid-template-columns: 1fr;
    }

    .seo-section {
        padding: 36px 0 28px;
    }

    .seo-section__block {
        padding: 18px 16px;
    }
}

/* ---------- общие ---------- */
.about-wrapper {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    color: #333;
    line-height: 1.7;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-wrapper * {
    box-sizing: border-box;
}

/* --- hero --- */
.about-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    text-align: center;
    padding: 60px 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.about-hero h1 {
    font-size: 34px;
    margin: 0 0 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-hero .hero-sub {
    font-size: 18px;
    max-width: 850px;
    margin: 0 auto;
    opacity: .92;
}

/* --- текстовый блок --- */
.about-block {
    margin-bottom: 36px;
    padding: 35px 32px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}

.about-block h2 {
    font-size: 24px;
    color: #2c3e50;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #c0392b;
    display: inline-block;
}

.about-block h3 {
    font-size: 20px;
    color: #2c3e50;
    margin: 28px 0 12px;
}

.about-block p {
    font-size: 16px;
    margin: 0 0 14px;
}

.about-block ul,
.about-block ol {
    padding-left: 22px;
    margin: 0 0 16px;
}

.about-block li {
    margin-bottom: 8px;
    font-size: 16px;
}

.about-block li::marker {
    color: #c0392b;
}

/* --- два столбца текста --- */
.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 36px;
}

.about-col {
    background: #fff;
    border-radius: 8px;
    padding: 30px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}

.about-col h2 {
    font-size: 22px;
    color: #2c3e50;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 3px solid #c0392b;
    display: inline-block;
}

.about-col p,
.about-col li {
    font-size: 15px;
}

/* --- карточки преимуществ --- */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.about-fcard {
    background: #fff;
    border-radius: 8px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
    transition: transform .25s, box-shadow .25s;
}

.about-fcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .12);
}

.about-fcard .fcard-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
}

.about-fcard .fcard-icon svg {
    width: 100%;
    height: 100%;
    fill: #c0392b;
}

.about-fcard h3 {
    font-size: 19px;
    color: #2c3e50;
    margin: 0 0 10px;
}

.about-fcard p {
    font-size: 15px;
    color: #555;
    margin: 0;
}

/* --- цифры --- */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 36px;
}

.about-stat {
    background: #2c3e50;
    color: #fff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
}

.about-stat .stat-num {
    font-size: 42px;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
    color: #e74c3c;
}

.about-stat .stat-label {
    font-size: 15px;
    opacity: .9;
}

/* --- CTA --- */
.about-cta {
    background: linear-gradient(135deg, #c0392b 0%, #96281b 100%);
    color: #fff;
    text-align: center;
    padding: 50px 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.about-cta h2 {
    font-size: 26px;
    margin: 0 0 14px;
    font-weight: 700;
}

.about-cta p {
    font-size: 17px;
    max-width: 720px;
    margin: 0 auto 24px;
    opacity: .95;
}

.about-cta a.cta-btn {
    display: inline-block;
    background: #fff;
    color: #c0392b;
    padding: 14px 42px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.about-cta a.cta-btn:hover {
    background: #2c3e50;
    color: #fff;
}

/* --- адаптив --- */
@media (max-width: 768px) {
    .about-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .about-hero {
        padding: 36px 18px;
    }

    .about-hero h1 {
        font-size: 24px;
    }

    .about-block,
    .about-col {
        padding: 22px 18px;
    }

    .about-cta {
        padding: 34px 18px;
    }

    .about-cta h2 {
        font-size: 22px;
    }
}

.product-banner-blocks {
    margin-top: 2.5rem;
}

.product-banner-block {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.product-banner-block:hover {
    border-color: #345da0;
    box-shadow: 0 2px 8px rgba(52, 93, 160, 0.12);
}

.product-banner-block+.product-banner-block {
    margin-top: 10px;
}

.product-banner-block-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 6px;
    background: #345da0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.product-banner-block-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.product-banner-block-body {
    flex: 1;
    min-width: 0;
}

.product-banner-block-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

.product-banner-block-desc {
    font-size: 14px;
    color: #777;
    line-height: 1.3;
    margin-top: 2px;
}

.product-banner-block-tag {
    font-size: 16px;
    font-weight: 600;
    color: #C24036;
    margin-left: 6px;
    white-space: nowrap;
}

.product-banner-block-arrow {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-left: 12px;
    fill: #bbb;
    transition: fill 0.2s;
}

.product-banner-block:hover .product-banner-block-arrow {
    fill: #345da0;
}

.is-header-v8 .header__catalog-btn {
    background-color: #345da0;
    color: #fff;
}

.footer__copyright {
    font-size: 1.6rem;
}