/**
 * Lead capture form — newsletter section.
 */

.vn-newsletter {
    background: linear-gradient(135deg, #1a4a22 0%, #2a6b32 52%, #3d8a45 100%);
    padding: clamp(28px, 3.5vw, 40px) 20px;
}

.vn-newsletter .vn-container {
    margin: 0 auto;
}

.vn-newsletter .vn-newsletter__inner {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.vn-newsletter .vn-newsletter__title-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
}

.vn-newsletter .vn-newsletter__heading {
    margin: 0;
    font-family: var(--vn-font-heading, var(--font-heading, "Playfair Display", Georgia, serif));
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.vn-newsletter .vn-newsletter__privacy {
    margin: 6px 0 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vn-newsletter .vn-newsletter__icon {
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 50%;
    background: rgba(184, 240, 74, 0.18);
    border: 1px solid rgba(184, 240, 74, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c8f55a;
    flex-shrink: 0;
}

.vn-newsletter .vn-newsletter__icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

.vn-newsletter .vn-newsletter__sub {
    max-width: min(640px, 100%);
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.vn-newsletter .vn-newsletter__form.vn-lead-form {
    display: block;
    max-width: none;
    width: 100%;
    align-self: stretch;
    margin-top: 14px;
    flex-wrap: unset;
}

.vn-lead-form {
    width: 100%;
    position: relative;
}

.vn-lead-form__hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.vn-lead-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(168px, auto);
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    align-items: start;
}

.vn-lead-form__field {
    min-width: 0;
}

.vn-lead-form__field--submit {
    align-self: start;
}

.vn-lead-form input[type="text"],
.vn-lead-form input[type="tel"],
.vn-lead-form input[type="email"] {
    min-height: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 15px;
    font-family: var(--font-body, "Inter", sans-serif);
    outline: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    transition: border-color 0.22s ease, background 0.22s ease;
}

.vn-lead-form input::placeholder {
    color: rgba(255, 255, 255, 0.78);
}

.vn-lead-form input:focus {
    border-color: rgba(200, 245, 90, 0.9);
    background: rgba(255, 255, 255, 0.2);
}

.vn-newsletter .vn-lead-form button,
.vn-newsletter .vn-lead-form .vn-newsletter__btn {
    color: #1a361a !important;
    background-color: #b8f04a !important;
    border-color: #b8f04a !important;
    font-weight: 700;
}

.vn-newsletter .vn-lead-form button:hover,
.vn-newsletter .vn-lead-form button:focus-visible,
.vn-newsletter .vn-lead-form .vn-newsletter__btn:hover,
.vn-newsletter .vn-lead-form .vn-newsletter__btn:focus-visible {
    color: #142d14 !important;
    background-color: #c8f55a !important;
    border-color: #c8f55a !important;
}

.vn-lead-form button,
.vn-lead-form .vn-newsletter__btn {
	min-height: 48px;
	height: 48px;
	width: 100%;
	min-width: 168px;
	border-radius: 6px;
	font-size: 15px;
	padding: 0 28px;
	white-space: nowrap;
	flex-shrink: 0;
	box-sizing: border-box;
}

.vn-lead-form button:disabled,
.vn-lead-form .vn-newsletter__btn:disabled {
	opacity: 0.75;
	cursor: wait;
}

.vn-lead-form__error {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.35;
    color: #ffb3b3;
}

.vn-lead-form input.has-error {
    border-color: rgba(255, 92, 92, 0.9);
    box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.12);
}

.vn-lead-form__message {
    margin: 16px auto 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
}

.vn-lead-form__message.is-success,
.vn-lead-form__message--success {
    color: #9be35a;
}

.vn-lead-form__message.is-error,
.vn-lead-form__message--error {
    color: #ffb3b3;
}

@media (max-width: 900px) {
    .vn-lead-form__row {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: min(560px, 100%);
        margin-inline: auto;
    }

    .vn-lead-form button,
    .vn-lead-form .vn-newsletter__btn {
        width: 100%;
        min-width: 0;
    }
}
