/* ==========================================================================
   Hanghai Child Theme — Main Stylesheet
   Industrial blue-white palette for precision manufacturing website.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    --hh-blue-900: #0a1e3d;
    --hh-blue-800: #0f2b56;
    --hh-blue-700: #153d73;
    --hh-blue-600: #1a4f8a;
    --hh-blue-500: #1e5fa6;
    --hh-blue-400: #3b82c4;
    --hh-blue-300: #6ba3d6;
    --hh-blue-100: #d6e6f5;
    --hh-blue-50: #edf4fb;

    --hh-white: #ffffff;
    --hh-gray-50: #f8f9fa;
    --hh-gray-100: #f1f3f5;
    --hh-gray-200: #e9ecef;
    --hh-gray-300: #dee2e6;
    --hh-gray-400: #ced4da;
    --hh-gray-500: #adb5bd;
    --hh-gray-600: #6c757d;
    --hh-gray-700: #495057;
    --hh-gray-800: #343a40;
    --hh-gray-900: #212529;

    --hh-accent: #e67e22;
    --hh-accent-hover: #d35400;
    --hh-success: #27ae60;

    --hh-font-sans: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    --hh-font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;

    --hh-radius-sm: 4px;
    --hh-radius-md: 8px;
    --hh-radius-lg: 12px;
    --hh-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --hh-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --hh-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    --hh-max-width: 1520px;
    --hh-page-gutter: clamp(18px, 4vw, 56px);
    --hh-transition: 0.25s ease;
}

/* --------------------------------------------------------------------------
   Global resets & overrides
   -------------------------------------------------------------------------- */
body {
    font-family: var(--hh-font-sans);
    color: var(--hh-gray-800);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.hh-nav-open {
    overflow: hidden;
}

a {
    color: var(--hh-blue-600);
    transition: color var(--hh-transition);
}

a:hover {
    color: var(--hh-blue-400);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--hh-font-sans);
    color: var(--hh-blue-900);
    font-weight: 600;
    line-height: 1.3;
}

.site-content > .ast-container,
.ast-plain-container.ast-no-sidebar #primary {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

body:not(.elementor-editor-active) .elementor-section.elementor-section-boxed > .elementor-container,
body:not(.elementor-editor-active) .elementor-section.elementor-section-boxed > .elementor-container.elementor-column-gap-default {
    max-width: var(--hh-max-width) !important;
    width: calc(100vw - (var(--hh-page-gutter) * 2)) !important;
}

body:not(.elementor-editor-active) .elementor .elementor-section.elementor-section-boxed > .elementor-container,
body:not(.elementor-editor-active) .entry-content .elementor-section.elementor-section-boxed > .elementor-container,
body:not(.elementor-editor-active) .elementor-section.elementor-section-boxed.elementor-top-section > .elementor-container {
    max-width: var(--hh-max-width) !important;
    width: calc(100vw - (var(--hh-page-gutter) * 2)) !important;
}

body:not(.elementor-editor-active) .entry-content > .elementor > .elementor-section.elementor-top-section {
    max-width: var(--hh-max-width) !important;
    width: calc(100vw - (var(--hh-page-gutter) * 2)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body:not(.home):not(.elementor-editor-active) .entry-content > .elementor,
body:not(.home):not(.elementor-editor-active) .entry-content > .elementor > .elementor-section.elementor-top-section {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body:not(.home):not(.elementor-editor-active) .entry-content > .elementor .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--hh-max-width) !important;
    width: calc(100vw - (var(--hh-page-gutter) * 2)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.elementor-template-canvas:not(.elementor-editor-active) > .wp-block-heading,
body.elementor-template-canvas:not(.elementor-editor-active) > .wp-block-paragraph,
body.elementor-template-canvas:not(.elementor-editor-active) > .wp-block-list,
body.elementor-template-canvas:not(.elementor-editor-active) > .hh-cases-grid,
body.elementor-template-canvas:not(.elementor-editor-active) > .hh-resources-grid {
    width: calc(100vw - (var(--hh-page-gutter) * 2));
    max-width: var(--hh-max-width);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

body.elementor-template-canvas:not(.elementor-editor-active) > .wp-block-heading:first-of-type {
    margin-top: clamp(44px, 6vw, 82px);
}

body.elementor-template-canvas:not(.elementor-editor-active) > .wp-block-list {
    padding-left: 1.4em;
}

body.elementor-template-canvas:not(.elementor-editor-active) > .hh-cases-grid,
body.elementor-template-canvas:not(.elementor-editor-active) > .hh-resources-grid {
    margin-top: 42px;
    margin-bottom: 64px;
}

/* ==========================================================================
   Unified Site Navigation
   ========================================================================== */
.hh-site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 28px rgba(10, 30, 61, 0.06);
    backdrop-filter: blur(14px);
    overflow: visible;
}

.admin-bar .hh-site-header {
    top: 32px;
}

.hh-nav-wrap {
    max-width: 1520px;
    width: 100%;
    min-height: 78px;
    margin: 0 auto;
    padding: 0 var(--hh-page-gutter);
    display: flex;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
}

.hh-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 238px;
    color: var(--hh-blue-900);
    text-decoration: none;
}

.hh-brand:hover {
    color: var(--hh-blue-900);
}

.hh-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--hh-blue-800), var(--hh-blue-500));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 8px 18px rgba(26, 79, 138, 0.24);
}

.hh-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hh-brand-name {
    color: var(--hh-blue-900);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.hh-brand-tagline {
    color: var(--hh-gray-600);
    font-size: 0.74rem;
    line-height: 1.35;
    white-space: nowrap;
}

.hh-primary-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.hh-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.hh-nav-item {
    position: relative;
}

.hh-nav-link {
    min-height: 78px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    color: var(--hh-blue-900);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.hh-nav-link:hover,
.hh-nav-item.is-active > .hh-nav-link {
    color: var(--hh-blue-500);
}

.hh-nav-item.is-active > .hh-nav-link::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 17px;
    height: 3px;
    border-radius: 999px;
    background: var(--hh-accent);
}

.hh-nav-chevron {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.hh-mega-menu {
    position: absolute;
    left: 50%;
    top: 100%;
    width: min(920px, calc(100vw - 48px));
    transform: translateX(-50%) translateY(12px);
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 8px;
    box-shadow: 0 22px 50px rgba(10, 30, 61, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.hh-nav-item--mega:hover .hh-mega-menu,
.hh-nav-item--mega:focus-within .hh-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.hh-mega-intro {
    padding: 20px;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--hh-blue-900), var(--hh-blue-600));
    color: #fff;
}

.hh-mega-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hh-mega-intro strong {
    display: block;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.hh-mega-intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    line-height: 1.6;
}

.hh-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hh-mega-card {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 12px;
    align-items: start;
    padding: 13px;
    border-radius: 8px;
    color: var(--hh-blue-900);
    text-decoration: none;
    border: 1px solid transparent;
}

.hh-mega-card:hover {
    background: var(--hh-blue-50);
    border-color: var(--hh-blue-100);
    color: var(--hh-blue-700);
}

.hh-mega-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.55) 49%, transparent 51%),
        linear-gradient(135deg, var(--hh-blue-100), #fff);
    border: 1px solid var(--hh-blue-100);
    color: var(--hh-blue-800);
    font-size: 0.76rem;
    font-weight: 900;
}

.hh-mega-card-title {
    color: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
}

.hh-mega-card-desc {
    grid-column: 2;
    margin-top: 4px;
    color: var(--hh-gray-600);
    font-size: 0.78rem;
    line-height: 1.45;
}

.hh-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex: 0 0 auto;
}

.hh-mobile-lang-switch {
    display: none !important;
}

.hh-lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border: 1px solid var(--hh-gray-200);
    border-radius: 999px;
    background: var(--hh-gray-50);
}

.hh-lang-switch a {
    min-width: 46px;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--hh-gray-600);
    font-size: 0.76rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.hh-lang-switch a.is-active,
.hh-lang-switch a[aria-current="page"],
.hh-lang-switch a:hover {
    background: #fff;
    color: var(--hh-blue-700);
    box-shadow: var(--hh-shadow-sm);
}

.hh-lang-switch a.is-active,
.hh-lang-switch a[aria-current="page"] {
    background: var(--hh-blue-700);
    color: #fff;
    box-shadow: none;
}

.hh-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 6px;
    background: var(--hh-accent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 9px 20px rgba(230, 126, 34, 0.22);
    white-space: nowrap;
}

.hh-nav-cta:hover {
    background: var(--hh-accent-hover);
    color: #fff;
}

.hh-mobile-nav-cta-item {
    display: none;
}

.hh-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--hh-gray-200);
    border-radius: 8px;
    background: #fff;
    color: var(--hh-blue-900);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.hh-nav-toggle-line {
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.hh-nav-toggle[aria-expanded="true"] .hh-nav-toggle-line:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
}

.hh-nav-toggle[aria-expanded="true"] .hh-nav-toggle-line:nth-child(3) {
    opacity: 0;
}

.hh-nav-toggle[aria-expanded="true"] .hh-nav-toggle-line:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1400px) {
    .hh-nav-wrap {
        gap: 12px;
        padding: 0 16px;
    }

    .hh-brand {
        min-width: 170px;
        gap: 10px;
    }

    .hh-brand-mark {
        width: 38px;
        height: 38px;
        font-size: 0.86rem;
    }

    .hh-brand-name {
        font-size: 0.92rem;
    }

    .hh-brand-tagline {
        display: none;
    }

    .hh-nav-list {
        gap: 3px;
    }

    .hh-nav-link {
        padding: 0 8px;
        font-size: 0.8rem;
        font-weight: 800;
    }

    .hh-lang-switch a {
        min-width: 40px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .hh-nav-cta {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.82rem;
    }
}

@media (max-width: 1320px) {
    .admin-bar .hh-site-header {
        top: 46px;
    }

    .hh-nav-wrap {
        min-height: 68px;
    }

    .hh-brand {
        min-width: 0;
    }

    .hh-brand-mark {
        width: 38px;
        height: 38px;
    }

    .hh-brand-name {
        font-size: 0.95rem;
        max-width: none;
    }

    .hh-nav-toggle {
        display: inline-flex !important;
        position: static;
        margin-left: 8px;
        flex-shrink: 0;
        z-index: 1004;
    }

    .hh-mobile-lang-switch {
        display: inline-flex !important;
        margin-left: auto;
        flex: 0 0 auto;
        z-index: 1004;
    }

    .hh-mobile-lang-switch a {
        min-width: 40px;
        padding: 6px 8px;
    }

    .hh-primary-nav {
        position: fixed;
        left: 0;
        right: 0;
        display: none !important;
        background: #fff;
        padding-left: 20px;
        padding-right: 20px;
        z-index: 1003;
    }

    .hh-primary-nav {
        top: 68px;
        bottom: 0;
        height: calc(100vh - 68px);
        height: calc(100dvh - 68px);
        min-height: 240px;
        overflow-y: auto;
        flex: none;
        justify-content: flex-start;
        border-top: 1px solid var(--hh-gray-200);
    }

    .admin-bar .hh-primary-nav {
        top: 114px;
        height: calc(100vh - 114px);
        height: calc(100dvh - 114px);
    }

    .hh-nav-actions {
        display: none !important;
    }

    body.hh-nav-open .hh-primary-nav {
        display: flex !important;
    }

    .hh-nav-list {
        width: 100%;
        display: block;
        padding: 14px 0 22px;
    }

    .hh-mobile-nav-cta-item {
        display: block;
        padding: 16px 0 max(18px, env(safe-area-inset-bottom));
    }

    .hh-mobile-nav-cta {
        width: 100%;
        min-height: 50px;
        max-width: none;
    }

    .hh-nav-link {
        min-height: 48px;
        width: 100%;
        justify-content: space-between;
        padding: 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--hh-gray-100);
    }

    .hh-nav-item.is-active > .hh-nav-link::after {
        display: none;
    }

    .hh-mega-menu {
        position: static;
        width: 100%;
        transform: none;
        display: block;
        padding: 0 0 14px 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .hh-mega-intro {
        display: none;
    }

    .hh-mega-grid {
        grid-template-columns: 1fr;
        gap: 4px;
        padding-top: 4px;
    }

    .hh-mega-card {
        grid-template-columns: 28px 1fr;
        padding: 9px 0;
        border-radius: 0;
    }

    .hh-mega-card-icon {
        width: 24px;
        height: 24px;
    }

    .hh-mega-card-desc {
        display: none;
    }

    .hh-lang-switch {
        flex-shrink: 0;
    }

    .hh-nav-cta {
        flex: 1;
    }
}

@media (max-width: 544px) {
    .hh-nav-wrap {
        padding: 0 14px;
    }

    .hh-brand-name {
        max-width: 154px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hh-mobile-lang-switch a {
        min-width: 36px;
        padding-left: 7px;
        padding-right: 7px;
    }

    .hh-nav-actions {
        gap: 10px;
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.hh-container {
    max-width: var(--hh-max-width);
    margin: 0 auto;
    padding: 0 var(--hh-page-gutter);
}

/* --------------------------------------------------------------------------
   Section spacing
   -------------------------------------------------------------------------- */
.hh-section {
    padding: 80px 0;
}

body.post-type-archive-hh_case .hh-container.hh-section,
body.post-type-archive-hh_resource .hh-container.hh-section {
    width: calc(100vw - (var(--hh-page-gutter) * 2));
    max-width: var(--hh-max-width);
    box-sizing: border-box;
}

body.post-type-archive-hh_product .hh-container.hh-section {
    width: calc(100vw - (var(--hh-page-gutter) * 2));
    max-width: var(--hh-max-width);
    box-sizing: border-box;
}

.hh-section-sm {
    padding: 48px 0;
}

.hh-section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--hh-blue-900);
}

.hh-section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--hh-gray-600);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Product Categories Grid
   ========================================================================== */
.hh-product-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .hh-product-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 920px) {
    body:not(.elementor-editor-active) .entry-content > .elementor,
    body:not(.elementor-editor-active) .entry-content > .elementor > .elementor-section {
        max-width: 100vw !important;
        width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden;
    }

    body:not(.elementor-editor-active) .entry-content > .elementor > .elementor-section.elementor-top-section,
    body:not(.elementor-editor-active) .elementor .elementor-section.elementor-section-boxed > .elementor-container,
    body:not(.elementor-editor-active) .entry-content .elementor-section.elementor-section-boxed > .elementor-container,
    body:not(.elementor-editor-active) .elementor-section.elementor-section-boxed.elementor-top-section > .elementor-container {
        max-width: 100% !important;
        width: 100% !important;
    }

    body:not(.elementor-editor-active) .elementor-column,
    body:not(.elementor-editor-active) .elementor-widget-wrap,
    body:not(.elementor-editor-active) .elementor-widget,
    body:not(.elementor-editor-active) .elementor-widget-container {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    body:not(.elementor-editor-active) .elementor-widget:not(.elementor-widget-spacer) {
        width: calc(100vw - 72px) !important;
        max-width: calc(100vw - 72px) !important;
        margin-left: auto;
        margin-right: auto;
    }

    .elementor-widget-text-editor,
    .elementor-widget-heading {
        max-width: calc(100vw - 72px) !important;
        overflow-wrap: break-word;
    }

    .elementor-widget-text-editor .elementor-widget-container,
    .elementor-widget-heading .elementor-widget-container,
    .elementor-widget-text-editor p,
    .elementor-heading-title {
        width: 100% !important;
        max-width: calc(100vw - 72px) !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        hyphens: auto;
    }

    .elementor-widget-text-editor p {
        overflow-wrap: anywhere !important;
    }
}

@media (max-width: 480px) {
    .hh-product-categories-grid {
        grid-template-columns: 1fr;
    }
}

.hh-category-card {
    display: block;
    background: var(--hh-white);
    border: 1px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-md);
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow var(--hh-transition), transform var(--hh-transition);
}

.hh-category-card:hover {
    box-shadow: var(--hh-shadow-md);
    transform: translateY(-2px);
}

.hh-category-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.hh-category-card-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hh-blue-50);
    color: var(--hh-blue-500);
    font-size: 3rem;
}

.hh-category-card-content {
    padding: 20px;
}

.hh-category-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hh-blue-900);
    margin: 0 0 8px 0;
}

.hh-category-card-desc {
    font-size: 0.9rem;
    color: var(--hh-gray-600);
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.hh-category-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hh-blue-500);
}

/* ==========================================================================
   Products Grid
   ========================================================================== */
.hh-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .hh-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hh-products-grid {
        grid-template-columns: 1fr;
    }
}

.hh-product-card {
    background: var(--hh-white);
    border: 1px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-md);
    overflow: hidden;
    transition: box-shadow var(--hh-transition);
}

.hh-product-card:hover {
    box-shadow: var(--hh-shadow-md);
}

.hh-product-card-img {
    display: block;
    background: #fff;
}

.hh-product-card-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    display: block;
    object-fit: contain;
    padding: 14px;
    background: #fff;
    box-sizing: border-box;
}

.hh-product-card-content {
    padding: 20px;
}

.hh-product-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.hh-product-card-title a {
    color: var(--hh-blue-900);
    text-decoration: none;
}

.hh-product-card-title a:hover {
    color: var(--hh-blue-500);
}

.hh-product-card-model {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--hh-gray-500);
    background: var(--hh-gray-100);
    padding: 2px 10px;
    border-radius: var(--hh-radius-sm);
    margin-bottom: 10px;
}

.hh-product-card-desc {
    font-size: 0.9rem;
    color: var(--hh-gray-600);
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.hh-product-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hh-blue-500);
    text-decoration: none;
}

.hh-product-card-link:hover {
    color: var(--hh-blue-400);
}

/* ==========================================================================
   Cases Grid
   ========================================================================== */
.hh-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

body:not(.elementor-editor-active) .elementor-shortcode .hh-cases-grid {
    width: min(100%, var(--hh-max-width));
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hh-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hh-cases-grid {
        grid-template-columns: 1fr;
    }
}

.hh-case-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    background: var(--hh-white);
    border: 1px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-md);
    overflow: hidden;
    transition: box-shadow var(--hh-transition);
}

.hh-case-card:hover {
    box-shadow: var(--hh-shadow-md);
}

.hh-case-card-img {
    position: relative;
    display: block;
    background: var(--hh-gray-100);
}

.hh-case-card-img img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    object-fit: cover;
}

.hh-case-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.hh-case-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.36;
    margin: 0;
}

.hh-case-card-title a {
    color: var(--hh-blue-900);
    text-decoration: none;
}

.hh-case-card-title a:hover {
    color: var(--hh-blue-500);
}

.hh-case-card-part {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    font-size: 0.8rem;
    color: var(--hh-gray-500);
    background: var(--hh-gray-100);
    padding: 2px 10px;
    border-radius: var(--hh-radius-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hh-case-card-excerpt {
    font-size: 0.9rem;
    color: var(--hh-gray-600);
    margin: 0;
    line-height: 1.5;
}

.hh-case-card-result {
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid var(--hh-gray-100);
    color: var(--hh-blue-800);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.45;
}

.hh-case-card-link {
    margin-top: auto;
    color: var(--hh-orange-500);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.hh-case-card-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hh-case-card-terms a,
.hh-case-industries a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--hh-blue-50);
    color: var(--hh-blue-700);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
}

.hh-case-video-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--hh-orange-500);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 900;
}

.hh-video-wrapper {
    width: min(100%, 860px);
    margin: 18px 0 0;
    overflow: hidden;
    border-radius: 8px;
    background: #071b34;
}

.hh-video-wrapper video,
.hh-video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    border: 0;
}

.hh-video-wrapper iframe {
    height: min(56.25vw, 484px);
}

.hh-case-video-link {
    color: var(--hh-blue-700);
    font-weight: 800;
}

/* ==========================================================================
   Resources Grid
   ========================================================================== */
.hh-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .hh-resources-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hh-resources-grid {
        grid-template-columns: 1fr;
    }
}

.hh-resource-card {
    background: var(--hh-white);
    border: 1px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-md);
    padding: 24px;
    transition: box-shadow var(--hh-transition);
}

.hh-resource-card:hover {
    box-shadow: var(--hh-shadow-md);
}

.hh-resource-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--hh-blue-500);
    background: var(--hh-blue-50);
    padding: 4px 12px;
    border-radius: var(--hh-radius-sm);
    margin-bottom: 12px;
}

.hh-resource-card-title {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
}

.hh-resource-card-title a {
    color: var(--hh-blue-900);
    text-decoration: none;
}

.hh-resource-card-title a:hover {
    color: var(--hh-blue-500);
}

.hh-resource-card-excerpt {
    font-size: 0.9rem;
    color: var(--hh-gray-600);
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.hh-resource-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hh-reading-time {
    font-size: 0.8rem;
    color: var(--hh-gray-500);
}

.hh-resource-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hh-blue-500);
    text-decoration: none;
}

/* ==========================================================================
   Specs Table
   ========================================================================== */
.hh-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}

.hh-specs-table th,
.hh-specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--hh-gray-200);
    text-align: left;
}

.hh-specs-table th {
    width: 200px;
    color: var(--hh-gray-600);
    font-weight: 500;
    background: var(--hh-gray-50);
}

.hh-specs-table td {
    color: var(--hh-gray-800);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.hh-cta-section {
    background: linear-gradient(135deg, var(--hh-blue-800), var(--hh-blue-600));
    border-radius: var(--hh-radius-lg);
    padding: 56px 48px;
    text-align: center;
    margin: 48px 0;
}

.hh-cta-title {
    color: var(--hh-white);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.hh-cta-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 28px auto;
    line-height: 1.6;
}

.hh-cta-button {
    display: inline-block;
    background: var(--hh-accent);
    color: var(--hh-white);
    padding: 14px 36px;
    border-radius: var(--hh-radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--hh-transition), transform var(--hh-transition);
}

.hh-cta-button:hover {
    background: var(--hh-accent-hover);
    color: var(--hh-white);
    transform: translateY(-1px);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.hh-faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.hh-faq-heading {
    text-align: center;
    margin-bottom: 32px;
}

.hh-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hh-faq-item {
    background: var(--hh-white);
    border: 1px solid var(--hh-gray-200);
    border-radius: var(--hh-radius-md);
    overflow: hidden;
}

.hh-faq-question {
    padding: 18px 24px;
    font-weight: 600;
    color: var(--hh-blue-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hh-faq-question::-webkit-details-marker {
    display: none;
}

.hh-faq-question::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--hh-blue-500);
    transition: transform var(--hh-transition);
}

details[open] .hh-faq-question::after {
    transform: rotate(45deg);
}

.hh-faq-answer {
    padding: 0 24px 20px 24px;
    color: var(--hh-gray-700);
    line-height: 1.7;
}

/* ==========================================================================
   Related sections
   ========================================================================== */
.hh-related-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--hh-blue-100);
}

.hh-related-cases,
.hh-related-products {
    margin-top: 48px;
}

/* ==========================================================================
   List styles
   ========================================================================== */
.hh-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hh-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--hh-gray-700);
}

.hh-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hh-blue-400);
}

/* ==========================================================================
   Term links
   ========================================================================== */
.hh-term-link {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--hh-blue-500);
    background: var(--hh-blue-50);
    padding: 2px 12px;
    border-radius: var(--hh-radius-sm);
    text-decoration: none;
    margin-right: 6px;
    margin-bottom: 4px;
}

.hh-term-link:hover {
    background: var(--hh-blue-100);
    color: var(--hh-blue-700);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .hh-section {
        padding: 48px 0;
    }

    .hh-section-title {
        font-size: 1.5rem;
    }

    .hh-section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .hh-specs-table th {
        width: 120px;
    }

    .hh-cta-section {
        padding: 36px 24px;
    }

    .hh-cta-title {
        font-size: 1.35rem;
    }

    .hh-cta-button {
        padding: 12px 28px;
    }
}

/* ==========================================================================
   FRONT PAGE LAYOUT — matches vibromatic.net structure
   ========================================================================== */

/* Container */
.hh-container {
    max-width: var(--hh-max-width);
    margin: 0 auto;
    padding: 0 var(--hh-page-gutter);
}

/* Section base */
.hh-section {
    padding: 80px 0;
}
.hh-section--white { background: #ffffff; }
.hh-section--light { background: #f1f3f5; }

.hh-section__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #0a1e3d;
    margin: 0 0 12px 0;
}
.hh-section__subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.hh-section__cta {
    text-align: center;
    margin-top: 36px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hh-hero {
    background: linear-gradient(135deg, #0a1e3d 0%, #0d2b4e 50%, #1a3a5c 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.hh-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 48px;
    width: 100%;
}
.hh-hero__content {
    flex: 1;
    max-width: 600px;
}
.hh-hero__title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}
.hh-hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin: 0 0 32px 0;
}
.hh-hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hh-hero__visual {
    flex: 0 0 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hh-hero__placeholder {
    width: 280px;
    height: 280px;
}
.hh-hero__placeholder svg {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.hh-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}
.hh-btn--primary {
    background: #e67e22;
    color: #fff;
    border-color: #e67e22;
}
.hh-btn--primary:hover {
    background: #d35400;
    border-color: #d35400;
    color: #fff;
}
.hh-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.hh-btn--outline:hover {
    border-color: #fff;
    color: #fff;
}
.hh-btn--secondary {
    background: transparent;
    color: #1a4f8a;
    border-color: #1a4f8a;
}
.hh-btn--secondary:hover {
    background: #1a4f8a;
    color: #fff;
}
.hh-btn--lg {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* ==========================================================================
   ICON GRID
   ========================================================================== */
.hh-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.hh-icon-grid__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
}
.hh-icon-grid__icon {
    color: #3b82c4;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ==========================================================================
   INDUSTRY CARDS
   ========================================================================== */
.hh-industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.hh-industry-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    transition: box-shadow 0.2s;
}
.hh-industry-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.hh-industry-card__icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: #1a4f8a;
}
.hh-industry-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0a1e3d;
    margin: 0 0 6px 0;
}
.hh-industry-card p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.hh-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.hh-process-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.hh-process-step__num {
    width: 40px;
    height: 40px;
    background: #1a4f8a;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hh-process-step strong {
    color: #0a1e3d;
    font-size: 0.95rem;
}
.hh-process-step div {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.hh-cta {
    background: linear-gradient(135deg, #0a1e3d, #1a4f8a);
    padding: 80px 0;
    text-align: center;
}
.hh-cta__title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
}
.hh-cta__text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin: 0 auto 32px;
    max-width: 600px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .hh-hero__inner {
        flex-direction: column;
        text-align: center;
    }
    .hh-hero__content {
        max-width: 100%;
    }
    .hh-hero__title {
        font-size: 2rem;
    }
    .hh-hero__buttons {
        justify-content: center;
    }
    .hh-hero__visual {
        flex: 0 0 auto;
    }
    .hh-hero__placeholder {
        width: 180px;
        height: 180px;
    }
    .hh-section {
        padding: 50px 0;
    }
    .hh-section__title {
        font-size: 1.5rem;
    }
    .hh-icon-grid {
        grid-template-columns: 1fr;
    }
    .hh-industry-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hh-process-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .hh-hero__title {
        font-size: 1.6rem;
    }
    .hh-industry-grid {
        grid-template-columns: 1fr;
    }
    .hh-process-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   HOME PAGE REBUILD
   ========================================================================== */
.hh-home {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #fff;
}

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

.hh-home .hh-section {
    padding: 86px 0;
}

.hh-section--steel {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.98));
}

.hh-section--ink {
    background: #081f3d;
    color: #fff;
}

.hh-section-head {
    max-width: 880px;
    margin: 0 auto 38px;
    text-align: center;
}

.hh-section-head h2 {
    margin: 0 0 14px;
    color: var(--hh-blue-900);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.18;
}

.hh-section-head p:last-child {
    margin: 0;
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.7;
}

.hh-section--ink .hh-section-head h2,
.hh-section--ink .hh-section-head p:last-child {
    color: #fff;
}

.hh-eyebrow {
    margin: 0 0 12px;
    color: var(--hh-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hh-home-hero {
    position: relative;
    min-height: clamp(620px, 76vh, 760px);
    display: flex;
    align-items: stretch;
    background: #071b34;
}

.hh-home-hero__media,
.hh-home-hero__shade {
    position: absolute;
    inset: 0;
}

.hh-home-hero__media img,
.hh-home-hero__media video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 56%;
}

.hh-home-hero__shade {
    background:
        linear-gradient(90deg, rgba(7, 27, 52, 0.96) 0%, rgba(7, 27, 52, 0.82) 42%, rgba(7, 27, 52, 0.32) 100%),
        linear-gradient(0deg, rgba(7, 27, 52, 0.38), rgba(7, 27, 52, 0.1));
}

.hh-home-hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--hh-max-width);
    width: 100%;
    margin: 0 auto;
    padding: 86px var(--hh-page-gutter) 74px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
    gap: 54px;
}

.hh-home-hero__content {
    min-width: 0;
    max-width: 860px;
}

.hh-home-hero h1 {
    max-width: 880px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2.45rem, 5vw, 4.85rem);
    font-weight: 850;
    line-height: 1.04;
}

.hh-home-hero__lead {
    max-width: 720px;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.72;
}

.hh-home-hero__actions,
.hh-home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hh-home-hero__panel {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.hh-home-hero__panel span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hh-home-hero__panel strong {
    display: block;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.3;
}

.hh-home-hero__panel ul {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.hh-home-hero__panel li {
    position: relative;
    padding-left: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    line-height: 1.55;
}

.hh-home-hero__panel li::before,
.hh-check-item span::before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--hh-accent);
}

.hh-home-hero__panel li::before {
    left: 0;
    top: 0.48em;
}

.hh-btn--light {
    background: #fff;
    color: var(--hh-blue-900);
    border-color: #fff;
}

.hh-btn--light:hover {
    background: var(--hh-blue-50);
    color: var(--hh-blue-900);
    border-color: var(--hh-blue-50);
}

.hh-btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
}

.hh-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.72);
}

.hh-home-proof {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.hh-home-proof__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hh-home-proof__grid div {
    min-height: 112px;
    padding: 26px 28px;
    border-left: 1px solid #e2e8f0;
}

.hh-home-proof__grid div:last-child {
    border-right: 1px solid #e2e8f0;
}

.hh-home-proof__grid strong {
    display: block;
    color: var(--hh-blue-900);
    font-size: 2rem;
    line-height: 1;
}

.hh-home-proof__grid span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 0.94rem;
    line-height: 1.45;
}

.hh-equipment-showcase {
    padding-top: 72px !important;
}

.hh-equipment-showcase > .hh-container > .hh-section-head:not(.hh-equipment-head-copy) {
    display: none;
}

.hh-equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.hh-equipment-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(10, 30, 61, 0.06);
}

.hh-equipment-card__media {
    display: block;
    border-bottom: 1px solid #edf2f7;
    background: #fff;
}

.hh-equipment-card__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: contain;
    padding: 14px;
    background: #fff;
    box-sizing: border-box;
}

.hh-equipment-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 18px;
}

.hh-equipment-card__term {
    width: fit-content;
    max-width: 100%;
    color: var(--hh-blue-600);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hh-equipment-card h3 {
    margin: 0;
    color: var(--hh-blue-900);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.hh-equipment-card h3 a {
    color: inherit;
    text-decoration: none;
}

.hh-equipment-card p {
    margin: 0;
    color: var(--hh-gray-600);
    font-size: 0.86rem;
    line-height: 1.45;
}

.hh-equipment-card__link {
    margin-top: auto;
    color: var(--hh-orange-500);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.hh-equipment-card:hover {
    border-color: var(--hh-blue-100);
    box-shadow: 0 16px 36px rgba(10, 30, 61, 0.12);
    transform: translateY(-2px);
}

.hh-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 48px;
    align-items: start;
}

.hh-split__intro {
    position: sticky;
    top: 118px;
}

.hh-split__intro h2,
.hh-demo__content h2,
.hh-home-cta h2 {
    margin: 0 0 16px;
    color: var(--hh-blue-900);
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.16;
}

.hh-split__intro p:last-child,
.hh-demo__content p,
.hh-home-cta p {
    margin: 0;
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.75;
}

.hh-challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hh-check-item {
    min-height: 82px;
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.hh-check-item span {
    position: relative;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
}

.hh-check-item span::before {
    left: 5px;
    top: 5px;
}

.hh-check-item p {
    margin: 0;
    color: #334155;
    font-weight: 650;
    line-height: 1.5;
}

.hh-system-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hh-system-card {
    min-height: 210px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background:
        linear-gradient(180deg, #fff, #f8fafc);
}

.hh-system-card span {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--hh-blue-500);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hh-system-card h3 {
    margin: 0 0 10px;
    color: var(--hh-blue-900);
    font-size: 1.2rem;
}

.hh-system-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.65;
}

.hh-demo {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
    gap: 46px;
    align-items: center;
}

.hh-demo__content h2,
.hh-demo__content p {
    color: #fff;
}

.hh-demo__content p {
    max-width: 520px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.78);
}

.hh-demo__video {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    overflow: hidden;
    background: #031326;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hh-demo__video video {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
}

.hh-demo__video--cropped {
    position: relative;
    aspect-ratio: 16 / 10;
}

.hh-demo__video--cropped video {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    max-width: none;
    transform: translate(-50%, -50%) scale(2.05);
    transform-origin: center;
    object-fit: contain;
}

.hh-home .hh-industry-grid {
    max-width: none;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.hh-home .hh-industry-card {
    min-height: 188px;
    text-align: left;
    border-radius: 8px;
    box-shadow: none;
}

.hh-home .hh-industry-card__icon {
    width: 36px;
    height: 5px;
    display: block;
    margin: 0 0 28px;
    border-radius: 999px;
    background: var(--hh-accent);
}

.hh-home .hh-industry-card h3 {
    font-size: 1.08rem;
    line-height: 1.3;
}

.hh-home .hh-industry-card p {
    font-size: 0.94rem;
    line-height: 1.6;
}

.hh-home .hh-process-grid {
    max-width: none;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.hh-home .hh-process-step {
    min-height: 160px;
    border-radius: 8px;
}

.hh-home .hh-process-step__num {
    border-radius: 8px;
    background: var(--hh-blue-900);
}

.hh-home .hh-process-step h3 {
    margin: 0 0 8px;
    color: var(--hh-blue-900);
    font-size: 1.02rem;
}

.hh-home .hh-process-step p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.58;
}

.hh-home-resources {
    margin-top: 56px;
}

.hh-home-cta {
    padding: 92px 0;
    text-align: center;
    background:
        linear-gradient(90deg, rgba(8, 31, 61, 0.94), rgba(15, 61, 115, 0.86)),
        url("../media/factory-production-sample.png") center 56% / cover no-repeat;
}

.hh-home-cta h2 {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

.hh-home-cta p {
    max-width: 720px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.8);
}

.hh-home-cta__actions {
    justify-content: center;
}

.hh-home-footer {
    width: 100%;
    padding: 62px 0;
    background: #071a33;
    color: #dbe7f5;
}

.hh-site-footer,
.hh-site-footer *,
.hh-site-footer *::before,
.hh-site-footer *::after {
    box-sizing: border-box;
}

.hh-site-footer {
    clear: both;
    position: relative;
    z-index: 1;
}

.hh-home-footer__grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.hh-home-footer__brand {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.hh-home-footer__brand .hh-brand-mark {
    flex: 0 0 auto;
}

.hh-home-footer strong,
.hh-home-footer h3 {
    display: block;
    margin: 0 0 14px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.hh-home-footer p {
    margin: 0;
    color: rgba(219, 231, 245, 0.76);
    font-size: 0.94rem;
    line-height: 1.7;
}

.hh-home-footer a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 10px;
    color: rgba(219, 231, 245, 0.82);
    font-size: 0.92rem;
    line-height: 1.45;
    text-decoration: none;
}

.hh-home-footer a:hover {
    color: #fff;
}

.hh-home-footer__cta {
    margin-top: 16px !important;
    padding: 10px 15px;
    border-radius: 8px;
    background: var(--hh-orange-500);
    color: #fff !important;
    font-weight: 800;
}

.hh-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hh-home-footer .hh-footer-social a {
    display: inline-flex;
    width: auto;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid rgba(219, 231, 245, 0.24);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
}

.hh-home-footer .hh-footer-social a:hover {
    border-color: var(--hh-orange-500);
    background: var(--hh-orange-500);
}

.hh-client-wall {
    padding-top: clamp(54px, 7vw, 86px);
    padding-bottom: clamp(64px, 8vw, 100px);
    border-top: 1px solid #edf2f7;
    overflow: hidden;
}

.hh-client-logo-marquee {
    width: min(100%, 1260px);
    margin: 0 auto clamp(52px, 6vw, 76px);
    overflow: hidden;
    background: #fff;
    border-radius: 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.hh-client-logo-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: clamp(42px, 6vw, 86px);
    animation: hh-client-marquee 34s linear infinite;
    will-change: transform;
}

.hh-client-logo-marquee:hover .hh-client-logo-track {
    animation-play-state: paused;
}

.hh-client-logo {
    flex: 0 0 248px;
    height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
}

.hh-client-logo__link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hh-client-logo img {
    width: 248px;
    height: 98px;
    object-fit: contain;
    display: block;
}

.hh-client-logo span {
    color: var(--hh-blue-900);
    font-size: 1.16rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: nowrap;
}

.hh-client-copy {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(34px, 7vw, 96px);
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}

.hh-client-copy h2 {
    margin: 0;
    color: var(--hh-blue-900);
    font-size: clamp(1.85rem, 3.5vw, 3rem);
    line-height: 1.08;
    font-weight: 900;
}

.hh-client-copy p {
    margin: 0 0 24px;
    color: var(--hh-blue-900);
    font-size: clamp(1.02rem, 1.45vw, 1.24rem);
    line-height: 1.7;
}

.hh-client-copy p:last-child {
    margin-bottom: 0;
}

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

.hh-capability-block {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}

.hh-capability-block__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #dbe7f5;
    box-shadow: 0 24px 70px rgba(10, 30, 61, 0.12);
}

.hh-capability-block__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hh-capability-block__body p {
    margin: 0 0 24px;
    color: #334155;
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.8;
}

.hh-capability-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hh-capability-list span {
    display: flex;
    min-height: 54px;
    align-items: center;
    padding: 12px 16px;
    border-left: 4px solid var(--hh-accent);
    border-radius: 8px;
    background: #fff;
    color: var(--hh-blue-900);
    font-weight: 800;
}

.hh-about,
.hh-applications-page {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #fff;
}

.hh-about *,
.hh-about *::before,
.hh-about *::after,
.hh-applications-page *,
.hh-applications-page *::before,
.hh-applications-page *::after {
    box-sizing: border-box;
}

.hh-page-hero {
    padding: clamp(96px, 12vw, 150px) 0 clamp(72px, 9vw, 116px);
    background:
        linear-gradient(115deg, rgba(7, 27, 52, 0.94), rgba(14, 57, 107, 0.86)),
        url("../media/factory-production-sample.png") center / cover no-repeat;
    color: #fff;
}

.hh-page-hero h1 {
    max-width: 900px;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    line-height: 1;
    font-weight: 900;
}

.hh-page-hero p:last-child {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.75;
}

.hh-about-intro {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: start;
}

.hh-about-intro h2 {
    margin: 0;
    color: var(--hh-blue-900);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
}

.hh-about-intro > p {
    margin: 0;
    color: #334155;
    font-size: 1.08rem;
    line-height: 1.85;
}

.hh-why-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.hh-why-card {
    min-height: 220px;
    padding: 24px;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(10, 30, 61, 0.07);
}

.hh-why-card span {
    display: block;
    width: 34px;
    height: 4px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: var(--hh-accent);
}

.hh-why-card p {
    margin: 0;
    color: #334155;
    font-weight: 700;
    line-height: 1.65;
}

.hh-location-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.hh-location-card {
    min-height: 250px;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(10, 30, 61, 0.08);
}

.hh-location-card h2 {
    margin: 0 0 16px;
    color: var(--hh-blue-900);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 900;
}

.hh-location-card p:last-child {
    margin: 0;
    color: #64748b;
    line-height: 1.75;
}

.hh-application-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.hh-application-category-card {
    display: block;
    min-height: 300px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(10, 30, 61, 0.07);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.hh-application-category-card:hover {
    border-color: var(--hh-blue-200);
    box-shadow: 0 22px 56px rgba(10, 30, 61, 0.12);
    transform: translateY(-2px);
}

.hh-application-category-card > span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--hh-blue-900);
    color: #fff;
    font-weight: 900;
}

.hh-application-category-card h2 {
    margin: 0 0 14px;
    color: var(--hh-blue-900);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hh-application-category-card p {
    margin: 0 0 18px;
    color: #334155;
    line-height: 1.7;
}

.hh-application-category-card small {
    display: block;
    padding-top: 16px;
    border-top: 1px solid #e6edf5;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
}

.hh-application-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 34px;
}

.hh-application-tab {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid #dfe7ef;
    border-radius: 999px;
    background: #fff;
    color: var(--hh-blue-900);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.hh-application-tab span {
    color: var(--hh-orange-500);
    font-size: 0.78rem;
    font-weight: 900;
}

.hh-application-tab:hover,
.hh-application-tab.is-active {
    border-color: var(--hh-blue-700);
    background: var(--hh-blue-900);
    color: #fff;
}

.hh-application-tab:hover span,
.hh-application-tab.is-active span {
    color: #fff;
}

.hh-industry-note {
    margin: 0 0 34px;
    padding: 22px 24px;
    border-left: 4px solid var(--hh-orange-500);
    border-radius: 8px;
    background: #f7fafc;
}

.hh-industry-note strong {
    display: block;
    margin-bottom: 8px;
    color: var(--hh-blue-900);
    font-size: 1rem;
}

.hh-industry-note p {
    margin: 0;
    color: #334155;
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.hh-contact {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #f5f8fb;
}

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

.hh-contact-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(7, 27, 52, 0.96), rgba(14, 57, 107, 0.9)),
        url("../media/factory-production-sample.png") center / cover no-repeat;
    color: #fff;
}

.hh-contact-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.hh-contact-hero__inner {
    position: relative;
    z-index: 1;
    min-height: clamp(430px, 48vw, 580px);
    padding-top: clamp(86px, 10vw, 132px);
    padding-bottom: clamp(72px, 8vw, 108px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    align-items: end;
    gap: clamp(36px, 6vw, 84px);
}

.hh-contact-hero__copy {
    max-width: 780px;
}

.hh-contact-hero .hh-eyebrow,
.hh-contact-main .hh-eyebrow {
    color: var(--hh-accent);
}

.hh-contact-main .hh-eyebrow {
    text-transform: none;
    letter-spacing: 0.04em;
}

.hh-contact-hero h1 {
    max-width: 11ch;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.95;
    font-weight: 900;
}

.hh-contact-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.75;
}

.hh-contact-hero__actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hh-contact-hero__panel {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
}

.hh-contact-hero__panel span {
    display: block;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 800;
}

.hh-contact-hero__panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.hh-contact-hero__panel li {
    position: relative;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
}

.hh-contact-hero__panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hh-accent);
}

.hh-contact-main {
    padding: clamp(68px, 8vw, 108px) 0;
}

.hh-elementor-content-anchor,
.hh-contact-content-anchor {
    display: none;
}

body.elementor-editor-active .hh-elementor-content-anchor,
.elementor-editor-active .hh-elementor-content-anchor,
body.elementor-editor-active .hh-contact-content-anchor,
.elementor-editor-active .hh-contact-content-anchor {
    display: block;
    padding: 32px 0;
    background: #fff;
}

.hh-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.hh-contact-card {
    min-height: 260px;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(10, 30, 61, 0.08);
}

.hh-contact-card--wide {
    grid-column: 1 / -1;
}

.hh-contact-card h2 {
    margin: 0 0 18px;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 900;
    color: var(--hh-blue-900);
}

.hh-contact-card p {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
}

.hh-contact-card a {
    color: var(--hh-blue-700);
    font-weight: 800;
    text-decoration: none;
}

.hh-contact-card a:hover {
    color: var(--hh-accent);
}

.hh-contact-people {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hh-contact-person {
    padding: 24px;
    border-radius: 8px;
    background: #f7fafc;
    border-left: 4px solid var(--hh-accent);
}

.hh-contact-person span {
    display: block;
    margin-bottom: 10px;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 800;
}

.hh-contact-person h2 {
    margin-bottom: 10px;
}

@media (max-width: 920px) {
    .hh-contact-hero__inner,
    .hh-contact-grid,
    .hh-contact-people {
        grid-template-columns: 1fr;
    }

    .hh-contact-hero__inner {
        align-items: start;
    }

    .hh-application-tabs {
        flex-wrap: nowrap;
        width: calc(100vw - (var(--hh-page-gutter) * 2));
        margin-left: calc(var(--hh-page-gutter) * -1);
        margin-right: calc(var(--hh-page-gutter) * -1);
        padding: 0 var(--hh-page-gutter) 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .hh-application-tab {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
}

@media (max-width: 560px) {
    .hh-contact-hero h1 {
        font-size: clamp(2.35rem, 14vw, 3.35rem);
    }

    .hh-contact-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hh-contact-hero__actions .hh-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 1180px) {
    .hh-equipment-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hh-home-hero__inner {
        grid-template-columns: 1fr;
        align-items: center;
    }

    .hh-home-hero__panel {
        max-width: 560px;
    }
}

@media (max-width: 920px) {
    .hh-home .hh-section {
        padding: 64px 0;
    }

    .hh-home-hero {
        min-height: auto;
    }

    .hh-home-hero__shade {
        background:
            linear-gradient(180deg, rgba(7, 27, 52, 0.96), rgba(7, 27, 52, 0.72));
    }

    .hh-home-hero__inner {
        padding-top: 68px;
        padding-bottom: 58px;
        gap: 34px;
    }

    .hh-home-proof__grid,
    .hh-split,
    .hh-demo,
    .hh-home .hh-industry-grid,
    .hh-home .hh-process-grid,
    .hh-home-footer__grid,
    .hh-system-grid,
    .hh-client-copy,
    .hh-capability-block,
    .hh-about-intro,
    .hh-why-grid,
    .hh-location-grid,
    .hh-application-category-grid {
        grid-template-columns: 1fr;
    }

    .hh-home-proof__grid div {
        min-height: 0;
        border-right: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }

    .hh-split__intro {
        position: static;
    }

    .hh-challenge-grid {
        grid-template-columns: 1fr;
    }

    .hh-equipment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hh-capability-list {
        grid-template-columns: 1fr;
    }

    .hh-client-logo-marquee {
        width: calc(100vw - 32px);
        margin-bottom: 44px;
    }

    .hh-client-logo-track {
        gap: 34px;
        animation-duration: 28s;
    }

    .hh-client-logo {
        flex-basis: 190px;
        height: 96px;
    }

    .hh-client-logo img {
        width: 190px;
        height: 76px;
    }

    .hh-why-card,
    .hh-application-category-card {
        min-height: auto;
    }
}

@media (max-width: 560px) {
    body:not(.elementor-editor-active) .elementor-widget:not(.elementor-widget-spacer),
    .elementor-widget-text-editor,
    .elementor-widget-heading,
    .elementor-widget-text-editor .elementor-widget-container,
    .elementor-widget-heading .elementor-widget-container,
    .elementor-widget-text-editor p,
    .elementor-heading-title {
        max-width: 318px !important;
    }

    .hh-home-hero__inner,
    .hh-home-hero__content,
    .hh-home-hero__lead,
    .hh-home-hero__panel {
        width: 100%;
        max-width: 100%;
    }

    .hh-home-hero h1 {
        max-width: 12ch;
        margin-bottom: 16px;
        font-size: clamp(1.82rem, 8.5vw, 2.08rem);
        line-height: 1.03;
        overflow-wrap: break-word;
    }

    .hh-home-hero__lead {
        max-width: 34ch;
        margin-bottom: 22px;
        font-size: 0.92rem;
        line-height: 1.56;
        overflow-wrap: break-word;
    }

    .hh-home-hero__panel {
        display: none;
    }

    .hh-home-hero__inner {
        padding-top: 44px;
        padding-bottom: 24px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .hh-home-hero__actions,
    .hh-home-cta__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hh-home-hero__actions .hh-btn,
    .hh-home-cta__actions .hh-btn {
        width: 100%;
        min-height: 46px;
        padding: 11px 18px;
        text-align: center;
        box-sizing: border-box;
    }

    .hh-equipment-grid {
        grid-template-columns: 1fr;
    }

    .hh-equipment-card__media img {
        aspect-ratio: 16 / 10;
    }

    .hh-home-hero__panel {
        padding: 20px;
    }

    .hh-demo__video video {
        aspect-ratio: 4 / 3;
    }

    .hh-demo__video--cropped {
        aspect-ratio: 4 / 3;
    }

    .hh-demo__video--cropped video {
        transform: translate(-50%, -50%) scale(2.35);
    }
}
