.iia-v3-wrap,
.iia-v3-wrap * {
    box-sizing: border-box;
}

.iia-v3-wrap {
    --iia-gold: #c3912d;
    --iia-gold-dark: #a7781c;
    --iia-dark: #181818;
    --iia-text: #292929;
    --iia-muted: #6f6b63;
    --iia-border: #dedbd3;
    --iia-soft: #f8f6f1;
    --iia-error: #b42318;
    --iia-success: #286536;

    width: 100%;
    padding: 65px 18px;
    background:
        radial-gradient(circle at 85% 0%, rgba(195,145,45,.08), transparent 30%),
        #faf9f6;
    color: var(--iia-text);
    font-family: "Poppins", Arial, sans-serif;
}

.iia-v3-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 21px;
}

.iia-v3-header {
    max-width: 800px;
    margin: 0 auto 38px;
    text-align: center;
}

.iia-v3-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--iia-gold-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.iia-v3-kicker::before,
.iia-v3-kicker::after {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--iia-gold);
}

.iia-v3-header h1 {
    margin: 0 0 18px;
    color: #181818;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 62px);
    line-height: 1.08;
    font-weight: 500;
}

.iia-v3-header p {
    max-width: 760px;
    margin: 0 auto;
    color: #5e5a53;
    font-size: 16px;
    line-height: 1.8;
}

.iia-v3-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--iia-border);
    border-radius: 14px;
}

.iia-v3-info-item {
    padding: 22px 18px;
    text-align: center;
    border-right: 1px solid var(--iia-border);
}

.iia-v3-info-item:last-child {
    border-right: 0;
}

.iia-v3-info-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #faf5e8;
    color: var(--iia-gold-dark);
}

.iia-v3-info-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.iia-v3-info-label {
    display: block;
    margin-bottom: 3px;
    color: #79746c;
    font-size: 12px;
}

.iia-v3-info-value {
    color: #181818;
    font-size: 14px;
    font-weight: 650;
}

.iia-v3-form {
    position: relative;
    padding: 40px;
    background: #fff;
    border: 1px solid var(--iia-border);
    border-radius: 18px;
}

.iia-v3-required-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 28px;
    padding: 12px 14px;
    background: #faf8f3;
    border: 1px solid #eee9df;
    border-radius: 8px;
    color: #68635b;
    font-size: 12px;
    line-height: 1.5;
}

.iia-v3-required-star {
    color: var(--iia-error);
    font-size: 17px;
    font-weight: 700;
}

.iia-v3-error-summary {
    display: none;
    margin: 0 0 30px;
    padding: 17px 18px;
    background: #fff5f4;
    border: 1px solid #f2b8b5;
    border-left: 4px solid var(--iia-error);
    border-radius: 9px;
    color: #7a271a;
}

.iia-v3-error-summary.is-visible {
    display: block;
}

.iia-v3-error-summary-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 5px;
    color: var(--iia-error);
    font-size: 14px;
    font-weight: 700;
}

.iia-v3-error-summary-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--iia-error);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.iia-v3-error-summary p {
    margin: 0;
    color: #7a423b;
    font-size: 13px;
    line-height: 1.6;
}

.iia-v3-section {
    margin-bottom: 42px;
}

.iia-v3-section:last-of-type {
    margin-bottom: 26px;
}

.iia-v3-section-head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 14px;
    margin-bottom: 24px;
    border-bottom: 1px solid #ece9e2;
}

.iia-v3-section-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f7f0df;
    color: var(--iia-gold-dark);
    font-size: 14px;
    font-weight: 700;
}

.iia-v3-section-head h2 {
    margin: 0;
    color: #202020;
    font-size: 20px;
    font-weight: 650;
}

.iia-v3-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.iia-v3-field-full {
    grid-column: 1 / -1;
}

.iia-v3-field {
    position: relative;
}

.iia-v3-field[hidden] {
    display: none !important;
}

.iia-v3-field label {
    display: block;
    margin-bottom: 7px;
    color: #292929;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    transition: color .2s ease;
}

.iia-v3-required {
    margin-left: 2px;
    color: var(--iia-error);
}

.iia-v3-help {
    display: block;
    margin: -2px 0 8px;
    color: #77736b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.iia-v3-field input,
.iia-v3-field select,
.iia-v3-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #d4d0c8;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: #242424;
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.iia-v3-field textarea {
    min-height: 125px;
    resize: vertical;
    line-height: 1.6;
}

.iia-v3-field input:hover,
.iia-v3-field select:hover,
.iia-v3-field textarea:hover {
    border-color: #b9b4aa;
}

.iia-v3-field input:focus,
.iia-v3-field select:focus,
.iia-v3-field textarea:focus {
    border-color: var(--iia-gold);
    box-shadow: 0 0 0 3px rgba(195,145,45,.11);
}

.iia-v3-field input::placeholder,
.iia-v3-field textarea::placeholder {
    color: #a19d95;
}

.iia-v3-field select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 45px;
    background-image:
        linear-gradient(45deg, transparent 50%, #777 50%),
        linear-gradient(135deg, #777 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 23px,
        calc(100% - 15px) 23px;
    background-size: 5px 5px;
    background-repeat: no-repeat;
}

.iia-v3-field.has-error label {
    color: var(--iia-error);
}

.iia-v3-field.has-error input,
.iia-v3-field.has-error select,
.iia-v3-field.has-error textarea {
    border-color: var(--iia-error);
    background-color: #fffafa;
    box-shadow: 0 0 0 3px rgba(180,35,24,.07);
}

.iia-v3-field.has-error input:focus,
.iia-v3-field.has-error select:focus,
.iia-v3-field.has-error textarea:focus {
    border-color: var(--iia-error);
    box-shadow: 0 0 0 3px rgba(180,35,24,.12);
}

.iia-v3-field-error {
    display: none;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: var(--iia-error);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 500;
}

.iia-v3-field.has-error .iia-v3-field-error {
    display: flex;
}

.iia-v3-field-error::before {
    content: "!";
    width: 16px;
    height: 16px;
    min-width: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--iia-error);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.iia-v3-field.is-valid input,
.iia-v3-field.is-valid select,
.iia-v3-field.is-valid textarea {
    border-color: #a7cdb1;
}

.iia-v3-submit {
    width: 100%;
    min-height: 57px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 9px;
    background: var(--iia-gold);
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    transition: background .2s ease, transform .15s ease, opacity .2s ease;
}

.iia-v3-submit:hover {
    background: var(--iia-gold-dark);
}

.iia-v3-submit:active {
    transform: translateY(1px);
}

.iia-v3-submit:disabled {
    opacity: .7;
    cursor: wait;
}

.iia-v3-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: iia-v3-spin .7s linear infinite;
}

.iia-v3-submit.is-loading .iia-v3-spinner {
    display: inline-block;
}

@keyframes iia-v3-spin {
    to { transform: rotate(360deg); }
}

.iia-v3-message {
    display: none;
    margin-top: 17px;
    padding: 15px 17px;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.6;
}

.iia-v3-message.success {
    display: block;
    background: #edf8ef;
    border: 1px solid #bee0c3;
    color: #286536;
}

.iia-v3-message.error {
    display: block;
    background: #fff0ed;
    border: 1px solid #edc2b8;
    color: #91382a;
}

.iia-v3-honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 767px) {
    .iia-v3-wrap {
        padding: 42px 14px;
    }

    .iia-v3-container {
        padding: 0;
    }

    .iia-v3-header {
        margin-bottom: 28px;
    }

    .iia-v3-header h1 {
        font-size: 40px;
    }

    .iia-v3-header p {
        font-size: 15px;
        line-height: 1.7;
    }

    .iia-v3-info-grid {
        grid-template-columns: 1fr;
    }

    .iia-v3-info-item {
        border-right: 0;
        border-bottom: 1px solid var(--iia-border);
    }

    .iia-v3-info-item:last-child {
        border-bottom: 0;
    }

    .iia-v3-form {
        padding: 25px 17px;
        border-radius: 14px;
    }

    .iia-v3-grid {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .iia-v3-field-full {
        grid-column: auto;
    }

    .iia-v3-section {
        margin-bottom: 34px;
    }

    .iia-v3-section-head {
        margin-bottom: 20px;
    }

    .iia-v3-section-head h2 {
        font-size: 18px;
    }
}

/* v3.2 radio-button style fields */
.iia-v3-radio-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.iia-v3-radio-option {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.iia-v3-radio-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.iia-v3-radio-option span {
    min-height: 50px;
    padding: 13px 15px 13px 42px;
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid #d4d0c8;
    border-radius: 9px;
    background: #ffffff;
    color: #242424;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.iia-v3-radio-option span::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    border: 1.8px solid #b8b2a8;
    border-radius: 50%;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.iia-v3-radio-option span::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 7px;
    height: 7px;
    transform: translateY(-50%) scale(0);
    border-radius: 50%;
    background: var(--iia-gold);
    transition: transform .18s ease;
}

.iia-v3-radio-option input:checked + span {
    border-color: var(--iia-gold);
    background: #fffaf0;
    color: #181818;
    box-shadow: 0 0 0 3px rgba(195,145,45,.10);
}

.iia-v3-radio-option input:checked + span::before {
    border-color: var(--iia-gold);
}

.iia-v3-radio-option input:checked + span::after {
    transform: translateY(-50%) scale(1);
}

.iia-v3-radio-option input:focus-visible + span {
    border-color: var(--iia-gold);
    box-shadow: 0 0 0 3px rgba(195,145,45,.18);
}

.iia-v3-field.has-error .iia-v3-radio-option span {
    border-color: var(--iia-error);
    background-color: #fffafa;
}

/* v3.2 stronger mobile layout */
.iia-v3-wrap {
    overflow-x: hidden;
}

.iia-v3-form,
.iia-v3-info-grid,
.iia-v3-field input,
.iia-v3-field select,
.iia-v3-field textarea,
.iia-v3-submit {
    max-width: 100%;
}

@media (max-width: 767px) {
    .iia-v3-wrap {
        padding: 32px 10px;
    }

    .iia-v3-container {
        max-width: 100%;
        padding: 0 !important;
    }

    .iia-v3-header h1 {
        font-size: 34px;
        line-height: 1.12;
    }

    .iia-v3-header p {
        max-width: 100%;
        font-size: 14px;
    }

    .iia-v3-form {
        padding: 22px 14px;
        border-radius: 14px;
    }

    .iia-v3-section-head {
        gap: 10px;
        padding-bottom: 12px;
        margin-bottom: 18px;
    }

    .iia-v3-section-number {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 13px;
    }

    .iia-v3-section-head h2 {
        font-size: 17px;
        line-height: 1.25;
    }

    .iia-v3-field label {
        font-size: 13px;
    }

    .iia-v3-field input,
    .iia-v3-field select,
    .iia-v3-field textarea {
        min-height: 50px;
        padding: 12px 13px;
        font-size: 16px;
    }

    .iia-v3-radio-option span {
        min-height: 48px;
        padding: 12px 12px 12px 38px;
        font-size: 14px;
    }

    .iia-v3-radio-option span::before {
        left: 13px;
    }

    .iia-v3-radio-option span::after {
        left: 18px;
    }

    .iia-v3-submit {
        min-height: 54px;
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .iia-v3-wrap {
        padding: 24px 8px;
    }

    .iia-v3-header {
        margin-bottom: 22px;
    }

    .iia-v3-header h1 {
        font-size: 30px;
    }

    .iia-v3-info-item {
        padding: 16px 12px;
    }

    .iia-v3-form {
        padding: 18px 12px;
        border-radius: 12px;
    }

    .iia-v3-grid {
        gap: 16px;
    }

    .iia-v3-section {
        margin-bottom: 28px;
    }

    .iia-v3-required-note,
    .iia-v3-error-summary,
    .iia-v3-message {
        padding: 13px 12px;
    }

    .iia-v3-radio-group {
        gap: 8px;
    }

    .iia-v3-radio-option span {
        min-height: 46px;
        font-size: 13px;
    }
}
