/* ==========================================================
   VenueWise — Adviser Request Page
   Scoped to .avf-page
   Tokens → layout → components → responsive
   ========================================================== */

/* ----------------------------------------------------------
   TOKENS
   ---------------------------------------------------------- */
.avf-page {
    --avf-lime:         #c8d200;
    --avf-lime-dim:     #b6bf00;
    --avf-ink:          #0f0f0d;
    --avf-ink-2:        #1a1a17;
    --avf-paper:        #ffffff;
    --avf-paper-2:      #f6f6f1;
    --avf-line:         #e8e8e1;
    --avf-muted:        #6b6b63;
    --avf-muted-2:      #9a9a90;
    --avf-error:        #cc3a2e;

    --avf-font-display: "Neue", system-ui, sans-serif;
    --avf-font-body:    "Neue", system-ui, sans-serif;
    --avf-font-mono:    "Neue", system-ui, sans-serif;

    --avf-radius-sm:    8px;
    --avf-radius-md:    12px;
    --avf-radius-lg:    16px;
    --avf-radius-xl:    22px;

    --avf-shadow:       0 1px 0 rgba(15,15,13,.04), 0 24px 60px -32px rgba(15,15,13,.18);

    --avf-s1: 4px;
    --avf-s2: 8px;
    --avf-s3: 12px;
    --avf-s4: 16px;
    --avf-s5: 20px;
    --avf-s6: 24px;
    --avf-s7: 32px;
    --avf-s8: 48px;
}

/* ----------------------------------------------------------
   BASE RESET (scoped)
   ---------------------------------------------------------- */
.avf-page *,
.avf-page *::before,
.avf-page *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.avf-page input,
.avf-page textarea,
.avf-page button,
.avf-page select {
    font-family: var(--avf-font-body);
}

.avf-page {
    background: var(--avf-paper);
    color: var(--avf-ink);
    font-family: var(--avf-font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-size: 16px;
    line-height: 1.55;
}

.avf-page ::selection {
    background: var(--avf-lime);
    color: var(--avf-ink);
}

/* ----------------------------------------------------------
   CONTAINER
   ---------------------------------------------------------- */
.avf-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .avf-container {
        padding: 0 48px;
    }
}

@media (min-width: 1280px) {
    .avf-container {
        padding: 0 64px;
    }
}

/* ----------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------- */
.avf-hero {
    padding: var(--avf-s7) 0;
}

.avf-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--avf-s7);
}

@media (min-width: 980px) {
    .avf-hero {
        padding: 80px 0 20px;
    }

    .avf-hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 64px;
        align-items: start;
    }
}

.avf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 5px 6px;
    border: 1px solid var(--avf-line);
    border-radius: 999px;
    background: var(--avf-paper-2);
    font-family: var(--avf-font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--avf-muted);
    text-transform: uppercase;
}

.avf-eyebrow__pip {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--avf-lime);
    display: grid;
    place-items: center;
    color: var(--avf-ink);
    flex-shrink: 0;
}

.avf-hero__title {
    font-family: var(--avf-font-display);
    font-size: clamp(28px, 7vw, 82px);
    line-height: 1.0;
    letter-spacing: -0.03em;
    font-weight: 700;
    margin: var(--avf-s4) 0 0;
    color: var(--avf-ink-2);
}

@media (max-width: 979px) {
    .avf-hero__title {
        font-weight: 500;
    }
}

.avf-hero__title-line {
    display: block;
}

.avf-hero__title .avf-accent {
    background: var(--avf-lime);
    color: var(--avf-ink);
    padding: 0 0.12em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
}

.avf-hero__title .avf-accent--block {
    display: inline-block;
    background: var(--avf-lime);
    color: var(--avf-ink);
    padding: 11px 11px 30px 11px;
    width: fit-content;
}

@media (max-width: 979px) {
    .avf-hero__title .avf-accent--block {
        padding: 4px 6px 8px 6px;
    }
}

@media (min-width: 980px) {
    .avf-hero__title .avf-accent--block {
        width: 78% !important;
    }
}

.avf-hero__lede {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--avf-muted);
    max-width: 52ch;
    margin: var(--avf-s5) 0 0;
    line-height: 1.55;
}

.avf-hero__lede strong {
    color: var(--avf-ink-2);
    font-weight: 600;
}

/* ----------------------------------------------------------
   COLLABORATION FORM CARD
   ---------------------------------------------------------- */
.avf-form-sticky {
    position: relative;
}

@media (max-width: 979px) {
    .avf-form-sticky {
        padding-top: 24px;
        position: relative;
    }
    .avf-form-sticky::before {
        content: '';
        position: absolute;
        top: 0;
        left: -24px;
        right: -24px;
        height: 1px;
        background: var(--avf-line);
    }
}

@media (min-width: 980px) {
    .avf-form-sticky {
        position: sticky;
        top: 92px;
    }
}

.avf-page .avf-form-card {
    background: #fafafa;
    border: 1px solid var(--avf-line);
    border-radius: var(--avf-radius-xl) !important;
    padding: 28px;
    box-shadow: none;
}

.avf-form-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--avf-s4);
    margin-bottom: var(--avf-s5);
}

.avf-form-card__title {
    font-family: var(--avf-font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--avf-ink-2);
    margin: 0;
}

.avf-form-card__sub {
    color: var(--avf-muted);
    font-size: 13px;
    margin: 4px 0 0;
}

.avf-form-card__pill {
    font-family: var(--avf-font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--avf-muted);
    border: 1px solid var(--avf-line);
    padding: 5px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ----------------------------------------------------------
   FORM FIELDS
   ---------------------------------------------------------- */
.avf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

@media (max-width: 979px) {
    .avf-field {
        margin-bottom: 6px;
    }
}

.avf-label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--avf-ink-2);
    display: flex;
    align-items: center;
    gap: 4px;
}

.avf-label__req {
    color: var(--avf-lime-dim);
    font-weight: 700;
}

.avf-label__hint {
    color: var(--avf-muted-2);
    font-weight: 400;
}

.avf-page .avf-input,
.avf-page input.avf-input,
.avf-page textarea.avf-input {
    height: 46px;
    width: 100%;
    border: 1px solid var(--avf-line);
    background: var(--avf-paper);
    color: var(--avf-ink);
    border-radius: var(--avf-radius-md) !important;
    padding: 0 14px;
    font-family: var(--avf-font-body);
    font-size: 15px;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.avf-input::placeholder {
    color: var(--avf-muted-2);
}

.avf-input:hover {
    border-color: color-mix(in srgb, var(--avf-ink) 30%, var(--avf-line));
}

.avf-page .avf-input:focus,
.avf-page input.avf-input:focus,
.avf-page textarea.avf-input:focus {
    outline: none;
    border-color: var(--avf-ink);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--avf-lime) 35%, transparent);
}

.avf-input--error {
    border-color: var(--avf-error);
    box-shadow: 0 0 0 4px rgba(204, 58, 46, 0.12);
}


.avf-error-msg {
    color: var(--avf-error);
    font-size: 12px;
    min-height: 0;
    line-height: 1.4;
}

/* two-column row */
.avf-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
}

@media (min-width: 520px) {
    .avf-row-2 {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

/* ----------------------------------------------------------
   PHONE INPUT
   ---------------------------------------------------------- */
.avf-phone-wrap {
    border: 1px solid var(--avf-line);
    border-radius: var(--avf-radius-md) !important;
    background: var(--avf-paper);
    transition: border-color 0.15s, box-shadow 0.15s;
    overflow: visible;
}

.avf-phone-wrap:hover {
    border-color: color-mix(in srgb, var(--avf-ink) 30%, var(--avf-line));
}

.avf-phone-wrap--focused,
.avf-phone-wrap:focus-within {
    border-color: var(--avf-ink);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--avf-lime) 35%, transparent);
}

/* ITI fills the wrap */
.avf-phone-wrap .iti {
    display: block;
    width: 100%;
}

.avf-phone-wrap .iti__flag-container {
    top: 0 !important;
    bottom: 0 !important;
    padding: 0 !important;
}

/* Country selector button — left side with border-right divider */
.avf-phone-wrap .iti__selected-country {
    height: 46px !important;
    margin-top: -1px !important;
    padding: 0 10px 0 12px !important;
    background: transparent !important;
    border-right: 1px solid var(--avf-line) !important;
    border-radius: var(--avf-radius-md) 0 0 var(--avf-radius-md) !important;
    gap: 0 !important;
    font-family: var(--avf-font-body) !important;
}

.avf-phone-wrap .iti__selected-country:hover {
    background: var(--avf-paper-2) !important;
    border-radius: var(--avf-radius-md) 0 0 var(--avf-radius-md) !important;
    border-right: 1px solid var(--avf-line) !important;
}

.avf-phone-wrap .iti__selected-country-primary {
    gap: 0 !important;
    padding: 0 4px 0 0 !important;
}

.avf-phone-wrap .iti__selected-country-primary:hover,
.avf-phone-wrap .iti__selected-country:has(+ .iti__dropdown-content:hover) .iti__selected-country-primary {
    background: transparent !important;
}

/* Hide the arrow from its current position inside primary */
.avf-phone-wrap .iti__arrow {
    display: none !important;
}

/* Show caret after the dial code instead */
.avf-phone-wrap .iti__selected-dial-code::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--avf-muted);
    margin-left: 6px;
    flex-shrink: 0;
}

/* Dial code text */
.avf-phone-wrap .iti__selected-dial-code {
    font-family: var(--avf-font-body) !important;
    font-size: 14px !important;
    color: var(--avf-muted) !important;
    font-variant-numeric: tabular-nums;
    display: flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

/* Number input — right side (let ITI manage left padding for dial code clearance) */
.avf-phone-wrap .iti__tel-input {
    height: 46px !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    font-family: var(--avf-font-body) !important;
    font-size: 15px !important;
    color: var(--avf-ink) !important;
    outline: none !important;
    padding-right: 14px !important;
}

.avf-phone-wrap .iti__tel-input::placeholder {
    color: var(--avf-muted-2) !important;
}

/* Dropdown */
.avf-phone-wrap .iti__dropdown-content {
    z-index: 9999 !important;
    border: 1px solid var(--avf-line) !important;
    border-radius: var(--avf-radius-md) !important;
    box-shadow: var(--avf-shadow) !important;
    font-family: var(--avf-font-body) !important;
    font-size: 14px !important;
    background: var(--avf-paper) !important;
}

.avf-phone-wrap .iti__search-input {
    font-family: var(--avf-font-body) !important;
    font-size: 14px !important;
    border-bottom: 1px solid var(--avf-line) !important;
    border-radius: var(--avf-radius-md) var(--avf-radius-md) 0 0 !important;
    padding: 8px 12px !important;
    outline: none !important;
    width: 100% !important;
}

.avf-phone-wrap .iti__country {
    padding: 8px 12px !important;
    color: var(--avf-ink) !important;
    font-family: var(--avf-font-body) !important;
}

.avf-phone-wrap .iti__country.iti__highlight,
.avf-phone-wrap .iti__country:hover {
    background: var(--avf-paper-2) !important;
}

.avf-phone-wrap--error {
    border-color: var(--avf-error);
    box-shadow: 0 0 0 4px rgba(204, 58, 46, 0.12);
}

/* Autofill detection hook: the browser applies :-webkit-autofill when it autofills the
   field, which starts this no-op animation and fires a JS 'animationstart' event — letting
   us re-validate even when autofill dispatches no 'input' event. */
@keyframes avf-autofill { from { /* noop */ } to { /* noop */ } }
.avf-phone-wrap input:-webkit-autofill {
    animation-name: avf-autofill;
    animation-duration: 0.001s;
}
.avf-phone-wrap input:autofill {
    animation-name: avf-autofill;
    animation-duration: 0.001s;
}

/* ----------------------------------------------------------
   COMMUNICATION METHOD RADIO CARDS
   ---------------------------------------------------------- */
.avf-comm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 979px) {
    /* Segmented 3-up chip control with a visible checkbox per chip (matches Temp_design) */
    .avf-comm-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 4px;
        border: 1px solid var(--avf-line);
        border-radius: var(--avf-radius-md);
        padding: 4px;
        background: #ffffff;
    }
    /* prefixed with .avf-comm-grid to outrank the base .avf-comm-card* rules that
       appear later in the file (equal specificity would otherwise let them win) */
    .avf-comm-grid .avf-comm-card {
        border: none !important;
        border-radius: 7px;
        padding: 0 6px;
        height: 40px;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        gap: 6px;
        background: transparent;
    }
    .avf-comm-grid .avf-comm-card:hover {
        transform: none;
    }
    /* Keep the icon + description hidden on mobile, but SHOW the checkbox */
    .avf-comm-grid .avf-comm-card__icon,
    .avf-comm-grid .avf-comm-card__desc {
        display: none !important;
    }
    .avf-comm-grid .avf-comm-card__check {
        position: static;
        top: auto;
        right: auto;
        width: 14px;
        height: 14px;
        border-radius: 4px;
        flex-shrink: 0;
        display: grid;
        place-items: center;
    }
    .avf-comm-grid .avf-comm-card__check::after {
        width: 9px;
        height: 9px;
        margin: 0;
    }
    .avf-comm-grid .avf-comm-card__label {
        font-size: 13px;
        font-weight: 500;
    }
    .avf-comm-grid .avf-comm-card--selected {
        background: var(--avf-ink);
        color: var(--avf-paper);
        border-color: var(--avf-ink);
    }
    .avf-comm-grid .avf-comm-card--selected .avf-comm-card__label {
        color: var(--avf-paper);
    }
}

.avf-comm-card {
    position: relative;
    border: 1px solid var(--avf-line);
    border-radius: var(--avf-radius-md);
    padding: 14px 12px;
    cursor: pointer;
    background: var(--avf-paper);
    transition: border-color 0.15s, transform 0.15s;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.avf-comm-card:hover {
    border-color: color-mix(in srgb, var(--avf-ink) 30%, var(--avf-line));
    transform: translateY(-1px);
}

.avf-comm-card__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.avf-comm-card__check {
    position: absolute;
    top: 15px;
    right: 18px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1.5px solid var(--avf-line);
    transition: all 0.15s;
}

.avf-comm-card__check::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background: var(--avf-tick-icon) center/contain no-repeat;
    opacity: 0;
    transition: opacity 0.15s;
    margin: 2px auto 0;
}

.avf-comm-card__input:checked ~ .avf-comm-card__check {
    border-color: var(--avf-lime);
    background: var(--avf-lime);
}

.avf-comm-card__input:checked ~ .avf-comm-card__check::after {
    opacity: 1;
}

.avf-comm-card--selected {
    border-color: var(--avf-ink);
    background: var(--avf-ink);
    color: var(--avf-paper);
}

.avf-comm-card__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--avf-paper-2);
    display: grid;
    place-items: center;
    color: var(--avf-ink);
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.avf-comm-card--selected .avf-comm-card__icon {
    background: var(--avf-lime);
    color: var(--avf-ink);
}

.avf-comm-card__label {
    font-size: 13.5px;
    font-weight: 500;
}

.avf-comm-card__desc {
    font-size: 11.5px;
    color: var(--avf-muted);
    white-space: nowrap;
}

.avf-comm-card--selected .avf-comm-card__desc {
    color: color-mix(in srgb, var(--avf-paper) 70%, transparent);
}

/* ----------------------------------------------------------
   SUBMIT BUTTON
   ---------------------------------------------------------- */
.avf-submit {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: var(--avf-radius-lg);
    background: var(--avf-lime);
    color: var(--avf-ink);
    font-family: var(--avf-font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.005em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.15s ease, background 0.15s;
    box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--avf-lime) 75%, transparent);
    margin-top: var(--avf-s4);
}

.avf-submit:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--avf-lime) 90%, var(--avf-ink) 10%);
}

.avf-submit:active {
    transform: translateY(0);
}

.avf-submit[aria-disabled="true"],
.avf-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.avf-submit__arrow {
    transition: transform 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.avf-submit:hover .avf-submit__arrow {
    transform: translateX(4px);
}

/* ----------------------------------------------------------
   FORM FOOTER NOTE
   ---------------------------------------------------------- */
.avf-form-foot {
    margin-top: var(--avf-s3);
    font-size: 11.5px;
    color: var(--avf-muted);
    line-height: 1.5;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.avf-form-foot svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--avf-muted-2);
}

/* ----------------------------------------------------------
   2-STEP WIZARD — progress bar
   ---------------------------------------------------------- */
.avf-step-progress {
    display: flex;
    gap: 6px;
    margin: 16px 0 22px;
}

.avf-step-progress__seg {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: var(--avf-line);
    overflow: hidden;
    position: relative;
}

.avf-step-progress__fill {
    position: absolute;
    inset: 0;
    background: var(--avf-lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.avf-step-progress__seg--active .avf-step-progress__fill {
    transform: scaleX(1);
}

/* ----------------------------------------------------------
   2-STEP WIZARD — step panes (slide on navigate)
   ---------------------------------------------------------- */
.avf-step-pane {
    animation: avf-step-in 0.32s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.avf-step-pane--back {
    animation-name: avf-step-in-back;
}

@keyframes avf-step-in {
    from { opacity: 0; transform: translateX(8px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes avf-step-in-back {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .avf-step-pane { animation: none; }
    .avf-step-progress__fill { transition: none; }
}

/* ----------------------------------------------------------
   2-STEP WIZARD — back button + actions row
   ---------------------------------------------------------- */
.avf-form-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.avf-form-actions .avf-submit {
    margin-top: 0;
}

.avf-btn-back {
    flex-shrink: 0;
    height: 54px;
    padding: 0 18px;
    border: 1px solid var(--avf-line);
    background: var(--avf-paper);
    border-radius: var(--avf-radius-lg);
    font-family: var(--avf-font-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--avf-ink-2);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.15s, background 0.15s;
}

.avf-btn-back:hover {
    border-color: color-mix(in srgb, var(--avf-ink) 35%, var(--avf-line));
}

.avf-btn-back__arrow {
    display: inline-flex;
    transform: rotate(180deg);
}

/* ----------------------------------------------------------
   2-STEP WIZARD — toggle row + switch
   ---------------------------------------------------------- */
.avf-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--avf-line);
    border-radius: var(--avf-radius-md);
    background: var(--avf-paper);
    transition: border-color 0.15s;
}

.avf-toggle-row:hover {
    border-color: color-mix(in srgb, var(--avf-ink) 30%, var(--avf-line));
}

.avf-toggle-row__label {
    font-size: 13.5px;
    color: var(--avf-ink-2);
    font-weight: 500;
}

.avf-switch {
    position: relative;
    flex-shrink: 0;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: var(--avf-line);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: background 0.18s ease;
}

.avf-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.18s ease;
}

.avf-switch--on {
    background: var(--avf-lime);
}

.avf-switch--on::after {
    transform: translateX(18px);
}

.avf-switch:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--avf-lime) 35%, transparent);
}

/* ----------------------------------------------------------
   2-STEP WIZARD — Step 2 select / textarea / date fields
   ---------------------------------------------------------- */
.avf-page select.avf-input {
    cursor: pointer;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b6b63' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

/* empty select / unset date show muted placeholder colour */
.avf-input--placeholder {
    color: var(--avf-muted-2);
}

.avf-page input[type="date"].avf-input {
    cursor: pointer;
}

.avf-page input[type="date"].avf-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.55;
}

.avf-page textarea.avf-input {
    height: auto;
    min-height: 96px;
    padding: 12px 14px;
    line-height: 1.5;
    resize: vertical;
}

/* ----------------------------------------------------------
   2-STEP WIZARD — submit loading spinner (optional state)
   ---------------------------------------------------------- */
.avf-submit__spinner {
    display: inline-flex;
    animation: avf-spin 0.8s linear infinite;
}

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

/* ----------------------------------------------------------
   KPI STRIP
   ---------------------------------------------------------- */
.avf-kpi {
    border-top: 1px solid var(--avf-line);
    border-bottom: 1px solid var(--avf-line);
    margin-top: 0;
}

@media (max-width: 979px) {
    .avf-kpi {
        display: none;
    }
    .avf-marquee .avf-container div {
        text-align: left !important;
    }
}

.avf-kpi__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .avf-kpi__row { padding: 0 48px; }
}

@media (min-width: 1280px) {
    .avf-kpi__row { padding: 0 40px; }
}

.avf-kpi__cell {
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-right: 1px solid var(--avf-line);
    border-bottom: 1px solid var(--avf-line);
    transition: background 0.2s;
}

.avf-kpi__cell:hover {
    background: var(--avf-paper-2);
}

.avf-kpi__cell:nth-child(2n) {
    border-right: 0;
}

.avf-kpi__cell:nth-last-child(-n+2) {
    border-bottom: 0;
}

@media (min-width: 720px) {
    .avf-kpi__row {
        grid-template-columns: repeat(5, 1fr);
    }

    .avf-kpi__cell {
        border-bottom: 0;
        padding: 32px 24px;
    }

    .avf-kpi__cell:nth-child(2n) {
        border-right: 1px solid var(--avf-line);
    }

    .avf-kpi__cell:last-child {
        border-right: 0;
    }
}

.avf-kpi__eyebrow {
    font-family: var(--avf-font-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--avf-muted-2);
}

.avf-kpi__num {
    font-family: var(--avf-font-display);
    font-size: clamp(34px, 3.6vw, 44px);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--avf-ink-2);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.avf-kpi__unit {
    color: var(--avf-lime-dim);
}

.avf-kpi__label {
    font-size: 13px;
    color: var(--avf-muted);
    line-height: 1.4;
}

/* ----------------------------------------------------------
   PROCESS STEPS
   ---------------------------------------------------------- */
.avf-process {
    padding: 80px 0 40px;
}

@media (max-width: 979px) {
    .avf-process {
        border-top: 1px solid var(--avf-line);
        padding-top: 32px;
        padding-bottom: 0;
    }

    .avf-step {
        grid-template-columns: 56px 1fr;
    }

    .avf-step:last-child {
        border-bottom: none;
    }
}

.avf-section-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--avf-s3);
    margin-bottom: 48px;
}

@media (min-width: 860px) {
    .avf-section-head {
        grid-template-columns: 1fr 1fr;
        align-items: end;
        gap: 40px;
    }
}

.avf-section-eyebrow {
    font-family: var(--avf-font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--avf-muted);
}

.avf-section-title {
    font-family: var(--avf-font-display);
    font-size: clamp(28px, 4.4vw, 52px);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: var(--avf-ink-2);
    margin: var(--avf-s2) 0 0;
    text-wrap: balance;
}

.avf-section-sub {
    color: var(--avf-muted);
    font-size: 16px;
    max-width: 44ch;
    line-height: 1.55;
    margin: 0;
}

.avf-steps {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--avf-line);
    list-style: none;
    padding: 0;
    margin: 0;
}

.avf-step {
    display: grid;
    grid-template-columns: 56px 1fr 44px;
    gap: var(--avf-s5);
    padding: 28px 0;
    border-bottom: 1px solid var(--avf-line);
    align-items: start;
    position: relative;
    transition: padding 0.25s;
}

.avf-step::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--avf-paper-2);
    opacity: 0;
    z-index: -1;
    border-radius: var(--avf-radius-md);
    transition: opacity 0.2s;
}

.avf-step:hover {
    padding-left: var(--avf-s2);
    padding-right: var(--avf-s2);
}

.avf-step:hover::before {
    opacity: 1;
}

@media (min-width: 740px) {
    .avf-step {
        grid-template-columns: 100px 1fr 56px;
        gap: 32px;
        padding: 36px 0;
    }
}

.avf-step__num {
    font-family: var(--avf-font-display);
    font-weight: 400;
    font-size: clamp(26px, 4vw, 39px);
    letter-spacing: -0.02em;
    color: #D9D9D9;
    line-height: 1;
    transition: color 0.2s;
}

.avf-step:hover .avf-step__num {
    color: var(--avf-ink-2);
}

.avf-step__num-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--avf-lime);
    border-radius: 50%;
    margin-left: 4px;
    transform: translateY(-2px);
    opacity: 0;
    transition: opacity 0.2s;
}

.avf-step:hover .avf-step__num-dot {
    opacity: 1;
}

.avf-step__body {
    padding-top: 4px;
    align-self: start;
}

@media (max-width: 739px) {
    .avf-step__body {
        padding-top: 0;
        margin-top: -6px;
    }
}

.avf-step__title {
    font-family: var(--avf-font-display);
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--avf-ink-2);
    margin: 0 0 6px;
}

.avf-step__desc {
    color: var(--avf-muted);
    font-size: 15px;
    margin: 0;
    max-width: 60ch;
}

@media (max-width: 979px) {
    .avf-step__desc {
        padding-right: 20px;
    }
}

.avf-step__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--avf-radius-md);
    background: var(--avf-paper-2);
    display: grid;
    place-items: center;
    color: var(--avf-ink);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.avf-step:hover .avf-step__icon {
    background: var(--avf-lime);
}

@media (max-width: 979px) {
    .avf-step {
        grid-template-columns: 32px 1fr;
        column-gap: 10px;
    }

    .avf-step__icon {
        display: none;
    }

    .avf-step__num {
        font-size: 14px;
        font-weight: 400;
    }
}

/* ----------------------------------------------------------
   BAND (dark statement)
   ---------------------------------------------------------- */
.avf-band {
    background: var(--avf-ink);
    color: var(--avf-paper);
    padding: clamp(56px, 9vw, 96px) 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 979px) {
    .avf-band {
        margin-top: 20px;
        padding-top: 24px;
    }
}

.avf-band::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 480px;
    height: 240px;
    background: var(--avf-lime);
    border-radius: 50%;
    opacity: 0.10;
    filter: blur(80px);
    pointer-events: none;
}

.avf-band::after {
    content: "";
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 160px;
    background: #C8D200;
    border-radius: 0 0 50% 50%;
    opacity: 0.18;
    filter: blur(80px);
    pointer-events: none;
}

.avf-band__inner {
    text-align: center;
    position: relative;
}

.avf-band__eyebrow {
    font-family: var(--avf-font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--avf-paper) 55%, transparent);
    margin-bottom: var(--avf-s4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.avf-band__eyebrow::before,
.avf-band__eyebrow::after {
    content: "";
    width: 24px;
    height: 1px;
    background: color-mix(in srgb, var(--avf-paper) 30%, transparent);
}

.avf-band__title {
    font-family: var(--avf-font-display);
    font-size: clamp(28px, 5.4vw, 60px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.05;
    max-width: 20ch;
    margin: 0 auto;
    color: var(--avf-paper);
    text-wrap: balance;
}

.avf-band__title-line {
    display: block;
}

.avf-band__accent {
    background: var(--avf-lime);
    color: var(--avf-ink);
    padding: 0 0.12em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    line-height: 0.85;
    padding-bottom: 0.1em;
}

.avf-band__sub {
    margin-top: 28px;
    font-size: 13.5px;
    color: color-mix(in srgb, var(--avf-paper) 65%, transparent);
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

@media (max-width: 979px) {
    .avf-band__sub {
        color: #A8A8A8;
    }
}

/* ----------------------------------------------------------
   AGENCY LOGOS
   ---------------------------------------------------------- */
.avf-logos {
    padding: 72px 0 32px;
    border-top: 1px solid var(--avf-line);
}

.avf-logos__head {
    text-align: center;
    margin-bottom: 36px;
}

.avf-logos__eyebrow {
    font-family: var(--avf-font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--avf-muted);
}

.avf-logos__title {
    font-family: var(--avf-font-display);
    font-size: clamp(22px, 3.2vw, 36px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--avf-ink-2);
    margin: 10px 0 8px;
    text-wrap: balance;
}

.avf-logos__sub {
    color: var(--avf-muted);
    font-size: 15px;
    max-width: 56ch;
    margin: 0 auto;
    line-height: 1.55;
}

.avf-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--avf-line);
    border: 1px solid var(--avf-line);
    border-radius: var(--avf-radius-xl);
    overflow: hidden;
}

@media (min-width: 600px) {
    .avf-logo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .avf-logo-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

.avf-logo-cell {
    background: var(--avf-paper);
    height: 88px;
    display: grid;
    place-items: center;
    padding: 14px;
    transition: background 0.2s;
}

.avf-logo-cell:hover {
    background: var(--avf-paper-2);
}

.avf-logo-cell__name {
    font-family: var(--avf-font-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    color: var(--avf-muted);
    white-space: nowrap;
    transition: color 0.2s;
}

.avf-logo-cell:hover .avf-logo-cell__name {
    color: var(--avf-ink-2);
}

/* ----------------------------------------------------------
   VENUE MARQUEE
   ---------------------------------------------------------- */
.avf-marquee {
    padding: 56px 0 40px;
}

@media (max-width: 979px) {
    .avf-marquee {
        padding-top: 24px;
    }
}

.avf-marquee__head {
    margin-bottom: 36px;
}

.avf-marquee__wrap {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--avf-line);
    border-bottom: 1px solid var(--avf-line);
}

.avf-marquee__wrap::before,
.avf-marquee__wrap::after {
    content: none;
}

.avf-marquee__row {
    display: flex;
    overflow: hidden;
    border-bottom: 1px solid var(--avf-line);
}

.avf-marquee__row:last-child {
    border-bottom: 0;
}

.avf-marquee__track {
    display: flex;
    flex-shrink: 0;
    animation: avf-marquee 60s linear infinite;
    will-change: transform;
}

.avf-marquee__track--reverse {
    animation-direction: reverse;
    animation-duration: 225s;
}

/* Pause both rows while the marquee is hovered (matches prototype) */
.avf-marquee__wrap:hover .avf-marquee__track {
    animation-play-state: paused;
}


@keyframes avf-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .avf-marquee__track {
        animation: none;
    }
}

.avf-marquee__item {
    flex-shrink: 0;
    height: 80px;
    padding: 0 36px;
    display: grid;
    place-items: center;
    border-right: 1px solid var(--avf-line);
    color: var(--avf-muted);
    font-family: var(--avf-font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: color 0.2s;
}

.avf-marquee__item:hover {
    color: var(--avf-ink-2);
}

.avf-marquee__item--logo img {
    transition: transform 0.3s ease;
}

.avf-marquee__item--logo:hover img {
    transform: scale(1.15);
}

.avf-marquee__item--logo {
    width: 120px;
    padding: 0 16px;
    flex-shrink: 0;
}

.avf-marquee__item--logo img {
    width: auto;
    height: auto;
    max-width: 72px;
    max-height: 26px;
    object-fit: contain;
}

@media (min-width: 980px) {
    .avf-marquee__item--logo {
        width: 166px;
        height: 92px;
        padding: 0 20px;
    }

    .avf-marquee__item--logo img {
        width: auto;
        height: auto;
        max-width: 80px;
        max-height: 32px;
    }
}

/* ----------------------------------------------------------
   TRUST NUMBERS
   ---------------------------------------------------------- */

/* Mobile-only trust block inside hero */
.avf-hero__mobile-trust {
    display: none;
}

@media (min-width: 980px) {
    .avf-hero__mobile-trust {
        display: none !important;
    }
}

@media (max-width: 979px) {
    .avf-hero__mobile-trust {
        display: block;
        margin-top: 24px;
        padding-top: 24px;
        position: relative;
    }
    .avf-hero__mobile-trust::before {
        content: '';
        position: absolute;
        top: 0;
        left: -24px;
        right: -24px;
        height: 1px;
        background: var(--avf-line);
    }

    /* KPI numbers as the mobile above-form block (matches Temp_design):
       a dark "Network" feature card on top + a 2×2 grid of flat eyebrow cells. */
    .avf-hero__mobile-trust .avf-kpi {
        display: block;
        border: 0;
        margin: 0;
    }
    .avf-hero__mobile-trust .avf-kpi__row {
        grid-template-columns: 1fr 1fr;
        max-width: none;
        margin: 0;
        padding: 0;
        gap: 1px;
        background: var(--avf-line);
        border: 1px solid var(--avf-line);
        border-radius: var(--avf-radius-lg);
        overflow: hidden;
    }
    .avf-hero__mobile-trust .avf-kpi__cell {
        background: #ffffff;
        border: 0;
        padding: 20px 18px;
    }

    /* Network → dark feature card, full width, shown first */
    .avf-hero__mobile-trust .avf-kpi__cell--feature {
        grid-column: 1 / -1;
        order: -1;
        background: var(--avf-ink);
        color: var(--avf-paper);
        position: relative;
        overflow: hidden;
        padding: 28px 24px;
    }
    .avf-hero__mobile-trust .avf-kpi__cell--feature::before {
        content: '';
        position: absolute;
        top: -45%;
        right: -12%;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: var(--avf-lime);
        opacity: 0.18;
        filter: blur(60px);
        pointer-events: none;
    }
    .avf-hero__mobile-trust .avf-kpi__cell--feature > * {
        position: relative;
    }
    .avf-hero__mobile-trust .avf-kpi__cell--feature .avf-kpi__num {
        color: var(--avf-paper);
        font-size: clamp(46px, 13vw, 60px);
    }
    .avf-hero__mobile-trust .avf-kpi__cell--feature .avf-kpi__eyebrow {
        color: color-mix(in srgb, var(--avf-paper) 55%, transparent);
    }
    .avf-hero__mobile-trust .avf-kpi__cell--feature .avf-kpi__label {
        color: color-mix(in srgb, var(--avf-paper) 72%, transparent);
    }
}


.avf-trust {
    padding: 80px 0 90px;
    border-top: 1px solid var(--avf-line);
}

.avf-trust .avf-container {
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 768px) {
    .avf-trust .avf-container {
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media (min-width: 1280px) {
    .avf-trust .avf-container {
        padding-left: 100px;
        padding-right: 100px;
    }
}

.avf-trust__feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--avf-line);
    border: 1px solid var(--avf-line);
    border-radius: var(--avf-radius-xl);
    overflow: hidden;
}

@media (max-width: 859px) {
    .avf-trust__feature {
        border: none;
        background: transparent;
        gap: 0;
    }

    .avf-trust__hero {
        border-radius: var(--avf-radius-lg);
    }
}

@media (min-width: 860px) {
    .avf-trust__feature {
        grid-template-columns: 1.05fr 1fr;
    }
}

.avf-trust__hero {
    background: var(--avf-ink);
    color: var(--avf-paper);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    min-height: 260px;
    position: relative;
    overflow: hidden;
}

.avf-trust__hero::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: var(--avf-lime);
    border-radius: 50%;
    opacity: 0.30;
    filter: blur(30px);
    pointer-events: none;
}

.avf-trust__hero-eyebrow {
    font-family: var(--avf-font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--avf-paper) 60%, transparent);
    position: relative;
}

.avf-trust__hero-num {
    font-family: var(--avf-font-display);
    font-size: clamp(60px, 9vw, 96px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 0.9;
    position: relative;
    font-variant-numeric: tabular-nums;
}

.avf-trust__hero-num .avf-kpi__unit {
    color: var(--avf-lime);
}

.avf-trust__hero-lbl {
    font-size: 15px;
    color: #E8E8E8;
    max-width: 30ch;
    line-height: 1.5;
    position: relative;
}

.avf-trust__hero-lbl strong {
    color: #E8E8E8;
    font-weight: 200;
}

.avf-trust__quad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: transparent;
}

.avf-trust__cell {
    background: var(--avf-paper);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-height: 130px;
}

@media (max-width: 859px) {
    .avf-trust__quad {
        gap: 12px;
        background: transparent;
        margin-top: 18px;
    }
    .avf-trust__cell {
        background: #fafafa;
        border-radius: var(--avf-radius-lg);
    }
}

.avf-trust__cell-num {
    font-family: var(--avf-font-display);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--avf-ink-2);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.avf-trust__cell-lbl {
    color: var(--avf-muted);
    font-size: 13px;
    line-height: 1.4;
}


/* ----------------------------------------------------------
   SECTION DIVIDER UTILITY
   ---------------------------------------------------------- */
.avf-divider {
    border: 0;
    border-top: 1px solid var(--avf-line);
    margin: 0;
}
