/* Become an Exhibitor — page-specific styles (aw- namespace) */

/* --- Image-backed hero --- */
.aw-exhibit-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(440px, 56vh, 600px);
    overflow: hidden;
    isolation: isolate;
}

.aw-exhibit-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: -2;
}

.aw-exhibit-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 25, 32, 0.72), rgba(18, 78, 96, 0.42) 48%, rgba(18, 78, 96, 0.08)),
        linear-gradient(180deg, rgba(5, 25, 32, 0.14), rgba(5, 25, 32, 0.3));
    z-index: -1;
}

.aw-exhibit-hero__content {
    padding-top: calc(var(--aw-header-height) + clamp(48px, 6vw, 76px));
    padding-bottom: clamp(56px, 8vw, 96px);
}

.aw-exhibit-hero .aw-eyebrow {
    color: var(--aw-highlight);
}

.aw-exhibit-hero .aw-eyebrow::before {
    background: var(--aw-highlight);
}

.aw-exhibit-hero h1 {
    max-width: 760px;
    margin: 16px 0 18px;
    color: var(--aw-white);
    font-size: clamp(3rem, 7vw, 6.8rem);
    letter-spacing: 0;
}

.aw-exhibit-hero p {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
}

/* --- Category cards --- */
.aw-exhibit-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.aw-exhibit-category__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(28px, 4vw, 38px);
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-lg);
    background: var(--aw-white);
    box-shadow: var(--aw-shadow-card);
    transition: box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aw-exhibit-category__inner:hover {
    box-shadow: var(--aw-shadow-soft);
}

.aw-exhibit-category__badge {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aw-primary), var(--aw-accent));
    color: var(--aw-white);
    font-size: 0.8rem;
    font-weight: 760;
    letter-spacing: 0.06em;
}

.aw-exhibit-category__title {
    margin: 0 0 10px;
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--aw-heading);
}

.aw-exhibit-category__desc {
    margin: 0 0 20px;
    color: var(--aw-body);
    font-size: 0.92rem;
    line-height: 1.6;
}

.aw-exhibit-category__features-wrapper {
    position: relative;
    margin-bottom: 20px;
    flex: 1;
}

.aw-exhibit-category__features {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 152px;
    overflow: hidden;
    transition: max-height 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aw-exhibit-category__features.is-expanded {
    max-height: 600px;
}

.aw-exhibit-category__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--aw-body);
    font-size: 0.9rem;
    line-height: 1.45;
}

.aw-exhibit-category__feature-icon {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--aw-accent);
}

.aw-exhibit-category__fade {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--aw-white));
    pointer-events: none;
}

.aw-exhibit-category__features.is-expanded + .aw-exhibit-category__fade {
    display: none;
}

.aw-exhibit-category__see-more {
    align-self: flex-start;
    margin: -8px 0 22px;
    padding: 0;
    border: none;
    background: none;
    color: var(--aw-accent);
    font-size: 0.84rem;
    font-weight: 650;
    cursor: pointer;
    transition: color 160ms ease;
}

.aw-exhibit-category__see-more:hover {
    color: var(--aw-primary);
}

.aw-exhibit-category__inner .aw-button {
    margin-top: auto;
    width: 100%;
}

.aw-exhibit-category__select {
    justify-content: center;
}

/* --- Empty state --- */
.aw-exhibit-categories__empty {
    max-width: 560px;
    margin: 0 auto;
    padding: clamp(36px, 5vw, 56px);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: var(--aw-radius-lg);
    background: rgba(231, 76, 60, 0.06);
    text-align: center;
    color: var(--aw-heading);
    font-size: 1rem;
}

/* --- Form banner --- */
.aw-exhibit-form-section__banner {
    max-width: 720px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    padding: clamp(24px, 4vw, 38px);
    border: 2px dashed var(--aw-accent);
    border-radius: var(--aw-radius-lg);
    text-align: center;
    background: rgba(41, 156, 183, 0.06);
}

.aw-exhibit-form-section__banner-label {
    display: block;
    margin-bottom: 8px;
    color: var(--aw-accent);
    font-size: 0.9rem;
    font-weight: 650;
}

.aw-exhibit-form-section__banner-category {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--aw-primary);
}

/* --- Form layout --- */
.aw-exhibit-form {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: clamp(36px, 5vw, 56px);
}

.aw-exhibit-form__required-hint {
    margin: 0;
    padding-bottom: 4px;
    color: var(--aw-muted);
    font-size: 0.92rem;
}

.aw-exhibit-form__required-star {
    color: #E74C3C;
}

.aw-exhibit-form__section {
    margin: 0;
    padding: 0;
    border: none;
    display: grid;
    gap: 20px;
}

.aw-exhibit-form__section-heading {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
    color: var(--aw-heading);
    font-size: 1.14rem;
    font-weight: 700;
}

.aw-exhibit-form__section-num {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aw-primary), var(--aw-accent));
    color: var(--aw-white);
    font-size: 0.84rem;
    font-weight: 760;
    flex-shrink: 0;
}

.aw-exhibit-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.aw-exhibit-form__row--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aw-exhibit-form__field {
    display: grid;
    gap: 8px;
}

.aw-exhibit-form__field--full {
    grid-column: 1 / -1;
}

.aw-exhibit-form__field label {
    color: var(--aw-heading);
    font-weight: 670;
    font-size: 0.94rem;
}

.aw-exhibit-form__field input,
.aw-exhibit-form__field textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 16px;
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-sm);
    background: var(--aw-white);
    color: var(--aw-heading);
    font-size: 0.94rem;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.aw-exhibit-form__field textarea {
    min-height: 120px;
    resize: vertical;
}

.aw-exhibit-form__field input:focus,
.aw-exhibit-form__field textarea:focus {
    border-color: var(--aw-accent);
    box-shadow: 0 0 0 4px rgba(184, 245, 255, 0.5);
}

.aw-exhibit-form__field--invalid input,
.aw-exhibit-form__field--invalid textarea,
.aw-exhibit-form__field--invalid .aw-exhibit-form__check-group-label,
.aw-exhibit-form__field--invalid .aw-exhibit-form__radio-group-label {
    border-color: #E74C3C;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.12);
    color: #E74C3C;
}

.aw-exhibit-form__error-msg {
    display: block;
    margin-top: 4px;
    color: #E74C3C;
    font-size: 0.78rem;
    font-weight: 600;
}

.aw-exhibit-form__hint {
    display: block;
    margin-top: 4px;
    color: var(--aw-muted, #6c757d);
    font-size: 0.72rem;
}

.aw-exhibit-form__field-error {
    margin: 0;
    color: #E74C3C;
    font-size: 0.82rem;
    font-weight: 650;
}

/* --- Checkbox group --- */
.aw-exhibit-form__check-group {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    border: none;
}

.aw-exhibit-form__check-group-label,
.aw-exhibit-form__radio-group-label {
    color: var(--aw-heading);
    font-size: 0.9rem;
    font-weight: 670;
    margin: 0;
    padding: 0;
}

.aw-exhibit-form__checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.aw-exhibit-form__check {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--aw-body);
    cursor: pointer;
    line-height: 1.4;
    padding: 0;
    font-weight: 400;
}

.aw-exhibit-form__check--inline {
    font-size: 0.94rem;
}

.aw-exhibit-form__check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.aw-exhibit-form__check-indicator {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 1px solid var(--aw-border);
    border-radius: 4px;
    background: var(--aw-white);
    display: inline-grid;
    place-items: center;
    transition: border-color 160ms ease, background 160ms ease;
}

.aw-exhibit-form__check-indicator::after {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--aw-white);
    border-bottom: 2px solid var(--aw-white);
    transform: rotate(-45deg) translateY(-1px);
    opacity: 0;
    transition: opacity 120ms ease;
}

.aw-exhibit-form__check input:checked + .aw-exhibit-form__check-indicator {
    border-color: var(--aw-primary);
    background: var(--aw-primary);
}

.aw-exhibit-form__check input:checked + .aw-exhibit-form__check-indicator::after {
    opacity: 1;
}

.aw-exhibit-form__check input:focus-visible + .aw-exhibit-form__check-indicator {
    box-shadow: 0 0 0 4px rgba(184, 245, 255, 0.5);
}

/* --- Radio group --- */
.aw-exhibit-form__radio-group {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    border: none;
}

.aw-exhibit-form__radios {
    display: grid;
    gap: 10px;
}

.aw-exhibit-form__radio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--aw-body);
    cursor: pointer;
    line-height: 1.4;
    padding: 0;
    font-weight: 400;
}

.aw-exhibit-form__radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.aw-exhibit-form__radio-indicator {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 1px solid var(--aw-border);
    border-radius: 50%;
    background: var(--aw-white);
    display: inline-grid;
    place-items: center;
    transition: border-color 160ms ease;
}

.aw-exhibit-form__radio-indicator::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--aw-primary);
    transform: scale(0);
    transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aw-exhibit-form__radio input:checked + .aw-exhibit-form__radio-indicator {
    border-color: var(--aw-primary);
}

.aw-exhibit-form__radio input:checked + .aw-exhibit-form__radio-indicator::after {
    transform: scale(1);
}

.aw-exhibit-form__radio input:focus-visible + .aw-exhibit-form__radio-indicator {
    box-shadow: 0 0 0 4px rgba(184, 245, 255, 0.5);
}

/* --- Inline input within radio label --- */
.aw-exhibit-form__inline-input {
    min-height: 36px !important;
    max-width: 280px;
    padding: 7px 12px !important;
    border: 1px solid var(--aw-border) !important;
    border-radius: 4px !important;
    font-size: 0.88rem !important;
    transition: border-color 160ms ease, box-shadow 160ms ease !important;
}

.aw-exhibit-form__inline-input:focus {
    border-color: var(--aw-accent) !important;
    box-shadow: 0 0 0 3px rgba(184, 245, 255, 0.4) !important;
}

.aw-exhibit-form__inline-input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- Other text input --- */
.aw-exhibit-form__other-input {
    width: 100%;
    max-width: 480px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-sm);
    font-size: 0.9rem;
    outline: none;
    color: var(--aw-heading);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.aw-exhibit-form__other-input::placeholder {
    color: var(--aw-muted);
}

.aw-exhibit-form__other-input:focus {
    border-color: var(--aw-accent);
    box-shadow: 0 0 0 4px rgba(184, 245, 255, 0.5);
}

/* --- Dropzone --- */
.aw-exhibit-form__dropzone {
    border: 2px dashed var(--aw-border);
    border-radius: var(--aw-radius-sm);
    background: rgba(18, 78, 96, 0.03);
    cursor: pointer;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 240ms ease, background 240ms ease;
}

.aw-exhibit-form__dropzone:hover,
.aw-exhibit-form__dropzone.is-dragover {
    border-color: var(--aw-accent);
    background: rgba(184, 245, 255, 0.12);
}

.aw-exhibit-form__dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 30px;
}

.aw-exhibit-form__dropzone-content i {
    font-size: 2.6rem;
    color: var(--aw-muted);
    transition: color 240ms ease, transform 240ms ease;
}

.aw-exhibit-form__dropzone:hover .aw-exhibit-form__dropzone-content i,
.aw-exhibit-form__dropzone.is-dragover .aw-exhibit-form__dropzone-content i {
    color: var(--aw-accent);
    transform: scale(1.08);
}

.aw-exhibit-form__dropzone-content p {
    margin: 0;
    color: var(--aw-body);
    font-size: 0.94rem;
    font-weight: 550;
}

.aw-exhibit-form__dropzone-content small {
    color: var(--aw-muted);
    font-size: 0.82rem;
}

.aw-exhibit-form__logo-preview {
    text-align: center;
    padding: 24px;
}

.aw-exhibit-form__logo-preview img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid var(--aw-border);
    margin-bottom: 10px;
}

.aw-exhibit-form__logo-size {
    margin: 0 0 14px;
    color: var(--aw-muted);
    font-size: 0.84rem;
}

.aw-exhibit-form__remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid rgba(231, 76, 60, 0.4);
    border-radius: 4px;
    background: var(--aw-white);
    color: #E74C3C;
    font-size: 0.84rem;
    font-weight: 650;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease;
}

.aw-exhibit-form__remove-btn:hover {
    background: rgba(231, 76, 60, 0.08);
    border-color: #E74C3C;
}

/* --- Submit --- */
.aw-exhibit-form__submit {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.aw-exhibit-form__submit .aw-button {
    min-width: 240px;
}

/* --- CTA --- */
.aw-exhibit-cta .aw-cta {
    position: relative;
    overflow: hidden;
}

.aw-exhibit-cta .aw-cta::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: clamp(200px, 26vw, 320px);
    height: clamp(200px, 26vw, 320px);
    background: url('/images/decor/aviation-swirl.png') no-repeat center / contain;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.aw-exhibit-cta .aw-cta > div {
    position: relative;
    z-index: 1;
}

/* --- Responsive --- */
@media (max-width: 860px) {
    .aw-exhibit-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aw-exhibit-form__row,
    .aw-exhibit-form__checks {
        grid-template-columns: minmax(0, 1fr);
    }

    .aw-exhibit-form__row--three {
        grid-template-columns: minmax(0, 1fr);
    }

    .aw-exhibit-form__inline-input {
        max-width: 100%;
    }

    .aw-exhibit-form__other-input {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .aw-exhibit-categories__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
