/* ==========================================================================
   Vorah design system.
   Black and gold with a green accent, taken from the circuit-engraved bee in
   the logo: honeycomb geometry, hairline traces, mono labels.
   Loaded last from views/partials/theme.hbs, so it overrides the inline
   styles in the layouts. Colors must come from the tokens below.
   ========================================================================== */

:root {
    --brand-green: #006d5b;
    --brand-dark: #00463b;
    --brand-red: #b91c1c;
    --brand-yellow: #d8a705;
    --brand-gold: #f2aa23;
    --bg-dark: #101010;
    --bg-black: #000000;
    --card-bg: #1a1a1a;

    --surface: #0a0a0a;
    --surface-raised: #101010;
    --line: rgba(242, 170, 35, 0.16);
    --line-strong: rgba(242, 170, 35, 0.42);
    --line-neutral: rgba(255, 255, 255, 0.09);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.68);
    --text-faint: rgba(255, 255, 255, 0.46);

    --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --header-height: 72px;
    --section-space: clamp(64px, 9vw, 112px);
    --radius: 3px;
    --chamfer: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    --hexagon: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    --honeycomb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66v34' fill='none' stroke='%23f2aa23' stroke-opacity='.13'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

html {
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--bg-black);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    padding-top: var(--header-height);
    -webkit-font-smoothing: antialiased;
}

.page-shell {
    background: var(--bg-black);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
}

h1 {
    display: block;
    color: var(--text);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: none;
    text-shadow: none;
}

h1:after {
    display: none;
}

::selection {
    background: var(--brand-gold);
    color: var(--bg-black);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--brand-gold);
    outline-offset: 2px;
}

.section {
    background: var(--bg-black);
    padding: var(--section-space) 0;
}

.section + .section {
    padding-top: 0;
}

/* The page sections sit directly on the black ground instead of in a box. */
.container-custom,
.container-custom.clean-card {
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    padding: 0 12px;
}

/* Mono label with a hex bullet, used above headings. */
.eyebrow,
.contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--brand-gold);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow:before,
.contact-kicker:before {
    content: "";
    width: 9px;
    height: 10px;
    background: var(--brand-gold);
    clip-path: var(--hexagon);
    flex-shrink: 0;
}

.eyebrow i {
    display: none;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn-brand,
.btn-brand-secondary,
.btn-send,
.purchase-btn,
#submitBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-brand,
.btn-send,
#submitBtn {
    background: var(--brand-gold);
    border: 0;
    clip-path: var(--chamfer);
    color: var(--bg-black);
    padding: 15px 26px;
}

.btn-brand:hover,
.btn-brand:focus,
.btn-send:hover,
.btn-send:focus,
#submitBtn:hover,
#submitBtn:focus {
    background: var(--brand-yellow);
    box-shadow: none;
    color: var(--bg-black);
    transform: none;
}

#submitBtn:disabled {
    background: var(--brand-yellow);
    color: var(--bg-black);
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-brand-secondary {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--text);
    padding: 14px 26px;
}

.btn-brand-secondary:hover,
.btn-brand-secondary:focus {
    background: rgba(242, 170, 35, 0.1);
    border-color: var(--brand-gold);
    box-shadow: none;
    color: var(--text);
    transform: none;
}

.btn-outline-warning {
    border-color: var(--line-strong);
    border-radius: 0;
    color: var(--brand-gold);
}

.btn-outline-warning:hover {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--bg-black);
}

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */

#js-preloader > .preloader-content > div:last-child {
    color: var(--text-faint) !important;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400 !important;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.preloader-spinner {
    width: 44px;
    height: 50px;
    border: 0;
    border-radius: 0;
    background: var(--brand-gold);
    clip-path: var(--hexagon);
    animation: hexPulse 1s ease-in-out infinite;
}

@keyframes hexPulse {
    0%, 100% { opacity: 0.25; transform: scale(0.86); }
    50% { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.navbar {
    background-color: rgba(0, 0, 0, 0.82) !important;
    border-bottom: 1px solid var(--line-neutral);
    padding: 0;
}

.header-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
}

.header-left {
    flex: 1 1 25%;
    justify-content: flex-start;
}

.header-right {
    flex: 1 1 25%;
    justify-content: flex-end;
}

.vorah-brand {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.22em;
}

.purchase-btn {
    background: var(--brand-gold);
    clip-path: var(--chamfer);
    color: var(--bg-black) !important;
    padding: 11px 20px;
    font-size: 0.76rem;
}

.purchase-btn:hover {
    background: var(--brand-yellow);
}

.purchase-btn i {
    display: none;
}

.navbar-nav .nav-link {
    color: var(--text-muted) !important;
    font-size: 0.92rem;
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--text) !important;
}

.navbar .dropdown-menu {
    background: var(--surface-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.navbar .dropdown-item {
    border-radius: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(242, 170, 35, 0.1);
    color: var(--brand-gold);
}

/* Three columns on desktop: brand, nav, purchase. */
@media (min-width: 992px) {
    .navbar > .container {
        height: var(--header-height);
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .header-inner {
        display: contents;
    }

    .header-left {
        order: 1;
        flex: 0 0 auto;
    }

    .navbar .navbar-collapse {
        order: 2;
        flex: 1 1 auto;
    }

    .header-right {
        order: 3;
        flex: 0 0 auto;
    }

    /* Keeps hover alive across the gap between link and menu. */
    .navbar .dropdown-menu {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    :root {
        --header-height: 64px;
    }

    .navbar {
        padding: 0;
    }

    .header-left {
        flex: 1 1 auto;
    }

    .header-right {
        flex: 0 0 auto;
    }

    .vorah-brand {
        font-size: 0.95rem;
    }

    .purchase-btn {
        display: none;
    }

    .navbar .navbar-collapse {
        background: rgba(0, 0, 0, 0.98);
    }

    .navbar-nav .nav-link {
        color: var(--text) !important;
        font-size: 1.05rem;
    }

    .navbar .dropdown-menu {
        background: transparent;
        border: 0;
        border-left: 1px solid var(--line-strong);
        border-radius: 0;
    }

    .bee-swarm {
        inset: -12px;
    }
}

.navbar-toggler {
    border: 1px solid var(--line-strong);
    border-radius: 0;
    padding: 6px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f2aa23' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.mobile-drawer-brand-bar {
    display: flex;
    align-items: center;
    padding: 4px 0 18px;
    margin: 0;
    z-index: 1060;
    position: relative;
}

.mobile-drawer-brand-bar .brand-wrap {
    transform: scale(0.98);
    transform-origin: left center;
}

.mobile-drawer-brand-bar .bee-swarm {
    inset: -12px -16px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.frontage-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 88px) 0 0;
    border-bottom: 1px solid var(--line-neutral);
    background: var(--bg-black);
}

.frontage-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--honeycomb);
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 76% 34%, #000 0%, transparent 72%);
    mask-image: radial-gradient(ellipse 70% 80% at 76% 34%, #000 0%, transparent 72%);
    pointer-events: none;
}

.frontage-hero:after {
    content: "";
    position: absolute;
    top: -160px;
    right: -100px;
    width: 760px;
    height: 760px;
    background: radial-gradient(circle, rgba(242, 170, 35, 0.13), rgba(0, 109, 91, 0.08) 42%, transparent 68%);
    pointer-events: none;
}

.hero-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero-title {
    margin: 22px 0 20px;
    color: var(--text);
    font-size: clamp(2.3rem, 4.9vw, 4.1rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.03em;
    text-transform: none;
}

.hero-title em {
    color: var(--brand-gold);
    font-style: normal;
}

.hero-copy {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 54ch;
}

.hero-cta {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Honeycomb diagram: Vorah at the center, wired to its four product lines. */
.hive {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    margin-left: auto;
}

.hive-traces {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.hive-traces path {
    fill: none;
    stroke: var(--line-strong);
    stroke-width: 1;
}

.hive-traces .pulse {
    stroke: var(--brand-gold);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 14 400;
    animation: tracePulse 4.8s linear infinite;
}

.hive-traces .pulse:nth-of-type(6) { animation-delay: -1.2s; }
.hive-traces .pulse:nth-of-type(7) { animation-delay: -2.4s; }
.hive-traces .pulse:nth-of-type(8) { animation-delay: -3.6s; }

.hive-traces circle {
    fill: var(--brand-gold);
}

@keyframes tracePulse {
    from { stroke-dashoffset: 300; }
    to { stroke-dashoffset: -120; }
}

.hive-core,
.hive-node {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    clip-path: var(--hexagon);
    aspect-ratio: 0.88;
}

.hive-core:before,
.hive-node:before {
    content: "";
    position: absolute;
    inset: 1.5px;
    background: var(--surface);
    clip-path: var(--hexagon);
}

.hive-core {
    left: 50%;
    top: 50%;
    width: 44%;
    background: var(--brand-gold);
}

.hive-core:before {
    background: var(--bg-black);
}

.hive-core img {
    position: relative;
    width: 92%;
    height: auto;
}

.hive-node {
    width: 25%;
    gap: 6px;
    background: var(--line-strong);
    color: var(--text);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.hive-node:hover,
.hive-node:focus {
    background: var(--brand-gold);
    color: var(--brand-gold);
}

.hive-node i,
.hive-node span {
    position: relative;
}

.hive-node i {
    color: var(--brand-gold);
    font-size: 1.3rem;
}

.hive-node span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hive-node-1 { left: 15%; top: 16%; }
.hive-node-2 { left: 85%; top: 16%; }
.hive-node-3 { left: 15%; top: 84%; }
.hive-node-4 { left: 85%; top: 84%; }

/* Fact strip */
.impact-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(40px, 6vw, 72px);
    border-top: 1px solid var(--line-neutral);
}

.impact-item {
    background: none;
    border: 0;
    border-left: 1px solid var(--line-neutral);
    border-radius: 0;
    padding: 24px;
}

.impact-item:first-child {
    border-left: 0;
    padding-left: 0;
}

.impact-item .value {
    color: var(--brand-gold);
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.impact-item .label {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

/* What we build */
.ops-section {
    border-bottom: 1px solid var(--line-neutral);
    background: var(--surface);
}

.ops-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
}

.ops-item {
    position: relative;
    display: block;
    border: 0;
    border-left: 1px solid var(--line-neutral);
    border-radius: 0;
    background: none;
    color: inherit;
    padding: 34px 24px 36px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.ops-item:first-child {
    border-left: 0;
}

.ops-item:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    top: -1px;
    height: 2px;
    background: var(--brand-gold);
    transition: right 0.3s ease;
}

.ops-item:hover {
    background: rgba(242, 170, 35, 0.05);
    color: inherit;
}

.ops-item:hover:after {
    right: 0;
}

.ops-index {
    display: block;
    margin-bottom: 18px;
    color: var(--brand-gold);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.ops-title {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 600;
}

.ops-copy {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Product and service grids
   -------------------------------------------------------------------------- */

.products-head {
    padding-bottom: 28px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--line-neutral);
    gap: 20px;
}

.products-title {
    margin-top: 14px;
    color: var(--text);
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.products-title i {
    display: none;
}

.products-subtitle {
    color: var(--text-muted);
    max-width: 52ch;
}

.products-filters {
    flex-wrap: wrap;
}

.products-filters .form-select {
    width: auto;
    flex: 1 1 170px;
}

.products-filters .input-group {
    flex: 1 1 240px;
    width: auto;
}

.input-group-text {
    background: var(--bg-black);
    border-color: var(--line-neutral);
    border-radius: 0;
    color: var(--brand-gold);
}

@media (min-width: 992px) {
    .products-filters {
        flex-wrap: nowrap;
        flex: 0 1 620px;
    }
}

.product-tile-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.product-tile-link:hover {
    color: inherit;
    text-decoration: none;
}

.product-card,
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line-neutral);
    border-radius: var(--radius);
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.product-card:hover,
.service-card:hover {
    background: var(--surface-raised);
    border-color: var(--line-strong);
    box-shadow: none;
    transform: none;
}

.product-image-slider,
.service-image-slider {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--line-neutral);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.slider-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
}

.main-gallery-slider {
    position: relative;
    height: 350px;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: var(--radius);
}

.main-gallery-slider .slider-track {
    height: 100%;
}

.main-gallery-slider .slider-slide img {
    object-fit: contain;
    background-color: var(--bg-dark);
}

.slider-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    transform: translateY(-50%);
}

.slider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.8);
    color: var(--brand-gold);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.product-card:hover .slider-btn,
.service-card:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: var(--brand-gold);
    color: var(--bg-black);
    transform: none;
}

.slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.slider-dot {
    width: 18px;
    height: 3px;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease;
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--brand-gold);
    transform: none;
}

.slider-play,
.image-counter {
    display: none;
}

.tile-overlay {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 3;
}

.tile-tag,
.product-badge,
.service-badge {
    display: inline-block;
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 5px 9px;
    text-transform: uppercase;
}

.tile-tag {
    background: rgba(0, 0, 0, 0.82);
    border: 1px solid var(--line-strong);
    color: var(--brand-gold);
}

.product-badge,
.service-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
}

.badge-new {
    background: var(--brand-green);
    color: var(--text);
}

.badge-featured {
    background: var(--brand-gold);
    color: var(--bg-black);
}

.badge-sale {
    background: var(--brand-red);
    color: var(--text);
}

.product-content,
.service-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 22px;
    background: none;
}

.product-title,
.service-title {
    min-height: 0;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
    text-transform: none;
}

.product-subtitle,
.service-subtitle {
    display: -webkit-box;
    flex-grow: 1;
    margin-bottom: 18px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: var(--brand-gold);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-link i {
    transition: transform 0.2s ease;
}

.product-card:hover .product-link i {
    transform: translateX(4px);
}

.product-meta,
.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.product-status,
.service-status,
.status-pill,
.status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 4px 9px;
    text-transform: uppercase;
}

.status-available,
.pill-available {
    background: rgba(0, 109, 91, 0.2);
    border: 1px solid rgba(0, 109, 91, 0.7);
    color: #4ade80;
}

.status-coming-soon,
.pill-pending {
    background: rgba(242, 170, 35, 0.1);
    border: 1px solid var(--line-strong);
    color: var(--brand-gold);
}

.status-unavailable {
    background: rgba(185, 28, 28, 0.2);
    border: 1px solid rgba(185, 28, 28, 0.6);
    color: #f87171;
}

.service-actions,
.product-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-view-details {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    padding: 11px 8px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-view-details:hover {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--bg-black);
}

.modal-gallery {
    margin-bottom: 20px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.thumbnail.active {
    border-color: var(--brand-gold);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.empty-state {
    padding: 48px 24px;
    border: 1px dashed var(--line-strong);
    color: var(--text-muted);
    text-align: center;
}

.empty-state i {
    margin-bottom: 14px;
    color: var(--brand-gold);
    font-size: 1.8rem;
}

.empty-state h3 {
    color: var(--text);
    font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   Partners
   -------------------------------------------------------------------------- */

.partners-section {
    padding: 0 0 var(--section-space);
    background: var(--bg-black);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.partner-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 28px;
    background: var(--surface) var(--honeycomb);
    border: 1px solid var(--line-neutral);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color 0.25s ease;
}

.partner-tile:hover {
    border-color: var(--brand-gold);
}

.partner-name {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.partner-url {
    color: var(--brand-gold);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.partner-url i {
    margin-left: 6px;
    font-size: 0.66rem;
}

/* --------------------------------------------------------------------------
   Forms, modals, accordion
   -------------------------------------------------------------------------- */

.form-label {
    margin-bottom: 7px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-control,
.form-select {
    background-color: var(--bg-black);
    border: 1px solid var(--line-neutral);
    border-radius: 0;
    color: var(--text);
    padding: 12px 14px;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f2aa23' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-select option {
    background: var(--bg-dark);
    color: var(--text);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--bg-black);
    border-color: var(--brand-gold);
    box-shadow: none;
    color: var(--text);
}

.form-control::placeholder {
    color: var(--text-faint);
}

.form-text {
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    margin-top: 6px;
    text-align: right;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: var(--brand-red);
}

.was-validated .form-control:valid,
.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--brand-green);
}

.invalid-feedback {
    color: #f87171;
}

.form-check-input {
    background-color: var(--bg-black);
    border-color: var(--line-strong);
}

.form-check-input:checked {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
}

.form-check-input:focus {
    border-color: var(--brand-gold);
    box-shadow: none;
}

.form-check-input[type="radio"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23000'/%3e%3c/svg%3e");
}

.form-check-input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-label {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.modal-content {
    background: var(--surface-raised);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--text);
}

.modal-header,
.modal-footer {
    border-color: var(--line-neutral);
}

.modal-title {
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 600;
}

.accordion-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-neutral);
    border-radius: 0;
}

.accordion-button,
.accordion-button:not(.collapsed) {
    background: transparent;
    box-shadow: none;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    padding: 16px 0;
}

.accordion-button:not(.collapsed) {
    color: var(--brand-gold);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23f2aa23' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-body {
    color: var(--text-muted);
    font-size: 0.94rem;
    padding: 0 0 18px;
}

/* --------------------------------------------------------------------------
   Contact section (home)
   -------------------------------------------------------------------------- */

.contact-section {
    position: relative;
    background: var(--surface);
    border-top: 1px solid var(--line-neutral);
    padding: var(--section-space) 0;
}

.contact-section .section-title {
    margin: 14px 0 12px;
    color: var(--text);
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.contact-section .section-subtitle {
    margin-bottom: 40px;
    color: var(--text-muted);
    max-width: 60ch;
}

.contact-form-container {
    background: var(--bg-black);
    border: 1px solid var(--line-neutral);
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 36px);
}

.contact-form-container h3,
.faq-container h3 {
    margin-bottom: 22px;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-section .form-label i {
    display: none;
}

.contact-section .alert-success {
    background: var(--brand-dark);
    border: 1px solid var(--brand-green);
    border-radius: 0;
    color: var(--text);
}

.contact-section .alert-danger {
    background: rgba(185, 28, 28, 0.2);
    border: 1px solid var(--brand-red);
    border-radius: 0;
    color: var(--text);
}

.form-note-required {
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.contact-info-list {
    border-top: 1px solid var(--line-neutral);
}

.contact-section .contact-info-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-neutral);
}

.contact-section .contact-icon {
    grid-row: span 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 52px;
    background: var(--line-strong);
    clip-path: var(--hexagon);
    position: relative;
}

.contact-section .contact-icon:before {
    content: "";
    position: absolute;
    inset: 1px;
    background: var(--surface);
    clip-path: var(--hexagon);
}

.contact-section .contact-icon i {
    position: relative;
    color: var(--brand-gold);
    font-size: 1rem;
}

.contact-section .contact-info-card h4 {
    margin: 0;
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-section .contact-info-card a,
.contact-section .contact-info-card .contact-value {
    margin: 3px 0 0;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
}

.contact-section .contact-info-card a:hover {
    color: var(--brand-gold);
}

.contact-section .contact-info-card .contact-note {
    margin: 2px 0 0;
    color: var(--text-muted);
    font-size: 0.86rem;
    grid-column: 2;
    grid-row: 3;
}

.faq-container {
    margin-top: 36px;
}

.faq-container h3 i {
    display: none;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-head {
    margin-bottom: 40px;
}

.contact-title {
    margin: 14px 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.contact-subtitle {
    color: var(--text-muted);
    max-width: 62ch;
}

.contact-form-card,
.contact-page .contact-info-card,
.map-card {
    height: 100%;
    padding: clamp(20px, 3vw, 32px);
    background: var(--surface);
    border: 1px solid var(--line-neutral);
    border-radius: var(--radius);
}

.contact-page .card-title {
    margin-bottom: 20px;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 600;
}

.form-note {
    color: var(--text-faint);
    font-size: 0.86rem;
}

.info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.info-icon,
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--bg-black);
    border: 1px solid var(--line-strong);
    color: var(--brand-gold);
    text-decoration: none;
}

.social-icon {
    transition: background-color 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
    background: var(--brand-gold);
    color: var(--bg-black);
}

.info-item h6,
.social-links h6 {
    margin: 0 0 4px;
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.info-item p {
    margin: 0;
    color: var(--text-muted);
}

.info-item a {
    color: var(--text);
    text-decoration: none;
}

.info-item a:hover {
    color: var(--brand-gold);
}

.map-card {
    height: 220px;
    margin-top: 24px;
    padding: 0;
    overflow: hidden;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--honeycomb);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

.map-placeholder i {
    color: var(--brand-gold);
    font-size: 2rem;
}

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */

.product-breadcrumb .breadcrumb {
    background: transparent;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.product-breadcrumb .breadcrumb-item a {
    color: var(--brand-gold);
    text-decoration: none;
}

.product-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

.product-breadcrumb .breadcrumb-item.active,
.product-breadcrumb .breadcrumb-item + .breadcrumb-item:before {
    color: var(--text-faint);
}

.product-hero .product-title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.product-heading {
    color: var(--brand-gold);
    font-weight: 500;
}

.product-hero .product-subtitle {
    display: block;
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 68ch;
    overflow: visible;
}

.product-gallery .gallery-frame {
    padding: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line-neutral);
    border-radius: var(--radius);
}

.product-gallery img {
    width: 100%;
    height: 460px;
    object-fit: contain;
}

.block-title {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 600;
}

.product-block {
    padding: 28px 0 0;
    border-top: 1px solid var(--line-neutral);
}

.block-body {
    color: var(--text-muted);
}

.block-body strong {
    color: var(--text);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table th,
.spec-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line-neutral);
    vertical-align: top;
}

.spec-table th {
    width: 40%;
    color: var(--text);
    font-weight: 500;
}

.spec-table td {
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.spec-text {
    white-space: pre-line;
}

.video-title {
    margin: 8px 0 0;
    color: var(--text-muted);
}

/* Admin top bar */
.admin-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.admin-topbar-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--header-height);
    padding: 0 16px;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.admin-brand img {
    height: 34px;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-user {
    color: var(--text-muted);
}

.admin-topbar-link {
    align-items: center;
    gap: 8px;
    color: var(--brand-gold);
    text-decoration: none;
}

.admin-menu-toggle {
    width: 44px;
    height: 44px;
    color: var(--brand-gold);
    font-size: 1.2rem;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
}

#adminMenu {
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    border-top: 1px solid var(--line-neutral);
}

#adminMenu form {
    padding: 0 16px 16px;
}

.admin-topbar-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
}

.admin-topbar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--line-neutral);
}

.admin-topbar-nav a.active {
    color: var(--brand-gold);
}

.viewer-admin-main #demoRequestsTable thead th {
    color: var(--bg-black) !important;
}

/* On phones admin content sits directly on the page instead of in nested panels */
@media (max-width: 991.98px) {
    .viewer-admin-sidebar {
        display: none;
    }

    .viewer-admin-shell {
        padding: 16px 0 40px;
    }

    .viewer-admin-shell > .container-fluid {
        padding: 0 16px;
    }

    .viewer-admin-main,
    .viewer-admin-main .section,
    .viewer-admin-main .container-custom,
    .viewer-admin-main .filter-bar,
    .viewer-admin-main .form-card,
    .viewer-admin-main .table-responsive,
    .viewer-admin-main .dataTables_wrapper {
        min-height: 0;
        padding: 0;
        margin: 0;
        background: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .viewer-admin-main .container-custom {
        max-width: none !important;
        padding: 0 !important;
    }

    .viewer-admin-main .page-header {
        margin-bottom: 20px;
    }

    .viewer-admin-main .filter-bar {
        margin-bottom: 20px;
    }

    .viewer-admin-main .form-card {
        padding: 20px 0 !important;
        border-bottom: 1px solid var(--line-neutral);
    }

    .viewer-admin-main #productTable_wrapper,
    .viewer-admin-main #serviceTable_wrapper,
    .viewer-admin-main #demoRequestsTable_wrapper {
        padding: 0;
        margin: 0;
        background: none !important;
        border: 0;
        border-radius: 0;
    }

    .viewer-admin-main .dataTables_length {
        display: none;
    }

    .viewer-admin-main .dataTables_wrapper .dataTables_filter,
    .viewer-admin-main .dataTables_wrapper .dataTables_filter label,
    .viewer-admin-main .dataTables_wrapper .dataTables_filter input {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }

    .viewer-admin-main .dataTables_wrapper .dataTables_filter label {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        text-align: left;
    }

    .viewer-admin-main #productTable,
    .viewer-admin-main #serviceTable {
        width: 100% !important;
    }

    .viewer-admin-main #productTable th,
    .viewer-admin-main #productTable td,
    .viewer-admin-main #serviceTable th,
    .viewer-admin-main #serviceTable td {
        padding: 10px 6px;
    }

    .viewer-admin-main .table-actions {
        flex-direction: row;
        gap: 6px !important;
    }

    .viewer-admin-main .filter-select,
    .viewer-admin-main .filter-bar .btn-danger {
        width: 100%;
    }
}

/* Admin media fields */
.media-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.media-row .form-control {
    flex: 1;
    min-width: 0;
}

.media-row-remove {
    flex: none;
    width: 38px;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
}

.image-move {
    position: absolute;
    bottom: 4px;
    width: 26px;
    height: 26px;
    padding: 0;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
}

.image-move-left {
    left: 4px;
}

.image-move-right {
    right: 4px;
}

.sticky-panel {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.side-card {
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line-neutral);
    border-radius: var(--radius);
}

.side-title {
    margin-bottom: 12px;
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.side-card .d-flex > .side-title {
    margin-bottom: 0;
}

.side-divider {
    height: 1px;
    margin: 16px 0;
    background: var(--line-neutral);
}

.meta-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.meta-row i {
    margin-top: 4px;
    color: var(--brand-gold);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-black);
    border: 1px solid var(--line-strong);
    border-radius: 0;
    color: var(--brand-gold);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.share-btn:hover {
    background: var(--brand-gold);
    color: var(--bg-black);
}

.permalink {
    font-family: var(--font-mono);
    font-size: 0.76rem;
}

.related-section {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--line-neutral);
}

.related-tile {
    display: block;
    height: 100%;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line-neutral);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color 0.25s ease;
}

.related-tile:hover {
    border-color: var(--line-strong);
}

.related-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--line-neutral);
}

.related-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-fallback {
    color: var(--brand-gold);
    font-size: 1.4rem;
}

.related-body {
    padding: 14px;
}

.related-title {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
}

.related-sub {
    display: -webkit-box;
    margin-top: 6px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.85rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* --------------------------------------------------------------------------
   Long-form product and service pages
   -------------------------------------------------------------------------- */

.detail-page .container {
    max-width: 860px;
}

.detail-page h1 {
    margin-bottom: 24px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.detail-body {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.detail-body strong {
    color: var(--text);
}

.availability {
    margin-top: 32px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    text-align: center;
}

.availability h3 {
    margin-bottom: 10px;
    color: var(--brand-gold);
    font-size: 1.15rem;
    font-weight: 500;
}

#countdown {
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 1.25rem;
    letter-spacing: 0.04em;
}

/* Carousel on the long-form pages */
.main-banner {
    background: var(--bg-black);
    padding: 32px 0 0;
}

.owl-banner .item {
    border-radius: var(--radius);
}

/* Keeps the banner text readable over the photo. */
.owl-banner .item:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
}

.header-text .category {
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--brand-gold) !important;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    padding: 0;
    text-transform: uppercase;
}

.header-text h2 {
    font-weight: 600;
    letter-spacing: -0.02em;
    text-shadow: none;
}

.main-button a {
    background: var(--brand-gold);
    border-radius: 0;
    clip-path: var(--chamfer);
    color: var(--bg-black);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    padding: 14px 26px;
    text-transform: uppercase;
}

.main-button a:hover {
    background: var(--brand-yellow);
    box-shadow: none;
    transform: none;
}

.owl-prev,
.owl-next {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid var(--line-strong) !important;
    border-radius: 0 !important;
    color: var(--brand-gold) !important;
}

.owl-prev:hover,
.owl-next:hover {
    background: var(--brand-gold) !important;
    color: var(--bg-black) !important;
    transform: none;
}

/* --------------------------------------------------------------------------
   Login, register, 404
   -------------------------------------------------------------------------- */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px 16px;
    background: var(--bg-black) var(--honeycomb);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 36px 32px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--text);
    text-decoration: none;
}

.auth-brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.auth-title {
    margin: 0 0 22px;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
}

.auth-card .btn-brand {
    width: 100%;
}

.auth-card a:not(.auth-brand) {
    color: var(--brand-gold);
}

.not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height));
    padding: 48px 16px;
    background: var(--honeycomb);
    text-align: center;
}

.not-found-code {
    color: var(--brand-gold);
    font-family: var(--font-mono);
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-weight: 500;
    line-height: 1;
}

.not-found h1 {
    margin: 16px 0 8px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.not-found p {
    margin-bottom: 28px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer {
    margin-top: 0;
    padding: 64px 0 28px;
    background: var(--bg-black);
    border-top: 1px solid var(--line-neutral);
    color: var(--text-muted);
}

.footer-heading {
    margin-bottom: 18px;
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-brand {
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.footer-copy {
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 30rem;
}

.footer-links li {
    font-size: 0.94rem;
}

.footer-links i {
    color: var(--brand-gold);
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--brand-gold);
    padding-left: 0;
}

.social-icons {
    gap: 8px;
}

.social-icons a {
    background: transparent;
    border: 1px solid var(--line-neutral);
    border-radius: 0;
    color: var(--text-muted);
}

.social-icons a:hover {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: var(--bg-black);
    transform: none;
}

.copyright {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--line-neutral);
    color: var(--text-faint);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-align: left;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
    .hero-wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    .hive {
        max-width: 420px;
        margin: 0 auto;
    }

    .impact-grid,
    .ops-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .impact-item:nth-child(odd),
    .ops-item:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }

    .impact-item:nth-child(n + 3),
    .ops-item:nth-child(n + 3) {
        border-top: 1px solid var(--line-neutral);
    }

    .ops-item:after {
        display: none;
    }
}

@media (max-width: 768px) {
    .container-custom,
    .container-custom.clean-card {
        padding: 0 12px;
    }

    .product-gallery img {
        height: 280px;
    }

    .main-gallery-slider {
        height: 250px;
    }

    .sticky-panel {
        position: static;
    }

    .product-actions {
        flex-direction: column;
    }

    .form-note {
        display: block;
        width: 100%;
    }

    #submitBtn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-cta > a {
        flex: 1 1 100%;
    }

    .impact-grid,
    .partner-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ops-band {
        grid-template-columns: minmax(0, 1fr);
    }

    .impact-item,
    .ops-item {
        border-left: 0;
        padding-left: 0;
    }

    .impact-item:nth-child(n + 2),
    .ops-item:nth-child(n + 2) {
        border-top: 1px solid var(--line-neutral);
    }

    .hive-node i {
        font-size: 1rem;
    }

    .hive-node span {
        font-size: 0.56rem;
    }

    .btn-send {
        width: 100%;
    }

    .auth-card {
        padding: 28px 20px;
    }
}

@media (hover: none) {
    .slider-btn {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hive-traces .pulse,
    .preloader-spinner {
        animation: none;
    }

    .hive-traces .pulse {
        display: none;
    }

    .product-card,
    .service-card {
        animation: none;
        opacity: 1;
    }

    .slider-track {
        transition: none;
    }
}
