/* Exhibitors — page-specific styles (aw- namespace) */

/* --- Event details card (mirrors accommodation/sponsor info card) --- */
.aw-exhibitors-info__card {
    display: grid;
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-lg);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--aw-shadow-soft);
}

.aw-exhibitors-info__card h2 {
    margin-top: 8px;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.aw-exhibitors-info__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
}

.aw-exhibitors-info__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding-left: 18px;
    border-left: 1px solid rgba(41, 156, 183, 0.28);
}

.aw-exhibitors-info__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: var(--aw-radius-sm);
    background: rgba(18, 78, 96, 0.08);
    color: var(--aw-primary);
    font-size: 1rem;
}

.aw-exhibitors-info__item dt {
    margin-bottom: 8px;
    color: var(--aw-accent);
    font-size: 0.74rem;
    font-weight: 780;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.aw-exhibitors-info__item dd {
    margin: 0;
    color: var(--aw-heading);
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.28;
    word-break: break-word;
}

.aw-exhibitors-info__cta {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 12px;
}

/* --- Search & Filter Controls --- */
.aw-exhibitors-filters {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

.aw-exhibitors-filters__search {
    position: relative;
}

.aw-exhibitors-filters__search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--aw-muted);
    font-size: 1rem;
    pointer-events: none;
}

.aw-exhibitors-filters__input {
    width: 100%;
    padding: 16px 18px 16px 52px;
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-sm);
    background: var(--aw-white);
    color: var(--aw-heading);
    font-family: var(--aw-font);
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.aw-exhibitors-filters__input::placeholder {
    color: var(--aw-muted);
}

.aw-exhibitors-filters__input:focus {
    outline: none;
    border-color: var(--aw-accent);
    box-shadow: 0 0 0 3px rgba(41, 156, 183, 0.1);
}

.aw-exhibitors-filters__select-wrapper {
    position: relative;
}

.aw-exhibitors-filters__select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-sm);
    background: var(--aw-white);
    color: var(--aw-heading);
    font-family: var(--aw-font);
    font-size: 1rem;
    line-height: 1.5;
    cursor: pointer;
    text-align: left;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.aw-exhibitors-filters__select-trigger:focus-visible {
    outline: none;
    border-color: var(--aw-accent);
    box-shadow: 0 0 0 3px rgba(41, 156, 183, 0.1);
}

.aw-exhibitors-filters__select-trigger[aria-expanded="true"] {
    border-color: var(--aw-accent);
    box-shadow: 0 0 0 3px rgba(41, 156, 183, 0.1);
}

.aw-exhibitors-filters__select-trigger span {
    color: var(--aw-heading);
    font-weight: 540;
}

.aw-exhibitors-filters__select-trigger span.is-placeholder {
    color: var(--aw-muted);
}

.aw-exhibitors-filters__select-icon {
    color: var(--aw-muted);
    font-size: 0.86rem;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aw-exhibitors-filters__select-trigger[aria-expanded="true"] .aw-exhibitors-filters__select-icon {
    transform: rotate(-180deg);
}

.aw-exhibitors-filters__select-dropdown {
    position: absolute;
    inset: auto 0 auto 0;
    top: calc(100% + 4px);
    z-index: 50;
    display: grid;
    max-height: 320px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgba(229, 231, 235, 0.86);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 20px 56px rgba(17, 24, 39, 0.12), 0 1px 4px rgba(17, 24, 39, 0.04);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -8px, 0) scale(0.99);
    transform-origin: top center;
    transition:
        opacity 200ms ease,
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.aw-exhibitors-filters__select-dropdown.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
}

.aw-exhibitors-filters__select-option {
    padding: 13px 14px;
    border-radius: 10px;
    color: var(--aw-heading);
    font-size: 0.96rem;
    font-weight: 540;
    line-height: 1.4;
    cursor: pointer;
    transition: background 120ms ease;
}

.aw-exhibitors-filters__select-option:hover,
.aw-exhibitors-filters__select-option:focus-visible {
    background: var(--aw-surface);
    outline: none;
}

.aw-exhibitors-filters__select-option.is-active {
    background: rgba(18, 78, 96, 0.06);
    color: var(--aw-primary);
    font-weight: 680;
}

.aw-exhibitors-filters__select-dropdown::-webkit-scrollbar {
    width: 5px;
}

.aw-exhibitors-filters__select-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.aw-exhibitors-filters__select-dropdown::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: rgba(107, 114, 128, 0.22);
}

/* --- Loading Spinner --- */
.aw-exhibitors-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 48px 24px;
    color: var(--aw-muted);
    font-size: 0.95rem;
    font-weight: 550;
}

.aw-exhibitors-spinner__icon {
    width: 48px;
    height: 48px;
    border: 3px solid var(--aw-border);
    border-top-color: var(--aw-accent);
    border-radius: 50%;
    animation: aw-exhibitors-spin 800ms linear infinite;
}

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

/* --- Exhibitors Grid --- */
.aw-exhibitors-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
    gap: 32px;
}

/* --- Exhibitor Card --- */
.aw-exhibitor-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-md);
    background: var(--aw-white);
    overflow: hidden;
    transition: box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aw-exhibitor-card:hover {
    box-shadow: var(--aw-shadow-soft);
}

.aw-exhibitor-card__logo {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center;
    background: rgba(18, 78, 96, 0.03);
}

.aw-exhibitor-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 160px;
    background: rgba(18, 78, 96, 0.04);
    color: var(--aw-primary);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.aw-exhibitor-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 28px 28px;
}

.aw-exhibitor-card__company {
    margin: 0 0 8px;
    color: var(--aw-heading);
    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1.28;
}

.aw-exhibitor-card__contact {
    margin: 0 0 16px;
    color: var(--aw-muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.aw-exhibitor-card__description {
    margin: 0 0 20px;
    color: var(--aw-body);
    font-size: 0.96rem;
    line-height: 1.6;
    flex: 1;
}

.aw-exhibitor-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--aw-accent);
    font-size: 0.95rem;
    font-weight: 680;
    text-decoration: none;
    transition: color 200ms ease;
}

.aw-exhibitor-card__link:hover {
    color: var(--aw-primary);
}

.aw-exhibitor-card__link i {
    font-size: 0.8rem;
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aw-exhibitor-card__link:hover i {
    transform: translateX(4px);
}

/* --- Empty State --- */
.aw-exhibitors-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
    grid-column: 1 / -1;
}

.aw-exhibitors-empty__icon {
    margin-bottom: 20px;
    color: var(--aw-muted);
    font-size: 3.6rem;
    opacity: 0.32;
}

.aw-exhibitors-empty__text {
    margin: 0;
    color: var(--aw-muted);
    font-size: 1.08rem;
    font-weight: 550;
}

/* --- Closing CTA Card with corner accent --- */
.aw-exhibitors-cta-card.aw-cta {
    position: relative;
    overflow: hidden;
}

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

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

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

    .aw-exhibitors-filters {
        grid-template-columns: 1fr;
    }

    .aw-exhibitors-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    }
}

@media (max-width: 860px) {
    .aw-exhibitors-info__card {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .aw-exhibitors-info__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .aw-exhibitor-card__logo {
        height: 130px;
    }
    .aw-exhibitor-card__placeholder {
        height: 130px;
        font-size: 2.2rem;
    }
    .aw-exhibitor-card__content {
        padding: 20px 22px 22px;
    }
}

@media (max-width: 640px) {
    .aw-exhibitors-info__grid {
        grid-template-columns: 1fr;
    }

    .aw-exhibitors-filters__input,
    .aw-exhibitors-filters__select-trigger {
        font-size: 0.95rem;
    }

    .aw-exhibitors-grid {
        gap: 24px;
    }

    .aw-exhibitor-card__logo {
        height: 120px;
    }
    .aw-exhibitor-card__placeholder {
        height: 120px;
    }
    .aw-exhibitor-card__content {
        padding: 18px 20px 20px;
    }

    .aw-exhibitor-card__company {
        font-size: 1.22rem;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    .aw-exhibitor-card {
        transition: none;
    }

    .aw-exhibitor-card__link i {
        transition: none;
    }

    .aw-exhibitors-spinner__icon {
        animation: none;
        border-top-color: var(--aw-accent);
    }
}
