.home-newsletter-section {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.home-newsletter-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.home-newsletter-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 14, 20, 0.72) 0%, rgba(10, 14, 20, 0.82) 100%),
        rgba(10, 14, 20, 0.35);
}

.home-newsletter-inner {
    position: relative;
    z-index: 1;
    width: min(92%, 52rem);
    max-width: 52rem;
}

.home-newsletter-content {
    text-align: center;
}

.home-newsletter-title {
    margin: 0 0 0.85rem;
    color: #ffffff;
    font-size: clamp(1.55rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.home-newsletter-text {
    margin: 0 auto 1.75rem;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.92rem, 1.6vw, 1.02rem);
    line-height: 1.65;
}

.home-newsletter-signup {
    width: min(100%, 36rem);
    margin: 0 auto;
}

.home-newsletter-signup .site-captcha {
    margin-bottom: 0.9rem;
    text-align: left;
}

.home-newsletter-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.home-newsletter-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.95rem 1.1rem;
    border: 0;
    border-radius: 4px 0 0 4px;
    background: #f3f4f6;
    color: #111827;
    font-size: 0.92rem;
    line-height: 1.4;
}

.home-newsletter-input::placeholder {
    color: #9ca3af;
}

.home-newsletter-input:focus {
    outline: none;
    background: #ffffff;
    box-shadow: inset 0 0 0 2px rgba(3, 121, 195, 0.35);
}

.home-newsletter-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.95rem 1.35rem;
    border: 0;
    border-radius: 0 4px 4px 0;
    background: var(--brand-primary, #0379c3);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.home-newsletter-btn:hover {
    background: var(--brand-primary-dark, #026aaa);
}

@media (max-width: 767.98px) {
    .home-newsletter-form {
        flex-direction: column;
        box-shadow: none;
    }

    .home-newsletter-input {
        border-radius: 4px;
    }

    .home-newsletter-btn {
        width: 100%;
        border-radius: 4px;
        padding: 0.9rem 1rem;
        min-height: 44px;
    }
}
