﻿@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

.concession-page {
    --navy-950: #0a1f3d;
    --navy-900: #0f2c52;
    --navy-800: #17386c;
    --paper: #f2f4f7;
    --white: #ffffff;
    --ink: #1e293b;
    --slate: #5b6b7d;
    --slate-light: #8c9aab;
    --border: #e1e6ec;
    --saffron: #c9820a;
    --saffron-light: #f2a93c;
    --phh: #1f7a4d;
    --phh-bg: #eaf6ef;
    --nphh: #1d5ea8;
    --nphh-bg: #eaf1fb;
    --excl: #b33a3a;
    --excl-bg: #fbeded;
    background: var(--paper);
    color: var(--ink);
    min-height: 100vh;
    font-family: 'IBM Plex Sans', -apple-system, sans-serif;
}

    .concession-page * {
        box-sizing: border-box;
    }

    .concession-page :focus-visible {
        outline: 3px solid var(--saffron-light);
        outline-offset: 2px;
    }

.concession-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================
   HERO
========================= */

.concession-hero {
    background: radial-gradient(1100px 420px at 85% -10%, rgba(201, 130, 10, .18), transparent 60%), linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
    padding: 76px 0 0;
    color: #fff;
    position: relative;
}

.hero-content {
    max-width: 720px;
}

.civic-seal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--saffron-light);
    margin-bottom: 22px;
}

    .civic-seal::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--saffron-light);
        box-shadow: 0 0 0 4px rgba(242, 169, 60, .18);
    }

.hero-content h1 {
    margin: 0 0 16px;
    font-family: 'Fraunces', serif;
    font-optical-sizing: auto;
    font-weight: 650;
    font-size: clamp(20px, .5vw, 28px);
    line-height: 1.12;
    letter-spacing: -.4px;
}

.hero-content p {
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .78);
    max-width: 58ch;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .hero-meta-item span:first-child {
        font-size: 11px;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        font-weight: 600;
        color: rgba(255, 255, 255, .5);
    }

    .hero-meta-item span:last-child {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 13.5px;
        font-weight: 500;
        color: rgba(255, 255, 255, .92);
    }

.concession-hero-foot {
    height: 34px;
    margin-top: 44px;
    background: var(--paper);
    border-radius: 26px 26px 0 0;
}


/* =========================
   SECTION
========================= */

.concession-section {
    padding: 76px 0;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 38px;
}

    .section-heading > span {
        font-family: 'IBM Plex Mono', monospace;
        font-size: 13px;
        font-weight: 600;
        color: var(--saffron);
        padding-top: 6px;
        letter-spacing: .5px;
    }

    .section-heading small {
        display: block;
        color: var(--slate-light);
        font-size: 11.5px;
        letter-spacing: 2px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .section-heading h2 {
        margin: 0;
        font-family: 'Fraunces', serif;
        font-weight: 600;
        font-size: 30px;
        color: var(--navy-900);
    }


/* =========================
   GUIDELINE CARD
========================= */

.guideline-card {
    display: flex;
    gap: 30px;
    padding: 40px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(15, 44, 82, .06);
}

.guideline-icon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 14px;
    background: var(--navy-900);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.guideline-content {
    flex: 1;
    min-width: 0;
}

    .guideline-content h3 {
        margin: 0 0 12px;
        font-family: 'Fraunces', serif;
        font-weight: 600;
        font-size: 21px;
        color: var(--navy-900);
    }

    .guideline-content > p {
        color: var(--slate);
        line-height: 1.8;
        margin-bottom: 24px;
    }

.notice-box {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    margin-bottom: 26px;
    background: var(--nphh-bg);
    border-left: 3px solid var(--nphh);
    border-radius: 4px 8px 8px 4px;
}

    .notice-box i {
        color: var(--nphh);
        font-size: 18px;
        padding-top: 3px;
    }

    .notice-box p {
        margin: 0;
        color: #2a3f57;
        line-height: 1.7;
        font-size: 14.5px;
    }


/* =========================
   BUTTON
========================= */

.document-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--navy-900);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14.5px;
    transition: .2s ease;
}

    .document-btn:hover {
        background: var(--saffron);
        transform: translateY(-2px);
    }


/* =========================
   CATEGORY / ID CARDS
========================= */

.categories-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.category-card {
    position: relative;
    padding: 28px 26px 26px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--paper);
    overflow: hidden;
    transition: .2s ease;
}

    .category-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 6px;
        background: var(--stripe, var(--navy-900));
    }

    .category-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 34px rgba(15, 44, 82, .1);
        border-color: transparent;
    }

.category-card--phh {
    --stripe: var(--phh);
}

.category-card--nphh {
    --stripe: var(--nphh);
}

.category-card--exclusion {
    --stripe: var(--excl);
}

.category-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
}

.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--stripe, var(--navy-900)) 12%, white);
    color: var(--stripe, var(--navy-900));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.category-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--stripe, var(--slate-light));
    background: color-mix(in srgb, var(--stripe, var(--navy-900)) 10%, white);
    padding: 5px 9px;
    border-radius: 5px;
}

.category-card h3 {
    margin: 0 0 10px;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--navy-900);
}

.category-card p {
    margin: 0 0 24px;
    color: var(--slate);
    line-height: 1.7;
    font-size: 14.5px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--stripe, var(--navy-900));
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

    .category-link:hover {
        gap: 12px;
    }


/* =========================
   DOCUMENTS — REGISTER STYLE
========================= */

.documents-section {
    background: var(--paper);
}

.documents-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
}

.document-item {
    background: var(--white);
    padding: 20px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

    .document-item + .document-item {
        border-top: 1px solid var(--border);
    }

.document-info {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.document-ref {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--slate-light);
    flex: 0 0 auto;
    width: 46px;
}

.document-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 10px;
    background: var(--excl-bg);
    color: var(--excl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.document-info h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-900);
}

.document-info p {
    margin: 0;
    color: var(--slate);
    font-size: 13.5px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--nphh-bg);
    color: var(--nphh);
    text-decoration: none;
    border-radius: 7px;
    font-weight: 700;
    font-size: 13.5px;
    white-space: nowrap;
    transition: .2s ease;
}

    .download-btn:hover {
        background: var(--navy-900);
        color: #fff;
    }


/* =========================
   BOTTOM NOTICE
========================= */

.concession-notice {
    padding: 0 0 80px;
    background: var(--paper);
}

.bottom-notice {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 26px 28px;
    background: #fff8ec;
    border-radius: 12px;
    border: 1px solid #f0dcae;
}

.bottom-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    background: var(--saffron);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.bottom-notice h3 {
    margin: 0 0 6px;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--navy-900);
    font-size: 17px;
}

.bottom-notice p {
    margin: 0;
    color: var(--slate);
    line-height: 1.7;
    font-size: 14.5px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .category-grid {
        grid-template-columns: 1fr;
    }

    .concession-hero {
        padding: 56px 0 0;
    }

    .concession-section {
        padding: 56px 0;
    }
}


@media (max-width: 600px) {

    .guideline-card {
        flex-direction: column;
        padding: 24px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .document-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .document-ref {
        display: none;
    }

    .document-info {
        align-items: flex-start;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }

    .bottom-notice {
        padding: 20px;
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-meta {
        gap: 16px 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-card, .document-btn, .download-btn, .category-link {
        transition: none;
    }
}
