/* =======================================
   ONYX 3D PRINTING - GLOBAL STYLES
   (You can tweak colors + spacing here)
======================================= */
:root {
    --bg: #05070b;
    --bg-soft: #0b0f18;
    --bg-alt: #101622;
    --accent: #22e0c4;
    --accent-soft: rgba(34, 224, 196, 0.12);
    --accent-strong: #13b196;
    --text: #f7f8ff;
    --muted: #a2a7c2;
    --border: #242a3a;
    --max-width: 1100px;
    --radius: 14px;
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: radial-gradient(circle at top, #1a2134 0, #05070b 45%, #02030a 100%);
    color: var(--text);
}

/* =======================================
   LAYOUT BASICS
======================================= */

body {
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 3.5rem 0;
}

.section-alt {
    padding: 3.5rem 0;
    background: var(--bg-soft);
}

.section h2 {
    margin-top: 0;
    font-size: 2rem;
    margin-bottom: 0.7rem;
}

.section p.section-intro {
    max-width: 640px;
    color: var(--muted);
}

/* Simple grids you can reuse */
.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

/* =======================================
   HEADER + NAV
======================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 7, 11, 0.96);
    border-bottom: 1px solid rgba(36, 42, 58, 0.9);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    height: 76px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
}

.brand-logo {
    display: block;
    max-height: 56px;
    height: auto;
    border-radius: 10px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--muted);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.1rem;
    font-size: 0.92rem;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    padding-bottom: 0.22rem;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    color: var(--text);
}

nav a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* =======================================
   HERO (HOME)
======================================= */

.hero {
    padding: 3.5rem 0 2.5rem;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 0.9rem;
}

.hero h1 {
    margin-top: 0;
    font-size: clamp(2.2rem, 2.8vw + 1.4rem, 3rem);
    margin-bottom: 0.8rem;
}

.hero p.hero-lead {
    color: var(--muted);
    max-width: 640px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.hero-meta {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.hero-panel {
    background: radial-gradient(circle at 0 0, rgba(34, 224, 196, 0.18), transparent 60%),
        var(--bg-alt);
    border-radius: 18px;
    padding: 1.6rem 1.5rem 1.8rem;
    border: 1px solid rgba(34, 224, 196, 0.3);
    box-shadow: var(--shadow-soft);
}

.hero-panel h3 {
    margin-top: 0;
    font-size: 1.05rem;
}

.hero-panel p {
    color: var(--muted);
    font-size: 0.9rem;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pill {
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(162, 167, 194, 0.5);
    color: var(--muted);
}

/* =======================================
   BUTTONS
======================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.94rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease,
        transform 0.1s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
    background: var(--accent);
    color: #04100f;
    font-weight: 600;
    box-shadow: 0 10px 26px rgba(34, 224, 196, 0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(34, 224, 196, 0.55);
}

.btn-secondary {
    background: transparent;
    border-color: rgba(162, 167, 194, 0.6);
    color: var(--muted);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-full {
    width: 100%;
}

/* =======================================
   CARDS / CONTENT
======================================= */

.card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1.4rem 1.4rem 1.6rem;
    border: 1px solid var(--border);
}

.card h3 {
    margin-top: 0;
    font-size: 1.05rem;
}

.card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.card-list {
    margin: 0.6rem 0 0;
    padding-left: 1.1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

/* =======================================
   SECTIONS: HOME
======================================= */

.usp-grid {
    margin-top: 1.4rem;
}

.badge {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
}

/* Industries / “Who it’s for” */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.7rem;
}

.chip {
    font-size: 0.8rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #101522;
    border: 1px solid #242a3a;
    color: var(--muted);
}

/* Process timeline */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.step {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1rem 1rem 1.2rem;
    border: 1px solid var(--border);
    position: relative;
}

.step-number {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(34, 224, 196, 0.7);
}

.step h3 {
    margin-top: 0.1rem;
    font-size: 0.98rem;
}

.step p {
    color: var(--muted);
    font-size: 0.86rem;
}

/* =======================================
   PAGES: GENERIC LAYOUT
======================================= */

.page-header {
    padding: 2.6rem 0 1rem;
}

.page-header h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
}

.page-header p {
    margin: 0;
    max-width: 600px;
    color: var(--muted);
}

.page-layout {
    padding: 0 0 3rem;
}

.page-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2rem;
}

.page-main p {
    color: var(--muted);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    display: block;
    background: #22263a;
}

/* Contact */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.contact-list li + li {
    margin-top: 0.35rem;
}

.contact-box {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1.4rem 1.4rem 1.6rem;
    border: 1px solid var(--border);
}

/* =======================================
   FOOTER
======================================= */

.site-footer {
    border-top: 1px solid #202536;
    background: #05070c;
    padding: 1.1rem 0 1.3rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
}

/* =======================================
   RESPONSIVE
======================================= */

@media (max-width: 900px) {
    .hero-layout,
    .grid-2,
    .page-grid-2 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 2.5rem;
    }

    .hero-panel {
        order: -1;
    }

    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .section,
    .section-alt {
        padding: 2.7rem 0;
    }

    .steps-grid,
    .grid-3,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
