/*
|--------------------------------------------------------------------------
| Femida Justice - Custom styles
|--------------------------------------------------------------------------
| Все доработки проекта.
| Автор: Михаил (https://codercraft.ru/)
| Не изменять существующие файлы стилей.
| Все новые стили добавлять только в custom.css.
|--------------------------------------------------------------------------
*/

/* ==========================================================================
   Hero — NEW CONCEPT
   ========================================================================== */

.fj-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0b0b12;
    padding: 50px 0 60px;
}

/* ─── Background Image ─── */
.fj-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image: url('/webp/assets/img/hero/h1_hero.jpg.webp');
    background-size: cover;
    background-position:top center;
    background-repeat: no-repeat;
    opacity: 0.35;
}

/* ─── Overlay ─── */
.fj-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0b0b12 0%, #16161a 40%, #0f1422 100%);
    z-index: 1;
}

/* ─── Pattern ─── */
.fj-hero__pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.06;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ─── Content positioning ─── */
.fj-hero .container {
    position: relative;
    z-index: 5;
    width: 100%;
}

.fj-hero .row {
    min-height: calc(50vh - 50px);
}

/* ─── Badge ─── */
.fj-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(44,80,150,0.12);
    border: 1px solid rgba(44,80,150,0.25);
    border-radius: 50px;
    padding: 6px 18px 6px 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 28px;
    animation: fjFadeInUp 0.8s ease-out 0.1s both;
}

.fj-hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2c5096;
    animation: fjPulse 2s ease-in-out infinite;
}

@keyframes fjPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.8); }
}

/* ─── Title ─── */
.fj-hero__title {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fjFadeInUp 0.8s ease-out 0.2s both;
}

.fj-hero__title-accent {
    color: transparent;
    background: linear-gradient(135deg, #2c5096, #4a7ad4);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
}

.fj-hero__title-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2c5096, transparent);
    border-radius: 2px;
}

/* ─── Subtitle ─── */
.fj-hero__subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    max-width: 540px;
    margin-bottom: 16px;
    animation: fjFadeInUp 0.8s ease-out 0.3s both;
}

/* ─── Geography ─── */
.fj-hero__geo {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
    animation: fjFadeInUp 0.8s ease-out 0.35s both;
}

.fj-hero__geo i {
    color: #ffc107;
    margin-right: 6px;
    font-size: 13px;
}

/* ─── CTA Buttons ─── */
.fj-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
    animation: fjFadeInUp 0.8s ease-out 0.4s both;
}

.fj-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    line-height: 1;
}

.fj-hero__btn i {
    font-size: 14px;
}

.fj-hero__btn--primary {
    background: #2c5096;
    color: #fff;
    box-shadow: 0 4px 20px rgba(44,80,150,0.35);
}

.fj-hero__btn--primary:hover {
    background: #3a66b8;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44,80,150,0.5);
}


/* ─── Phone Buttons ─── */
.fj-hero__btn--phone1 {
    background: #1a6e4a;
    color: #fff;
    box-shadow: 0 4px 20px rgba(26,110,74,0.35);
}

.fj-hero__btn--phone1:hover {
    background: #238b5c;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26,110,74,0.5);
}

.fj-hero__btn--phone2 {
    background: #7a3a3a;
    color: #fff;
    box-shadow: 0 4px 20px rgba(122,58,58,0.35);
}

.fj-hero__btn--phone2:hover {
    background: #9a4a4a;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(122,58,58,0.5);
}

/* ─── Service Badges ─── */
.fj-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    animation: fjFadeInUp 0.8s ease-out 0.5s both;
}

.fj-hero__badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.fj-hero__badge-item i {
    color: #2c5096;
    font-size: 15px;
    width: 18px;
    text-align: center;
}

.fj-hero__badge-item:hover {
    background: rgba(44,80,150,0.15);
    border-color: rgba(44,80,150,0.3);
    transform: translateY(-2px);
}

/* ─── Animations ─── */
@keyframes fjFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Responsive ─── */
@media only screen and (max-width: 992px) {
    .fj-hero {
        min-height: auto;
        padding: 70px 0 60px;
    }
    .fj-hero .row {
        min-height: auto;
    }
    .fj-hero__title {
        font-size: 36px;
    }
    .fj-hero__subtitle {
        font-size: 15px;
    }
}

@media only screen and (max-width: 768px) {
    .fj-hero {
        padding: 80px 0 40px;
    }
    .fj-hero__bg {
        display: none;
    }
    .fj-hero__title {
        font-size: 28px;
    }
    .fj-hero__badge {
        font-size: 10px;
        padding: 4px 14px 4px 6px;
    }
    .fj-hero__btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    .fj-hero__subtitle {
        font-size: 14px;
    }
    .fj-hero__badge-item {
        padding: 8px 14px;
        font-size: 16px;
    }
}

@media only screen and (max-width: 480px) {
    .fj-hero__title {
        font-size: 24px;
    }
    .fj-hero__actions {
        flex-direction: column;
    }
    .fj-hero__btn {
        justify-content: center;
    }
    .fj-hero__badges {
        gap: 6px;
    }
    .fj-hero__badge-item {
        width: 100%;
    }
}


/* ==========================================================================
   Services — NEW CONCEPT
   ========================================================================== */

.fj-services {
    padding: 80px 0;
    background: #f8f9fc;
}

/* ─── Section Header ─── */
.fj-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.fj-section-header__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #2c5096;
    margin-bottom: 12px;
}

.fj-section-header__title {
    font-size: 32px;
    font-weight: 700;
    color: #1c1b23;
    line-height: 1.3;
    margin-bottom: 16px;
}

.fj-section-header__subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

/* ─── Services Grid ─── */
.fj-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fj-service-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.fj-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: rgba(44,80,150,0.15);
}

.fj-service-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(44,80,150,0.08);
    margin-bottom: 20px;
    font-size: 22px;
    color: #2c5096;
    transition: all 0.3s ease;
}

.fj-service-card:hover .fj-service-card__icon {
    background: #2c5096;
    color: #fff;
}

.fj-service-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1c1b23;
    margin-bottom: 12px;
    line-height: 1.3;
}

.fj-service-card__text {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* ─── Responsive ─── */
@media only screen and (max-width: 992px) {
    .fj-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fj-section-header__title {
        font-size: 26px;
    }
}

@media only screen and (max-width: 576px) {
    .fj-services {
        padding: 60px 0;
    }
    .fj-services__grid {
        grid-template-columns: 1fr;
    }
    .fj-section-header__title {
        font-size: 22px;
    }
    .fj-service-card {
        padding: 24px 20px;
    }
}


/* ─── Contacts block ─── */
.fj-services__contacts {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.fj-services__contacts-inner {
    background: linear-gradient(135deg, #2c5096, #3a66b8);
    border-radius: 14px;
    padding: 28px 48px;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(44,80,150,0.2);
}

.fj-services__contacts-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    white-space: nowrap;
}

.fj-services__contacts-items {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.fj-services__contacts-items p {
    margin: 0;
    font-size: 16px;
    color: rgba(255,255,255,0.85);
}

.fj-services__contacts-items i {
    color: rgba(255,255,255,0.6);
    width: 18px;
    margin-right: 6px;
}

.fj-services__contacts-items a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.fj-services__contacts-items a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 768px) {
    .fj-services__contacts-inner {
        flex-direction: column;
        gap: 16px;
        padding: 24px 28px;
        text-align: center;
    }
    .fj-services__contacts-items {
        flex-direction: column;
        gap: 10px;
    }
}


/* ==========================================================================
   About / Price — Company section with pricing cards
   ========================================================================== */

.fj-about {
    padding: 90px 0;
    background: linear-gradient(180deg, #f0f3f9 0%, #f8fafc 40%, #fff 100%);
    position: relative;
}

.fj-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5096, #4a7ad4, #2c5096);
    opacity: 0.3;
}

/* ─── Price Grid ─── */
.fj-price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 20px;
}

/* ─── Card Base ─── */
.fj-price-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 24px 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid #eef1f5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.fj-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, #2c5096, #4a7ad4);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fj-price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(44,80,150,0.1);
    border-color: rgba(44,80,150,0.15);
}

.fj-price-card:hover::before {
    opacity: 1;
}

/* ─── Featured ─── */
.fj-price-card--featured {
    border-color: rgba(44,80,150,0.2);
    box-shadow: 0 8px 32px rgba(44,80,150,0.1);
    transform: scale(1.03);
    z-index: 1;
}

.fj-price-card--featured::before {
    opacity: 1;
    height: 4px;
    left: 0;
    right: 0;
    border-radius: 0;
}

.fj-price-card--featured:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 24px 56px rgba(44,80,150,0.15);
}

/* ─── Ribbon ─── */
.fj-price-card__ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #2c5096, #3a66b8);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 28px 6px 16px;
    border-radius: 0 16px 0 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(44,80,150,0.25);
}

/* ─── Header (icon + title) ─── */
.fj-price-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.fj-price-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(44,80,150,0.08), rgba(74,122,212,0.14));
    font-size: 18px;
    color: #2c5096;
    flex-shrink: 0;
}

.fj-price-card--featured .fj-price-card__icon {
    background: linear-gradient(135deg, #2c5096, #4a7ad4);
    color: #fff;
}

.fj-price-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1c1b23;
    line-height: 1.3;
    margin: 0;
}

/* ─── Price ─── */
.fj-price-card__price {
    margin-bottom: 12px;
}

.fj-price-card__amount {
    display: inline-block;
    font-weight: 800;
    color: #1a1a2e;
    font-size: 22px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.fj-price-card__label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #999;
    margin-top: 1px;
    letter-spacing: 0.3px;
}

/* ─── List ─── */
.fj-price-card__list {
    list-style: none;
    list-style-type: none;
    padding: 0;
    margin: 8px 0 24px;
    flex: 1;
}

.fj-price-card__list li {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    padding: 5px 0 5px 24px;
    position: relative;
    border-bottom: 1px solid #f4f5f8;
}

.fj-price-card__list li::marker {
    display: none;
    content: '';
}

.fj-price-card__list li:last-child {
    border-bottom: none;
}

.fj-price-card__list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 11px;
    color: #2c5096;
    opacity: 0.6;
}

.fj-price-card--featured .fj-price-card__list li::before {
    opacity: 1;
}

/* ─── Button ─── */
.fj-price-card__btn {
    display: block;
    width: 100%;
    padding: 13px;
    background: #fff;
    color: #2c5096;
    border: 1.5px solid #dde3ed;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    letter-spacing: 0.3px;
}

.fj-price-card__btn:hover {
    background: #2c5096;
    color: #fff;
    border-color: #2c5096;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44,80,150,0.25);
}

.fj-price-card--featured .fj-price-card__btn {
    background: #2c5096;
    color: #fff;
    border-color: #2c5096;
}

.fj-price-card--featured .fj-price-card__btn:hover {
    background: #3a66b8;
    border-color: #3a66b8;
    box-shadow: 0 8px 28px rgba(44,80,150,0.35);
}

/* ─── Responsive ─── */
@media only screen and (max-width: 1200px) {
    .fj-price-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .fj-price-card--featured {
        transform: none;
    }
    .fj-price-card--featured:hover {
        transform: translateY(-6px);
    }
}

@media only screen and (max-width: 768px) {
    .fj-about {
        padding: 60px 0;
    }
    .fj-price-grid {
        gap: 16px;
    }
    .fj-price-card {
        padding: 28px 20px 24px;
    }

    .fj-price-card__list li {
        font-size: 16px;
    }
}

@media only screen and (max-width: 576px) {
    .fj-price-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .fj-price-card__title {
        font-size: 15px;
    }
    .fj-price-card__amount {
        font-size: 22px;
    }
}


/* ==========================================================================
   Specialization — Наша специализация
   ========================================================================== */

.fj-spec {
    padding: 80px 0;
    background: #fff;
}

.fj-spec__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fj-spec-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eef1f5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.fj-spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(44,80,150,0.12);
    border-color: rgba(44,80,150,0.15);
}

/* ─── Image ─── */
.fj-spec-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #2c5096, #4a7ad4);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.fj-spec-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Body ─── */
.fj-spec-card__body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fj-spec-card__title {
    font-size: 17px;
    font-weight: 700;
    color: #1c1b23;
    margin-bottom: 10px;
    line-height: 1.3;
}

.fj-spec-card__text {
    font-size: 16px;
    line-height: 1.65;
    color: #666;
    margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Link ─── */
.fj-spec-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #2c5096;
    text-decoration: none;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.fj-spec-card__link i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.fj-spec-card__link:hover {
    color: #3a66b8;
}

.fj-spec-card:hover .fj-spec-card__link {
    gap: 12px;
}

.fj-spec-card:hover .fj-spec-card__link i {
    transform: translateX(4px);
}

/* ─── Footer link ─── */
.fj-spec__footer {
    text-align: center;
    margin-top: 40px;
}

.fj-spec__all-link {
    background: #2c5096;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 36px;
    border: 1.5px solid #dde3ed;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.fj-spec__all-link i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.fj-spec__all-link:hover {
    background: #fff;
    color: #2c5096;
    border-color: #2c5096;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(44,80,150,0.2);
}

.fj-spec__all-link:hover i {
    transform: translateX(4px);
}

/* ─── Responsive ─── */
@media only screen and (max-width: 992px) {
    .fj-spec__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media only screen and (max-width: 576px) {
    .fj-spec {
        padding: 60px 0;
    }
    .fj-spec__grid {
        grid-template-columns: 1fr;
    }
    .fj-spec-card__body {
        padding: 20px 20px 24px;
    }
}


/* ==========================================================================
   Founder — Несколько слов об основателе
   ========================================================================== */

.fj-founder {
    padding: 80px 0 60px;
    background: #fff;
}

.fj-founder__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.fj-founder__image {
    border-radius: 16px;
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.fj-founder__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.fj-section-header--left {
    text-align: left;
    margin: 0 0 24px;
    max-width: 100%;
}

.fj-section-header--left .fj-section-header__title {
    font-size: 28px;
}

.fj-founder__text {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.fj-founder__text p {
    margin-bottom: 16px;
}

.fj-founder__text p:last-child {
    margin-bottom: 0;
}

.fj-founder__text strong {
    color: #1c1b23;
}

.fj-founder__name {
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #2c5096 !important;
    margin-bottom: 12px !important;
}

.fj-founder__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 28px;
    background: #2c5096;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.fj-founder__link:hover {
    background: #fff;
    color: #2c5096;
    box-shadow: 0 0 0 1.5px #2c5096;
}

.fj-founder__link i {
    transition: transform 0.2s ease;
}

.fj-founder__link:hover i {
    transform: translateX(4px);
}

/* Stats row */
.fj-founder__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    padding: 40px 0 0;
    border-top: 1px solid #eef1f5;
}

.fj-founder__stat {
    text-align: center;
}

.fj-founder__stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #2c5096;
    line-height: 1.1;
    margin-bottom: 6px;
}

.fj-founder__stat-label {
    display: block;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

@media only screen and (max-width: 992px) {
    .fj-founder__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .fj-founder__image {
        position: static;
        max-width: 400px;
    }
    .fj-founder__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media only screen and (max-width: 576px) {
    .fj-founder {
        padding: 60px 0 40px;
    }
    .fj-section-header--left .fj-section-header__title {
        font-size: 22px;
    }
    .fj-founder__inner {
        gap: 24px;
    }
    .fj-founder__image {
        max-width: 100%;
    }
    .fj-founder__text {
        font-size: 14px;
    }
    .fj-founder__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding-top: 32px;
        margin-top: 40px;
    }
    .fj-founder__stat-number {
        font-size: 24px;
    }
}


/* ==========================================================================
   CTA — Заказать консультацию
   ========================================================================== */

.fj-cta {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #1a2744 0%, #2c5096 50%, #1a2744 100%);
    overflow: hidden;
}

.fj-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.fj-cta__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.fj-cta__content {
    color: #fff;
}

.fj-cta__content .fj-section-header__label {
    color: #ffc107;
    margin-bottom: 12px;
}

.fj-cta__title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 16px;
}

.fj-cta__text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    max-width: 500px;
}

.fj-cta__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-bottom: 32px;
}

.fj-cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fj-cta__phone i {
    color: #ffc107;
    font-size: 15px;
}

.fj-cta__phone:hover {
    color: #ffc107;
    text-decoration: none;
}

.fj-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #ffc107;
    color: #1a2744;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255,193,7,0.3);
}

.fj-cta__btn:hover {
    background: #ffd54f;
    color: #1a2744;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(255,193,7,0.4);
    transform: translateY(-2px);
}

.fj-cta__btn i {
    transition: transform 0.2s ease;
}

.fj-cta__btn:hover i {
    transform: translateX(4px);
}

/* ─── Visual icons ─── */
.fj-cta__visual {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.fj-cta__icon-card {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 42px;
    color: #ffc107;
    backdrop-filter: blur(8px);
    transform: rotate(-6deg);
    transition: all 0.3s ease;
}

.fj-cta__icon-card--secondary {
    transform: rotate(4deg) translateY(20px);
    color: rgba(255,255,255,0.6);
    font-size: 36px;
}

.fj-cta__icon-card:hover {
    transform: rotate(0deg) scale(1.05);
    background: rgba(255,255,255,0.1);
    border-color: #ffc107;
}

.fj-cta__icon-card--secondary:hover {
    transform: rotate(0deg) scale(1.05) translateY(0);
}

@media only screen and (max-width: 992px) {
    .fj-cta__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .fj-cta__text {
        max-width: 100%;
    }
    .fj-cta__contacts {
        justify-content: center;
    }
    .fj-cta__visual {
        order: -1;
    }
    .fj-cta__icon-card {
        width: 100px;
        height: 100px;
        font-size: 32px;
    }
    .fj-cta__icon-card--secondary {
        font-size: 28px;
    }
}

@media only screen and (max-width: 576px) {
    .fj-cta {
        padding: 60px 0;
    }
    .fj-cta__title {
        font-size: 26px;
    }
    .fj-cta__text {
        font-size: 15px;
    }
    .fj-cta__contacts {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .fj-cta__phone {
        font-size: 15px;
    }
    .fj-cta__btn {
        width: 100%;
        justify-content: center;
    }
    .fj-cta__visual {
        gap: 14px;
    }
    .fj-cta__icon-card {
        width: 80px;
        height: 80px;
        font-size: 26px;
        border-radius: 16px;
    }
    .fj-cta__icon-card--secondary {
        font-size: 22px;
    }
}


/* ==========================================================================
   Diplomas — Дипломы и сертификаты (gallery)
   ========================================================================== */

.fj-diplomas {
    padding: 80px 0 60px;
    background: #fff;
}

.fj-diplomas__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.fj-diplomas__item {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #eef1f5;
    background: #fff;
}

.fj-diplomas__item:hover {
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.fj-diplomas__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: #fff;
    padding: 8px;
}

.fj-diplomas__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.fj-diplomas__item:hover .fj-diplomas__image img {
    transform: scale(1.08);
}

/* ─── Overlay with magnifier ─── */
.fj-diplomas__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26,39,68,0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-in;
}

.fj-diplomas__overlay i {
    font-size: 28px;
    color: #fff;
    background: rgba(255,255,255,0.15);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.fj-diplomas__item:hover .fj-diplomas__overlay {
    opacity: 1;
}

.fj-diplomas__item:hover .fj-diplomas__overlay i {
    transform: scale(1);
}

.fj-diplomas__footer {
    text-align: center;
    margin-top: 40px;
}

@media only screen and (max-width: 992px) {
    .fj-diplomas__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media only screen and (max-width: 576px) {
    .fj-diplomas {
        padding: 60px 0 40px;
    }
    .fj-diplomas__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .fj-diplomas__overlay i {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}


/* ==========================================================================
   Lightbox — Vanilla JS gallery
   ========================================================================== */

.fj-lightbox {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fj-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.fj-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
    cursor: zoom-out;
}

.fj-lightbox__image {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.fj-lightbox.active .fj-lightbox__image {
    transform: scale(1);
}

.fj-lightbox__close {
    position: absolute;
    z-index: 3;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fj-lightbox__close:hover {
    background: rgba(255,255,255,0.2);
}

.fj-lightbox__nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fj-lightbox__nav:hover {
    background: rgba(255,255,255,0.18);
}

.fj-lightbox__nav--prev {
    left: 20px;
}

.fj-lightbox__nav--next {
    right: 20px;
}

.fj-lightbox__counter {
    position: absolute;
    z-index: 3;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    font-family: sans-serif;
    letter-spacing: 1px;
}

@media only screen and (max-width: 576px) {
    .fj-lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .fj-lightbox__nav--prev {
        left: 10px;
    }
    .fj-lightbox__nav--next {
        right: 10px;
    }
    .fj-lightbox__close {
        top: 12px;
        right: 14px;
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}


.services-links {
    padding: 60px 0 80px;
    background: #f8f9fc;
}

.services-links__title {
    font-size: 22px;
    font-weight: 700;
    color: #1c1b23;
    margin-bottom: 32px;
    text-align: center;
}

.services-links__list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 720px;
    display: flex;
    flex-direction: column;
}

.services-links__item {
    border-bottom: 1px solid #eef1f5;
}

.services-links__item:last-child {
    border-bottom: none;
}

.services-links__item a {
    display: block;
    padding: 14px 20px 14px 4px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.services-links__item a:hover {
    background: #fff;
    color: #2c5096;
    border-left-color: #2c5096;
}

.services-links__item {
    position: relative;
    padding-left: 32px;
}

.services-links__item::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f054";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    color: #2c5096;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.services-links__item:hover::before {
    opacity: 1;
}

.services-links__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 32px auto 0;
    padding: 12px 32px;
    background: #fff;
    color: #2c5096;
    border: 1.5px solid #dde3ed;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services-links__toggle:hover {
    background: #2c5096;
    color: #fff;
    border-color: #2c5096;
}

@media only screen and (max-width: 576px) {
    .services-links {
        padding: 40px 0 60px;
    }
    .services-links__title {
        font-size: 19px;
    }
    .services-links__item a {
        padding: 12px 16px 12px 4px;
        font-size: 14px;
    }
}


/* ==========================================================================
   Services
   ========================================================================== */

/* ... */


/* ==========================================================================
   Testimonials — Отзывы клиентов
   ========================================================================== */

.fj-testi {
    padding: 80px 0 90px;
    background: linear-gradient(180deg, #f0f3f8 0%, #f8fafc 40%, #fff 100%);
    position: relative;
}

.fj-testi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5096, #4a7ad4, #2c5096);
    opacity: 0.25;
}

/* ─── Card ─── */
.fj-testi__card {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 32px;
    border: 1px solid #e8ecf2;
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fj-testi__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 35px 90px rgba(0,0,0,0.1);
}

/* ─── Carousel ─── */
.fj-testi__carousel {
    display: flex;
    position: relative;
}

.fj-testi__slide {
    flex: 0 0 100%;
    min-width: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fj-testi__slide:not(.active) {
    display: none;
}

.fj-testi__slide.active {
    display: block;
    animation: fjTestiFadeIn 0.3s ease;
}

@keyframes fjTestiFadeIn {
    from { opacity: 0; transform: translateX(15px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ─── Avatar ─── */
.fj-testi__avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #e8ecf2;
    background: #f5f7fa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.fj-testi__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Author ─── */
.fj-testi__author {
    margin-bottom: 20px;
}

.fj-testi__author strong {
    display: block;
    font-size: 20px;
    color: #1c1b23;
    font-weight: 700;
    margin-bottom: 4px;
}

.fj-testi__author span {
    font-size: 17px;
    color: #1c1b23;
    opacity: 0.6;
    line-height: 1.5;
    display: block;
}

/* ─── Text ─── */
.fj-testi__text {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    text-align: center;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
    max-height: 110px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
}

.fj-testi__text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.fj-testi__text.expanded {
    max-height: 800px;
}

.fj-testi__text.expanded::after {
    opacity: 0;
}

.fj-testi__text p {
    margin: 0;
    color: #555;
}

.fj-testi__text p + p {
    margin-top: 16px;
}

/* ─── Toggle button ─── */
.fj-testi__toggle {
    display: none;
    margin: 16px auto 0;
    background: none;
    border: 1px solid #d0d8e8;
    color: #4a7ad4;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 20px;
    border-radius: 20px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.fj-testi__toggle::after {
    content: ' \2192';
    transition: transform 0.2s ease;
    display: inline-block;
}

.fj-testi__toggle:hover {
    color: #2c5096;
    border-color: #2c5096;
    background: rgba(44,80,150,0.08);
}

.fj-testi__toggle:hover::after {
    transform: translateX(3px);
}

.fj-testi__toggle.visible {
    display: inline-block;
}

/* ─── Dots ─── */
.fj-testi__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.fj-testi__dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d0d5dd;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.fj-testi__dots button.active {
    background: #2c5096;
    transform: scale(1.3);
}

.fj-testi__dots button:hover {
    background: #b0b8c4;
}

/* ─── Arrows ─── */
.fj-testi__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #dde3ed;
    background: #fff;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.fj-testi__arrow:hover {
    background: #f0f3f9;
    border-color: #2c5096;
    color: #2c5096;
    box-shadow: 0 4px 16px rgba(44,80,150,0.15);
}

.fj-testi__arrow--prev {
    left: max(10px, calc(50% - 480px - 24px));
}

.fj-testi__arrow--next {
    right: max(10px, calc(50% - 480px - 24px));
}

/* ─── Responsive ─── */
@media only screen and (max-width: 768px) {
    .fj-testi {
        padding: 60px 0 70px;
    }
    .fj-testi__card {
        padding: 28px 20px 24px;
    }
    .fj-testi__avatar {
        width: 72px;
        height: 72px;
    }
    .fj-testi__author strong {
        font-size: 16px;
    }
    .fj-testi__author span {
        font-size: 15px;
    }
    .fj-testi__text {
        font-size: 15px;
        max-height: 100px;
    }
    .fj-testi__arrow {
        display: none;
    }
}


/* ==========================================================================
   FAQ — Часто задаваемые вопросы
   ========================================================================== */

.fj-faq {
    padding: 80px 0 90px;
    background: #fff;
}

/* ─── Cards ─── */
.fj-faq__card {
    background: #fafbfc;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fj-faq__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.fj-faq__card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c5096, #4a7ad4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
    color: #fff;
}

.fj-faq__card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1c1b23;
    margin-bottom: 12px;
    line-height: 1.4;
}

.fj-faq__card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.fj-faq .col-lg-4,
.fj-faq .col-md-6 {
    margin-bottom: 30px;
}

@media only screen and (max-width: 768px) {
    .fj-faq {
        padding: 60px 0 70px;
    }
    .fj-faq__card {
        padding: 24px 20px;
    }
    .fj-faq__card h4 {
        font-size: 16px;
    }
}


/* ==========================================================================
   Contacts — Контакты
   ========================================================================== */

.fj-contacts {
    padding: 80px 0 90px;
    background: linear-gradient(180deg, #f8fafc 0%, #f0f3f8 100%);
}

/* ─── Left panel ─── */
.fj-contacts__panel {
    background: linear-gradient(135deg, #0f1624 0%, #1a1a2e 50%, #0f1422 100%);
    border-radius: 20px;
    padding: 40px 36px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.fj-contacts__panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2c5096, #6d9aeb, #2c5096);
}

.fj-contacts__panel-header {
    margin-bottom: 28px;
}

.fj-contacts__panel-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.35;
}

.fj-contacts__panel-header p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* ─── Contact items ─── */
.fj-contacts__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fj-contacts__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.fj-contacts__item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #6d9aeb;
    flex-shrink: 0;
    margin-top: 2px;
}

.fj-contacts__item-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fj-contacts__item-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 2px;
}

.fj-contacts__item-value {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.fj-contacts__item-value:hover {
    color: #6d9aeb;
}

/* ─── Social ─── */
.fj-contacts__social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
}

.fj-contacts__social:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.fj-contacts__social i {
    font-size: 18px;
    color: #ff0033;
}

/* ─── Right Form ─── */
.fj-contacts__form {
    padding: 10px 0;
}

.fj-contacts__form-title {
    font-size: 28px;
    font-weight: 700;
    color: #1c1b23;
    margin-bottom: 8px;
    line-height: 1.3;
}

.fj-contacts__form-text {
    font-size: 15px;
    line-height: 1.7;
    color: #888;
    margin-bottom: 28px;
}

/* Form container card */
.fj-contacts__form form.ajax_form {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

/* Honeypot */
.fj-contacts__form form .hidden-field {
    display: none !important;
}

/* Input groups */
.fj-contacts__form .form-input-group {
    margin-bottom: 18px;
}

.fj-contacts__form .form-label-small {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.fj-contacts__form .modern-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dde3ed;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fafbfc;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.fj-contacts__form .modern-input:focus {
    border-color: #4a7ad4;
    box-shadow: 0 0 0 3px rgba(74,122,212,0.1);
    background: #fff;
}

.fj-contacts__form .modern-input::placeholder {
    color: #bbb;
}

.fj-contacts__form .error {
    display: block;
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
}

/* Submit button */
.fj-contacts__form .submit-container {
    margin-top: 8px;
}

.fj-contacts__form .modern-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    background: linear-gradient(135deg, #2c5096, #4a7ad4);
    color: #fff;
    box-shadow: 0 8px 24px rgba(44,80,150,0.25);
    transition: all 0.25s ease;
}

.fj-contacts__form .modern-submit-btn:hover {
    box-shadow: 0 12px 32px rgba(44,80,150,0.35);
    transform: translateY(-2px);
}

.fj-contacts__form .modern-submit-btn i {
    font-size: 16px;
    transition: transform 0.25s ease;
}

.fj-contacts__form .modern-submit-btn:hover i {
    transform: translateX(4px);
}

/* Policy text */
.fj-contacts__form .form-policy {
    margin-top: 16px;
    font-size: 12px;
    color: #aaa;
    text-align: center;
    line-height: 1.5;
}

.fj-contacts__form .form-policy a {
    color: #4a7ad4;
    text-decoration: underline;
}

/* ─── Responsive ─── */
@media only screen and (max-width: 992px) {
    .fj-contacts__panel {
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 768px) {
    .fj-contacts {
        padding: 60px 0 70px;
    }
    .fj-contacts__panel {
        padding: 28px 20px;
    }
    .fj-contacts__panel-header h3 {
        font-size: 19px;
    }
    .fj-contacts__form-title {
        font-size: 22px;
    }
    .fj-contacts__form-btn {
        font-size: 15px;
        padding: 14px 20px;
    }
}


/* ==========================================================================
   CTA Banner — Есть сложности с юридическими вопросами?
   ========================================================================== */

.fj-cta-banner {
    padding: 0;
    background: linear-gradient(135deg, #0b111e 0%, #141b2d 30%, #1a1a2e 60%, #0f1624 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle glow orbs */
.fj-cta-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(74,122,212,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.fj-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(109,154,235,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.fj-cta-banner__inner {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

/* ─── Left content ─── */
.fj-cta-banner__title {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
}

.fj-cta-banner__text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin-bottom: 24px;
    max-width: 540px;
}

.fj-cta-banner__text strong {
    color: #fff;
    font-weight: 700;
}

.fj-cta-banner__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fj-cta-banner__feature {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 10px;
}

.fj-cta-banner__feature i {
    color: #4cd964;
    font-size: 16px;
    flex-shrink: 0;
}

/* ─── Right QR block ─── */
.fj-cta-banner__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fj-cta-banner__qr-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    width: 100%;
    max-width: 320px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fj-cta-banner__qr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.fj-cta-banner__qr-img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.fj-cta-banner__qr-text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* ─── Button ─── */
.fj-cta-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    background: linear-gradient(135deg, #2c5096, #4a7ad4);
    color: #fff;
    box-shadow: 0 8px 24px rgba(44,80,150,0.3);
    transition: all 0.3s ease;
}

.fj-cta-banner__btn:hover {
    box-shadow: 0 12px 40px rgba(44,80,150,0.45);
    transform: translateY(-2px);
    color: #fff;
}

.fj-cta-banner__btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.fj-cta-banner__btn:hover i {
    transform: translateX(5px);
}

/* ─── Responsive ─── */
@media only screen and (max-width: 992px) {
    .fj-cta-banner__inner {
        padding: 60px 0;
    }
    .fj-cta-banner__title {
        font-size: 28px;
    }
    .fj-cta-banner__qr {
        margin-top: 40px;
    }
}

@media only screen and (max-width: 768px) {
    .fj-cta-banner__inner {
        padding: 50px 0;
    }
    .fj-cta-banner__title {
        font-size: 24px;
    }
    .fj-cta-banner__qr-img {
        width: 130px;
        height: 130px;
    }
    .fj-cta-banner__btn {
        width: 100%;
        justify-content: center;
    }
}


/* ==========================================================================
   Footer — Подвал
   ========================================================================== */

.fj-footer {
    background: linear-gradient(180deg, #0b111e 0%, #080c15 100%);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}

.fj-footer__main {
    padding: 70px 0 40px;
}

.fj-footer__col {
    margin-bottom: 30px;
}

/* ─── Logo + About ─── */
.fj-footer__logo {
    display: block;
    margin-bottom: 16px;
}

.fj-footer__logo img {
    height: 48px;
    width: auto;
}

.fj-footer__about {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
    margin-bottom: 18px;
}

/* ─── Social icons ─── */
.fj-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fj-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.fj-footer__social-link:hover {
    background: rgba(74,122,212,0.2);
    color: #6d9aeb;
    transform: translateY(-2px);
}

/* ─── Section titles ─── */
.fj-footer__title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

/* ─── Menu links ─── */
.fj-footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fj-footer__menu li {
    margin-bottom: 10px;
}

.fj-footer__menu a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
}

.fj-footer__menu a:hover {
    color: #6d9aeb;
}

/* ─── Contact list ─── */
.fj-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fj-footer__contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.fj-footer__contact i {
    width: 16px;
    color: #4a7ad4;
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

.fj-footer__contact a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.fj-footer__contact a:hover {
    color: #6d9aeb;
}

.fj-footer__contact span {
    line-height: 1.6;
}

/* ─── Form — classes from form-footer chunk ─── */
.fj-footer__form-text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.45);
    margin-bottom: 16px;
}

.fj-footer__form .mail_part {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fj-footer__form .modern-input-field {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #fff;
    background: rgba(255,255,255,0.06);
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.fj-footer__form .modern-input-field::placeholder {
    color: rgba(255,255,255,0.3);
}

.fj-footer__form .modern-input-field:focus {
    border-color: #4a7ad4;
    background: rgba(255,255,255,0.1);
}

.fj-footer__form .submit-btn {
    margin-top: 20px;
}

.fj-footer__form .newsletter-submit.modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    background: linear-gradient(135deg, #2c5096, #4a7ad4);
    color: #fff;
    text-transform: none;
    transition: all 0.25s ease;
}

.fj-footer__form .newsletter-submit.modern-btn:hover {
    box-shadow: 0 6px 20px rgba(44,80,150,0.35);
    transform: translateY(-1px);
}

.fj-footer__form .newsletter-submit.modern-btn i {
    font-size: 14px;
    margin-left: 0;
    transition: transform 0.25s ease;
}

.fj-footer__form .newsletter-submit.modern-btn:hover i {
    transform: translateX(4px);
}

.fj-footer__form .mt-10.info {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    margin-top: 8px;
}

/* ─── Bottom bar ─── */
.fj-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}

.fj-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.fj-footer__copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

.fj-footer__bottom-links {
    display: flex;
    gap: 20px;
}

.fj-footer__bottom-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s ease;
}

.fj-footer__bottom-links a:hover {
    color: #6d9aeb;
}

/* ─── Responsive ─── */
@media only screen and (max-width: 768px) {
    .fj-footer__main {
        padding: 50px 0 20px;
    }
    .fj-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .fj-footer__form .newsletter-submit.modern-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ==========================================================================
   Terms Consent Banner
   ========================================================================== */

.terms-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #1c1b23;
    color: #fff;
    padding: 20px 24px;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
}

.terms-container .h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.terms-container p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
    line-height: 1.5;
}

.terms-container a {
    color: #6d9aeb;
    text-decoration: underline;
}

.terms-container label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    font-size: 14px;
}

.terms-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #4a7ad4;
}

#continueButton {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    background: linear-gradient(135deg, #2c5096, #4a7ad4);
    color: #fff;
    transition: all 0.25s ease;
}

#continueButton:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(44,80,150,0.35);
    transform: translateY(-1px);
}

#continueButton:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

#toggleTerms {
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    background: transparent;
    color: rgba(255,255,255,0.6);
    transition: all 0.25s ease;
    margin-left: 8px;
}

#toggleTerms:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}