.fg-newsletter {
    margin-bottom: 1.5rem;
}

.fg-newsletter__panel {
    position: relative;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) minmax(280px, 340px);
    align-items: center;
    gap: 1.75rem;
    padding: 1.75rem 2rem;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1f4a 0%, #001a4d 48%, #001233 100%);
    border: 1px solid rgba(96, 165, 250, 0.18);
    box-shadow:
        0 22px 48px rgba(0, 26, 77, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.18),
        inset 0 2px 0 rgba(255, 255, 255, 0.08),
        inset 0 -4px 16px rgba(0, 0, 0, 0.22);
}

.fg-newsletter__panel::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 68%);
    pointer-events: none;
}

.fg-newsletter__art {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fg-newsletter__illustration {
    width: 132px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.fg-newsletter__copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.fg-newsletter__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.fg-newsletter__intro {
    margin: 0;
    max-width: 520px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.92);
}

.fg-newsletter__form-wrap {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.fg-newsletter__form {
    display: flex;
    align-items: stretch;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.fg-newsletter__input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    outline: none;
    background: #ffffff;
    color: #0f172a;
}

.fg-newsletter__input::placeholder {
    color: #94a3b8;
}

.fg-newsletter__btn {
    flex-shrink: 0;
    border: none;
    padding: 0.85rem 1.35rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(180deg, #34d399 0%, #22c55e 45%, #16a34a 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.35),
        inset 0 -3px 0 rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.fg-newsletter__btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow:
        0 6px 16px rgba(34, 197, 94, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -3px 0 rgba(0, 0, 0, 0.14);
}

.fg-newsletter__privacy {
    display: block;
    margin-top: 0.65rem;
    font-size: 0.72rem;
    color: rgba(203, 213, 225, 0.85);
}

@media (max-width: 991px) {
    .fg-newsletter__panel {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem;
        text-align: center;
    }

    .fg-newsletter__copy {
        justify-self: center;
    }

    .fg-newsletter__intro {
        margin-left: auto;
        margin-right: auto;
    }

    .fg-newsletter__form-wrap {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .fg-newsletter__form {
        flex-direction: column;
    }

    .fg-newsletter__btn {
        border-radius: 0 0 14px 14px;
    }

    .fg-newsletter__input {
        border-radius: 14px 14px 0 0;
    }
}

@media (max-width: 575px) {
    .fg-newsletter__illustration {
        width: 110px;
    }
}
