/*
Theme Name: ProtoForm Tech
Theme URI: https://protoformtech.com
Author: ProtoForm Tech
Description: Custom industrial engineering theme for ProtoForm Tech.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: protoformtech
*/

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

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

:root {
    --bg:      #0b0f14;
    --bg2:     #111720;
    --bg3:     #161d27;
    --panel:   #1a2233;
    --border:  #1e2d42;
    --border2: #253448;
    --accent:  #2c7be5;
    --accent2: #1a5dbf;
    --text:    #c8d6e8;
    --muted:   #6b8eab;
    --dim:     #5e7d9e;
    --white:   #e8f0f8;
    --grid-col: rgba(44, 123, 229, 0.04);
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}

code, .mono {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* Grid background */
.grid-bg {
    background-image:
        linear-gradient(var(--grid-col) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-col) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ── NAV ── */
.site-nav {
    background: rgba(11, 15, 20, 0.97);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 48px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky; top: 0; z-index: 100;
}
.site-logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
}
.logo-mark {
    width: 36px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; color: var(--accent);
}
.logo-mark svg { width: 36px; height: 40px; }
.logo-text { display: flex; flex-direction: column; justify-content: center; }
.logo-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; font-weight: 600; color: var(--white);
    letter-spacing: 2px; line-height: 1;
}
.logo-sub { color: var(--accent); font-weight: 400; letter-spacing: 2px; }

/* WordPress nav menu */
.site-nav .nav-menu {
    list-style: none; display: flex; gap: 0;
    align-items: center; height: 60px; margin: 0; padding: 0;
}
.site-nav .nav-menu li a {
    color: var(--muted); text-decoration: none; font-size: 13px;
    font-weight: 500; padding: 0 18px; height: 60px;
    display: flex; align-items: center;
    border-bottom: 2px solid transparent;
    border-top: 2px solid transparent;
    transition: color .15s, border-color .15s;
    letter-spacing: 0.3px;
}
.site-nav .nav-menu li a:hover,
.site-nav .nav-menu li.current-menu-item a { color: var(--white); border-bottom-color: var(--border2); }
.site-nav .nav-menu li.menu-cta a {
    margin-left: 8px; background: transparent;
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important; padding: 0 20px !important;
    height: 34px !important; border-radius: 2px;
    font-size: 12px !important; font-weight: 600 !important;
    letter-spacing: 0.8px; text-transform: uppercase;
}
.site-nav .nav-menu li.menu-cta a:hover {
    background: rgba(44,123,229,0.1) !important;
}

/* ── HERO ── */
.hero-wrap { background: var(--bg); border-bottom: 1px solid var(--border); }
.hero-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 480px;
    min-height: 580px; padding: 0 48px;
}
.hero-left {
    padding: 72px 64px 72px 0;
    border-right: 1px solid var(--border);
    position: relative;
}
.hero-left::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0; right: 0;
    background-image:
        linear-gradient(var(--grid-col) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-col) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.hero-prefix {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--accent);
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 24px;
    display: flex; align-items: center; gap: 10px;
    position: relative;
}
.hero-prefix::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.hero-title {
    font-size: 42px; font-weight: 700; color: var(--white);
    line-height: 1.15; letter-spacing: -0.8px; margin-bottom: 20px;
    position: relative;
}
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub {
    font-size: 16px; color: var(--muted); line-height: 1.7;
    max-width: 520px; margin-bottom: 40px; position: relative;
}
.hero-actions { display: flex; gap: 12px; align-items: center; margin-bottom: 56px; position: relative; }
.btn-primary {
    background: var(--accent); color: white;
    padding: 11px 24px; border-radius: 2px;
    text-decoration: none; font-size: 13px; font-weight: 600;
    letter-spacing: 0.5px; transition: background .15s; display: inline-block;
}
.btn-primary:hover { background: var(--accent2); color: white; }
.btn-ghost {
    background: transparent; color: var(--muted);
    padding: 11px 24px; border-radius: 2px; border: 1px solid var(--border2);
    text-decoration: none; font-size: 13px; font-weight: 500;
    transition: color .15s, border-color .15s; display: inline-block;
}
.btn-ghost:hover { color: var(--text); border-color: var(--dim); }

.hero-specs {
    display: flex; gap: 0;
    border: 1px solid var(--border);
    position: relative;
}
.spec-block {
    flex: 1; padding: 16px 20px;
    border-right: 1px solid var(--border);
}
.spec-block:last-child { border-right: none; }
.spec-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 3px;
}
.spec-key { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ── HERO FORM ── */
.hero-right {
    padding: 40px 0 40px 48px;
    display: flex; flex-direction: column; justify-content: center;
}
.form-header {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--muted);
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between;
}
.form-header span.hl { color: var(--accent); }
.form-group { margin-bottom: 12px; }
.form-group label {
    display: block; font-size: 11px; font-weight: 600;
    color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; background: var(--bg3);
    border: 1px solid var(--border); border-radius: 2px;
    padding: 9px 12px; font-size: 13px; color: var(--text);
    font-family: inherit; transition: border-color .15s; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--accent); background: var(--bg2);
}
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--accent); outline-offset: 2px;
}
.form-group textarea { height: 72px; resize: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.upload-area {
    border: 1px dashed var(--border2); border-radius: 2px;
    padding: 14px 16px; cursor: pointer; transition: border-color .15s;
    display: flex; align-items: center; gap: 10px;
}
.upload-area:hover { border-color: var(--accent); }
.upload-text { font-size: 12px; color: var(--muted); }
.upload-text strong { color: var(--accent); font-weight: 500; }
.form-submit {
    width: 100%; background: var(--accent); color: white;
    border: none; padding: 12px; border-radius: 2px;
    font-size: 12px; font-weight: 700; cursor: pointer;
    letter-spacing: 1px; text-transform: uppercase;
    margin-top: 14px; transition: background .15s; font-family: inherit;
}
.form-submit:hover { background: var(--accent2); }
.form-legal { font-size: 11px; color: var(--dim); text-align: center; margin-top: 10px; }

/* WPForms overrides inside hero */
.hero-right .wpforms-container { margin: 0; }
.hero-right .wpforms-form input,
.hero-right .wpforms-form select,
.hero-right .wpforms-form textarea {
    background: var(--bg3) !important; border: 1px solid var(--border) !important;
    color: var(--text) !important; border-radius: 2px !important;
    font-family: inherit !important;
}
.hero-right .wpforms-form input:focus,
.hero-right .wpforms-form select:focus,
.hero-right .wpforms-form textarea:focus {
    border-color: var(--accent) !important;
}
.hero-right .wpforms-form input:focus-visible,
.hero-right .wpforms-form select:focus-visible,
.hero-right .wpforms-form textarea:focus-visible {
    outline: 2px solid var(--accent) !important; outline-offset: 2px !important;
}
.hero-right .wpforms-form .wpforms-submit {
    background: var(--accent) !important; border: none !important;
    border-radius: 2px !important; letter-spacing: 1px; text-transform: uppercase;
}
.hero-right .wpforms-form .wpforms-submit:hover { background: var(--accent2) !important; }
.hero-right .wpforms-field-label { color: var(--text) !important; font-size: 11px !important; text-transform: uppercase; letter-spacing: 1px; }

/* ── QUICK NAV BAR ── */
.quick-nav {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.quick-nav::-webkit-scrollbar { display: none; }
.qnav-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 16px 40px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: background .15s, border-color .15s;
    white-space: nowrap;
    flex: 1;
    min-width: 200px;
}
.qnav-item:hover {
    background: var(--bg3);
    border-bottom-color: var(--border2);
}
.qnav-item.qnav-active {
    background: var(--bg3);
    border-bottom-color: var(--accent);
}
.qnav-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1.5px;
}
.qnav-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.3px;
}
.qnav-item:hover .qnav-title,
.qnav-item.qnav-active .qnav-title { color: var(--white); }
.qnav-sub {
    font-size: 11px;
    color: var(--muted);
}
.qnav-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    flex-shrink: 0;
}

/* ── STATUS BAR ── */
.status-bar {
    background: var(--bg2); border-bottom: 1px solid var(--border);
    padding: 10px 48px; display: flex; gap: 0; overflow-x: auto;
}
.status-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--muted);
    padding: 0 20px; border-right: 1px solid var(--border);
    white-space: nowrap; display: flex; align-items: center; gap: 6px;
}
.status-item:first-child { padding-left: 0; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; }
.status-dot.blue { background: var(--accent); }

/* ── SECTIONS ── */
.pf-section { padding: 80px 48px; border-bottom: 1px solid var(--border); }
.pf-section-alt { background: var(--bg2); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--accent); letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 32px;
    display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: '//'; color: var(--dim); }
.section-title { font-size: 30px; font-weight: 700; color: var(--white); letter-spacing: -0.4px; margin-bottom: 10px; }
.section-desc { font-size: 15px; color: var(--muted); max-width: 600px; line-height: 1.7; margin-bottom: 48px; }

/* ── SERVICES ── */
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; border: 1px solid var(--border);
}
.service-card {
    padding: 32px; border-right: 1px solid var(--border); transition: background .15s;
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: var(--bg3); }
.service-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--dim); margin-bottom: 20px;
}
.service-card h3 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.service-card p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.spec-list { list-style: none; }
.spec-list li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--dim);
    padding: 4px 0; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between;
}
.spec-list li span { color: var(--muted); }

/* ── MATERIALS TABLE ── */
.mat-table { width: 100%; border-collapse: collapse; }
.mat-table thead tr { background: var(--bg3); border-bottom: 1px solid var(--border); }
.mat-table th {
    padding: 10px 16px; text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--dim); letter-spacing: 1.5px;
    text-transform: uppercase; font-weight: 500;
}
.mat-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.mat-table tbody tr:hover td { background: var(--bg3); }
.mat-name { font-weight: 700; color: var(--white) !important; font-size: 14px !important; }
.mat-temp { font-family: 'JetBrains Mono', monospace; color: var(--accent) !important; font-size: 12px !important; }
.mat-badge {
    display: inline-block; font-size: 10px; padding: 2px 8px;
    border: 1px solid var(--border2); color: var(--dim);
    border-radius: 2px; margin-right: 4px;
    font-family: 'JetBrains Mono', monospace;
}
.mat-badge.rec { border-color: var(--accent); color: var(--accent); }

/* ── PROCESS ── */
.process-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
}
.process-step { padding: 28px; border-right: 1px solid var(--border); }
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--bg3); }
.step-index {
    font-family: 'JetBrains Mono', monospace;
    font-size: 36px; font-weight: 700; color: var(--border2); line-height: 1; margin-bottom: 16px;
}
.process-step h3 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.step-time { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--accent); margin-top: 12px; }

/* ── CAPABILITIES ── */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); }
.cap-col:first-child { border-right: 1px solid var(--border); }
.cap-header {
    padding: 16px 24px; background: var(--bg3); border-bottom: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted);
    letter-spacing: 1px; text-transform: uppercase; display: flex; justify-content: space-between;
}
.cap-header span { color: var(--accent); }
.cap-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 13px 24px; border-bottom: 1px solid var(--border); transition: background .15s;
}
.cap-row:hover { background: var(--bg3); }
.cap-row:last-child { border-bottom: none; }
.cap-key { font-size: 13px; color: var(--muted); }
.cap-val { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--white); font-weight: 500; }
.cap-val.blue { color: var(--accent); }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-text h2 { font-size: 30px; font-weight: 700; color: var(--white); margin-bottom: 20px; }
.about-text p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.about-data { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); margin-top: 32px; }
.about-data-item {
    padding: 18px 20px; border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border); text-align: center;
}
.about-data-item:nth-child(even) { border-right: none; }
.about-data-item:nth-last-child(-n+2) { border-bottom: none; }
.about-data-val { font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.about-data-key { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.8px; }
.terminal { background: #080d12; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.terminal-bar {
    background: var(--bg3); padding: 10px 16px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 6px;
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; }
.t-dot.r { background: #ff5f56; } .t-dot.y { background: #ffbd2e; } .t-dot.g { background: #27c93f; }
.terminal-title { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--dim); margin-left: 8px; }
.terminal-body { padding: 20px; }
.t-line { font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.8; }
.t-prompt { color: var(--accent); }
.t-cmd { color: var(--white); }
.t-comment { color: var(--dim); }
.t-out { color: #22c55e; }
.t-str { color: #f59e0b; }
.t-blank { height: 8px; }

/* ── FOOTER ── */
.site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 48px 48px 0; }
.footer-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer-brand-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-brand p { font-size: 13px; color: var(--dim); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--dim); letter-spacing: 1.5px;
    text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color .15s; }
.footer-col ul a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.fc-item { display: flex; gap: 10px; align-items: flex-start; }
.fc-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--dim); letter-spacing: 1px; text-transform: uppercase; min-width: 40px; margin-top: 2px; }
.fc-val { font-size: 13px; color: var(--muted); line-height: 1.5; }
.fc-val a { color: var(--muted); text-decoration: none; }
.fc-val a:hover { color: var(--white); }
.footer-bottom {
    max-width: 1280px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center; padding: 16px 0;
}
.footer-bottom p { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--dim); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: var(--dim); text-decoration: none; }
.footer-links a:hover { color: var(--muted); }

/* ── INNER PAGES ── */
.page-hero { padding: 60px 48px 48px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: 36px; font-weight: 700; color: var(--white); letter-spacing: -0.5px; }
.page-content { max-width: 1280px; margin: 0 auto; padding: 48px; }
.page-content p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.page-content h2 { color: var(--white); font-size: 22px; margin: 32px 0 12px; }

/* ── 2-COL GRID ── */
.services-grid-2 {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 0; border: 1px solid var(--border);
}
.services-grid-2 .service-card {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.services-grid-2 .service-card:nth-child(even) { border-right: none; }
.services-grid-2 .service-card:nth-last-child(-n+2) { border-bottom: none; }

@media (max-width: 768px) {
    .services-grid-2 { grid-template-columns: 1fr; }
    .services-grid-2 .service-card { border-right: none; border-bottom: 1px solid var(--border); }
    .services-grid-2 .service-card:last-child { border-bottom: none; }
}

/* ── PAGE NAV (sticky section jump bar) ── */
.page-nav {
    position: sticky; top: 57px; z-index: 90;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
}
.page-nav-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 32px;
    display: flex; align-items: center; gap: 0;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.page-nav-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--muted);
    text-decoration: none; letter-spacing: 1px;
    padding: 14px 20px;
    border-right: 1px solid var(--border);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.page-nav-link:hover { color: var(--white); background: var(--bg3); }
.page-nav-link.active {
    color: var(--white);
    background: var(--bg3);
    border-bottom-color: var(--accent);
}
.page-nav-cta {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--accent);
    text-decoration: none; letter-spacing: 1px;
    padding: 14px 20px; white-space: nowrap;
}
.page-nav-cta:hover { color: var(--white); }

@media (max-width: 768px) {
    .page-nav-inner { padding: 0 16px; }
    .page-nav-link { padding: 12px 14px; font-size: 10px; }
    .page-nav-cta { padding: 12px 14px; font-size: 10px; }
}

/* ── PRODUCT PAGES (Collection + Parts) ── */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.product-layout-rev .product-photo-col { order: 2; }
.product-layout-rev .product-spec-col  { order: 1; }

.product-photo {
    width: 100%; aspect-ratio: 4/3;
    background: var(--bg3);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 12px;
}
.product-photo svg,
.product-photo img { display: block; width: 100%; height: 100%; }
.product-photo img { object-fit: cover; }
.product-photo-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-photo.product-photo-sm { aspect-ratio: 1; margin-bottom: 0; }

.product-title {
    font-size: 1.8rem; font-weight: 700; color: var(--white);
    margin: 0.5rem 0 0.75rem;
}
.product-desc {
    font-size: 14px; color: var(--text); line-height: 1.75;
    margin-bottom: 1.5rem;
}
.product-specs-block { margin-bottom: 1.5rem; }
.product-specs-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--accent);
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .product-layout { grid-template-columns: 1fr; gap: 2rem; }
    .product-layout-rev .product-photo-col { order: 0; }
    .product-layout-rev .product-spec-col  { order: 0; }
}

/* ── PRIVACY POLICY PAGE ── */
.privacy-body h2 {
    font-size: 1rem; font-weight: 600; color: var(--white);
    margin: 2.5rem 0 0.75rem; padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace; letter-spacing: 1px;
}
.privacy-body p { font-size: 14px; color: var(--text); line-height: 1.75; margin-bottom: 1rem; }
.privacy-body ul li { font-size: 14px; color: var(--text); line-height: 1.75; }
.privacy-body strong { color: var(--white); }
.privacy-body .mat-table { min-width: 560px; }
.privacy-body .cap-col { border: 1px solid var(--border); background: var(--bg2); padding: 12px 16px; }

/* ── COLLECTION BYLINE ── */
.collection-byline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--dim);
    letter-spacing: 2px; text-transform: uppercase;
    margin-top: -20px; margin-bottom: 0;
}

/* ── CUSTOM BLOCK ── */
.custom-block {
    margin-top: 2rem; border: 1px solid var(--border);
    background: var(--bg2); padding: 28px 32px;
}
.custom-block-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--accent); letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 10px;
}
.custom-block-title { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.custom-block-desc { font-size: 13px; color: var(--muted); margin-bottom: 20px; line-height: 1.6; }
.custom-options { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); }
.custom-option {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 16px; border-bottom: 1px solid var(--border); gap: 16px;
}
.custom-option:last-child { border-bottom: none; }
.custom-opt-key {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--accent); min-width: 160px;
}
.custom-opt-val { font-size: 13px; color: var(--muted); }

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 1024px) {
    .site-nav { padding: 0 24px; }
    .hero-inner { grid-template-columns: 1fr; padding: 0 24px; }
    .hero-left { padding: 48px 0; border-right: none; border-bottom: 1px solid var(--border); }
    .hero-right { padding: 40px 0; }
    .pf-section { padding: 60px 24px; }
    .status-bar { padding: 10px 24px; }
    .qnav-item { padding: 14px 24px; min-width: 160px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .process-step:nth-child(2) { border-right: none; }
    .process-step:nth-child(3) { border-top: 1px solid var(--border); }
    .process-step:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
    .page-hero { padding: 40px 24px 32px; }
    .page-content { padding: 32px 24px; }
}

/* Mobile */
@media (max-width: 768px) {
    .site-nav { padding: 0 16px; height: 52px; }
    .site-nav .nav-menu { display: none; }

    .hero-inner { padding: 0 16px; }
    .hero-left { padding: 36px 0; }
    .hero-title { font-size: 28px; }
    .hero-sub { font-size: 14px; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 36px; }
    .btn-primary, .btn-ghost { width: 100%; text-align: center; }
    .hero-specs { flex-wrap: wrap; }
    .spec-block { flex: 1 1 45%; border-bottom: 1px solid var(--border); }
    .hero-right { padding: 32px 0; }

    .status-bar { padding: 10px 16px; gap: 0; }

    .pf-section { padding: 48px 16px; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card { border-right: none; border-bottom: 1px solid var(--border); }
    .service-card:last-child { border-bottom: none; }

    .mat-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .mat-table { min-width: 600px; }

    .process-grid { grid-template-columns: 1fr; }
    .process-step { border-right: none; border-bottom: 1px solid var(--border); }
    .process-step:last-child { border-bottom: none; }
    .process-step:nth-child(3),
    .process-step:nth-child(4) { border-top: none; }

    .cap-grid { grid-template-columns: 1fr; }
    .cap-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }

    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-text h2 { font-size: 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
    .site-footer { padding: 36px 16px 0; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-links { justify-content: center; }

    .section-title { font-size: 24px; }
    .section-desc { font-size: 14px; margin-bottom: 32px; }
    .custom-block { padding: 20px 16px; }
    .custom-opt-key { min-width: 120px; }
    .custom-option { flex-direction: column; align-items: flex-start; gap: 4px; }

    .page-hero { padding: 32px 16px 24px; }
    .page-hero h1 { font-size: 26px; }
    .page-content { padding: 24px 16px; }
}

/* ── COMPLIANZ COOKIE BANNER ── */

/* Container + main banner — high specificity via ID */
#cmplz-cookiebanner-container .cmplz-cookiebanner,
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-bottom-right,
#cmplz-cookiebanner-container .cmplz-cookiebanner.cmplz-bottom-left {
    background: #111720 !important;
    background-color: #111720 !important;
    border: 1px solid #1e2d42 !important;
    border-radius: 4px 4px 0 0 !important;
    color: #c8d6e8 !important;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important;
    font-size: 13px !important;
    box-shadow: 0 -4px 32px rgba(0,0,0,0.6) !important;
    max-width: 520px !important;
}

/* Header */
#cmplz-cookiebanner-container .cmplz-header {
    background: #111720 !important;
    border-bottom: 1px solid #1e2d42 !important;
    padding: 16px 20px 12px !important;
}

/* Title h2 */
#cmplz-cookiebanner-container .cmplz-cookiebanner h2,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title {
    color: #e8f0f8 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
}

/* Body */
#cmplz-cookiebanner-container .cmplz-body {
    background: #111720 !important;
    padding: 12px 20px !important;
}

/* Body text */
#cmplz-cookiebanner-container .cmplz-cookiebanner p,
#cmplz-cookiebanner-container .cmplz-message {
    color: #6b8eab !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
}

/* Links */
#cmplz-cookiebanner-container .cmplz-cookiebanner a {
    color: #2c7be5 !important;
    text-decoration: none !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner a:hover {
    text-decoration: underline !important;
}

/* Links bar (Cookie Policy / Privacy Policy / General Terms) */
#cmplz-cookiebanner-container .cmplz-links.cmplz-information {
    background: #111720 !important;
    border-top: 1px solid #1e2d42 !important;
    padding: 8px 20px !important;
}

/* Dividers */
#cmplz-cookiebanner-container .cmplz-divider {
    border-color: #1e2d42 !important;
    background: #1e2d42 !important;
}

/* Buttons area */
#cmplz-cookiebanner-container .cmplz-buttons {
    background: #111720 !important;
    padding: 12px 20px 16px !important;
    gap: 8px !important;
    border-top: 1px solid #1e2d42 !important;
}

/* All buttons base */
#cmplz-cookiebanner-container .cmplz-btn,
#cmplz-cookiebanner-container .cmplz-cookiebanner button {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    border-radius: 2px !important;
    padding: 9px 18px !important;
    cursor: pointer !important;
    transition: background .15s, border-color .15s, color .15s !important;
}

/* Accept */
#cmplz-cookiebanner-container .cmplz-btn.cmplz-accept {
    background: #2c7be5 !important;
    color: #fff !important;
    border: 1px solid #2c7be5 !important;
}
#cmplz-cookiebanner-container .cmplz-btn.cmplz-accept:hover {
    background: #1a5dbf !important;
    border-color: #1a5dbf !important;
}

/* Deny */
#cmplz-cookiebanner-container .cmplz-btn.cmplz-deny {
    background: transparent !important;
    color: #6b8eab !important;
    border: 1px solid #253448 !important;
}
#cmplz-cookiebanner-container .cmplz-btn.cmplz-deny:hover {
    color: #c8d6e8 !important;
    border-color: #5e7d9e !important;
}

/* View preferences */
#cmplz-cookiebanner-container .cmplz-btn.cmplz-view-preferences,
#cmplz-cookiebanner-container .cmplz-btn.cmplz-manage-options {
    background: transparent !important;
    color: #5e7d9e !important;
    border: 1px solid #1e2d42 !important;
    font-size: 9px !important;
}
#cmplz-cookiebanner-container .cmplz-btn.cmplz-view-preferences:hover {
    color: #6b8eab !important;
    border-color: #253448 !important;
}

/* Close X button */
#cmplz-cookiebanner-container .cmplz-close {
    color: #5e7d9e !important;
    background: transparent !important;
    border: none !important;
}
#cmplz-cookiebanner-container .cmplz-close:hover { color: #6b8eab !important; }

/* Toggles */
#cmplz-cookiebanner-container .cmplz-toggle input:checked + .cmplz-slider {
    background-color: #2c7be5 !important;
}
#cmplz-cookiebanner-container .cmplz-slider {
    background-color: #253448 !important;
}

/* Category labels */
#cmplz-cookiebanner-container .cmplz-label,
#cmplz-cookiebanner-container .cmplz-category-title {
    color: #c8d6e8 !important;
    font-size: 12px !important;
}

/* ── MANAGE CONSENT floating bar — hidden, replaced by footer link ── */
#cmplz-manage-consent-container,
.cmplz-manage-consent-container {
    display: none !important;
}

#cmplz-manage-consent-container button,
.cmplz-manage-consent-container button,
#cmplz-manage-consent-container .cmplz-manage-consent-btn,
.cmplz-manage-consent-btn {
    background: #111720 !important;
    background-color: #111720 !important;
    border: 1px solid #253448 !important;
    border-bottom: none !important;
    border-radius: 4px 4px 0 0 !important;
    color: #6b8eab !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
    display: block !important;
    min-width: 160px !important;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.4) !important;
    transition: color .15s, background .15s !important;
}
#cmplz-manage-consent-container button:hover,
.cmplz-manage-consent-btn:hover {
    background: #161d27 !important;
    background-color: #161d27 !important;
    color: #c8d6e8 !important;
}

/* ─── COLLECTIONS HUB ─────────────────────────────────────────── */
.collections-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.collection-hub-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.collection-hub-visual {
    width: 100%;
    aspect-ratio: 360 / 220;
    background: var(--bg3);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.collection-hub-visual svg { display: block; width: 100%; height: 100%; }
.collection-hub-body { padding: 2rem; display: flex; flex-direction: column; flex: 1; }
@media (max-width: 820px) {
    .collections-hub-grid { grid-template-columns: 1fr; }
}

/* ─── BLOG ────────────────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.blog-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.blog-card-meta { display: flex; align-items: center; gap: 1rem; }
.blog-date { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.blog-card-title { font-size: 1.1rem; font-weight: 600; color: var(--white); margin: 0; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--accent); }
.blog-card-excerpt { font-size: 0.9rem; color: var(--text); line-height: 1.6; flex: 1; }
.blog-read-more { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); text-decoration: none; }
.blog-read-more:hover { text-decoration: underline; }

.section-inner--narrow { max-width: 740px; }
.blog-post-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.blog-back { font-family: var(--mono); font-size: 0.8rem; color: var(--accent); text-decoration: none; }
.blog-back:hover { text-decoration: underline; }
.blog-content { margin: 2rem 0; color: var(--text); line-height: 1.8; font-size: 1rem; }
.blog-content h2 { color: var(--white); font-size: 1.25rem; margin: 2rem 0 1rem; }
.blog-content h3 { color: var(--white); font-size: 1.05rem; margin: 1.5rem 0 0.75rem; }
.blog-content p { margin-bottom: 1.25rem; }
.blog-content ul, .blog-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.blog-content li { margin-bottom: 0.4rem; }
.blog-content strong { color: var(--white); }
.blog-content code { font-family: var(--mono); font-size: 0.85em; background: var(--bg2); padding: 0.1em 0.4em; border: 1px solid var(--border); }
.blog-post-footer { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }

@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-post-meta { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
