/**
 * ACZ DIGITAL DESIGN SYSTEM — TYPOGRAPHY & DESIGN STANDARD
 * Primary Typeface: Poppins (400, 500, 600, 700)
 * Strict Type Scale & Spacing Multiples
 */

:root {
    /* ── Typography Family ── */
    --acz-font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* ── Font Weights ── */
    --acz-weight-regular: 400;
    --acz-weight-medium: 500;
    --acz-weight-semibold: 600;
    --acz-weight-bold: 700;

    /* ── Desktop Type Scale ── */
    --acz-font-display: 64px;
    --acz-line-display: 1.08;

    --acz-font-h1: 48px;
    --acz-line-h1: 1.15;

    --acz-font-h2: 40px;
    --acz-line-h2: 1.15;

    --acz-font-h3: 28px;
    --acz-line-h3: 1.25;

    --acz-font-h4: 20px;
    --acz-line-h4: 1.30;

    --acz-font-body-lg: 18px;
    --acz-line-body-lg: 1.70;

    --acz-font-body: 16px;
    --acz-line-body: 1.70;

    --acz-font-body-sm: 14px;
    --acz-line-body-sm: 1.50;

    --acz-font-nav: 15px;
    --acz-font-btn: 15px;
    --acz-font-eyebrow: 14px;

    /* ── Spacing Scale (4, 8, 12, 16, 24, 32, 40, 48, 64, 80, 96px) ── */
    --acz-space-1: 4px;
    --acz-space-2: 8px;
    --acz-space-3: 12px;
    --acz-space-4: 16px;
    --acz-space-5: 24px;
    --acz-space-6: 32px;
    --acz-space-7: 40px;
    --acz-space-8: 48px;
    --acz-space-9: 64px;
    --acz-space-10: 80px;
    --acz-space-11: 96px;

    /* ── Content Width Standard ── */
    --acz-container-max: 1280px;
    --acz-container-narrow: 1200px;

    /* ── Corporate Colors ── */
    --acz-primary-green: #15803d;
    --acz-primary-dark: #0b341c;
    --acz-accent-gold: #f59e0b;
    --acz-neutral-dark: #0f172a;
    --acz-neutral-muted: #64748b;
    --acz-neutral-light: #f8fafc;
}

/* ── Global Typography Reset & Enforcement ── */
html, body {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-body);
    font-weight: var(--acz-weight-regular);
    line-height: var(--acz-line-body);
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Standard Container Max Width ── */
.acz-content-container {
    width: 100%;
    max-width: var(--acz-container-max);
    margin-left: auto;
    margin-right: auto;
}

/* ── Heading Hierarchy (Desktop) ── */
.page-title, .section-heading-h1 {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-h1) !important;
    font-weight: var(--acz-weight-bold) !important;
    line-height: var(--acz-line-h1) !important;
    letter-spacing: -0.02em;
    color: #0f2d1a;
    margin-bottom: var(--acz-space-5);
}

.section-heading-h2 {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-h2) !important;
    font-weight: var(--acz-weight-bold) !important;
    line-height: var(--acz-line-h2) !important;
    letter-spacing: -0.015em;
    color: #0f2d1a;
    margin-bottom: var(--acz-space-4);
}

.sub-heading, .section-heading-h3 {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-h3) !important;
    font-weight: var(--acz-weight-semibold) !important;
    line-height: var(--acz-line-h3) !important;
    letter-spacing: -0.01em;
    color: #0f2d1a;
    margin-bottom: var(--acz-space-3);
}

.card-title, .service-title, .news-title, .airport-card-title {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-h4) !important;
    font-weight: var(--acz-weight-semibold) !important;
    line-height: var(--acz-line-h4) !important;
    color: #0f2d1a;
    margin-bottom: var(--acz-space-3);
}

.section-heading-h5 {
    font-family: var(--acz-font-primary) !important;
    font-size: 18px !important;
    font-weight: var(--acz-weight-semibold) !important;
    line-height: 1.4 !important;
    color: #0f2d1a;
}

.section-heading-h6 {
    font-family: var(--acz-font-primary) !important;
    font-size: 15px !important;
    font-weight: var(--acz-weight-semibold) !important;
    line-height: 1.4 !important;
    color: #0f2d1a;
}

/* ── Display / Hero Headline ── */
.display-hero,
.hero-headline,
#hero .hero-headline {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-display) !important;
    font-weight: var(--acz-weight-bold) !important;
    line-height: var(--acz-line-display) !important;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: var(--acz-space-4);
}

/* ── Body Text & Lead Paragraphs ── */
.body-standard {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-body) !important;
    font-weight: var(--acz-weight-regular) !important;
    line-height: var(--acz-line-body) !important;
    color: #334155;
    margin-bottom: var(--acz-space-4);
}

.hero-lead-text,
.lead,
.body-large {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-body-lg) !important;
    font-weight: var(--acz-weight-regular) !important;
    line-height: var(--acz-line-body-lg) !important;
}

.body-small, .footer-text, .meta-text {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-body-sm) !important;
    font-weight: var(--acz-weight-regular) !important;
    line-height: var(--acz-line-body-sm) !important;
}

/* ── Eyebrow Labels / Subtitle Tags ── */
.eyebrow-label,
.hero-tag-pill,
.section-tag,
.badge-eyebrow,
.section-subtitle {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-eyebrow) !important;
    font-weight: var(--acz-weight-semibold) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    line-height: 1.4 !important;
}

/* ── Navigation Typography ── */
.navmenu > ul > li > a,
.navbar-nav .nav-link,
.header .navmenu a {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-nav) !important;
    font-weight: var(--acz-weight-medium) !important;
    line-height: 1.4 !important;
    letter-spacing: 0.1px;
}

.navmenu > ul > li > a.active,
.navbar-nav .nav-link.active,
.header .navmenu a.active {
    font-weight: var(--acz-weight-semibold) !important;
}

/* ── Buttons Typography ── */
.btn-hero-green,
.btn-hero-outline,
.btn-nav-contact,
.btn-primary-acz,
.btn-success-acz,
.acz-submit {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-btn) !important;
    font-weight: var(--acz-weight-semibold) !important;
    line-height: 1.4 !important;
    letter-spacing: 0.2px;
}

/* ── Forms, Inputs, & Labels ── */
.acz-form-label {
    font-family: var(--acz-font-primary) !important;
    font-size: 15px !important;
    font-weight: var(--acz-weight-medium) !important;
    color: #1e293b;
    margin-bottom: var(--acz-space-2);
}

.acz-form-control {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-body) !important;
    font-weight: var(--acz-weight-regular) !important;
    line-height: 1.5 !important;
    color: #1e293b;
}

/* ── Tables & Data Grid Typography ── */
.acz-table {
    font-family: var(--acz-font-primary) !important;
}

.acz-table th {
    font-family: var(--acz-font-primary) !important;
    font-size: 14px !important;
    font-weight: var(--acz-weight-semibold) !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0f2d1a;
    padding: var(--acz-space-3) var(--acz-space-4);
}

.acz-table td {
    font-family: var(--acz-font-primary) !important;
    font-size: 15px !important;
    font-weight: var(--acz-weight-regular) !important;
    line-height: 1.5;
    padding: var(--acz-space-3) var(--acz-space-4);
}

/* ── Cards & Modals ── */
.acz-card, .acz-modal, .acz-dropdown {
    font-family: var(--acz-font-primary) !important;
}

.modal-title {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-h3) !important;
    font-weight: var(--acz-weight-semibold) !important;
    line-height: var(--acz-line-h3) !important;
}

/* ── Page Header / Subpage Banner Headings ── */
.page-header h2,
.page-header h1,
.breadcrumbs h2,
.breadcrumbs h1,
.page-banner-title {
    font-family: var(--acz-font-primary) !important;
    font-size: var(--acz-font-h1) !important;
    font-weight: var(--acz-weight-bold) !important;
    line-height: var(--acz-line-h1) !important;
    letter-spacing: -0.02em;
    color: #ffffff !important;
}

/* ── Stat Badges & Numbers ── */
.hero-stat-heading,
.stat-number,
.counter-number {
    font-family: var(--acz-font-primary) !important;
    font-weight: var(--acz-weight-bold) !important;
}

.hero-stat-sub,
.stat-label,
.counter-title {
    font-family: var(--acz-font-primary) !important;
    font-size: 12.5px !important;
    font-weight: var(--acz-weight-medium) !important;
}

/* ==========================================================================
   RESPONSIVE TYPE SCALE
   ========================================================================== */

/* ── Tablet (<= 991px) ── */
@media (max-width: 991px) {
    :root {
        --acz-font-display: 52px;
        --acz-font-h1: 42px;
        --acz-font-h2: 36px;
        --acz-font-h3: 26px;
        --acz-font-h4: 20px;
        --acz-font-body-lg: 18px;
        --acz-font-body: 16px;
        --acz-font-body-sm: 14px;
    }

    .display-hero,
    .hero-headline,
    #hero .hero-headline {
        font-size: 52px !important;
    }

    .page-title, .page-header h2, .section-heading-h1 {
        font-size: 42px !important;
    }

    .section-heading-h2 {
        font-size: 36px !important;
    }

    .sub-heading, .section-heading-h3 {
        font-size: 26px !important;
    }
}

/* ── Mobile (<= 767px) ── */
@media (max-width: 767px) {
    :root {
        --acz-font-display: 40px;
        --acz-font-h1: 36px;
        --acz-font-h2: 32px;
        --acz-font-h3: 24px;
        --acz-font-h4: 20px;
        --acz-font-body-lg: 16px;
        --acz-font-body: 16px;
        --acz-font-body-sm: 13.5px;
    }

    .display-hero,
    .hero-headline,
    #hero .hero-headline {
        font-size: 40px !important;
        line-height: 1.15 !important;
    }

    .page-title, .page-header h2, .section-heading-h1 {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }

    .section-heading-h2 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    .sub-heading, .section-heading-h3 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .card-title, .service-title, .news-title, .airport-card-title {
        font-size: 20px !important;
        line-height: 1.35 !important;
    }

    .hero-lead-text,
    .lead,
    .body-large {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    .body-standard {
        font-size: 15.5px !important;
        line-height: 1.6 !important;
    }
}
