/**
 * Business Awards Application System front-end styles.
 */

:root {
    --awards-bg: #0a0b0f;
    --awards-bg-alt: #12141b;
    --awards-panel: #171a22;
    --awards-panel-soft: #1c2029;
    --awards-ink: #f3ead8;
    --awards-ink-soft: rgba(243, 234, 216, 0.78);
    --awards-ink-muted: rgba(243, 234, 216, 0.58);
    --awards-gold: #d1ac62;
    --awards-gold-soft: #f0ddb3;
    --awards-gold-deep: #8f6930;
    --awards-line: rgba(209, 172, 98, 0.28);
    --awards-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
    --awards-shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.business-awards-shell,
.business-awards-shell *,
.modal-awards,
.modal-awards * {
    box-sizing: border-box;
}

.business-awards-shell {
    position: relative;
    max-width: 1260px;
    margin: 0 auto;
    padding: 28px 18px 72px;
    color: var(--awards-ink);
    font-family: 'Manrope', sans-serif;
}

.business-awards-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 36px;
    background:
        radial-gradient(circle at top left, rgba(209, 172, 98, 0.14), transparent 24%),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 28%);
    pointer-events: none;
    z-index: 0;
}

.business-awards-shell h1,
.business-awards-shell h2,
.business-awards-shell h3,
.business-awards-shell p,
.business-awards-shell span,
.business-awards-shell li,
.business-awards-shell label {
    color: inherit;
}

.business-awards-shell h1,
.business-awards-shell h2,
.business-awards-shell h3,
.modal-awards h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.03em;
}

.awards-hero,
.awards-intro-card,
.awards-grid-section,
.business-awards-footer {
    position: relative;
    z-index: 1;
}

.awards-kicker,
.awards-section-label,
.modal-kicker {
    margin: 0 0 12px;
    color: var(--awards-gold) !important;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.awards-hero {
    overflow: hidden;
    padding: 46px;
    border: 1px solid var(--awards-line);
    border-radius: 34px;
    background:
        radial-gradient(circle at 82% 18%, rgba(209, 172, 98, 0.16), transparent 16%),
        linear-gradient(135deg, #0f1117 0%, #171b24 46%, #12151d 100%);
    box-shadow: var(--awards-shadow);
}

.awards-hero::before,
.awards-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(209, 172, 98, 0.14);
    pointer-events: none;
}

.awards-hero::before {
    top: -180px;
    right: -110px;
    width: 420px;
    height: 420px;
}

.awards-hero::after {
    bottom: -160px;
    left: -140px;
    width: 340px;
    height: 340px;
}

.awards-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
    gap: 34px;
    align-items: stretch;
}

.awards-hero__copy {
    position: relative;
    z-index: 1;
}

.awards-hero h1 {
    max-width: 720px;
    color: var(--awards-gold-soft) !important;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 0.9;
}

.awards-lead {
    max-width: 620px;
    margin: 20px 0 0;
    color: var(--awards-ink-soft) !important;
    font-size: 1.04rem;
    line-height: 1.8;
}

.awards-hero__aside {
    position: relative;
    z-index: 1;
    padding: 28px;
    border: 1px solid rgba(209, 172, 98, 0.22);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    backdrop-filter: blur(10px);
}

.awards-seal {
    display: grid;
    place-items: center;
    width: 152px;
    height: 152px;
    margin: 0 auto 22px;
    padding: 12px;
    border-radius: 50%;
    border: 1px solid rgba(209, 172, 98, 0.4);
    background:
        radial-gradient(circle at 50% 45%, rgba(209, 172, 98, 0.22), rgba(209, 172, 98, 0.02) 68%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.02);
    text-align: center;
}

.awards-seal__year {
    display: block;
    color: var(--awards-gold-soft) !important;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
}

.awards-seal__label {
    display: block;
    max-width: 82px;
    margin-top: 6px;
    color: var(--awards-ink-soft) !important;
    font-size: 0.72rem;
    line-height: 1.35;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.awards-hero__steps {
    margin: 0;
    padding-left: 1.2rem;
}

.awards-hero__steps li {
    margin: 0 0 12px;
    color: var(--awards-ink-soft) !important;
    line-height: 1.7;
}

.awards-hero__meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
}

.awards-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(209, 172, 98, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

.awards-stat strong {
    color: var(--awards-gold-soft) !important;
    font-size: 1.14rem;
    font-weight: 800;
}

.awards-stat span {
    color: var(--awards-ink-muted) !important;
    font-size: 0.82rem;
    text-align: right;
}

.awards-intro-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 24px;
    padding: 24px 30px;
    border: 1px solid var(--awards-line);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(20, 22, 29, 0.92), rgba(16, 18, 24, 0.92));
    box-shadow: var(--awards-shadow-soft);
}

.awards-intro-card h2 {
    color: var(--awards-gold-soft) !important;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 0.96;
}

.awards-intro-card p:last-child {
    margin: 0;
    color: var(--awards-ink-soft) !important;
    line-height: 1.75;
}

.awards-grid-section {
    margin-top: 30px;
}

.awards-grid-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.awards-grid-heading h2 {
    color: var(--awards-gold-soft) !important;
    font-size: clamp(2rem, 3.7vw, 3rem);
    line-height: 0.96;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.award-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px;
    border: 1px solid rgba(209, 172, 98, 0.14);
    border-radius: 22px;
    background:
        linear-gradient(180deg, #181b23 0%, #13161d 100%);
    box-shadow: var(--awards-shadow-soft);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.award-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(209, 172, 98, 0.08), transparent 28%);
    pointer-events: none;
}

.award-card:hover {
    transform: translateY(-4px);
    border-color: rgba(209, 172, 98, 0.34);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
}

.award-card__frame {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    pointer-events: none;
}

.award-card__header,
.award-card__body,
.award-card__footer {
    position: relative;
    z-index: 1;
}

.award-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.award-card__category,
.award-card__year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.award-card__category {
    color: var(--awards-gold-soft) !important;
    background: rgba(209, 172, 98, 0.12);
    border: 1px solid rgba(209, 172, 98, 0.12);
}


.award-card__year {
    display: none;
    color: var(--awards-ink) !important;
    background: rgba(255, 255, 255, 0.06);
}

.award-card__icon {
    display: none;
    flex: 0 0 auto;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(209, 172, 98, 0.14);
    background: rgba(209, 172, 98, 0.08);
}

.award-card__icon svg {
    width: 22px;
    height: 22px;
    fill: var(--awards-gold);
}

.award-card__body {
    margin-top: 18px;
}

.award-card__body h3 {
    color: var(--awards-gold-soft) !important;
    font-size: 1.7rem;
    line-height: 0.96;
}

.award-card__body p {
    margin: 12px 0 0;
    color: var(--awards-ink-soft) !important;
    font-size: 0.94rem;
    line-height: 1.66;
}

.award-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.award-card .btn,
.btn-primary {
    color: #18130a !important;
    background: linear-gradient(135deg, #ebd7a8 0%, #c8a35a 100%);
    box-shadow: 0 10px 24px rgba(209, 172, 98, 0.2);
}

.award-card .btn:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #f1e2bc 0%, #d2b06c 100%);
}

.business-awards-footer {
    margin-top: 34px;
    text-align: center;
}

.business-awards-footer p {
    margin: 0;
    color: var(--awards-ink-muted) !important;
    font-size: 0.9rem;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 8, 12, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    z-index: 100000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-awards {
    position: relative;
    width: min(100%, 560px);
    padding: 32px;
    border: 1px solid rgba(209, 172, 98, 0.24);
    border-radius: 28px;
    background: linear-gradient(180deg, #181b22 0%, #11141a 100%);
    color: var(--awards-ink);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
    transform: translateY(16px) scale(0.985);
    transition: transform 0.22s ease;
}

.modal-overlay.active .modal-awards {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--awards-gold-soft);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.modal-awards h3 {
    color: var(--awards-gold-soft) !important;
    font-size: clamp(2.3rem, 5vw, 3rem);
    line-height: 0.96;
}

.modal-copy {
    margin: 12px 0 0;
    color: var(--awards-ink-soft) !important;
    line-height: 1.72;
}

.form-group {
    margin-top: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--awards-ink) !important;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(209, 172, 98, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--awards-ink);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: rgba(209, 172, 98, 0.56);
    box-shadow: 0 0 0 4px rgba(209, 172, 98, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

#applicationForm .btn {
    width: 100%;
    margin-top: 24px;
}

.success-message,
.error-message {
    display: none;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.success-message {
    color: #d6f7df;
    background: rgba(31, 114, 70, 0.24);
    border: 1px solid rgba(51, 163, 102, 0.28);
}

.error-message {
    color: #ffd5df;
    background: rgba(124, 31, 57, 0.28);
    border: 1px solid rgba(199, 82, 113, 0.26);
}

.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(24, 19, 10, 0.22);
    border-top-color: #18130a;
    border-radius: 50%;
    animation: awards-spin 0.7s linear infinite;
}

.btn-loading .spinner {
    display: inline-block;
}

.btn-loading {
    pointer-events: none;
    opacity: 0.82;
}

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

@media (max-width: 980px) {
    .awards-hero,
    .awards-intro-card {
        padding: 28px;
    }

    .awards-hero__content,
    .awards-intro-card {
        grid-template-columns: 1fr;
    }

    .awards-grid-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .business-awards-shell {
        padding: 14px 12px 54px;
    }

    .awards-hero {
        padding: 22px;
        border-radius: 26px;
    }

    .awards-hero h1 {
        font-size: 2.55rem;
    }

    .awards-lead {
        font-size: 0.98rem;
        line-height: 1.72;
    }

    .awards-hero__aside,
    .awards-intro-card,
    .award-card,
    .modal-awards {
        padding: 20px;
    }

    .awards-seal {
        width: 132px;
        height: 132px;
    }

    .awards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .award-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .award-card .btn {
        width: 100%;
    }

    .modal-overlay {
        padding: 14px;
    }
}
