/* ============================================
   Block: Form Section
   ============================================ */

.form-section {
    position: relative;
}

/* ============================================
   Background image + overlay
   ============================================ */

.fs-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.fs-bg-overlay {
    position: absolute;
    inset: 0;
    background-color: #000;
    pointer-events: none;
}

/* ============================================
   Wrapper / Container — single column, centered
   ============================================ */

.fs-wrapper {
    position: relative;
    z-index: 1;
}

.fs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 640px;
	max-width: 85%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 1921px) {
    .fs-container {
		width: 900px;
	}
}

.fs-title {
    font-size: var(--font-h3-size);
    font-weight: var(--font-h3-weight);
    letter-spacing: var(--font-h3-letter);
    line-height: var(--font-h3-line);
    margin: 0;
}

.fs-text {
    font-size: var(--font-p2-size);
    line-height: var(--font-p2-line);
    margin-top: 1.2rem;
}

.fs-text a:not(.cta-btn) {
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.25s ease-out;
}

.fs-text a:not(.cta-btn):hover{
	color: var(--color-teal);
}

/* ============================================
   Form — labels/inputs styled like Hero Form,
   layout is just a stacked block at the bottom
   ============================================ */

.fs-form-wrap {
    width: 100%;
    margin-top: 3rem;
    text-align: left;
}

.fs-form-wrap form > fieldset{
	max-width: 100%;
}

.fs-form-wrap .hs-form-private {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.fs-form-wrap .hs_submit {
    margin-top: .8rem;
}

.fs-form-wrap .hs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.4rem;
    background-color: var(--color-coral);
    color: var(--color-white);
    font-size: var(--font-p1-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--color-coral);
    cursor: pointer;
    width: 100%;
    clip-path: polygon(-6px -6px, calc(100% + 6px) -6px, calc(100% + 6px) calc(100% - var(--cta-btn-cut) - 6px), calc(100% - var(--cta-btn-cut) - 6px) calc(100% + 6px), -6px calc(100% + 6px));
    transition: --cta-btn-cut 0.25s ease-out;
}

@media (hover: hover) and (pointer: fine) {
    .fs-form-wrap .hs-button:hover {
        --cta-btn-cut: 14px;
    }
}

.fs-form-wrap .hs-form-field {
    position: relative;
    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
    .fs-form-wrap .hs-form-field {
        width: 100% !important;
        margin-bottom: 1.5rem;
    }

    .fs-form-wrap .hs-form-private {
        gap: 0;
    }
}

.fs-form-wrap label {
    font-size: var(--font-p3-size);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: .6rem;
    line-height: 1.2;
}

.fs-form-wrap input[type="text"],
.fs-form-wrap input[type="email"],
.fs-form-wrap input[type="tel"],
.fs-form-wrap input[type="number"],
.fs-form-wrap input[type="url"],
.fs-form-wrap textarea,
.fs-form-wrap select {
    width: 100% !important;
    padding: 0.7rem 1.2rem;
    border: 1px solid var(--color-gray-hover);
    background-color: var(--color-white);
    font-size: var(--font-p1-size);
    font-family: inherit;
    color: var(--color-black);
    outline: none;
    transition: border-color 0.2s ease;
    appearance: none;
}

.fs-form-wrap input:focus,
.fs-form-wrap textarea:focus,
.fs-form-wrap select:focus {
    border-color: var(--color-coral);
}

.fs-form-wrap textarea {
    resize: vertical;
    min-height: 12rem;
}

.fs-form-wrap .hs-error-msgs {
    list-style: none;
    padding: 0;
    margin: .4rem 0 0;
}

.fs-form-wrap .hs-error-msgs label {
    color: var(--color-coral);
    font-size: var(--font-p3-size);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.fs-form-wrap .hs-richtext p {
    font-size: var(--font-p3-size);
    margin: 0;
    opacity: .8;
    line-height: 1.4;
}

.fs-form-wrap .hs-richtext p a {
    text-decoration: underline;
}

.fs-form-wrap .inputs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.fs-form-wrap .inputs-list label {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-size: var(--font-p2-size);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    cursor: pointer;
}

.fs-form-wrap .hs-form-checkbox-display input,
.fs-form-wrap .hs-form-radio-display input {
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
    accent-color: var(--color-coral);
}

/* ============================================
   Vertical Padding
   ============================================ */

.fs-form-wrap fieldset:has(> div[style*="display: none"]:only-child),
.fs-form-wrap fieldset:has(input[type="hidden"]:only-child),
.fs-form-wrap fieldset.form-columns-0 {
    display: none;
}

.fs-form-wrap .hs-dependent-field > .hs-form-field {
    margin-top: 2rem;
}

.fs-form-wrap .hs-dependent-field > .hs-form-field:first-child {
    margin-top: 0;
}

.fs-container.text-overlay{
	background-color: rgba(0, 0, 0, .4);
	padding: 40px;
}

@media (max-width: 767px) {
    .fs-container.text-overlay{
		padding: 20px;
	}
}

/* Fields answered automatically by the Streamlined Demo Form option */
.hs-form .ef-field-hidden {
    display: none !important;
}

.hs-form .hs_recaptcha{
	margin-top: 10px;
}