/* =============================================
   FJERNSUPPORT
   ============================================= */

/* ── Hero: dark, full-bleed, two-column ── */

.fjs-hero {
    position: relative;
    overflow: visible;
    color: var(--color-white);
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(72px + var(--space-16));
    padding-bottom: var(--space-16);
    background: var(--color-ink);
}

.fjs-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.fjs-hero__bg img {
    position: absolute;
    right: 2%;
    top: 56%;
    transform: translateY(-50%);
    height: 88%;
    width: auto;
}

.fjs-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(108deg,
            rgba(4,8,15,0.94) 0%,
            rgba(4,8,15,0.80) 40%,
            rgba(4,8,15,0.45) 72%,
            rgba(4,8,15,0.25) 100%),
        linear-gradient(to top,
            rgba(4,8,15,0.65) 0%,
            transparent 45%);
}

.fjs-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr minmax(360px, 460px);
    gap: var(--space-16);
    align-items: end;
}

.fjs-hero__text {
    max-width: 620px;
}

.fjs-hero__label {
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--space-5);
}

.fjs-hero__headline {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.04em;
    color: var(--color-white);
    margin-bottom: var(--space-5);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.45);
}

.fjs-hero__sub {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: rgba(255,255,255,0.68);
    line-height: 1.65;
    max-width: 46ch;
    margin-bottom: var(--space-8);
}

.fjs-hero__points {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.fjs-hero__points li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 0.98rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.72);
}

.fjs-hero__points strong {
    color: var(--color-white);
    font-weight: 700;
}

.fjs-hero__points svg {
    flex: none;
    margin-top: 2px;
    color: #5a9dff;
}

/* Hotline — inline pill inside the text column */
.fjs-hero__hotline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    color: var(--color-white);
    transition: border-color var(--transition), background var(--transition);
}

.fjs-hero__hotline:hover {
    border-color: rgba(255,255,255,0.32);
    background: rgba(255,255,255,0.08);
}

.fjs-hero__hotline-icon {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fjs-hero__hotline-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
}

.fjs-hero__hotline-num {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ── Card ── */

.fjs-card {
    position: relative;
    z-index: 2;
    background: var(--color-white);
    color: var(--color-text);
    border-radius: var(--radius-xl);
    box-shadow: 0 40px 90px rgba(4,8,15,0.38), 0 12px 30px rgba(4,8,15,0.22);
    padding: var(--space-8);
    width: 100%;
    text-align: left;
    margin-bottom: calc(-1 * var(--space-24));
}

.fjs-card__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-navy);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-5);
}

.fjs-card__field-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-muted);
    margin-bottom: var(--space-3);
}

/* ── Segmented PIN (4 boxes) ── */

.fjs-pin {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.fjs-pin__box {
    flex: 1 1 0;
    min-width: 0;
    height: 56px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-navy);
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition), box-shadow var(--transition),
                background var(--transition);
}

.fjs-pin__box:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.fjs-pin__box.is-filled {
    background: var(--color-surface);
    border-color: var(--color-accent);
}

.fjs-pin--error .fjs-pin__box {
    border-color: var(--color-error);
    background: var(--color-error-bg);
}

/* ── Inline alert (error) ── */

.fjs-alert {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: var(--space-5);
}

.fjs-alert--error {
    background: var(--color-error-bg);
    color: var(--color-error);
    border: 1px solid rgba(183, 28, 28, 0.25);
}

.fjs-card__hint {
    font-size: 0.82rem;
    color: var(--color-muted);
    margin-bottom: var(--space-5);
}

.fjs-submit {
    width: 100%;
    font-size: 1rem;
    padding: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.fjs-lock-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: 0.78rem;
    color: var(--color-muted);
    margin-top: var(--space-4);
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .fjs-hero__content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
        align-items: start;
    }

    .fjs-hero {
        min-height: 0;
        padding-bottom: var(--space-16);
    }

    .fjs-hero__bg img {
        right: -12%;
        opacity: 0.35;
    }

    .fjs-card {
        max-width: 460px;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .fjs-hero {
        padding-top: calc(72px + var(--space-10));
    }

    .fjs-pin__box {
        height: 52px;
        font-size: 1.35rem;
    }
}
