:root {
    --white: #ffffff;
    --paper: #f5f5f7;
    --ink: #1d1d1f;
    --ink-strong: #020617;
    --slate: #64748b;
    --slate-2: #334155;
    --line: #e5e7eb;
    --line-strong: #cbd5e1;
    --blue: #0284c7;
    --blue-dark: #0369a1;
    --green: #00dc84;
    --success: #047857;
    --danger: #dc2626;
    --radius-sm: 14px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 20px 70px rgba(15, 23, 42, 0.08);
    --container: 1180px;
}

/* News center */
.news-premium-main,
.news-detail-main {
    background: #ffffff;
    color: #081225;
}

.news-premium-main {
    padding: 0 max(32px, calc((100% - 1560px) / 2)) 112px;
}

.news-index-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
    align-items: end;
    gap: 64px;
    padding: 64px 0 56px;
    border-bottom: 1px solid #d9e3ef;
}

.news-index-header > div > span,
.news-index-section-head > div > span {
    display: block;
    margin-bottom: 14px;
    color: #0075c9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.news-index-header h1 {
    margin: 0;
    font-size: 72px;
    line-height: 0.98;
    letter-spacing: 0;
}

.news-index-header > p {
    margin: 0;
    color: #53657d;
    font-size: 20px;
    line-height: 1.65;
}

.news-index-section {
    padding-top: 56px;
}

.news-index-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.news-index-section-head h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: 0;
}

.news-index-section-head > strong {
    color: #63748a;
    font-size: 14px;
    font-weight: 700;
}

.news-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-premium-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #d9e3ef;
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.news-premium-card:hover {
    transform: translateY(-3px);
    border-color: #9fcbed;
    box-shadow: 0 18px 40px rgba(8, 28, 54, 0.1);
}

.news-premium-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef3f8;
}

.news-premium-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 320ms ease;
}

.news-premium-card:hover .news-premium-image img {
    transform: scale(1.025);
}

.news-premium-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.news-premium-meta,
.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: #63748a;
    font-size: 12px;
    font-weight: 700;
}

.news-premium-meta span,
.news-detail-meta span {
    color: #0075c9;
    text-transform: uppercase;
}

.news-premium-meta span::after,
.news-detail-meta span::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    margin-left: 12px;
    border-radius: 50%;
    background: #9aabba;
    vertical-align: middle;
}

.news-premium-content h2 {
    min-height: 58px;
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.22;
    letter-spacing: 0;
}

.news-premium-content h2 a {
    color: #081225;
    text-decoration: none;
}

.news-premium-summary {
    display: -webkit-box;
    min-height: 76px;
    margin: 0 0 24px;
    overflow: hidden;
    color: #5b6d83;
    font-size: 15px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-premium-link,
.news-detail-back {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: #006fbd;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.news-premium-link svg,
.news-detail-back svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 180ms ease;
}

.news-premium-link:hover svg {
    transform: translateX(4px);
}

.news-index-empty {
    padding: 88px 24px;
    border: 1px solid #d9e3ef;
    border-radius: 8px;
    background: #f7f9fc;
    text-align: center;
}

.news-index-empty svg {
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    fill: none;
    stroke: #0075c9;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.news-index-empty h2 {
    margin: 0 0 10px;
    font-size: 25px;
    letter-spacing: 0;
}

.news-index-empty p {
    margin: 0;
    color: #63748a;
}

.news-detail-main {
    padding: 52px max(28px, calc((100% - 1240px) / 2)) 112px;
}

.news-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 58px;
    color: #708096;
    font-size: 13px;
    font-weight: 700;
}

.news-detail-breadcrumb a {
    color: #006fbd;
    text-decoration: none;
}

.news-detail-breadcrumb svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.news-detail-header {
    max-width: 980px;
    margin: 0 auto 48px;
    text-align: center;
}

.news-detail-meta {
    justify-content: center;
}

.news-detail-header h1 {
    margin: 0 0 28px;
    font-size: 58px;
    line-height: 1.08;
    letter-spacing: 0;
}

.news-detail-lead {
    max-width: 790px;
    margin: 0 auto;
    color: #53657d;
    font-size: 20px;
    line-height: 1.7;
}

.news-detail-cover {
    aspect-ratio: 16 / 8.5;
    margin: 0 0 64px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef3f8;
}

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

.news-detail-body {
    max-width: 760px;
    margin: 0 auto;
}

.news-detail-body p {
    margin: 0 0 26px;
    color: #25364b;
    font-size: 18px;
    line-height: 1.85;
}

.news-content-image {
    margin: 36px 0;
}

.news-content-image img {
    display: block;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    background: #eef3f8;
}

.news-detail-footer {
    display: flex;
    max-width: 760px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 64px auto 0;
    padding-top: 28px;
    border-top: 1px solid #d9e3ef;
}

.news-detail-footer > span {
    color: #7a8a9d;
    font-size: 13px;
    font-weight: 700;
}

.news-detail-not-found {
    max-width: 680px;
    margin: 90px auto;
    text-align: center;
}

.news-detail-not-found > span {
    color: #0075c9;
    font-size: 15px;
    font-weight: 800;
}

.news-detail-not-found h1 {
    margin: 16px 0;
    font-size: 42px;
    letter-spacing: 0;
}

.news-detail-not-found p {
    margin: 0 0 28px;
    color: #63748a;
}

.news-detail-not-found .news-detail-back {
    margin: 0 auto;
}

/* Admin news editor */
.admin-news-panel .admin-panel-title,
.admin-news-library .admin-panel-title {
    align-items: flex-end;
}

.admin-news-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: start;
    gap: 24px;
}

.admin-news-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 26px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #ffffff;
}

.admin-news-form-heading,
.admin-news-field-wide,
.admin-news-form-actions {
    grid-column: 1 / -1;
}

.admin-news-form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e3eaf2;
}

.admin-news-form-heading span {
    color: #101b2e;
    font-size: 16px;
    font-weight: 800;
}

.admin-news-form-heading small,
.admin-news-form label > small {
    color: #7b899b;
    font-size: 11px;
    font-weight: 600;
}

.admin-news-field-row {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-news-field-row label {
    min-width: 0;
}

.admin-news-form label {
    gap: 8px;
}

.admin-news-form textarea {
    resize: vertical;
}

.admin-news-upload {
    position: relative;
}

.admin-news-upload > input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.admin-news-upload-box {
    display: flex;
    min-height: 116px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px dashed #aebfd1;
    border-radius: 6px;
    background: #f7f9fc;
    color: #52647a;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease;
}

.admin-news-upload-box:hover {
    border-color: #1686d1;
    background: #f0f7fc;
}

.admin-news-upload-box svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #0075c9;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.admin-news-upload-box strong {
    color: #172338;
    font-size: 13px;
}

.admin-news-block-builder {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #f7f9fc;
}

.admin-news-block-builder-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.admin-news-block-builder-head > div:first-child {
    display: grid;
    gap: 4px;
}

.admin-news-block-builder-head strong,
.admin-news-block-toolbar strong {
    color: #172338;
    font-size: 13px;
}

.admin-news-block-builder-head small {
    color: #718096;
    font-size: 11px;
    font-weight: 600;
}

.admin-news-block-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-news-block-actions .button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
}

.admin-news-block-list {
    display: grid;
    gap: 12px;
}

.admin-news-block-item {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #d7e1ec;
    border-radius: 7px;
    background: #ffffff;
}

.admin-news-block-item:active {
    cursor: grabbing;
}

.admin-news-block-toolbar {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto auto;
    align-items: center;
    gap: 8px;
}

.admin-news-block-toolbar button {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #d6e0eb;
    border-radius: 5px;
    background: #ffffff;
    color: #53657a;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.admin-news-block-handle {
    cursor: grab;
}

.admin-news-block-thumb {
    display: block;
    width: 100%;
    max-height: 220px;
    border-radius: 6px;
    object-fit: cover;
    background: #edf2f6;
}

.admin-news-form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.admin-news-form-actions .button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.admin-news-preview {
    position: sticky;
    top: 92px;
    overflow: hidden;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #f4f7fa;
}

.admin-news-preview-toolbar {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px 10px 18px;
    border-bottom: 1px solid #dce5ef;
    background: #ffffff;
}

.admin-news-preview-toolbar > div:first-child {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #172338;
    font-size: 13px;
}

.admin-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #18a364;
    box-shadow: 0 0 0 4px rgba(24, 163, 100, 0.12);
}

.admin-preview-switch {
    display: flex;
    padding: 3px;
    border: 1px solid #d7e1ec;
    border-radius: 6px;
    background: #f2f5f8;
}

.admin-preview-switch button {
    min-width: 58px;
    padding: 7px 10px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #64758a;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.admin-preview-switch button.active {
    background: #ffffff;
    color: #0d1a2f;
    box-shadow: 0 1px 4px rgba(8, 25, 48, 0.12);
}

.admin-news-preview-stage {
    max-height: 760px;
    padding: 24px;
    overflow: auto;
}

.admin-preview-news-card {
    max-width: 410px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #d8e2ed;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(11, 30, 55, 0.08);
}

.admin-preview-news-card > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #eaf0f5;
}

.admin-preview-news-card > div {
    padding: 22px;
}

.admin-preview-news-card p,
.admin-preview-detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: #6c7b8e;
    font-size: 10px;
    font-weight: 700;
}

.admin-preview-news-card p span,
.admin-preview-detail-meta span {
    color: #0075c9;
    text-transform: uppercase;
}

.admin-preview-news-card h2 {
    margin: 0 0 12px;
    color: #081225;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 0;
}

.admin-preview-summary {
    display: block;
    margin-bottom: 20px;
    color: #5b6d83;
    font-size: 13px;
    line-height: 1.6;
}

.admin-preview-news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #006fbd;
    font-size: 12px;
    font-weight: 800;
}

.admin-preview-news-link svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.admin-preview-news-detail {
    padding: 28px;
    border: 1px solid #d8e2ed;
    border-radius: 7px;
    background: #ffffff;
}

.admin-preview-news-detail[hidden],
.admin-preview-news-card[hidden] {
    display: none;
}

.admin-preview-news-detail h2 {
    margin: 0 0 14px;
    color: #081225;
    font-size: 29px;
    line-height: 1.15;
    letter-spacing: 0;
}

.admin-preview-news-detail > strong {
    display: block;
    margin-bottom: 22px;
    color: #52647a;
    font-size: 14px;
    line-height: 1.6;
}

.admin-preview-news-detail > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 22px;
    border-radius: 5px;
    object-fit: cover;
    background: #eaf0f5;
}

.admin-preview-news-detail > p:last-child,
.admin-preview-news-blocks p {
    margin: 0;
    color: #34455a;
    font-size: 13px;
    line-height: 1.75;
    white-space: pre-line;
}

.admin-preview-news-blocks {
    display: grid;
    gap: 16px;
}

.admin-preview-news-blocks figure {
    margin: 0;
}

.admin-preview-news-blocks img {
    display: block;
    width: 100%;
    border-radius: 5px;
    object-fit: cover;
    background: #eaf0f5;
}

.admin-preview-muted {
    color: #738297;
    font-style: italic;
}

.admin-news-library {
    margin-top: 24px;
}

.admin-news-list {
    display: grid;
    gap: 10px;
}

.admin-news-list-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 1px solid #dce5ef;
    border-radius: 7px;
    background: #ffffff;
}

.admin-news-list-item > img {
    width: 92px;
    height: 62px;
    border-radius: 5px;
    object-fit: cover;
    background: #edf2f6;
}

.admin-news-list-item > div:nth-child(2) {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.admin-news-list-item > div:nth-child(2) span {
    color: #738297;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-news-list-item > div:nth-child(2) strong {
    overflow: hidden;
    color: #172338;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-news-list-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-news-list-actions a,
.admin-news-list-actions button {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d6e0eb;
    border-radius: 5px;
    background: #ffffff;
    color: #53657a;
    cursor: pointer;
}

.admin-news-list-actions a:hover {
    border-color: #8fc5e9;
    color: #0075c9;
}

.admin-news-list-actions button:hover {
    border-color: #e8a8a8;
    color: #c53d3d;
}

.admin-news-list-actions svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.admin-news-empty {
    display: flex;
    min-height: 190px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    border: 1px dashed #bdcad8;
    border-radius: 7px;
    background: #f7f9fc;
    color: #708096;
    text-align: center;
}

.admin-news-empty svg {
    width: 30px;
    height: 30px;
    margin-bottom: 4px;
    fill: none;
    stroke: #1686d1;
    stroke-linecap: round;
    stroke-width: 1.6;
}

.admin-news-empty strong {
    color: #172338;
}

.admin-news-empty span {
    font-size: 12px;
}

@media (max-width: 1180px) {
    .news-premium-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-news-editor-layout {
        grid-template-columns: 1fr;
    }

    .admin-news-preview {
        position: static;
    }
}

@media (max-width: 760px) {
    .news-premium-main {
        padding: 0 20px 76px;
    }

    .news-index-header {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 0 36px;
    }

    .news-index-header h1 {
        font-size: 48px;
    }

    .news-index-header > p {
        font-size: 17px;
    }

    .news-index-section {
        padding-top: 40px;
    }

    .news-index-section-head h2 {
        font-size: 28px;
    }

    .news-premium-grid {
        grid-template-columns: 1fr;
    }

    .news-premium-content h2,
    .news-premium-summary {
        min-height: 0;
    }

    .news-detail-main {
        padding: 30px 20px 76px;
    }

    .news-detail-breadcrumb {
        margin-bottom: 40px;
    }

    .news-detail-header {
        margin-bottom: 34px;
        text-align: left;
    }

    .news-detail-meta {
        justify-content: flex-start;
    }

    .news-detail-header h1 {
        font-size: 38px;
    }

    .news-detail-lead {
        font-size: 17px;
    }

    .news-detail-cover {
        aspect-ratio: 4 / 3;
        margin-bottom: 42px;
    }

    .news-detail-body p {
        font-size: 16px;
    }

    .admin-news-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .admin-news-field-row {
        grid-template-columns: 1fr;
    }

    .admin-news-preview-stage {
        padding: 14px;
    }

    .admin-news-preview-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-news-list-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .admin-news-list-item > img {
        width: 72px;
        height: 54px;
    }

    .admin-news-list-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-top: 4px;
        border-top: 1px solid #edf1f5;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-premium-card,
    .news-premium-image img,
    .news-premium-link svg {
        transition: none;
    }
}

/* Premium machine detail */
.machine-premium-main {
    --machine-blue: #0071ce;
    --machine-ink: #071226;
    --machine-muted: #5a6b82;
    --machine-line: #dce4ed;
    --machine-surface: #f4f7fa;
    padding-bottom: 0;
    color: var(--machine-ink);
}

.machine-breadcrumb,
.machine-showcase,
.machine-resources,
.machine-support-cta,
.machine-not-found {
    width: min(1260px, calc(100% - 48px));
    margin-inline: auto;
}

.machine-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 76px;
    color: #7a8798;
    font-size: 14px;
    font-weight: 650;
}

.machine-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2f4159;
    transition: color 0.18s ease;
}

.machine-breadcrumb a:hover {
    color: var(--machine-blue);
}

.machine-breadcrumb svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.machine-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.92fr);
    gap: clamp(42px, 6vw, 88px);
    align-items: center;
    padding-bottom: 96px;
}

.machine-showcase-visual {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: var(--machine-surface);
    border: 1px solid var(--machine-line);
    border-radius: 8px;
}

.machine-showcase-visual::after {
    position: absolute;
    right: 10%;
    bottom: 8%;
    left: 10%;
    height: 1px;
    content: "";
    background: #d5dee8;
}

.machine-showcase-visual figure {
    position: absolute;
    inset: 68px 24px 20px;
    z-index: 1;
    display: grid;
    place-items: center;
    margin: 0;
}

.machine-showcase-visual figure > img {
    width: auto;
    max-width: 92%;
    max-height: 570px;
    object-fit: contain;
    filter: drop-shadow(0 28px 24px rgba(15, 23, 42, 0.14));
}

.machine-visual-caption {
    position: absolute;
    top: 24px;
    right: 26px;
    left: 26px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #607187;
    font-size: 12px;
    font-weight: 750;
}

.machine-visual-caption strong {
    color: #1d2b3e;
    font-size: 13px;
}

.machine-detail-placeholder {
    display: grid;
    justify-items: center;
    gap: 8px;
    color: var(--machine-muted);
}

.machine-detail-placeholder strong {
    color: var(--machine-ink);
    font-size: 48px;
}

.machine-showcase-info {
    min-width: 0;
}

.machine-brand-label,
.machine-resources > header > span,
.machine-support-cta > div > span,
.machine-not-found > span {
    display: block;
    color: var(--machine-blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.machine-model-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.machine-model-heading h1 {
    margin: 0;
    color: var(--machine-ink);
    font-size: clamp(54px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: 0;
}

.machine-model-heading img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    object-fit: contain;
}

.machine-type {
    margin: 20px 0 0;
    color: #26384f;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 750;
}

.machine-summary {
    max-width: 58ch;
    margin: 20px 0 0;
    color: var(--machine-muted);
    font-size: 16px;
    line-height: 1.8;
}

.machine-key-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 30px 0 0;
    border-block: 1px solid var(--machine-line);
}

.machine-key-specs > div {
    min-width: 0;
    padding: 18px 14px 18px 0;
}

.machine-key-specs > div + div {
    padding-left: 18px;
    border-left: 1px solid var(--machine-line);
}

.machine-key-specs dt {
    color: #77869a;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.machine-key-specs dd {
    margin: 6px 0 0;
    overflow-wrap: anywhere;
    color: var(--machine-ink);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
}

.machine-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.machine-primary-actions .button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-inline: 20px;
    border-radius: 6px;
}

.machine-primary-actions .button.primary {
    background: var(--machine-blue);
    box-shadow: none;
}

.machine-primary-actions .button.primary:hover {
    background: #005da9;
}

.machine-primary-actions .button.secondary {
    background: #fff;
    border-color: #cdd7e2;
}

.machine-primary-actions svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.machine-action-note {
    margin: 13px 0 0;
    color: #7a8798;
    font-size: 12px;
}

.machine-resources {
    display: grid;
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(38px, 7vw, 96px);
    padding-block: 84px;
    border-top: 1px solid var(--machine-line);
}

.machine-resources > header h2 {
    max-width: 520px;
    margin: 10px 0 0;
    color: var(--machine-ink);
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.12;
    letter-spacing: 0;
}

.machine-resource-grid {
    border-top: 1px solid var(--machine-line);
}

.machine-resource-grid > a,
.machine-resource-grid > div {
    min-height: 92px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--machine-line);
}

.machine-resource-grid > a {
    transition: color 0.18s ease, padding 0.18s ease;
}

.machine-resource-grid > a:hover {
    padding-inline: 10px;
    color: var(--machine-blue);
}

.machine-resource-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--machine-blue);
    background: #eef6fc;
    border: 1px solid #d8eaf8;
    border-radius: 6px;
}

.machine-resource-icon svg,
.machine-resource-arrow {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.machine-resource-grid strong,
.machine-resource-grid small {
    display: block;
}

.machine-resource-grid strong {
    color: var(--machine-ink);
    font-size: 15px;
}

.machine-resource-grid small {
    margin-top: 4px;
    color: #77869a;
    font-size: 13px;
    font-weight: 500;
}

.machine-resource-arrow {
    color: #7d8da1;
}

.machine-resource-grid .is-unavailable {
    opacity: 0.68;
}

.machine-resource-status {
    padding: 5px 8px;
    color: #617086;
    background: #eef1f5;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.machine-support-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    margin-bottom: 88px;
    padding: 46px 50px;
    color: #fff;
    background: #0b172a;
    border-radius: 8px;
}

.machine-support-cta > div > span {
    color: #62b9f0;
}

.machine-support-cta h2 {
    max-width: 700px;
    margin: 8px 0 0;
    color: #fff;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: 0;
}

.machine-support-cta p {
    max-width: 780px;
    margin: 12px 0 0;
    color: #bcc8d8;
    font-size: 15px;
}

.machine-support-cta .button {
    min-width: 190px;
    min-height: 52px;
    flex: 0 0 auto;
    border-radius: 6px;
    background: #fff;
    color: #0b172a;
    box-shadow: none;
}

.machine-support-cta .button:hover {
    color: var(--machine-blue);
    background: #f1f6fa;
}

.machine-not-found {
    min-height: 560px;
    display: grid;
    align-content: center;
    justify-items: start;
    padding-block: 80px;
}

.machine-not-found h1 {
    max-width: 780px;
    margin: 12px 0 0;
    color: var(--machine-ink);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: 0;
}

.machine-not-found p {
    max-width: 620px;
    margin: 22px 0 28px;
    color: var(--machine-muted);
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 1020px) {
    .machine-showcase {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .machine-showcase-visual {
        min-height: 580px;
    }

    .machine-showcase-info {
        max-width: 760px;
    }

    .machine-resources {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .machine-breadcrumb,
    .machine-showcase,
    .machine-resources,
    .machine-support-cta,
    .machine-not-found {
        width: min(100% - 32px, 1260px);
    }

    .machine-breadcrumb {
        min-height: 60px;
    }

    .machine-showcase {
        gap: 30px;
        padding-bottom: 64px;
    }

    .machine-showcase-visual {
        min-height: 430px;
    }

    .machine-showcase-visual figure {
        inset: 58px 12px 12px;
    }

    .machine-showcase-visual figure > img {
        max-width: 96%;
        max-height: 370px;
    }

    .machine-visual-caption {
        top: 18px;
        right: 18px;
        left: 18px;
        font-size: 10px;
    }

    .machine-model-heading h1 {
        font-size: 52px;
    }

    .machine-model-heading img {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .machine-type {
        margin-top: 14px;
        font-size: 17px;
    }

    .machine-summary {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.7;
    }

    .machine-key-specs {
        grid-template-columns: 1fr 1fr;
    }

    .machine-key-specs dd {
        font-size: 14px;
    }

    .machine-primary-actions {
        display: grid;
    }

    .machine-primary-actions .button {
        width: 100%;
    }

    .machine-resources {
        gap: 30px;
        padding-block: 58px;
    }

    .machine-resources > header h2 {
        font-size: 30px;
    }

    .machine-resource-grid > a,
    .machine-resource-grid > div {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 84px;
    }

    .machine-resource-icon {
        width: 42px;
        height: 42px;
    }

    .machine-resource-grid small {
        font-size: 12px;
    }

    .machine-resource-status {
        display: none;
    }

    .machine-support-cta {
        align-items: stretch;
        flex-direction: column;
        gap: 26px;
        margin-bottom: 64px;
        padding: 32px 24px;
    }

    .machine-support-cta h2 {
        font-size: 29px;
    }

    .machine-support-cta .button {
        width: 100%;
    }

    .machine-not-found {
        min-height: 480px;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    opacity: 1;
    transition: opacity 0.16s ease;
}

body.page-exit {
    opacity: 0;
}

main {
    animation: page-enter 0.22s ease both;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

main.is-switching {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(2, 132, 199, 0.28);
    outline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 104px;
    padding: 18px max(24px, calc((100vw - 1260px) / 2));
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(226, 232, 240, 0.86);
    backdrop-filter: blur(18px);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--green));
}

.brand {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    width: max-content;
    min-width: auto;
    text-decoration: none;
}

.brand-ofisteknik-logo {
    width: auto;
    max-width: 174px;
    max-height: 36px;
    object-fit: contain;
}

.brand-primary-row {
    display: inline-flex;
    gap: 14px;
    align-items: center;
}

.brand-sindoh-logo {
    width: auto;
    max-width: 152px;
    max-height: 54px;
    object-fit: contain;
}

.brand strong {
    color: var(--ink-strong);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-distributor {
    position: relative;
    padding-left: 18px;
    max-width: 110px;
    color: var(--slate);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 650;
}

.brand-distributor::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 42px;
    background: var(--line);
    transform: translateY(-50%);
}

.site-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.site-nav > a,
.nav-dropdown-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 25px;
    color: #2f3948;
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 650;
    white-space: nowrap;
    transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.site-nav > a:hover,
.nav-dropdown:hover .nav-dropdown-button,
.nav-dropdown.is-open .nav-dropdown-button {
    color: #006fd6;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: none;
}

.site-nav > a.active,
.site-nav > a[aria-current="page"] {
    color: #006fd6;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    min-width: 250px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-dropdown-panel a {
    display: block;
    padding: 13px 14px;
    color: var(--slate-2);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    transition: color 0.18s ease, background 0.18s ease;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a.active {
    color: var(--ink-strong);
    background: var(--paper);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}

.btn-service-locator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    background: var(--corporate-blue, #1565c0);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.btn-service-locator:hover {
    background: #0d47a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.35);
}

.btn-service-locator svg {
    flex-shrink: 0;
}

.search-trigger,
.nav-toggle {
    width: 50px;
    height: 50px;
    display: inline-grid;
    place-items: center;
    color: var(--ink-strong);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, background 0.22s ease;
}

.search-trigger:hover,
.nav-toggle:hover {
    background: var(--paper);
    transform: translateY(-2px);
}

.search-icon {
    width: 19px;
    height: 19px;
    display: block;
    border: 2px solid currentColor;
    border-radius: 999px;
    position: relative;
}

.search-icon::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    right: -6px;
    bottom: -4px;
    background: currentColor;
    border-radius: 999px;
    transform: rotate(45deg);
}

.nav-toggle {
    display: none;
    background: var(--ink-strong);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: max(24px, calc((100vw - var(--container)) / 2));
    width: min(460px, calc(100vw - 32px));
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.search-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.search-panel label,
.lead-form label {
    display: grid;
    gap: 9px;
    color: var(--slate-2);
    font-size: 14px;
    font-weight: 800;
}

.search-fields,
.large-search {
    display: flex;
    gap: 10px;
}

.search-fields input,
.large-search input,
.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: 0;
    transition: border 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.lead-form textarea {
    min-height: 132px;
    padding-top: 14px;
    resize: vertical;
}

.search-fields input:focus,
.large-search input:focus,
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    background: var(--white);
    border-color: rgba(2, 132, 199, 0.5);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.search-fields button,
.large-search button,
.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    transition: transform 0.22s ease, background 0.22s ease, border 0.22s ease, box-shadow 0.22s ease;
}

.button.primary,
.search-fields button,
.large-search button {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 14px 30px rgba(2, 132, 199, 0.2);
}

.button.secondary {
    color: var(--slate-2);
    background: var(--white);
    border-color: var(--line-strong);
}

.button:hover,
.search-fields button:hover,
.large-search button:hover {
    transform: translateY(-2px);
}

.button.primary:hover,
.search-fields button:hover,
.large-search button:hover {
    background: var(--blue-dark);
}

.search-live-results {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.search-live-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.search-live-item strong {
    color: var(--ink-strong);
}

.search-live-item span {
    color: var(--slate);
    font-size: 13px;
    font-weight: 700;
}

.home-hero,
.section-block,
.page-hero,
.product-stage,
.contact-layout,
.corporate-layout,
.news-list,
.search-results,
.trust-strip {
    width: min(1260px, calc(100% - 64px));
    margin-inline: auto;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(420px, 0.82fr) minmax(640px, 1.18fr);
    align-items: center;
    gap: clamp(44px, 5vw, 82px);
    min-height: auto;
    padding: clamp(50px, 5.6vw, 72px) 0 22px;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2 {
    margin: 0;
    color: var(--ink-strong);
    letter-spacing: -0.055em;
}

.hero-copy,
.machine-info-area,
.corporate-content {
    min-width: 0;
}

.hero-eyebrow {
    margin: 0 0 22px;
    color: #006fd6;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 560px;
    font-size: clamp(44px, 4.45vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    overflow-wrap: normal;
}

.hero-copy p,
.page-hero p,
.section-heading p,
.machine-info-area > p,
.contact-info p,
.corporate-content p {
    color: var(--slate-2);
    font-size: 18px;
    line-height: 1.72;
}

.hero-copy p {
    max-width: 560px;
    margin: 22px 0 0;
    color: #647084;
    font-size: 17px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.arrow-button span {
    margin-left: 8px;
    font-size: 18px;
}

.hero-product-stage {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: clamp(370px, 32vw, 470px);
    padding: 18px;
    background:
        radial-gradient(circle at 52% 42%, rgba(2, 132, 199, 0.08), transparent 42%),
        var(--white);
    border: 1px solid rgba(0, 111, 214, 0.28);
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.hero-product-stage::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(203, 213, 225, 0.62);
    border-radius: 24px;
}

.hero-product-stage img {
    position: relative;
    z-index: 1;
    width: auto;
    max-height: clamp(430px, 48vw, 640px);
    object-fit: contain;
}

.multi-machine-stage img {
    width: 118%;
    max-width: none;
    max-height: none;
    margin: -4% -7% -5%;
}

.stage-card {
    position: absolute;
    right: 22px;
    bottom: 22px;
    z-index: 2;
    display: grid;
    gap: 2px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.stage-card strong {
    color: var(--ink-strong);
}

.stage-card span {
    color: var(--slate);
    font-size: 12px;
    font-weight: 800;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 22px 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 64px;
}

.trust-strip article,
.bento-card,
.process-grid article,
.product-card,
.news-card,
.reference-card,
.contact-info,
.lead-form,
.corporate-menu,
.corporate-content,
.admin-panel,
.admin-login-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.trust-strip article {
    position: relative;
    display: grid;
    grid-template-columns: 58px 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 8px 22px;
    border-right: 1px solid var(--line);
}

.trust-strip article:last-child {
    border-right: 0;
}

.trust-strip article::before {
    content: "";
    width: 58px;
    height: 58px;
    grid-row: span 2;
    display: grid;
    place-items: center;
    color: var(--blue-dark);
    background: rgba(2, 132, 199, 0.1);
    border-radius: 17px;
    font-size: 24px;
    font-weight: 900;
}

.trust-strip .metric-shield::before {
    content: "✓";
}

.trust-strip .metric-location::before {
    content: "•";
}

.trust-strip .metric-check::before {
    content: "✓";
    color: var(--success);
    background: rgba(0, 220, 132, 0.14);
}

.trust-strip .metric-support::before {
    content: "?";
}

.trust-strip strong {
    color: var(--ink-strong);
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.trust-strip span {
    margin-top: 4px;
    color: var(--slate);
    font-size: 14px;
    font-weight: 800;
}

.section-block {
    padding: 78px 0;
}

.section-block.soft {
    width: 100%;
    max-width: none;
    padding-inline: max(24px, calc((100vw - var(--container)) / 2));
    background: var(--paper);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.section-heading.row {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading span,
.page-hero > span {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2,
.page-hero h1 {
    max-width: 780px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02;
}

.section-heading p {
    margin: 18px 0 0;
}

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

.bento-card {
    position: relative;
    overflow: hidden;
    min-height: 166px;
    padding: 26px;
}

.bento-card.large {
    grid-row: auto;
    min-height: 166px;
    background: var(--white);
    color: var(--ink);
}

.bento-card.wide {
    grid-column: auto;
}

.bento-card .service-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    background: rgba(2, 132, 199, 0.1);
    border-radius: 16px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
}

.bento-card img {
    position: absolute;
    right: 18px;
    bottom: -16px;
    width: 34%;
    max-height: 150px;
    object-fit: contain;
    pointer-events: none;
}

.bento-card.service-card img {
    width: 42%;
    bottom: -34px;
}

.supply-card::after,
.driver-card::after {
    content: "";
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 118px;
    height: 58px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(0, 220, 132, 0.14));
    border-radius: 18px;
}

.bento-card h3,
.process-grid h3,
.news-card h2,
.reference-card h2 {
    margin: 16px 0 10px;
    color: inherit;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.bento-card p,
.process-grid p,
.news-card p,
.reference-card p,
.product-card span,
.product-card small {
    color: var(--slate);
}

.bento-card.large p {
    color: var(--slate);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: min(var(--container), 100%);
    margin-inline: auto;
}

.process-grid article {
    padding: 28px;
}

.process-grid strong {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--blue);
    border-radius: 14px;
}

.featured-product-grid,
.product-grid,
.reference-grid,
.news-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-stage {
    padding-bottom: 80px;
}

.page-hero {
    padding: clamp(70px, 9vw, 120px) 0 42px;
    text-align: left;
}

.page-hero p {
    max-width: 720px;
    margin: 18px 0 0;
}

.product-category-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    padding: 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.product-category-menu a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: var(--slate-2);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    transition: color 0.2s ease, background 0.2s ease;
}

.product-category-menu a:hover {
    background: var(--white);
}

.product-category-menu a.active {
    color: var(--white);
    background: var(--ink-strong);
}

.product-card {
    display: grid;
    gap: 12px;
    padding: 18px;
    color: var(--ink);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 132, 199, 0.32);
    box-shadow: var(--shadow-card);
}

.product-card.compact {
    min-height: 360px;
}

.product-card-image {
    overflow: hidden;
    min-height: 250px;
    display: grid;
    place-items: center;
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.product-card-image img {
    width: auto;
    max-width: 94%;
    max-height: 255px;
    object-fit: contain;
    transform: scale(1.16);
}

.product-card strong,
.model-title-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-strong);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.product-card span,
.product-card small {
    font-size: 14px;
    font-weight: 750;
}

.model-color-icon {
    width: 19px;
    height: 19px;
    display: inline-block;
    flex: 0 0 auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 50%;
}

.model-color-icon.color {
    background-image: url("../images/icons/sindoh-color.png");
}

.model-color-icon.mono {
    background-image: url("../images/icons/sindoh-mono.png");
}

.text-link,
.back-link {
    color: var(--blue-dark);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.detail-header-wrapper {
    width: min(var(--container), calc(100% - 48px));
    margin: 42px auto 16px;
}

.machine-detail {
    width: min(var(--container), calc(100% - 48px));
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 32px;
    margin: 0 auto 90px;
}

.machine-hero-image {
    overflow: hidden;
    min-height: 620px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 38px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow-card);
}

.machine-hero-image img {
    width: auto;
    max-width: 94%;
    max-height: 620px;
    object-fit: contain;
    transform: scale(1.16);
}

.machine-info-area {
    align-self: start;
    display: grid;
    gap: 22px;
    padding: 28px;
}

.machine-info-area h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 64px);
}

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

.spec-grid div {
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.spec-grid dt {
    color: var(--slate);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.spec-grid dd {
    margin: 6px 0 0;
    color: var(--ink-strong);
    font-size: 17px;
    font-weight: 900;
}

.machine-resource-links {
    display: grid;
    gap: 12px;
}

.machine-resource-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    font-weight: 900;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.machine-resource-links a:hover {
    transform: translateY(-2px);
    border-color: rgba(2, 132, 199, 0.28);
    box-shadow: var(--shadow-soft);
}

.machine-resource-links span {
    width: 42px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--blue-dark);
    background: rgba(2, 132, 199, 0.08);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 900;
}

.contact-layout,
.corporate-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    padding-bottom: 90px;
}

.contact-info,
.lead-form,
.corporate-menu,
.corporate-content {
    padding: 28px;
}

.contact-info {
    display: grid;
    gap: 14px;
}

.contact-info h2,
.corporate-content h2 {
    margin: 0 0 4px;
    color: var(--ink-strong);
    font-size: 30px;
    letter-spacing: -0.035em;
}

.contact-info a,
.contact-info > span,
.footer-contact a,
.footer-contact span {
    color: var(--slate-2);
    font-weight: 800;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-link img {
    width: 22px;
    height: 22px;
}

.contact-map {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
}

.contact-map h3 {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    margin: 0;
    padding: 9px 12px;
    background: var(--white);
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    font-size: 13px;
}

.contact-map iframe,
.contact-map-placeholder {
    width: 100%;
    height: 360px;
    border: 0;
}

.contact-map-cover {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
}

.lead-form {
    display: grid;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-alert {
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 800;
}

.form-alert.success {
    color: var(--success);
    background: rgba(0, 220, 132, 0.12);
}

.form-alert.error {
    color: var(--danger);
    background: rgba(220, 38, 38, 0.09);
}

.corporate-layout {
    grid-template-columns: 280px minmax(0, 1fr);
}

.corporate-menu {
    align-self: start;
    display: grid;
    gap: 8px;
    position: sticky;
    top: 120px;
}

.corporate-menu a {
    padding: 13px 14px;
    color: var(--slate-2);
    border-radius: 13px;
    font-weight: 900;
}

.corporate-menu a:hover,
.corporate-menu a.active {
    color: var(--white);
    background: var(--ink-strong);
}

.corporate-content p {
    margin: 0;
    max-width: 820px;
}

.news-list,
.search-results {
    padding-bottom: 90px;
}

.news-card,
.reference-card {
    padding: 26px;
}

.news-card time,
.reference-card span,
.result-count {
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 28px;
    color: var(--slate-2);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 800;
}

.large-search {
    max-width: 720px;
    margin-top: 26px;
}

.site-footer {
    background: var(--ink-strong);
    color: var(--white);
    padding: 56px max(24px, calc((100vw - var(--container)) / 2)) 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.7fr 1fr;
    gap: 36px;
}

.footer-brand img {
    max-width: 190px;
    max-height: 58px;
    object-fit: contain;
    background: transparent;
}

.footer-brand span {
    display: inline-flex;
    margin-top: 14px;
    padding: 7px 10px;
    color: var(--green);
    background: rgba(0, 220, 132, 0.1);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.footer-brand p,
.footer-links a,
.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.72);
}

.footer-links,
.footer-contact {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer-links h2,
.footer-contact h2 {
    margin: 0 0 6px;
    color: var(--white);
    font-size: 16px;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-links a {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-social-links a:hover {
    color: var(--white);
    background: rgba(3, 105, 161, 0.34);
    border-color: rgba(125, 211, 252, 0.45);
    transform: translateY(-2px);
}

.footer-social-links img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-legal {
    margin-top: 38px;
    padding-top: 18px;
    color: rgba(255, 255, 255, 0.54);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

/* Homepage concept fidelity overrides */
.trust-strip {
    padding: 22px 24px;
    border-radius: 18px;
    margin-bottom: 22px;
}

.trust-strip article {
    column-gap: 20px;
    padding: 4px 26px;
    background: transparent;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
}

.trust-strip article::before {
    color: #006fd6;
    background: rgba(0, 111, 214, 0.1);
}

.trust-strip .metric-shield::before,
.trust-strip .metric-check::before {
    content: "✓";
}

.trust-strip .metric-location::before {
    content: "•";
}

.trust-strip .metric-check::before {
    color: var(--success);
    background: rgba(0, 220, 132, 0.14);
}

.trust-strip .metric-support::before {
    content: "◌";
}

.trust-strip strong {
    grid-column: 2;
    color: #006fd6;
    font-size: 29px;
}

.trust-strip span {
    grid-column: 2;
    color: var(--ink);
}

.trust-strip small {
    grid-column: 2;
    display: block;
    margin-top: 4px;
    color: var(--slate);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
}

.home-featured-models .section-heading,
.section-block > .section-heading {
    display: none;
}

.section-block {
    padding: 20px 0 58px;
}

.bento-grid {
    gap: 14px;
}

.bento-card {
    height: 148px;
    min-height: 0;
    padding: 22px 26px 18px 112px;
    border-radius: 16px;
}

.bento-card .service-icon {
    position: absolute;
    top: 24px;
    left: 26px;
    margin-bottom: 0;
}

.bento-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.bento-card a {
    display: inline-flex;
    margin-top: 8px;
    color: #006fd6;
    font-size: 13px;
    font-weight: 850;
}

.bento-card p {
    max-width: 335px;
    font-size: 13px;
    line-height: 1.36;
}

.bento-card img {
    right: 18px;
    bottom: 0;
    width: 31%;
    max-height: 130px;
}

.bento-card.service-card img {
    width: 36%;
    bottom: 0;
}

/* Admin compatibility */
.admin-body {
    min-height: 100vh;
    background: var(--paper);
}

.admin-login-page {
    display: grid;
    place-items: center;
}

.admin-shell {
    width: min(460px, calc(100% - 32px));
}

.admin-login-wrap {
    display: grid;
    gap: 16px;
}

.admin-login-panel {
    display: grid;
    gap: 16px;
    padding: 34px;
}

.admin-login-logo img,
.admin-sidebar-brand img {
    max-width: 190px;
    max-height: 64px;
    object-fit: contain;
}

.admin-login-kicker,
.admin-login-note,
.admin-help {
    color: var(--slate);
    font-weight: 700;
}

.admin-dashboard {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    min-height: 100vh;
    padding: 24px;
    background: var(--ink-strong);
    color: var(--white);
}

.admin-sidebar-brand {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.admin-nav {
    display: grid;
    gap: 8px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 14px;
    color: rgba(255, 255, 255, 0.68);
    border-radius: 14px;
    font-weight: 850;
}

.admin-nav a.active,
.admin-nav a:hover {
    color: var(--ink-strong);
    background: var(--white);
}

.admin-main {
    padding: 28px;
}

.admin-panel {
    padding: 26px;
}

.admin-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.admin-panel-title h1,
.admin-panel-title h2 {
    margin: 0;
    color: var(--ink-strong);
    letter-spacing: -0.035em;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.admin-stat-card {
    padding: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.admin-stat-card strong {
    display: block;
    color: var(--ink-strong);
    font-size: 28px;
}

.admin-form-grid,
.admin-subform,
.admin-order-list {
    display: grid;
    gap: 14px;
}

.admin-form-grid label,
.admin-subform label,
.admin-order-list label {
    display: grid;
    gap: 8px;
    color: var(--slate-2);
    font-weight: 800;
}

.admin-form-grid input,
.admin-form-grid textarea,
.admin-form-grid select,
.admin-subform input,
.admin-subform textarea,
.admin-subform select,
.admin-order-list input,
.admin-order-list select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.admin-form-grid textarea,
.admin-subform textarea {
    min-height: 110px;
    padding-top: 12px;
}

.admin-list,
.admin-lead-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-list article,
.admin-lead-card {
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
}

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

.admin-form-actions,
.admin-lead-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-list-action {
    color: var(--blue-dark);
    font-weight: 900;
}

@media (max-width: 1060px) {
    body.mobile-nav-open {
        overflow: hidden;
    }

    .site-header {
        grid-template-columns: auto auto auto;
    }

    .btn-service-locator {
        display: none;
    }

    .nav-toggle {
        display: inline-grid;
        justify-self: end;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 24px;
        right: 24px;
        display: none;
        justify-self: stretch;
        margin-left: 0;
        padding: 12px;
        max-height: calc(100dvh - 128px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 24px;
        box-shadow: var(--shadow-card);
        z-index: 80;
    }

    .site-nav.is-open {
        display: grid;
        gap: 8px;
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-toggle span {
        transition: transform 0.22s ease, opacity 0.18s ease;
    }

    .site-nav > a,
    .nav-dropdown-button {
        justify-content: center;
        width: 100%;
        min-height: 48px;
    }

    .nav-dropdown-panel {
        position: static;
        min-width: 0;
        margin-top: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        max-height: min(420px, calc(100dvh - 250px));
        overflow-y: auto;
    }

    .nav-dropdown:hover .nav-dropdown-panel,
    .corporate-nav-dropdown:hover .nav-dropdown-panel {
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-panel {
        display: grid;
    }

    .nav-dropdown:hover:not(.is-open) .nav-dropdown-button:not(.active):not([aria-current="page"]) {
        color: var(--slate-2);
        background: transparent;
        transform: none;
    }

    .home-hero,
    .machine-detail,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-product-stage {
        min-height: 520px;
    }

    .trust-strip,
    .product-grid,
    .featured-product-grid,
    .reference-grid,
    .news-list,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-card.large,
    .bento-card.wide {
        grid-column: auto;
        grid-row: auto;
        min-height: 240px;
    }

    .corporate-layout {
        grid-template-columns: 1fr;
    }

    .corporate-menu {
        position: static;
    }

    .footer-grid,
    .admin-dashboard {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        min-height: 0;
    }

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

@media (max-width: 680px) {
    .site-header {
        min-height: 82px;
        padding-inline: 16px;
        gap: 12px;
    }

    .brand {
        min-width: 0;
    }

    .brand-ofisteknik-logo {
        max-width: 150px;
        max-height: 30px;
    }

    .brand-sindoh-logo {
        max-width: 136px;
        max-height: 44px;
    }

    .brand-distributor {
        font-size: 11px;
    }

    .site-nav {
        left: 16px;
        right: 16px;
        max-height: calc(100dvh - 104px);
        border-radius: 20px;
    }

    .home-hero,
    .section-block,
    .page-hero,
    .product-stage,
    .contact-layout,
    .corporate-layout,
    .news-list,
    .search-results,
    .trust-strip {
        width: min(calc(100% - 28px), var(--container));
    }

    .home-hero {
        overflow: hidden;
        min-height: auto;
        padding: 42px 0 54px;
    }

    .hero-copy h1 {
        max-width: 100%;
        font-size: clamp(31px, 8.8vw, 38px);
        line-height: 1.08;
        letter-spacing: -0.045em;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .hero-copy p {
        max-width: 100%;
        font-size: 16px;
        overflow-wrap: anywhere;
    }

    .hero-product-stage {
        width: 100%;
        min-height: 420px;
        padding: 18px;
        border-radius: 24px;
        overflow: hidden;
    }

    .hero-product-stage img {
        max-height: 390px;
    }

    .stage-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 12px;
    }

    .trust-strip,
    .product-grid,
    .featured-product-grid,
    .reference-grid,
    .news-list,
    .process-grid,
    .bento-grid,
    .form-row,
    .spec-grid {
        grid-template-columns: 1fr;
    }

    .section-block {
        padding: 52px 0;
    }

    .section-block.soft {
        padding-inline: 14px;
    }

    .section-heading.row {
        display: grid;
        align-items: start;
    }

    .product-category-menu {
        border-radius: 22px;
    }

    .product-category-menu a {
        flex: 1 1 100%;
    }

    .machine-hero-image {
        min-height: 430px;
        padding: 20px;
    }

    .machine-hero-image img {
        max-height: 390px;
    }

    .machine-info-area {
        padding: 0;
    }

    .large-search,
    .search-fields {
        display: grid;
    }

    .footer-grid {
        gap: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (min-width: 1061px) {
    .site-header {
        padding-right: 58px;
        padding-left: 58px;
    }

    .site-nav {
        position: relative;
    }

    .site-nav > a:hover,
    .nav-dropdown:hover .nav-dropdown-button,
    .nav-dropdown.is-open .nav-dropdown-button {
        transform: none;
    }

    .home-hero,
    .trust-strip,
    .section-block {
        width: min(1344px, calc(100% - 96px));
    }

    .home-hero {
        grid-template-columns: minmax(0, 520px) minmax(0, 744px);
        gap: 80px;
        align-items: start;
        padding-top: 24px;
        padding-bottom: 10px;
    }

    .hero-copy {
        padding-top: 16px;
        transform: translateY(-20px);
    }

    .hero-copy h1 {
        max-width: 560px;
        font-size: 52px;
        line-height: 1.08;
        letter-spacing: -0.047em;
    }

    .hero-copy p {
        max-width: 560px;
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-product-stage {
        height: 393px;
        min-height: 0;
    }

    .multi-machine-stage img {
        width: 108%;
        margin: -3% -4% -5%;
    }

    .trust-strip {
        padding-top: 16px;
        padding-bottom: 16px;
    }

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

/* Code-native version of the approved homepage concept. */
.home-concept-page {
    background: #fff;
}

.home-concept-page .site-header {
    min-height: 112px;
    padding: 22px 96px 18px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 0;
    box-shadow: none;
}

.home-concept-page .site-header::before {
    height: 6px;
}

.home-concept-page .brand {
    min-width: auto;
}

.home-concept-page .brand-ofisteknik-logo {
    max-width: 178px;
    max-height: 38px;
}

.home-concept-page .brand-sindoh-logo {
    max-width: 154px;
    max-height: 56px;
}

.home-concept-page .brand-distributor {
    max-width: 120px;
    color: #697386;
    font-size: 14px;
    font-weight: 600;
}

.home-concept-page .brand-distributor::before {
    height: 42px;
    background: #e2e8f0;
}

.home-concept-page .site-nav {
    gap: 4px;
    margin-left: 20px;
    padding: 5px;
    border-color: #dbe3ee;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.home-concept-page .site-nav > a,
.home-concept-page .nav-dropdown-button {
    min-height: 48px;
    padding: 0 25px;
    color: #2f3948;
    font-size: 15px;
    font-weight: 650;
}

.home-concept-page .site-nav > a:hover,
.home-concept-page .nav-dropdown:hover .nav-dropdown-button,
.home-concept-page .nav-dropdown.is-open .nav-dropdown-button {
    color: #006fd6;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transform: none;
}

.home-concept-page .site-nav > a.active,
.home-concept-page .site-nav > a[aria-current="page"] {
    color: #006fd6;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

@media (max-width: 1060px) {
    .home-concept-page .site-nav {
        margin-left: 0;
    }
}

.home-concept-page .search-trigger {
    width: 52px;
    height: 52px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.home-concept-page main {
    animation: page-enter 0.22s ease both;
}

.home-concept-page .home-hero,
.home-concept-page .trust-strip,
.home-concept-page .section-block {
    width: min(1344px, calc(100% - 192px));
}

.home-concept-page .concept-hero {
    grid-template-columns: minmax(0, 508px) minmax(0, 744px);
    gap: 90px;
    align-items: center;
    min-height: 405px;
    padding: 16px 0 25px;
}

.home-concept-page .hero-eyebrow {
    margin-bottom: 18px;
    color: #006fd6;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.135em;
}

.home-concept-page .hero-copy h1 {
    max-width: 530px;
    color: #111827;
    font-size: 50px;
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.home-concept-page .hero-copy p {
    max-width: 560px;
    margin-top: 20px;
    color: #667085;
    font-size: 16px;
    line-height: 1.54;
}

.home-concept-page .hero-actions {
    gap: 14px;
    margin-top: 28px;
}

.home-concept-page .button {
    min-height: 44px;
    padding: 0 25px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
}

.home-concept-page .button.primary {
    background: #0077d9;
    box-shadow: 0 14px 30px rgba(0, 119, 217, 0.18);
}

.home-concept-page .button.secondary {
    color: #006fd6;
    border-color: #c7d6e7;
    background: #fff;
}

.home-concept-page .hero-product-stage {
    min-height: 392px;
    padding: 0;
    border-color: rgba(0, 111, 214, 0.34);
    border-radius: 29px;
    box-shadow: 0 22px 62px rgba(15, 23, 42, 0.06);
    background:
        radial-gradient(circle at 53% 50%, rgba(2, 132, 199, 0.055), transparent 43%),
        linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.home-concept-page .hero-product-stage::before {
    inset: 0;
    border: 0;
    background:
        repeating-radial-gradient(circle at 80% 46%, rgba(2, 132, 199, 0.08) 0 1px, transparent 1px 34px),
        linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.03));
    opacity: 0.55;
}

.home-concept-page .multi-machine-stage img {
    z-index: 1;
    width: 109%;
    max-width: none;
    margin: -4.5% -4.7% -5.5%;
}

.home-concept-page .concept-trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0;
    margin-bottom: 22px;
    padding: 20px 24px;
    border-color: #e1e7ef;
    border-radius: 16px;
    box-shadow: 0 13px 36px rgba(15, 23, 42, 0.045);
}

.home-concept-page .concept-trust-strip article {
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 18px;
    align-items: center;
    justify-items: start;
    min-height: 86px;
    padding: 8px 26px;
    background: transparent;
    border: 0;
    border-right: 1px solid #e3e8ef;
    border-radius: 0;
    box-shadow: none;
}

.home-concept-page .concept-trust-strip article::before {
    display: none;
}

.home-concept-page .concept-trust-strip article:last-child {
    border-right: 0;
}

.home-concept-page .metric-icon {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    color: #0077d9;
    background: linear-gradient(135deg, #eef6ff, #e8f2ff);
    border-radius: 18px;
}

.home-concept-page .metric-check .metric-icon {
    color: #00a864;
    background: linear-gradient(135deg, #e9fff6, #ddf8eb);
}

.home-concept-page .metric-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-concept-page .concept-trust-strip strong {
    grid-column: 2;
    grid-row: 1;
    color: #006fd6;
    font-size: 31px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.035em;
}

.home-concept-page .concept-trust-strip .metric-check strong {
    color: #00a864;
}

.home-concept-page .concept-trust-strip span:not(.metric-icon) {
    grid-column: 2;
    grid-row: 2;
    margin: 4px 0 0;
    color: #202938;
    font-size: 14px;
    font-weight: 750;
}

.home-concept-page .concept-trust-strip small {
    grid-column: 2;
    grid-row: 3;
    color: #697386;
    font-size: 13px;
    line-height: 1.25;
}

.home-concept-page .concept-services {
    padding: 0 0 24px;
}

.home-concept-page .concept-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-concept-page .service-tile {
    position: relative;
    display: block;
    min-height: 158px;
    padding: 24px 30px 24px 26px;
    overflow: hidden;
    border: 1px solid #e1e7ef;
    border-radius: 16px;
    box-shadow: 0 13px 36px rgba(15, 23, 42, 0.045);
}

.home-concept-page .service-tile::after {
    content: none;
}

.home-concept-page .service-tile .service-icon {
    position: absolute;
    left: 32px;
    top: 30px;
    width: 72px;
    height: 72px;
    margin: 0;
    color: #0077d9;
    background: linear-gradient(145deg, #edf6ff 0%, #e8f3ff 100%);
    border: 1px solid rgba(0, 119, 217, 0.06);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-concept-page .service-tile .service-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-concept-page .service-copy {
    position: relative;
    z-index: 2;
    max-width: none;
    margin-left: 112px;
    padding-right: 198px;
}

.home-concept-page .service-tile h3 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 21px;
    line-height: 1.12;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.home-concept-page .service-tile p {
    max-width: 380px;
    margin: 0 0 8px;
    color: #596579;
    font-size: 13.5px;
    line-height: 1.38;
}

.home-concept-page .service-tile a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #006fd6;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.home-concept-page .supply-card .service-copy {
    padding-right: 270px;
}

.home-concept-page .supply-card .service-tile p,
.home-concept-page .supply-card p {
    max-width: 340px;
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.home-concept-page .supply-card {
    min-height: 166px;
}

.home-concept-page .service-visual {
    position: absolute;
    right: 26px;
    bottom: -18px;
    z-index: 1;
    width: 210px;
    height: 128px;
    max-height: none;
    object-fit: contain;
    margin: 0;
}

.home-concept-page .sales-visual {
    right: 70px;
    bottom: -12px;
    width: 158px;
    height: 150px;
}

.home-concept-page .tech-visual {
    right: 0;
    bottom: 0;
    width: 250px;
    height: 126px;
    border-radius: 18px 0 16px 0;
    object-fit: cover;
    object-position: 70% 55%;
}

.home-concept-page .toner-visual {
    position: absolute;
    right: 22px;
    bottom: 30px;
    width: 188px;
    height: 82px;
    transform: rotate(-6deg);
}

.home-concept-page .toner-visual span {
    position: absolute;
    left: 0;
    width: 148px;
    height: 28px;
    background: linear-gradient(90deg, #080b10 0%, #2a3039 42%, #07100d 100%);
    border-radius: 999px 18px 18px 999px;
    box-shadow: inset -30px 0 0 rgba(255, 255, 255, 0.05), 0 12px 22px rgba(15, 23, 42, 0.16);
}

.home-concept-page .toner-visual span::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 9px;
    width: 66px;
    height: 8px;
    background: linear-gradient(90deg, #00dc84, #00995f);
    border-radius: 999px;
}

.home-concept-page .toner-visual span:first-child {
    top: 9px;
}

.home-concept-page .toner-visual span:last-child {
    top: 42px;
    left: 26px;
    transform: rotate(8deg);
}

.home-concept-page .laptop-visual {
    position: absolute;
    right: 46px;
    bottom: 18px;
    width: 218px;
    height: 98px;
}

.home-concept-page .laptop-visual div {
    position: absolute;
    inset: 0 16px 13px;
    padding: 13px;
    background: linear-gradient(180deg, #f8fafc, #fff);
    border: 5px solid #10151d;
    border-radius: 8px 8px 3px 3px;
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.12);
}

.home-concept-page .laptop-visual div::after {
    content: "";
    position: absolute;
    left: -22px;
    right: -22px;
    bottom: -18px;
    height: 12px;
    background: linear-gradient(180deg, #202633, #0f172a);
    border-radius: 0 0 18px 18px;
}

.home-concept-page .laptop-visual span {
    display: block;
    width: 74px;
    height: 10px;
    margin-bottom: 9px;
    background: #0f172a;
    border-radius: 999px;
}

.home-concept-page .laptop-visual i {
    display: block;
    height: 8px;
    margin-top: 7px;
    background: #0077d9;
    border-radius: 999px;
}

.home-concept-page .laptop-visual i:nth-child(3) {
    width: 82%;
    background: #b7c8d9;
}

.home-concept-page .laptop-visual i:nth-child(4) {
    width: 64%;
    background: #d5e3ef;
}

@media (max-width: 1200px) {
    .home-concept-page .site-header {
        padding-inline: 32px;
    }

    .home-concept-page .home-hero,
    .home-concept-page .trust-strip,
    .home-concept-page .section-block {
        width: min(100% - 48px, 1180px);
    }

    .home-concept-page .concept-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 820px) {
    .home-concept-page .concept-trust-strip,
    .home-concept-page .concept-service-grid {
        grid-template-columns: 1fr;
    }

    .home-concept-page .concept-trust-strip article {
        border-right: 0;
        border-bottom: 1px solid #e3e8ef;
    }

    .home-concept-page .concept-trust-strip article:last-child {
        border-bottom: 0;
    }

    .home-concept-page .service-tile {
        grid-template-columns: 58px 1fr;
        min-height: 190px;
        padding-right: 24px;
    }

    .home-concept-page .service-tile .service-icon {
        left: 24px;
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .home-concept-page .service-tile .service-icon svg {
        width: 29px;
        height: 29px;
    }

    .home-concept-page .service-copy,
    .home-concept-page .supply-card .service-copy {
        margin-left: 76px;
        padding-right: 0;
    }

    .home-concept-page .service-visual,
    .home-concept-page .toner-visual,
    .home-concept-page .laptop-visual {
        opacity: 0.28;
        right: 16px;
    }
}

@media (max-width: 680px) {
    .home-concept-page {
        overflow-x: hidden;
    }

    .home-concept-page .site-header {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 12px;
        min-height: 112px;
        padding: 20px 18px 18px;
    }

    .home-concept-page .brand {
        min-width: 0;
    }

    .home-concept-page .brand-ofisteknik-logo {
        max-width: 150px;
        max-height: 30px;
    }

    .home-concept-page .brand-sindoh-logo {
        max-width: 136px;
        max-height: 46px;
    }

    .home-concept-page .brand-distributor {
        max-width: 88px;
        font-size: 12px;
    }

    .home-concept-page .brand-distributor::before {
        left: 0;
    }

    .home-concept-page .nav-toggle {
        color: #fff;
        background: #020617;
    }

    .home-concept-page .nav-toggle span {
        background: #fff;
    }

    .home-concept-page .site-nav {
        left: 16px;
        right: 16px;
        padding: 12px;
        gap: 8px;
        max-height: calc(100dvh - 128px);
    }

    .home-concept-page .site-nav > a,
    .home-concept-page .nav-dropdown-button {
        justify-content: center;
        min-height: 48px;
        padding-inline: 16px;
        font-size: 14px;
    }

    .home-concept-page .home-hero,
    .home-concept-page .trust-strip,
    .home-concept-page .section-block {
        width: min(100% - 48px, 1180px);
    }

    .home-concept-page .concept-hero {
        padding-top: 32px;
    }

    .home-concept-page .hero-copy h1 {
        max-width: 100%;
        font-size: 38px;
        line-height: 1.12;
        letter-spacing: -0.04em;
    }

    .home-concept-page .hero-copy p {
        font-size: 15px;
        line-height: 1.55;
    }

    .home-concept-page .hero-actions {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .home-concept-page .button {
        min-height: 43px;
        padding: 0 18px;
        font-size: 14px;
    }

    .home-concept-page .hero-product-stage {
        min-height: 290px;
    }

    .home-concept-page .multi-machine-stage img {
        width: 126%;
    }
}

.contact-premium-page {
    background:
        linear-gradient(180deg, #ffffff 0%, #ffffff 44%, #f8fbff 100%);
    overflow-x: hidden;
}

.contact-premium-main {
    padding: 46px 0 96px;
}

.contact-premium-shell {
    width: min(1344px, calc(100% - 96px));
    margin-inline: auto;
}

.contact-premium-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.07fr) minmax(430px, 0.93fr);
    gap: 22px;
    align-items: start;
}

.contact-hero-panel,
.contact-form-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e1e8f2;
    border-radius: 28px;
    box-shadow: 0 18px 56px rgba(15, 23, 42, 0.06);
}

.contact-hero-panel {
    overflow: hidden;
    padding: 34px;
}

.contact-hero-copy {
    max-width: 690px;
}

.contact-kicker,
.form-heading span {
    display: inline-flex;
    margin-bottom: 14px;
    color: #006fd6;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-hero-copy h1,
.form-heading h2 {
    margin: 0;
    color: #101827;
    letter-spacing: -0.048em;
}

.contact-hero-copy h1 {
    max-width: 680px;
    font-size: clamp(44px, 5vw, 70px);
    line-height: 1.02;
}

.contact-hero-copy p,
.form-heading p {
    margin: 18px 0 0;
    color: #667085;
    font-size: 17px;
    line-height: 1.62;
}

.contact-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.contact-action-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    min-height: 102px;
    padding: 16px;
    color: #142033;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid #e3ebf5;
    border-radius: 20px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.contact-action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 111, 214, 0.28);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.contact-action-icon {
    grid-row: span 2;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: #0077d9;
    background: #edf6ff;
    border-radius: 17px;
}

.contact-action-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-action-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.whatsapp-action .contact-action-icon {
    background: #ecfff5;
}

.contact-action-card small {
    color: #667085;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-action-card strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #101827;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.25;
}

.premium-contact-map {
    min-height: 336px;
    margin-top: 18px;
    border-color: #dce8f5;
    border-radius: 24px;
    background: #f3f8ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.premium-contact-map h3 {
    display: none;
}

.premium-contact-map iframe,
.premium-contact-map .contact-map-placeholder {
    height: 336px;
}

.map-title-card {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 4;
    display: grid;
    gap: 4px;
    max-width: min(520px, calc(100% - 36px));
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e3ebf5;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(14px);
}

.map-title-card strong {
    color: #101827;
    font-size: 16px;
    font-weight: 900;
}

.map-title-card span {
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.contact-form-panel {
    position: sticky;
    top: 126px;
    gap: 15px;
    padding: 30px;
}

.form-heading {
    margin-bottom: 4px;
}

.form-heading h2 {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.05;
}

.form-heading p {
    font-size: 15px;
}

.contact-form-panel label {
    color: #1f2937;
    font-size: 13px;
    font-weight: 850;
}

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
    min-height: 52px;
    background: #f8fbff;
    border-color: #dfe8f3;
    border-radius: 16px;
}

.contact-form-panel textarea {
    min-height: 144px;
}

.contact-form-panel .button {
    min-height: 56px;
    margin-top: 2px;
    background: #0077d9;
    box-shadow: 0 16px 32px rgba(0, 119, 217, 0.18);
}

@media (max-width: 1100px) {
    .contact-premium-shell {
        grid-template-columns: 1fr;
    }

    .contact-form-panel {
        position: static;
    }

}

@media (max-width: 720px) {
    .contact-premium-main {
        padding-top: 28px;
    }

    .contact-premium-shell {
        width: min(100% - 32px, 1344px);
    }

    .contact-hero-panel,
    .contact-form-panel {
        padding: 22px;
        border-radius: 22px;
    }

    .contact-hero-copy h1 {
        font-size: 38px;
        line-height: 1.08;
    }

    .contact-hero-copy p {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.55;
        overflow-wrap: break-word;
    }

    .contact-action-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-action-card {
        min-height: 92px;
    }

    .premium-contact-map,
    .premium-contact-map iframe,
    .premium-contact-map .contact-map-placeholder {
        min-height: 300px;
        height: 300px;
    }

}

/* Premium product catalog */
.products-premium-page {
    background: #ffffff;
    overflow-x: hidden;
}

.products-premium-main {
    letter-spacing: 0;
}

.products-catalog,
.catalog-support-band {
    width: min(1260px, calc(100% - 64px));
    margin-inline: auto;
}

.catalog-heading > div > span,
.catalog-support-band > div > span {
    display: inline-flex;
    margin-bottom: 14px;
    color: #006fd6;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.products-catalog {
    padding: 52px 0 86px;
}

.catalog-page-title {
    margin: 0 0 24px;
    color: #020617;
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: 0;
    text-align: center;
}

.catalog-filter-band {
    position: sticky;
    top: 116px;
    z-index: 20;
    margin-bottom: 52px;
    padding: 10px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid #dbe3ec;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(18px);
}

.catalog-categories {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.catalog-categories a {
    min-width: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 16px;
    color: #334155;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.25;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.catalog-categories a:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

.catalog-categories a.active {
    color: #ffffff;
    background: #0f172a;
    border-color: #0f172a;
}

.catalog-categories a small {
    min-width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #475569;
    background: #ffffff;
    border: 1px solid #dbe3ec;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.catalog-categories a.active small {
    color: #0f172a;
    border-color: #ffffff;
}

.catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.catalog-heading > div > span {
    margin-bottom: 8px;
    font-size: 11px;
}

.catalog-heading h2 {
    margin: 0;
    color: #020617;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: 0;
}

.catalog-heading > p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.catalog-heading > p strong {
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.catalog-product-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #dbe3ec;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.catalog-product-card[hidden] {
    display: none;
}

.catalog-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(2, 132, 199, 0.45);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
}

.catalog-product-card > a {
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 12px;
    border-radius: inherit;
}

.catalog-product-visual {
    position: relative;
    min-height: 300px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 22px;
    background: #f4f6f8;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.catalog-product-visual::after {
    content: "";
    position: absolute;
    left: 22%;
    right: 22%;
    bottom: 24px;
    height: 18px;
    background: rgba(15, 23, 42, 0.13);
    border-radius: 50%;
    filter: blur(10px);
}

.catalog-product-visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 245px;
    object-fit: contain;
    transition: transform 0.24s ease;
}

.catalog-product-card:hover .catalog-product-visual img {
    transform: scale(1.035);
}

.catalog-image-placeholder {
    position: relative;
    z-index: 1;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.catalog-product-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 8px 8px;
}

.catalog-product-brand {
    margin-bottom: 5px;
    color: #0284c7;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.catalog-product-model-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-product-model-line > strong {
    color: #020617;
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: 0;
}

.catalog-product-color-image {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    object-fit: contain;
    border-radius: 0;
}

.catalog-product-type {
    min-height: 48px;
    margin-top: 10px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.catalog-product-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
    padding: 15px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.catalog-product-meta > span {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.catalog-product-meta > span + span {
    padding-left: 12px;
    border-left: 1px solid #e2e8f0;
}

.catalog-product-meta small {
    color: #64748b;
    font-size: 11px;
    font-weight: 650;
}

.catalog-product-meta b {
    overflow-wrap: anywhere;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.catalog-product-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    margin-top: 10px;
    color: #0369a1;
    font-size: 14px;
    font-weight: 800;
}

.catalog-product-link > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #ffffff;
    background: #0f172a;
    border-radius: 50%;
    font-size: 18px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.catalog-product-card:hover .catalog-product-link > span {
    background: #0284c7;
    transform: translateX(2px);
}

.catalog-empty-state {
    display: grid;
    justify-items: start;
    gap: 10px;
    padding: 34px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #dbe3ec;
    border-radius: 18px;
}

.catalog-empty-state[hidden] {
    display: none;
}

.catalog-empty-state strong {
    color: #0f172a;
    font-size: 22px;
}

.catalog-empty-state p {
    max-width: 620px;
    margin: 0 0 8px;
}

.catalog-support-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 88px;
    padding: 44px 48px;
    color: #ffffff;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 18px;
}

.catalog-support-band > div {
    max-width: 760px;
}

.catalog-support-band > div > span {
    color: #7dd3fc;
}

.catalog-support-band h2 {
    margin: 0;
    color: #ffffff;
    font-size: 34px;
    line-height: 1.18;
    letter-spacing: 0;
}

.catalog-support-band p {
    margin: 14px 0 0;
    color: #cbd5e1;
    line-height: 1.65;
}

.catalog-support-band .button {
    flex: 0 0 auto;
    background: #0284c7;
    box-shadow: none;
}

@media (max-width: 1120px) {
    .catalog-filter-band {
        position: static;
    }

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

@media (max-width: 760px) {
    .products-catalog,
    .catalog-support-band {
        width: min(100% - 32px, 1260px);
    }

    .products-catalog {
        padding-top: 32px;
    }

    .catalog-page-title {
        margin-bottom: 20px;
        font-size: 36px;
    }

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

    .catalog-categories a:first-child {
        grid-column: 1 / -1;
    }

    .catalog-heading {
        align-items: start;
    }

    .catalog-heading h2 {
        font-size: 28px;
    }

    .catalog-product-grid {
        grid-template-columns: 1fr;
    }

    .catalog-product-visual {
        min-height: 320px;
    }

    .catalog-support-band {
        display: grid;
        gap: 28px;
        margin-bottom: 56px;
        padding: 32px 26px;
    }

    .catalog-support-band h2 {
        font-size: 28px;
    }

    .catalog-support-band .button {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .site-header {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .brand {
        overflow: hidden;
    }

    .brand-ofisteknik-logo {
        max-width: 136px;
        max-height: 28px;
    }

    .brand-primary-row {
        gap: 0;
    }

    .brand-sindoh-logo {
        max-width: 124px;
    }

    .brand-distributor {
        display: none;
    }

    .nav-toggle,
    .search-trigger {
        width: 46px;
        height: 46px;
    }

    .nav-toggle {
        color: #ffffff;
    }

    .catalog-filter-band {
        padding: 10px;
        border-radius: 14px;
    }

    .catalog-categories a {
        min-height: 58px;
        padding-inline: 10px;
        font-size: 12px;
    }

    .catalog-heading {
        display: grid;
        gap: 10px;
    }

    .catalog-product-visual {
        min-height: 280px;
    }

    .catalog-product-visual img {
        height: 225px;
    }

    .catalog-product-model-line > strong {
        font-size: 27px;
    }
}

/* Admin panel v2 */
.admin-body {
    --admin-bg: #f3f6f9;
    --admin-surface: #ffffff;
    --admin-ink: #111827;
    --admin-muted: #64748b;
    --admin-border: #dce3eb;
    --admin-primary: #0574c7;
    --admin-primary-dark: #075d9b;
    --admin-sidebar: #111827;
    min-height: 100dvh;
    color: var(--admin-ink);
    background: var(--admin-bg);
    letter-spacing: 0;
}

.admin-body svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-login-page {
    display: block;
    background: #edf2f6;
}

.admin-login-shell {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 32px;
}

.admin-login-layout {
    width: min(1120px, 100%);
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(380px, 0.9fr) minmax(480px, 1.1fr);
    overflow: hidden;
    background: var(--admin-surface);
    border: 1px solid #d7e0e9;
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}

.admin-login-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    padding: 46px;
    color: #ffffff;
    background: #111827;
}

.admin-login-brand-logo {
    display: grid;
    justify-items: start;
    gap: 16px;
}

.admin-login-brand-logo img {
    width: auto;
    max-width: 210px;
    max-height: 74px;
    padding: 12px 14px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 12px;
}

.admin-login-brand-logo > span {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
}

.admin-login-brand-copy > span,
.admin-login-form-heading > p,
.admin-panel-eyebrow {
    display: block;
    margin: 0 0 12px;
    color: #38bdf8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.admin-login-brand-copy h2 {
    max-width: 430px;
    margin: 0;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.16;
    letter-spacing: 0;
}

.admin-login-brand-copy p {
    max-width: 420px;
    margin: 20px 0 0;
    color: #aeb9c8;
    font-size: 16px;
    line-height: 1.65;
}

.admin-back-site-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    color: #dbeafe;
    font-size: 14px;
    font-weight: 750;
}

.admin-back-site-link svg {
    width: 19px;
    height: 19px;
}

.admin-back-site-link:hover {
    color: #ffffff;
}

.admin-login-form-area {
    width: min(100%, 560px);
    align-self: center;
    justify-self: center;
    padding: 56px 64px;
}

.admin-login-form-heading {
    margin-bottom: 30px;
}

.admin-login-form-heading > p {
    color: var(--admin-primary);
}

.admin-login-form-heading h1 {
    margin: 0;
    color: var(--admin-ink);
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: 0;
}

.admin-login-form-heading > span {
    display: block;
    margin-top: 12px;
    color: var(--admin-muted);
    font-size: 15px;
    line-height: 1.6;
}

.admin-login-panel {
    display: grid;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.admin-login-panel label {
    margin-top: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
}

.admin-login-panel > input,
.admin-password-field input {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    color: var(--admin-ink);
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    outline: 0;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-password-field {
    position: relative;
}

.admin-password-field input {
    padding-right: 54px;
}

.admin-password-field button {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #64748b;
    background: transparent;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
}

.admin-password-field button:hover {
    color: var(--admin-ink);
    background: #e8eef4;
}

.admin-password-field svg {
    width: 20px;
    height: 20px;
}

.admin-password-field .eye-closed,
.admin-password-field button.is-visible .eye-open {
    display: none;
}

.admin-password-field button.is-visible .eye-closed {
    display: block;
}

.admin-login-panel > input:focus,
.admin-password-field input:focus {
    background: #ffffff;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 4px rgba(5, 116, 199, 0.12);
}

.admin-login-button {
    width: 100%;
    min-height: 52px;
    gap: 10px;
    margin-top: 18px;
    border-radius: 9px;
    background: var(--admin-primary);
    box-shadow: 0 12px 28px rgba(5, 116, 199, 0.22);
}

.admin-login-button svg {
    width: 19px;
    height: 19px;
}

.admin-login-button:hover {
    background: var(--admin-primary-dark);
}

.admin-login-security {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 26px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 650;
}

.admin-login-security svg {
    width: 18px;
    height: 18px;
    color: #047857;
}

.admin-login-form-area .form-alert {
    margin-bottom: 18px;
    border-radius: 9px;
}

.admin-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    color: #ffffff;
    background: #111827;
    border-radius: 8px;
    transform: translateY(-160%);
}

.admin-skip-link:focus {
    transform: translateY(0);
}

.admin-dashboard {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    background: var(--admin-bg);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 60;
    height: 100dvh;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 24px 18px 18px;
    overflow-y: auto;
    color: #ffffff;
    background: var(--admin-sidebar);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar-brand {
    display: grid;
    justify-items: start;
    gap: 12px;
    margin: 0 6px 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-brand img {
    width: auto;
    max-width: 174px;
    max-height: 62px;
    padding: 9px 11px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 10px;
}

.admin-sidebar-brand > span {
    color: #9ca9ba;
    font-size: 12px;
}

.admin-sidebar-brand > span b {
    color: #ffffff;
}

.admin-nav {
    display: grid;
    gap: 5px;
}

.admin-nav-label {
    margin: 18px 12px 7px;
    color: #6f7d90;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-nav-label:first-child {
    margin-top: 0;
}

.admin-nav a {
    min-height: 46px;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 0 12px;
    color: #b9c4d2;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.admin-nav a svg {
    width: 20px;
    height: 20px;
}

.admin-nav a small {
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #b42318;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.admin-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.08);
}

.admin-nav a.active {
    color: #ffffff;
    background: #1f2a3a;
    border-color: #334155;
    box-shadow: inset 3px 0 0 #38bdf8;
}

.admin-sidebar-user {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 18px 6px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-user-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #082f49;
    background: #7dd3fc;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 850;
}

.admin-sidebar-user > div {
    min-width: 0;
    display: grid;
}

.admin-sidebar-user strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-sidebar-user small {
    color: #8290a2;
    font-size: 11px;
}

.admin-sidebar-user > a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #9ca9ba;
    border-radius: 8px;
}

.admin-sidebar-user > a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.admin-sidebar-user svg {
    width: 19px;
    height: 19px;
}

.admin-sidebar-scrim {
    display: none;
}

.admin-workspace {
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--admin-border);
    backdrop-filter: blur(16px);
}

.admin-menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    gap: 4px;
    padding: 0;
    color: var(--admin-ink);
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: 9px;
}

.admin-menu-toggle span {
    width: 19px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.admin-topbar-heading {
    min-width: 0;
    display: grid;
    margin-right: auto;
}

.admin-topbar-heading > span {
    color: var(--admin-muted);
    font-size: 11px;
    font-weight: 700;
}

.admin-topbar-heading > strong {
    overflow: hidden;
    color: var(--admin-ink);
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.admin-topbar-actions > a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    color: #334155;
    background: #ffffff;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 750;
}

.admin-topbar-actions > a:hover {
    color: var(--admin-primary-dark);
    border-color: #9cc8e9;
}

.admin-topbar-actions svg {
    width: 17px;
    height: 17px;
}

.admin-topbar-user {
    padding-left: 12px;
    color: #475569;
    border-left: 1px solid var(--admin-border);
    font-size: 13px;
    font-weight: 750;
}

.admin-main {
    width: min(1320px, 100%);
    min-height: calc(100dvh - 76px);
    margin-inline: auto;
    padding: 34px;
    outline: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.admin-main.is-switching {
    opacity: 0;
    transform: translateY(5px);
    pointer-events: none;
}

.admin-main > .form-alert {
    margin-bottom: 22px;
}

.admin-panel {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.admin-panel-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-panel-title > div {
    max-width: 760px;
}

.admin-panel-eyebrow {
    margin-bottom: 7px;
    color: var(--admin-primary);
}

.admin-panel-title h1,
.admin-panel-title h2 {
    margin: 0;
    color: var(--admin-ink);
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: 0;
}

.admin-panel-title p {
    margin: 9px 0 0;
    color: var(--admin-muted);
    font-size: 14px;
    line-height: 1.55;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.admin-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-subform h3 {
    margin: 0 0 2px;
    color: var(--admin-ink);
    font-size: 18px;
    letter-spacing: 0;
}

.admin-stat-card {
    min-width: 0;
    padding: 22px 20px;
    background: transparent;
    border: 0;
    border-right: 1px solid var(--admin-border);
    border-radius: 0;
}

.admin-stat-card:last-child {
    border-right: 0;
}

.admin-stat-card strong {
    display: block;
    color: var(--admin-ink);
    font-size: 32px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.admin-stat-card span {
    display: block;
    margin-top: 9px;
    color: var(--admin-muted);
    font-size: 12px;
    font-weight: 700;
}

.admin-overview-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.admin-overview-actions > a {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.admin-overview-actions > a:hover {
    border-color: #9cc8e9;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}

.admin-overview-actions > a > svg {
    width: 42px;
    height: 42px;
    padding: 10px;
    color: var(--admin-primary-dark);
    background: #e8f4fc;
    border-radius: 10px;
}

.admin-overview-actions > a > span {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.admin-overview-actions strong {
    color: var(--admin-ink);
    font-size: 14px;
}

.admin-overview-actions small {
    color: var(--admin-muted);
    font-size: 12px;
    line-height: 1.45;
}

.admin-overview-actions b {
    color: var(--admin-primary);
    font-size: 18px;
}

.admin-form-grid,
.admin-subform,
.admin-order-list {
    display: grid;
    gap: 18px;
    padding: 24px;
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.admin-order-list {
    margin-top: 18px;
}

.admin-form-grid label,
.admin-subform label,
.admin-order-list label {
    display: grid;
    gap: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
}

.admin-form-grid input,
.admin-form-grid textarea,
.admin-form-grid select,
.admin-subform input,
.admin-subform textarea,
.admin-subform select,
.admin-order-list input,
.admin-order-list select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    color: var(--admin-ink);
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: 0;
    font-size: 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-form-grid textarea,
.admin-subform textarea {
    min-height: 120px;
    padding-top: 13px;
    line-height: 1.55;
    resize: vertical;
}

.admin-form-grid input:focus,
.admin-form-grid textarea:focus,
.admin-form-grid select:focus,
.admin-subform input:focus,
.admin-subform textarea:focus,
.admin-subform select:focus,
.admin-order-list input:focus,
.admin-order-list select:focus {
    background: #ffffff;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 4px rgba(5, 116, 199, 0.11);
}

.admin-form-grid > .button,
.admin-subform > .button,
.admin-order-list > .button,
.admin-form-actions .button {
    min-height: 46px;
    justify-self: start;
    border-radius: 8px;
}

.admin-check-group {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
}

.admin-check-group legend {
    padding: 0 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

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

.admin-check-grid label {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.admin-check-grid input {
    width: 18px;
    min-height: 18px;
    accent-color: var(--admin-primary);
}

.admin-order-picker {
    max-width: 460px;
}

.admin-order-list h3 {
    margin: 0;
    color: var(--admin-ink);
    font-size: 18px;
    letter-spacing: 0;
}

.admin-order-list > label {
    grid-template-columns: minmax(0, 1fr) 100px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #edf1f5;
}

.admin-order-list > label input {
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.admin-help {
    color: var(--admin-muted);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.6;
}

.admin-list,
.admin-lead-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.admin-list article,
.admin-lead-card {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 11px;
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.03);
}

.admin-list article {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 17px;
}

.admin-list article > strong {
    min-width: 130px;
    color: var(--admin-ink);
    font-size: 14px;
}

.admin-list article > span {
    min-width: 0;
    flex: 1;
    color: var(--admin-muted);
    font-size: 12px;
    line-height: 1.45;
}

.admin-list article form {
    margin: 0;
}

.admin-list-action {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    color: var(--admin-primary-dark);
    background: #eef7fd;
    border: 1px solid #c9e5f7;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 800;
}

.admin-list button,
.admin-lead-actions button {
    min-height: 38px;
    padding: 0 13px;
    color: #b42318;
    background: #fff5f4;
    border: 1px solid #f4c7c3;
    border-radius: 7px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
}

.admin-list button:hover,
.admin-lead-actions button:hover {
    color: #ffffff;
    background: #b42318;
    border-color: #b42318;
}

.admin-lead-card {
    padding: 20px;
}

.admin-lead-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f5;
}

.admin-lead-card > header strong {
    color: var(--admin-ink);
    font-size: 17px;
}

.admin-lead-card > header span {
    color: var(--admin-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.admin-lead-card dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.admin-lead-card dl > div {
    min-width: 0;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.admin-lead-card dt {
    color: var(--admin-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-lead-card dd {
    margin: 5px 0 0;
    overflow-wrap: anywhere;
    color: var(--admin-ink);
    font-size: 13px;
    font-weight: 700;
}

.admin-lead-card > p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.65;
}

.admin-lead-actions {
    margin-top: 16px;
}

.admin-body .button.primary {
    background: var(--admin-primary);
    box-shadow: 0 9px 20px rgba(5, 116, 199, 0.17);
}

.admin-body .button.primary:hover {
    background: var(--admin-primary-dark);
}

.admin-body button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.admin-body button.is-loading {
    position: relative;
    color: transparent !important;
}

.admin-body button.is-loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: admin-spin 0.7s linear infinite;
}

@keyframes admin-spin {
    to { transform: rotate(360deg); }
}

.admin-body .form-alert {
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 750;
}

.admin-body .form-alert.success {
    color: #067647;
    background: #ecfdf3;
    border-color: #abefc6;
}

.admin-body .form-alert.error {
    color: #b42318;
    background: #fef3f2;
    border-color: #fecdca;
}

@media (max-width: 1180px) {
    .admin-dashboard {
        grid-template-columns: 232px minmax(0, 1fr);
    }

    .admin-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-stat-card:nth-child(3) {
        border-right: 0;
    }

    .admin-stat-card:nth-child(-n + 3) {
        border-bottom: 1px solid var(--admin-border);
    }

    .admin-overview-actions {
        grid-template-columns: 1fr;
    }

    .admin-lead-card dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .admin-dashboard {
        display: block;
    }

    .admin-sidebar {
        position: fixed;
        left: 0;
        width: min(300px, calc(100vw - 48px));
        transform: translateX(-102%);
        transition: transform 0.24s ease;
    }

    .admin-menu-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-sidebar-scrim {
        position: fixed;
        inset: 0;
        z-index: 55;
        display: block;
        padding: 0;
        background: rgba(15, 23, 42, 0.55);
        border: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .admin-menu-open .admin-sidebar-scrim {
        opacity: 1;
        visibility: visible;
    }

    .admin-menu-open {
        overflow: hidden;
    }

    .admin-menu-toggle {
        display: grid;
    }

    .admin-main {
        padding: 26px 22px;
    }

    .admin-login-shell {
        padding: 20px;
    }

    .admin-login-layout {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .admin-login-brand-panel {
        min-height: 260px;
        padding: 30px;
    }

    .admin-login-brand-copy h2 {
        max-width: 600px;
        font-size: 30px;
    }

    .admin-login-form-area {
        width: 100%;
        padding: 42px;
    }

    .admin-settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .admin-topbar {
        gap: 12px;
        min-height: 68px;
        padding: 10px 14px;
    }

    .admin-topbar-heading > span,
    .admin-topbar-user {
        display: none;
    }

    .admin-topbar-heading > strong {
        max-width: 145px;
        font-size: 15px;
    }

    .admin-topbar-actions > a {
        width: 42px;
        min-height: 42px;
        justify-content: center;
        padding: 0;
        overflow: hidden;
        color: transparent;
        font-size: 0;
    }

    .admin-topbar-actions > a svg {
        color: #334155;
    }

    .admin-main {
        min-height: calc(100dvh - 68px);
        padding: 22px 16px;
    }

    .admin-panel-title h1,
    .admin-panel-title h2 {
        font-size: 26px;
    }

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

    .admin-stat-card {
        padding: 18px 16px;
        border-right: 1px solid var(--admin-border);
        border-bottom: 1px solid var(--admin-border);
    }

    .admin-stat-card:nth-child(even) {
        border-right: 0;
    }

    .admin-stat-card:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .admin-stat-card strong {
        font-size: 28px;
    }

    .admin-overview-actions > a {
        grid-template-columns: 40px minmax(0, 1fr) 18px;
        padding: 16px;
    }

    .admin-form-grid,
    .admin-subform,
    .admin-order-list {
        gap: 16px;
        padding: 18px;
    }

    .admin-form-grid > .button,
    .admin-subform > .button,
    .admin-order-list > .button,
    .admin-form-actions .button {
        width: 100%;
    }

    .admin-check-grid,
    .admin-lead-card dl {
        grid-template-columns: 1fr;
    }

    .admin-order-list > label {
        grid-template-columns: minmax(0, 1fr) 82px;
    }

    .admin-list article {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .admin-list article > strong,
    .admin-list article > span {
        width: 100%;
        min-width: 0;
    }

    .admin-list-action,
    .admin-list article form {
        flex: 1;
    }

    .admin-list article form button {
        width: 100%;
    }

    .admin-lead-card > header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-login-shell {
        padding: 8px;
    }

    .admin-login-layout {
        border-radius: 15px;
    }

    .admin-login-brand-panel {
        min-height: 176px;
        gap: 14px;
        padding: 20px;
    }

    .admin-login-brand-logo img {
        max-width: 150px;
        max-height: 54px;
    }

    .admin-login-brand-logo > span,
    .admin-back-site-link {
        display: none;
    }

    .admin-login-brand-copy > span {
        margin-bottom: 6px;
        font-size: 10px;
    }

    .admin-login-brand-copy h2 {
        font-size: 22px;
        line-height: 1.2;
    }

    .admin-login-brand-copy p {
        display: none;
    }

    .admin-login-form-area {
        padding: 24px 22px 26px;
    }

    .admin-login-form-heading {
        margin-bottom: 20px;
    }

    .admin-login-form-heading h1 {
        font-size: 26px;
    }

    .admin-login-form-heading > span {
        margin-top: 8px;
    }

    .admin-login-security {
        margin-top: 18px;
    }
}

/* Corporate gateway and pages */
.nav-dropdown-button.active,
.nav-dropdown-button[aria-current="page"] {
    color: var(--white);
    background: var(--ink-strong);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.12);
}

.nav-dropdown:hover .nav-dropdown-button.active,
.nav-dropdown.is-open .nav-dropdown-button.active,
.nav-dropdown:hover .nav-dropdown-button[aria-current="page"],
.nav-dropdown.is-open .nav-dropdown-button[aria-current="page"] {
    color: var(--white);
    background: var(--ink-strong);
}

.nav-dropdown-chevron {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.is-open .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.corporate-nav-dropdown .nav-dropdown-panel {
    z-index: 60;
    width: min(780px, calc(100vw - 48px));
    min-width: 0;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
}

.corporate-menu-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 24px;
    color: #fff;
    background: #081426;
    border-radius: 6px;
}

.corporate-menu-intro > span {
    color: #69bff3;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.corporate-menu-intro > strong {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.3;
}

.corporate-menu-intro > p {
    margin: 10px 0 20px;
    color: #aebbd0;
    font-size: 13px;
    line-height: 1.6;
}

.nav-dropdown-panel .corporate-menu-intro > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 0;
    color: #fff;
    background: transparent;
    border-radius: 0;
    font-size: 13px;
}

.nav-dropdown-panel .corporate-menu-intro > a:hover {
    color: #69bff3;
    background: transparent;
}

.corporate-menu-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    align-content: start;
}

.nav-dropdown-panel .corporate-menu-links > a {
    min-width: 0;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
}

.nav-dropdown-panel .corporate-menu-links > a:hover,
.nav-dropdown-panel .corporate-menu-links > a.active {
    background: #f4f7fa;
    border-color: #e0e7ef;
}

.corporate-menu-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #0875ba;
    background: #eaf4fb;
    border-radius: 6px;
}

.corporate-menu-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.corporate-menu-links strong,
.corporate-menu-links small {
    display: block;
    overflow-wrap: anywhere;
}

.corporate-menu-links strong {
    color: #081426;
    font-size: 13px;
}

.corporate-menu-links small {
    margin-top: 3px;
    color: #718096;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
}

.corporate-premium-main {
    --corporate-ink: #071326;
    --corporate-muted: #5c6d82;
    --corporate-line: #dde5ed;
    --corporate-blue: #0875ba;
    color: var(--corporate-ink);
}

.corporate-visual-hero {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: #101a28;
}

.corporate-visual-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.corporate-hero-shade {
    position: absolute;
    inset: 0;
    background: rgba(3, 11, 24, 0.62);
}

.corporate-hero-copy {
    position: relative;
    z-index: 1;
    width: min(1260px, calc(100% - 48px));
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-inline: auto;
    padding-block: 70px;
    color: #fff;
}

.corporate-hero-copy > span,
.corporate-story-heading > span,
.corporate-service-copy > span,
.references-intro > div > span {
    color: #5db8ef;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.corporate-hero-copy h1 {
    max-width: 820px;
    margin: 12px 0 0;
    color: #fff;
    font-size: clamp(52px, 7vw, 92px);
    line-height: 0.98;
    letter-spacing: 0;
}

.corporate-hero-copy p {
    max-width: 720px;
    margin: 20px 0 0;
    color: #d5dee9;
    font-size: clamp(18px, 2.1vw, 26px);
    line-height: 1.45;
    font-weight: 600;
}

.references-visual-hero > img {
    object-fit: contain;
    object-position: 76% center;
    padding-left: 34%;
    background: #071326;
}

.references-visual-hero .corporate-hero-shade {
    background: rgba(3, 11, 24, 0.48);
}

.corporate-section-nav {
    border-bottom: 1px solid var(--corporate-line);
    background: #fff;
}

.corporate-section-nav > div {
    width: min(1260px, calc(100% - 48px));
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-inline: auto;
}

.corporate-section-nav a {
    min-height: 68px;
    display: grid;
    place-items: center;
    padding: 10px 14px;
    color: #5b6b7f;
    border-bottom: 3px solid transparent;
    font-size: 13px;
    font-weight: 750;
    text-align: center;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.corporate-section-nav a:hover {
    color: var(--corporate-blue);
    background: #f7fafc;
}

.corporate-section-nav a.active {
    color: var(--corporate-ink);
    border-bottom-color: var(--corporate-blue);
}

.corporate-minimal-content {
    width: min(1180px, calc(100% - 48px));
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(56px, 9vw, 140px);
    align-content: center;
    margin-inline: auto;
    padding-block: 96px 112px;
}

.corporate-minimal-content > header > span {
    color: var(--corporate-blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.corporate-minimal-content > header h1 {
    margin: 12px 0 0;
    color: var(--corporate-ink);
    font-size: clamp(46px, 5.2vw, 68px);
    line-height: 1;
    letter-spacing: 0;
}

.corporate-minimal-content > article {
    padding-top: 4px;
}

.corporate-minimal-content > article h2 {
    max-width: 700px;
    margin: 0;
    color: var(--corporate-ink);
    font-size: clamp(29px, 3.2vw, 42px);
    line-height: 1.2;
    letter-spacing: 0;
}

.corporate-minimal-content > article p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--corporate-muted);
    font-size: 16px;
    line-height: 1.8;
}

.corporate-minimal-content > article .corporate-admin-copy {
    color: #293b51;
    font-size: 18px;
    font-weight: 600;
}

.corporate-documents-hero {
    width: min(1320px, calc(100% - 48px));
    min-height: 0;
    grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-content: start;
    align-items: center;
    margin-top: 34px;
    margin-bottom: 22px;
    padding: clamp(28px, 3.2vw, 42px);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 64%);
    border: 1px solid var(--corporate-line);
    border-radius: 10px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.05);
}

.corporate-documents-hero > header h1 {
    font-size: clamp(36px, 4vw, 56px);
    line-height: 0.98;
}

.corporate-documents-hero > article h2 {
    max-width: 760px;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.12;
}

.corporate-documents-hero > article p {
    max-width: 760px;
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.65;
}

.references-minimal-content {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 260px;
    padding-bottom: 34px;
}

.references-premium-main {
    overflow-x: hidden;
}

.references-minimal-content > article h2 {
    max-width: 760px;
    font-size: clamp(28px, 3.2vw, 40px);
}

.references-minimal-content > article p {
    max-width: 680px;
}

.corporate-minimal-main .corporate-reference-grid {
    margin-bottom: 96px;
}

.corporate-documents-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--corporate-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.corporate-document-section {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto 108px;
}

.corporate-document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.corporate-document-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--corporate-line);
    border-radius: 10px;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.09);
}

.corporate-document-preview {
    height: clamp(420px, 42vw, 620px);
    background: #eef3f8;
    border-bottom: 1px solid var(--corporate-line);
}

.corporate-document-preview object {
    display: block;
    width: 100%;
    height: 100%;
}

.corporate-document-preview a {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 28px;
    color: var(--corporate-blue);
    font-weight: 900;
    text-align: center;
}

.corporate-document-copy {
    display: grid;
    gap: 10px;
    padding: 24px 26px 28px;
}

.corporate-document-copy span {
    color: var(--corporate-blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.corporate-document-copy h2 {
    margin: 0;
    color: var(--corporate-ink);
    font-size: clamp(22px, 2vw, 30px);
    letter-spacing: 0;
}

.corporate-document-copy a {
    width: fit-content;
    margin-top: 4px;
    color: #006fbd;
    font-size: 14px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.corporate-document-empty {
    padding: 48px;
    background: #ffffff;
    border: 1px dashed var(--corporate-line);
    border-radius: 10px;
    text-align: center;
}

/* ═══ CERT CARD — PREMIUM CERTIFICATE DISPLAY ═══ */
.cert-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--corporate-line, #d9e3ef);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.cert-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    margin: 20px 20px 0;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.cert-card-badge svg {
    flex-shrink: 0;
}

.cert-card-preview {
    height: clamp(500px, 52vw, 750px);
    margin: 16px 20px 0;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.cert-card-preview object,
.cert-card-preview iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.cert-card-info {
    padding: 24px 24px 28px;
}

.cert-card-info h2 {
    margin: 0 0 8px;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cert-card-info p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
}

.reference-logo-section {
    width: min(1260px, calc(100% - 48px));
    margin: 0 auto 96px;
}

.reference-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}

.reference-logo-card {
    display: grid;
    place-items: center;
    min-height: 170px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--corporate-line);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.reference-logo-card img {
    width: 100%;
    max-width: 210px;
    max-height: 104px;
    object-fit: contain;
}

@media (max-width: 1120px) {
    .reference-logo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .reference-logo-section {
        width: calc(100% - 32px);
        margin-bottom: 64px;
    }

    .reference-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .reference-logo-card {
        min-height: 116px;
        padding: 18px;
    }
}

@media (max-width: 560px) {
    .corporate-minimal-content.references-minimal-content,
    .references-premium-main .reference-logo-section {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
    }

    .references-minimal-content > article h2 {
        max-width: 100%;
        font-size: 30px;
        overflow-wrap: anywhere;
    }

    .references-minimal-content > article p {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

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

    .reference-logo-card {
        min-width: 0;
        min-height: 106px;
        padding: 16px;
    }
}

.corporate-story,
.corporate-pillars,
.corporate-service-band,
.references-intro,
.corporate-reference-grid {
    width: min(1260px, calc(100% - 48px));
    margin-inline: auto;
}

.corporate-story,
.references-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(48px, 8vw, 120px);
    padding-block: 96px 72px;
}

.corporate-story-heading h2,
.references-intro h2 {
    max-width: 640px;
    margin: 12px 0 0;
    color: var(--corporate-ink);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    letter-spacing: 0;
}

.corporate-story-copy {
    padding-top: 24px;
}

.corporate-story-copy p,
.references-intro > p {
    max-width: 660px;
    margin: 0;
    color: var(--corporate-muted);
    font-size: 17px;
    line-height: 1.8;
}

.corporate-story-copy .corporate-admin-copy {
    color: #273a51;
    font-size: 20px;
    line-height: 1.65;
    font-weight: 650;
}

.corporate-story-copy p + p {
    margin-top: 18px;
}

.corporate-pillars,
.corporate-reference-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--corporate-line);
    border-bottom: 1px solid var(--corporate-line);
}

.corporate-pillars article,
.corporate-reference-grid article {
    min-width: 0;
    padding: 38px 34px 42px;
}

.corporate-pillars article + article,
.corporate-reference-grid article + article {
    border-left: 1px solid var(--corporate-line);
}

.corporate-pillars article > span,
.reference-number {
    color: var(--corporate-blue);
    font-size: 12px;
    font-weight: 800;
}

.corporate-pillars h2,
.corporate-reference-grid h2 {
    margin: 28px 0 0;
    color: var(--corporate-ink);
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: 0;
}

.corporate-pillars p,
.corporate-reference-grid p {
    margin: 12px 0 0;
    color: var(--corporate-muted);
    font-size: 14px;
    line-height: 1.75;
}

.corporate-service-band {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    min-height: 500px;
    margin-block: 96px;
    overflow: hidden;
    color: #fff;
    background: #081426;
    border-radius: 8px;
}

.corporate-service-image {
    min-height: 500px;
}

.corporate-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.corporate-service-copy {
    align-self: center;
    padding: clamp(36px, 5vw, 68px);
}

.corporate-service-copy h2 {
    margin: 12px 0 0;
    color: #fff;
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.12;
    letter-spacing: 0;
}

.corporate-service-copy p {
    margin: 18px 0 26px;
    color: #b8c5d6;
    font-size: 15px;
    line-height: 1.75;
}

.corporate-service-copy .button {
    min-height: 50px;
    border-radius: 6px;
    background: #fff;
    color: #081426;
    box-shadow: none;
}

.corporate-service-copy .button:hover {
    color: var(--corporate-blue);
    background: #f2f7fb;
}

.references-intro {
    align-items: end;
}

.references-intro > p {
    padding-bottom: 5px;
}

.reference-sector {
    display: block;
    margin-top: 28px;
    color: #708095;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 800;
    text-transform: uppercase;
}

.corporate-reference-grid h2 {
    margin-top: 8px;
}

.corporate-reference-grid article > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--corporate-blue);
    font-size: 13px;
    font-weight: 800;
}

.references-contact-band .corporate-service-image img {
    object-position: center;
}

@media (max-width: 1060px) {
    .corporate-nav-dropdown .nav-dropdown-panel {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 6px;
        border-radius: 8px;
        display: none;
    }

    .corporate-nav-dropdown:hover .nav-dropdown-panel,
    .corporate-nav-dropdown.is-open .nav-dropdown-panel {
        left: auto;
        transform: none;
    }

    .corporate-nav-dropdown:hover .nav-dropdown-panel {
        display: none;
    }

    .corporate-nav-dropdown.is-open .nav-dropdown-panel {
        display: grid;
    }

    .corporate-menu-intro {
        min-height: 190px;
    }

    .corporate-menu-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .corporate-story,
    .references-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .corporate-story-copy {
        padding-top: 0;
    }

    .corporate-service-band {
        grid-template-columns: 1fr;
    }

    .corporate-service-image {
        min-height: 420px;
        max-height: 520px;
    }
}

@media (max-width: 680px) {
    .corporate-menu-intro {
        min-height: 0;
        padding: 20px;
    }

    .corporate-menu-intro > p {
        margin-bottom: 14px;
    }

    .corporate-menu-links {
        grid-template-columns: 1fr;
    }

    .nav-dropdown-panel .corporate-menu-links > a {
        min-height: 66px;
    }

    .corporate-visual-hero,
    .corporate-hero-copy {
        min-height: 500px;
    }

    .corporate-visual-hero > img {
        object-position: 58% center;
    }

    .references-visual-hero > img {
        object-fit: contain;
        object-position: center 42%;
        padding: 0 0 120px;
    }

    .corporate-hero-copy {
        width: calc(100% - 32px);
        padding-block: 42px;
    }

    .corporate-hero-copy h1 {
        font-size: 48px;
    }

    .corporate-hero-copy p {
        font-size: 18px;
    }

    .corporate-section-nav > div {
        width: calc(100% - 24px);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-block: 8px;
    }

    .corporate-section-nav a {
        min-height: 48px;
        padding: 7px 6px;
        border: 1px solid transparent;
        border-radius: 5px;
        font-size: 12px;
    }

    .corporate-section-nav a.active {
        background: #eef6fb;
        border-color: #d7e9f6;
    }

    .corporate-story,
    .corporate-pillars,
    .corporate-service-band,
    .references-intro,
    .corporate-reference-grid {
        width: calc(100% - 32px);
    }

    .corporate-story,
    .references-intro {
        padding-block: 64px 48px;
    }

    .corporate-story-heading h2,
    .references-intro h2 {
        font-size: 34px;
    }

    .corporate-story-copy .corporate-admin-copy {
        font-size: 18px;
    }

    .corporate-story-copy p,
    .references-intro > p {
        font-size: 15px;
    }

    .corporate-pillars,
    .corporate-reference-grid {
        grid-template-columns: 1fr;
    }

    .corporate-pillars article,
    .corporate-reference-grid article {
        padding: 30px 8px 34px;
    }

    .corporate-pillars article + article,
    .corporate-reference-grid article + article {
        border-top: 1px solid var(--corporate-line);
        border-left: 0;
    }

    .corporate-pillars h2,
    .corporate-reference-grid h2 {
        margin-top: 18px;
    }

    .corporate-service-band {
        min-height: 0;
        margin-block: 64px;
    }

    .corporate-service-image {
        min-height: 280px;
    }

    .corporate-service-copy {
        padding: 32px 24px;
    }

    .corporate-service-copy h2 {
        font-size: 31px;
    }

    .corporate-service-copy .button {
        width: 100%;
    }

    .corporate-minimal-content {
        width: calc(100% - 32px);
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 38px;
        padding-block: 56px 72px;
    }

    .corporate-documents-hero {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 24px;
        margin-bottom: 18px;
        padding: 24px;
    }

    .corporate-minimal-content > header h1 {
        font-size: 43px;
    }

    .corporate-documents-hero > header h1 {
        font-size: 40px;
    }

    .corporate-documents-hero > article h2 {
        font-size: 27px;
    }

    .corporate-documents-hero > article p {
        font-size: 16px;
    }

    .corporate-minimal-content > article h2 {
        font-size: 29px;
    }

    .corporate-minimal-content > article .corporate-admin-copy {
        font-size: 17px;
    }

    .corporate-document-section {
        width: calc(100% - 32px);
        margin-bottom: 72px;
    }

    .corporate-document-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .corporate-document-preview {
        height: min(520px, 110vw);
    }

    .corporate-document-copy {
        padding: 20px;
    }

    .cert-card-preview {
        height: min(600px, 120vw);
        margin: 12px 12px 0;
    }

    .cert-card-badge {
        margin: 16px 12px 0;
    }

    .cert-card-info {
        padding: 20px 16px 24px;
    }

    .cert-card-info h2 {
        font-size: 20px;
    }

    .references-minimal-content {
        padding-bottom: 48px;
    }

    .corporate-minimal-main .corporate-reference-grid {
        margin-bottom: 64px;
    }
}

/* Keep the news editor's tool layout above shared admin form defaults. */
.admin-subform.admin-news-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 26px;
    border-radius: 8px;
    background: #ffffff;
}

.admin-subform.admin-news-form .admin-news-upload > input {
    position: absolute;
    width: 1px;
    min-height: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    opacity: 0;
}

@media (max-width: 760px) {
    .admin-subform.admin-news-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }
}

/* ==========================================================================
   SERVICES PORTAL
   ========================================================================== */

.services-premium-main {
    animation: page-enter 0.25s ease both;
    background: #f8fafc;
    min-height: calc(100vh - 80px);
}

.services-hero {
    background: #006fd6;
    color: #fff;
    padding: 40px 24px;
    text-align: center;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero-content span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.services-hero-content h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.services-hero-content p {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.9;
    margin-bottom: 40px;
}

.services-filter {
    max-width: 500px;
    margin: 0 auto;
}

.services-search-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 4px;
}

.services-search-box svg {
    width: 24px;
    height: 24px;
    stroke: #94a3b8;
    stroke-width: 2;
    fill: none;
    margin-left: 16px;
    flex-shrink: 0;
}

.services-search-box input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 16px 16px;
    font-size: 16px;
    color: #0f172a;
    outline: none;
}

.services-list-section {
    max-width: 1280px;
    margin: -40px auto 80px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
    gap: 30px;
    align-items: start;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.service-logo, .service-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px;
    flex-shrink: 0;
}

.service-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-logo-placeholder svg {
    width: 24px;
    height: 24px;
    stroke: #94a3b8;
    stroke-width: 2;
    fill: none;
}

.service-title-wrap h2 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    line-height: 1.3;
}

.service-location-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.service-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-address, .service-contact {
    display: flex;
    gap: 12px;
    color: #475569;
    font-size: 15px;
    line-height: 1.5;
}

.service-address svg, .service-contact svg {
    width: 20px;
    height: 20px;
    stroke: #006fd6;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-contact a {
    color: #0f172a;
    font-weight: 600;
    transition: color 0.2s ease;
}

.service-contact a:hover {
    color: #006fd6;
}

.service-card-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.service-map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: #f8fafc;
    color: #006fd6;
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.service-map-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.service-map-btn:hover {
    background: #006fd6;
    color: #fff;
}

.services-empty {
    background: #fff;
    border-radius: 16px;
    padding: 60px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    grid-column: 1 / -1;
}

.services-empty svg {
    width: 64px;
    height: 64px;
    stroke: #cbd5e1;
    stroke-width: 1.5;
    fill: none;
}

.services-empty h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.services-empty p {
    font-size: 16px;
    color: #64748b;
    max-width: 400px;
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.mobile-only-link {
    display: none !important;
}

@media (max-width: 1024px) {
    .site-nav > a.mobile-only-link {
        display: inline-flex !important;
    }
}

.custom-404-main {
    min-height: calc(100dvh - 104px);
    display: grid;
    place-items: center;
    padding: 72px 24px 96px;
    background:
        linear-gradient(135deg, rgba(0, 119, 217, 0.08), transparent 34%),
        linear-gradient(315deg, rgba(0, 166, 81, 0.08), transparent 36%),
        #fff;
}

.custom-404-panel {
    width: min(820px, 100%);
    text-align: center;
}

.custom-404-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 52px;
    margin-bottom: 22px;
    color: var(--blue-dark);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.08em;
    background: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.16);
    border-radius: 999px;
}

.custom-404-panel h1 {
    margin: 0;
    color: var(--ink-strong);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    letter-spacing: 0;
}

.custom-404-panel p {
    max-width: 560px;
    margin: 22px auto 0;
    color: var(--slate);
    font-size: 18px;
    line-height: 1.7;
}

.custom-404-search {
    max-width: 560px;
    margin: 34px auto 0;
}

.custom-404-search label {
    display: block;
    margin-bottom: 10px;
    color: var(--slate-2);
    font-size: 13px;
    font-weight: 800;
    text-align: left;
}

.custom-404-search > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.custom-404-search input {
    min-width: 0;
    height: 48px;
    padding: 0 18px;
    color: var(--ink-strong);
    background: transparent;
    border: 0;
    outline: 0;
}

.custom-404-search button {
    height: 48px;
    padding: 0 24px;
    color: #fff;
    font-weight: 800;
    background: var(--blue);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.custom-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

@media (max-width: 560px) {
    .custom-404-search > div {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .custom-404-search button,
    .custom-404-actions .button {
        width: 100%;
    }
}
