/*
 * Amari Metals Europe, Ltd. - Industrial Catalog Style
 * Design language: Deep steel blues, precision grids, catalog-first UX
 */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
    /* Palette from redesign brief */
    --primary: #1E3A5F;
    --primary-dark: #0F2942;
    --primary-light: #2D5A8A;
    --metal-silver: #8B9298;
    --metal-dark: #4A5568;
    --accent-copper: #B87333;
    --surface: #F7F8FA;
    --white: #FFFFFF;
    --text: #1A202C;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --border-dark: #CBD5E1;

    /* Typography */
    --font-heading: 'Barlow', 'Roboto Condensed', -apple-system, sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Roboto Mono', monospace;
    --fs-base: 1rem;
    --fs-h1: clamp(2.4rem, 2.6vw + 1.4rem, 3.4rem);
    --fs-h2: clamp(1.8rem, 2vw + 1.1rem, 2.6rem);
    --fs-h3: 1.35rem;
    --fs-small: 0.95rem;

    /* Layout */
    --space-2xs: 0.35rem;
    --space-xs: 0.5rem;
    --space-sm: 0.9rem;
    --space-md: 1.4rem;
    --space-lg: 2.2rem;
    --space-xl: 3.6rem;
    --space-xxl: 5rem;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 8px 18px rgba(15, 41, 66, 0.08);
    --shadow-md: 0 16px 36px rgba(15, 41, 66, 0.12);
    --shadow-lg: 0 24px 48px rgba(15, 41, 66, 0.15);
    --max-width: 1280px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--text);
    background: var(--surface);
    padding-top: 110px; /* offset for single-line sticky header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 var(--space-sm);
    letter-spacing: 0.4px;
    color: var(--primary-dark);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.1rem; }

p {
    margin: 0 0 var(--space-sm);
    color: var(--text);
}

strong { font-weight: 600; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover { color: var(--accent-copper); }

img { max-width: 100%; display: block; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
}

.section-heading {
    max-width: 820px;
    margin: 0 auto var(--space-lg);
    text-align: center;
}

.section-heading p { color: var(--text-muted); }

.eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-copper);
    font-weight: 700;
    margin-bottom: var(--space-2xs);
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.grid > * { grid-column: span 12; }

@media (min-width: 768px) {
    .grid > .col-md-3 { grid-column: span 3; }
    .grid > .col-md-4 { grid-column: span 4; }
    .grid > .col-md-6 { grid-column: span 6; }
    .grid > .col-md-8 { grid-column: span 8; }
    .grid > .col-md-12 { grid-column: span 12; }
}

@media (min-width: 1024px) {
    .grid > .col-lg-2 { grid-column: span 2; }
    .grid > .col-lg-3 { grid-column: span 3; }
    .grid > .col-lg-4 { grid-column: span 4; }
    .grid > .col-lg-5 { grid-column: span 5; }
    .grid > .col-lg-6 { grid-column: span 6; }
.grid > .col-lg-7 { grid-column: span 7; }
.grid > .col-lg-8 { grid-column: span 8; }
.grid > .col-lg-12 { grid-column: span 12; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.35rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

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

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover { background: rgba(30, 58, 95, 0.08); }

.btn-accent {
    background: var(--accent-copper);
    color: var(--white);
    border-color: var(--accent-copper);
}

.badge-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: rgba(30, 58, 95, 0.12);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    z-index: 1200;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-dark);
}

.logo a { color: inherit; }

.logo-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    margin-left: auto;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    padding-bottom: var(--space-sm);
    flex-wrap: nowrap;
}

nav { flex: 1; }

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: nowrap;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

.nav-item { position: relative; }

.nav-link {
    display: block;
    padding: 0.6rem 0.9rem;
    color: var(--text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-dark);
    background: rgba(30, 58, 95, 0.08);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: var(--space-2xs) 0;
    z-index: 1001;
}

.nav-item:hover > .dropdown-menu { display: block; }

.dropdown-item a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--text);
    font-weight: 500;
}

.dropdown-item a:hover {
    background: rgba(30, 58, 95, 0.06);
    color: var(--primary-dark);
}

.search-row {
    display: flex;
    gap: var(--space-xs);
    align-items: center;
}

.search-row input[type="search"] {
    flex: 1;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dark);
    font-family: var(--font-body);
}

.search-row input[type="number"],
.search-row select {
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dark);
    font-family: var(--font-body);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs);
    margin-top: var(--space-xs);
}

.chip {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--border-dark);
    color: var(--primary-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s ease;
}

.chip.active,
.chip:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

@media (max-width: 1023px) {
    body { padding-top: 160px; }
    .header-main { flex-direction: column; align-items: flex-start; }
    .menu-toggle { align-self: flex-end; }
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: var(--space-sm);
        box-shadow: var(--shadow-md);
    }
    .nav-menu.active { display: flex; }
    .dropdown-menu { position: static; width: 100%; box-shadow: none; border: 1px solid var(--border); margin-top: var(--space-2xs); }
    .menu-toggle { display: block; }
    .header { padding: 0 var(--space-sm); }
}

/* Cards & utilities */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-md);
}

.stat-card {
    text-align: center;
    padding: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2.6rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-2xs);
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs);
}

.pill {
    padding: var(--space-2xs) var(--space-xs);
    background: rgba(30, 58, 95, 0.08);
    border-radius: 999px;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.badge {
    display: inline-block;
    padding: var(--space-2xs) var(--space-xs);
    background: rgba(30, 58, 95, 0.08);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Hero - split layout */
.split-hero {
    padding: var(--space-xl) 0 var(--space-lg);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
    align-items: center;
}

.hero-media {
    grid-column: span 12;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 360px;
}

.media-tag {
    position: absolute;
    left: var(--space-sm);
    bottom: var(--space-sm);
    background: rgba(15, 41, 66, 0.88);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.hero-panel {
    grid-column: span 12;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.hero-panel h1 { color: var(--primary-dark); margin-bottom: var(--space-xs); }
.hero-panel p { color: var(--text); }

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

.hero-search {
    margin-top: var(--space-sm);
    border-top: 1px solid var(--border);
    padding-top: var(--space-sm);
}

.hero-search .chip-row { margin-top: var(--space-2xs); }

@media (min-width: 1024px) {
    .hero-media { grid-column: span 5; }
    .hero-panel { grid-column: span 7; }
}

/* Quick Access */
.quick-access {
    margin-top: calc(var(--space-lg) * -1);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-sm);
}

.quick-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    box-shadow: var(--shadow-sm);
}

.quick-card h4 {
    margin: 0 0 var(--space-2xs);
    color: var(--primary-dark);
    font-size: 1.05rem;
}

.quick-card p { color: var(--text-muted); margin: 0; }

/* Material catalog grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
}

.material-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.material-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.material-card .content {
    padding: var(--space-md);
    flex: 1;
}

@media (min-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(5, minmax(200px, 1fr));
    }
}

.material-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.inventory {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--metal-dark);
}

.inventory-dots {
    display: inline-flex;
    gap: 3px;
}

.inventory-dots span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-dark);
}

.inventory-dots .full { background: #2ECC71; }
.inventory-dots .mid { background: #F59E0B; }

/* Processing scroller */
.processing-marquee {
    overflow: hidden;
    position: relative;
}

.processing-scroller {
    display: flex;
    gap: var(--space-sm);
    width: max-content;
    animation: marquee-scroll 28s linear infinite;
    padding-bottom: var(--space-sm);
}

.processing-scroller:hover {
    animation-play-state: paused;
}

.processing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    box-shadow: var(--shadow-sm);
    min-height: 160px;
    flex: 0 0 240px;
}

.processing-card h4 {
    margin: 0 0 var(--space-2xs);
    color: var(--primary-dark);
}

.processing-card p { color: var(--text-muted); margin: 0; }

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .processing-scroller {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
    }

    .processing-marquee {
        overflow: visible;
    }
}

/* Trust & certifications */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.trust-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.trust-item strong {
    display: block;
    font-size: 1.6rem;
    font-family: var(--font-mono);
    color: var(--primary-dark);
}

.cert-logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.cert-logos img {
    height: 42px;
    width: auto;
    filter: grayscale(0.1);
}

/* Industries */
.industries-showcase {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-md);
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.industry-tag {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-dark);
    background: var(--surface);
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
}

.industry-tag.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.industry-panel {
    display: none;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
    align-items: center;
}

.industry-panel.active { display: grid; }

.industry-panel img {
    grid-column: span 12;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.industry-panel .copy {
    grid-column: span 12;
}

@media (min-width: 1024px) {
    .industry-panel img { grid-column: span 5; }
    .industry-panel .copy { grid-column: span 7; }
}

/* RFQ band */
.rfq-panel {
    background: linear-gradient(135deg, rgba(15, 41, 66, 0.95), rgba(30, 58, 95, 0.88));
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.rfq-panel h2 { color: var(--white); margin-bottom: var(--space-xs); }
.rfq-panel p { color: #E6ECF2; }

.rfq-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

/* Material Finder */
.material-finder {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.finder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.finder-group label {
    display: block;
    font-weight: 700;
    color: var(--metal-dark);
    margin-bottom: var(--space-2xs);
}

.finder-group select,
.finder-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
}

.finder-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

.finder-result {
    margin-top: var(--space-sm);
    color: var(--metal-dark);
}

/* Legacy content components refreshed to new palette */
.product-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card .content {
    padding: var(--space-md);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.industry-row {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
}

.industry-chip {
    flex: 0 0 auto;
    padding: var(--space-xs) var(--space-md);
    background: var(--white);
    border: 1px solid var(--border-dark);
    border-radius: 999px;
    font-weight: 700;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.service-panel {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-md);
    align-items: center;
}

.service-panel .media { grid-column: span 12; }
.service-panel .content { grid-column: span 12; }

@media (min-width: 1024px) {
    .service-panel .media { grid-column: span 5; }
    .service-panel .content { grid-column: span 7; }
}

.certifications-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    background: var(--white);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.cert-pill {
    padding: var(--space-xs) var(--space-md);
    border-radius: 999px;
    background: rgba(30, 58, 95, 0.08);
    color: var(--primary);
    font-weight: 700;
}

.cta-band {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: var(--space-xl) 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.cta-band p { color: var(--white); margin-bottom: var(--space-sm); }

.spec-finder {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.spec-finder h3 { margin-bottom: var(--space-sm); }

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.filter-row select {
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-family: var(--font-body);
}

.quote-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--space-md);
}

.quote-step { display: none; }
.quote-step.active { display: block; }

.progress-dots {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    justify-content: center;
}

.progress-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border);
}

.progress-dot.active { background: var(--accent-copper); }

/* Tables and lists */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-sm);
}

.table th,
.table td {
    border: 1px solid var(--border);
    padding: var(--space-xs) var(--space-sm);
    text-align: left;
}

.table th {
    background: #E8EEF5;
    color: var(--primary-dark);
    font-weight: 700;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-sm);
}

.timeline {
    border-left: 2px solid var(--border-dark);
    padding-left: var(--space-md);
    display: grid;
    gap: var(--space-md);
}

.timeline-item {
    position: relative;
    padding-left: var(--space-sm);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-md));
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-copper);
    box-shadow: 0 0 0 4px #fdf2e6;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-dark);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--metal-dark);
    margin-bottom: var(--space-2xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
}

/* Page hero + utility */
.page-hero {
    background: linear-gradient(120deg, rgba(15, 41, 66, 0.94), rgba(30, 58, 95, 0.82)), url('../images/metal_texture_abstract.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: var(--space-xl) 0 var(--space-lg);
    box-shadow: var(--shadow-md);
}

.page-hero h1 { color: var(--white); }
.page-hero p { color: #E6ECF2; max-width: 880px; }

.hero-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.meta-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
}

.meta-card .label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    color: #DDE6F0;
    margin-bottom: var(--space-2xs);
}

.meta-card strong {
    display: block;
    color: var(--white);
    font-size: 1.1rem;
}

.page-utility {
    margin-top: -28px;
}

.utility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-sm);
}

.utility-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm);
}

.utility-card h4 {
    margin: 0 0 var(--space-2xs);
    color: var(--primary-dark);
}

.utility-card p {
    color: var(--text-muted);
    margin: 0 0 var(--space-2xs);
}

/* Footer */
.footer {
    background: #0F1720;
    color: #FFFFFF;
    padding: var(--space-xl) 0 var(--space-lg);
    margin-top: var(--space-lg);
}

.footer h4 {
    color: #FFFFFF;
    letter-spacing: 0.4px;
}

.footer p {
    color: #FFFFFF;
    line-height: 1.6;
}

.footer a { color: #FFFFFF; }
.footer a:hover { color: var(--accent-copper); }

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li {
    margin-bottom: var(--space-2xs);
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: var(--space-md);
    color: #FFFFFF;
}

/* Responsive fixes */
@media (max-width: 767px) {
    .hero-panel { padding: var(--space-md); }
    .hero-grid { display: flex; flex-direction: column; }
    .quick-access { margin-top: var(--space-sm); }
}
